CN107193675A - It is a kind of that apparatus and method are realized based on Android system Big Dipper middleware - Google Patents
It is a kind of that apparatus and method are realized based on Android system Big Dipper middleware Download PDFInfo
- Publication number
- CN107193675A CN107193675A CN201710523856.0A CN201710523856A CN107193675A CN 107193675 A CN107193675 A CN 107193675A CN 201710523856 A CN201710523856 A CN 201710523856A CN 107193675 A CN107193675 A CN 107193675A
- Authority
- CN
- China
- Prior art keywords
- big dipper
- middleware
- layer
- dipper
- big
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
- G06F9/548—Object oriented; Remote method invocation [RMI]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/24—Object-oriented
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/549—Remote execution
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Present invention offer is a kind of to realize apparatus and method based on Android system Big Dipper middleware, belong to Android system Big Dipper application-development technologies field, the present invention is based on increase income Android system and Beidou communication agreement, design and realize radiodetermination-satellite service middleware interface function, mainly include Big Dipper card Big Dipper information, location information, commander's machine exports subordinate and its monitoring, password identification, short message is in communication with each other, the interfaces such as self-destruction information, and call specification for Android operation system offer Big Dipper radio determination service interface function, it is in communication with each other for mobile device, Big Dipper card information is obtained, positioning, the exploitation for sending the application programs such as order command provides easily system bottom method of calling.According to provided herein is middleware interface operating specification, application call Android system transplant Big Dipper interface function, you can needed for realizing application program big-dipper satellite provide related service.
Description
Technical field
It is based on the present invention relates to Android system Big Dipper application-development technologies, more particularly to one kind in the Android system Big Dipper
Between part realize apparatus and method.
Background technology
At present, the satellite fix and navigation being most widely used are the second generation satellite navigation system GPS that the U.S. is developed.
The purpose that the system is initially developed is to carry out high-precision positioning and navigation to the various weapons such as vehicle, naval vessel, aircraft, guided missile.
Present GPS develops into the various aspects such as civilian, commercial via military, but GPS core technologies are not yet opened, so that can not be to it
It is completely dependent on, therefore possesses and have great importance from the satellite navigation system ground.Dipper system be by China develop and
The global positioning satellite of construction and navigation system, the system solves GPS System in USA well can not realize that short message communicates
Defect.But the Android based on big-dipper satellite alignment system is applied and is available for the middleware interface of application call relatively
It is few, the Big Dipper positioning of Android system is designed and realized with navigation middleware interface, calling and opening for Android application program
Hair, with important actual application value.
The content of the invention
Based on problem above, the present invention is proposed a kind of realizes device based on Android system Big Dipper middleware.To carry
The development efficiency of high Android Big Dipper application program.Big Dipper application program carries out middleware according to the middleware interface specification of offer
Interface function is called, so as to realize that Android mobile device is in communication with each other with big-dipper satellite.
The present invention designs and realized radiodetermination-satellite service based on increase income Android system and Beidou communication agreement
(Radio Determination Satellite Server, RDSS)Middleware interface function, mainly includes the Big Dipper card Big Dipper
The interfaces such as information, location information, commander's machine output subordinate and its monitoring, password identification, short message are in communication with each other, self-destruction information,
And for Android operation system provide Big Dipper radio determination service interface function call specification, be mobile device be in communication with each other,
The exploitation of the application programs such as Big Dipper card information is obtained, positioning, transmission order command provides easily system bottom method of calling.Press
According to provided herein is middleware interface operating specification, application call Android system transplant Big Dipper interface function, i.e.,
The related service that big-dipper satellite needed for application program can be achieved is provided.
The technical scheme is that:
It is a kind of that device is realized based on Android system Big Dipper middleware,
Mainly include, application layer, ccf layer, intermediate layer, driving layer, hardware layer;Wherein,
The Big Dipper middleware interface function that the Big Dipper application call of application layer is provided, realizes actual application demand;
Ccf layer is mainly used in providing Big Dipper middleware calling interface for application program;
Intermediate layer is main to carry out programming according to Big Dipper agreement to the Big Dipper middleware interface of required offer, and for ccf layer
The interface function of transmission is packaged according to Big Dipper transmission agreement and the Big Dipper order of reception is parsed;
Driving layer is mainly used in transmitting to big dipper module and receiving big dipper module transmission reception the Big Dipper order that encapsulation is finished
The Big Dipper order arrived;
Hardware layer is used to transmitting and receiving Big Dipper order.
Ccf layer Big Dipper Middleware implementation mode:Android system source code ccf layer addition Big Dipper middleware interface there is provided
It is available for Big Dipper RDSS middleware interfaces function and interface specification that upper layer application is called.
Intermediate layer Big Dipper Middleware implementation mode:Intermediate layer needs to enter the Big Dipper middleware interface function that ccf layer is provided
Row concrete implementation, package application program needs the Big Dipper order that the Big Dipper order sent and parsing are received, and will parsing
Required information sends application program to by middleware interface afterwards
Drive layer Big Dipper Middleware implementation mode:Driving layer is mainly responsible for transmitting the Big Dipper order that need to be sent to big dipper module
And big dipper module received into corresponding Big Dipper order transmit to intermediate layer and parsed.
Data are issued big-dipper satellite and receive big-dipper satellite and returned by hardware layer Big Dipper Middleware implementation mode by HAL layers
The Big Dipper order returned.
Present invention also offers a kind of implementation method based on Android system Big Dipper middleware, mainly include:
First, the middleware application program of application layer is according to middleware interface function declaration, in the acquisition of invocation framenort layer offer
Between part essential information interface function;
Secondly, intermediate layer is packaged according to Big Dipper function agreement;
Then, by driving layer by the data transfer of encapsulation to hardware layer, it is transmitted by Big Dipper intermediate module;When the Big Dipper is defended
When star receives middleware essential information inquiry request, middleware essential information is transmitted, hand-held set passes through big dipper module
Receive after middleware essential information, by the information received by driving layer to be transferred to intermediate layer by the way of call back function;
Intermediate layer is parsed to the data of reception, and by way of monitoring, ccf layer obtains the data of parsing;
Finally, application layer obtains the data of required ccf layer parsing also by the way of monitoring, so as to show that middleware is believed
Breath.
Brief description of the drawings
Fig. 1 is Big Dipper Design of Middleware schematic flow sheet;
Fig. 2 is that Big Dipper middleware interface sends Big Dipper data message design flow diagram;
Fig. 3 is that Big Dipper middleware interface receives Big Dipper data message design flow diagram.
Embodiment
More detailed illustrate is carried out to present disclosure below:
Big Dipper Design of Middleware and implementation process are as shown in Figure 2,3.For the design of the Big Dipper middleware of Android system, the present invention
It is illustrated exemplified by obtaining Big Dipper SIM card essential information.First, application layer SIM card test case program connects according to middleware
Mouth function declaration, the acquisition SIM card essential information interface function that invocation framenort layer is provided.Secondly, intermediate layer is according to Big Dipper function
Agreement is packaged.Then, by driving layer by the data transfer of encapsulation to hardware layer, sent out by Big Dipper intermediate module
Send.When big-dipper satellite receives SIM essential information inquiry requests, SIM card essential information is transmitted, hand-held set passes through north
Bucket module is received after SIM essential informations, by the information received by driving layer to be transferred to centre by the way of call back function
Layer.Intermediate layer is parsed to the data of reception, and by way of monitoring, ccf layer obtains the data of parsing.Finally, apply
Layer also by the way of monitoring, obtains the data of required ccf layer parsing, so as to show Big Dipper SIM card information.Location information,
Commander's machine export subordinate and its monitoring, password identification, short message be in communication with each other, interface middleware and the Big Dipper SIM such as self-destruction information
Card Middleware implementation process is similar.
Wherein,
1st, ccf layer Big Dipper Middleware implementation mode:In Android system source code ccf layer addition Big Dipper middleware interface, there is provided can
The Big Dipper RDSS middleware interfaces function and interface specification called for upper layer application.Big Dipper middleware SIM card essential information connects
The program implementation public void onCardInfo as follows (CardInfo cardInfo) of mouth function ccf layer
{ // Big Dipper SIM essential informations middleware interface is provided }.
2nd, intermediate layer Big Dipper Middleware implementation mode:Intermediate layer needs the Big Dipper middleware interface function provided ccf layer
Concrete implementation is carried out, package application program needs the Big Dipper order that the Big Dipper order sent and parsing are received, and will solution
Information required for after analysis sends application program to by middleware interface.Using the Big Dipper SIM card essential information data of transmission
It is packaged in intermediate layer according to Big Dipper agreement:// encapsulation obtains Big Dipper SIM card information order public int
SendAccessCardInfoCmdBDV21 (int type, int frameNo) // according to Big Dipper agreement, what encapsulation was sent
Packet };// monitor and parse the Big Dipper SIM card information order public int for obtaining and receiving
AnalysisCardInfoBDV21 (int type, int frameNo) // monitor and parsing Big Dipper SIM card information.
3rd, layer Big Dipper Middleware implementation mode is driven:Driving layer is mainly responsible for transmitting the Big Dipper order that need to be sent to north
Bucket module and big dipper module is received into corresponding Big Dipper order transmitted to intermediate layer and parsed.The data finished will be encapsulated
Bag is transmitted to HAL layers of Android source code by driving.static int android_location_
GpsLocationProvider_send_message(JNIEnv* env, jobject obj, jbyteArray buf,
Jint len) {/* transmits Big Dipper SIM card packet to HAL layers of */from JNI layers };Corresponding Big Dipper order will be received to pass
Transport to intermediate layer.static int android_location_GpsLocationProvider_ListenAndAnalysis_
{/* is monitored and by the Big Dipper message (JNIEnv* env, jobject obj, jbyteArray buf, jint len)
SIM card packet is transmitted to JNI layers of */}.
4th, data are issued big-dipper satellite by HAL layers and receive big-dipper satellite by hardware layer Big Dipper Middleware implementation mode
The Big Dipper order of return.Static int gps_write_message (char* msg, int len) // send and receive
Big Dipper data are to big-dipper satellite }.
By the design of the Android system Big Dipper middleware of the present invention, application developer need to only follow middleware and call rule
Model, you can the correlation functions such as Big Dipper positioning are realized in Android application program, so as to effectively improve the Android mobile device Big Dipper
The efficiency of application and development.
Claims (6)
1. a kind of realize device based on Android system Big Dipper middleware, it is characterised in that
Mainly include, application layer, ccf layer, intermediate layer, driving layer, hardware layer;Wherein,
The Big Dipper middleware interface function that the Big Dipper application call of application layer is provided, realizes actual application demand;
Ccf layer is mainly used in providing Big Dipper middleware calling interface for application program;
Intermediate layer is main to carry out programming according to Big Dipper agreement to the Big Dipper middleware interface of required offer, and for ccf layer
The interface function of transmission is packaged according to Big Dipper transmission agreement and the Big Dipper order of reception is parsed;
Driving layer is mainly used in transmitting to big dipper module and receiving big dipper module transmission reception the Big Dipper order that encapsulation is finished
The Big Dipper order arrived;
Hardware layer is used to transmitting and receiving Big Dipper order.
2. according to claim 1 realize device, it is characterised in that
Ccf layer Big Dipper Middleware implementation mode:In Android system source code ccf layer addition Big Dipper middleware interface, there is provided be available for
Big Dipper RDSS middleware interfaces function and interface specification that upper layer application is called.
3. according to claim 1 realize device, it is characterised in that
Intermediate layer Big Dipper Middleware implementation mode:Intermediate layer needs to have the Big Dipper middleware interface function that ccf layer is provided
The realization of body, package application program needs the Big Dipper order sent and the Big Dipper order that receives of parsing, and will institute after parsing
The information needed sends application program to by middleware interface.
4. according to claim 1 realize device, it is characterised in that
Drive layer Big Dipper Middleware implementation mode:Driving layer is mainly responsible for transmitting the Big Dipper order that need to be sent to big dipper module
And big dipper module received into corresponding Big Dipper order transmit to intermediate layer and parsed.
5. according to claim 1 realize device, it is characterised in that
Data are issued big-dipper satellite by HAL layers and receive what big-dipper satellite was returned by hardware layer Big Dipper Middleware implementation mode
Big Dipper order.
6. a kind of implementation method based on Android system Big Dipper middleware, it is characterised in that
First, the middleware application program of application layer is according to middleware interface function declaration, in the acquisition of invocation framenort layer offer
Between part essential information interface function;
Secondly, intermediate layer is packaged according to Big Dipper function agreement;
Then, by driving layer by the data transfer of encapsulation to hardware layer, it is transmitted by Big Dipper intermediate module;When the Big Dipper is defended
When star receives middleware essential information inquiry request, middleware essential information is transmitted, hand-held set passes through big dipper module
Receive after middleware essential information, by the information received by driving layer to be transferred to intermediate layer by the way of call back function;
Intermediate layer is parsed to the data of reception, and by way of monitoring, ccf layer obtains the data of parsing;
Finally, application layer obtains the data of required ccf layer parsing also by the way of monitoring, so as to show that middleware is believed
Breath.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710523856.0A CN107193675A (en) | 2017-06-30 | 2017-06-30 | It is a kind of that apparatus and method are realized based on Android system Big Dipper middleware |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710523856.0A CN107193675A (en) | 2017-06-30 | 2017-06-30 | It is a kind of that apparatus and method are realized based on Android system Big Dipper middleware |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107193675A true CN107193675A (en) | 2017-09-22 |
Family
ID=59880209
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710523856.0A Pending CN107193675A (en) | 2017-06-30 | 2017-06-30 | It is a kind of that apparatus and method are realized based on Android system Big Dipper middleware |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107193675A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107678925A (en) * | 2017-10-09 | 2018-02-09 | 郑州云海信息技术有限公司 | A kind of hardware platform monitoring system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009098550A1 (en) * | 2008-02-04 | 2009-08-13 | Sony Ericsson Mobile Communications Ab | Intelligent interaction between a wireless portable device and media devices in a local network |
CN104236579A (en) * | 2014-10-09 | 2014-12-24 | 武汉大学 | High-precision satellite navigation implementing method based on Android kernel layer |
CN104539774A (en) * | 2014-08-29 | 2015-04-22 | 北京九天利建信息技术有限公司 | Smart phone with built-in Beidou short message and Beidou positioning functions |
-
2017
- 2017-06-30 CN CN201710523856.0A patent/CN107193675A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009098550A1 (en) * | 2008-02-04 | 2009-08-13 | Sony Ericsson Mobile Communications Ab | Intelligent interaction between a wireless portable device and media devices in a local network |
CN104539774A (en) * | 2014-08-29 | 2015-04-22 | 北京九天利建信息技术有限公司 | Smart phone with built-in Beidou short message and Beidou positioning functions |
CN104236579A (en) * | 2014-10-09 | 2014-12-24 | 武汉大学 | High-precision satellite navigation implementing method based on Android kernel layer |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107678925A (en) * | 2017-10-09 | 2018-02-09 | 郑州云海信息技术有限公司 | A kind of hardware platform monitoring system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104236579B (en) | A kind of based on Android inner nuclear layer realization high accuracy satellite navigation locating method | |
CN111400070B (en) | Terminal equipment and cross-process interface calling realization and execution method thereof | |
CN103684963B (en) | Framework system and implementation method of middleware applied to car networking | |
CN111338828B (en) | Terminal equipment and application program interface calling control method thereof | |
CN104158627B (en) | A kind of automatic recognition system and method for heterogeneous links multi-protocols | |
CN110377438A (en) | The method for routing of striding course communication interface, device and system | |
CN106850034B (en) | Low orbit satellite data transmission system | |
RU2014139918A (en) | METHOD FOR CHECKING TRANSFER FEE OPERATIONS AND ITS COMPONENTS | |
CN108417017A (en) | Based on dipper system hydroelectric project dam material transportational process real-time monitoring system and method | |
CN110287040B (en) | Implementation system for remotely calling service framework | |
CN113821360A (en) | Method and device for acquiring positioning information, electronic equipment and storage medium | |
CN105162673A (en) | Data transmission interface and method | |
CN101557426A (en) | Web service-based and uniformly managed interface message processor, web service component and method thereof | |
CN103019823B (en) | Realize the message queue method that VxWorks communicates with Qt | |
US8799350B2 (en) | Method and device for establishing network communication compatibility of terminals | |
CN101383814B (en) | Device and method implementing data access based on connection pool | |
CN103347033B (en) | Vehicle-mounted communication method and system | |
CN106375418A (en) | Dynamic generation method of information data of acoustic Internet of Thing | |
CN112566282A (en) | Internet of things information transmission mode and platform | |
CN110096380A (en) | Android corresponding internal communication method, system, device and storage medium | |
WO2012037791A1 (en) | Method, device and system for displaying radio frequency identification application information | |
CN107193675A (en) | It is a kind of that apparatus and method are realized based on Android system Big Dipper middleware | |
CN106656778A (en) | BDS (BeiDou Navigation Satellite System) communication gateway and communication method thereof | |
CN110011893A (en) | AIS device and method with the automatic upgrade function of electronic channel chart remote online | |
CN101453741B (en) | Method and system for mobile terminal data service debugging |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170922 |