CN106604261A - Service processing method and device - Google Patents
Service processing method and device Download PDFInfo
- Publication number
- CN106604261A CN106604261A CN201510675620.XA CN201510675620A CN106604261A CN 106604261 A CN106604261 A CN 106604261A CN 201510675620 A CN201510675620 A CN 201510675620A CN 106604261 A CN106604261 A CN 106604261A
- Authority
- CN
- China
- Prior art keywords
- sim card
- terminal
- mapping relation
- changed
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/02—Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
- H04W8/08—Mobility data transfer
- H04W8/10—Mobility data transfer between location register and external networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a service processing method and device. According to a first mapping relation between area information pre-stored in a terminal and an SIM (Subscriber Identity Module) card in the terminal, whether a first SIM card corresponding to an area in which the terminal is positioned exists in the terminal is determined; and when a determination result is YES, the first SIM card is used for service processing. The terminal is provided with one or multiple SIM card(s), mapping relations between the SIM card(s) and different areas are pre-stored, so that the terminal can use the corresponding SIM cards for service processing in different areas; and the problem that the service processing cost in different areas of the terminal is high in the related art is solved, the user can achieve a relatively lower service cost in different areas, and the user experience is improved.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for service processing.
Background
With the development of the world economy, particularly the continuous formation of the global economy integration, the connection among countries is strengthened, the business traffic is increased, and the situation that a plurality of countries are frequently accessed becomes common. Meanwhile, with the improvement of the level of physical life and mental life, more and more people select the international travel to feel different geomorphic conditions and leave footprints around the world. Whether business people need to send and receive mails, communicate with colleagues remotely and the like, or tourism people contact with family members and share the travel and the smell with friends and the like, the demand of surfing the internet at any time and any place becomes stronger and stronger, and people can not meet the demand of people by simply accessing a free Wireless local area network (wifi for short) such as a hotel, a coffee shop and the like.
At present, operators in basically every country charge very high amount for international roaming traffic, and roaming internet access in various other countries is obviously not feasible by using a Subscriber Identity Module (SIM) card in the country. One possible option is for the user to go to a country and buy a local operator SIM card, manually change it to the mobile terminal, and perform the networking service. However, this means that the user needs to frequently purchase the SIM card and replace it in the mobile terminal, which is very inconvenient.
In the prior art, a user uses an original SIM card to open international roaming for networking use, high cost needs to be paid, and the user needs to buy and replace a local SIM card into a mobile terminal every time the user arrives in a country, so that the user is very troublesome, and much labor, time, communication cost and the like are added to the user.
Aiming at the problem that the cost for carrying out service processing on different areas by a terminal in the related art is high, no solution is provided at present.
Disclosure of Invention
The invention provides a method and a device for service processing, which aim to solve the problem of high cost of service processing of a terminal in each country in the related art.
According to an aspect of the present invention, there is provided a method for service processing, including: judging whether a first SIM card corresponding to the current area of the terminal exists in the terminal according to a first mapping relation between area information prestored in the terminal and a Subscriber Identity Module (SIM) card in the terminal; and under the condition that the first SIM card corresponding to the area where the terminal is located currently exists according to the judgment result, performing business processing by using the first SIM card.
Optionally, before determining whether a first SIM card corresponding to an area where the terminal is currently located exists in the terminal according to a first mapping relationship between area information pre-stored in the terminal and a subscriber identity module SIM card in the terminal, the method further includes reading SIM card identification information in the terminal; sending the read SIM card identification information to a remote server; and acquiring the first mapping relation determined by the remote server according to the SIM card identification information.
Optionally, the terminal includes at least one main SIM card, where the main SIM card supports performing service processing in an area where the terminal is currently located, and sending the read SIM card identification information to the remote server includes: and sending the read SIM card identification information to the remote server through the main SIM card.
Optionally, after determining whether the first SIM card corresponding to the area where the terminal is currently located exists in the terminal, the method further includes: judging whether the SIM card in the terminal is changed or the first mapping relation in a remote server is changed after the terminal stores the first mapping relation under the condition that the judgment result shows that the first SIM card corresponding to the area where the terminal is located does not exist; reading the changed SIM card identification information in the terminal and sending the read changed SIM card identification information to a remote server under the condition that the SIM card in the terminal is changed according to the judgment result; acquiring a second mapping relation generated by the remote server according to the changed SIM card identification information, and updating the first mapping relation stored in the terminal according to the acquired second mapping relation; or, when the determination result is that the first mapping relationship in the remote server is changed to a third mapping relationship, acquiring the third mapping relationship, and updating the first mapping relationship stored in the terminal according to the acquired third mapping relationship.
Optionally, after the business process is performed by using the first SIM card, the method further includes: judging whether an SIM card in the terminal is changed or whether the first mapping relation in a remote server is changed; reading the changed SIM card identification information in the terminal and sending the read changed SIM card identification information to a remote server under the condition that the SIM card in the terminal is changed according to the judgment result; acquiring a fourth mapping relation determined by the remote server according to the changed SIM card identification information, and updating the first mapping relation stored in the terminal according to the acquired fourth mapping relation; or, when the determination result is that the first mapping relationship in the remote server is changed to a fifth mapping relationship, acquiring the fifth mapping relationship, and updating the first mapping relationship stored in the terminal according to the acquired fifth mapping relationship.
Optionally, after updating the first mapping relationship stored in the terminal according to the obtained fourth mapping relationship or the obtained fifth mapping relationship, the method further includes determining whether a second SIM card corresponding to the area where the terminal is currently located in the updated first mapping relationship is the same as the first SIM card; and under the condition that the judgment results are different, performing business processing by using the second SIM card.
Optionally, the number of the first SIM cards is two or more, and the service priorities of the two or more first SIM cards are different from each other, and performing service processing by using the first SIM card includes: acquiring service priorities of the more than two first SIM cards; determining the SIM card with the highest service priority according to the acquired service priorities of the more than two first SIM cards; and performing business processing by using the SIM card with the highest priority.
Optionally, after the service processing is performed by using the SIM card with the highest priority, the method further includes, when the time for failure of the service processing by using the SIM card with the highest priority exceeds a predetermined time, determining other SIM cards from the two or more first SIM cards according to the order of the priority from top to bottom; and performing business processing by utilizing the other SIM cards.
Optionally, after performing service processing by using the other SIM card, the method further includes determining a first cell in which the terminal is located when the terminal performs service processing by using the other SIM card; and after the terminal is determined to leave the first cell, reusing the first SIM card with the highest priority for service processing.
According to another aspect of the present invention, there is also provided a method for service processing, including receiving SIM card identification information of a subscriber identity module SIM card in a terminal sent by the terminal; determining a first mapping relation between area information and the SIM card according to the received SIM card identification information; and sending the first mapping relation to the terminal so as to instruct the terminal to select a first SIM card for service processing according to the first mapping relation.
Optionally, after sending the first mapping relationship to the terminal, determining that the first mapping relationship is changed; updating the first mapping relation into a sixth mapping relation; and sending the sixth mapping relation to the terminal.
Optionally, the determining that the first mapping relationship is changed includes: determining that a mapping strategy for generating a mapping relation between the area information and the SIM card is changed; and/or receiving the changed SIM card identification information in the terminal sent by the terminal.
According to still another aspect of the present invention, there is also provided an apparatus for processing a service, including: the first judging module is used for judging whether a first SIM card corresponding to the area where the terminal is located currently exists in the terminal according to a first mapping relation between area information prestored in the terminal and a SIM card of a subscriber identity module in the terminal; and the first service module is used for performing service processing by using the first SIM card under the condition that the judgment result of the first judgment module is that the first SIM card corresponding to the area where the terminal is located currently exists.
Optionally, the apparatus further includes a reading module, configured to read SIM card identification information in the terminal before determining whether a first SIM card corresponding to an area where the terminal is currently located exists in the terminal according to a first mapping relationship between area information pre-stored in the terminal and a subscriber identity module SIM card in the terminal; the first sending module is used for sending the read SIM card identification information to a remote server; and the first obtaining module is used for obtaining the first mapping relation determined by the remote server according to the SIM card identification information.
Optionally, the first sending module comprises: and the sending unit is used for sending the identification information of the SIM card to the remote server through the main SIM card under the condition that the main SIM card supports the business processing in the current area of the terminal.
Optionally, the method further comprises: the second judging module is used for judging whether the SIM card in the terminal is changed or the first mapping relation in the remote server is changed after the first mapping relation is stored in the terminal under the condition that the first SIM card corresponding to the area where the terminal is located does not exist in the judging result after judging whether the first SIM card corresponding to the area where the terminal is located exists in the terminal; the second obtaining module is used for reading the changed SIM card identification information in the terminal and sending the read changed SIM card identification information to a remote server under the condition that the judgment result of the second judging module is that the SIM card in the terminal is changed; acquiring a second mapping relation determined by the remote server according to the changed SIM card identification information, and updating the first mapping relation stored in the terminal according to the acquired second mapping relation; or, the third obtaining module is configured to obtain a third mapping relationship when the determination result of the second determining module is that the first mapping relationship in the remote server is changed into the third mapping relationship, and update the first mapping relationship stored in the terminal according to the obtained third mapping relationship.
Optionally, the apparatus further comprises: a third determining module, configured to determine whether a SIM card in the terminal is changed or whether the first mapping relationship in the remote server is changed after the first SIM card is used for business processing; a fourth obtaining module, configured to, when a determination result of the third determining module is that the SIM card in the terminal is changed, read changed SIM card identification information in the terminal, and send the read changed SIM card identification information to a remote server; acquiring a fourth mapping relation determined by the remote server according to the changed SIM card identification information, and updating the first mapping relation stored in the terminal according to the acquired fourth mapping relation; or, the fifth obtaining module is configured to obtain a fifth mapping relationship when the determination result of the third determining module is that the first mapping relationship in the remote server is changed into the fifth mapping relationship, and update the first mapping relationship stored in the terminal according to the obtained fifth mapping relationship.
Optionally, the apparatus further includes a fourth determining module, configured to determine, after updating the first mapping relationship stored in the terminal according to the obtained fourth mapping relationship or the obtained fifth mapping relationship, whether a second SIM card corresponding to an area where the terminal is currently located in the updated first mapping relationship is the same as the first SIM card; and the second service module is used for performing service processing by using the second SIM card under the condition that the judgment results of the fourth judgment module are different.
Optionally, the number of the SIM cards is two or more, and the service priorities of the two or more first SIM cards are different from each other, and the first service module includes: the acquisition unit is used for acquiring the service priority of the more than two first SIM cards; the first determining unit is used for determining the SIM card with the highest service priority according to the acquired service priorities of the more than two first SIM cards; and the service unit is used for utilizing the SIM card with the highest priority to perform service processing.
Optionally, the apparatus further includes a first determining module, configured to determine, after performing service processing by using the SIM card with the highest priority, other SIM cards from the two or more first SIM cards according to a sequence from high priority to low priority when a time of failure of performing service processing by using the SIM card with the highest priority exceeds a predetermined time; and the third service module is used for performing service processing by using the other SIM cards.
Optionally, the apparatus further includes a second determining module, configured to determine, after performing service processing by using the other SIM card, a first cell in which the terminal is located when performing service processing by using the other SIM card; and the fourth service module is used for reusing the first SIM card with the highest priority for service processing after the terminal is determined to leave the first cell.
According to another aspect of the present invention, there is also provided a service processing apparatus, including a receiving module, configured to receive SIM card identification information of a subscriber identity module SIM card in a terminal, where the SIM card identification information is sent by the terminal; the generation module is used for determining a first mapping relation between the area information and the SIM card according to the received SIM card identification information; and the second sending module is used for sending the first mapping relation to the terminal so as to instruct the terminal to select the first SIM card for performing service processing according to the first mapping relation.
Optionally, the method further includes a third determining module, configured to determine that the first mapping relationship is changed after the first mapping relationship is sent to the terminal; the updating module is used for updating the first mapping relation into a sixth mapping relation; and a third sending module, configured to send the sixth mapping relationship to the terminal.
Optionally, the third determining module includes: a second determining unit, configured to determine that a mapping policy for generating a mapping relationship between the area information and the SIM card has changed; and/or a third determining unit, configured to receive the changed SIM card identifier information sent by the terminal.
According to the invention, whether a first SIM card corresponding to the area where the terminal is currently located exists in the terminal is judged by adopting a first mapping relation between area information prestored in the terminal and a SIM card of a subscriber identity module in the terminal; and under the condition that the first SIM card corresponding to the area where the terminal is located exists according to the judgment result, by using the method for processing the business by the first SIM card, setting one or more SIM cards in the terminal and pre-storing the mapping relation between the one or more SIM cards and different areas, the terminal can use the corresponding first SIM card to process the business according to the mapping relation in the corresponding area, so that the problem of high cost for processing the business by the terminal in each country in the related technology is solved, the effect of low cost when the user processes the business in each country is further achieved, and the experience degree of the user is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a first flow diagram of a business process according to an embodiment of the invention;
FIG. 2 is a flow chart two of a method of business processing according to an embodiment of the invention;
FIG. 3 is a block diagram of a first embodiment of a business processing apparatus;
FIG. 4 is a block diagram of a preferred architecture of a device for traffic processing according to an embodiment of the present invention;
fig. 5 is a block diagram of the first transmission module 44 in the apparatus for traffic processing according to the embodiment of the present invention;
FIG. 6 is a block diagram of a preferred architecture of a device for traffic processing according to an embodiment of the present invention;
fig. 7 is a block diagram of a preferred structure of a service processing apparatus according to an embodiment of the present invention;
FIG. 8 is a block diagram of a preferred architecture of a device for traffic processing according to an embodiment of the present invention;
fig. 9 is a block diagram of the structure of the first service module 34 in the apparatus for service processing according to the embodiment of the present invention;
FIG. 10 is a block diagram of a preferred architecture of a device for traffic processing according to an embodiment of the present invention;
FIG. 11 is a block diagram of a preferred architecture of a device for traffic processing according to an embodiment of the present invention;
fig. 12 is a block diagram of a second structure of a service processing apparatus according to an embodiment of the present invention;
fig. 13 is a block diagram seven of a preferred structure of a service processing apparatus according to an embodiment of the present invention;
fig. 14 is a block diagram of the structure of the third determination module 132 in the apparatus for business processing according to the embodiment of the present invention;
fig. 15 is a flowchart of a first power-on operation of the mobile terminal of the multi-SIM card mobile terminal automatic card-switching method according to the embodiment of the present invention;
fig. 16 is a flowchart of a non-initial power-on operation of a mobile terminal of an automatic card-switching method of a multi-SIM card mobile terminal according to an embodiment of the present invention;
fig. 17 is a schematic flowchart illustrating a process of handling a situation that the mapping table provided in this embodiment does not support the MCC of the current country;
fig. 18 is a flowchart illustrating the lost network signal card-cutting process provided in this embodiment.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In this embodiment, a method for service processing is provided, and fig. 1 is a first flowchart of service processing according to an embodiment of the present invention, as shown in fig. 1, the flowchart includes the following steps:
step S102, judging whether a first SIM card corresponding to the area where the terminal is located currently exists in the terminal according to a first mapping relation between area information pre-stored in the terminal and a SIM card of a subscriber identity module in the terminal;
and step S104, under the condition that the first SIM card corresponding to the area where the terminal is located currently exists in the judgment result, performing business processing by using the first SIM card.
In this embodiment, the number of the SIM cards pre-stored in the terminal may be one or multiple, where, when the number of the SIM cards pre-stored in the terminal is 1, the first SIM card is the SIM card pre-stored in the terminal, and when the number of the SIM cards pre-stored in the terminal is multiple, the first SIM card corresponding to the current area may be selected for business processing, where there may be one or multiple first SIM cards, and when there are multiple first SIM cards, only a part of the multiple first SIM cards may be selected for business processing. Through the steps, the mapping relation between the SIM card and different areas is stored in the terminal in advance, so that the terminal can select and use the corresponding SIM card for business processing according to the mapping relation when the terminal is in the corresponding area, the problem that the cost for the business processing of the terminal in each country is high in the related technology is solved, the effect that the cost is relatively low when the user performs the business processing in each country is achieved, and the experience degree of the user is improved.
Before step S102, the first mapping relationship pre-stored in the terminal may be set by the user through the terminal, or may be obtained by the terminal from the server, and in an alternative embodiment, the method for the terminal to obtain the first mapping relationship may include: reading SIM Card identification information in the terminal, where the SIM Card corresponds to the SIM Card identification information one to one, and the identification information may be, for example, Integrated Circuit Card Identification (ICCID) information; sending the read SIM card identification information to a remote server; and acquiring a first mapping relation determined by the remote server according to the SIM card identification information. In the optional embodiment, the terminal acquires the first mapping relation through interaction with the remote server, so that time for manual setting by a user is saved, and reliability is high.
In the above optional embodiment, the read identification information of the SIM card is sent to the remote server, and data service connection with the remote server needs to be performed first. In an alternative embodiment, the following method can be adopted: the terminal at least comprises a main SIM card, the main SIM card supports the business roaming processing in the area where the terminal is located, and the read SIM card identification information can be sent to the remote server through the main SIM card. In this optional embodiment, the primary SIM supports roaming services in the current area of the terminal, and needs to perform service processing in the current area at a higher cost, so as to send the identification information of the SIM card in the terminal to the remote server. In fact, as long as the roaming service is supported in the current area, the data service can be performed in the current area, which is not necessarily the primary SIM card preset by the user. In this embodiment, when the primary SIM card is in a roaming state, the identification information of all SIM cards in the terminal may be sent to the remote server through the primary SIM card to obtain the first mapping relationship, so as to select the first SIM corresponding to the current area for service processing, thereby successfully performing service processing at a lower cost.
In the above embodiments and optional embodiments, on the premise that the first SIM card corresponding to the current area exists as the determination result in step S104, and in the case that the first SIM card corresponding to the current area of the terminal does not exist as the determination result, in an optional embodiment, the method may further include the following steps: judging whether the SIM card in the terminal is changed or the first mapping relation in the remote server is changed after the terminal stores the first mapping relation; under the condition that the SIM card in the terminal is changed according to the judgment result, reading the changed SIM card identification information in the terminal, and sending the read changed SIM card identification information to a remote server; acquiring a second mapping relation generated by the remote server according to the changed SIM card identification information, and updating a first mapping relation stored in the terminal according to the acquired second mapping relation; or, when the determination result is that the first mapping relationship in the remote server is changed to a third mapping relationship, the third mapping relationship is acquired, and the first mapping relationship stored in the terminal is updated according to the acquired third mapping relationship. In this optional embodiment, if the determination result is that there is no first SIM card corresponding to the currently located area, it may be determined first whether the SIM card information in the terminal is changed, and if there is no change, the mapping relationship is generally not changed, and the terminal chooses not to obtain the mapping relationship from the remote server. If the SIM card is changed, acquiring identification information of the SIM card in the terminal or only acquiring change information, and sending the change information to the remote server to acquire a second mapping relation generated by the remote server, wherein the second mapping relation can be the same as the first mapping relation, and the second mapping relation indicates that the first SIM card corresponding to the current area does not exist in the terminal; the second mapping relationship may also be different from the first mapping relationship, and at this time, the terminal determines whether a new SIM card corresponding to the area where the terminal is currently located exists according to the second mapping relationship stored in advance according to the methods in step S102 and step S104, and if so, performs business processing by using the corresponding new SIM card. If the first SIM card corresponding to the current area does not exist in the first mapping relationship, it may be determined whether the first mapping relationship in the remote server is changed, because the mapping policy of the server and the like are changed, the mapping relationship between the SIM card in the terminal and the current area of the terminal may be changed, and the SIM card corresponding to the current area of the terminal may not exist in the first mapping relationship and may be changed into the first SIM card corresponding to the current area of the terminal.
In an optional embodiment, after step S104, the method may further include: judging whether the SIM card in the terminal is changed or not or whether the first mapping relation in the remote server is changed or not; reading the changed SIM card identification information in the terminal and sending the read changed SIM card identification information to a remote server under the condition that the SIM card in the terminal is changed according to the judgment result; acquiring a fourth mapping relation determined by the remote server according to the changed SIM card identification information, and updating the first mapping relation stored in the terminal according to the acquired fourth mapping relation; or, in the case that the determination result is that the first mapping relationship in the remote server is changed to the fifth mapping relationship, acquiring the fifth mapping relationship, and updating the first mapping relationship stored in the terminal according to the acquired fifth mapping relationship. In this optional embodiment, the terminal may obtain the first SIM card corresponding to the area where the terminal is currently located according to the first pre-stored storage relationship, but after the terminal performs business processing by using the first SIM card according to the first mapping relationship, the terminal may continue to pay attention to whether the first mapping relationship in the remote server is updated or not, or whether information of the SIM card in the terminal is changed or not, so that the terminal may obtain an updated third mapping relationship, so that the terminal may select the corresponding SIM card according to the latest mapping relationship at least the next time.
In an optional embodiment, after updating the first mapping relationship stored in the terminal according to the obtained fourth mapping relationship or the obtained fifth mapping relationship, the following operations may also be performed in the foregoing embodiment: judging whether a second SIM card corresponding to the area where the terminal is located in the updated first mapping relation is the same as a first SIM card corresponding to the first mapping relation or not; and under the condition that the judgment results are different, performing business processing by using the second SIM card. Under the condition that the current area of the terminal is not changed, the terminal can select the second SIM card corresponding to the current area to perform business processing according to the newly obtained third mapping relation.
When the number of the first SIM cards is two or more, and the service priorities of the two or more first SIM cards are different from each other, any one of the first SIM cards may be used for performing service processing, and in an optional embodiment, the using the first SIM card for performing service processing may include: acquiring service priorities of more than two first SIM cards; determining an SIM card with the highest service priority according to the acquired service priorities of more than two first SIM cards; and carrying out business processing by using the SIM card with the highest priority. In the optional embodiment, when a plurality of first SIM cards exist in the area where the terminal is currently located, the first SIM card with the highest priority is selected for service processing, so that the user experience can be improved to a certain extent.
In the above optional embodiment, after the business processing is performed by using the SIM card with the highest priority, the method may further include: when the time of using the SIM card with the highest priority to process business processing is over a preset time, determining other SIM cards from more than two first SIM cards according to the sequence of the priority from high to low; and performing business processing by using other SIM cards. In this embodiment, if the network quality of the SIM card with the highest priority is not good or due to reasons such as arrearage, and the like, the time for the SIM card with the highest priority to perform service processing is over a predetermined time, and then it is determined to use another SIM card for performing service processing according to the priority order, so that it can be ensured that the terminal can quickly use another SIM card to continue service processing.
In the above optional embodiment, after performing business processing by using other SIM cards, the business processing by using other SIM cards may be performed all the time without other cases, and in an optional embodiment, the method may further include: determining a first cell in which the terminal is located when the terminal utilizes other SIM cards to perform business processing; and after the terminal is determined to leave the first cell, reusing the first SIM card with the highest priority for service processing. In this optional embodiment, the first SIM card with the highest priority may fail to perform service processing in the first cell due to poor network signal conditions, and when the terminal leaves the first cell, the terminal may be restored to perform service processing using the first SIM card with the highest priority as soon as possible, so as to improve user experience.
In the above alternative embodiment, the service priority may be set by the user according to preference, or may be determined according to a tariff protocol and/or network quality of the SIM card access network.
The above embodiments and alternative embodiments are described on the terminal side, and the following describes the service processing method of the present invention on the server side.
An embodiment of the present invention further provides a method for service processing, and fig. 2 is a second flowchart of the method for service processing according to the embodiment of the present invention, and as shown in fig. 2, the method includes the following steps:
step S202: receiving SIM card identification information of a subscriber identity module SIM card in a terminal, which is sent by the terminal;
step S204: determining a first mapping relation between the area information and the SIM card according to the received SIM card identification information;
step S206: and sending the first mapping relation to the terminal so as to indicate the terminal to select the first SIM card for service processing according to the first mapping relation.
Through the steps, the first mapping relation between the SIM card in the terminal and the area information is determined according to the identification information of the SIM card in the terminal sent by the terminal and is sent to the terminal, the terminal can be indicated to select the first SIM card corresponding to the current area to be subjected to business processing according to the first mapping relation in the current area, the problem that the cost of the terminal for business processing in different areas in the related art is high is solved, the effect that the cost is relatively low when a user performs business processing in different areas is achieved, and the experience of the user is improved.
In an optional embodiment, after step S206, the method may further include: after the first mapping relation is sent to the terminal, determining that the first mapping relation is changed; updating the first mapping relation into a sixth mapping relation; and sending the sixth mapping relation to the terminal. In this alternative embodiment, the first mapping relationship is changed, and the latest sixth mapping relationship is obtained in both the remote server and the terminal. The sixth mapping relationship may be the second mapping relationship or the third mapping relationship in the optional embodiment, or may be the fourth mapping relationship or the fifth mapping relationship in the optional embodiment.
In an alternative embodiment, determining that the first mapping relationship has changed may include: determining that a mapping strategy for generating a mapping relation between the area information and the SIM card is changed; and/or receiving the changed SIM card identification information in the terminal sent by the terminal. That is, when the mapping policy of the mapping relationship or the SIM card in the terminal changes, the remote server may determine that the first mapping relationship has changed and update the first mapping relationship.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a device for service processing is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described again after the description is given. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 3 is a first block diagram of a service processing apparatus according to an embodiment of the present invention, and as shown in fig. 3, the apparatus includes a first determining module 32 and a first service module 34, which will be described below.
A first judging module 32, configured to judge whether an SIM card corresponding to an area where the terminal is currently located exists in the terminal according to a first mapping relationship between area information pre-stored in the terminal and a SIM card of a subscriber identity module in the terminal; and the first service module 34 is connected to the first judging module 32, and configured to perform service processing by using the first SIM card when the judgment result of the first judging module 32 is that the first SIM card corresponding to the area where the terminal is currently located exists.
Fig. 4 is a first block diagram of a preferred structure of a service processing apparatus according to an embodiment of the present invention, and as shown in fig. 4, the apparatus includes, in addition to all modules shown in fig. 3, a reading module 42, a first sending module 44, and a first obtaining module 46, and the apparatus is explained below.
The reading module 42 is configured to read SIM card identification information in the terminal before determining whether a first SIM card corresponding to a current area of the terminal exists in the terminal according to a first mapping relationship between area information pre-stored in the terminal and a subscriber identity module SIM card in the terminal; a first sending module 44, connected to the reading module 42, for sending the read SIM card identification information to the remote server; the first obtaining module 46 is connected to the first sending module 44 and the first determining module 32, and is configured to obtain a first mapping relationship determined by the remote server according to the SIM card identifier information.
Fig. 5 is a block diagram of a first sending module 44 in the service processing apparatus according to the embodiment of the present invention, and as shown in fig. 5, the first sending module 44 includes a sending unit 52, and the first sending module 44 is described below.
A sending unit 52, configured to include at least one main SIM card in the terminal, where the main SIM card supports performing service processing in a current area of the terminal, and sends the read SIM card identification information to the remote server through the main SIM card.
Fig. 6 is a block diagram of a preferred structure of a service processing apparatus according to an embodiment of the present invention, and as shown in fig. 6, the apparatus includes, in addition to all modules shown in fig. 3, a second determining module 62, a second obtaining module 64, or a third obtaining module 66, which is explained below.
A second judging module 62, connected to the first judging module 32, for judging whether the SIM card in the terminal is changed or the first mapping relationship in the remote server is changed after the first SIM card corresponding to the area where the terminal is currently located is present in the terminal, and under the condition that the first SIM card corresponding to the area where the terminal is currently located is not present in the judging result; a second obtaining module 64 connected to the second judging module 62, configured to, when the judgment result of the second judging module 62 is that the SIM card in the terminal is changed, read the changed SIM card identification information in the terminal, and send the read changed SIM card change information to the remote server; acquiring a second mapping relation determined by the remote server according to the changed SIM card identification information, and updating a first mapping relation stored in the terminal according to the acquired second mapping relation; or, the third obtaining module 66 is connected to the second judging module 62, and configured to obtain the third mapping relationship when the judgment result of the second judging module 62 is that the first mapping relationship in the remote server is changed into the third mapping relationship, and update the first mapping relationship stored in the terminal according to the obtained third mapping relationship.
Fig. 7 is a block diagram of a preferred structure of a service processing apparatus according to an embodiment of the present invention, and as shown in fig. 7, the apparatus includes, in addition to all modules shown in fig. 3, a third determining module 72, a fourth obtaining module 74, and a fifth obtaining module 76, which will be described below.
A third determining module 72, connected to the first service module 34, for determining whether the SIM card in the terminal is changed or the first mapping relationship in the remote server is changed after the first SIM card is used for service processing; a fourth obtaining module 74, connected to the third determining module 72, for reading the changed SIM card identification information in the terminal and sending the read changed SIM card identification information to the remote server, when the determination result of the third determining module 72 is that the SIM card in the terminal is changed; acquiring a fourth mapping relation determined by the remote server according to the changed SIM card identification information, and updating the first mapping relation stored in the terminal according to the acquired fourth mapping relation; or, the fifth obtaining module 76 is connected to the third determining module 72, and configured to obtain the fifth mapping relationship when the determination result of the third determining module 72 is that the first mapping relationship in the remote server is changed to the fifth mapping relationship, and update the first mapping relationship stored in the terminal according to the obtained fifth mapping relationship.
Fig. 8 is a block diagram of a preferred structure of a service processing apparatus according to an embodiment of the present invention, and as shown in fig. 8, the apparatus includes a fourth determining module 82 and a second service module 84 in addition to all modules shown in fig. 7, and the apparatus is explained below.
A fourth determining module 82, connected to the fourth obtaining module 74 and the fifth obtaining module 76, configured to determine, after updating the first mapping relationship stored in the terminal according to the obtained fourth mapping relationship or the obtained fifth mapping relationship, whether, in the updated first mapping relationship, the second SIM card corresponding to the area where the terminal is currently located is the same as the first SIM card corresponding to the first mapping relationship; the second service module 84 is connected to the fourth determining module 82, and configured to perform service processing by using the second SIM card when the determination results of the fourth determining module 82 are different.
Fig. 9 is a block diagram of a structure of the first service module 34 in the service processing apparatus according to the embodiment of the present invention, and as shown in fig. 9, the first service module 34 includes an obtaining unit 92, a first determining unit 94 and a service unit 96, and the first service module 34 is explained below.
An obtaining unit 92, configured to obtain service priorities of two or more first SIM cards when the number of the first SIM cards is two or more and the service priorities of the two or more first SIM cards are different from each other; a first determining unit 94, connected to the obtaining unit 92, configured to determine, according to the obtained service priorities of the two or more first SIM cards, the SIM card with the highest service priority; the service unit 96 is connected to the first determining unit 94, and is configured to perform service processing by using the SIM card with the highest priority.
Fig. 10 is a block diagram of a preferred structure of a service processing apparatus according to an embodiment of the present invention, and as shown in fig. 10, the apparatus includes a first determining module 102 and a third service module 104 in addition to all modules in fig. 9, and the apparatus is explained below.
The first determining module 102 is connected to the first service module 34, and configured to determine, after performing service processing by using the SIM card with the highest priority, other SIM cards from the two or more first SIM cards according to a sequence from high priority to low priority when a time for failure of the service processing by using the SIM card with the highest priority exceeds a predetermined time; and the third service module 104 is connected to the second determining module 102, and is configured to perform service processing by using another SIM card.
Fig. 11 is a block diagram of a preferred structure of a service processing apparatus according to an embodiment of the present invention, which includes, as shown in fig. 11, a second determining module 112 and a fourth service module 114 in addition to all modules in fig. 10, and is described below.
A second determining module 112, connected to the third service module 104, configured to determine, after performing service processing by using another SIM card, a first cell in which the terminal is located when performing service processing by using another SIM card; and a fourth service module 114, connected to the third determining module 112, for reusing the first SIM card with the highest priority for service processing after determining that the terminal leaves the first cell.
In the above embodiments and preferred embodiments, the service priority may be determined according to a tariff protocol and/or a network quality of the SIM card access network.
The above embodiments and preferred embodiments may be explained from the middle terminal side, and the service processing apparatus of the present invention may be explained from the server side.
Fig. 12 is a structural block diagram of a service processing apparatus according to an embodiment of the present invention, and as shown in fig. 12, the apparatus includes a receiving module 122, a generating module 124, and a second sending module 126, which is explained below.
A receiving module 122, configured to receive SIM card identification information of a SIM card of a subscriber identity module in a terminal, where the SIM card identification information is sent by the terminal; a generating module 124, connected to the receiving module 122, configured to determine a first mapping relationship between the area information and the SIM card according to the received SIM card identification information; the second sending module 126 is connected to the generating module 124, and configured to send the first mapping relationship to the terminal, so as to instruct the terminal to select the first SIM card for performing service processing according to the first mapping relationship.
Fig. 13 is a block diagram of a preferred structure of a service processing apparatus according to an embodiment of the present invention, and as shown in fig. 13, the apparatus includes, in addition to all modules in fig. 12, a third determining module 132, an updating module 134, and a third sending module 136, and the apparatus is explained below.
A third determining module 132, connected to the second sending module 126, configured to determine that the first mapping relationship is changed after the first mapping relationship is sent to the terminal; an updating module 134, connected to the third determining module 132, for updating the first mapping relationship to a sixth mapping relationship; a third sending module 136, connected to the updating module 134, configured to send the sixth mapping relationship to the terminal.
Fig. 14 is a block diagram of a third determining module 132 in the device for processing a service according to the embodiment of the present invention, and as shown in fig. 14, the third determining module 132 includes a second determining unit 142 and/or a third determining unit 144, and the third determining module 132 is explained below.
A second determining unit 142, configured to determine that a mapping policy for generating a mapping relationship between the area information and the SIM card has changed; a third determining unit 144, configured to receive the SIM card identification information after being changed in the terminal sent by the terminal.
In the following, taking different countries in different regions and taking a terminal as a mobile terminal as an example, the mobile terminal can only support the insertion of multiple SIM cards, and the service processing method of the present invention is described with reference to a specific implementation environment.
A method for automatically switching cards of a multi-SIM card mobile terminal (namely, a method for service processing in an embodiment of the present invention) includes:
the mobile terminal can be inserted with a plurality of SIM cards, the card slot 1 is used as a default main SIM card, the Name of the Access Point (APN) of the card is known, and the card can roam in multiple countries. When the terminal is powered on for the first time or after factory setting is restored, the terminal registers and networks with the main SIM card, reads the SIM card identification information of all card slots, such as ICCID information (the identification information is taken as the ICCID information for example in the following description), and sends the information to a remote server. The remote server generates a corresponding national card mapping table for the Mobile terminal to obtain according to the ICCID information of the SIM card inserted in the terminal, where the mapping table includes information such as a Mobile Country Code (MCC), an ICCID, APN information, a Personal Identification Number (PIN) Code (Code), and the like, that is, the available SIM card information in the Country can be found through the MCC. The national card mapping table has its own version number record, and if the mapping table is updated, the version number is updated. And the terminal acquires and stores the mapping table, then automatically restarts, selects the SIM card corresponding to the current country to be powered on according to the mapping table, and uses the APN information corresponding to the SIM card to perform networking, optionally if the SIM card locks the PIN, the PIN needs to be unlocked by using the PIN code corresponding to the SIM card before networking.
The main SIM card is not used for networking after the mobile phone is started up every time, and the corresponding SIM card is selected from the currently stored country card mapping table to register and network according to the current country code MCC. After networking, the ICCID information of the SIM cards of all card slots of the current terminal is also required to be sent to a remote server, whether the version number of the mapping table on the server is updated or not is detected, and if the version number of the mapping table on the server is detected to be updated, the currently stored mapping table is deleted, and a new mapping table is obtained and stored again. And if the SIM card record corresponding to the MCC of the current country is modified in the new mapping table, the terminal automatically restarts and reselects the updated corresponding SIM card for networking. Otherwise, not restarting.
If the current country code MCC is not contained in the mapping table, it needs to judge whether the SIM card mapping table (list) of this startup is changed from the last startup, including adding and removing the SIM card, if not, it does not initiate the registration networking action actively. If the SIM card is changed, the main SIM card is firstly used for networking, the ICCID information of the SIM cards of all card slots of the current terminal is sent to a remote server, whether a mapping table on the server is updated or not is detected, if the mapping table is not updated or the obtained updated mapping table still does not contain the MCC of the current country, the networking of the main SIM card is disconnected and the automatic networking is not carried out any more. And if the updated mapping table contains the MCC of the current country, the terminal is automatically restarted, and the SIM card corresponding to the current country is reused for electrifying and networking.
Allowing multiple SIM cards of the same country to be inserted into the terminal card slot, namely, the MCC of one country corresponds to multiple SIM cards, and adding a priority parameter in the mapping table. If one country only corresponds to one SIM card, after losing the signal, as long as the MCC is not changed, namely the country is not changed, the action of restarting and switching the card is not initiated, and only if the MCC is detected to be changed, namely the country is moved to another country, the terminal automatically initiates the action of restarting and switching the card.
When a plurality of SIM cards correspond to a country, if the card with the highest priority is not currently used, recording current Cell ID information, judging whether the equipment moves to a new Cell Identification code (Cell ID) at regular intervals, and if so, automatically trying to switch to the card with the high priority. Because the network supported by the high-priority card is automatically switched to the low-priority card when no signal exists, the prior art including 3GPP protocol does not support the information of whether the network supported by one SIM card recovers or not when the other SIM card is used. The scheme of recording the Cell information Cell ID can solve the problem that the high-priority card network is recovered but the low-priority card is used for a long time, and the card switching process does not need to be restarted only when the low-priority card network has no signal.
According to the method for automatically switching the cards of the multi-SIM-card mobile terminal, the embodiment of the invention also provides an automatic card switching system of the multi-SIM-card mobile terminal, which comprises the following steps: a mobile terminal and a remote server, the system of which is described below.
A mobile terminal: supporting to insert a plurality of SIM cards, being responsible for starting up for the first time and using a main SIM card for networking, reporting ICCID information of all the inserted SIM cards in the terminal to a remote server, acquiring a national card mapping table from the server, then automatically restarting, selecting the SIM card corresponding to the current country according to the mapping table, electrifying, and using APN information corresponding to the SIM card for networking; and finding the corresponding SIM card networking from the mapping table stored last time according to the acquired country code MCC when the mobile terminal is started every time, and checking the updating of the mapping table from the server. When one country corresponds to a plurality of SIM cards, preferentially using the highest priority card to register and network, and automatically executing the operation of switching to the second priority card when the high priority card is unavailable; and when the card with the highest priority is not used, the card is responsible for recording the Cell ID information, judging whether the Cell ID changes at certain intervals, and if so, automatically initiating the operation of switching to the card with the highest priority.
The remote server: the mobile terminal is responsible for receiving an ICCID information list of a currently inserted SIM card sent by the mobile terminal, generating a national and card mapping table according to the ICCID list and a set strategy for the mobile terminal to obtain, updating the mapping table when the strategy or card information changes, upgrading the version number of the mapping table, and indicating the updating of the memorability mapping table of the mobile terminal through the change of the version number of the mapping table.
Fig. 15 is a flowchart of a first power-on operation of a mobile terminal of an automatic card switching method of a multi-SIM card mobile terminal according to an embodiment of the present invention, as shown in fig. 15, the method includes the following steps:
step S1502: the mobile terminal inserts a plurality of SIM cards, the card slot 1 is used as a default main SIM card, the networking APN of the card is known, and the card can roam in multiple countries.
Step S1504: the mobile terminal is started for the first time or is started after factory setting is restored, and the main SIM card is used for registration and networking.
Step S1506: and the mobile terminal reads the ICCID information of the SIM cards of all the card slots and sends the ICCID information to a remote server.
Step S1508: and the remote server generates a corresponding national card mapping table according to the ICCID information of the SIM card inserted into the terminal. The national card mapping table has its own version number record, and if the mapping table is updated, the version number is updated.
Step S1510: the mobile terminal acquires the mapping table from the server, then stores the mapping table, then automatically restarts, selects the SIM card corresponding to the current country to be powered on according to the mapping table, and uses the APN information corresponding to the SIM card to perform networking, optionally if the SIM card locks the PIN, the PIN code corresponding to the SIM card needs to be used for unlocking the PIN before networking. And if the current country MCC can not find the corresponding available SIM card in the mapping table, the automatic networking operation is not carried out.
Fig. 16 is a flowchart of a non-initial power-on operation of a mobile terminal of an automatic card-switching method of a multi-SIM card mobile terminal according to an embodiment of the present invention, as shown in fig. 16, the method includes the following steps:
step S1602: the mobile terminal is not started for the first time, and the corresponding SIM card is directly selected from a country card mapping table stored in the terminal last time according to the current country code MCC for registering and networking. The processing flow of the situation that the corresponding available SIM card cannot be found in the mapping table by the MCC of the current country is shown in fig. 17;
step S1604: after the networking is successful, sending the ICCID information of the SIM cards of all the card slots of the current terminal to a remote server;
step S1606: detecting whether the version number of a mapping table on a server is updated or not;
step S1608: if the current stored mapping table needs to be deleted when the updating is detected, acquiring and storing a new mapping table again;
step S1610: judging whether the new mapping table modifies the SIM card record corresponding to the MCC of the country where the new mapping table is located;
step S1612: if the SIM card corresponding to the MCC of the current country changes, the terminal automatically restarts, and the updated corresponding SIM card is reselected for networking;
step S1614: and if the mapping table is not updated or the information of the SIM card corresponding to the MCC of the country where the current SIM card is located is not updated, continuing to keep the connection of the current SIM card.
Fig. 17 is a schematic flow chart of the processing of the mapping table provided in this embodiment that does not support the MCC of the current country, specifically:
step 1702: the mobile terminal searches and finds that the current country code MCC is not contained in the mapping table, namely the mapping table does not support the current country;
step S1704: judging whether the SIM card list of the starting-up is changed from the last starting-up, including adding and removing the SIM card;
step S1706: if the SIM card list is not changed, the startup does not actively initiate a registration networking action;
step S1708: if the SIM card is changed, the main SIM card is firstly used for networking;
step S1710: sending the ICCID information of all the SIM cards of the current terminal to a remote server;
step S1712: detecting whether a mapping table on a server is updated or not, and whether an SIM card corresponding to the MCC of the current country exists in the updated mapping table or not;
step S1714: if the MCC of the current country in the updated mapping table has the corresponding SIM available, the terminal is automatically restarted and switched to the SIM card corresponding to the current country for electrifying and networking;
step S1716: if the mapping table is not updated or the obtained updated mapping table still does not contain the MCC of the current country, which indicates that the current country does not have a corresponding available SIM card, the networking of the main SIM card is disconnected, and the automatic networking is not performed any more.
Fig. 18 is a schematic flow chart of the lost network signal card-cutting process provided in this embodiment, specifically:
step S1802: the signal loss time in the process of using the current SIM card by the mobile terminal exceeds the set time length, such as 3 minutes.
Step S1804: it is checked whether there is a change in MCC.
Step S1806: if the MCC changes to indicate that the MCC moves from one country to another country, the terminal automatically initiates a card switching restarting process according to the mapping table.
Step S1808: if the MCC is not changed, the user is still in the country, and whether the MCC in the country in the mapping table has other SIM cards corresponding to lower priority is judged.
Step S1810: if so, automatically restarting to select the lower priority SIM card to attempt to register for networking. If the set time period, for example, 3 minutes, is still unsuccessful, the handover is initiated again, and the process loops.
Step S1812: if no other priority cards exist, the current SIM card is not processed and is continuously used, and the network signal is waited for to be recovered.
Step S1814: and when the terminal is switched to the low-priority card for successful networking use, recording the current Cell ID information.
Step S1816: and judging whether the terminal moves to a new Cell ID at regular intervals.
Step S1818: if there is a change in the Cell ID, a switch back to the high priority card is automatically attempted. And if the Cell ID is not changed, the card cutting is not initiated.
In the prior art, the original SIM card is used for opening international roaming for networking, high cost needs to be paid, and the SIM card is very troublesome to buy and replace into a mobile terminal every time a country arrives, so that much labor, time, communication cost and the like are added for a user. With the combination of the embodiments, the embodiment of the invention provides a mobile terminal, a remote server and a system supporting the insertion of a plurality of SIM cards, and the terminal can automatically switch to the optimal SIM card according to the current network condition. By introducing the concept of priority, the method can support multiple corresponding SIM cards in the same country, and can automatically switch to the SIM card with lower priority for use when the network signal supported by the SIM card with the highest priority is unavailable. Meanwhile, when the low-priority SIM card is used, whether the user position moves or not is known by recording the Cell ID of the current Cell and regularly detecting whether the Cell ID changes or not, so that whether the user tries to switch back to the high-priority SIM card or not is determined, and the problem that the user returns to a network coverage area corresponding to the high-priority SIM card and continues to use the low-priority SIM card due to the fact that the prior art does not support the detection of whether another network signal is recovered when the SIM card of one network is used is solved.
To help those skilled in the art understand the embodiments of the present invention, the following illustrates an application scenario of the embodiments of the present invention:
application scenario 1: the user wants to go to multi-country european tours and rent a portable mobile internet device from a service provider, wherein the service provider has pre-inserted SIM cards of several countries in europe. When the user arrives at one country and starts up, the SIM card of the country can be automatically used for registration networking, and when the user arrives at another country, the SIM card of the corresponding country can be automatically restarted and selected for registration networking without paying high international roaming networking cost.
Application scenario 2: the user uses the SIM card of the A operator with the lowest local country charge to surf the internet, then moves to an area which is not covered by the network of the A operator, after the network can not be found for more than 3 minutes, the equipment is automatically restarted, and is switched to the SIM card of the B operator with the higher country charge, if the SIM card of the B operator is not registered to surf the internet within 3 minutes, the equipment is continuously switched to the A operator card to try to register the internet, and the process is repeated. If the SIM card of the current operator B is successfully networked, recording Cell ID information, judging whether the Cell ID changes every 15 minutes, and once the change of the Cell ID is found, trying to switch the SIM card of the operator A with the lowest recovery cost and the highest priority for use again so as to save the internet surfing cost to the maximum extent.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in a plurality of processors.
The embodiment of the invention also provides a storage medium. Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:
s11, judging whether a first SIM card corresponding to the current area of the terminal exists in the terminal according to a first mapping relation between area information pre-stored in the terminal and a SIM card of a subscriber identity module in the terminal;
and S12, under the condition that the judgment result shows that the first SIM card corresponding to the area where the terminal is located currently exists, performing business processing by using the first SIM card.
Alternatively, in the present embodiment, the processor performs the above S11-S12 according to program codes already stored in the storage medium.
Optionally, the storage medium is further arranged to store program code for performing the steps of:
s21, receiving SIM card identification information of a SIM card of a client identification module in the terminal, which is sent by the terminal;
s22, determining a first mapping relation between the area information and the SIM card according to the received SIM card identification information;
and S23, sending the first mapping relation to the terminal so as to instruct the terminal to select the first SIM card for service processing according to the first mapping relation.
Alternatively, in the present embodiment, the processor performs the above S21-S23 according to program codes already stored in the storage medium.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (24)
1. A method for processing services, comprising:
judging whether a first SIM card corresponding to the current area of the terminal exists in the terminal according to a first mapping relation between area information prestored in the terminal and a Subscriber Identity Module (SIM) card in the terminal;
and under the condition that the first SIM card corresponding to the area where the terminal is located currently exists according to the judgment result, performing business processing by using the first SIM card.
2. The method according to claim 1, wherein before determining whether there is a first SIM card corresponding to an area where the terminal is currently located in the terminal according to a first mapping relationship between area information pre-stored in the terminal and a SIM card of a subscriber identity module in the terminal, the method further comprises,
reading SIM card identification information in the terminal;
sending the read SIM card identification information to a remote server;
and acquiring the first mapping relation determined by the remote server according to the SIM card identification information.
3. The method according to claim 2, wherein the terminal includes at least one main SIM card, the main SIM card supports service processing in an area where the terminal is currently located, and the sending the read SIM card identification information to the remote server includes:
and sending the read SIM card identification information to the remote server through the main SIM card.
4. The method according to claim 1, wherein after determining whether the first SIM card corresponding to the area where the terminal is currently located exists in the terminal, the method further comprises:
judging whether the SIM card in the terminal is changed or the first mapping relation in a remote server is changed after the terminal stores the first mapping relation under the condition that the judgment result shows that the first SIM card corresponding to the area where the terminal is located does not exist;
reading the changed SIM card identification information in the terminal and sending the read changed SIM card identification information to a remote server under the condition that the SIM card in the terminal is changed according to the judgment result; acquiring a second mapping relation determined by the remote server according to the changed SIM card identification information, and updating the first mapping relation stored in the terminal according to the acquired second mapping relation; or,
and acquiring a third mapping relation under the condition that the first mapping relation in the remote server is changed into the third mapping relation according to the judgment result, and updating the first mapping relation stored in the terminal according to the acquired third mapping relation.
5. The method of claim 1, wherein after performing business processing using the first SIM card, the method further comprises:
judging whether an SIM card in the terminal is changed or whether the first mapping relation in a remote server is changed;
reading the changed SIM card identification information in the terminal and sending the read changed SIM card identification information to a remote server under the condition that the SIM card in the terminal is changed according to the judgment result; acquiring a fourth mapping relation determined by the remote server according to the changed SIM card identification information, and updating the first mapping relation stored in the terminal according to the acquired fourth mapping relation; or,
and acquiring a fifth mapping relation under the condition that the judgment result is that the first mapping relation in the remote server is changed into the fifth mapping relation, and updating the first mapping relation stored in the terminal according to the acquired fifth mapping relation.
6. The method according to claim 5, wherein after updating the first mapping relation stored in the terminal according to the obtained fourth mapping relation or the fifth mapping relation, the method further comprises,
judging whether a second SIM card corresponding to the area where the terminal is currently located is the same as the first SIM card in the updated first mapping relation;
and under the condition that the judgment results are different, performing business processing by using the second SIM card.
7. The method of claim 1, wherein the number of the first SIM cards is two or more, and the service priorities of the two or more first SIM cards are different from each other, and performing service processing by using the first SIM card comprises:
acquiring service priorities of the more than two first SIM cards;
determining the SIM card with the highest service priority according to the acquired service priorities of the more than two first SIM cards;
and performing business processing by using the SIM card with the highest priority.
8. The method of claim 7, wherein after utilizing the highest priority SIM card for business processing, the method further comprises,
when the time for utilizing the SIM card with the highest priority to process business processing fails exceeds a preset time, determining other SIM cards from the more than two first SIM cards according to the sequence of the priority from top to bottom;
and performing business processing by utilizing the other SIM cards.
9. The method of claim 8, wherein after utilizing the other SIM cards for business processing, the method further comprises,
determining a first cell in which the terminal is located when the terminal utilizes the other SIM cards to perform business processing;
and after the terminal is determined to leave the first cell, reusing the first SIM card with the highest priority for service processing.
10. A method of traffic processing, comprising,
receiving SIM card identification information of a subscriber identity module SIM card in a terminal, which is sent by the terminal;
determining a first mapping relation between area information and the SIM card according to the received SIM card identification information;
and sending the first mapping relation to the terminal so as to instruct the terminal to select a first SIM card for service processing according to the first mapping relation.
11. The method of claim 10, further comprising, after transmitting the first mapping relationship to the terminal,
determining that the first mapping relationship is changed;
updating the first mapping relation into a sixth mapping relation;
and sending the sixth mapping relation to the terminal.
12. The method of claim 11, wherein determining that the first mapping has changed comprises:
determining that a mapping strategy for generating a mapping relation between the area information and the SIM card is changed; and/or the presence of a gas in the gas,
and receiving the changed SIM card identification information in the terminal sent by the terminal.
13. An apparatus for traffic processing, comprising:
the first judging module is used for judging whether a first SIM card corresponding to the area where the terminal is located currently exists in the terminal according to a first mapping relation between area information prestored in the terminal and a SIM card of a subscriber identity module in the terminal;
and the first service module is used for performing service processing by using the first SIM card under the condition that the judgment result of the first judgment module is that the first SIM card corresponding to the area where the terminal is located currently exists.
14. The apparatus of claim 13, further comprising,
the reading module is used for reading SIM card identification information in the terminal before judging whether a first SIM card corresponding to the area where the terminal is located exists in the terminal according to a first mapping relation between area information prestored in the terminal and a Subscriber Identity Module (SIM) card in the terminal;
the first sending module is used for sending the read SIM card identification information to a remote server;
and the first obtaining module is used for obtaining the first mapping relation determined by the remote server according to the SIM card identification information.
15. The apparatus of claim 14, wherein the first sending module comprises:
and the sending unit is used for sending the read SIM card identification information to the remote server through the main SIM card under the condition that the main SIM card supports the business processing in the current area of the terminal.
16. The apparatus of claim 13, further comprising:
the second judging module is used for judging whether the SIM card in the terminal is changed or the first mapping relation in the remote server is changed after the first mapping relation is stored in the terminal under the condition that the first SIM card corresponding to the area where the terminal is located does not exist in the judging result after judging whether the first SIM card corresponding to the area where the terminal is located exists in the terminal;
the second obtaining module is used for reading the changed SIM card identification information in the terminal and sending the read changed SIM card identification information to a remote server under the condition that the judgment result of the second judging module is that the SIM card in the terminal is changed; acquiring a second mapping relation determined by the remote server according to the changed SIM card identification information, and updating the first mapping relation stored in the terminal according to the acquired second mapping relation; or,
a third obtaining module, configured to obtain a third mapping relationship when a determination result of the second determining module is that the first mapping relationship in the remote server is changed into the third mapping relationship, and update the first mapping relationship stored in the terminal according to the obtained third mapping relationship.
17. The apparatus of claim 13, further comprising:
a third determining module, configured to determine whether a SIM card in the terminal is changed or whether the first mapping relationship in the remote server is changed after the first SIM card is used for business processing;
a fourth obtaining module, configured to, when a determination result of the third determining module is that the SIM card in the terminal is changed, read changed SIM card identification information in the terminal, and send the read changed SIM card identification information to a remote server; acquiring a fourth mapping relation determined by the remote server according to the changed SIM card identification information, and updating the first mapping relation stored in the terminal according to the acquired fourth mapping relation; or,
a fifth obtaining module, configured to obtain a fifth mapping relationship when a determination result of the third determining module is that the first mapping relationship in the remote server is changed into the fifth mapping relationship, and update the first mapping relationship stored in the terminal according to the obtained fifth mapping relationship.
18. The apparatus of claim 17, further comprising,
a fourth determining module, configured to determine whether a second SIM card corresponding to the area where the terminal is currently located in the updated first mapping relationship is the same as the first SIM card after updating the first mapping relationship stored in the terminal according to the obtained fourth mapping relationship or the obtained fifth mapping relationship;
and the second service module is used for performing service processing by using the second SIM card under the condition that the judgment results of the fourth judgment module are different.
19. The apparatus of claim 13, wherein the number of the first SIM cards is two or more, and the service priorities of the two or more first SIM cards are different from each other, the first service module comprises:
the acquisition unit is used for acquiring the service priority of the more than two first SIM cards;
the first determining unit is used for determining the SIM card with the highest service priority according to the acquired service priorities of the more than two first SIM cards;
and the service unit is used for utilizing the SIM card with the highest priority to perform service processing.
20. The apparatus of claim 19, further comprising,
the first determining module is used for determining other SIM cards from the more than two first SIM cards according to the sequence of the priority from high to low after business processing is carried out by utilizing the SIM card with the highest priority and the time of business processing failure by utilizing the SIM card with the highest priority exceeds a preset time;
and the third service module is used for performing service processing by using the other SIM cards.
21. The apparatus of claim 20, further comprising,
a second determining module, configured to determine, after performing service processing by using the other SIM cards, a first cell in which the terminal is located when the terminal performs service processing by using the other SIM cards;
and the fourth service module is used for reusing the first SIM card with the highest priority for service processing after the terminal is determined to leave the first cell.
22. An apparatus for processing traffic, comprising,
the receiving module is used for receiving SIM card identification information of a subscriber identity module SIM card in the terminal, which is sent by the terminal;
the generation module is used for determining a first mapping relation between the area information and the SIM card according to the received SIM card identification information;
and the second sending module is used for sending the first mapping relation to the terminal so as to instruct the terminal to select the first SIM card for performing service processing according to the first mapping relation.
23. The apparatus of claim 22, further comprising,
a third determining module, configured to determine that the first mapping relationship is changed after the first mapping relationship is sent to the terminal;
the updating module is used for updating the first mapping relation into a sixth mapping relation;
and a third sending module, configured to send the sixth mapping relationship to the terminal.
24. The apparatus of claim 23, wherein the third determining module comprises:
a second determining unit, configured to determine that a mapping policy for generating a mapping relationship between the area information and the SIM card has changed; and/or the presence of a gas in the gas,
and a third determining unit, configured to receive the changed SIM card identifier information sent by the terminal.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510675620.XA CN106604261A (en) | 2015-10-15 | 2015-10-15 | Service processing method and device |
PCT/CN2016/086257 WO2016198001A1 (en) | 2015-10-15 | 2016-06-17 | Service processing method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510675620.XA CN106604261A (en) | 2015-10-15 | 2015-10-15 | Service processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106604261A true CN106604261A (en) | 2017-04-26 |
Family
ID=57503007
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510675620.XA Pending CN106604261A (en) | 2015-10-15 | 2015-10-15 | Service processing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106604261A (en) |
WO (1) | WO2016198001A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109257734A (en) * | 2017-07-13 | 2019-01-22 | 西安中兴新软件有限责任公司 | A kind of method and device for realizing Subscriber Identity Module switching |
CN114916161A (en) * | 2021-02-09 | 2022-08-16 | Oppo广东移动通信有限公司 | Electronic device and control method |
CN115065965A (en) * | 2022-03-30 | 2022-09-16 | 捷德(中国)科技有限公司 | Information display method, information storage device, user identification card and equipment |
US11985730B2 (en) | 2018-10-15 | 2024-05-14 | Huawei Technologies Co., Ltd. | Terminal configuration method and apparatus |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112188591B (en) * | 2020-08-20 | 2023-08-18 | 深圳市广和通无线通信软件有限公司 | Network access method, device, computer equipment and storage medium |
CN114827347B (en) * | 2022-04-18 | 2024-10-01 | 北京小米移动软件有限公司 | Method and device for processing regional information in terminal equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101198127A (en) * | 2007-12-29 | 2008-06-11 | 宇龙计算机通信科技(深圳)有限公司 | Method for automatic selecting main card by double-card double-standby mobile terminal equipment |
CN102075630A (en) * | 2011-01-21 | 2011-05-25 | 惠州Tcl移动通信有限公司 | Mobile terminal capable of automatically switching standby mode of SIM card and method thereof |
US20110207454A1 (en) * | 2010-02-25 | 2011-08-25 | Garg Ankit | Authenticating and registering roaming mobile users |
EP2469898A1 (en) * | 2010-12-23 | 2012-06-27 | Alcatel Lucent | Enabling change of subscriber identity module |
CN103167476A (en) * | 2013-03-12 | 2013-06-19 | 广东欧珀移动通信有限公司 | A method and device for dynamically switching between multiple SIM cards in a mobile terminal |
-
2015
- 2015-10-15 CN CN201510675620.XA patent/CN106604261A/en active Pending
-
2016
- 2016-06-17 WO PCT/CN2016/086257 patent/WO2016198001A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101198127A (en) * | 2007-12-29 | 2008-06-11 | 宇龙计算机通信科技(深圳)有限公司 | Method for automatic selecting main card by double-card double-standby mobile terminal equipment |
US20110207454A1 (en) * | 2010-02-25 | 2011-08-25 | Garg Ankit | Authenticating and registering roaming mobile users |
EP2469898A1 (en) * | 2010-12-23 | 2012-06-27 | Alcatel Lucent | Enabling change of subscriber identity module |
CN102075630A (en) * | 2011-01-21 | 2011-05-25 | 惠州Tcl移动通信有限公司 | Mobile terminal capable of automatically switching standby mode of SIM card and method thereof |
CN103167476A (en) * | 2013-03-12 | 2013-06-19 | 广东欧珀移动通信有限公司 | A method and device for dynamically switching between multiple SIM cards in a mobile terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109257734A (en) * | 2017-07-13 | 2019-01-22 | 西安中兴新软件有限责任公司 | A kind of method and device for realizing Subscriber Identity Module switching |
US11985730B2 (en) | 2018-10-15 | 2024-05-14 | Huawei Technologies Co., Ltd. | Terminal configuration method and apparatus |
CN114916161A (en) * | 2021-02-09 | 2022-08-16 | Oppo广东移动通信有限公司 | Electronic device and control method |
CN114916161B (en) * | 2021-02-09 | 2024-02-27 | Oppo广东移动通信有限公司 | Electronic device and control method |
CN115065965A (en) * | 2022-03-30 | 2022-09-16 | 捷德(中国)科技有限公司 | Information display method, information storage device, user identification card and equipment |
CN115065965B (en) * | 2022-03-30 | 2024-05-31 | 捷德(江西)技术有限公司 | Information display method, information storage device, user identification card and user identification equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2016198001A1 (en) | 2016-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106604261A (en) | Service processing method and device | |
JP5003489B2 (en) | Optimization method of communication network search by mobile communication terminal | |
EP2757835B1 (en) | Method of automatic SIM card selection according to network environment | |
EP2547130B1 (en) | Method and identification module for network selection | |
CN104869615B (en) | Network access method and mobile communication terminal | |
CN108886830B (en) | Information processing method, related device and computer program | |
CN110024446B (en) | Enhanced cell selection method | |
CN104796962B (en) | Network selection method and device | |
CN106465237B (en) | Wireless communications method, processor and wireless terminal | |
KR101383220B1 (en) | Method and device of list management | |
EP3136800B1 (en) | Method for updating rplmn information, and user equipment | |
US20170332224A1 (en) | Radio access technology searching method and apparatus for emergency call in terminal supporting a plurality of communication networks | |
CN108601017B (en) | A user terminal-based search network control method and user terminal | |
CN103152717A (en) | Method and terminal for terminal frequency band adaptation | |
WO2013067014A1 (en) | Public land mobile network plmn selection | |
CN101959321A (en) | Scene mode switching method based on mobile phone WIFI and mobile phone | |
CN101309499A (en) | Method, terminal and system for implementing cell selection | |
CN101610450A (en) | A kind of network selecting method and equipment | |
CN103533592B (en) | Multimode terminal and communication means | |
EP2608606A1 (en) | Establishing a connection between a mobile terminal and a network | |
CN106793009B (en) | A kind of network search method and mobile terminal | |
EP3367731B1 (en) | Method and device for adaptive selection of data network | |
CN113660621A (en) | Communication method | |
KR101852895B1 (en) | Data processing method of user equipment, device | |
CN102014457B (en) | Mobile communication system, and automatic network-selecting method for mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170426 |