CN104702775B - Smart phone card data routing method and system - Google Patents

Smart phone card data routing method and system Download PDF

Info

Publication number
CN104702775B
CN104702775B CN201310671831.7A CN201310671831A CN104702775B CN 104702775 B CN104702775 B CN 104702775B CN 201310671831 A CN201310671831 A CN 201310671831A CN 104702775 B CN104702775 B CN 104702775B
Authority
CN
China
Prior art keywords
card
routing
modem
smart phone
data
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
CN201310671831.7A
Other languages
Chinese (zh)
Other versions
CN104702775A (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.)
Leadcore Technology Co Ltd
Original Assignee
Leadcore Technology 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 Leadcore Technology Co Ltd filed Critical Leadcore Technology Co Ltd
Priority to CN201310671831.7A priority Critical patent/CN104702775B/en
Publication of CN104702775A publication Critical patent/CN104702775A/en
Application granted granted Critical
Publication of CN104702775B publication Critical patent/CN104702775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a smart phone card data routing system, comprising: the system comprises a card, a master modem and a plurality of slave modems; wherein the card is connected to the master modem; the master modem is connected with the slave modem through a card routing channel service module at the AP side of the smart phone. The invention fully utilizes the card interface of the prior modem, only replaces the interface layer, namely, the interface layer is divided into the master modem and the slave modem, furthest retains the integrity of the prior modem, accelerates the development speed of the whole system, achieves the aim of sharing one card by multiple modes, reduces the hardware cost and achieves the aim of saving the cost.

Description

Smart phone card data routing method and system
Technical Field
The invention relates to the technical field of communication, in particular to a smart phone card data routing method and a smart phone card data routing system.
Background
With the rapid development of mobile communication technology, smart phones have become popular, and development hotspots are reflected in multimode access, which currently supports five modes, namely GSM, TD-SCDMA, WCDMA, TD-LTE, and FDD LTE. The smart phone supports multiple modes, and at present, a common method is to attach multiple MODEMs (MODEMs) to one smart phone, so that the prior art can be fully utilized, and the development cost is reduced.
As shown in fig. 1 and fig. 2, in a prior art solution, a SIM card is hung on a core (in the figure, a multimedia processor), and all MODEMs (MODEMs) access the SIM card through hardware switching, which is implemented by hardware, so that a separate core is required to hang the SIM card, which increases hardware cost.
As shown in fig. 3, in another prior art solution, all MODEMs (MODEMs) are attached to a core, so that all MODEMs (MODEMs) can directly access the card. Although this method is simple, it has the obvious disadvantage that one core has very limited capability and is not capable of running multiple MODEMs (MODEMs) simultaneously.
Disclosure of Invention
Aiming at the existing problems, the invention provides a smart phone card data routing method and a smart phone card data routing system.
In order to solve the above technical problem, the present invention provides a smart phone card data routing system, including: the system comprises a card, a master modem and a plurality of slave modems; wherein,
the card is connected with the master modem;
the master modem is connected with the slave modem through a card routing channel service module at the AP side of the smart phone.
Preferably, in the smart phone card data routing system, the master modem includes a card interface and a card routing server; wherein, the card interface is connected with a card; the card routing server is connected with the slave modem.
Preferably, in the data routing system for a smart phone card, the slave modem includes a card routing client and a card routing client analog card interface connected to the card routing client; the card routing client side simulates a card interface to be connected with the main modem.
Preferably, in the data routing system for a smart phone card, if the data routing system for a smart phone card includes a plurality of cards, the data routing system for a smart phone card includes a plurality of master modems.
Correspondingly, the invention also provides a smart phone card data routing method, which comprises the following steps:
the method comprises the following steps: starting the card routing channel service module, reading card routing configuration information, judging whether a master modem exists, if so, executing the step two, and if not, ending the step;
step two: the card routing channel service module acquires an idle channel from the main modem, and sends an AT instruction to the card routing service end through the idle channel to inform the card routing service end of starting;
step three: the card routing channel service module reads routing configuration information again, wherein the routing configuration information comprises the existing slave modem configuration condition of the master modem; if the slave modem does not exist, stopping starting the card routing server; if the slave modem exists, the card routing channel service module acquires an idle channel from the master modem, and sends an AT instruction to the card routing client through the idle channel to inform the card routing client to start;
step four: and the card routing server side and the card routing client side perform card data routing through the card routing channel service module.
Preferably, in the method for routing data in a smart phone card, if the smart phone card data routing system includes a plurality of cards, the smart phone card data routing system correspondingly includes a plurality of master modems.
Preferably, in the method for routing data through a smart phone card, in step three, if the smart phone card includes a plurality of slave modems, the card routing channel service module obtains a plurality of idle channels from the master modem, so that the master modem and the slave modem channel service module perform card data routing.
Preferably, in the data routing method for a smart phone card, the fourth step includes:
reading card data from a modem, and calling a card routing client to simulate a card interface;
the card routing client side simulates a card interface calling parameter to be coded according to a card routing protocol and sends the coded parameter to a card routing server side;
the card routing server side decodes according to a card routing protocol, analyzes which card interface calling parameter is simulated from the modem card interface and the card routing client side, calls a corresponding card interface according to the analysis result, and reads card data;
the card routing server encodes the read card data according to a card routing protocol and sends the card data to a corresponding card routing server;
the card routing client decodes according to the card routing protocol, analyzes corresponding card interface and card data, restores the card interface and card data into a local simulation card interface result, and returns the result to a local caller.
Preferably, in the data routing method for a smart phone card, the fourth step includes:
the card routing server receives the card information reported from the master modem, encodes the card information according to a card routing protocol, and broadcasts the card information to all slave modems;
the card routing client of each slave modem decodes according to the card routing protocol, parses out the card message, and notifies the slave modem of the processing.
Preferably, in the data routing method for a smart phone card, the card message is a card drop and/or a card pull.
The data routing method and system for the smart phone card provided by the invention have the following beneficial effects: the invention fully utilizes the card interface of the prior modem, only replaces the interface layer, namely, the interface layer is divided into the master modem and the slave modem, furthest retains the integrity of the prior modem, accelerates the development speed of the whole system, achieves the aim of sharing one card by multiple modes, reduces the hardware cost and achieves the aim of saving the cost.
Drawings
Fig. 1-2 are schematic diagrams of a method for supporting multimode access by a prior art smart phone;
FIG. 3 is a schematic diagram of a prior art method for supporting multimode access for a smart phone;
FIG. 4 is a schematic diagram of a smart phone card data routing system according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a card routing channel service module of a smart phone card data routing system according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of a data routing method for a smart phone card according to an embodiment of the present invention;
fig. 7 is a flow chart of the routing of card data resulting from a one-time card routing client emulation card interface call of a modem for a smart phone card data routing method of an embodiment of the present invention;
fig. 8 is a flowchart of card message reporting by the card routing server of the data routing method for a smart phone card according to the embodiment of the present invention.
Detailed Description
The data routing method and system for the smart phone card according to the present invention will be described in detail with reference to the accompanying drawings and specific embodiments. Advantages and features of the present invention will become apparent from the following description and from the claims. It is to be noted that the drawings are in a very simplified form and are not to precise scale, which is merely for the purpose of facilitating and distinctly claiming the embodiments of the present invention.
Referring to fig. 4 and 5, the present invention provides a smart phone card data routing system, including: a card 11, a master modem 12 and a number of slave modems 13; wherein,
the master modem 12 comprises a card interface 14 and a card routing server 15; wherein, the card interface 14 is connected with the card 11; the card routing server 15 is connected to the slave modem 13.
The slave modem 13 comprises a card routing client 16 and a card routing client analog card interface 17 connected with the card routing client 16; the card routing client emulation card interface 17 is connected to the master modem 12.
The card 11 is connected with the main MODEM 12 through the card interface 14, wherein the main MODEM (MODEM) 12 directly hangs the card 11 and provides a card routing server 15, and a processor is not required to be added to operate the card 11;
the original card interface of the slave MODEM (MODEM) 13 is realized by the card routing client terminal simulation card interface 17 simulation, and the actual card operation is finished from the card routing client terminal 16 to the card routing server terminal 15;
the master modem 12 is connected with the slave modem 13 through a card routing channel service module 18 on the side of the smart phone AP; as shown in fig. 5, one card routing server 15 may access a plurality of card routing clients 16. The connection of the master modem 12 and the slave modem 13 is controlled and managed by the card routing channel service module 18 on the AP side.
Furthermore, if the smart phone card data routing system comprises a plurality of cards 11, a plurality of master modems 12 are correspondingly included, and the smart phone card data routing system can be freely configured according to actual capacity, so that any card routing mode can be realized on a multi-card smart machine.
Still further, a plurality of MODEMs may be on one core or may be dispersed on different cores, so as to enhance the processing capability of each MODEM.
Correspondingly, as shown in fig. 6, the present invention provides a data routing method for a smart phone card, and a data routing system using the smart phone card includes:
step 101: and after the smart phone is started, automatically starting the card routing channel service module.
Step 102: and after the card routing channel service module is started, the card routing configuration information is read immediately.
Step 103: the card routing channel service module tries to find a master MODEM, and if not, executes step 113 to directly exit. Otherwise step 104 is performed.
Step 104: the card routing channel service module finds a master MODEM and obtains a free channel from the master MODEM, and particularly, the card routing channel service module is designed to ensure that enough channels exist.
Step 105: the card routing channel service module sends a special AT command to the card routing service end through the idle channel to inform the card routing service end of starting and preparing to receive routing data.
Step 106: the card routing channel service module reads the routing configuration information again, and then checks the configuration condition of the slave MODEM of the master MODEM, if the slave MODEM is not configured, step 107 is executed, otherwise step 108 is executed.
Step 107: since the slave MODEM is not configured, the master MODEM is invalid, and step 103 is executed after the card routing server is stopped.
Step 108: the card routing channel service module takes out a slave MODEM and acquires a spare channel from the master MODEM, and in particular, the card routing channel service module is designed to ensure that enough channels exist.
Step 109: the card routing channel service module sends a special AT command to the card routing client through the idle channel to inform the card routing client to start and prepare to receive and send routing data.
Step 110: after the card routing client is prepared, the card routing channel service module can connect the channels of the card routing server and the card routing client to perform card data routing.
Step 111: the card routing channel service module reads the routing configuration information again and determines whether a slave MODEM is still connected. If yes, go to step 112, otherwise go to step 103.
Step 112: the card routing channel service module then obtains a free channel from the master MODEM, and in particular, it is designed to ensure that there are enough channels. And step 109, step 110 and step 111 are repeatedly executed until all configured slave MODEMs communicate with the master MODEM.
Step 113: and ending the data routing of the smart phone card.
Preferably, in the method, if the system comprises a plurality of cards, a plurality of master modems are correspondingly included, and the master modems can be freely configured according to actual capacity, so that the routing of any card in any mode is realized on the multi-card intelligent machine.
Specifically, please refer to fig. 7, which is a flow chart illustrating the routing of card data generated by simulating a card interface call from a primary card routing client of the MODEM. The method specifically comprises the following steps:
step 201: after the MODEM is electrified, starting system initialization and starting a card initialization process;
step 202: in the card initialization process, reading card data from a MODEM, and calling a card routing client to simulate a card interface;
step 203: the card routing client side simulates a card interface calling parameter to be coded according to a card routing protocol and sends the coded parameter to a card routing server side;
step 204: the card routing server side decodes according to a card routing protocol, and analyzes which card interface calling parameter is simulated from the modem card interface and the card routing client side;
step 205: the card routing server side calls a corresponding card interface according to the analysis result and reads card data;
step 206: the card routing server encodes the read card data according to a card routing protocol and sends the card data to a corresponding card routing server;
step 207: the card routing client decodes according to the card routing protocol, analyzes corresponding card interface and card data, restores the card interface and card data into a local simulation card interface result, and returns the result to a local caller.
Step 208: so far, the slave MODEM completes one-time card routing client simulation card interface call, and may start the rest of the slave MODEM card routing client simulation card interface calls from step 202 until all the slave MODEM calls are finished.
Specifically, please refer to fig. 8, which is a flowchart illustrating card information reporting by the card routing server. The method specifically comprises the following steps:
step 301: the card initialization of the main MODEM is good;
step 302: reporting a card information, wherein the card information comprises card dropping, card pulling and the like;
step 303: the card routing server receives the card information reported by the slave MODEM, codes the card information according to a card routing protocol and broadcasts the card information to all the slave MODEMs;
step 304: after receiving the card routing data, each card routing client of the MODEM decodes the card routing data according to a card routing protocol, and analyzes the card message.
Step 305: the card routing client notifies the slave MDOEM of the parsed card message.
Step 306: to this end, the card message completes the routing process through card routing.
Therefore, the invention fully utilizes the existing resources, provides the capability of multimode access to one card in a software mode, and connects the access to the card in a card routing mode. The degree of freedom of system integration is greatly increased, and the modules can be integrated at will without influencing the access to the card. The development speed of the smart phone is accelerated, and the purpose of saving cost is achieved.
It should be particularly noted that, in other embodiments of the present invention, the connection between the master MDOEM and the slave MDOEM may also be implemented in a hardware manner, that is, the master MDOEM and the slave MDOEM are connected through a physical channel.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The above description is only for the purpose of describing the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention, and any variations and modifications made by those skilled in the art based on the above disclosure are within the scope of the appended claims.

Claims (8)

1. A smart phone card data routing system, comprising: the system comprises a card, a master modem and a plurality of slave modems; wherein,
the card is connected with the master modem;
the master modem is connected with the slave modem through a card routing channel service module at the AP side of the smart phone;
the main modem comprises a card interface and a card routing server side; wherein, the card interface is connected with a card; the card routing server is connected with the slave modem;
the slave modem comprises a card routing client and a card routing client simulation card interface connected with the card routing client; the card routing client side simulation card interface is connected with the main modem;
the method for the smart phone card data routing by the smart phone card data routing system comprises the following steps:
the method comprises the following steps: starting the card routing channel service module, reading card routing configuration information, judging whether a master modem exists, if so, executing the step two, and if not, ending the step;
step two: the card routing channel service module acquires an idle channel from the main modem, and sends an AT instruction to the card routing service end through the idle channel to inform the card routing service end of starting;
step three: the card routing channel service module reads routing configuration information again, wherein the routing configuration information comprises the existing slave modem configuration condition of the master modem; if the slave modem does not exist, stopping starting the card routing server; if the slave modem exists, the card routing channel service module acquires an idle channel from the master modem, and sends an AT instruction to the card routing client through the idle channel to inform the card routing client to start;
step four: and the card routing server side and the card routing client side perform card data routing through the card routing channel service module.
2. The smart phone card data routing system of claim 1, wherein if a number of cards are included in the smart phone card data routing system, a number of master modems are included.
3. A smart phone card data routing method is characterized by comprising the following steps:
first, the card is connected to a master modem;
the master modem is connected with the slave modem through a card routing channel service module at the AP side of the smart phone;
the main modem comprises a card interface and a card routing server side; wherein, the card interface is connected with a card; the card routing server is connected with the slave modem;
the slave modem comprises a card routing client and a card routing client simulation card interface connected with the card routing client; the card routing client side simulation card interface is connected with the main modem;
the method comprises the following steps: starting the card routing channel service module, reading card routing configuration information, judging whether a master modem exists, if so, executing the step two, and if not, ending the step;
step two: the card routing channel service module acquires an idle channel from the main modem, and sends an AT instruction to the card routing service end through the idle channel to inform the card routing service end of starting;
step three: the card routing channel service module reads routing configuration information again, wherein the routing configuration information comprises the existing slave modem configuration condition of the master modem; if the slave modem does not exist, stopping starting the card routing server; if the slave modem exists, the card routing channel service module acquires an idle channel from the master modem, and sends an AT instruction to the card routing client through the idle channel to inform the card routing client to start;
step four: and the card routing server side and the card routing client side perform card data routing through the card routing channel service module.
4. The smart phone card data routing method of claim 3, wherein if the smart phone card data routing system comprises a plurality of cards, a plurality of master modems are correspondingly comprised.
5. The smart card data routing method of claim 3, wherein in step three, if a plurality of slave modems are included, the card routing channel service module obtains a plurality of idle channels from the master modem, so that the master modem and the slave modem channel service module perform card data routing.
6. The smart phone card data routing method according to any one of claims 3 to 5, wherein the fourth step includes:
reading card data from a modem, and calling a card routing client to simulate a card interface;
the card routing client side simulates a card interface calling parameter to be coded according to a card routing protocol and sends the coded parameter to a card routing server side;
the card routing server side decodes according to a card routing protocol, analyzes which card interface calling parameter is simulated from the modem card interface and the card routing client side, calls a corresponding card interface according to the analysis result, and reads card data;
the card routing server side encodes the read card data according to a card routing protocol and sends the card data to a corresponding card routing client side;
the card routing client decodes according to the card routing protocol, analyzes corresponding card interface and card data, restores the card interface and card data into a local simulation card interface result, and returns the result to a local caller.
7. The smart phone card data routing method according to any one of claims 3 to 5, wherein the fourth step includes:
the card routing server receives card data reported from the master modem, encodes the card data according to a card routing protocol, and broadcasts the card data to all slave modems;
the card routing client of each slave modem decodes according to the card routing protocol, parses out the card data, and notifies the slave modems of the processing.
8. The smart phone card data routing method of claim 7, wherein the card data is a card drop and/or a card pull.
CN201310671831.7A 2013-12-10 2013-12-10 Smart phone card data routing method and system Active CN104702775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310671831.7A CN104702775B (en) 2013-12-10 2013-12-10 Smart phone card data routing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310671831.7A CN104702775B (en) 2013-12-10 2013-12-10 Smart phone card data routing method and system

Publications (2)

Publication Number Publication Date
CN104702775A CN104702775A (en) 2015-06-10
CN104702775B true CN104702775B (en) 2018-03-06

Family

ID=53349526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310671831.7A Active CN104702775B (en) 2013-12-10 2013-12-10 Smart phone card data routing method and system

Country Status (1)

Country Link
CN (1) CN104702775B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8676251B2 (en) * 2009-03-04 2014-03-18 Lg Electronics Inc. Dual modem device
CN101977409A (en) * 2010-10-20 2011-02-16 中兴通讯股份有限公司 Communication method and device for double-network double-standby terminal
CN101984688A (en) * 2010-10-20 2011-03-09 中兴通讯股份有限公司 Communication method and device of dual network dual standby terminal
CN101984729A (en) * 2010-11-15 2011-03-09 中兴通讯股份有限公司 Communication method and device of dual network dual standby terminal
CN102014390B (en) * 2010-12-10 2014-12-31 中兴通讯股份有限公司 Method and device for carrying out communication on dual-net dual-standby terminal

Also Published As

Publication number Publication date
CN104702775A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN105848310B (en) The multi-standby terminal and terminal of a kind of Android system realize mostly to method
KR101882426B1 (en) Software updating method, system, and device
CN102722551B (en) Intelligent switching method and system for browser kernels
WO2019184658A1 (en) Profile switching method and apparatus, and mobile terminal
CN111698775B (en) Communication method based on double cards and related device
CN101287221A (en) Information transferring method between intelligent bi-mode mobile phone and wireless modem
CN105245521B (en) Protocol format conversion method, device and interface platform
EP3779690A1 (en) Processor core scheduling method and apparatus, terminal, and storage medium
CN104936282A (en) Method and device for registering converged communication service
US20190034234A1 (en) Method For Resource Allocation And Terminal Device
CN104202714A (en) Mobile terminal near field communication method and system for heterogeneous operating system
CN110381500A (en) A kind of test method, device and the computer readable storage medium of double card paging conflict
CN115277407B (en) Internet access configuration processing method and device, electronic equipment and storage medium
EP3007385A1 (en) Terminal peripheral control method, m2m gateway, and communications system
CN104702775B (en) Smart phone card data routing method and system
CN102299938B (en) Method and device for realizing multicore and multisystem unified platform
CN101626431B (en) Processing method and processing system capable of adapting to communication mode
CN110582063A (en) method for sending short message in intranet environment
CN103888923A (en) Call proceeding method, system and device applied to virtual private mobile network
CN109873837A (en) Central apparatus and multi-protocols adaptation system based on android system
CN108307286B (en) Method and system for realizing communication between android devices based on NFC
CN112367362B (en) Data processing method, device, equipment and computer storage medium
CN101316416A (en) Two-card two-standby mobile phone chip communication system and communication method
CN109271332A (en) A kind of method and apparatus of node device driving initialization
CN105120532A (en) RIL processing method based on multiplexing and wireless communication module

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20150610

Assignee: Shanghai Li Ke Semiconductor Technology Co., Ltd.

Assignor: Leadcore Technology Co., Ltd.

Contract record no.: 2018990000159

Denomination of invention: System and method for routing data of subscriber identity module of smartphone

Granted publication date: 20180306

License type: Common License

Record date: 20180615

EE01 Entry into force of recordation of patent licensing contract