CN103067593B - A kind of double card bilateral software system architecture based on Android platform and operation method thereof - Google Patents

A kind of double card bilateral software system architecture based on Android platform and operation method thereof Download PDF

Info

Publication number
CN103067593B
CN103067593B CN201210590080.1A CN201210590080A CN103067593B CN 103067593 B CN103067593 B CN 103067593B CN 201210590080 A CN201210590080 A CN 201210590080A CN 103067593 B CN103067593 B CN 103067593B
Authority
CN
China
Prior art keywords
module
call
phone
double card
manager
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.)
Active
Application number
CN201210590080.1A
Other languages
Chinese (zh)
Other versions
CN103067593A (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.)
Datang Terminal Technology Co Ltd
Original Assignee
Sheng Yao Wireless Communication Technology (beijing) Co Ltd
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 Sheng Yao Wireless Communication Technology (beijing) Co Ltd filed Critical Sheng Yao Wireless Communication Technology (beijing) Co Ltd
Priority to CN201210590080.1A priority Critical patent/CN103067593B/en
Publication of CN103067593A publication Critical patent/CN103067593A/en
Application granted granted Critical
Publication of CN103067593B publication Critical patent/CN103067593B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The present invention relates to a kind of double card bilateral software system architecture based on Android platform and operation method thereof, including double card bilateral phone framework, double card bilateral data framework, double card bilateral voice pathway framework.The invention have the benefit that a kind of double card bilateral software system architecture based on Android platform provided by the invention and operation method thereof, use and singly overlap code, the mode of double; two examples realizes ccf layer, avoid the various workload caused of code big, simultaneously, make the simple in construction of system, succinct, it is easy to safeguard.

Description

A kind of double card bilateral software system architecture based on Android platform and operation method thereof
Technical field
The present invention relates to a kind of double card bilateral software system architecture based on Android platform and operation method thereof.
Background technology
Along with society development, improving constantly of scientific and technological level, in recent years, electronic product obtains development at full speed, especially the electronic product of cell phone type, in existing mobile phone products, according to being demand mobile phone needs, mobile phone is sometimes for adopting double card pattern, in prior art, ccf layer generally takes the corresponding two set code means of double card to realize, and its shortcoming is that code is various, workload big, be difficult to safeguard, system redundancy, cause product technology also immature, affect product quality.
Summary of the invention
It is an object of the invention to provide a kind of double card bilateral software system architecture based on Android platform and operation method thereof, to overcome the above-mentioned deficiency in existing product.
It is an object of the invention to be achieved through the following technical solutions:
A kind of double card bilateral software system architecture based on Android platform, including double card bilateral phone framework, double card bilateral data framework, double card bilateral voice pathway framework;Wherein:
Described double card bilateral phone framework includes call agent module one (PhoneProxy1) and call agent module two (PhoneProxy2), call agent module one (PhoneProxy1) and call agent module two (PhoneProxy2) are connected to call instance module one (Phone1) and call instance module two (Phone2), call agent module one and call agent module two connect call manager, and phone application module connects call agent module one, call agent module two and call manager respectively;
Described double card bilateral data framework includes data association service module, data association service module connects telephone supervisor and data connection manager respectively, telephone supervisor connects call instance module one and call instance module two respectively, and phone application module connects telephone supervisor;
Described double card bilateral voice pathway framework includes hardware abstraction layer and speech pattern module, hardware abstraction layer includes voice policy manager, voice policy manager connects speech pattern module and audio frequency apparatus respectively, and speech pattern module includes call manager, audio manager, audio system and AudioFlinger module.
A kind of double card bilateral software system architecture based on Android platform, the operation method of described double card bilateral phone framework, comprise the following steps:
1) phone application module creation call agent module one and call agent module two, two RILJ modules, and RILJ are bound in each phone;
2) create corresponding call instance module one and call instance module two according to different phone types, and phone has the call tracing device of correspondence;
3) GSMphone1, GSMphone2, phone base class, GSMCallTracker will be responsible for initiating the request of RIL, and monitors the RILJ phone correlation behavior reported;
4) phone application module creation call instance module one and call instance module two are registered to call manager, call manager is responsible for all telephone states, and call manager passes through phone base class monitored call state, and phone application module is by call manager monitored call state;
5) a phone registration device for notifying upper layer application phone status information can be recorded in phone;
6) telephone supervisor is responsible for encapsulated telephone relevant interface for other application.
A kind of double card bilateral software system architecture based on Android platform, the operation method of described double card bilateral data framework, comprise the following steps:
1) when there being MMS, MMS module starts data service by interface " activating access point type (SIM1/SIM2) ";
2), when having MMS, data association service adopts and reconnects and will pass to telephone supervisor under startup data service card information;When arranging default data business, data association service is changed by monitored data business, then activates access point type and completes;
3) telephone supervisor is according to concrete phone information, activates corresponding access point type;
4) concrete GSMDataconnection starts corresponding MODEM data service function.
A kind of double card bilateral software system architecture based on Android platform, the operation method of described double card bilateral voice pathway framework, comprise the following steps:
1) phone module is based on call logic, arranges current active phone information to Audio system;
2) telephone state is passed through the voice policy manager of hardware abstraction layer by Audio system;
3) activity phone information is passed to speech pattern module by voice policy manager;
4) speech pattern module is according to movable phone information, and audio frequency apparatus information, is mapped to audio frequency apparatus information corresponding for concrete MODEM;
5) if card one phone activation, then the audio frequency apparatus of card one correspondence is used;If card two phone activation, then use the audio frequency apparatus of card two correspondences.
Abbreviation: the service of PhoneProxy1-call agent module one, PhoneProxy2-call agent module two, CallManager-call manager, Phone1-call instance module one, Phone2-call instance module two, TelephonyManager-telephone supervisor, TelephonyRegistry-phone registration device, ConnectivityService-data association, EnableApnType-activate access point type, AudioPolicyManager-voice policy manager.
The invention have the benefit that a kind of double card bilateral software system architecture based on Android platform provided by the invention and operation method thereof, use and singly overlap code, the mode of double; two examples realizes ccf layer, avoid the various workload caused of code big, simultaneously, make the simple in construction of system, succinct, it is easy to safeguard.
Accompanying drawing explanation
Below according to accompanying drawing, the present invention is described in further detail.
Fig. 1 is the FB(flow block) of a kind of double card bilateral software system architecture double card bilateral phone framework based on Android platform described in the embodiment of the present invention;
Fig. 2 is the FB(flow block) of a kind of double card bilateral software system architecture double card bilateral data framework based on Android platform described in the embodiment of the present invention;
Fig. 3 is the FB(flow block) of a kind of double card bilateral software system architecture double card bilateral voice pathway framework based on Android platform described in the embodiment of the present invention.
Detailed description of the invention
As Figure 1-3, a kind of double card bilateral software system architecture based on Android platform described in the embodiment of the present invention, including double card bilateral phone framework, double card bilateral data framework, double card bilateral voice pathway framework;Wherein:
Described double card bilateral phone framework includes call agent module one and call agent module two, call agent module one and call agent module two are connected to call instance module one and call instance module two, call agent module one and call agent module two connect call manager, and phone application module connects call agent module one, call agent module two and call manager respectively;
Described double card bilateral data framework includes data association service module, data association service module connects telephone supervisor and data connection manager respectively, telephone supervisor connects call instance module one and call instance module two respectively, and phone application module connects telephone supervisor;
Described double card bilateral voice pathway framework includes hardware abstraction layer and speech pattern module, hardware abstraction layer includes voice policy manager, voice policy manager connects speech pattern module and audio frequency apparatus respectively, and speech pattern module includes call manager, audio manager, audio system and AudioFlinger module.
A kind of double card bilateral software system architecture based on Android platform, the operation method of described double card bilateral phone framework, comprise the following steps:
1) phone application module creation call agent module one and call agent module two, two RILJ modules, and RILJ are bound in each phone;
2) create corresponding call instance module one and call instance module two according to different phone types, and phone has the call tracing device of correspondence;
3) GSMphone1, GSMphone2, phone base class, GSMCallTracker will be responsible for initiating the request of RIL, and monitors the RILJ phone correlation behavior reported;
4) phone application module creation call instance module one and call instance module two are registered to call manager, call manager is responsible for all telephone states, and call manager passes through phone base class monitored call state, and phone application module is by call manager monitored call state;
5) a phone registration device for notifying upper layer application phone status information can be recorded in phone;
6) telephone supervisor is responsible for encapsulated telephone relevant interface for other application.
When being embodied as:
(1) amendment phone application, two call instance modules one of instantiation and call instance module two;
(2) amendment dial and contact module, distinguish different call instance modules one and call instance module two;
(3) call instance module one and call instance module two, corresponding two RILJ example modules, two RILD entities;
(4) corresponding call manager, telephone supervisor are revised;
(5) RIL carry difference RILD part amendment.
A kind of double card bilateral software system architecture based on Android platform, the operation method of described double card bilateral data framework, comprise the following steps:
1) when there being MMS, MMS module starts data service by interface " activating access point type (SIM1/SIM2) ";
2), when having MMS, data association service adopts and reconnects and will pass to telephone supervisor under startup data service card information;When arranging default data business, data association service is changed by monitored data business, then activates access point type and completes;
3) telephone supervisor is according to concrete phone information, activates corresponding access point type;
4) concrete GSMDataconnection starts corresponding MODEM data service function.
When being embodied as:
(1) amendment multimedia message module, different cards passes different cards information;
(2) amendment data association service module, it is achieved different cards data service is by asking different call instance
A kind of double card bilateral software system architecture based on Android platform, the operation method of described double card bilateral voice pathway framework, comprise the following steps:
1) phone module is based on call logic, arranges current active phone information to Audio system;
2) telephone state is passed through the voice policy manager of hardware abstraction layer by Audio system;
3) activity phone information is passed to speech pattern module by voice policy manager;
4) speech pattern module is according to movable phone information, and audio frequency apparatus information, is mapped to audio frequency apparatus information corresponding for concrete MODEM;
5) if card one phone activation, then the audio frequency apparatus of card one correspondence is used;If card two phone activation, then use the audio frequency apparatus of card two correspondences.
When being embodied as:
(1) voice pathway expansion interface arranges movable phone, in order to call manager is set using;
(2) call manager module amendment interface arranges movable call logic, arranges movable phone when closing of the circuit (OFF_HOOK);
(3) voice pathway hardware abstraction layer selects different path according to active call.
Hardware designs requires:
(1) hardware adopts two Modem modes, a high pass, a MTK;
(2) voice-frequency channel, hardware adds switch, it is achieved Audio conversion between two Modem;
(3) to position to two antennas in architecture design, distance and direction are controlled;
(4) two antennas adopt different antenna forms, ensure isolation.
The present invention is not limited to above-mentioned preferred forms; anyone can draw other various forms of products under the enlightenment of the present invention; no matter but in its shape or structure, do any change, every have same or like with the application like technical scheme, all fall within protection scope of the present invention.

Claims (4)

1. the double card bilateral software architecture system based on Android platform, it is characterised in that including:
Double card bilateral phone framework subsystem, described double card bilateral phone framework subsystem includes call agent module one and call agent module two, described call agent module one and described call agent module two connect call instance module one and call instance module two respectively, described call agent module one and described call agent module two are also associated with call manager, and, mobile phone interface manager and phone application module for managing described double card bilateral phone framework subsystem connect described call agent module one respectively, described call agent module two and described call manager;
Double card bilateral data framework subsystem, described double card bilateral data framework subsystem includes the data association service module for managing phonecard data service, described data association service module connects respectively and carries out with described data association service module rebuilding and activate the mutual telephone supervisor of access point type and for third-party application is connected the data cube computation manager of data service, described telephone supervisor is also respectively connected with described call instance module one and described call instance module two, and described phone application module connects described telephone supervisor;And
Double card bilateral voice pathway framework subsystem, described double card bilateral voice pathway framework subsystem includes the hardware abstraction layer of the interface of kernel and hardware circuit and for arranging the speech pattern module of speech pattern, described hardware abstraction layer includes the voice policy manager for determining speech pattern and routing voice equipment, described voice policy manager connects speech pattern module and audio frequency apparatus respectively, described speech pattern module includes for arranging movable phone and arranging the call manager of speech pattern and the audio manager being sequentially connected with described call manager, audio system and for connecting the AudioFlinger module of audio hardware.
2. a kind of double card bilateral software architecture system based on Android platform according to claim 1, it is characterised in that the operation method of described double card bilateral phone framework subsystem, comprises the following steps:
1) phone application module creation call agent module one and call agent module two, two RILJ modules, and RILJ are bound in corresponding call instance module;
2) phone application module creates corresponding call instance module one and call instance module two according to different phone types;
3) GSM call tracer will be responsible for initiating the request of RIL, and monitors the RILJ phone correlation behavior reported;
4) call instance module one and call instance module two are registered to call manager, call manager is responsible for all telephone states, and call manager passes through phone base class monitored call state, and phone application module is by call manager monitored call state;
5) call instance module notifies telephone state monitoring information by phone registration device to third-party application;And
6) telephone supervisor encapsulated telephone relevant interface is for third-party application.
3. a kind of double card bilateral software architecture system based on Android platform according to claim 1, it is characterised in that the operation method of described double card bilateral data framework subsystem, comprises the following steps:
1) MMS module starts data service by " activating access point type (SIM1/SIM2) " interface;
2), when having MMS, data association service module adopts and reconnects and will pass to telephone supervisor under startup data traffic information;When arranging default data business, data association service module monitored data business changes, and then activates access point type (SIM1/SIM2) and completes;
3) telephone supervisor is according to concrete phone information, activates corresponding access point type;And
4) the GSM Data connection module of corresponding call instance module starts corresponding modem data business function.
4. a kind of double card bilateral software architecture system based on Android platform according to claim 1, it is characterised in that the operation method of described double card bilateral voice pathway framework subsystem, comprises the following steps:
1) phone module is based on call logic, arranges current active phone information to audio system;
2) telephone state is passed through the voice policy manager of hardware abstraction layer by audio system;
3) activity phone information is passed to speech pattern module by voice policy manager;
4) speech pattern module is according to movable phone information, and audio frequency apparatus information, maps the audio frequency apparatus information of correspondence on concrete modem;And
5) if card one phone activation, then the audio frequency apparatus of card one correspondence is used;If card two phone activation, then use the audio frequency apparatus of card two correspondences.
CN201210590080.1A 2012-12-29 2012-12-29 A kind of double card bilateral software system architecture based on Android platform and operation method thereof Active CN103067593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210590080.1A CN103067593B (en) 2012-12-29 2012-12-29 A kind of double card bilateral software system architecture based on Android platform and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210590080.1A CN103067593B (en) 2012-12-29 2012-12-29 A kind of double card bilateral software system architecture based on Android platform and operation method thereof

Publications (2)

Publication Number Publication Date
CN103067593A CN103067593A (en) 2013-04-24
CN103067593B true CN103067593B (en) 2016-06-29

Family

ID=48110043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210590080.1A Active CN103067593B (en) 2012-12-29 2012-12-29 A kind of double card bilateral software system architecture based on Android platform and operation method thereof

Country Status (1)

Country Link
CN (1) CN103067593B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458118B (en) * 2013-08-26 2015-08-05 中国人民解放军理工大学 A kind of construction method of Android dual-mode RIL system and system
CN103491654A (en) * 2013-09-13 2014-01-01 华为技术有限公司 Communication method used for multi-card terminal and multi-card terminal
CN105025109A (en) * 2015-07-29 2015-11-04 盛耀无线通讯科技(北京)有限公司 CS mode-based RIL communication architecture and method for Android system
WO2017161572A1 (en) * 2016-03-25 2017-09-28 深圳前海达闼云端智能科技有限公司 Communication method and apparatus, electronic device, and program product
CN114679752B (en) * 2022-03-29 2024-04-19 青岛海信移动通信技术有限公司 Method for sharing wireless communication capability by double systems and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808428A (en) * 2010-04-21 2010-08-18 华为终端有限公司 Communication method and device of double-card dual-standby cell phone
CN101854743A (en) * 2010-02-05 2010-10-06 深圳市同洲电子股份有限公司 Method for driving multi-mode terminating machine by radio interface layer and multi-mode terminating machine
CN102769937A (en) * 2012-07-16 2012-11-07 青岛海信移动通信技术股份有限公司 Multi-standby terminal with android system and method for realizing multi-standby of terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854743A (en) * 2010-02-05 2010-10-06 深圳市同洲电子股份有限公司 Method for driving multi-mode terminating machine by radio interface layer and multi-mode terminating machine
CN101808428A (en) * 2010-04-21 2010-08-18 华为终端有限公司 Communication method and device of double-card dual-standby cell phone
CN102769937A (en) * 2012-07-16 2012-11-07 青岛海信移动通信技术股份有限公司 Multi-standby terminal with android system and method for realizing multi-standby of terminal

Also Published As

Publication number Publication date
CN103067593A (en) 2013-04-24

Similar Documents

Publication Publication Date Title
CN108322937B (en) Resource allocation method and orchestrator for network slices in a radio access network
CN103067593B (en) A kind of double card bilateral software system architecture based on Android platform and operation method thereof
CN103458125B (en) The guard method of a kind of high-grade privacy smart phone and private information thereof
CN106604369A (en) Terminal device with dual-mode switching function
CN109479231A (en) Mobility in Multi net voting wireless system
CN106055451B (en) Information processing method and electronic equipment
CN103313292B (en) Inter-system measuring method based on single baseband chip dual link framework
CN104918225A (en) Implementation method and device of bi-pass function of double-card single-pass terminal
CN105391462A (en) Rail traffic wireless communication terminal apparatus
CN103914321A (en) Method for invoking message processing capacity of system and mobile terminal
CN111787542A (en) Service data transmission method, device, storage medium and terminal equipment
CN105072193A (en) Cloud sea OS (Operating System) deployment method under multi-data centre
CN106034037B (en) A kind of disaster tolerance switching method and device based on virtual machine
CN106209504A (en) A kind of information processing method and device, server
CN102568179B (en) Two-channel wireless transmission power monitoring system and monitoring method thereof
CN201774678U (en) Virtual cluster system
CN202231869U (en) Mobile signal automatic dial testing terminal and system
CN202957985U (en) Network dial testing system
CN110234177A (en) The method that more card communication devices and more card communication devices realize more cartoon letters
CN208707733U (en) Call control system
CN203661302U (en) Dual-card dual-standby finance POS terminal
CN105320546B (en) A method of managing Android application software using efficient virtual machine technique
CN104699521A (en) Online migration method, system and device of virtual machine
CN103718512B (en) A kind of alarm reporting method and relevant device, system
CN104427529A (en) Information processing method and terminal

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
TR01 Transfer of patent right

Effective date of registration: 20181018

Address after: 300000 Tianjin city free trade pilot area (Airport Economic Zone) west three road 158 financial center 4 Building 1 unit 602-3

Patentee after: DATANG TERMINAL TECHNOLOGY CO., LTD.

Address before: 100191 room 816, Gao de building, 10 Garden East Road, Haidian District, Beijing.

Patentee before: Sheng Yao wireless communication technology (Beijing) Co., Ltd.

TR01 Transfer of patent right