CN103458118B - A kind of construction method of Android dual-mode RIL system and system - Google Patents

A kind of construction method of Android dual-mode RIL system and system Download PDF

Info

Publication number
CN103458118B
CN103458118B CN201310375558.3A CN201310375558A CN103458118B CN 103458118 B CN103458118 B CN 103458118B CN 201310375558 A CN201310375558 A CN 201310375558A CN 103458118 B CN103458118 B CN 103458118B
Authority
CN
China
Prior art keywords
ril
module
rild
communication
phone
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.)
Expired - Fee Related
Application number
CN201310375558.3A
Other languages
Chinese (zh)
Other versions
CN103458118A (en
Inventor
张涛
袁志坚
陈融
赵敏
王金双
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PLA University of Science and Technology
Original Assignee
PLA University of Science and Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by PLA University of Science and Technology filed Critical PLA University of Science and Technology
Priority to CN201310375558.3A priority Critical patent/CN103458118B/en
Publication of CN103458118A publication Critical patent/CN103458118A/en
Application granted granted Critical
Publication of CN103458118B publication Critical patent/CN103458118B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of construction method and system of Android dual-mode RIL system, the method builds multiple single mode RIL system according to different communication standards, therefrom choose two single mode RIL system to build bimodulus RIL system, and the RIL-Java module, the RILD module construction communication channel that are respectively in these two single mode RIL system, then dispatch the Phone module in each single mode RIL system according to Phone manager; The present invention's its workload when building multiple bimodulus RIL system is utilized obviously to reduce.

Description

A kind of construction method of Android dual-mode RIL system and system
Technical field
The invention belongs to Intelligent handhold mobile terminal operating system field, specifically a kind of construction method of Android dual-mode RIL system and system.
Background technology
Along with the development of the communication technology, user is more and more stronger to the demand of mode mobile terminal, and the power of manufacturer terminal exploitation dual-mode terminal is also more and more sufficient.Dual-mode terminal generally can be divided into double-mode and double-standby terminal and double-mode single-standby terminal, it is crucial that the RIL system of bimodulus in dual-mode terminal, in general, the RIL system of dual-mode terminal is all relevant to specific hardware platform, and different dual-mode terminals all needs to revise third party application in a large number, cause inconvenience to dual-mode terminal exploitation, add development amount.
On the other hand, Android phone operating system platform is the stratification hardware and software platform that a framework is good, can be divided into four layers: the superiors are application layer, are provided the application program of several functions by operating system manufacturer or third party developer; The second layer is application framework layer, the Java layer framework providing application program to run and the infrastructure service etc. of necessity; Third layer is system cloud gray model storehouse layer, provides system library and Android run-time library; The bottom is Linux inner core, provides necessary operating system nucleus to drive and hardware driving.
As shown in Figure 1, primary Android RIL system comprises Phone module 20, RIL-Java module 30, RILD module 40 and communication module 50;
But, the method of existing structure Android dual-mode RIL system is all that two kinds of communication standards of specifying according to hardware vendor build, but along with the appearance of the communication standard more of new generation such as 4G, adopt its workload of this construction method multiple bimodulus RIL system obviously larger, not there is universality.
Summary of the invention
Technical problem solved by the invention be to provide a kind of there is the Android dual-mode RIL system of universality construction method and utilize system constructed by the method.
For solving the problems of the technologies described above, the construction method of a kind of Android dual-mode RIL system of the present invention, comprises the following steps:
(1) RIL system of the single mode of different communication standard is built: adopt the Phone module of primary Android RIL system, RIL-Java module, RILD module and communication module, the difference according to communication standard and hardware platform configures the AT command word process submodule in Phone module, RIL-Java module, RILD module and the communication module driver in RILD module;
(2) the first communication port and the second communication passage of bimodulus is built;
(3) Phone manager is built for dispatching the Phone module in each single mode RIL system; Described Phone manager comprises the Register of Phone module starter and Notification Sink;
(4) the single mode RIL system of structure in 2 steps (1) is chosen arbitrarily respectively as the first RIL system and the second RIL system; RIL-Java module in described first RIL system and RILD module adopt the first communication port described in step (2) to communicate; RIL-Java module in second RIL system and RILD module adopt the second communication passage described in step (2) to communicate;
(5) the Phone module in 2 single mode RIL system choosing of Phone manager setting up procedure (4), and register the Notification Sink of above-mentioned 2 single mode RIL system.
Preferred version further, in the construction method of Android dual-mode RIL system of the present invention, the communication standard of described step (1) is WCDMA, CDMA2000, TD-SCDMA of GSM, CDMA or 3G of 2G.
Preferred version further, in the construction method of Android dual-mode RIL system of the present invention, described first communication port is the socket passage of RIL-Java module and RILD module communication in primary Android RIL system; Described second communication passage adopts the socket passage do not conflicted with the title of other socket passages of primary android system.
The invention allows for a kind of Android dual-mode RIL system utilizing the method to build simultaneously, it is characterized in that: comprise the first RIL system and the second RIL system, described first RIL system comprises a Phone module, a RIL-Java module, RILD module and a first communication module; A described RIL-Java module and a RILD module adopt the socket passage of primary Android RIL system; Described second RIL system comprises the 2nd Phone module, the 2nd RIL-Java module, the 2nd RILD module and second communication module, and described 2nd RIL-Java module and the 2nd RILD module adopt the socket passage do not conflicted with the title of other socket passages of primary android system.
The present invention compared with prior art, there is following significant advantage: (1) communication standard independence: onrelevant relation between bimodulus, conveniently carry out the replacement of communication standard, go for the combination of multiple dual mode communication standard, such as GSM+WCDMA or TD-SCDMA+CDMA2000 etc.; (2) third party software independence: software architecture is transparent to third party application, third party application changes or only needs a small amount of change can use bimodulus standard without the need to carrying out; (3) reduce workload: along with increasing of communication standard, the present invention's its workload when building multiple bimodulus RIL system is significantly less than prior art.
Accompanying drawing explanation
Fig. 1 is original Android RIL system structured flowchart;
Fig. 2 is Android dual-mode RIL system structured flowchart of the present invention;
Embodiment
As shown in Figure 2, the construction method of a kind of Android dual-mode RIL system of the present invention, comprises the following steps:
(1) the single mode RIL system of different communication standard is built: adopt the Phone module of primary Android RIL system, RIL-Java module, RILD module and communication module, the communication standard supported comprises WCDMA, CDMA2000, TD-SCDMA of GSM, CDMA or 3G of 2G herein.The AT command word process submodule in Phone module, RIL-Java module, RILD module is configured according to the difference of communication standard and hardware platform, such as Huawei MC703 module is CDMA standard, its CDMA information source information querying command is AT^1XINFO, the 3G service quality order of TD-SCDMA terminal inquiry request is+CGEQREQ, these support AT Command Set caused due to communication standard and hardware platform difference are different, and AT command word process submodule processes for these command words.Communication module driver in RILD module is provided by hardware vendor;
(2) build the first communication port and the second communication passage of bimodulus, wherein, the first communication port is the socket passage rild of RIL-Java module and RILD module communication in primary Android RIL system; Second communication passage adopts the socket passage second_rild do not conflicted with the title of other socket passages of primary android system.
(3) build Phone manager 300 for dispatching the Phone module in each single mode RIL system, Phone manager comprises the Register 302 of Phone module starter 301 and Notification Sink;
(4) choose arbitrarily the single mode RIL system of structure in 2 steps (1) respectively as the first RIL system and the second RIL system, the RIL-Java module in the first RIL system and RILD module adopt the first communication port socket rild to communicate; RIL-Java module in second RIL system and RILD module adopt second communication passage socket second_rild to communicate;
(5) the Phone module in 2 single mode RIL system choosing of Phone manager setting up procedure (4), and register the Notification Sink of above-mentioned 2 single mode RIL system.
The Android dual-mode RIL system utilizing said method to build, comprise the first RIL system and the second RIL system, wherein the first RIL system comprises the socket passage rild that a Phone module 120, a RIL-Java module 130, a RILD module 140 and first communication module the 150, one RIL-Java module 130 and a RILD module 140 adopt primary Android RIL system;
Second RIL system comprises the 2nd Phone module 220, the 2nd RIL-Java module 230, the 2nd RILD module 240 and second communication module the 250, two RIL-Java module 230 and adopts with the 2nd RILD module 240 the socket passage second_rild do not conflicted with the title of other socket passages of primary android system.
Embodiment
The construction method of the bimodulus RIL system of GSM+CDMA, concrete execution mode is as follows:
(1) the single mode RIL system of different communication standard is built: adopt the Phone module of primary Android RIL system, RIL-Java module, RILD module and communication module, the communication standard supported comprises WCDMA, CDMA2000, TD-SCDMA that single mode is GSM, CDMA or 3G of 2G herein.Configure the AT command word process submodule in Phone module, RIL-Java module, RILD module according to the difference of communication standard and hardware platform, the communication module driver in RILD module is provided by hardware vendor;
(2) the first communication port and the second communication passage of bimodulus is built.First communication port is the socket passage rild of RIL-Java module and RILD module communication in primary Android RIL system; Second communication passage adopts the socket passage second_rild do not conflicted with the title of other socket passages of primary android system.
(3) build Phone manager for dispatching the Phone module in each single mode RIL system, Phone manager comprises the Register of Phone module starter and Notification Sink;
(4) the GSM single mode RIL system and CDMA single mode RIL system that build in 2 steps (1) is chosen arbitrarily: using GSM single mode RIL system as the first RIL system, CDMA single mode RIL system as the second RIL system, the RIL-Java module in the first RIL system and RILD module adopt the first communication port socketrild to communicate; RIL-Java module in second RIL system and RILD module adopt second communication passage socket second_rild to communicate;
(5) the Phone module in 2 single mode RIL choosing of Phone manager setting up procedure (4), and register the Notification Sink of above-mentioned 2 single mode RIL system.
Start the Phone module in above-mentioned 2 single mode RIL system by following code, and register the Notification Sink of above-mentioned 2 single mode RIL system:
Start above-mentioned two Phone modules and after registering corresponding Notification Sink, if Phone module has message to arrive, such as, have phone to call in, so can notify corresponding Phone module corresponding message:
In sum, the construction method of Android dual-mode RIL system of the present invention its workload when building multiple bimodulus RIL system is significantly less than prior art.

Claims (3)

1. a construction method for Android dual-mode RIL system, is characterized in that, comprises the following steps:
(1) RIL system of the single mode of different communication standard is built: adopt the Phone module of primary Android RIL system, RIL-Java module, RILD module and communication module, the difference according to communication standard and hardware platform configures the AT command word process submodule in Phone module, RIL-Java module, RILD module and the communication module driver in RILD module;
(2) the first communication port and the second communication passage of bimodulus is built;
(3) Phone manager is built for dispatching the Phone module in each single mode RIL system; Described Phone manager comprises the Register of Phone module starter and Notification Sink;
(4) the single mode RIL system of structure in 2 steps (1) is chosen arbitrarily respectively as the first RIL system and the second RIL system; RIL-Java module in described first RIL system and RILD module adopt the first communication port described in step (2) to communicate; RIL-Java module in second RIL system and RILD module adopt the second communication passage described in step (2) to communicate;
(5) the Phone module in 2 single mode RIL system choosing of Phone manager setting up procedure (4), and register the Notification Sink of above-mentioned 2 single mode RIL system;
Described first communication port is the socket passage of RIL-Java module and RILD module communication in primary Android RIL system; Described second communication passage adopts the socket passage do not conflicted with the title of other socket passages of primary android system.
2. the construction method of Android dual-mode RIL system according to claim 1, is characterized in that, the communication standard of described step (1) is WCDMA, CDMA2000, TD-SCDMA of GSM, CDMA or 3G of 2G.
3. utilize the Android dual-mode RIL system that method described in claim 1 or 2 builds, it is characterized in that: comprise the first RIL system and the second RIL system, described first RIL system comprises a Phone module, a RIL-Java module, RILD module and a first communication module; A described RIL-Java module and a RILD module adopt the socket passage of primary Android RIL system; Described second RIL system comprises the 2nd Phone module, the 2nd RIL-Java module, the 2nd RILD module and second communication module, and described 2nd RIL-Java module and the 2nd RILD module adopt the socket passage do not conflicted with the title of other socket passages of primary android system.
CN201310375558.3A 2013-08-26 2013-08-26 A kind of construction method of Android dual-mode RIL system and system Expired - Fee Related CN103458118B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310375558.3A CN103458118B (en) 2013-08-26 2013-08-26 A kind of construction method of Android dual-mode RIL system and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310375558.3A CN103458118B (en) 2013-08-26 2013-08-26 A kind of construction method of Android dual-mode RIL system and system

Publications (2)

Publication Number Publication Date
CN103458118A CN103458118A (en) 2013-12-18
CN103458118B true CN103458118B (en) 2015-08-05

Family

ID=49740058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310375558.3A Expired - Fee Related CN103458118B (en) 2013-08-26 2013-08-26 A kind of construction method of Android dual-mode RIL system and system

Country Status (1)

Country Link
CN (1) CN103458118B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104066045B (en) * 2014-06-30 2018-01-02 华为技术有限公司 A kind of Android system for supporting more phone business, method and system chip
CN106776063B (en) * 2016-11-29 2020-12-01 北京元心科技有限公司 Mobile terminal, container telephone communication function implementation method and cross-container communication method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769937A (en) * 2012-07-16 2012-11-07 青岛海信移动通信技术股份有限公司 Multi-standby terminal with android system and method for realizing multi-standby of terminal
CN103067593A (en) * 2012-12-29 2013-04-24 盛耀无线通讯科技(北京)有限公司 Double-card bi-pass software system framework based on Android platform and operation method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4964989B2 (en) * 2007-10-29 2012-07-04 インターデイジタル テクノロジー コーポレーション Integration of 802.21 medium independent handover function for radio interface layer and telephone server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769937A (en) * 2012-07-16 2012-11-07 青岛海信移动通信技术股份有限公司 Multi-standby terminal with android system and method for realizing multi-standby of terminal
CN103067593A (en) * 2012-12-29 2013-04-24 盛耀无线通讯科技(北京)有限公司 Double-card bi-pass software system framework based on Android platform and operation method thereof

Also Published As

Publication number Publication date
CN103458118A (en) 2013-12-18

Similar Documents

Publication Publication Date Title
CN103294635B (en) Based on Modem assembly process core and the integrated circuit of SCA
CN104137482A (en) Disaster recovery data center configuration method and device under cloud computing framework
CN102781119B (en) Wireless Ubiquitous Network application terminal system and component software application process management method
CN104317257A (en) System and method for controlling multiple sockets based on wireless internet control
CN102902818A (en) Method and device for upgrading database
CN108279963B (en) Single Linux kernel multi-Android system intelligent terminal display virtualization method
CN104717684A (en) WIFI mode virtual co-existence method and device
CN102331935A (en) Embedded cross-system software development platform
CN103458118B (en) A kind of construction method of Android dual-mode RIL system and system
CN103729742B (en) A kind of Data Resources Management System based on SOA framework and executing model drive structure
CN105992382A (en) Head unit of vehicle, method for controlling the head unit, and transmission/reception synchronization system between heterogeneous device
CN104267957A (en) Mobile application unified service framework system
CN103019819A (en) Dynamic link library uniform scheduling method based on plug-in mechanism
CN110401939A (en) A kind of low-power consumption bluetooth controller link layer device
CN103136379B (en) A kind of multi-databases access method based on Android terminal
CN105874871A (en) Method for producing transparent resin composition
CN101309121B (en) Method of realizing MUX protocol without need of adding drive of kernel under Linux platform
CN102694775A (en) Campus information machine terminal authentication method based on asynchronous communication mode
CN105530313A (en) Context sensing service migrating method based on OSGi pervasive cloud environment
CN104537522A (en) Message processing method and electronic equipment
CN103336612B (en) Touch screen control system based on serial communication and ARM embedded processing systems
TW200745947A (en) Development and execution platform
CN110519390A (en) A kind of low-power consumption bluetooth controller link layer implementation method
CN102567295A (en) Font processing method and device for embedded device
CN102281354B (en) Mobile phone software downloading system and software downloading method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150805

Termination date: 20180826