WO2016198001A1 - 业务处理的方法及装置 - Google Patents
业务处理的方法及装置 Download PDFInfo
- Publication number
- WO2016198001A1 WO2016198001A1 PCT/CN2016/086257 CN2016086257W WO2016198001A1 WO 2016198001 A1 WO2016198001 A1 WO 2016198001A1 CN 2016086257 W CN2016086257 W CN 2016086257W WO 2016198001 A1 WO2016198001 A1 WO 2016198001A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sim card
- terminal
- mapping relationship
- module
- service
- Prior art date
Links
Images
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
Definitions
- the present application relates to, but is not limited to, the field of communications, and in particular, to a method and apparatus for service processing.
- SIM National Subscriber Identity Module
- the user uses the original SIM card to open an international roaming for network use, which requires a high cost, and it is very troublesome to purchase and replace the local SIM card into the mobile terminal in each country, adding a lot of manpower, time and communication to the user. Cost, etc.
- the embodiment of the invention provides a method and a device for processing a service, so as to solve the problem that the terminal is expensive in performing service processing in different areas in the related art.
- a method for service processing includes: determining, according to a first mapping relationship between a pre-stored area information in a terminal and a customer identity module (SIM) card in the terminal, Whether the first SIM card corresponding to the area where the terminal is currently located exists in the terminal; if the result is that the first SIM card corresponding to the area where the terminal is currently located, the first SIM is used.
- SIM customer identity module
- the method further includes: reading SIM card identification information in the terminal; transmitting the read SIM card identification information to a remote server; and acquiring the remote server according to the SIM card identification information The first mapping relationship.
- the terminal includes at least one primary SIM card, and the primary SIM card supports performing service processing in an area where the terminal is currently located, where the read the SIM card identification information is sent to the
- the remote server includes: sending the read SIM card identification information to the remote server by using the primary SIM card.
- the method further includes: determining, in the determination result, that there is no corresponding to the current location of the terminal In the case of the first SIM card, it is determined whether the SIM card in the terminal has changed after the first mapping relationship is stored, or whether the first mapping relationship in the remote server has occurred.
- the method further includes: Determining whether the SIM card in the terminal has changed or whether the first mapping relationship in the remote server has changed; and if the result of the determination is that the SIM card in the terminal has changed, reading the The changed SIM card identification information in the terminal, and the read SIM card identification information that is read is sent to the remote server; and the fourth determined by the remote server according to the changed SIM card identification information Mapping the relationship, and updating the first mapping relationship stored in the terminal according to the obtained fourth mapping relationship; or changing the first mapping relationship in the remote server to a result
- the fifth mapping relationship is obtained, and the first mapping relationship stored in the terminal is updated according to the obtained fifth mapping relationship.
- the method further includes: determining, after the updating, the In a mapping relationship, whether the second SIM card corresponding to the current location of the terminal is the same as the first SIM card; if the determination result is different, the second SIM card is used for service processing.
- 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 Determining the service priority of the two or more first SIM cards; determining the SIM card with the highest service priority according to the obtained service priority of the two or more first SIM cards; and performing the service processing by using the SIM card with the highest priority .
- the method further includes: after the service processing failure by using the SIM card with the highest priority exceeds a predetermined duration, according to the priority The highest order is determined from the two or more first SIM cards by other SIM cards; the other SIM cards are used for service processing.
- the method further includes: determining, when the terminal performs service processing by using the other SIM card, the first cell where the terminal is located; After leaving the first cell, the terminal re-uses the first SIM card with the highest priority for service processing.
- a method for service processing including receiving SIM card identification information of a SIM card in a terminal sent by a terminal, according to the received SIM Card identification information, the first mapping relationship between the area information and the SIM card is determined; the first mapping relationship is sent to the terminal, to indicate that the terminal selects the first service processing according to the first mapping relationship SIM card.
- the method further includes: determining that the first mapping relationship has been changed; updating the first mapping relationship to a sixth mapping relationship; Sending the sixth mapping relationship to the terminal.
- determining that the first mapping relationship has been changed includes: determining that a mapping policy for generating a mapping relationship between the area information and the SIM card is changed; and/or receiving the terminal sent by the terminal The changed SIM card identification information.
- an apparatus for service processing including: a first determining module, configured to: according to a first mapping relationship between area information pre-stored in a terminal and a SIM card in the terminal Determining whether there is a first SIM card corresponding to the area where the terminal is currently located in the terminal; the first service module is configured to determine that the first judgment module is present and the current location of the terminal In the case of the corresponding first SIM card, the first SIM card is used for service processing.
- the device further includes:
- the reading module is configured to determine, according to the first mapping relationship between the area information pre-stored in the terminal and the SIM card in the terminal, whether the current location of the terminal is present in the terminal Reading the SIM card identification information in the terminal before the corresponding first SIM card;
- a first sending module configured to send the read SIM card identification information to a remote server
- the first obtaining module is configured to obtain the first mapping relationship that is determined by the remote server according to the SIM card identifier information.
- the first sending module includes: a sending unit, configured to include at least one primary SIM card in the terminal, where the primary SIM card supports a service processing in an area where the terminal is currently located, Sending the identification information of the SIM card to the remote server by using the primary SIM card.
- a sending unit configured to include at least one primary SIM card in the terminal, where the primary SIM card supports a service processing in an area where the terminal is currently located, Sending the identification information of the SIM card to the remote server by using the primary SIM card.
- the device further includes:
- the second determining module is configured to: after the first determining module determines whether the first SIM card corresponding to the area where the terminal is currently located, is determined to be absent from the current location of the terminal In the case of the first SIM card corresponding to the area, determining whether the SIM card in the terminal has changed or the first mapping relationship in the remote server after the terminal stores the first mapping relationship Whether a change has occurred;
- the second obtaining module is configured to: after the determination result of the second determining module is that the SIM card in the terminal is changed, read the changed SIM card identification information in the terminal, and read the The obtained SIM card identification information is sent to the remote server, and the second mapping relationship determined by the remote server according to the changed SIM card identification information is obtained, and according to the acquired second mapping relationship The first mapping relationship stored in the terminal is updated; or
- the third obtaining module is configured to acquire the third mapping relationship when the first mapping relationship in the remote server is changed to the third mapping relationship, and the third obtaining module is configured to The acquired third mapping relationship updates the first mapping relationship stored in the terminal.
- the device further includes:
- a third determining module configured to determine, after the first service module performs service processing by using the first SIM card, whether the SIM card in the terminal has changed or whether the first mapping relationship in the remote server is A change has occurred;
- the fourth obtaining module is configured to read the changed SIM card identification information in the terminal and read the result when the determination result of the third determining module is that the SIM card in the terminal has been changed.
- the obtained SIM card identification information is sent to the remote server, and the fourth mapping relationship determined by the remote server according to the changed SIM card identification information is obtained, and according to the obtained fourth mapping relationship
- the first mapping relationship stored in the terminal is updated; or
- the fifth obtaining module is configured to acquire the fifth mapping relationship when the first mapping relationship in the remote server is changed to the fifth mapping relationship, and the fifth obtaining module is configured according to the third mapping module Obtaining the fifth mapping relationship to the first mapping stored in the terminal The system is updated.
- the device further includes:
- a fourth determining module configured to: in the fourth acquiring module, according to the obtained fourth mapping relationship or the fifth acquiring module, according to the obtained fifth mapping relationship, the first stored in the terminal After the mapping is updated, determining whether the second SIM card corresponding to the current location of the terminal is the same as the first SIM card in the updated first mapping relationship;
- the second service module is configured to perform service processing by using the second SIM card if the determination result of the fourth determining module is different.
- 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: an acquiring unit, configured to acquire the a service priority of the two or more first SIM cards; the first determining unit is configured to determine, according to the obtained service priority of the two or more first SIM cards, a SIM card with the highest service priority; the service unit is configured to use The SIM card with the highest priority performs service processing.
- the device further includes:
- a first determining module configured to: after the first service module performs the service processing by using the SIM card with the highest priority, after the service processing failure using the SIM card with the highest priority exceeds a predetermined duration, Determining other SIM cards from the two or more first SIM cards in descending order of priority;
- the third service module is configured to perform service processing by using the other SIM card.
- the device further includes:
- a second determining module configured to determine, after the third service module performs service processing by using the other SIM card, that the terminal is in a first cell where the terminal is located when performing service processing by using the other SIM card ;
- the fourth service module is configured to: after determining that the terminal leaves the first cell, re-use the first SIM card with the highest priority for service processing.
- an apparatus for service processing including:
- a receiving module configured to receive SIM card identification information of a SIM card in the terminal sent by the terminal;
- a generating module configured to determine, according to the received SIM card identification information, a first mapping relationship between the area information and the SIM card;
- the second sending module is configured to send the first mapping relationship to the terminal, to instruct the terminal to select a first SIM card for performing service processing according to the first mapping relationship.
- the device further includes:
- a third determining module configured to determine that the first mapping relationship has been changed after the second sending module sends the first mapping relationship to the terminal
- Updating a module configured to update the first mapping relationship to a sixth mapping relationship
- the third sending module is configured to send the sixth mapping relationship to the terminal.
- 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, the third determining unit is configured to receive The changed SIM card identification information in the terminal sent to the terminal.
- the embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, and the method for implementing the foregoing service processing on the terminal side when the computer executable instructions are executed.
- the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, the method of implementing the above-mentioned service processing on the server side when the computer executable instructions are executed.
- the method of performing service processing by using the first SIM card by setting one or more SIM cards in the terminal And pre-storing the mapping relationship between one or more SIM cards and different areas, so that the terminal uses the corresponding first SIM card to perform service processing according to the mapping relationship in the corresponding area, and solves the related art processing of the terminal in different areas in the related art.
- FIG. 1 is a flowchart 1 of a method of service processing according to an embodiment of the present invention.
- FIG. 2 is a second flowchart of a method for service processing according to an embodiment of the present invention.
- FIG. 3 is a structural block diagram 1 of an apparatus for service processing according to an embodiment of the present invention.
- FIG. 4 is a block diagram 1 of an optional structure of an apparatus for processing a service according to an embodiment of the present invention
- FIG. 5 is a structural block diagram of a first sending module 44 in an apparatus for service processing according to an embodiment of the present invention
- FIG. 6 is a block diagram 2 of an optional structure of an apparatus for processing a service according to an embodiment of the present invention
- FIG. 7 is a block diagram 3 of an optional structure of an apparatus for service processing according to an embodiment of the present invention.
- FIG. 8 is a block diagram 4 of an optional structure of an apparatus for processing a service according to an embodiment of the present invention.
- FIG. 9 is a structural block diagram of a first service module 34 in an apparatus for service processing according to an embodiment of the present invention.
- FIG. 10 is a block diagram 5 of an optional structure of an apparatus for service processing according to an embodiment of the present invention.
- FIG. 11 is a block diagram 6 of an optional structure of an apparatus for service processing according to an embodiment of the present invention.
- FIG. 12 is a structural block diagram 2 of an apparatus for service processing according to an embodiment of the present invention.
- FIG. 13 is a block diagram 7 of an optional structure of an apparatus for service processing according to an embodiment of the present invention.
- FIG. 14 is a structural block diagram of a third determining module 132 in an apparatus for service processing according to an embodiment of the present invention.
- FIG. 15 is a flowchart of a first booting operation of a mobile terminal of a multi-SIM card mobile terminal automatic card cutting method according to an embodiment of the present invention
- 16 is a flowchart of a non-first power-on operation of a mobile terminal of a multi-SIM card mobile terminal automatic card cutting method according to an embodiment of the present invention
- FIG. 17 is a schematic flowchart of the current state MCC (Mobile Country Code) processing in the mapping table provided by the embodiment
- FIG. 18 is a schematic flowchart of a process of cutting a network signal cut card according to the embodiment.
- FIG. 1 is a flowchart 1 of a method for processing a service according to an embodiment of the present invention. As shown in FIG. 1 , the method includes the following steps:
- Step S102 determining, according to the first mapping relationship between the area information pre-stored in the terminal and the customer identification module (SIM) card in the terminal, whether the first SIM card corresponding to the area where the terminal is currently located exists in the terminal;
- SIM customer identification module
- Step S104 If the result of the determination is that there is a first SIM card corresponding to the area where the terminal is currently located, the first SIM card is used for service processing.
- the number of SIM cards pre-stored in the terminal may be one or multiple.
- the first SIM card is the SIM card pre-stored in the terminal, and in the case where the number of SIM cards pre-stored in the terminal is plural, Selecting a first SIM card corresponding to the current area for service processing.
- the first SIM card may have one or more cards. When there are multiple first SIM cards, only a plurality of first SIM cards may be selected. Part of the SIM card for business processing.
- the mapping relationship between the SIM card and the different areas is pre-stored in the terminal, so that the terminal can select the corresponding SIM card to perform service processing according to the mapping relationship when the terminal is in the corresponding area, and solve the problem that the terminal performs services in different areas in the related art.
- the first mapping relationship pre-stored in the terminal may be set by the user through the terminal, or may be acquired by the terminal from the server.
- the method for the terminal to acquire the first mapping relationship may include: reading the SIM card identification information in the terminal, where the SIM card corresponds to the SIM card identification information, for example, the identifier information may be Integrated Circuit Card Identity (ICCID) information; the SIM to be read The card identification information is sent to the remote server; and the first mapping relationship determined by the remote server according to the SIM card identification information is obtained.
- the terminal acquires the first mapping relationship by interacting with the remote server, which saves time for the user to manually set, and has high reliability.
- the identifier information of the read SIM card is sent to the remote server, and the data service connection with the remote server needs to be performed first.
- the method may be implemented as follows: the terminal includes at least one primary SIM card, and the primary SIM card supports service roaming processing in the current location of the terminal, and the SIM that can be read by the primary SIM card The card identification information is sent to the remote server.
- the primary SIM supports the roaming service in the current area of the terminal, and needs to perform service processing in the current area at a higher cost to transmit the identification information of the SIM card in the terminal to the remote server.
- the data service can be completed in the current area, not necessarily the main SIM card preset by the user.
- the identification information of all the SIM cards in the terminal may be sent to the remote server by using the primary SIM card to obtain a first mapping relationship, so that the first SIM card corresponding to the current region is selected.
- Business processing successfully doing business processing at a lower cost.
- the method of this embodiment may further include the following steps: determining whether the SIM card in the terminal has changed or the remote server after the terminal stores the first mapping relationship.
- the changed SIM card identification information in the terminal is read, and the changed The SIM card identification information is sent to the remote server; the second mapping relationship generated by the remote server according to the changed SIM card identification information is obtained, and the first mapping relationship stored in the terminal is updated according to the acquired second mapping relationship; or If the result of the determination is that the first mapping relationship in the remote server is changed to the third mapping relationship, the third mapping relationship is obtained, and The third mapping relationship is updated to update the first mapping relationship stored in the terminal.
- the SIM card information in the terminal may be first determined to be changed.
- mapping relationship is generally No change
- the relationship is the same. In this case, the first SIM card corresponding to the current region is not present in the terminal.
- the second mapping relationship may be different from the first mapping relationship.
- the terminal according to the method in step S102 and step S104.
- the terminal determining, according to the pre-stored second mapping relationship, whether there is a new SIM card corresponding to the current location of the terminal, and if so, using the corresponding new SIM card for service processing. If the result of the determination is that the first SIM card corresponding to the current region does not exist, it can also be determined whether the first mapping relationship in the remote server has changed, because the mapping policy of the server has changed, and the SIM card in the terminal The mapping relationship with the current location of the terminal may change. The SIM card corresponding to the current location of the terminal does not exist in the first mapping relationship, and the first SIM card corresponding to the current location of the terminal exists.
- the method of the embodiment may further include: determining whether the SIM card in the terminal has changed or whether the first mapping relationship in the remote server has changed; When the SIM card in the terminal is changed, the changed SIM card identification information in the terminal is read, and the read SIM card identification information after the change is sent to the remote server; The third mapping relationship determined by the SIM card identification information is updated, and the first mapping relationship stored in the terminal is updated according to the obtained fourth mapping relationship; or, the first mapping relationship in the remote server is changed to the fifth in the judgment result. In the case of the mapping relationship, the fifth mapping relationship is obtained, and the first mapping relationship stored in the terminal is updated according to the obtained fifth mapping relationship.
- the terminal may obtain the first SIM card corresponding to the current location of the terminal according to the first storage relationship, but after the terminal performs the service processing by using the first SIM card according to the first mapping relationship, It is also possible to continue to pay attention to whether the first mapping relationship in the remote server is updated, or whether the information of the SIM card in the terminal is changed, so that the terminal can obtain the updated fourth mapping relationship or the fifth mapping relationship, so that the terminal is at least next time.
- the corresponding SIM card can be selected according to the latest mapping relationship.
- the following operations may also be performed: determining the updated In the first mapping relationship, the second corresponding to the area where the terminal is currently located Whether the SIM card and the corresponding first SIM card in the first mapping relationship are the same; if the determination result is not the same, the second SIM card is used for service processing. If the area where the terminal is currently located is not changed, the terminal may select a second SIM card corresponding to the currently located area for service processing according to the newly obtained mapping relationship.
- the service processing may be performed by using any one of the first SIM cards, in an optional embodiment.
- the service processing by using the first SIM card may include: acquiring the service priority of the two or more first SIM cards; determining the SIM card with the highest service priority according to the obtained service priority of the two or more first SIM cards; The highest level SIM card for business processing.
- the first SIM card with the highest priority is selected for service processing, which can improve the user experience to a certain extent.
- the method may further include: after the service processing failure using the SIM card with the highest priority exceeds a predetermined duration, according to the priority Other SIM cards are determined from two or more first SIM cards in descending order; other SIM cards are used for service processing.
- the SIM card with the highest priority fails to perform the service processing for more than the predetermined duration, and then the other SIMs are determined according to the priority order.
- the card is used for service processing, which can ensure that the terminal quickly uses other SIM cards to continue the business processing.
- the service processing may be performed by using the other SIM card in the other case.
- the method may further include: determining that the terminal is utilizing When the other SIM card performs service processing, the first cell where the terminal is located; when it is determined that the terminal leaves the first cell, the first SIM card with the highest priority is reused for service processing.
- the first SIM card with the highest priority may fail to perform service processing in the first cell due to poor network signal conditions. After the terminal leaves the first cell, the terminal may be restored to the highest priority.
- the first SIM card performs business processing to improve the user experience.
- the service priority may be determined by the user according to the preference, or may be determined according to the tariff agreement and/or the network quality of the SIM card access network.
- FIG. 2 is a second flowchart of a method for service processing according to an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps:
- Step S202 Receive SIM card identification information of a subscriber identity module (SIM) card in the terminal sent by the terminal;
- SIM subscriber identity module
- Step S204 Determine, according to the received SIM card identification information, a first mapping relationship between the area information and the SIM card.
- Step S206 Send the first mapping relationship to the terminal, to instruct the terminal to select the first SIM card for performing service processing according to the first mapping relationship.
- the first mapping relationship between the SIM card and the area information in the terminal is determined by using the SIM card identification information in the terminal sent by the terminal, and is sent to the terminal, and the terminal may be instructed according to the first mapping relationship in the current area.
- the first SIM card corresponding to the current region is selected for service processing, which solves the problem that the terminal performs high-cost processing in different areas in the related art, thereby achieving a relatively low cost when the user performs service processing in different areas. Improve the user experience.
- the method of the embodiment may further include: determining that the first mapping relationship has been changed; updating the first mapping relationship to the sixth mapping relationship; and sending the sixth mapping relationship Give the terminal.
- the first mapping relationship changes, 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 foregoing optional embodiment, or may be the fourth mapping relationship or the fifth mapping relationship in the foregoing optional embodiment.
- determining that the first mapping relationship has been changed may include: determining that a mapping policy for generating a mapping relationship between the area information and the SIM card is changed; and/or receiving the terminal sent by the terminal The changed SIM card identification information. That is, in the case where the mapping policy of the mapping relationship, or the SIM card in the terminal, has changed, the remote server may determine that the first mapping relationship has changed and update.
- the method according to the foregoing embodiment can be implemented by means of software plus a necessary universal hardware platform, or Through hardware, but in many cases the former is a better implementation.
- the technical solution of the present application which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
- the instructions include a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present application.
- the device for processing the service is also provided, and the device is used to implement the foregoing embodiments and optional embodiments, and details are not described herein.
- the term "module” may implement a combination of software and/or hardware of a predetermined function.
- the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 3 is a structural block diagram 1 of an apparatus for service processing according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes a first judging module 32 and a first service module 34, which will be described below.
- the first determining module 32 is configured to determine, according to the first mapping relationship between the area information pre-stored in the terminal and the SIM card in the terminal, whether the SIM card corresponding to the area where the terminal is currently located exists in the terminal;
- the first service module 34 is connected to the first determining module 32, and is configured to use the first SIM card if the result of the first determining module 32 is that the first SIM card corresponding to the area where the terminal is currently located exists. Business processing.
- FIG. 4 is a block diagram of an optional structure of an apparatus for processing a service according to an embodiment of the present invention.
- the apparatus includes a reading module 42 and a first sending module, in addition to all the modules shown in FIG. 44 and the first acquisition module 46, the apparatus will be described below.
- the reading module 42 is configured to determine, according to the first mapping relationship between the area information pre-stored in the terminal and the SIM card in the terminal, whether the terminal has a corresponding location corresponding to the current location of the terminal. Before the SIM card, reading the SIM card identification information in the terminal;
- the first sending module 44 is connected to the reading module 42 and configured to send 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 acquire a first mapping relationship determined by the remote server according to the SIM card identification information.
- FIG. 5 is a structural block diagram of a first sending module 44 in a device for service processing according to an embodiment of the present invention. As shown in FIG. 5, the first sending module 44 includes a sending unit 52, and the first sending module 44 is below. Be explained.
- the sending unit 52 is configured to include at least one primary SIM card in the terminal, and the primary SIM card supports sending the read SIM card identification information to the remote server by using the primary SIM card in the case where the terminal is currently performing the service processing. .
- FIG. 6 is a block diagram of an optional structure of an apparatus for processing a service according to an embodiment of the present invention.
- the apparatus includes a second judging module 62 and a second acquiring, in addition to all the modules shown in FIG. Module 64 or third acquisition module 66, the device will be described below.
- the second judging module 62 is connected to the first judging module 32, and is configured to: after the first judging module 32 determines whether there is a first SIM card corresponding to the area where the terminal is currently located in the terminal, the judgment result is that the non-existence and the In the case that the first SIM card corresponding to the area where the terminal is currently located, it is determined whether the SIM card in the terminal has changed after the first mapping relationship is stored, or whether the first mapping relationship in the remote server has changed;
- the second obtaining module 64 is connected to the second determining module 62, and is configured to read the changed SIM card identification information in the terminal when the result of the second determining module 62 is that the SIM card in the terminal has been changed. Transmitting the changed SIM card change information to the remote server; acquiring the second mapping relationship determined by the remote server according to the changed SIM card identification information, and storing the second mapping relationship according to the acquired second mapping relationship A mapping relationship is updated; or,
- the third obtaining module 66 is connected to the second determining module 62, and is configured to acquire the third mapping relationship when the first mapping relationship in the remote server is changed to the third mapping relationship. And updating, according to the obtained third mapping relationship, the first mapping relationship stored in the terminal.
- FIG. 7 is a block diagram 3 of an optional structure of an apparatus for processing a service according to an embodiment of the present invention. As shown in FIG. 7 , the apparatus includes a third judging module 72 and a fourth acquiring, in addition to all the modules shown in FIG. 3 . Module 74 or fifth acquisition module 76, the device will be described below.
- the third determining module 72 is connected to the first service module 34, and is configured to determine, after the first service module 34 performs service processing by using the first SIM card, whether the SIM card in the terminal has changed or the first mapping in the remote server. Whether the relationship has changed;
- the fourth obtaining module 74 is connected to the third determining module 72, and is configured to read the changed SIM card identification information in the terminal when the result of the third determining module 72 is that the SIM card in the terminal has been changed. And sending the read SIM card identification information to the remote server; obtaining a fourth mapping relationship determined by the remote server according to the changed SIM card identification information, and storing the fourth mapping relationship according to the acquired fourth mapping relationship The first mapping relationship is updated; or,
- the fifth obtaining module 76 is connected to the third determining module 72, and is configured to acquire the fifth mapping relationship when the first mapping function in the remote server is changed to the fifth mapping relationship. And updating the first mapping relationship stored in the terminal according to the obtained fifth mapping relationship.
- FIG. 8 is a block diagram showing an optional structure of an apparatus for processing a service according to an embodiment of the present invention. As shown in FIG. 8, the apparatus includes a fourth judging module 82 and a second service, in addition to all the modules shown in FIG. Module 84, the device will be described below.
- the fourth determining module 82 is connected to the fourth obtaining module 74 and the fifth obtaining module 76, and is configured to be in the fourth obtaining module 74 according to the acquired fourth mapping relationship or the fifth obtaining module 76 according to the obtained fifth mapping relationship to the terminal. After the first mapping relationship is updated, it is determined whether the second SIM card corresponding to the current location of the terminal is the same as the first SIM card corresponding to the first mapping relationship in the updated first mapping relationship;
- the second service module 84 is connected to the fourth determining module 82, and is configured to perform service processing by using the second SIM card if the determination result of the fourth determining module 82 is different.
- FIG. 9 is a structural block diagram of a first service module 34 in an apparatus for service processing according to an embodiment of the present invention.
- the first service module 34 includes an obtaining unit 92, a first determining unit 94, and a service unit 96.
- the first service module 34 will be described below.
- the obtaining unit 92 is configured to acquire the service priority of the 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. level;
- the first determining unit 94 is connected to the obtaining unit 92, and is configured to determine a SIM card with the highest service priority according to the obtained service priority of the two or more first SIM cards;
- the service unit 96 is connected to the first determining unit 94 and configured to utilize the SIM with the highest priority.
- the card performs business processing.
- FIG. 10 is a block diagram 5 of an optional structure of an apparatus for processing a service according to an embodiment of the present invention. As shown in FIG. 10, the apparatus includes a first determining module 102 and a third service module 104 in addition to all the modules in FIG. The device will be described below.
- the first determining module 102 is connected to the first service module 34, and is configured to: when the first service module 34 performs the service processing by using the SIM card with the highest priority, when the service processing with the highest priority SIM card fails, the time exceeds the predetermined time. After the duration, the other SIM cards are determined from the two or more first SIM cards in descending order of priority;
- the third service module 104 is connected to the second determining module 102 and configured to perform service processing by using other SIM cards.
- FIG. 11 is a block diagram of an optional structure of an apparatus for service processing according to an embodiment of the present invention. As shown in FIG. 11, the apparatus includes a second determining module 112 and a fourth service module 114 in addition to all the modules in FIG. The device will be described below.
- the second determining module 112 is connected to the third service module 104, and is configured to determine, after the third service module 104 performs service processing by using another SIM card, that the terminal is in the first time when the terminal performs service processing by using another SIM card.
- the fourth service module 114 is connected to the third determining module 112, and is configured to re-use the first SIM card with the highest priority to perform service processing after determining that the terminal leaves the first cell.
- the service priority may be determined according to a tariff agreement and/or a network quality of the SIM card access network.
- FIG. 12 is a structural block diagram 2 of a device for service processing according to an embodiment of the present invention.
- the device includes a receiving module 122, a generating module 124, and a The second transmitting module 126 is described below.
- the receiving module 122 is configured to receive SIM card identification information of the SIM card in the terminal sent by the terminal;
- the generating module 124 is connected to the receiving module 122 and configured to be based on the received SIM card identifier. Information, determining a first mapping relationship between the area information and the SIM card;
- the second sending module 126 is connected to the generating module 124, and is configured to send the first mapping relationship to the terminal, 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 showing an optional structure of an apparatus for processing a service according to an embodiment of the present invention. As shown in FIG. 13, the apparatus includes a third determining module 132, an updating module 134, and a The three transmitting module 136 will be described below.
- the third determining module 132 is connected to the second sending module 126, and is configured to determine that the first mapping relationship has been changed after the second sending module 126 sends the first mapping relationship to the terminal;
- the update module 134 is connected to the third determining module 132, and is configured to update the first mapping relationship to the sixth mapping relationship;
- the third sending module 136 is connected to the update module 134 and configured to send the sixth mapping relationship to the terminal.
- FIG. 14 is a structural block diagram of a third determining module 132 in the apparatus for service processing according to an embodiment of the present invention. As shown in FIG. 14, the third determining module 132 includes a second determining unit 142 and/or a third determining unit 144. The third determining module 132 will be described below.
- the second determining unit 142 is configured to determine that the mapping policy for generating the mapping relationship between the area information and the SIM card has changed; the third determining unit 144 is configured to receive the changed SIM card identifier in the terminal sent by the terminal. information.
- the mobile terminal can support multiple SIM cards, and the method for processing the service according to the embodiment of the present invention is described in conjunction with a specific implementation environment.
- a method for automatically cutting a card by a multi-SIM card mobile terminal (that is, a method for processing a service according to an embodiment of the present invention) is as follows:
- the mobile terminal can insert a plurality of SIM cards, and the card slot 1 is used as the default primary SIM card.
- the access point name (APN) of the card is known, and the card can roam in multiple countries.
- the terminal uses the main SIM card to register the network, and reads the SIM card identification information of all the card slots, for example, the ICCID information (hereinafter, the identification information is the ICCID information as an example. ), sent to the remote server.
- the server generates a corresponding national card mapping table for the mobile terminal according to the ICCID information of the SIM card inserted in the terminal, and the mapping table includes a Mobile Country Code (MCC), an ICCID, an APN information, and a personal identification password (Personal). Identification Number (referred to as PIN) code (code) and other information, that is, the MCC can be used to find the SIM card information available in the country.
- the national card mapping table has its own version number record. If the mapping table is updated, the version number will be upgraded. After the terminal obtains the mapping table and saves it, it automatically restarts, selects the SIM card corresponding to the current country according to the mapping table, and uses the APN information corresponding to the SIM card to connect to the network.
- the SIM card performs the lock PIN
- the main SIM card After each boot, the main SIM card is no longer used for networking, and the corresponding SIM card is directly registered according to the current country code MCC from the currently saved country card mapping table. After networking, it is also necessary to send the SIM card ICCID information of all the card slots of the current terminal to the remote server, and detect whether the version number of the mapping table on the server is updated. If the update is detected, the currently saved mapping table needs to be deleted, and the new saved data is re-acquired. Mapping table. If the new mapping table modifies the SIM card record corresponding to the current country MCC, the terminal automatically restarts, and the corresponding SIM card network is re-selected after the update. Otherwise it will not restart.
- the current country code MCC is not included in the mapping table, it is necessary to determine whether the SIM card mapping table (list) of the current booting has changed with the last booting, including adding and removing the SIM card, if there is no change, Do not initiate registration networking activities. If the SIM card changes, first use the main SIM card to connect to the network, send the SIM card ICCID information of all the card slots of the current terminal to the remote server, and detect whether the mapping table on the server is updated, if the mapping table is not updated, or obtained. The updated mapping table still does not contain the current country's MCC, indicating that the current country does not have a corresponding available SIM card, then disconnect the main SIM card network, no longer automatically networked. If the updated mapping table contains the MCC of the current country, the terminal automatically restarts and reuses the SIM card power-on networking corresponding to the current country.
- the MCC of one country corresponds to multiple SIM cards
- the priority parameter is added in the mapping table.
- the server side will According to the tariff agreement situation, network coverage and other policies, the priority order is set, and the highest priority SIM card is used to register the network. If it is unsuccessful or the lost signal time exceeds the set threshold, the switch is automatically initiated to the next priority. On the SIM card, so loop. If a country only corresponds to a SIM card, after the signal is lost, as long as the MCC has not changed, that is, the country has not changed, the switch card action is not initiated. Only when the MCC is detected, it moves from one country to another. In the country, the terminal automatically initiates a restart card-cutting action.
- the current Cell ID information is recorded, and the device is moved to a new cell ID (Cell) every fixed time. Identification, referred to as Cell ID), and if so, automatically attempts to switch to a high priority card. Because the network supported by the high-priority card has no signal, it automatically switches to the low-priority card, but the related technologies, including the 3GPP protocol, do not support whether the network that acquires another SIM card is restored when one SIM card is used. information. By recording the cell information Cell ID, the solution that the high-priority card network has been restored but also uses the low-priority card for a long time can be solved. It is not necessary to re-initiate the card-cutting process only when the low-priority card network has no signal.
- an embodiment of the present invention further provides a multi-SIM card mobile terminal automatic card cutting system, comprising: a mobile terminal and a remote server, and the system will be described below.
- Mobile terminal supports inserting multiple SIM cards, is responsible for the first booting using the main SIM card networking, reporting to the remote server all the inserted SIM card ICCID information in the terminal and obtaining the national card mapping table from the server, and then automatically restarting, according to the mapping table Select the SIM card corresponding to the current country to power on, and use the APN information corresponding to the SIM card to connect to the network; each subsequent boot is based on the obtained country code MCC, and find the corresponding SIM card network from the last saved mapping table, and The server checks the mapping table for updates. When a country corresponds to multiple SIM cards, the highest priority card is used to register the network preferentially. When the high priority card is unavailable, the switch to the secondary priority card is automatically performed. When the non-highest priority card is used, the Cell is responsible for recording. The ID information is used to determine whether the Cell ID has changed at a certain interval. If the change occurs, the switch to the high priority card is automatically initiated.
- Remote server responsible for receiving the currently inserted SIM card ICCID information list sent by the mobile terminal, generating a mapping table of the country and the card according to the ICCID list and the set policy for the mobile terminal to acquire, and updating the mapping table when the policy or card information changes, The mapping table version number is upgraded, and the update of the mapping table saved by the mobile terminal is indicated by the change of the version number of the mapping table.
- FIG. 15 is a flowchart of a first booting operation of a mobile terminal of a multi-SIM card mobile terminal automatic card cutting method 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, and the card slot 1 serves as a default primary SIM card.
- the networked APN of the card is known, and the card can roam in multiple countries.
- Step S1504 After the mobile terminal is powered on for the first time or after being restored to the factory settings, the mobile terminal is used to register the network using the primary SIM card.
- Step S1506 The mobile terminal reads the SIM card ICCID information of all the card slots and sends the information to the remote server.
- Step S1508 The remote server generates a corresponding national card mapping table according to the ICCID information of the SIM card inserted by the terminal.
- the national card mapping table has its own version number record. If the mapping table is updated, the version number will be upgraded.
- Step S1510 The mobile terminal saves the mapping table from the server, and then automatically restarts, selects the SIM card corresponding to the current country according to the mapping table, and uses the APN information corresponding to the SIM card to connect to the network, optionally, if the SIM The card has locked the PIN, and the PIN code corresponding to the SIM card needs to be used to unlock the PIN before networking. If the current national MCC cannot find a corresponding SIM card in the mapping table, no automatic networking operation is performed.
- FIG. 16 is a flowchart of a non-first power-on operation of a mobile terminal of a multi-SIM card mobile terminal automatic card cutting method 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 powered on for the first time, and directly selects the corresponding SIM card to register the network according to the current country code MCC from the last national card mapping table saved by the terminal.
- the current national MCC can not find the corresponding available SIM card in the mapping table.
- the processing flow is shown in Figure 17;
- Step S1604 After the networking is successful, the SIM card ICCID information of all the card slots of the current terminal is sent to the remote server;
- Step S1606 detecting whether the version number of the mapping table on the server is updated
- Step S1608 If it is detected that there is an update, it is necessary to delete the currently saved mapping table, and re-acquire and save the new mapping table;
- Step S1610 determining whether the SIM card record corresponding to the current country MCC is modified in the new mapping table
- Step S1612 If there is a change in the SIM card corresponding to the current country MCC, the terminal automatically restarts, and the corresponding SIM card network is re-selected after the update;
- Step S1614 The mapping table is not updated, or the SIM card information corresponding to the current country MCC is not updated, and the current SIM card connection is continued.
- FIG. 17 is a schematic flowchart of the process of not supporting the current national MCC in the mapping table provided in the embodiment. As shown in FIG. 17, the process includes the following steps:
- Step S1702 The mobile terminal searches and finds that the current country code MCC is not included in the mapping table, that is, the mapping table does not support the current country;
- Step S1704 determining whether the list of SIM cards that are turned on this time has changed from the last booting, including adding and removing the SIM card;
- Step S1706 If the SIM card list does not change, the booting does not actively initiate the registration networking action
- Step S1708 If there is a change in the SIM card, first use the main SIM card to connect to the network;
- Step S1710 Send the SIM card ICCID information of all the card slots of the current terminal to the remote server;
- Step S1712 detecting whether there is an update on the mapping table on the server, and whether there is a SIM card corresponding to the current national MCC in the updated mapping table;
- Step S1714 If there is an updated SIM in the updated and updated mapping table, the terminal automatically restarts and switches to the SIM card corresponding to the current country.
- Step S1716 If the mapping table is not updated, or the obtained updated mapping table still does not include the MCC of the current country, indicating that the current country does not have a corresponding available SIM card, then disconnecting the primary SIM card, and no longer automatically networking. .
- FIG. 18 is a schematic flowchart of a process for processing a lost network signal card according to the embodiment. As shown in FIG. 18, the process includes the following steps:
- Step S1802 The signal loss time in the process of using the current SIM card by the mobile terminal exceeds a set duration, for example, 3 minutes.
- Step S1804 It is detected whether there is a change in the MCC.
- Step S1806 If the MCC change description moves from one country to another country, the terminal automatically initiates a restart card cutting process according to the mapping table.
- Step S1808 If there is no change in the MCC, the description is still in the home country, and it is determined whether the home MCC in the mapping table has a SIM card corresponding to other lower priorities.
- Step S1810 If there is, then automatically restart the selection of the lower priority SIM card to attempt to register the network. Try to set the length of time, for example, if 3 minutes is still unsuccessful, then initiate the switch again, and so on.
- Step S1812 If no other priority card exists, it will not process, continue to use the current SIM card, and wait for the network signal to recover.
- Step S1814 When the terminal switches to the low priority card and successfully uses the network, the current Cell ID information is recorded.
- Step S1816 Determine whether the terminal moves to the new Cell ID every fixed time.
- Step S1818 If there is a change in the Cell ID, it automatically attempts to switch back to the high priority card. If the Cell ID does not change, the card will not be initiated.
- the embodiments of the present invention provide a mobile terminal, a remote server, and a system that support multiple SIM cards, and the terminal can automatically switch to the optimal SIM card according to the current network situation. It is a good solution to the problem of Internet access for people who frequently enter and exit multiple countries. By detecting and obtaining mapping table updates from the server after each network connection, the switching policy and supported visiting countries can be upgraded in time. By introducing the concept of priority, multiple SIM cards can be supported in the same country.
- the network signal supported by the highest priority SIM card When the network signal supported by the highest priority SIM card is unavailable, it can be automatically switched to the lower priority SIM card.
- the low priority SIM card when the low priority SIM card is used, it is determined whether the user location is moved by recording the Cell ID of the current cell and periodically detecting whether the Cell ID changes, thereby determining whether to attempt to switch back to the high priority SIM card, thereby solving the corresponding
- the technology does not support the problem of detecting whether another network signal is restored when using a SIM card of one network, and the user has returned to the network coverage area corresponding to the high priority SIM card and continues to use the low priority SIM card.
- Application scenario 1 Users want to go to Europe for multi-country tour, rent a portable mobile from the service provider Network equipment, in which the service provider has pre-inserted the SIM cards of these countries in Europe.
- the service provider When the user arrives in a country, it will automatically use the country's SIM card to register the network. In another country, it will automatically restart the SIM card registration network of the corresponding country, without paying the high cost of international roaming.
- Application scenario 2 The user is using the SIM card of the lowest carrier A in the local country to access the Internet, and then moves to an area that is not covered by the A carrier network. After the network is not found for more than 3 minutes, the device automatically restarts and switches to the same country.
- the SIM card of the B operator with higher charge if the SIM card of the B carrier is not registered for the Internet within 3 minutes, then continue to switch to the A carrier card and try to register the network, and so on. If the SIM card of the current B carrier is successfully connected, record the Cell ID information, and check whether the Cell ID changes every 15 minutes. If the Cell ID changes, try again to switch back to the A carrier SIM with the lowest charge and the highest priority. Cards are used to maximize internet access costs.
- each of the foregoing modules may be implemented by software or hardware.
- the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
- the embodiment of the invention further provides a computer readable storage medium.
- the computer readable storage medium may be configured to store program code for performing the following steps:
- Step S11 determining, according to the first mapping relationship between the area information pre-stored in the terminal and the SIM card in the terminal, whether the first SIM card corresponding to the area where the terminal is currently located exists in the terminal;
- Step S12 If the result of the determination is that there is a first SIM card corresponding to the area where the terminal is currently located, the first SIM card is used for service processing.
- the processor performs the above steps S11 and S12 according to the stored program code in the computer readable storage medium.
- the computer readable storage medium is further arranged to store program code for performing the steps of:
- Step S21 receiving SIM card identification information of the SIM card in the terminal sent by the terminal;
- Step S22 Determine the area information and the SIM card according to the received SIM card identification information. a mapping relationship
- Step S23 The first mapping relationship is sent to the terminal, to instruct the terminal to select the first SIM card for performing service processing according to the first mapping relationship.
- the processor performs the above steps S21 to S23 according to the program code stored in the computer readable storage medium.
- the computer readable storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (Random Access Memory).
- ROM Read-Only Memory
- Random Access Memory Random Access Memory
- modules or steps of the present application can be implemented by a general-purpose computing device, which can be centralized on a single computing device or distributed over a network of multiple computing devices. They may be implemented by program code executable by the computing device such that they may be stored in the storage device for execution by the computing device and, in some cases, may be performed in a different order than that illustrated herein. Or the steps described, either separately as individual integrated circuit modules, or as a plurality of modules or steps in a single integrated circuit module. Thus, the application is not limited to any particular combination of hardware and software.
- the embodiment of the present invention provides a method and an apparatus for processing a service, which solves the problem that a terminal has a high cost of performing service processing in different areas in the related art, thereby achieving a relatively low cost effect when the user performs service processing in different areas, and improves the effect.
- User experience
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
一种业务处理的方法,包括:根据终端中预先存储的区域信息与终端中的客户识别模块SIM卡的第一映射关系,判断终端中是否存在与该终端当前所在的区域对应的第一SIM卡;在判断结果为存在与该终端当前所在的区域对应的第一SIM卡的情况下,利用第一SIM卡进行业务处理。通过在终端中设置一个或多个SIM卡,并预先存储一个或多个SIM卡与不同区域的映射关系,可以使得终端在相应区域时根据映射关系使用相应的SIM卡进行业务处理,解决了相关技术中终端在不同区域进行业务处理费用高昂的问题,进而达到了用户在不同区域进行业务时费用相对低廉的效果,提高了用户的体验度。
Description
本申请涉及但不限于通信领域,尤其涉及一种业务处理的方法及装置。
随着世界经济的发展,特别是全球经济一体化的不断形成,各国间的联系加强,商务往来增多,频频出入多个国家的情况变得司空见惯。同时,随着物质生活和精神生活水平的提高,越来越多的人群选择跨国出境旅游,感受不一样的风土人情,将足迹留在世界各地。不论是商务人士的收发邮件、与同事远程沟通交流等工作需要,还是旅游观光人群跟家人联系、与朋友分享旅途见闻等需求,都使能随时随地上网的需求变得越来越强烈,单纯靠接入酒店、咖啡店等免费无线局域网(Wireless Fidelity,简称为wifi)上网已经远远不能满足人们需求。
目前基本每个国家的运营商对国际漫游流量收费都非常高额,通过使用本国客户识别模块(Subscriber Identity Module,简称为SIM)卡在其它国家漫游上网显然不可行。一种可能的选择是用户到一个国家就购买一张当地运营商SIM卡,手动更换到移动终端中,进行联网业务处理。但这就意味着用户需要频繁地购买SIM卡并更换到移动终端中,非常不方便。
相关技术中用户使用原SIM卡开通国际漫游进行联网使用,需要支付高昂的费用,而每到一个国家购买并更换上当地SIM卡到移动终端中则非常麻烦,给用户增加很多人力、时间和沟通成本等。
针对相关技术中终端在不同区域进行业务处理费用高昂的问题,目前尚未提出解决方案。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供了一种业务处理的方法及装置,以解决相关技术中终端在不同区域进行业务处理费用高昂的问题。
根据本发明实施例的一个方面,提供了一种业务处理的方法,包括:根据终端中预先存储的区域信息与所述终端中的客户识别模块(SIM)卡的第一映射关系,判断所述终端中是否存在与所述终端当前所在的区域对应的第一SIM卡;在判断结果为存在与所述终端当前所在的区域对应的所述第一SIM卡的情况下,利用所述第一SIM卡进行业务处理。
可选地,在根据终端中预先存储的区域信息与所述终端中的SIM卡的第一映射关系,判断所述终端中是否存在与所述终端当前所在的区域对应的第一SIM卡之前,所述方法还包括:读取所述终端中的SIM卡标识信息;将读取到的所述SIM卡标识信息发送给远程服务器;获取所述远程服务器根据所述SIM卡标识信息确定的所述第一映射关系。
可选地,所述终端中至少包含一个主SIM卡,所述主SIM卡支持在所述终端当前所在的区域进行业务处理,所述将读取到的所述SIM卡标识信息发送给所述远程服务器包括:通过所述主SIM卡将读取到的所述SIM卡标识信息发送给所述远程服务器。
可选地,在判断所述终端中是否存在与所述终端当前所在的区域对应的第一SIM卡之后,所述方法还包括:在判断结果为不存在与所述终端当前所在的区域对应的所述第一SIM卡的情况下,判断所述终端在存储了所述第一映射关系之后,所述终端中的SIM卡是否发生了变更或者远程服务器中的所述第一映射关系是否发生了变更;在判断结果为所述终端中的SIM卡发生了变更的情况下,读取所述终端中的变更后的SIM卡标识信息,并将读取到的所述变更后的SIM卡标识信息发送给远程服务器;获取所述远程服务器根据所述变更后的SIM卡标识信息生成的第二映射关系,并根据获取的所述第二映射关系对所述终端中存储的所述第一映射关系进行更新;或者,在判断结果为所述远程服务器中的所述第一映射关系变更为第三映射关系的情况下,获取所述第三映射关系,并根据获取的所述第三映射关系对所述终端中存储的所述第一映射关系进行更新。
可选地,在利用所述第一SIM卡进行业务处理之后,所述方法还包括:
判断所述终端中的SIM卡是否发生了变更或者远程服务器中的所述第一映射关系是否发生了变更;在判断结果为所述终端中的SIM卡发生了变更的情况下,读取所述终端中的变更后的SIM卡标识信息,并将读取到的所述变更后的SIM卡标识信息发送给远程服务器;获取所述远程服务器根据所述变更后的SIM卡标识信息确定的第四映射关系,并根据获取的所述第四映射关系对所述终端中存储的所述第一映射关系进行更新;或者,在判断结果为所述远程服务器中的所述第一映射关系变更为第五映射关系的情况下,获取所述第五映射关系,并根据获取的所述第五映射关系对所述终端中存储的所述第一映射关系进行更新。
可选地,在根据获取的所述第四映射关系或者所述第五映射关系对所述终端中存储的所述第一映射关系进行更新之后,所述方法还包括:判断在更新后的第一映射关系中,与所述终端当前所在的区域对应的第二SIM卡与所述第一SIM卡是否相同;在判断结果为不相同的情况下,利用所述第二SIM卡进行业务处理。
可选地,所述第一SIM卡的数量为两个以上,并且,所述两个以上第一SIM卡的业务优先级互不相同,利用所述第一SIM卡进行业务处理包括:获取所述两个以上第一SIM卡的业务优先级;根据获取的所述两个以上第一SIM卡的业务优先级确定业务优先级最高的SIM卡;利用所述优先级最高的SIM卡进行业务处理。
可选地,在利用所述优先级最高的SIM卡进行业务处理之后,所述方法还包括:当利用所述优先级最高的SIM卡进行业务处理失败的时间超过预定时长后,按照优先级从高到底的顺序从所述两个以上第一SIM卡中确定其他SIM卡;利用所述其他SIM卡进行业务处理。
可选地,在利用所述其他SIM卡进行业务处理之后,所述方法还包括:确定所述终端在利用所述其他SIM卡进行业务处理时,所述终端所处的第一小区;当确定所述终端离开所述第一小区后,重新利用所述优先级最高的第一SIM卡进行业务处理。
根据本发明实施例的另一个方面,还提供了一种业务处理的方法,包括,接收终端发送的终端中的SIM卡的SIM卡标识信息;根据接收到的所述SIM
卡标识信息,确定区域信息与所述SIM卡的第一映射关系;将所述第一映射关系发送给所述终端,以指示所述终端根据所述第一映射关系选择进行业务处理的第一SIM卡。
可选地,在将所述第一映射关系发送给所述终端之后,所述方法还包括:确定所述第一映射关系发生了变更;将所述第一映射关系更新为第六映射关系;将所述第六映射关系发送给所述终端。
可选地,确定所述第一映射关系发生了变更包括:确定用于生成区域信息和SIM卡的映射关系的映射策略发生了变化;和/或,接收到所述终端发送的所述终端中的变更后的SIM卡标识信息。
根据本发明实施例的再一个方面,还提供了一种业务处理的装置,包括:第一判断模块,设置为根据终端中预先存储的区域信息与所述终端中的SIM卡的第一映射关系,判断所述终端中是否存在与所述终端当前所在的区域对应的第一SIM卡;第一业务模块,设置为在所述第一判断模块的判断结果为存在与所述终端当前所在的区域对应的所述第一SIM卡的情况下,利用所述第一SIM卡进行业务处理。
可选地,所述装置还包括:
读取模块,设置为在所述第一判断模块根据终端中预先存储的区域信息与所述终端中的SIM卡的第一映射关系,判断所述终端中是否存在与所述终端当前所在的区域对应的第一SIM卡之前,读取所述终端中的SIM卡标识信息;
第一发送模块,设置为将读取到的所述SIM卡标识信息发送给远程服务器;
第一获取模块,设置为获取所述远程服务器根据所述SIM卡标识信息确定的所述第一映射关系。
可选地,所述第一发送模块包括:发送单元,设置为在所述终端中至少包含一个主SIM卡,所述主SIM卡支持在所述终端当前所在的区域进行业务处理的情况下,通过所述主SIM卡将所述SIM卡所述标识信息发送给所述远程服务器。
可选地,所述装置还包括:
第二判断模块,设置为在所述第一判断模块判断所述终端中是否存在与所述终端当前所在的区域对应的第一SIM卡之后,在判断结果为不存在与所述终端当前所在的区域对应的所述第一SIM卡的情况下,判断所述终端在存储了所述第一映射关系之后,所述终端中的SIM卡是否发生了变更或者远程服务器中的所述第一映射关系是否发生了变更;
第二获取模块,设置为在所述第二判断模块的判断结果为所述终端中的SIM卡发生了变更的情况下,读取所述终端中的变更后的SIM卡标识信息,并将读取到的所述变更后的SIM卡标识信息发送给远程服务器;获取所述远程服务器根据所述变更后的SIM卡标识信息确定的第二映射关系,并根据获取的所述第二映射关系对所述终端中存储的所述第一映射关系进行更新;或者,
第三获取模块,设置为在所述第二判断模块的判断结果为所述远程服务器中的所述第一映射关系变更为第三映射关系的情况下,获取所述第三映射关系,并根据获取的所述第三映射关系对所述终端中存储的所述第一映射关系进行更新。
可选地,所述装置还包括:
第三判断模块,设置为在所述第一业务模块利用所述第一SIM卡进行业务处理之后,判断所述终端中的SIM卡是否发生了变更或者远程服务器中的所述第一映射关系是否发生了变更;
第四获取模块,设置为在所述第三判断模块的判断结果为所述终端中的SIM卡发生了变更的情况下,读取所述终端中的变更后的SIM卡标识信息,并将读取到的所述变更后的SIM卡标识信息发送给远程服务器;获取所述远程服务器根据所述变更后的SIM卡标识信息确定的第四映射关系,并根据获取的所述第四映射关系对所述终端中存储的所述第一映射关系进行更新;或者,
第五获取模块,设置为在所述第三判断模块的判断结果为所述远程服务器中的所述第一映射关系变更为第五映射关系的情况下,获取所述第五映射关系,并根据获取的所述第五映射关系对所述终端中存储的所述第一映射关
系进行更新。
可选地,所述装置还包括:
第四判断模块,设置为在所述第四获取模块根据获取的所述第四映射关系或者所述第五获取模块根据获取的所述第五映射关系对所述终端中存储的所述第一映射关系进行更新之后,判断在所述更新后的第一映射关系中,与所述终端当前所在的区域对应的第二SIM卡与所述第一SIM卡是否相同;
第二业务模块,设置为在所述第四判断模块的判断结果为不相同的情况下,利用所述第二SIM卡进行业务处理。
可选地,所述SIM卡的数量为两个以上,并且,所述两个以上第一SIM卡的业务优先级互不相同,所述第一业务模块包括:获取单元,设置为获取所述两个以上第一SIM卡的业务优先级;第一确定单元,设置为根据获取的所述两个以上第一SIM卡的业务优先级确定业务优先级最高的SIM卡;业务单元,设置为利用所述优先级最高的SIM卡进行业务处理。
可选地,所述装置还包括:
第一确定模块,设置为在所述第一业务模块利用所述优先级最高的SIM卡进行业务处理之后,当利用所述优先级最高的SIM卡进行业务处理失败的时间超过预定时长后,按照优先级由高到低的顺序从所述两个以上第一SIM卡中确定其他SIM卡;
第三业务模块,设置为利用所述其他SIM卡进行业务处理。
可选地,所述装置还包括:
第二确定模块,设置为在所述第三业务模块利用所述其他SIM卡进行业务处理之后,确定所述终端在利用所述其他SIM卡进行业务处理时,所述终端所处的第一小区;
第四业务模块,设置为当确定所述终端离开所述第一小区后,重新利用所述优先级最高的第一SIM卡进行业务处理。
根据本发明实施例的又一个方面,还提供了一种业务处理的装置,包括:
接收模块,设置为接收终端发送的终端中的SIM卡的SIM卡标识信息;
生成模块,设置为根据接收到的所述SIM卡标识信息,确定区域信息与所述SIM卡的第一映射关系;
第二发送模块,设置为将所述第一映射关系发送给所述终端,以指示所述终端根据所述第一映射关系选择进行业务处理的第一SIM卡。
可选地,所述装置还包括:
第三确定模块,设置为在所述第二发送模块将所述第一映射关系发送给所述终端之后,确定所述第一映射关系发生了变更;
更新模块,设置为将所述第一映射关系更新为第六映射关系;
第三发送模块,设置为将所述第六映射关系发送给所述终端。
可选地,所述第三确定模块包括:第二确定单元,设置为确定用于生成区域信息和SIM卡的映射关系的映射策略发生了变化;和/或,第三确定单元,设置为接收到所述终端发送的所述终端中的变更后的SIM卡标识信息。
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现终端侧的上述业务处理的方法。
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现服务器侧的上述业务处理的方法。
通过本发明实施例,采用根据终端中预先存储的区域信息与所述终端中的SIM卡的第一映射关系,判断所述终端中是否存在与所述终端当前所在的区域对应的第一SIM卡;在判断结果为存在与所述终端当前所在的区域对应的所述第一SIM卡的情况下,利用所述第一SIM卡进行业务处理的方法,通过在终端中设置一个或多个SIM卡,并预先存储一个或多个SIM卡与不同区域的映射关系,可以使得终端在相应区域时根据映射关系使用相应的第一SIM卡进行业务处理,解决了相关技术中终端在不同区域进行业务处理费用高昂的问题,进而达到了用户在不同区域进行业务处理时费用相对低廉的效果,提高了用户的体验度。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是根据本发明实施例的业务处理的方法的流程图一;
图2是根据本发明实施例的业务处理的方法的流程图二;
图3是根据本发明实施例的业务处理的装置的结构框图一;
图4是根据本发明实施例的业务处理的装置的可选结构框图一;
图5是根据本发明实施例的业务处理的装置中的第一发送模块44的结构框图;
图6是根据本发明实施例的业务处理的装置的可选结构框图二;
图7是根据本发明实施例的业务处理的装置的可选结构框图三;
图8是根据本发明实施例的业务处理的装置的可选结构框图四;
图9是根据本发明实施例的业务处理的装置中的第一业务模块34的结构框图;
图10是根据本发明实施例的业务处理的装置的可选结构框图五;
图11是根据本发明实施例的业务处理的装置的可选结构框图六;
图12是根据本发明实施例的业务处理的装置的结构框图二;
图13是根据本发明实施例的业务处理的装置的可选结构框图七;
图14是根据本发明实施例的业务处理的装置中的第三确定模块132的结构框图;
图15是根据本发明实施例的多SIM卡移动终端自动切卡方法的移动终端首次开机操作的流程图;
图16是根据本发明实施例的多SIM卡移动终端自动切卡方法的移动终端非首次开机操作的流程图;
图17为本实施例提供的映射表里不支持当前国家MCC(Mobile Country Code,移动国家码)情况处理的流程示意图;
图18为本实施例提供的丢失网络信号切卡处理的流程示意图。
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
在本实施例中提供了一种业务处理的方法,图1是根据本发明实施例的业务处理的方法的流程图一,如图1所示,该方法包括如下步骤:
步骤S102,根据终端中预先存储的区域信息与终端中的客户识别模块(SIM)卡的第一映射关系,判断终端中是否存在与该终端当前所在的区域对应的第一SIM卡;
步骤S104,在判断结果为存在与该终端当前所在的区域对应的第一SIM卡的情况下,利用第一SIM卡进行业务处理。
本实施例中,终端中预先存储的SIM卡的数量可以为一个,也可以为多个。在终端中预先存储的SIM卡的数量为一个的情况下,第一SIM卡即为终端中预先存储的那张SIM卡,在终端中预先存储的SIM卡的数量为多个的情况下,可以选择与当前区域对应的第一SIM卡进行业务处理,这里,第一SIM卡可以有一张,也可以有多张,当存在多张第一SIM卡时,可以仅选择多张第一SIM卡中的部分SIM卡进行业务处理。通过上述步骤,在终端中预先存储SIM卡与不同区域的映射关系,可以使得终端在相应区域时,根据映射关系选择使用相应的SIM卡进行业务处理,解决了相关技术中终端在不同区域进行业务处理费用高昂的问题,进而达到了用户在不同区域进行业务处理时费用相对低廉的效果,提高了用户的体验度。
在步骤S102之前,终端中预先存储的第一映射关系可以是用户通过终端设置的,还可以是终端从服务器处获取的。在一个可选的实施例中,终端获取第一映射关系的方法可以包括:读取终端中的SIM卡标识信息,其中,SIM卡与SIM卡标识信息一一对应,例如,该标识信息可以为集成电路卡识别码(Integrate Circuit Card Identity,简称为ICCID)信息;将读取到的SIM
卡标识信息发送给远程服务器;获取远程服务器根据SIM卡标识信息确定的第一映射关系。在该可选实施例中,终端通过与远程服务器的交互获取了第一映射关系,节省了用户进行手动设置的时间,并且可靠性高。
上述可选实施例中的将读取到的SIM卡的标识信息发送给远程服务器,需要先进行与远程服务器的数据业务连接。在一个可选的实施例中,可以采取如下方法实现:终端中至少包含一个主SIM卡,主SIM卡支持在终端当前所在的区域进行业务漫游处理,可以通过主SIM卡将读取到的SIM卡标识信息发送给远程服务器。在该可选实施例中,主SIM支持在终端当前所在区域漫游业务,需要以较高的费用在当前所在的区域进行业务处理,以将终端中的SIM卡的标识信息发送给远程服务器。事实上,只要支持在当前所在的区域进行漫游业务,都可以完成在当前所在的区域进行数据业务,不一定是用户预先设定的主SIM卡。本实施例中在主SIM卡处于漫游状态,可以通过主SIM卡将终端中所有SIM卡的标识信息发送到远程服务器,以获得第一映射关系,从而选择与当前区域对应的第一SIM卡进行业务处理,成功做到以较低的费用进行业务处理。
以上实施例及可选实施例都是在步骤S104中判断结果为存在与当前所在的区域对应的第一SIM卡的前提下,当在判断结果为不存在与该终端当前所在的区域对应的第一SIM卡的情况下,在一个可选的实施例中,本实施例的方法还可以包括如下步骤:判断终端在存储了第一映射关系之后,终端中的SIM卡是否发生了变更或者远程服务器中的第一映射关系是否发生了变更;在判断结果为终端中的SIM卡发生了变更的情况下,读取该终端中的变更后的SIM卡标识信息,将读取到的该变更后的SIM卡标识信息发送给远程服务器;获取远程服务器根据变更后的SIM卡标识信息生成的第二映射关系,并根据获取的第二映射关系对终端中存储的第一映射关系进行更新;或者,在判断结果为远程服务器中的第一映射关系变更为第三映射关系的情况下,获取述第三映射关系,并根据获取的述第三映射关系对终端中存储的第一映射关系进行更新。在该可选实施例中,如果判断结果为不存在与当前所在的区域对应的第一SIM卡,那么可以首先判断终端中的SIM卡信息是否发生了变更,如果没有发生变更,映射关系一般是不会发生变化的,终端选
择不去远程服务器中获取映射关系。如果SIM卡发生了变更,则获取终端中的SIM卡的标识信息或者仅获取变更信息,并发送给远程服务器,以获取远程服务器生成的第二映射关系,该第二映射关系可以与第一映射关系相同,此时说明了终端中确实不存在与当前所在的区域对应的第一SIM卡;该第二映射关系也可以与第一映射关系不同,此时终端依据步骤S102、步骤S104中的方法,根据预先存储的第二映射关系判断是否存在终端与当前所在的区域对应的新的SIM卡,如果存在的话,就利用该对应的新的SIM卡进行业务处理。如果判断结果为不存在与当前所在的区域对应的第一SIM卡,还可以判断远程服务器中的第一映射关系是否发生了变更,因为服务器的映射策略等发生了变化的话,终端中的SIM卡与终端当前所在区域的映射关系可能会发生变化,可能使得原来在第一映射关系中不存在与终端当前所在区域对应的SIM卡,变成存在与终端当前所在区域对应的第一SIM卡。
在一个可选的实施例中,在步骤S104之后,本实施例的方法还可以包括:判断终端中的SIM卡是否发生了变更或者远程服务器中的第一映射关系是否发生了变更;在判断结果为终端中的SIM卡发生了变更的情况下,读取终端中的变更后的SIM卡标识信息,并将读取到的变更后的SIM卡标识信息发送给远程服务器;获取远程服务器根据变更后的SIM卡标识信息确定的第四映射关系,并根据获取的第四映射关系对终端中存储的第一映射关系进行更新;或者,在判断结果为远程服务器中的第一映射关系变更为第五映射关系的情况下,获取第五映射关系,并根据获取的第五映射关系对终端中存储的第一映射关系进行更新。在该可选的实施例中,终端可以根据预先存储的第一存储关系得到与终端当前所在区域对应的第一SIM卡,但在终端根据第一映射关系利用第一SIM卡进行业务处理后,还可以继续关注远程服务器中第一映射关系是否发生了更新,或者终端中的SIM卡的信息是否存在变更,这样终端可以获得更新后的第四映射关系或第五映射关系,以便终端至少在下次可以根据最新的映射关系选择对应的SIM卡。
在一个可选的实施例中,上述实施例中在根据获取的第四映射关系或者第五映射关系对终端中存储的第一映射关系进行更新之后,还可以进行如下操作:判断在更新后的第一映射关系中,与终端当前所在的区域对应的第二
SIM卡与第一映射关系中对应的第一SIM卡是否相同;在判断结果为不相同的情况下,利用第二SIM卡进行业务处理。在终端当前所在的区域不变更的情况下,终端可以根据最新获得的映射关系,选择与当前所在的区域对应的第二SIM卡进行业务处理。
当第一SIM卡的数量为两个以上,并且,两个以上第一SIM卡的业务优先级互不相同时,可以利用任意一个第一SIM卡进行业务处理,在一个可选的实施例中,利用第一SIM卡进行业务处理可以包括:获取两个以上第一SIM卡的业务优先级;根据获取的两个以上第一SIM卡的业务优先级确定业务优先级最高的SIM卡;利用优先级最高的SIM卡进行业务处理。在该可选的实施例中,当与终端当前所在区域存在多个第一SIM卡时,选择优先级最高的第一SIM卡进行业务处理,可以在一定程度上提高用户的体验度。
在上述可选实施例中,在利用优先级最高的SIM卡进行业务处理之后,所述方法还可以包括:当利用优先级最高的SIM卡进行业务处理失败的时间超过预定时长后,按照优先级从高到低的顺序从两个以上第一SIM卡中确定其他SIM卡;利用其他SIM卡进行业务处理。在本实施例中,如果优先级最高的SIM卡的网络质量不好或者欠费等原因,造成优先级最高的SIM卡进行业务处理失败的时间超过预定时长后,依据优先级顺序确定使用其他SIM卡来进行业务处理,可以保证终端很快地利用其他SIM卡继续进行业务处理。
在上述可选实施例中,在利用其他SIM卡进行业务处理之后,可以在无其他情况下一直使用其他SIM卡进行业务处理,在一个可选的实施例中,还可以包括:确定终端在利用其他SIM卡进行业务处理时,终端所处的第一小区;当确定终端离开第一小区后,重新利用优先级最高的第一SIM卡进行业务处理。本可选实施例中,优先级最高的第一SIM卡可能由于网络信号状况不佳在第一小区进行业务处理失败,当终端离开第一小区后,可以使终端尽快恢复至利用优先级最高的第一SIM卡进行业务处理,提高用户的体验度。
上述可选实施例中,业务优先级可以由用户根据喜欢设置,也可以根据资费协议和/或SIM卡接入网络的网络质量确定。
以上实施例及可选实施例是在终端侧进行的描述,下面在服务器侧对于
本发明实施例的业务处理的方法进行说明。
本发明实施例还提供了一种业务处理的方法,图2是根据本发明实施例的业务处理的方法的流程图二,如图2所示,该方法包括如下步骤:
步骤S202:接收终端发送的终端中的客户识别模块(SIM)卡的SIM卡标识信息;
步骤S204:根据接收到的SIM卡标识信息,确定区域信息与SIM卡的第一映射关系;
步骤S206:将第一映射关系发送给终端,以指示终端根据第一映射关系选择进行业务处理的第一SIM卡。
通过上述步骤,采用根据终端发送过来的终端中的SIM卡标识信息,确定终端中的SIM卡与区域信息的第一映射关系,并发送给终端,可以指示终端在当前所在区域根据第一映射关系,选择与当前所在区域对应的第一SIM卡进行业务处理,解决了相关技术中终端在不同区域进行业务处理费用高昂的问题,进而达到了用户在不同区域进行业务处理时费用相对低廉的效果,提高了用户的体验度。
在一个可选的实施例中,在步骤S206之后,本实施例的方法还可以包括:确定第一映射关系发生了变更;将第一映射关系更新为第六映射关系;将第六映射关系发送给终端。在本可选实施例中,第一映射关系发生了变化,远程服务器和终端中都获得了最新的第六映射关系。该第六映射关系,可以为上述可选实施例中的第二映射关系或第三映射关系,也可以为上述可选实施例中的第四映射关系或者第五映射关系。
在一个可选的实施例中,确定第一映射关系发生了变更可以包括:确定用于生成区域信息和SIM卡的映射关系的映射策略发生了变化;和/或,接收到终端发送的终端中的变更后的SIM卡标识信息。即在映射关系的映射策略,或者终端中的SIM卡,发生了变化的情况下,远程服务器可以确定第一映射关系发生了变化,并进行更新。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,也可以
通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
在本实施例中还提供了业务处理的装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图3是根据本发明实施例的业务处理的装置的结构框图一,如图3所示,该装置包括第一判断模块32和第一业务模块34,下面对该装置进行说明。
第一判断模块32,设置为根据终端中预先存储的区域信息与终端中的SIM卡的第一映射关系,判断该终端中是否存在与该终端当前所在的区域对应的SIM卡;
第一业务模块34,连接于第一判断模块32,设置为在第一判断模块32的判断结果为存在与该终端当前所在的区域对应的第一SIM卡的情况下,利用第一SIM卡进行业务处理。
图4是根据本发明实施例的业务处理的装置的可选结构框图一,如图4所示,该装置除包括图3所示的所有模块外,还包括读取模块42、第一发送模块44和第一获取模块46,下面对该装置进行说明。
读取模块42,设置为在所述第一判断模块32根据终端中预先存储的区域信息与终端中的SIM卡的第一映射关系,判断该终端中是否存在与终端当前所在的区域对应的第一SIM卡之前,读取该终端中的SIM卡标识信息;
第一发送模块44,连接于读取模块42,设置为将读取到的SIM卡标识信息发送给远程服务器;
第一获取模块46,连接于第一发送模块44和第一判断模块32,设置为获取远程服务器根据SIM卡标识信息确定的第一映射关系。
图5是根据本发明实施例的业务处理的装置中的第一发送模块44的结构框图,如图5所示,该第一发送模块44包括发送单元52,下面对该第一发送模块44进行说明。
发送单元52,设置为在终端中至少包含一个主SIM卡,主SIM卡支持在终端当前所在的区域进行业务处理的情况下,通过主SIM卡将读取到的SIM卡标识信息发送给远程服务器。
图6是根据本发明实施例的业务处理的装置的可选结构框图二,如图6所示,该装置除包括图3所示的所有模块外,还包括第二判断模块62、第二获取模块64或第三获取模块66,下面对该装置进行说明。
第二判断模块62,连接于第一判断模块32,设置为在第一判断模块32判断终端中是否存在与该终端当前所在的区域对应的第一SIM卡之后,在判断结果为不存在与该终端当前所在的区域对应的第一SIM卡的情况下,判断终端在存储了第一映射关系之后,终端中的SIM卡是否发生了变更或者远程服务器中的第一映射关系是否发生了变更;
第二获取模块64,连接于第二判断模块62,设置为在第二判断模块62的判断结果为终端中的SIM卡发生了变更的情况下,读取终端中的变更后的SIM卡标识信息,将读取到的变更后的SIM卡变更信息发送给远程服务器;获取远程服务器根据变更后的SIM卡标识信息确定的第二映射关系,并根据获取的第二映射关系对终端中存储的第一映射关系进行更新;或者,
第三获取模块66,连接于第二判断模块62,设置为在第二判断模块62的判断结果为远程服务器中的第一映射关系变更为第三映射关系的情况下,获取第三映射关系,并根据获取的第三映射关系对终端中存储的第一映射关系进行更新。
图7是根据本发明实施例的业务处理的装置的可选结构框图三,如图7所示,该装置除包括图3所示的所有模块外,还包括第三判断模块72、第四获取模块74或者第五获取模块76,下面对该装置进行说明。
第三判断模块72,连接于第一业务模块34,设置为在第一业务模块34利用第一SIM卡进行业务处理之后,判断终端中的SIM卡是否发生了变更或者远程服务器中的第一映射关系是否发生了变更;
第四获取模块74,连接于第三判断模块72,设置为在第三判断模块72的判断结果为终端中的SIM卡发生了变更的情况下,读取终端中的变更后的SIM卡标识信息,并将读取到的变更后的SIM卡标识信息发送给远程服务器;获取远程服务器根据变更后的SIM卡标识信息确定的第四映射关系,并根据获取的第四映射关系对终端中存储的第一映射关系进行更新;或者,
第五获取模块76,连接于上述第三判断模块72,设置为在第三判断模块72的判断结果为远程服务器中的第一映射关系变更为第五映射关系的情况下,获取第五映射关系,并根据获取的第五映射关系对终端中存储的第一映射关系进行更新。
图8是根据本发明实施例的业务处理的装置的可选结构框图四,如图8所示,该装置除包括图7所示的所有模块外,还包括第四判断模块82和第二业务模块84,下面对该装置进行说明。
第四判断模块82,连接于第四获取模块74和第五获取模块76,设置为在第四获取模块74根据获取的第四映射关系或者第五获取模块76根据获取的第五映射关系对终端中存储的第一映射关系进行更新之后,判断在更新后的第一映射关系中,与该终端当前所在的区域对应的第二SIM卡与第一映射关系中对应的第一SIM卡是否相同;
第二业务模块84,连接于第四判断模块82,设置为在第四判断模块82的判断结果为不相同的情况下,利用第二SIM卡进行业务处理。
图9是根据本发明实施例的业务处理的装置中的第一业务模块34的结构框图,如图9所示,该第一业务模块34包括获取单元92、第一确定单元94和业务单元96,下面对该第一业务模块34进行说明。
获取单元92,设置为在第一SIM卡的数量为两个以上,并且,这两个以上第一SIM卡的业务优先级互不相同的情况下,获取两个以上第一SIM卡的业务优先级;
第一确定单元94,连接于获取单元92,设置为根据获取的两个以上第一SIM卡的业务优先级确定业务优先级最高的SIM卡;
业务单元96,连接于第一确定单元94,设置为利用优先级最高的SIM
卡进行业务处理。
图10是根据本发明实施例的业务处理的装置的可选结构框图五,如图10所示,该装置除了包括图9中所有模块外,还包括第一确定模块102和第三业务模块104,下面对该装置进行说明。
第一确定模块102,连接于第一业务模块34,设置为在第一业务模块34利用优先级最高的SIM卡进行业务处理之后,当利用优先级最高的SIM卡进行业务处理失败的时间超过预定时长后,按照优先级由高到低的顺序从两个以上第一SIM卡中确定其他SIM卡;
第三业务模块104,连接于第二确定模块102,设置为利用其他SIM卡进行业务处理。
图11是根据本发明实施例的业务处理的装置的可选结构框图六,如图11所示,该装置除了包括图10中所有模块外,还包括第二确定模块112和第四业务模块114,下面对该装置进行说明。
第二确定模块112,连接于第三业务模块104,设置为在第三业务模块104利用其他SIM卡进行业务处理之后,确定终端在利用其他SIM卡进行业务处理时,该终端所处的第一小区;
第四业务模块114,连接于第三确定模块112,设置为当确定该终端离开第一小区后,重新利用优先级最高的第一SIM卡进行业务处理。
上述每个实施例及可选实施例中,业务优先级可以为根据资费协议和/或SIM卡接入网络的网络质量确定。
以上每个实施例及可选实施例可以是从终端侧来进行说明的,下面可以从服务器侧对本发明实施例的业务处理的装置进行说明。
本发明实施例还提供了一种业务处理的装置,图12是根据本发明实施例的业务处理的装置的结构框图二,如图12所示,该装置包括接收模块122、生成模块124和第二发送模块126,下面对该装置进行说明。
接收模块122,设置为接收终端发送的终端中的SIM卡的SIM卡标识信息;
生成模块124,连接于接收模块122,设置为根据接收到的SIM卡标识
信息,确定区域信息与SIM卡的第一映射关系;
第二发送模块126,连接于生成模块124,设置为将第一映射关系发送给终端,以指示该终端根据第一映射关系选择进行业务处理的第一SIM卡。
图13是根据本发明实施例的业务处理的装置的可选结构框图七,如图13所示,该装置除了包括图12中所有模块外,还包括第三确定模块132、更新模块134和第三发送模块136,下面对该装置进行说明。
第三确定模块132,连接于第二发送模块126,设置为在第二发送模块126将第一映射关系发送给终端之后,确定第一映射关系发生了变更;
更新模块134,连接于第三确定模块132,设置为将第一映射关系更新为第六映射关系;
第三发送模块136,连接于更新模块134,设置为将第六映射关系发送给该终端。
图14是根据本发明实施例的业务处理的装置中的第三确定模块132的结构框图,如图14所示,该第三确定模块132包括第二确定单元142和/或第三确定单元144,下面对该第三确定模块132进行说明。
第二确定单元142,设置为确定用于生成区域信息和SIM卡的映射关系的映射策略发生了变化;第三确定单元144,设置为接收到终端发送的该终端中的变更后的SIM卡标识信息。
下面以不同区域为不同国家、终端为移动终端为例,该移动终端能够支持插多张SIM卡,结合具体实施环境对本发明实施例的业务处理的方法进行说明。
一种多SIM卡移动终端自动切卡的方法(也即是本发明实施例的业务处理的方法)的说明如下:
移动终端能插入多张SIM卡,卡槽1作为默认的主SIM卡,该卡的联网接入点名称(Access Point Name,简称为APN)已知,并且该卡能在多国进行漫游。终端首次开机加电的时候或者恢复出厂设置后开机,终端使用主SIM卡注册联网,并读取所有卡槽的SIM卡标识信息,例如ICCID信息(以下都以标识信息为ICCID信息为例进行说明),发送到远程服务器。远程服
务器根据终端所插SIM卡ICCID信息,生成相应的国家卡映射表供移动终端获取,映射表中包含移动国家码(Mobile Country Code,简称为MCC)、ICCID、APN信息、个人识别密码(Personal Identification Number,简称为PIN)码(code)等信息,即通过MCC可以查到该国家可用的SIM卡信息。国家卡映射表有自己的版本号记录,如果映射表有更新,版本号会升级。终端获取到映射表后保存,然后自动进行重启,根据映射表选择当前国家对应的SIM卡上电,并使用该SIM卡对应的APN信息联网,可选地,如果该SIM卡进行了锁PIN,需要先在联网之前用该SIM卡对应的PIN code解锁PIN。
之后的每次开机不再使用主SIM卡联网,直接根据当前的国家码MCC从当前保存的国家卡映射表里选择对应的SIM卡注册联网。联网后同样需要把当前终端所有卡槽的SIM卡ICCID信息发送到远程服务器,并检测服务器上的映射表版本号是否有更新,如果检测有更新需要删除当前保存的映射表,重新获取保存新的映射表。如果新的映射表里修改了当前所在国家MCC对应的SIM卡记录,则终端自动重启,重新选择更新后对应的SIM卡联网。否则不重启。
如果当前的国家码MCC没有包含在映射表里,需要判断本次开机的SIM卡映射表(list)跟上次开机时是否有变化,包括新增和移除过SIM卡,如果没有变化,则不主动发起注册联网动作。如果SIM卡有变化,则先使用主SIM卡联网,把当前终端所有卡槽的SIM卡ICCID信息发送到远程服务器,并检测服务器上映射表是否有更新,如果映射表没有更新,或者获取到的更新后的映射表里依然没有包含当前国家的MCC,说明当前国家没有对应的可用SIM卡,则断开主SIM卡的联网,不再自动联网。如果更新后的映射表里包含进了当前国家的MCC,终端则自动重启,重新使用当前国家对应的SIM卡上电联网。
允许在终端卡槽中插入同一个国家的多张SIM卡,即一个国家的MCC对应多张SIM卡,映射表里增加优先级这个参数,当一个MCC对应多条SIM卡记录时,服务器端会根据资费协议情况、网络覆盖情况等策略设定优先级顺序,优先使用最高优先级的SIM卡注册联网,如果不成功或者丢失信号时间超过设定的门限值,则自动发起切换到次优先级的SIM卡上,如此循环。
如果一个国家只对应了一张SIM卡,则在丢失信号后,只要MCC没变,即国家没变,都不发起重启切换卡动作,只有检测到MCC变了,即从一个国家移动到了另外一个国家,则终端自动发起重启切卡动作。
在一个国家对应有多张SIM卡的时候,如果当前使用的不是最高优先级的卡,则记录下当前的Cell ID信息,每隔固定的时长判断一下是否设备移动到了新的小区识别码(Cell Identification,简称为Cell ID),如果是的话,自动尝试切换到高优先级卡。因为在高优先级卡支持的网络无信号时,自动切换到了低优先级卡,但相关技术包括3GPP协议都不支持在使用一张SIM卡的时候,获取另一张SIM卡的网络是否恢复的信息。通过记录小区信息Cell ID这个方案可以解决高优先级卡网络已经恢复但还长期使用低优先级卡的问题,不需要只有在低优先级卡网络无信号时,才重新发起切卡流程。
根据上述一种多SIM卡移动终端自动切卡的方法,本发明实施例还提供了一种多SIM卡移动终端自动切卡系统,包括:移动终端和远程服务器,下面对该系统进行说明。
移动终端:支持插入多张SIM卡,负责首次开机使用主SIM卡联网,向远程服务器上报终端内所有已插入的SIM卡ICCID信息并从服务器获取国家卡映射表,然后自动进行重启,根据映射表选择当前国家对应的SIM卡上电,并使用该SIM卡对应的APN信息联网;后续每次开机都根据获取的国家码MCC,从上次保存的映射表中找到对应的SIM卡联网,并从服务器检查映射表更新。当一个国家对应多张SIM卡时,优先使用最高优先级卡注册联网,当高优先级卡不可用时自动执行切换到次优先级卡的操作;当使用的是非最高优先级卡时,负责记录Cell ID信息,并间隔一定的时间判断Cell ID是否发生变化,如果变化,则自动发起切换到高优先级卡的操作。
远程服务器:负责接收移动终端发送的当前所插SIM卡ICCID信息列表,根据ICCID列表和设定的策略生成国家和卡的映射表供移动终端获取,当策略或卡信息有变化时更新映射表,升级映射表版本号,通过该映射表版本号的变化指示移动终端保存的映射表的更新。
图15是根据本发明实施例的多SIM卡移动终端自动切卡方法的移动终端首次开机操作的流程图,如图15所示,该方法包括以下步骤:
步骤S1502:移动终端插入多张SIM卡,卡槽1作为默认的主SIM卡,该卡的联网APN已知,并且该卡能在多国进行漫游。
步骤S1504:移动终端首次开机或者恢复出厂设置后开机,使用主SIM卡注册联网。
步骤S1506:移动终端读取所有卡槽的SIM卡ICCID信息发送到远程服务器。
步骤S1508:远程服务器根据终端所插SIM卡ICCID信息,生成相应的国家卡映射表。国家卡映射表有自己的版本号记录,如果映射表有更新,版本号会升级。
步骤S1510:移动终端从服务器获取到映射表后保存,然后自动进行重启,根据映射表选择当前国家对应的SIM卡上电,并使用该SIM卡对应的APN信息联网,可选地,如果该SIM卡进行了锁PIN,需要先在联网之前用该SIM卡对应的PIN code解锁PIN。如果当前国家MCC在映射表里找不到对应可用的SIM卡则不进行自动联网操作。
图16是根据本发明实施例的多SIM卡移动终端自动切卡方法的移动终端非首次开机操作的流程图,如图16所示,该方法包括以下步骤:
步骤S1602:移动终端非首次开机,直接根据当前的国家码MCC从终端上次保存的国家卡映射表里选择对应的SIM卡注册联网。当前国家MCC在映射表里找不到对应可用的SIM卡情况处理流程见图17;
步骤S1604:联网成功后把当前终端所有卡槽的SIM卡ICCID信息发送到远程服务器;
步骤S1606:检测服务器上的映射表版本号是否有更新;
步骤S1608:如果检测有更新需要删除当前保存的映射表,重新获取保存新的映射表;
步骤S1610:判断新的映射表里是否修改了当前所在国家MCC对应的SIM卡记录;
步骤S1612:如果当前所在国家MCC对应的SIM卡有变化,终端自动重启,重新选择更新后对应的SIM卡联网;
步骤S1614:映射表无更新,或者当前所在国家MCC对应的SIM卡信息无更新,继续保持当前SIM卡连接。
图17为本实施例提供的映射表里不支持当前国家MCC情况处理的流程示意图,如图17所示,该流程包括以下步骤:
步骤S1702:移动终端检索发现当前的国家码MCC没有包含在映射表里,即映射表不支持当前国家;
步骤S1704:判断本次开机的SIM卡列表跟上次开机时是否有变化,包括新增和移除过SIM卡;
步骤S1706:如果SIM卡列表没有变化,则本次开机不主动发起注册联网动作;
步骤S1708:如果SIM卡有变化,则先使用主SIM卡联网;
步骤S1710:把当前终端所有卡槽的SIM卡ICCID信息发送到远程服务器;
步骤S1712:检测服务器上映射表是否有更新,且更新后的映射表里是否有当前国家MCC对应的SIM卡;
步骤S1714:如果有更新且更新后的映射表里当前国家的MCC有对应的SIM可用,则终端自动重启,切换到当前国家对应的SIM卡上电联网;
步骤S1716:如果映射表没有更新,或者获取到的更新后的映射表里依然没有包含当前国家的MCC,说明当前国家没有对应的可用SIM卡,则断开主SIM卡的联网,不再自动联网。
图18为本实施例提供的丢失网络信号切卡处理的流程示意图,如图18所示,该流程包括以下步骤:
步骤S1802:移动终端使用当前SIM卡过程中信号丢失时间超过设定的时长,比如3分钟。
步骤S1804:检测MCC是否有变化。
步骤S1806:如果MCC变化说明从一个国家移动到了另外一个国家,则终端根据映射表自动发起重启切卡流程。
步骤S1808:如果MCC没有变化,说明还在本国,判断映射表里本国MCC是否有对应到其它较低优先级的SIM卡。
步骤S1810:如果有,则自动重启选择较低优先级的SIM卡尝试注册联网。尝试设定的时长,比如3分钟仍不成功则再次发起切换,如此循环。
步骤S1812:如果没有其它优先级卡存在了,则不处理,继续使用当前SIM卡,等待网络信号恢复。
步骤S1814:当终端切换到低优先级卡成功联网使用时,记录下当前的Cell ID信息。
步骤S1816:每隔固定的时长判断一下是否终端移动到了新的Cell ID。
步骤S1818:如果Cell ID有变化,则自动尝试切换回到高优先级卡。Cell ID没变化则不发起切卡。
相关技术中使用原SIM卡开通国际漫游进行联网使用,需要支付高昂的费用,而每到一个国家就购买并更换上当地SIM卡到移动终端中则非常麻烦,给用户增加很多人力、时间和沟通成本等。结合上述实施例,本发明实施例提供了一种支持插多张SIM卡的移动终端、远程服务器及系统,并且终端可以根据当前网络情况实现自动切换到最优SIM卡,利用本发明实施例可以很好地解决频繁出入多个国家的人群的上网问题,通过每次联网后从服务器检测和获取映射表更新,能够及时升级切换策略和支持的到访国家。通过引入优先级的概念,可以支持同一个国家对应多张SIM卡,当最高优先级SIM卡支持的网络信号不可用时,能自动切换到较低优先级SIM卡使用。同时,在使用低优先级SIM卡时,通过记录当前小区的Cell ID,并定时检测Cell ID是否变化来知道用户位置是否移动,从而决定是否尝试切换回高优先级SIM卡,进而解决了由于相应技术不支持在使用一个网络的SIM卡时检测另一个网络信号是否恢复所导致的用户已经回到高优先级SIM卡对应的网络覆盖区还继续使用低优先级SIM卡的问题。
为了帮助本领域的技术人员理解本发明实施例,下面举例说明本发明实施例的应用场景:
应用场景一:用户要去欧洲多国游,从服务商处租借一台便携式移动上
网设备,该设备里服务商已经预先插入了欧洲这几个国家的SIM卡。当用户到达一个国家开机后,会自动使用该国家的SIM卡注册联网,到了另外一个国家,又会自动重启选择对应国家的SIM卡注册联网,无需支付高昂的国际漫游上网费用。
应用场景二:用户正在使用当地国收费最低的A运营商的SIM卡上网,随后移动到了一个A运营商网络没有覆盖的区域,在找不到网超过3分钟后,设备自动重启,切换到同国收费较高的B运营商的SIM卡上,如果B运营商的SIM卡也在3分钟内没注册联上网,则继续切换到A运营商卡尝试注册联网,如此重复。如果当前B运营商SIM卡成功联网,记录下Cell ID信息,每隔15分钟判断一下Cell ID是否有变化,一旦发现Cell ID变化,则再次尝试切换回收费最低、优先级最高的A运营商SIM卡使用,以便能最大限度地节省上网费用。
需要说明的是,上述每个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。
本发明实施例还提供了一种计算机可读存储介质。可选地,在本实施例中,上述计算机可读存储介质可以被设置为存储用于执行以下步骤的程序代码:
步骤S11,根据终端中预先存储的区域信息与终端中的SIM卡的第一映射关系,判断终端中是否存在与该终端当前所在的区域对应的第一SIM卡;
步骤S12,在判断结果为存在与该终端当前所在的区域对应的第一SIM卡的情况下,利用第一SIM卡进行业务处理。
可选地,在本实施例中,处理器根据计算机可读存储介质中已存储的程序代码执行上述步骤S11和步骤S12。
可选地,计算机可读存储介质还被设置为存储用于执行以下步骤的程序代码:
步骤S21,接收终端发送的终端中的SIM卡的SIM卡标识信息;
步骤S22,根据接收到的SIM卡标识信息,确定区域信息与SIM卡的第
一映射关系;
步骤S23,将第一映射关系发送给终端,以指示终端根据第一映射关系选择进行业务处理的第一SIM卡。
可选地,在本实施例中,处理器根据计算机可读存储介质中已存储的程序代码执行上述步骤S21至步骤S23。
可选地,在本实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
本领域的技术人员应该明白,上述的本申请的模块或步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。
以上所述仅为本申请的可选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。
本申请实施例提供一种业务处理的方法及装置,解决了相关技术中终端在不同区域进行业务处理费用高昂的问题,进而达到了用户在不同区域进行业务处理时费用相对低廉的效果,提高了用户的体验度。
Claims (24)
- 一种业务处理的方法,包括:根据终端中预先存储的区域信息与所述终端中的客户识别模块SIM卡的第一映射关系,判断所述终端中是否存在与所述终端当前所在的区域对应的第一SIM卡;在判断结果为存在与所述终端当前所在的区域对应的所述第一SIM卡的情况下,利用所述第一SIM卡进行业务处理。
- 根据权利要求1所述的方法,在根据终端中预先存储的区域信息与所述终端中的SIM卡的第一映射关系,判断所述终端中是否存在与所述终端当前所在的区域对应的第一SIM卡之前,所述方法还包括:读取所述终端中的SIM卡标识信息;将读取到的所述SIM卡标识信息发送给远程服务器;获取所述远程服务器根据所述SIM卡标识信息确定的所述第一映射关系。
- 根据权利要求2所述的方法,其中,所述终端中至少包含一个主SIM卡,所述主SIM卡支持在所述终端当前所在的区域进行业务处理,所述将读取到的所述SIM卡标识信息发送给所述远程服务器包括:通过所述主SIM卡将读取到的所述SIM卡标识信息发送给所述远程服务器。
- 根据权利要求1所述的方法,在判断所述终端中是否存在与所述终端当前所在的区域对应的第一SIM卡之后,所述方法还包括:在判断结果为不存在与所述终端当前所在的区域对应的所述第一SIM卡的情况下,判断所述终端在存储了所述第一映射关系之后,所述终端中的SIM卡是否发生了变更或者远程服务器中的所述第一映射关系是否发生了变更;在判断结果为所述终端中的SIM卡发生了变更的情况下,读取所述终端中的变更后的SIM卡标识信息,并将读取到的所述变更后的SIM卡标识信 息发送给远程服务器;获取所述远程服务器根据所述变更后的SIM卡标识信息确定的第二映射关系,并根据获取的所述第二映射关系对所述终端中存储的所述第一映射关系进行更新;或者,在判断结果为所述远程服务器中的所述第一映射关系变更为第三映射关系的情况下,获取所述第三映射关系,并根据获取的所述第三映射关系对所述终端中存储的所述第一映射关系进行更新。
- 根据权利要求1所述的方法,在利用所述第一SIM卡进行业务处理之后,所述方法还包括:判断所述终端中的SIM卡是否发生了变更或者远程服务器中的所述第一映射关系是否发生了变更;在判断结果为所述终端中的SIM卡发生了变更的情况下,读取所述终端中的变更后的SIM卡标识信息,并将读取到的所述变更后的SIM卡标识信息发送给远程服务器;获取所述远程服务器根据所述变更后的SIM卡标识信息确定的第四映射关系,并根据获取的所述第四映射关系对所述终端中存储的所述第一映射关系进行更新;或者,在判断结果为所述远程服务器中的所述第一映射关系变更为第五映射关系的情况下,获取所述第五映射关系,并根据获取的所述第五映射关系对所述终端中存储的所述第一映射关系进行更新。
- 根据权利要求5所述的方法,在根据获取的所述第四映射关系或者所述第五映射关系对所述终端中存储的所述第一映射关系进行更新之后,所述方法还包括:判断在更新后的第一映射关系中,与所述终端当前所在的区域对应的第二SIM卡与所述第一SIM卡是否相同;在判断结果为不相同的情况下,利用所述第二SIM卡进行业务处理。
- 根据权利要求1所述的方法,其中,所述第一SIM卡的数量为两个以上,并且,所述两个以上第一SIM卡的业务优先级互不相同,所述利用所述第一SIM卡进行业务处理包括:获取所述两个以上第一SIM卡的业务优先级;根据获取的所述两个以上第一SIM卡的业务优先级确定业务优先级最高的SIM卡;利用所述优先级最高的SIM卡进行业务处理。
- 根据权利要求7所述的方法,在利用所述优先级最高的SIM卡进行业务处理之后,所述方法还包括:当利用所述优先级最高的SIM卡进行业务处理失败的时间超过预定时长后,按照优先级从高到底的顺序从所述两个以上第一SIM卡中确定其他SIM卡;利用所述其他SIM卡进行业务处理。
- 根据权利要求8所述的方法,在利用所述其他SIM卡进行业务处理之后,所述方法还包括:确定所述终端在利用所述其他SIM卡进行业务处理时,所述终端所处的第一小区;当确定所述终端离开所述第一小区后,重新利用所述优先级最高的第一SIM卡进行业务处理。
- 一种业务处理的方法,包括,接收终端发送的终端中的客户识别模块SIM卡的SIM卡标识信息;根据接收到的所述SIM卡标识信息,确定区域信息与所述SIM卡的第一映射关系;将所述第一映射关系发送给所述终端,以指示所述终端根据所述第一映射关系选择进行业务处理的第一SIM卡。
- 根据权利要求10所述的方法,在将所述第一映射关系发送给所述终端之后,所述方法还包括:确定所述第一映射关系发生了变更;将所述第一映射关系更新为第六映射关系;将所述第六映射关系发送给所述终端。
- 根据权利要求11所述的方法,其中,所述确定所述第一映射关系 发生了变更包括:确定用于生成区域信息和SIM卡的映射关系的映射策略发生了变化;和/或,接收到所述终端发送的所述终端中的变更后的SIM卡标识信息。
- 一种业务处理的装置,包括:第一判断模块,设置为根据终端中预先存储的区域信息与所述终端中的客户识别模块SIM卡的第一映射关系,判断所述终端中是否存在与所述终端当前所在的区域对应的第一SIM卡;第一业务模块,设置为在所述第一判断模块的判断结果为存在与所述终端当前所在的区域对应的所述第一SIM卡的情况下,利用所述第一SIM卡进行业务处理。
- 根据权利要求13所述的装置,所述装置还包括,读取模块,设置为在所述第一判断模块根据终端中预先存储的区域信息与所述终端中的SIM卡的第一映射关系,判断所述终端中是否存在与所述终端当前所在的区域对应的第一SIM卡之前,读取所述终端中的SIM卡标识信息;第一发送模块,设置为将读取到的所述SIM卡标识信息发送给远程服务器;第一获取模块,设置为获取所述远程服务器根据所述SIM卡标识信息确定的所述第一映射关系。
- 根据权利要求14所述的装置,其中,所述第一发送模块包括:发送单元,设置为在所述终端中至少包含一个主SIM卡,所述主SIM卡支持在所述终端当前所在的区域进行业务处理的情况下,通过所述主SIM卡将读取到的所述SIM卡标识信息发送给所述远程服务器。
- 根据权利要求13所述的装置,所述装置还包括:第二判断模块,设置为在所述第一判断模块判断所述终端中是否存在与所述终端当前所在的区域对应的第一SIM卡之后,在判断结果为不存在与所 述终端当前所在的区域对应的所述第一SIM卡的情况下,判断所述终端在存储了所述第一映射关系之后,所述终端中的SIM卡是否发生了变更或者远程服务器中的所述第一映射关系是否发生了变更;第二获取模块,设置为在所述第二判断模块的判断结果为所述终端中的SIM卡发生了变更的情况下,读取所述终端中的变更后的SIM卡标识信息,并将读取到的所述变更后的SIM卡标识信息发送给远程服务器;获取所述远程服务器根据所述变更后的SIM卡标识信息确定的第二映射关系,并根据获取的所述第二映射关系对所述终端中存储的所述第一映射关系进行更新;或者,第三获取模块,设置为在所述第二判断模块的判断结果为所述远程服务器中的所述第一映射关系变更为第三映射关系的情况下,获取所述第三映射关系,并根据获取的所述第三映射关系对所述终端中存储的所述第一映射关系进行更新。
- 根据权利要求13所述的装置,所述装置还包括:第三判断模块,设置为在所述第一业务模块利用所述第一SIM卡进行业务处理之后,判断所述终端中的SIM卡是否发生了变更或者远程服务器中的所述第一映射关系是否发生了变更;第四获取模块,设置为在所述第三判断模块的判断结果为所述终端中的SIM卡发生了变更的情况下,读取所述终端中的变更后的SIM卡标识信息,并将读取到的所述变更后的SIM卡标识信息发送给远程服务器;获取所述远程服务器根据所述变更后的SIM卡标识信息确定的第四映射关系,并根据获取的所述第四映射关系对所述终端中存储的所述第一映射关系进行更新;或者,第五获取模块,设置为在所述第三判断模块的判断结果为所述远程服务器中的所述第一映射关系变更为第五映射关系的情况下,获取所述第五映射关系,并根据获取的所述第五映射关系对所述终端中存储的所述第一映射关系进行更新。
- 根据权利要求17所述的装置,所述装置还包括,第四判断模块,设置为在所述第四获取模块根据获取的所述第四映射关系或者所述第五获取模块根据获取的所述第五映射关系对所述终端中存储的所述第一映射关系进行更新之后,判断在更新后的第一映射关系中,与所述终端当前所在的区域对应的第二SIM卡与所述第一SIM卡是否相同;第二业务模块,设置为在所述第四判断模块的判断结果为不相同的情况下,利用所述第二SIM卡进行业务处理。
- 根据权利要求13所述的装置,其中,所述第一SIM卡的数量为两个以上,并且,所述两个以上第一SIM卡的业务优先级互不相同,所述第一业务模块包括:获取单元,设置为获取所述两个以上第一SIM卡的业务优先级;第一确定单元,设置为根据获取的所述两个以上第一SIM卡的业务优先级确定业务优先级最高的SIM卡;业务单元,设置为利用所述优先级最高的SIM卡进行业务处理。
- 根据权利要求19所述的装置,所述装置还包括:第一确定模块,设置为在所述第一业务模块利用所述优先级最高的SIM卡进行业务处理之后,当利用所述优先级最高的SIM卡进行业务处理失败的时间超过预定时长后,按照优先级由高到低的顺序从所述两个以上第一SIM卡中确定其他SIM卡;第三业务模块,设置为利用所述其他SIM卡进行业务处理。
- 根据权利要求20所述的装置,所述装置还包括:第二确定模块,设置为在所述第三业务模块利用所述其他SIM卡进行业务处理之后,确定所述终端在利用所述其他SIM卡进行业务处理时,所述终端所处的第一小区;第四业务模块,设置为当确定所述终端离开所述第一小区后,重新利用所述优先级最高的第一SIM卡进行业务处理。
- 一种业务处理的装置,包括,接收模块,设置为接收终端发送的终端中的客户识别模块SIM卡的SIM 卡标识信息;生成模块,设置为根据接收到的所述SIM卡标识信息,确定区域信息与所述SIM卡的第一映射关系;第二发送模块,设置为将所述第一映射关系发送给所述终端,以指示所述终端根据所述第一映射关系选择进行业务处理的第一SIM卡。
- 根据权利要求22所述的装置,所述装置还包括,第三确定模块,设置为在所述第二发送模块将所述第一映射关系发送给所述终端之后,确定所述第一映射关系发生了变更;更新模块,设置为将所述第一映射关系更新为第六映射关系;第三发送模块,设置为将所述第六映射关系发送给所述终端。
- 根据权利要求23所述的装置,其中,所述第三确定模块包括:第二确定单元,设置为确定用于生成区域信息和SIM卡的映射关系的映射策略发生了变化;和/或,第三确定单元,设置为接收到所述终端发送的所述终端中的变更后的SIM卡标识信息。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510675620.XA CN106604261A (zh) | 2015-10-15 | 2015-10-15 | 业务处理的方法及装置 |
CN201510675620.X | 2015-10-15 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016198001A1 true WO2016198001A1 (zh) | 2016-12-15 |
Family
ID=57503007
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/086257 WO2016198001A1 (zh) | 2015-10-15 | 2016-06-17 | 业务处理的方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106604261A (zh) |
WO (1) | WO2016198001A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112188591A (zh) * | 2020-08-20 | 2021-01-05 | 深圳市广和通无线通信软件有限公司 | 网络接入方法、装置、计算机设备和存储介质 |
CN114827347A (zh) * | 2022-04-18 | 2022-07-29 | 北京小米移动软件有限公司 | 终端设备中区域信息的处理方法及其装置 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109257734A (zh) * | 2017-07-13 | 2019-01-22 | 西安中兴新软件有限责任公司 | 一种实现用户识别卡切换的方法及装置 |
KR102513814B1 (ko) | 2018-10-15 | 2023-03-23 | 후아웨이 테크놀러지 컴퍼니 리미티드 | 단말 구성 방법 및 장치 |
CN114916161B (zh) * | 2021-02-09 | 2024-02-27 | Oppo广东移动通信有限公司 | 电子设备及控制方法 |
CN115065965B (zh) * | 2022-03-30 | 2024-05-31 | 捷德(江西)技术有限公司 | 信息显示方法、存储方法、装置及用户识别卡和设备 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101198127A (zh) * | 2007-12-29 | 2008-06-11 | 宇龙计算机通信科技(深圳)有限公司 | 一种双卡双待移动终端设备自动选择主卡的方法 |
CN102075630A (zh) * | 2011-01-21 | 2011-05-25 | 惠州Tcl移动通信有限公司 | 一种自动切换sim卡待机方式的移动终端及方法 |
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 (zh) * | 2013-03-12 | 2013-06-19 | 广东欧珀移动通信有限公司 | 一种在移动终端多张sim卡之间动态切换的方法及装置 |
-
2015
- 2015-10-15 CN CN201510675620.XA patent/CN106604261A/zh active Pending
-
2016
- 2016-06-17 WO PCT/CN2016/086257 patent/WO2016198001A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101198127A (zh) * | 2007-12-29 | 2008-06-11 | 宇龙计算机通信科技(深圳)有限公司 | 一种双卡双待移动终端设备自动选择主卡的方法 |
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 (zh) * | 2011-01-21 | 2011-05-25 | 惠州Tcl移动通信有限公司 | 一种自动切换sim卡待机方式的移动终端及方法 |
CN103167476A (zh) * | 2013-03-12 | 2013-06-19 | 广东欧珀移动通信有限公司 | 一种在移动终端多张sim卡之间动态切换的方法及装置 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112188591A (zh) * | 2020-08-20 | 2021-01-05 | 深圳市广和通无线通信软件有限公司 | 网络接入方法、装置、计算机设备和存储介质 |
CN112188591B (zh) * | 2020-08-20 | 2023-08-18 | 深圳市广和通无线通信软件有限公司 | 网络接入方法、装置、计算机设备和存储介质 |
CN114827347A (zh) * | 2022-04-18 | 2022-07-29 | 北京小米移动软件有限公司 | 终端设备中区域信息的处理方法及其装置 |
Also Published As
Publication number | Publication date |
---|---|
CN106604261A (zh) | 2017-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016198001A1 (zh) | 业务处理的方法及装置 | |
US10117163B2 (en) | Network access method and mobile communication terminal | |
CN101932079B (zh) | 公众陆地移动通信网选择方法及装置 | |
WO2016173376A1 (zh) | 一种网络接入方法和移动通信终端 | |
WO2018176689A1 (zh) | 信息处理方法及相关设备和计算机程序 | |
WO2016173372A1 (zh) | 一种网络接入方法和移动通信终端 | |
KR101857514B1 (ko) | Rplmn 정보의 업데이트 방법 및 사용자 장비 | |
CN101610450A (zh) | 一种网络选择方法及设备 | |
CN108601017B (zh) | 一种基于用户终端的搜网控制方法及用户终端 | |
WO2016173377A1 (zh) | 一种网络接入方法和移动通信终端 | |
CN104796962B (zh) | 一种选网方法和装置 | |
EP3468260B1 (en) | Method and device for reducing power consumption of terminal, and smart card | |
WO2016173370A1 (zh) | 一种网络接入方法和移动通信终端 | |
WO2012080377A1 (en) | Ip-based paging for dsds | |
KR101022027B1 (ko) | 글로벌 로밍시의 사업자 네트워크 선택절차 개선을 위한 로밍설정방법 및 사용자 단말 | |
TW201038106A (en) | Commnication apparatus and method for integrating cell measurement procedures | |
US20150195711A1 (en) | Method and System for Terminal to Access Network and Terminal | |
JP2011511481A (ja) | マルチ・ネットワーク環境におけるplmnの選択 | |
CN102209324A (zh) | 移动终端接入无线局域网热点的方法及移动终端 | |
WO2008141563A1 (fr) | Procédé, terminal et système de sélection de cellule | |
CN107466085B (zh) | 网络接入方法和相关产品 | |
JP2013118681A (ja) | ClosedSubscriberGroupの手動による選択を行なうための方法、および、関連する通信装置 | |
US20170188296A1 (en) | Wireless communication system and wireless communication method | |
US20230413034A1 (en) | PRIMARY eSIM ACTIVATION FOR WIRELESS DEVICE WITH PHYSICAL SIM | |
WO2018068536A1 (zh) | 网络切换方法及终端 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16806899 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16806899 Country of ref document: EP Kind code of ref document: A1 |