Embodiment
For making the purpose, technical solutions and advantages of the present invention express clearlyer, the present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
In an embodiment of the present invention, in order in many nets multi-standby mobile terminal, to realize effective management to the note in a plurality of smart cards, except comprising original SMS module (abbreviating former SMS module as) and original RIL PROXY (abbreviating former RIL PROXY as), also in portable terminal, increase information customization module, expansion RIL PROXY, expansion RIL and at least two wireless communication modules in the portable terminal.
Described many nets multi-standby mobile terminal device comprises the dual-network and dual-standby mobile terminal device that can communicate processing to two sheet smart cards, also comprises the mobile terminal device that can communicate processing to the smart card more than three.Described many nets can be GSM network, cdma network or TD SDMA (TD-SCDMA) networks.
Described many nets multi-standby mobile terminal device comprises that mobile phone, personal digital assistant (PDA, PersonalDigital Assistant) etc. can provide the mobile terminal device of the many standby functions of many nets.
The system construction drawing of Fig. 2 in the embodiment of the invention note being managed.As shown in Figure 2, this system comprises: former SMS module, information customization module, former RIL PROXY, expansion RIL PROXY, expansion RIL and at least two wireless communication modules.
Wherein, expansion RIL comprises: RIL router and at least two wave point driver modules; Wherein, each wave point driver module comprises a SIM card respectively all corresponding to a wireless communication module in each wireless communication module.As shown in Figure 2, if two SIM card of establishing wherein are respectively SIM card 1 and SIM card 2, and this two SIM card belongs to wireless communication module 1 and wireless communication module 2 respectively, wireless communication module that then SIM card 1 belonged to 1 is pairing to be wave point driver module 1, and wireless communication module that SIM card 2 belonged to 2 is pairing to be wave point driver module 2.
Described information customization module is used for the operational order that basis is operated note, sends the instruction that is provided with that routing relation is set to Expaned RIL PROXY, and sends the aforesaid operations instruction to former RIL PROXY;
Described expansion RIL PROXY is used for the received instruction that is provided with is sent to the RIL router;
Described former RIL PROXY is used for received operational order is sent to the RIL router;
Described RIL router is used for according to the received instruction that is provided with routing relation being set, and according to set routing relation received operational order is sent to corresponding wave point driver module;
Described wave point driver module is used for received operational order is sent to the wireless communication module corresponding with it;
Described wireless communication module is used for according to received operational order corresponding note being operated.
Described former SMS module is used for by former RIL PROXY and RIL router the message search request of short message enquiry capacity information being sent to described wave point driver module;
Described wave point driver module also can be used for according to described message search request, returns the response message that the number that comprises note is 0 information by RIL router and former RIL PROXY to described former SMS module.
In addition, described wireless communication module, the note that also is used for receiving from another portable terminal sends to corresponding wave point driver module;
Described wave point driver module be used for received note is handled, and the note after will handling sends to the RIL router;
Described RIL router also is used for the note after the described processing is sent to the information customization module by RIL PROXY;
Described information customization module also is used to show the content of received note.
Be example with system architecture shown in Figure 2 below, be presented in detail based on the method that realizes in many nets multi-standby mobile terminal of windows Mobile operating system note is managed.For the convenience of narrating, will be that the dual-network and dual-standby portable terminal is an example below with many nets multi-standby mobile terminal device, the method that among the present invention note is managed is described.
In an embodiment of the present invention, in order in many nets multi-standby mobile terminal, to realize the note in many sheet smart cards is managed, can according to the operational order that note is operated routing relation be set earlier, and then according to set routing relation with described operational order send to comprise in the corresponding intelligent card wireless communication module, described wireless communication module is finished operation to corresponding note according to described operational order.
Fig. 3 realizes the general flow chart of method that note is managed in the dual-network and dual-standby portable terminal for the embodiment of the invention.As shown in Figure 3, realize that in the dual-network and dual-standby portable terminal method that note is managed comprises step as described below:
Step 301, information customization module send the instruction that is provided with that routing relation is set according to the operational order that the note in the smart card is operated by expansion RIL PROXY to the RIL router.
In an embodiment of the present invention, the information customization module provides the note menu in the dual-network and dual-standby portable terminal, the user can be according to required operation to the note in certain smart card (for example, short message reading, duplicate note or deletion note etc.), mode by selecting corresponding option in the said short message menu comprises in the described operational order to information customization module transmit operation instruction: the information of the smart card of action required and finish the required information of described operational order; The information customization module is according to received operational order, to send to the RIL router by Expaned RIL PROXY with the instruction that is provided with that described operational order is used to be provided with route accordingly, this is provided with the information of the information (for example, information such as the title of this operational order or numbering) that comprises aforesaid operations instruction in the instruction and the pairing smart card of this operational order.
Step 302, the RIL router is provided with the route relation according to instruction is set.
In an embodiment of the present invention, each operational order all corresponding unique application programming interfaces signs (API ID), the corresponding relation between operational order and the API ID can use the corresponding relation of using always in the prior art, does not repeat them here.Hence one can see that, can come each operational order of unique identification by API ID.
In addition, for different smart cards is carried out various operations, the RIL router needs to confirm the pairing smart card of this operational order when transmitting certain operational order, promptly this operational order to as if any sheet smart card.Therefore, can store a routing relation in the RIL router, this routing relation is represented the corresponding relation between each operational order and each smart card, for example, and the corresponding relation between API ID and each smart card etc.And described routing relation also can be a route list of being stored in the RIL router.Therefore, the RIL router can be transmitted to received operational order and the pairing wave point driver module of the corresponding smart card of this operational order according to the routing relation of being stored.
Therefore, in an embodiment of the present invention, the RIL router can be according to the received information that the operational order in the instruction is set, determine the pairing API ID of this operational order, and according to the received information that the smart card in the instruction is set, the above-mentioned routing relation of being stored is provided with, makes that above-mentioned determined API ID is corresponding with above-mentioned determined smart card, finish setting the route relation.
Step 303, RIL router are according to set routing relation, and the described operational order that the information customization module is sent by former RIL PROXY is transmitted to and the corresponding wave point driver module of this operational order.
In an embodiment of the present invention, the information customization module sends to the RIL router with the aforesaid operations instruction by former RILPROXY, described RIL router is transmitted to the aforesaid operations instruction and the corresponding wave point driver module of this operational order according to the above-mentioned routing relation that is set up.For example, be smart card 1 when aforesaid operations instruction is pairing, when promptly needing smart card 1 operated, the RIL router can be according to the above-mentioned routing relation that is set up, and aforesaid operations is instructed be transmitted to and smart card 1 corresponding wave point driver module 1.
Step 304, described wave point driver module is finished operation to note in the corresponding intelligent card according to received operational order.
In an embodiment of the present invention, the wave point driver module sends to received operational order and the corresponding wireless communication module of this wave point driver module (wireless communication module that promptly comprises corresponding intelligent card), this wireless communication module is finished the operation to the note in the smart card in this wireless communication module according to described operational order.
In an embodiment of the present invention, described operation to note in the smart card can be: short message reading, duplicate note or operations such as deletion note etc.
In order better technical method of the present invention to be further described, will be example below in smart card, to duplicate note, the above-mentioned method that note is managed is introduced.
In an embodiment of the present invention, when the user selects to duplicate a note in a sheet smart card by above-mentioned note menu, the information customization module can send to the wireless communication module that comprises this selecteed smart card with duplicate requests by expansion RIL, and required note of duplicating is copied in the smart card that changes wireless communication module.
Fig. 4 is for duplicating the method flow diagram of note in the embodiment of the invention.As shown in Figure 4, the method for duplicating note in the embodiment of the invention comprises step as described below:
Step 401, information customization module send the instruction that is provided with that route is set according to the required operation of finishing of duplicating note in smart card by expansion RIL PROXY to the RIL router.
In an embodiment of the present invention, the information customization module provides the note menu in the dual-network and dual-standby portable terminal, and the user can send to the information customization module by this note menu and duplicate the duplicate instructions of note in certain sheet smart card.For example, in above-mentioned note menu, the user is after having selected required note of duplicating, can be by in above-mentioned note menu, selecting the mode of corresponding option, send above-mentioned duplicate instructions to the information customization module, comprise the information of user-selected smart card and the information of required note of duplicating in this duplicate instructions.The information customization module sends be provided with instruction that route be set by expansion RIL PROXY to the RIL router according to described duplicate instructions, and notice RIL is provided with corresponding routing relation.This is provided with the information of the information that comprises above-mentioned duplicate instructions in the instruction and user-selected smart card.
Step 402, the RIL router is provided with the route relation according to instruction is set.
In an embodiment of the present invention, the RIL router can be according to the received information that the duplicate instructions in the instruction is set, determine the pairing API ID of this duplicate instructions, and according to the received information that the smart card in the instruction is set, the above-mentioned routing relation of being stored is provided with, makes above-mentioned corresponding with corresponding API ID of duplicate instructions and above-mentioned determined smart card.For example, if this time need duplicate note on smart card 1, then above-mentioned routing relation will be configured to: pairing API ID is corresponding with smart card 1 for described duplicate instructions.
Step 403, the information customization module is transmitted to above-mentioned duplicate instructions and the corresponding wave point driver module of this duplicate instructions by former RIL PROXY and RIL router.
In an embodiment of the present invention, the information customization module sends to the RIL router with above-mentioned duplicate instructions by former RILPROXY, described RIL router is transmitted to above-mentioned duplicate instructions and the corresponding wave point driver module of this duplicate instructions according to the above-mentioned routing relation that is set up.For example, when above-mentioned duplicate instructions is pairing is smart card 1, promptly need when smart card 1 duplicates the operation of note, the RIL router can be transmitted to above-mentioned duplicate instructions and smart card 1 corresponding wave point driver module 1 according to the above-mentioned routing relation that is set up.
Step 404, described wave point driver module are finished the operation of duplicating note in smart card according to received duplicate instructions by corresponding wireless communication module.
In an embodiment of the present invention, described wave point driver module sends to duplicate instructions and the corresponding wireless communication module of this wave point driver module (wireless communication module that promptly comprises corresponding intelligent card), this wireless communication module duplicates note according to described duplicate instructions in this smart card; Then, this wireless communication module will duplicate response message and send to the information customization module by described wave point driver module, RIL router, former RIL PROXY.
By above-mentioned step 401~404, can realize from portable terminal, in each smart card, duplicating the function of duplicating note between note and each smart card.Equally, can by with the similar method of said method, realize other operation to note in each smart card.
In an embodiment of the present invention, the dual-network and dual-standby portable terminal also can shield the operation of former SMS module to the note in each smart card by former RIL PROXY and expansion RIL, thereby avoids logical miss and uncontrollable operation that may cause because former SMS module can't be managed two sheet smart cards.
Fig. 5 is the method flow diagram of the former SMS module of shielding in the embodiment of the invention.As shown in Figure 5, the method for the former SMS module of shielding comprises step as described below in the embodiment of the invention:
Step 501, when former SMS module sent the message search request of short message enquiry capacity information by former RIL PROXY, expansion RIL returned the response message that the number that comprises note is 0 information by former RIL PROXY to former SMS module.
In an embodiment of the present invention, when former SMS module sends to the message search request of short message enquiry capacity information by former RIL PROXY RIL router among the expansion RIL, owing to the RIL router is not carried out the route setting in advance, so the RIL router can send to corresponding wave point driver module with this message search request according to the routing relation of being stored; Perhaps, send to the wave point driver module of acquiescence.The wave point driver module of this acquiescence can preestablish, and for example, wave point driver module 1 can be redefined for the wave point driver module of acquiescence.The RIL interface that the above-mentioned wave point driver module that receives the message search request is called according to this message search request can learn that this message search request is from former SMS module, therefore, this wave point driver module that receives the message search request will return response message to former SMS module by RIL router and former RIL PROXY, and the number that comprises note in this response message is 0 information;
Step 502, when the information customization module by former RIL PROXY during to expansion RIL transmit operation instruction, expansion RIL does not send a notification message to former SMS module.
In an embodiment of the present invention, the information customization module provides the note menu in the dual-network and dual-standby portable terminal, the user can select the required operation to note in the smart card by the note menu, need the note in the smart card be operated and work as the information customization module, and by former RIL PROXY when the expansion RIL transmit operation instruction, wave point driver module among the expansion RIL will learn that this operational order comes from the information customization module according to the received RIL interface that operational order called, therefore, this wave point driver module does not send a notification message to former SMS module.
By above-mentioned method, former SMS module will know that the number of the note in the smart card is 0, and can't know the operation that the user is required to note in the smart card, therefore can thoroughly shield of the management of former SMS module to the note in the smart card, thus conflict or the misoperation of avoiding system may cause owing to there being two sheet smart cards.
In an embodiment of the present invention, behind the dual-network and dual-standby mobile terminal-opening, the dual-network and dual-standby portable terminal also needs the note in each smart card is read and is saved in the note data storehouse of portable terminal, thereby be convenient to realize the note in portable terminal and the smart card is carried out unified management and demonstration, increase work efficiency and reduce memory consumption.
When the expansion RIL in above-mentioned steps 501 when former SMS module is returned with the corresponding response message of message search request, the expansion RIL notify described information customization module to carry out the import operation of note; The information customization module then can import the operation of the note in each smart card according to the notice of described expansion RIL.After the information customization module is finished above-mentioned import operation, can carry out other management to the note in each smart card by information customization module and expansion RIL.
Fig. 6 is the method flow diagram that imports the note in each smart card in the embodiment of the invention.As shown in Figure 6, the method for the note in each smart card of importing comprises step as described below in the embodiment of the invention:
Step 601, when expanding RIL when former SMS module is returned with the corresponding response message of message search request, expansion RIL notifies described information customization module to carry out the import operation of note.
By step 501 as can be known, when former SMS module when expansion RIL sends the message search request, expansion RIL will return response message to former SMS module.In an embodiment of the present invention, RIL is when former SMS module is returned above-mentioned response message in expansion, also will notify described information customization module can carry out the import operation of note.Described advice method can use advice method commonly used of the prior art, for example, notifies etc. by the mode of revising the value in the registration table, and concrete advice method does not repeat them here.
Step 602, information customization module determine to need to send the extending message query requests according to the notice of expansion RIL, send the instruction that is provided with that routing relation is set to the RIL router by expansion RIL PROXY.
In an embodiment of the present invention, receive the notice of above-mentioned expansion RIL when the information customization module after, determine the extending message query requests for note capacity information in each smart card of inquiry of required transmission, and according to the extending message query requests of required transmission, send the instruction that is provided with that route is set to the RIL router, notice RIL is provided with corresponding routing relation.This is provided with the information that comprises above-mentioned extending message query requests in the instruction.
Step 603, the RIL router is provided with the route relation according to instruction is set.
In an embodiment of the present invention, the RIL router can be provided with the routing relation between the pairing API ID of this extending message query requests and each smart card according to the received information that the extending message query requests in the instruction is set.
In an embodiment of the present invention, can inquire about message volume information in each smart card one by one.Therefore, when needs are inquired about certain smart card, then above-mentioned routing relation will be configured to: the pairing API ID of described extending message query requests is corresponding with the described smart card of being inquired about.
Step 604, the information customization module is transmitted to the RIL router by expansion RIL PROXY with above-mentioned extending message query requests.
Step 605, RIL router are transmitted to above-mentioned extending message query requests and the corresponding wave point driver module of this extending message query requests according to set routing relation.
In an embodiment of the present invention, described RIL router is transmitted to above-mentioned extending message query requests and the corresponding wave point driver module of this extending message query requests according to the above-mentioned routing relation that is set up.For example, when above-mentioned extending message query requests is pairing is smart card 1, when promptly needing smart card 1 operated, the RIL router can be transmitted to above-mentioned extending message query requests and smart card 1 corresponding wave point driver module 1 according to the above-mentioned routing relation that is set up.
Step 606, described wave point driver module sends to the wireless communication module corresponding with this wave point driver module with received extending message query requests.
In an embodiment of the present invention, described wave point driver module can learn that this extending message query requests comes from the information customization module according to the RIL interface that received extending message query requests is called, therefore, the wave point driver module sends to the wireless communication module corresponding with it with this extending message query requests.
Step 607, described wireless communication module returns response message according to received extending message query requests to the information customization module.
In an embodiment of the present invention, wireless communication module is according to received extending message query requests, by returning response message to expansion RIL PROXY, comprise the message volume information in the smart card of being inquired about in this response message with the corresponding wave point driver module of this wireless communication module.Expansion RIL PROXY is with the mode announcement information customized module of the message volume information in this response message by call back function.
Step 608, the information customization module is finished the importing to the note in the smart card according to resulting message volume information.
In an embodiment of the present invention, the information customization module obtains this message volume information according to the parsing to above-mentioned call back function, and according to this message volume information, read the note in the smart card one by one by former RIL PROXY, expansion RIL (being RIL router and corresponding wave point driver module), then the note that is read is stored in the database of portable terminal, finishes importing the note in the smart card.
Above-mentioned information customization module by the concrete grammar that former RIL PROXY, expansion RIL read the note in the smart card one by one is:
The information customization module is provided with order by Expaned RIL PROXY to the transmission of RIL router according to the request of reading of reading the note in the smart card, and the RIL router is provided with the route relation according to order is set; The information customization module sends to the RIL router with the described request of reading by former RIL PROXY; The RIL router sends to the wireless communication module that comprise the required smart card that read with this request of reading by corresponding wave point driver module according to the routing relation of above-mentioned setting; Wireless communication module returns to the information customization module according to the received request of reading one by one with the note in the smart card.
When the note in the smart card is carried out various operation, in order to distinguish the note in two sheet smart cards, the information customization module will add a sign position for every note, be used to identify the smart card that each note belongs to, when showing certain bar note, also will be identifying the defined special icon display in position accordingly according to this note in the message list of note menu.Because the note in the different intelligent card has different special icons, therefore can be very clear in above-mentioned contacts list and the smart card expressing every note intuitively and belonged to.
In addition, after finishing above-mentioned import operation, for the ease of the operation of user to note, the information customization module will provide the note menu in the dual-network and dual-standby portable terminal, and the user can be by the operation of this note menu selection to note in each smart card.
In an embodiment of the present invention, also provide the method that in described dual-network and dual-standby portable terminal, sends note and receive note.
Fig. 7 is the method flow diagram that sends note in the embodiment of the invention.As shown in Figure 7, the method for transmission note comprises step as described below in the embodiment of the invention:
Step 701, the information customization module sends the instruction that is provided with that route is set according to the required operation of finishing of passing through smart card transmission note by expansion RIL PROXY to the RIL router.
In an embodiment of the present invention, edit the short message content of required transmission as the user after, the note menu that the user can be provided in the dual-network and dual-standby portable terminal by the information customization module sends the transmission that sends note by selected smart card to the information customization module and instructs.For example, the user can send above-mentioned transmission instruction to the information customization module by select the mode of corresponding option in above-mentioned note menu, comprises the information of user-selected smart card and the short message content of required transmission in this transmission instruction.The information customization module is instructed according to described transmission, sends the instruction that is provided with that route is set by expansion RIL PROXY to the RIL router, and notice RIL is provided with corresponding routing relation.This is provided with the information of the information that comprises above-mentioned transmission instruction in the instruction and user-selected smart card.
Step 702, the RIL router is provided with the route relation according to instruction is set.
In an embodiment of the present invention, the RIL router can be according to the received information that the transmission instruction in the instruction is set, determine the pairing API ID of this transmission instruction, and according to the received information that the smart card in the instruction is set, the above-mentioned routing relation of being stored is provided with, makes above-mentioned corresponding with transmission corresponding API ID of instruction and above-mentioned determined smart card.For example, if this time need to send note by smart card 1, then above-mentioned routing relation will be configured to: described transmission instructs pairing API ID corresponding with smart card 1.
Step 703, described information customization module sends described transmission instruction by former RIL PROXY to described RIL router.
Step 704, described RIL router send to described transmission instruction and the corresponding wave point driver module of this transmission instruction according to set routing relation.
In an embodiment of the present invention, the RIL router sends to above-mentioned transmission instruction and the corresponding wave point driver module of this transmission instruction according to the above-mentioned routing relation that is set up.For example, when above-mentioned transmission instruction is pairing is smart card 1, when promptly needing to send the operation of note by smart card 1, the RIL router can send to above-mentioned transmission instruction and smart card 1 corresponding wave point driver module 1 according to the above-mentioned routing relation that is set up.
Step 705, described wave point driver module is finished the operation that sends note by smart card according to received transmission instruction by corresponding wireless communication module.
In an embodiment of the present invention, described wave point driver module sends to described transmission instruction and the corresponding wireless communication module of this wave point driver module (wireless communication module that promptly comprises corresponding intelligent card), this wireless communication module instructs according to described transmission, sends note by the smart card in this wireless communication module; Then, this wireless communication module will comprise that the transmission response message of the note that sends sends to the information customization module by described wave point driver module, RIL router, former RIL PROXY.
Fig. 8 is the method flow diagram that receives note in the embodiment of the invention.As shown in Figure 8, the method for reception note comprises step as described below in the embodiment of the invention:
Step 801, wireless communication module will send to corresponding wave point driver module from the note that another portable terminal receives.
In an embodiment of the present invention, because each wireless communication module is all corresponding with a wireless driver module, therefore, after the smart card in the wireless communication module received the note that other portable terminals send, this smart card sent to the wireless communication module of received note by its place and the corresponding wave point driver module of this wireless communication module.
Step 802, the wave point driver module is handled received note, and the note after will handling sends to the RIL router.
In an embodiment of the present invention, the wave point driver module will be handled received note, promptly add identifier in note, be used to identify the smart card that receives this note; The note of wave point driver module after with above-mentioned processing sends to the RIL router.
Step 803, the RIL router note after with described processing sends to the information customization module by RIL PROXY.
Step 804, the information customization module shows the content of received note.
In an embodiment of the present invention, after the note of information customization module after receiving above-mentioned processing, confirm to receive the smart card of this note according to the identifier in the note after this processing, delete described identifier, the content that shows received note, and by showing the smart card of representing to receive this note with the corresponding special icon of described identifier.
In above-mentioned method and system, because the information customization module is before the operational order that sends, require the RIL router route relation to be provided with by expansion RIL PROXY according to operational order, make the RIL router operational order to be transmitted to and the corresponding wave point driver module of this operational order, finish operation the note in the respective smart cards according to set routing relation.Therefore, can come different smart cards is operated by the routing relation in the RIL router; In addition, also can shield of the operation of former SMS module, thereby can realize the note in each smart card in many nets multi-standby mobile terminal is effectively managed by expansion RIL to the note in each smart card.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.