WO2019062381A1 - Information processing method, device and mobile terminal, and computer readable storage medium - Google Patents
Information processing method, device and mobile terminal, and computer readable storage medium Download PDFInfo
- Publication number
- WO2019062381A1 WO2019062381A1 PCT/CN2018/101357 CN2018101357W WO2019062381A1 WO 2019062381 A1 WO2019062381 A1 WO 2019062381A1 CN 2018101357 W CN2018101357 W CN 2018101357W WO 2019062381 A1 WO2019062381 A1 WO 2019062381A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sim card
- virtual sim
- card data
- mobile terminal
- mcc
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
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
- H04W8/20—Transfer of user or subscriber data
- H04W8/205—Transfer to or from user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
- H04W74/08—Non-scheduled access, e.g. ALOHA
- H04W74/0833—Random access procedures, e.g. with 4-step access
- H04W74/0841—Random access procedures, e.g. with 4-step access with collision treatment
- H04W74/085—Random access procedures, e.g. with 4-step access with collision treatment collision avoidance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Definitions
- the present application relates to the field of computer technology, and in particular, to an information processing method, apparatus, mobile terminal, and computer readable storage medium.
- the user can choose to purchase the SIM card of the local operator or open the roaming service of the SIM card in the mobile terminal to connect to the mobile network.
- the international roaming fee of the SIM card is relatively expensive, and frequent replacement of the SIM card may cause inconvenience to the user.
- the embodiment of the present application provides an information processing method, apparatus, mobile terminal, and computer readable storage medium, which can use a virtual SIM card data connection network when the MCC changes and there is no network.
- An information processing method includes:
- the network is connected according to the virtual SIM card data.
- An information processing apparatus comprising:
- An acquiring module configured to acquire a virtual SIM card data set preset by the mobile terminal when the MCC change is detected and the mobile terminal is not connected to the network;
- a selection module configured to select, according to a preset rule, virtual SIM card data corresponding to an IMEI number of the mobile terminal from the virtual SIM card data set;
- connection module configured to connect to the network according to the virtual SIM card data.
- a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the operations of the methods described above.
- a mobile terminal comprising a memory and a processor, the memory storing computer readable instructions, the instructions being executed by the processor to cause the processor to perform the operations of the method as described above.
- the corresponding virtual SIM card data connection network is selected according to the IMEI number of the mobile terminal, and the network can be conveniently provided for the user to purchase the traffic resource under the condition of no network.
- the virtual SIM card data is selected by the IMEI number, which reduces the conflict caused by different mobile terminals using the same virtual SIM card data connection network, and reduces the collision probability.
- FIG. 1 is an application environment diagram of an information processing method in an embodiment
- FIG. 2 is a partial structural diagram of a mobile terminal in an embodiment
- FIG. 3 is a sequence diagram of interaction between a mobile terminal and a server in an embodiment
- FIG. 4 is a schematic diagram showing the internal structure of a server in an embodiment
- Figure 5 is a flow chart of an information processing method in an embodiment
- Figure 6 is a block diagram showing the structure of an information processing apparatus in an embodiment
- Figure 7 is a block diagram showing the structure of an information processing apparatus in another embodiment
- Figure 8 is a block diagram showing the structure of an information processing apparatus in another embodiment
- Figure 9 is a block diagram showing the structure of an information processing apparatus in another embodiment.
- FIG. 10 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present application.
- FIG. 1 is an application environment diagram of an information processing method in an embodiment.
- the application environment includes a server 110 and a mobile terminal 120.
- the server 110 is a server used by the virtual network operator to provide network traffic to the mobile terminal 120, and may be a cloud server.
- the server 110 can provide the mobile terminal 120 with virtual subscriber identity module (SIM) card information and a service for implementing network communication using the virtual SIM card.
- SIM subscriber identity module
- the mobile terminal 120 may be provided with a virtual SIM card application (Application, APP) 121, a virtual SIM card operating system 122, and a virtual SIM card adaptation layer 123.
- the virtual SIM card APP 121, the virtual SIM card operating system 122, and the virtual SIM card adaptation layer 123 can all be disposed in an application processor (AP) on the mobile terminal 120.
- the server 110 can send virtual SIM card information to the virtual SIM card operating system 122 through the virtual SIM card APP 121.
- the virtual SIM card operating system 122 can be implemented and configured in the baseband processor through the virtual SIM card adaptation layer 123. , the radio frequency communication control software in BP, communicates to realize network communication using a virtual SIM card.
- the server 110 can provide the virtual SIM card APP 121 related interface of the mobile terminal 120, and implement communication with the mobile terminal 120 through the interface.
- the interface may include user and device management, package and order management, and encrypted transmission of SIM resources.
- Server 110 may provide an associated interface to virtual SIM card APP 121 in a RESTful Application Programming Interface (API) manner.
- the virtual SIM card information includes, but is not limited to, basic information of the virtual SIM card, order information of the virtual SIM card purchase, traffic usage information of the virtual SIM card, deadline information, and the like.
- the modules included in the architecture diagram are modules related to a virtual SIM card.
- the application layer of the mobile terminal may be provided with a virtual SIM card operating system, a virtual SIM card adaptation layer, a virtual SIM card APP, and a phone book/information module.
- a Telephony interface layer and a Radio Interface Layer java layer may be disposed in the framework layer.
- the modem can be a module consisting of a baseband processor, a radio frequency, and other peripheral chips, and is a GSM/GPRS Modem.
- the Telephony interface layer is used to provide a common interface.
- the virtual SIM card operating system interacts with the Modem through the Telephony interface layer to determine whether there is a virtual card or a card slot where the virtual card is located.
- the virtual SIM card operating system performs Socket interaction with the Modem switched to the virtual SIM card channel through the virtual SIM card adaptation layer, and can implement activation and shutdown of the virtual card and network communication functions using the virtual SIM card.
- FIG. 2 is only a part of the modules related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
- the specific computer device may include Show more or fewer modules, or combine some modules, or have different module layouts.
- a dual card management module can also be provided on the framework layer, and the dual card management module can communicate with the Telephony interface layer.
- the mobile terminal can provide a management operation interface of the virtual SIM card to the user through the virtual SIM card APP, and generate a corresponding virtual SIM card processing instruction when detecting an operation related to the management operation interface. And send the processing instruction to the virtual SIM card operating system.
- the virtual SIM card operating system can simulate the system logic of a real SIM card, and implements a protocol and file system for performing related specifications required for network communication.
- the virtual SIM card operating system can receive the processing instruction from the virtual SIM card App, send a message corresponding to the processing instruction to the Modem through the virtual SIM card adaptation layer, and receive the response information of the Modem, and jointly implement the network by using the virtual SIM card. Communication function.
- the above related specifications of the agreement may include the International Organization for Standardization (ISO) 7816 and the 3rd Generation Partnership Project (3GPP) on the Universal Integrated Circuit Card (UICC) and the general purpose A protocol such as the Universal Subscriber Identity Module (USIM).
- ISO International Organization for Standardization
- 3GPP 3rd Generation Partnership Project
- UICC Universal Integrated Circuit Card
- USIM Universal Subscriber Identity Module
- the processing instructions may include a package purchase instruction, an enable instruction, a disable instruction, a close instruction, and the like for the respective virtual SIM card.
- the implemented content of the network communication using the virtual SIM card includes, but is not limited to, implementing interaction management of the virtual SIM card information, dynamic update of the status, and statistics and speed limit of the traffic, such as storing and deleting the virtual SIM card information.
- Virtual SIM card is enabled to be turned off, etc.
- a timing diagram is provided that includes the interaction between modules in a scenario of package purchase, activation, and failure of a virtual SIM card.
- the process of package purchase includes operations 301-306; the process of package activation includes operations 311-316; and the process of package failure includes operations 321-326.
- the mobile terminal When the mobile terminal detects the MCC change corresponding to the current mobile communication network and the mobile terminal is not connected to the network, that is, when the mobile terminal is in the no-network state, the mobile terminal can enable the preset virtual SIM card data to connect to the mobile communication network. After connecting the mobile communication network, the mobile terminal can connect to the data network communication to perform operations such as purchase and activation of the data package.
- the mobile terminal may select the virtual SIM card data corresponding to the mobile terminal according to an International Mobile Equipment Identity (IMEI).
- IMEI International Mobile Equipment Identity
- the above traffic refers to the number of bytes consumed by the mobile terminal after using the network communication after connecting to the network.
- the mobile terminal sends a virtual SIM card purchase request to the server through the virtual SIM card APP.
- the mobile terminal can display the virtual SIM card purchase interface to the user through the virtual SIM card APP, detect the purchase operation acting on the interface, trigger the purchase instruction according to the detected purchase operation, and send a virtual SIM card purchase request to the server.
- the virtual button of the purchase operation may be provided on the purchase interface, and when the click operation of the virtual button is received, the purchase instruction may be triggered, or the voice information corresponding to the purchase instruction may be detected or The purchase instruction is triggered when the information is moved. For example, the purchase instruction may be triggered when detecting the voice information including the “purchase virtual card” or the preset motion information such as shaking the mobile terminal up and down.
- the mobile terminal may send the virtual SIM card purchase request to the server through a preset communication interface between the virtual SIM card APP and the server.
- the purchase request includes a user identifier.
- the user identifier is used to uniquely identify the identity of the corresponding user, and may be composed of a preset number of digits, letters or other characters.
- the server acquires corresponding virtual SIM card package information according to the received virtual SIM card purchase request.
- the server may be a server for providing network traffic to the mobile terminal, and the server may acquire one or more virtual SIM card package information matching the purchase request according to the purchase request.
- the purchase request may further include location information of the mobile terminal, and the server may acquire one or more virtual SIM card package information that matches the location information.
- Each of the package information includes one or more field information such as a corresponding total amount of traffic, a valid time, and a price.
- the total amount of traffic indicates the total amount of Internet traffic that can be used for the package, such as 10 GB of Internet traffic.
- the effective time can include the effective duration of the package, such as 24 hours, 3 days or 7 days.
- the price indicates the fee information required to purchase the corresponding package.
- the server sends the virtual SIM card package information to the mobile terminal.
- the server may transmit, to the mobile terminal, virtual SIM card package information corresponding to the virtual SIM card purchase request that matches the request.
- virtual SIM card package information can be sent for user selection.
- the mobile terminal receives the package information through the virtual SIM card APP, and sends a package selection instruction to the server.
- the mobile terminal can receive the package information through the virtual SIM card APP and display it.
- the mobile terminal can detect the selection operation on the package information display interface through the virtual SIM card APP, determine the corresponding selected package according to the detected selection operation, generate a package selection instruction for the package, and send the package selection instruction.
- the selected package may include one or more.
- the server receives the package selection command, and transmits the package data corresponding to the package selection command to the mobile terminal.
- the server may receive a package selection instruction sent by the mobile terminal, and identify the package information corresponding to the package selection instruction.
- the package selection instruction may include a package identifier of the selected package information, and the server may determine the package information corresponding to the package identifier, and obtain the package data corresponding to the package information.
- the package identifier is used to uniquely identify package information for one package.
- the package data contains basic data and traffic data of the virtual SIM card.
- the basic data includes the operator information of the virtual SIM card, the network access parameter information, the virtual SIM card identifier, and the like necessary for realizing virtual SIM card network communication.
- the traffic data includes information such as the size of the available traffic for the network communication and the effective time.
- the mobile terminal receives the package data through the virtual SIM card APP, and stores the package data through the virtual SIM card operating system.
- the mobile terminal can receive the package data sent by the server through the virtual SIM card APP, and forward the package data to the virtual SIM card operating system.
- the virtual SIM card operating system may send the received package data to the Modem of the mobile terminal through the virtual SIM card adaptation layer, and instruct the Modem to store the package data.
- the mobile terminal acquires a package activation instruction through the virtual SIM card APP.
- the mobile terminal can display the package activation interface through the virtual SIM card APP, and can detect the activation operation on the package information display interface through the virtual SIM card APP, and determine the corresponding activated package according to the detected activation operation, and generate the The package activation command of the package is sent to the server.
- the package activation command is sent to the virtual SIM card operating system through the virtual SIM card APP.
- the virtual SIM card APP sends a package activation instruction to the virtual SIM card operating system by using a preset communication manner with the virtual SIM card operating system, and the package activation instruction includes a package identifier corresponding to the to-be-activated package, so that the virtual SIM card operates.
- the system can determine the package to be activated according to the package identifier and the user identifier.
- the mobile terminal performs a package activation process through the virtual SIM card operating system.
- the virtual SIM card operating system can forward the package activation command to the Modem through the above-mentioned Telephony interface layer, and the Modem extracts the corresponding package data according to the received package activation command, and activates the corresponding package data.
- Operation 314 feeding back the activation processing result to the virtual SIM card APP through the virtual SIM card operating system.
- the virtual SIM card operating system can obtain the processing result of the activation process of the Modem, and send the obtained processing result to the virtual SIM card APP, and instruct the virtual SIM card APP to further feed back the activation processing result to the server.
- the virtual SIM card APP can display the activation processing result on the mobile terminal interface for the user to consult.
- the activation processing results may include the results of activation success and activation failure.
- the mobile terminal sends an activation use notification to the server through the virtual SIM card APP.
- the virtual SIM card APP may send the obtained activation processing result to the server through the preset interface, and when the activation processing result is successful, the mobile terminal further sends an activation use notification to the server through the virtual SIM card APP.
- the notification is used to instruct the server to start providing a service for network communication using the virtual SIM card.
- the server receives the activation usage notification and feeds back to the mobile terminal response information for initiating the package monitoring.
- the server After receiving the activation use notification, the server starts the use service of the activated package data, and monitors the usage status of the package data according to a certain frequency, so as to provide a service for performing network communication by using the corresponding package data, and The response information of the APP feedback package monitoring of the mobile terminal. This allows the user to know the server to successfully open the network communication service.
- the mobile terminal acquires a package failure instruction through the virtual SIM card APP.
- the virtual SIM card APP may call a timer set in the mobile terminal to count the usage time of the package data, or may acquire the current time, and automatically trigger the package failure instruction when the package data has expired according to the usage time or the current acquisition time.
- the mobile terminal can display the package management interface through the virtual SIM card APP, and can detect the invalid operation acting on the package information display interface through the virtual SIM card APP, and determine the corresponding invalid package according to the detected invalid operation, and generate The package invalidation instruction for the package is sent to the server.
- the mobile terminal sends a package failure notification to the server through the virtual SIM card APP.
- the virtual SIM card APP may send a package failure notification to the server after detecting that the package data is invalid, and the notification is used to indicate to the server whether the related package is invalid.
- the notification carries the package identifier.
- the server receives the package failure notification and performs the package failure processing.
- the server may detect whether the corresponding package is invalid according to the received package failure notification, and if the confirmation is invalid, the package failure processing may be performed to terminate the network communication service of the corresponding package data.
- Operation 324 the server feeds back to the mobile terminal the confirmation information of the package failure.
- the mobile terminal receives the confirmation information through the virtual SIM card APP, and sends a package failure processing instruction to the virtual SIM card operating system.
- the mobile terminal After receiving the confirmation information that the package has expired, the mobile terminal generates a package invalidation processing instruction, and sends the processing instruction to the virtual SIM card operating system, where the instruction carries the package identifier.
- the mobile terminal virtual SIM card operating system performs package failure processing.
- the virtual SIM card operating system may further forward the package invalidation processing instruction to the Modem to instruct the Modem to delete the corresponding package data, or terminate the use of the package data for virtual SIM card communication, and further recover the entity involved in the mobile terminal. Normal communication of the SIM card.
- the server includes a processor, a non-volatile storage medium, an internal memory, and a network interface connected by a system bus.
- the processor is used to provide computing and control capabilities to support the operation of the entire computer device.
- the memory is used to store data, programs, and the like.
- the memory may include a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random storage memory (Random-Access-Memory, RAM).
- the memory includes a non-volatile storage medium and an internal memory.
- the non-volatile storage medium stores an operating system and stores data related to implementing an information processing method suitable for the computer device provided in the embodiments of the present application, such as storing a virtual SIM card APP on the computer device. Interface data, and related virtual SIM card information.
- the internal memory provides a cached operating environment for an operating system in a non-volatile storage medium and an information processing method suitable for the computer device.
- the network interface may be an Ethernet card or a wireless network card or the like for communicating with an external computer device.
- the server can be implemented with a stand-alone server or a server cluster consisting of multiple servers. It will be understood by those skilled in the art that the structure shown in FIG.
- FIG. 4 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the server to which the solution of the present application is applied.
- the specific server may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements.
- FIG. 5 is a flow chart of an information processing method in one embodiment. As shown in FIG. 5, an information processing method includes:
- the Mobile Country Code is a unified management and distribution of ITU that uniquely identifies the number of the country to which the mobile terminal belongs.
- the MCCs in different countries or regions are different.
- the MCC in mainland China is 460.
- the physical SIM card in the mobile terminal carries an International Mobile Subscriber Identification Number (IMSI) number, and the above IMSI number describes valid information for distinguishing mobile users, including MCC and the like. For example, if a user purchases a physical SIM card in mainland China, the MCC in the IMSI number in the physical SIM card is 460.
- IMSI International Mobile Subscriber Identification Number
- the mobile terminal When the mobile terminal detects the mobile communication network, the operator information of the current mobile communication network can be detected. Specifically, the mobile terminal can obtain the operator information of the current mobile communication network through the CTTelephonyNetworkInfo and CTCarrier types in the CoreTelephony Framework.
- the CTCarrier type can represent the operator information of the current mobile communication network, and the mobile terminal calls the subscriberCellularProvider in the CTTelephonyNetworkInfo to obtain the CTCarrier type.
- the CTCarrier type records the current mobile communication network MCC and the mobile network code (MNC), the above MNC. Is the number used to identify the mobile communication network.
- the mobile terminal may also call the subscriberCellularProviderDidUpdateNotifier to detect whether the carrier information of the current mobile communication network changes.
- the mobile terminal When the mobile terminal detects the change of the operator information of the current mobile communication network, it may further detect whether the MCC of the current mobile communication network changes. When the MCC of the current mobile communication network is detected to change, the current network state may be acquired. Specifically, the mobile terminal can directly obtain the current network status through Reachability, determine whether the mobile terminal is connected to the network, and the connected network is a Wireless-Fidelity (Wi-Fi) network or a cellular data network.
- Wi-Fi Wireless-Fidelity
- the virtual SIM card data set preset in the mobile terminal may be acquired.
- the virtual SIM card data is stored in the virtual SIM card data set.
- the virtual SIM card data is authentication information of the mobile communication network, and the mobile terminal can connect to the mobile communication network according to the virtual SIM card data, and then connect to the data network, so that the mobile terminal can communicate through the data network.
- the virtual SIM card data needs to occupy the SIM card slot when connecting to the mobile communication network.
- the mobile terminal has an empty SIM card slot
- the virtual SIM card slot can be directly occupied; when the mobile terminal does not have an empty SIM card slot
- the mobile terminal can switch the physical SIM card state to the standby state and occupy the card slot of the physical SIM card.
- the virtual SIM card data may be an IMSI number, and the IMSI number includes an MCC, an MNC, and a Mobile Subscriber Identification Number (MSIN), and the mobile terminal may connect to the mobile communication network according to the IMSI number, and then connect to the data network.
- the virtual SIM card data may be a number encoded according to a preset rule, and the virtual network operator may identify the number, and the mobile terminal may initiate a network connection request to the virtual network operator according to the number to connect to the mobile communication network. Reconnect to the data network.
- the foregoing preset rules may be rules agreed between the mobile terminal and the virtual network operator.
- Operation 504 Select virtual SIM card data corresponding to the mobile terminal's International Mobile Equipment Identity (IMEI) from the virtual SIM card data set according to a preset rule.
- IMEI International Mobile Equipment Identity
- the mobile terminal can obtain the IMEI number of the current mobile terminal, parse the IMEI number, and determine the virtual SIM card data corresponding to the IMEI number of the mobile terminal.
- the IMEI number is a number for uniquely identifying a mobile terminal, and the IMEI numbers of different mobile terminals are different.
- the single card mobile terminal has one IMEI number, and the dual card mobile terminal has two IMEI numbers.
- the IMEI number corresponds to the card slot in the mobile terminal.
- the mobile terminal is a single-card mobile terminal, the IMEI number of the mobile terminal can be directly obtained.
- the IMEI number corresponding to the SIM card slot occupied by the virtual SIM card data can be obtained.
- the mobile terminal is a dual-card mobile terminal, one IMEI number can also be randomly obtained.
- Operation 506 connecting the network according to the virtual SIM card data.
- the mobile terminal After obtaining the virtual SIM card data corresponding to the IMEI number of the mobile terminal, the mobile terminal may connect to the mobile communication network according to the virtual SIM card data. After connecting to the mobile communication network, connect to the data network.
- the mobile terminal can select a fixed virtual SIM card data connection network.
- assigning a fixed virtual SIM card data to each mobile terminal is costly, and allocating the same virtual SIM card data to multiple mobile terminals may result in a conflict between multiple mobile terminals.
- the method in the embodiment of the present application when detecting the current MCC change and the mobile terminal is not connected to the network, selects the corresponding virtual SIM card data connection network according to the IMEI number of the mobile terminal, and not only provides the network to facilitate the user to purchase the traffic under the condition of no network. Resources, the virtual SIM card data is selected by the IMEI number, which reduces the conflict caused by different mobile terminals using the same virtual SIM card data connection network, and reduces the collision probability.
- the method before acquiring the virtual SIM card data set preset by the mobile terminal, the method further includes: determining a number of the virtual SIM card data set according to the number of the preset position of the IMEI number, and acquiring the virtual SIM card data set corresponding to the number. Selecting the virtual SIM card data corresponding to the IMEI number of the mobile terminal from the virtual SIM card data set according to the preset rule includes randomly selecting one virtual SIM card data from the virtual SIM card data set corresponding to the number as the IMEI number of the mobile terminal. Corresponding virtual SIM card data.
- the virtual SIM card data set corresponds to a virtual SIM card data set number.
- the mobile terminal can obtain the virtual SIM card data set corresponding to the number. For example, the mobile terminal is pre-set with 100 virtual SIM card data sets, and each virtual SIM card data set has 600 virtual SIM card data.
- the mobile terminal parses the IMEI number to obtain the sequence number 23
- the virtual SIM card data set with the number 23 is searched as the virtual SIM card data set corresponding to the IMEI number of the mobile terminal.
- the mobile terminal may randomly select one virtual SIM card data in the virtual SIM card data set as the virtual SIM card data corresponding to the IMEI number of the mobile terminal.
- the mobile terminal can sort the virtual SIM card data in the virtual SIM card data set, for example, by name.
- the mobile terminal may generate one random number, and search for the corresponding virtual SIM card data in the virtual SIM card data set according to the random number. For example, if the random number acquired by the mobile terminal is 39, the 39th virtual SIM card data in the virtual SIM card data set is searched.
- the virtual SIM card data set is determined according to the preset number of the IMEI number, and the virtual SIM card data is randomly selected.
- the method before acquiring the virtual SIM card data set preset by the mobile terminal, the method further includes: acquiring a virtual SIM card data set corresponding to the current MCC. Selecting the virtual SIM card data corresponding to the IMEI number of the mobile terminal from the virtual SIM card data set according to the preset rule includes: selecting a virtual SIM card data as the virtual corresponding to the IMEI number of the mobile terminal according to the preset number of the IMEI number. The SIM card data, the virtual SIM card data is selected from the virtual SIM card data set corresponding to the current MCC.
- the virtual SIM card data set and the corresponding MCC may be pre-stored in the mobile terminal.
- the number of virtual SIM card data in the virtual SIM card data set corresponding to each MCC may be the same or different.
- the virtual SIM card data set corresponding to the current MCC may be searched. For example, if the MCC pre-stored by the mobile terminal is 262, the corresponding virtual SIM card data set number is 34, and when the current MCC is 262, the virtual SIM card data set numbered 34 can be searched as the virtual SIM card data corresponding to the current MCC. set.
- the mobile terminal can sort the virtual SIM card data in the virtual SIM card data set. After obtaining the serial number according to the preset number of the IMEI number, the mobile terminal may search the virtual SIM card data set for the virtual SIM card data corresponding to the serial number as the virtual SIM card data corresponding to the IMEI number of the mobile terminal. For example, the mobile terminal sorts the virtual SIM card data in the virtual SIM card data set according to the data size, and the mobile terminal obtains the 12th and 13th digits of the IMEI number as the serial number 56, and selects the 56th virtual SIM card in the virtual SIM card data set.
- the data is virtual SIM card data corresponding to the IMEI number of the mobile terminal.
- the mobile terminal may also randomly select one virtual SIM card data as the virtual SIM card data corresponding to the IMEI number of the mobile terminal.
- the mobile terminal may also generate a random number, and search the corresponding virtual SIM card data in the virtual SIM card data set according to the random number as the virtual SIM card data corresponding to the IMEI number of the mobile terminal.
- the virtual SIM card data is selected according to the MCC and the IMEI number, which reduces the probability that different mobile terminals select the same virtual SIM card data connection network at the same time, and reduces the conflict rate of different mobile terminals.
- the operation of preset the virtual SIM card data set includes: acquiring the preset number of virtual SIM card data sets; and equally dividing the virtual SIM card data according to the preset number of virtual SIM card data sets.
- the number of virtual SIM card data sets is pre-set in the mobile terminal.
- the mobile terminal can store the virtual SIM card data in equal parts in the virtual SIM card data set. For example, if the number of virtual SIM card data sets preset in the mobile terminal is 60, and the preset virtual SIM card data in the mobile terminal is 60,000, the mobile terminal can divide 6000 virtual card data into 60 copies, each serving. 1000 virtual SIM card data is stored in the corresponding virtual SIM card data set.
- the mobile terminal may also store the preset virtual SIM card data in the virtual SIM card data set according to the quantity increment/decrement.
- the operation of presetting the virtual SIM card data set includes:
- the mobile terminal can obtain the MCC of the above-mentioned country and region as the preset MCC by obtaining the country or region where the number of visits reaches the specified threshold.
- the mobile terminal may also sort the preset MCC according to the number of visits from high to low to obtain MCC sorting information.
- the mobile terminal can determine the number of virtual SIM card data sets according to the preset number of MCCs. For example, the mobile terminal obtains 37 countries or regions that have visited 10,000 times from the server, and the mobile terminal acquires the MCCs of the 37 countries or regions as the preset MCC, and determines the number of virtual SIM card data sets. .
- the mobile terminal can establish a correspondence between the MCC and the virtual SIM card data set.
- the virtual SIM card data set corresponding to the MCC with the highest number of visited times is numbered 1.
- the mobile terminal can determine the number of virtual SIM card data in the virtual SIM card data set based on the MCC ranking information. Specifically, the mobile terminal may determine the number of virtual SIM card data in the virtual SIM card data set according to the ratio of the number of visits corresponding to the MCC. For example, if the ratio of the number of visits of the MCC to 302, 310, and 314 is 3:2:1, the number of virtual SIM cards in the virtual SIM card data set corresponding to the MCC is 302, and the virtual SIM card data set corresponding to the MCC is 310.
- the ratio of the number of SIM cards to the number of virtual SIM cards in the virtual SIM card data set corresponding to MCC 314 is 3:2:1.
- the mobile terminal may also increment/decrement the number of virtual SIM card data in the virtual SIM card data set corresponding to the MCC according to the MCC sorting information. For example, the number of virtual SIM card data in the virtual SIM card data set corresponding to the MCC of sequence number is 1000, and the number of virtual SIM card data in the virtual SIM card data set corresponding to the MCC of sequence number 2 is 800 ⁇ analogy.
- the mobile terminal can also equally divide the virtual SIM card data, that is, the number of virtual SIM card data in each virtual SIM card data set is the same.
- the method in the embodiment of the present application determines the number of virtual SIM card data in the virtual SIM card data set according to the number of MCCs and the MCC ranking information, so that the number of virtual SIM card data in the virtual SIM card data set corresponding to different MCCs is different, and the number is reduced.
- a situation in which a plurality of mobile terminals in a popular country or region use the same virtual SIM card data to simultaneously connect to the network causes a conflict, and also avoids a waste of a large amount of virtual SIM card data corresponding to a country or region with less access.
- the above method further includes at least one of the following:
- the mobile terminal can preset the length of time that the virtual SIM card is connected to the network. When the duration of the virtual SIM card connecting to the network reaches a preset duration, the network connected according to the virtual SIM card data is disconnected. For example, the mobile terminal can preset the virtual SIM card data connection network for 10 minutes. When the mobile terminal connects to the network through the virtual SIM card for 10 minutes, the mobile terminal can disconnect the network connection according to the virtual SIM card data. After the mobile terminal downloads the traffic resource from the virtual network operator, the downloaded traffic resource can be stored. When the mobile terminal detects that the traffic resource corresponding to the current MCC has been stored, the network connected according to the virtual SIM card data is disconnected. The mobile terminal may also pop up a window prompting the user to activate the downloaded traffic resource corresponding to the current MCC.
- the information processing method in the embodiment of the present application limits the duration of the virtual SIM card data connection network, avoids the situation that a mobile terminal occupies the virtual SIM card data for too long, and the other mobile terminals cannot connect to the network, thereby reducing the use of the mobile terminal.
- the collision rate of the virtual SIM card data connection network limits the duration of the virtual SIM card data connection network, avoids the situation that a mobile terminal occupies the virtual SIM card data for too long, and the other mobile terminals cannot connect to the network, thereby reducing the use of the mobile terminal.
- the method further includes: comparing the current MCC with the MCC corresponding to the physical SIM card in the mobile terminal; if the current MCC is the same as the MCC corresponding to the physical SIM card, switching the virtual SIM card data to the closed state.
- the mobile terminal can compare the current MCC with the MCC in the IMSI number of the physical SIM card, and check whether the current MCC is the same as the MCC in the IMSI number of the physical SIM card.
- the mobile terminal can compare the current MCC with the MCC of the physical SIM card IMSI number, and if it detects that the current MCC is the same as the MCC of the physical SIM card IMSI number, the virtual SIM card data is Switch to the off state and release the SIM card slot occupied by the virtual SIM card data.
- the mobile terminal is a dual-card mobile terminal, the mobile terminal can compare the current MCC with the MCC of the two physical SIM card IMSI numbers respectively. If the current MCC is the same as the MCC of any one of the two SIM cards in the IMSI number, Then, the virtual SIM card data is switched to the off state, and the SIM card slot occupied by the virtual SIM card data is released.
- the mobile terminal After releasing the card slot occupied by the virtual SIM card data, the mobile terminal can re-use the physical SIM card to connect to the mobile communication network for communication.
- the information processing method in the embodiment of the present application closes the virtual SIM card data when detecting that the current MCC is the same as the MCC in the physical SIM card. That is, when it is detected that the mobile terminal is in the home country of the SIM card or the local area, the virtual SIM card data is closed, so that the mobile terminal can enable the physical SIM card, and the physical SIM card is used to connect the communication.
- FIG. 6 is a block diagram showing the structure of an information processing apparatus in an embodiment. As shown in FIG. 6, an information processing apparatus includes:
- the obtaining module 602 is configured to acquire a virtual SIM card data set preset by the mobile terminal when the MCC change is detected and the mobile terminal is not connected to the network;
- the selecting module 604 is configured to select virtual SIM card data corresponding to the IMEI number of the mobile terminal from the virtual SIM card data set according to the preset rule.
- the connection module 606 is configured to connect to the network according to the virtual SIM card data.
- the obtaining module 602 is further configured to: before obtaining the virtual SIM card data set preset by the mobile terminal, determine the number of the virtual SIM card data set according to the preset number of the IMEI number, and obtain the virtual SIM card corresponding to the number.
- the data collection; the selection module 604 is further configured to randomly select one virtual SIM card data from the virtual SIM card data set corresponding to the number as the virtual SIM card data corresponding to the IMEI number of the mobile terminal.
- the obtaining module 602 is further configured to acquire a virtual SIM card data set corresponding to the current MCC before acquiring the virtual SIM card data set preset by the mobile terminal;
- the selecting module 604 is further configured to preset the location according to the IMEI number. The number selects a virtual SIM card data as virtual SIM card data corresponding to the IMEI number of the mobile terminal, and the virtual SIM card data is selected from the virtual SIM card data set corresponding to the current MCC.
- Fig. 7 is a block diagram showing the structure of an information processing apparatus in another embodiment.
- an information processing apparatus includes: a configuration module 702, an acquisition module 704, a selection module 706, and a connection module 708.
- the obtaining module 704, the selecting module 706, and the connecting module 708 have the same functions as the corresponding modules in FIG. 6. among them:
- the configuration module 702 is configured to obtain a preset number of virtual SIM card data sets, and divide the virtual SIM card data according to the preset number of virtual SIM card data sets.
- the configuration module 702 is further configured to acquire a preset MCC quantity and MCC ordering information; determine a quantity of the virtual SIM card data set according to the preset number of MCCs; and establish a correspondence between the MCC and the virtual SIM card data set, The number of virtual SIM card data in the virtual SIM card data set is determined according to the MCC ordering information.
- FIG. 8 is a block diagram showing the structure of an information processing apparatus in another embodiment.
- an information processing apparatus includes: an obtaining module 802, a selecting module 804, a connecting module 806, and a disconnecting module 808.
- the obtaining module 802, the selecting module 804, and the connecting module 806 have the same functions as the corresponding modules in FIG. 7.
- the disconnection module 808 is configured to disconnect the network connected according to the virtual SIM card data when the mobile terminal connects to the network according to the virtual SIM card data for a preset duration.
- the disconnection module 808 is further configured to disconnect the network according to the virtual SIM card data connection when the mobile terminal has stored the traffic resource corresponding to the current MCC.
- FIG. 9 is a block diagram showing the structure of an information processing apparatus in another embodiment.
- an information processing apparatus includes: an obtaining module 902, a selecting module 904, a connecting module 906, a comparing module 908, and a switching module 910.
- the obtaining module 902, the selecting module 904, and the connecting module 906 have the same functions as the corresponding modules in FIG. 7.
- the comparison module 908 is configured to compare the current MCC with the MCC corresponding to the physical SIM card in the mobile terminal.
- the switching module 910 is configured to switch the virtual SIM card data to the closed state if the current MCC is the same as the MCC corresponding to the physical SIM card.
- each module in the above information processing apparatus is for illustrative purposes only. In other embodiments, the information processing apparatus may be divided into different modules as needed to complete all or part of the functions of the information processing apparatus.
- the embodiment of the present application also provides a computer readable storage medium.
- One or more non-transitory computer readable storage media containing computer executable instructions that, when executed by one or more processors, cause the processor to:
- the processor before acquiring the virtual SIM card data set preset by the mobile terminal, performing: determining, according to the number of the preset position of the IMEI number, the number of the virtual SIM card data set, and acquiring the virtual SIM card data set corresponding to the number;
- the processor performs the operation of selecting the virtual SIM card data corresponding to the IMEI number of the mobile terminal from the virtual SIM card data set according to the preset rule, and: randomly selecting a virtual SIM card data from the virtual SIM card data set corresponding to the number as The virtual SIM card data corresponding to the IMEI number of the mobile terminal.
- the mobile terminal before acquiring the virtual SIM card data set preset by the mobile terminal, performing: acquiring a virtual SIM card data set corresponding to the current MCC; and executing, by the processor, selecting the virtual SIM card data set according to the preset rule.
- the operation of the virtual SIM card data corresponding to the IMEI number of the mobile terminal includes: selecting a virtual SIM card data as the virtual SIM card data corresponding to the IMEI number of the mobile terminal according to the preset number of the IMEI number, and the virtual SIM card data is The virtual SIM card data set corresponding to the current MCC is selected.
- the processor presets the virtual SIM card data set by: acquiring the preset number of virtual SIM card data sets; and dividing the virtual SIM card data according to the preset number of virtual SIM card data sets.
- the operation of the processor to preset the virtual SIM card data set includes: acquiring a preset number of MCCs and MCC ordering information; determining a quantity of the virtual SIM card data set according to the preset number of MCCs; establishing an MCC and a virtual SIM The correspondence between the card data sets determines the number of virtual SIM card data in the virtual SIM card data set according to the MCC ordering information.
- At least one of the following methods is further performed: when the mobile terminal reaches the preset duration according to the duration of the virtual SIM card data connection network, disconnecting the network according to the virtual SIM card data connection; when the mobile terminal has been stored and The current MCC corresponds to the traffic resource, and disconnects the network connected according to the virtual SIM card data.
- the application also provides a computer program product comprising instructions for causing a computer to perform the following operations when the computer program product is run on a computer:
- the processor before acquiring the virtual SIM card data set preset by the mobile terminal, performing: determining, according to the number of the preset position of the IMEI number, the number of the virtual SIM card data set, and acquiring the virtual SIM card data set corresponding to the number;
- the processor performs the operation of selecting the virtual SIM card data corresponding to the IMEI number of the mobile terminal from the virtual SIM card data set according to the preset rule, and: randomly selecting a virtual SIM card data from the virtual SIM card data set corresponding to the number as The virtual SIM card data corresponding to the IMEI number of the mobile terminal.
- the mobile terminal before acquiring the virtual SIM card data set preset by the mobile terminal, performing: acquiring a virtual SIM card data set corresponding to the current MCC; and executing, by the processor, selecting the virtual SIM card data set according to the preset rule.
- the operation of the virtual SIM card data corresponding to the IMEI number of the mobile terminal includes: selecting a virtual SIM card data as the virtual SIM card data corresponding to the IMEI number of the mobile terminal according to the preset number of the IMEI number, and the virtual SIM card data is The virtual SIM card data set corresponding to the current MCC is selected.
- the processor presets the virtual SIM card data set by: acquiring the preset number of virtual SIM card data sets; and dividing the virtual SIM card data according to the preset number of virtual SIM card data sets.
- the operation of the processor to preset the virtual SIM card data set includes: acquiring a preset number of MCCs and MCC ordering information; determining a quantity of the virtual SIM card data set according to the preset number of MCCs; establishing an MCC and a virtual SIM The correspondence between the card data sets determines the number of virtual SIM card data in the virtual SIM card data set according to the MCC ordering information.
- At least one of the following methods is further performed: when the mobile terminal reaches the preset duration according to the duration of the virtual SIM card data connection network, disconnecting the network according to the virtual SIM card data connection; when the mobile terminal has been stored and The current MCC corresponds to the traffic resource, and disconnects the network connected according to the virtual SIM card data.
- the embodiment of the present application further provides a mobile terminal.
- a mobile terminal As shown in FIG. 10, for the convenience of description, only the parts related to the embodiments of the present application are shown. For the specific technical details not disclosed, refer to the method part of the embodiment of the present application.
- the mobile terminal can be any mobile terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, and the mobile terminal is a mobile phone.
- PDA Personal Digital Assistant
- POS Point of Sales
- FIG. 10 is a block diagram showing a partial structure of a mobile phone 1000 related to a mobile terminal provided by an embodiment of the present application.
- the mobile phone 1000 includes: a radio frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a wireless fidelity (WiFi) module 1070, and a processor. 1080, and power supply 1090 and other components.
- RF radio frequency
- the RF circuit 1010 can be used for receiving and transmitting signals during the transmission and reception of information or during a call.
- the downlink information of the base station can be received and processed by the processor 1080.
- the uplink data can also be sent to the base station.
- RF circuit 1010 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
- LNA Low Noise Amplifier
- RF circuit 1010 can also communicate with the network and other devices via wireless communication.
- the above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), and the like.
- GSM Global System of Mobile communication
- GPRS General
- the memory 1020 can be used to store software programs and modules, and the processor 1080 executes various functional applications and data processing of the mobile phone 1000 by running software programs and modules stored in the memory 1020.
- the memory 1020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as an application of a sound playing function, an application of an image playing function, etc.);
- the data storage area can store data (such as audio data, address book, etc.) created according to the use of the mobile phone 1000.
- memory 1020 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the input unit 1030 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset 1000.
- the input unit 1030 may include a touch panel 1031 and other input devices 1032.
- the touch panel 1031 which may also be referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 1031 or near the touch panel 1031. Operation) and drive the corresponding connection device according to a preset program.
- the touch panel 1031 can include two portions of a touch detection device and a touch controller.
- the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
- the processor 1080 is provided and can receive commands from the processor 1080 and execute them.
- the touch panel 1031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the input unit 1030 may also include other input devices 1032.
- other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.).
- the display unit 1040 can be used to display information input by the user or information provided to the user and various menus of the mobile phone 1000.
- the display unit 1040 may include a display panel 1041.
- the display panel 1041 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
- the touch panel 1031 can cover the display panel 1041. When the touch panel 1031 detects a touch operation thereon or nearby, the touch panel 1031 transmits to the processor 1080 to determine the type of the touch event, and then the processor 1080 is The type of touch event provides a corresponding visual output on display panel 1041.
- the touch panel 1031 and the display panel 1041 are two independent components to implement the input and input functions of the mobile phone 1000, in some embodiments, the touch panel 1031 can be integrated with the display panel 1041. The input and output functions of the mobile phone 1000 are realized.
- the handset 1000 can also include at least one type of sensor 1050, such as a light sensor, motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1041 when the mobile phone 1000 moves to the ear. / or backlight.
- the motion sensor may include an acceleration sensor, and the acceleration sensor can detect the magnitude of the acceleration in each direction, and the magnitude and direction of the gravity can be detected at rest, and can be used to identify the gesture of the mobile phone 1000 (such as horizontal and vertical screen switching) and vibration recognition related functions ( For example, the pedometer, tapping, etc.; in addition, the mobile phone 1000 can also be equipped with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors.
- the gesture of the mobile phone 1000 such as horizontal and vertical screen switching
- vibration recognition related functions For example, the pedometer, tapping, etc.
- the mobile phone 1000 can also be equipped with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors.
- Audio circuitry 1060, speaker 1061, and microphone 1062 can provide an audio interface between the user and handset 1000.
- the audio circuit 1060 can transmit the converted electrical data of the received audio data to the speaker 1061, and convert it into a sound signal output by the speaker 1061; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, by the audio circuit 1060. After receiving, it is converted into audio data, and then processed by the audio data output processor 1080, transmitted to another mobile phone 1000 via the RF circuit 1010, or outputted to the memory 1020 for subsequent processing.
- WiFi is a short-range wireless transmission technology.
- the mobile phone 1000 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 1070, which provides users with wireless broadband Internet access.
- FIG. 10 shows the WiFi module 1070, it can be understood that it does not belong to the essential configuration of the mobile phone 1000 and can be omitted as needed.
- the processor 1080 is the control center of the handset 1000, connecting various portions of the entire handset 1000 using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1020, and recalling data stored in the memory 1020.
- the various functions and processing data of the mobile phone 1000 are executed to perform overall monitoring of the mobile phone 1000.
- processor 1080 can include one or more processing units.
- the processor 1080 can integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, a user interface, an application, and the like; the modem processor primarily processes wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1080.
- the handset 1000 also includes a power source 1090 (e.g., a battery) that supplies power to the various components.
- a power source 1090 e.g., a battery
- the power source can be logically coupled to the processor 1080 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
- the handset 1000 may also include a camera, a Bluetooth module, and the like.
- the processor 1080 included in the mobile terminal performs the following operations when executing the computer program stored in the memory 1020:
- the processor before acquiring the virtual SIM card data set preset by the mobile terminal, performing: determining, according to the number of the preset position of the IMEI number, the number of the virtual SIM card data set, and acquiring the virtual SIM card data set corresponding to the number;
- the processor performs the operation of selecting the virtual SIM card data corresponding to the IMEI number of the mobile terminal from the virtual SIM card data set according to the preset rule, and: randomly selecting a virtual SIM card data from the virtual SIM card data set corresponding to the number as The virtual SIM card data corresponding to the IMEI number of the mobile terminal.
- the mobile terminal before acquiring the virtual SIM card data set preset by the mobile terminal, performing: acquiring a virtual SIM card data set corresponding to the current MCC; and executing, by the processor, selecting the virtual SIM card data set according to the preset rule.
- the operation of the virtual SIM card data corresponding to the IMEI number of the mobile terminal includes: selecting a virtual SIM card data as the virtual SIM card data corresponding to the IMEI number of the mobile terminal according to the preset number of the IMEI number, and the virtual SIM card data is The virtual SIM card data set corresponding to the current MCC is selected.
- the operation of the processor 1080 to preset the virtual SIM card data set includes: acquiring a preset number of virtual SIM card data sets; and equally dividing the virtual SIM card data according to the preset number of virtual SIM card data sets.
- the operation of the processor 1080 to preset the virtual SIM card data set includes: acquiring a preset number of MCCs and MCC ordering information; determining a quantity of the virtual SIM card data set according to the preset number of MCCs; establishing MCC and virtual The correspondence between the SIM card data sets determines the number of virtual SIM card data in the virtual SIM card data set according to the MCC ranking information.
- At least one of the following methods is further performed: when the mobile terminal reaches the preset duration according to the duration of the virtual SIM card data connection network, disconnecting the network according to the virtual SIM card data connection; when the mobile terminal has been stored and The current MCC corresponds to the traffic resource, and disconnects the network connected according to the virtual SIM card data.
- Non-volatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
- Volatile memory can include random access memory (RAM), which acts as an external cache.
- RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization.
- SRAM static RAM
- DRAM dynamic RAM
- SDRAM synchronous DRAM
- DDR SDRAM dual data rate SDRAM
- ESDRAM enhanced SDRAM
- SLDRAM Link (Synchlink) DRAM
- SLDRAM Memory Bus
- Rambus Direct RAM
- RDRAM Direct Memory Bus Dynamic RAM
- RDRAM Memory Bus Dynamic RAM
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
相关申请的交叉引用Cross-reference to related applications
本申请要求于2017年09月30日提交中国专利局,申请号为201710924392.4,发明名称为“信息处理方法、装置、移动终端和计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application entitled "Information processing method, device, mobile terminal and computer readable storage medium" by the Chinese Patent Office, filed on September 30, 2017, the application number is 201710924392.4, the entire contents of which are incorporated herein by reference. This is incorporated herein by reference.
本申请涉及计算机技术领域,特别是涉及一种信息处理方法、装置、移动终端和计算机可读存储介质。The present application relates to the field of computer technology, and in particular, to an information processing method, apparatus, mobile terminal, and computer readable storage medium.
随着用户生活水平的提高,越来越多的用户选择出国旅行、学习和工作等。通常情况下,用户在出国后移动终端内SIM卡无法连接移动网络时,用户可选择购买当地运营商的SIM卡或开通移动终端内SIM卡的漫游服务来连接移动网络。通常情况下SIM卡的国际漫游费较为昂贵,而频繁更换SIM卡会给用户生活造成不便。With the improvement of users' living standards, more and more users choose to travel, study and work abroad. Normally, when the SIM card cannot be connected to the mobile network in the mobile terminal after the user leaves the country, the user can choose to purchase the SIM card of the local operator or open the roaming service of the SIM card in the mobile terminal to connect to the mobile network. Under normal circumstances, the international roaming fee of the SIM card is relatively expensive, and frequent replacement of the SIM card may cause inconvenience to the user.
发明内容Summary of the invention
本申请实施例提供一种信息处理方法、装置、移动终端和计算机可读存储介质,可以在MCC变化且无网络时采用虚拟SIM卡数据连接网络。The embodiment of the present application provides an information processing method, apparatus, mobile terminal, and computer readable storage medium, which can use a virtual SIM card data connection network when the MCC changes and there is no network.
一种信息处理方法,包括:An information processing method includes:
当检测到MCC变化且移动终端未连接网络,获取所述移动终端预设的虚拟SIM卡数据集合;Obtaining a virtual SIM card data set preset by the mobile terminal when the MCC change is detected and the mobile terminal is not connected to the network;
根据预设规则从所述虚拟SIM卡数据集合中选取与移动终端的IMEI号对应的虚拟SIM卡数据;Selecting virtual SIM card data corresponding to the IMEI number of the mobile terminal from the virtual SIM card data set according to a preset rule;
根据所述虚拟SIM卡数据连接网络。The network is connected according to the virtual SIM card data.
一种信息处理装置,包括:An information processing apparatus comprising:
获取模块,用于当检测到MCC变化且移动终端未连接网络,获取所述移动终端预设的虚拟SIM卡数据集合;An acquiring module, configured to acquire a virtual SIM card data set preset by the mobile terminal when the MCC change is detected and the mobile terminal is not connected to the network;
选取模块,用于根据预设规则从所述虚拟SIM卡数据集合中选取与移动终端的IMEI号对应的虚拟SIM卡数据;a selection module, configured to select, according to a preset rule, virtual SIM card data corresponding to an IMEI number of the mobile terminal from the virtual SIM card data set;
连接模块,用于根据所述虚拟SIM卡数据连接网络。And a connection module, configured to connect to the network according to the virtual SIM card data.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的方法的操作。A computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the operations of the methods described above.
一种移动终端,包括存储器及处理器,所述存储器中储存有计算机可读指令,所述指令被所述处理器执行时,使得所述处理器执行如上所述的方法的操作。A mobile terminal comprising a memory and a processor, the memory storing computer readable instructions, the instructions being executed by the processor to cause the processor to perform the operations of the method as described above.
本申请实施例中,在检测到当前MCC变化且移动终端未连接网络时,根据移动终端的IMEI号选取对应的虚拟SIM卡数据连接网络,不仅可在无网条件下提供网络方便用户购买流量资源,通过IMEI号选取虚拟SIM卡数据,减少了不同移动终端使用同一个虚拟SIM卡数据连接网络造成冲突的情况,降低了冲突概率。In the embodiment of the present application, when the current MCC change is detected and the mobile terminal is not connected to the network, the corresponding virtual SIM card data connection network is selected according to the IMEI number of the mobile terminal, and the network can be conveniently provided for the user to purchase the traffic resource under the condition of no network. The virtual SIM card data is selected by the IMEI number, which reduces the conflict caused by different mobile terminals using the same virtual SIM card data connection network, and reduces the collision probability.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根 据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present application, and other drawings can be obtained according to the drawings without any creative work for those skilled in the art.
图1为一个实施例中信息处理方法的应用环境图;1 is an application environment diagram of an information processing method in an embodiment;
图2为一个实施例中移动终端的部分架构图;2 is a partial structural diagram of a mobile terminal in an embodiment;
图3为一个实施例中移动终端与服务器进行交互的时序图;3 is a sequence diagram of interaction between a mobile terminal and a server in an embodiment;
图4为一个实施例中服务器的内部结构示意图;4 is a schematic diagram showing the internal structure of a server in an embodiment;
图5为一个实施例中信息处理方法的流程图;Figure 5 is a flow chart of an information processing method in an embodiment;
图6为一个实施例中信息处理装置的结构框图;Figure 6 is a block diagram showing the structure of an information processing apparatus in an embodiment;
图7为另一个实施例中信息处理装置的结构框图;Figure 7 is a block diagram showing the structure of an information processing apparatus in another embodiment;
图8为另一个实施例中信息处理装置的结构框图;Figure 8 is a block diagram showing the structure of an information processing apparatus in another embodiment;
图9为另一个实施例中信息处理装置的结构框图;Figure 9 is a block diagram showing the structure of an information processing apparatus in another embodiment;
图10为与本申请实施例提供的移动终端相关的手机的部分结构的框图。FIG. 10 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present application.
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
图1为一个实施例中信息处理方法的应用环境图。如图1所示,该应用环境包括服务器110和移动终端120。服务器110为虚拟网络运营商用于向移动终端120提供网络流量的服务器,可为云服务器。服务器110可向移动终端120提供虚拟用户身份识别模块(Subscriber Identity Module,SIM)卡信息以及使用该虚拟SIM卡实现网络通信的服务。移动终端120上可设置有虚拟SIM卡应用程序(Application,APP)121、虚拟SIM卡操作系统122以及虚拟SIM卡适配层123。该虚拟SIM卡APP 121、虚拟SIM卡操作系统122以及虚拟SIM卡适配层123均可设置于移动终端120上的应用处理器(Application Processor,AP)内。该服务器110可通过虚拟SIM卡APP 121,向虚拟SIM卡操作系统122发送虚拟SIM卡信息;虚拟SIM卡操作系统122可通过虚拟SIM卡适配层123,实现与设置在基带处理器(Baseband Processor,BP)内的射频通讯控制软件进行通信,以实现使用虚拟SIM卡进行网络通信。FIG. 1 is an application environment diagram of an information processing method in an embodiment. As shown in FIG. 1, the application environment includes a
其中,服务器110可以提供给移动终端120的虚拟SIM卡APP 121相关接口,通过该接口实现和移动终端120之间的通信。该接口可包括用户及设备管理、套餐及订单管理、SIM资源的加密传输等接口。服务器110可以以REST ful应用程序编程接口(Application Programming Interface,API)的方式向虚拟SIM卡APP 121提供相关接口。虚拟SIM卡信息包括但不限于虚拟SIM卡的基本信息、虚拟SIM卡购买的订单信息、虚拟SIM卡的流量使用信息、期限信息等。The
图2为一个实施例中移动终端的部分架构图,该架构图中包含的模块为与虚拟SIM卡相关的模块。如图2所示,移动终端的应用层上可设置有虚拟SIM卡操作系统、虚拟SIM卡适配层、虚拟SIM卡APP以及电话本/信息模块。在框架层(Framework层)可设置有Telephony接口层和无线接口层(Radio Interface Layer)java层。调制解调器(Modem)可为由包含基带处理器、射频和其它外围芯片等组成的一个模块,为GSM/GPRS Modem。其中,Telephony接口层用于提供通用的接口,虚拟SIM卡操作系统通过Telephony接口层与Modem进行Socket交互,可实现判断是否有虚拟卡、虚拟卡所在的卡槽位置等。虚拟SIM卡操作系统通过虚拟SIM卡适配层与切换至虚拟SIM卡通道的Modem进行Socket交互,可实现对虚拟卡的激活、关闭,以及使用虚拟SIM卡进行网络通信功能等功能。可以理解的,图2中示出的结构,仅仅是与本申请方案相关的部分模块,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的模块,或者组合某些模块,或者具有不同的模块布置。比如还可在框架层上设置双卡 管理模块,该双卡管理模块可与Telephony接口层进行通信。2 is a partial structural diagram of a mobile terminal in an embodiment, and the modules included in the architecture diagram are modules related to a virtual SIM card. As shown in FIG. 2, the application layer of the mobile terminal may be provided with a virtual SIM card operating system, a virtual SIM card adaptation layer, a virtual SIM card APP, and a phone book/information module. A Telephony interface layer and a Radio Interface Layer java layer may be disposed in the framework layer. The modem can be a module consisting of a baseband processor, a radio frequency, and other peripheral chips, and is a GSM/GPRS Modem. The Telephony interface layer is used to provide a common interface. The virtual SIM card operating system interacts with the Modem through the Telephony interface layer to determine whether there is a virtual card or a card slot where the virtual card is located. The virtual SIM card operating system performs Socket interaction with the Modem switched to the virtual SIM card channel through the virtual SIM card adaptation layer, and can implement activation and shutdown of the virtual card and network communication functions using the virtual SIM card. It is to be understood that the structure shown in FIG. 2 is only a part of the modules related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include Show more or fewer modules, or combine some modules, or have different module layouts. For example, a dual card management module can also be provided on the framework layer, and the dual card management module can communicate with the Telephony interface layer.
在一个实施例中,移动终端可通过虚拟SIM卡APP向用户提供虚拟SIM卡的管理操作界面,并在侦测到作用于该管理操作界面上相关操作时,产生相应的虚拟SIM卡处理指令,并将该处理指令发送至虚拟SIM卡操作系统。该虚拟SIM卡操作系统可模拟真实SIM卡的系统逻辑,实现了用于进行网络通信所需的相关规范的协议和文件系统。虚拟SIM卡操作系统可接收来自虚拟SIM卡App的处理指令,通过虚拟SIM卡适配层向Modem发送与该处理指令对应的消息,并可接收Modem的响应信息,共同实现使用虚拟SIM卡进行网络通信功能。其中,上述的相关规范的协议可包括国际标准化组织(International Organization for Standardization,ISO)7816以及3代合作项目(3rd Generation Partnership Project,3GPP)关于通用集成电路卡(Universal Integrated Circuit Card,UICC)和通用用户身份识别模块(Universal Subscriber Identity Module,USIM)等规范的协议。In an embodiment, the mobile terminal can provide a management operation interface of the virtual SIM card to the user through the virtual SIM card APP, and generate a corresponding virtual SIM card processing instruction when detecting an operation related to the management operation interface. And send the processing instruction to the virtual SIM card operating system. The virtual SIM card operating system can simulate the system logic of a real SIM card, and implements a protocol and file system for performing related specifications required for network communication. The virtual SIM card operating system can receive the processing instruction from the virtual SIM card App, send a message corresponding to the processing instruction to the Modem through the virtual SIM card adaptation layer, and receive the response information of the Modem, and jointly implement the network by using the virtual SIM card. Communication function. Among them, the above related specifications of the agreement may include the International Organization for Standardization (ISO) 7816 and the 3rd Generation Partnership Project (3GPP) on the Universal Integrated Circuit Card (UICC) and the general purpose A protocol such as the Universal Subscriber Identity Module (USIM).
在一个实施例中,该处理指令可包括对相应虚拟SIM卡的套餐购买指令、启用指令、失效指令以及关闭指令等。所实现的使用虚拟SIM卡进行网络通信的内容包括但不限于实现虚拟SIM卡信息的交互管理、状态的动态更新以及流量的统计和限速等,比如可实现对虚拟SIM卡信息的存储删除以及虚拟SIM卡的启用关闭等。In one embodiment, the processing instructions may include a package purchase instruction, an enable instruction, a disable instruction, a close instruction, and the like for the respective virtual SIM card. The implemented content of the network communication using the virtual SIM card includes, but is not limited to, implementing interaction management of the virtual SIM card information, dynamic update of the status, and statistics and speed limit of the traffic, such as storing and deleting the virtual SIM card information. Virtual SIM card is enabled to be turned off, etc.
在一个实施例中,如图3所示,提供了一种时序图,该时序图包含了对虚拟SIM卡进行的套餐购买、启用和失效的场景下,各个模块之间的交互过程。参考图3所示,其中,套餐购买的过程包括操作301~306;套餐激活的过程包括操作311~316;套餐失效的过程包括操作321~326。In one embodiment, as shown in FIG. 3, a timing diagram is provided that includes the interaction between modules in a scenario of package purchase, activation, and failure of a virtual SIM card. Referring to FIG. 3, the process of package purchase includes operations 301-306; the process of package activation includes operations 311-316; and the process of package failure includes operations 321-326.
当移动终端检测到当前移动通信网对应的MCC变化且移动终端未连接网络时,即移动终端处于无网状态时,移动终端可启用预设的虚拟SIM卡数据连接移动通信网。移动终端在连接移动通信网后,可连接数据网络通信进行流量套餐购买、启用等操作。其中,移动终端可根据国际移动设备身份码(International Mobile Equipment Identity,IMEI)来选取移动终端对应的虚拟SIM卡数据。上述流量是指移动终端连接网络后使用网络通信所消耗的字节数。When the mobile terminal detects the MCC change corresponding to the current mobile communication network and the mobile terminal is not connected to the network, that is, when the mobile terminal is in the no-network state, the mobile terminal can enable the preset virtual SIM card data to connect to the mobile communication network. After connecting the mobile communication network, the mobile terminal can connect to the data network communication to perform operations such as purchase and activation of the data package. The mobile terminal may select the virtual SIM card data corresponding to the mobile terminal according to an International Mobile Equipment Identity (IMEI). The above traffic refers to the number of bytes consumed by the mobile terminal after using the network communication after connecting to the network.
操作301,移动终端通过虚拟SIM卡APP向服务器发送虚拟SIM卡购买请求。In
移动终端可通过虚拟SIM卡APP向用户展示虚拟SIM卡购买界面,并侦测作用于该界面上的购买操作,根据侦测到的购买操作触发购买指令,向服务器发送虚拟SIM卡购买请求。其中,该购买界面上可提供相应的购买操作的虚拟按钮,在接收到对该虚拟按钮的点击操作时,可触发购买指令,或者可在检测到预设的于该购买指令对应的语音信息或者运动信息时,触发该购买指令。比如,可在检测到包含“购买虚拟卡”的语音信息,或者对移动终端进行上下摇晃等预设运动信息时,可触发购买指令。The mobile terminal can display the virtual SIM card purchase interface to the user through the virtual SIM card APP, detect the purchase operation acting on the interface, trigger the purchase instruction according to the detected purchase operation, and send a virtual SIM card purchase request to the server. The virtual button of the purchase operation may be provided on the purchase interface, and when the click operation of the virtual button is received, the purchase instruction may be triggered, or the voice information corresponding to the purchase instruction may be detected or The purchase instruction is triggered when the information is moved. For example, the purchase instruction may be triggered when detecting the voice information including the “purchase virtual card” or the preset motion information such as shaking the mobile terminal up and down.
在一个实施例中,移动终端可通过预设的虚拟SIM卡APP与服务器之间的对应通信接口,向服务器发送该虚拟SIM卡购买请求。其中,该购买请求中包含用户标识。该用户标识用于唯一标识对应用户的身份,可由预设位数的数字、字母或其它字符所构成。In an embodiment, the mobile terminal may send the virtual SIM card purchase request to the server through a preset communication interface between the virtual SIM card APP and the server. Wherein, the purchase request includes a user identifier. The user identifier is used to uniquely identify the identity of the corresponding user, and may be composed of a preset number of digits, letters or other characters.
操作302,服务器根据接收的虚拟SIM卡购买请求,获取对应的虚拟SIM卡套餐信息。In
服务器可为用于向移动终端提供网络流量的服务器,服务器可根据该购买请求,获取一种或多种与该购买请求相匹配的虚拟SIM卡套餐信息。在一个实施例中,该购买请求中还可包含移动终端的位置信息,服务器可获取一种或多种与该位置信息相匹配的虚拟SIM卡套餐信息。其中,每种套餐信息中包含对应的流量总量、有效时间以及价格其中等一种或多种字段信息。流量总量表示可对应套餐可使用的上网流量总量,比如为10GB上网流量。有效时间可包含该套餐的有效时长,比如为24小时、3天或7天等。价格表示购买对应套餐所需支付的费用信息。The server may be a server for providing network traffic to the mobile terminal, and the server may acquire one or more virtual SIM card package information matching the purchase request according to the purchase request. In an embodiment, the purchase request may further include location information of the mobile terminal, and the server may acquire one or more virtual SIM card package information that matches the location information. Each of the package information includes one or more field information such as a corresponding total amount of traffic, a valid time, and a price. The total amount of traffic indicates the total amount of Internet traffic that can be used for the package, such as 10 GB of Internet traffic. The effective time can include the effective duration of the package, such as 24 hours, 3 days or 7 days. The price indicates the fee information required to purchase the corresponding package.
操作303,服务器向移动终端发送该虚拟SIM卡套餐信息。In
服务器可向移动终端发送与该请求匹配的与该虚拟SIM卡购买请求对应的虚拟SIM卡套餐信息。在一个实施例中,可发送多个虚拟SIM卡套餐信息,以供用户选择。The server may transmit, to the mobile terminal, virtual SIM card package information corresponding to the virtual SIM card purchase request that matches the request. In one embodiment, multiple virtual SIM card package information can be sent for user selection.
操作304,移动终端通过虚拟SIM卡APP接收该套餐信息,并向服务器发送套餐选择指令。In
移动终端可通过虚拟SIM卡APP接收该套餐信息,并进行展示。移动终端可通过虚拟SIM卡APP侦测作用于套餐信息展示界面上的选取操作,根据侦测到的选取操作,确定对应选取的套餐,生成对该套餐的套餐选择指令,将该套餐选择指令发送至服务器。其中,选取的套餐可包括一个或多个。The mobile terminal can receive the package information through the virtual SIM card APP and display it. The mobile terminal can detect the selection operation on the package information display interface through the virtual SIM card APP, determine the corresponding selected package according to the detected selection operation, generate a package selection instruction for the package, and send the package selection instruction. To the server. Among them, the selected package may include one or more.
操作305,服务器接收该套餐选择指令,向移动终端发送与该套餐选择指令对应的套餐数据。In
服务器可接收移动终端发送的套餐选择指令,识别该套餐选择指令对应的套餐信息。其中,套餐选择指令中可包含选取的套餐信息的套餐标识,服务器可确定该套餐标识对应的套餐信息,并获取该套餐信息对应的套餐数据。套餐标识用于唯一标识一种套餐的套餐信息。套餐数据包含虚拟SIM卡的基本数据和流量数据。该基本数据包含虚拟SIM卡的运营商信息、入网参数信息、虚拟SIM卡标识等用于实现虚拟SIM卡网络通信的必要数据。流量数据包括对应的网络通信可用流量的大小以及有效时间等信息。The server may receive a package selection instruction sent by the mobile terminal, and identify the package information corresponding to the package selection instruction. The package selection instruction may include a package identifier of the selected package information, and the server may determine the package information corresponding to the package identifier, and obtain the package data corresponding to the package information. The package identifier is used to uniquely identify package information for one package. The package data contains basic data and traffic data of the virtual SIM card. The basic data includes the operator information of the virtual SIM card, the network access parameter information, the virtual SIM card identifier, and the like necessary for realizing virtual SIM card network communication. The traffic data includes information such as the size of the available traffic for the network communication and the effective time.
操作306,移动终端通过虚拟SIM卡APP接收该套餐数据,并通过虚拟SIM卡操作系统对套餐数据进行存储。In
移动终端可通过虚拟SIM卡APP接收服务器发送的套餐数据,并将该套餐数据转发至虚拟SIM卡操作系统。虚拟SIM卡操作系统可将接收到的套餐数据,通过虚拟SIM卡适配层发送至移动终端的Modem,并指示Modem对套餐数据进行存储。The mobile terminal can receive the package data sent by the server through the virtual SIM card APP, and forward the package data to the virtual SIM card operating system. The virtual SIM card operating system may send the received package data to the Modem of the mobile terminal through the virtual SIM card adaptation layer, and instruct the Modem to store the package data.
操作311,移动终端通过虚拟SIM卡APP获取套餐激活指令。In operation 311, the mobile terminal acquires a package activation instruction through the virtual SIM card APP.
移动终端可通过虚拟SIM卡APP展示套餐激活界面,并可通过虚拟SIM卡APP侦测作用于套餐信息展示界面上的激活操作,根据侦测到的激活操作,确定对应激活的套餐,生成对该套餐的套餐激活指令,将该套餐激活指令发送至服务器。The mobile terminal can display the package activation interface through the virtual SIM card APP, and can detect the activation operation on the package information display interface through the virtual SIM card APP, and determine the corresponding activated package according to the detected activation operation, and generate the The package activation command of the package is sent to the server.
操作312,通过虚拟SIM卡APP将套餐激活指令发送至虚拟SIM卡操作系统。
虚拟SIM卡APP通过与虚拟SIM卡操作系统之间预设的通信方式,向该虚拟SIM卡操作系统发送套餐激活指令,该套餐激活指令中包含对应待激活套餐的套餐标识,使得虚拟SIM卡操作系统可根据该套餐标识以及用户标识,确定待激活的套餐。The virtual SIM card APP sends a package activation instruction to the virtual SIM card operating system by using a preset communication manner with the virtual SIM card operating system, and the package activation instruction includes a package identifier corresponding to the to-be-activated package, so that the virtual SIM card operates. The system can determine the package to be activated according to the package identifier and the user identifier.
操作313,移动终端通过虚拟SIM卡操作系统进行套餐激活处理。In
虚拟SIM卡操作系统可通过上述的Telephony接口层,向Modem转发该套餐激活指令,Modem根据接收到的套餐激活指令,提取对应的套餐数据,将对应的套餐数据进行激活处理。The virtual SIM card operating system can forward the package activation command to the Modem through the above-mentioned Telephony interface layer, and the Modem extracts the corresponding package data according to the received package activation command, and activates the corresponding package data.
操作314,通过虚拟SIM卡操作系统向虚拟SIM卡APP反馈激活处理结果。
虚拟SIM卡操作系统可获取Modem进行激活处理的处理结果,并将获取的处理结果发送至虚拟SIM卡APP,并指示虚拟SIM卡APP进一步向服务器反馈激活处理结果。虚拟SIM卡APP可在移动终端界面上展示激活处理结果,以供用户查阅。激活处理结果可包括激活成功和激活失败的结果。The virtual SIM card operating system can obtain the processing result of the activation process of the Modem, and send the obtained processing result to the virtual SIM card APP, and instruct the virtual SIM card APP to further feed back the activation processing result to the server. The virtual SIM card APP can display the activation processing result on the mobile terminal interface for the user to consult. The activation processing results may include the results of activation success and activation failure.
操作315,移动终端通过虚拟SIM卡APP向服务器发送激活使用通知。In
虚拟SIM卡APP可通过上述预设的接口,将获取到的激活处理结果发送至服务器,当该激活处理结果为激活成功时,该移动终端进一步通过虚拟SIM卡APP,向服务器发送激活使用通知,该通知用于指示服务器开始提供使用该虚拟SIM卡进行网络通信的服务。The virtual SIM card APP may send the obtained activation processing result to the server through the preset interface, and when the activation processing result is successful, the mobile terminal further sends an activation use notification to the server through the virtual SIM card APP. The notification is used to instruct the server to start providing a service for network communication using the virtual SIM card.
操作316,服务器接收该激活使用通知,并向移动终端反馈启动套餐监控的响应信息。In
服务器在接收到激活使用通知后,启动对该激活的套餐数据的使用服务,并可按照一定的频率监控对该套餐数据的使用状态,以提供使用该对应套餐数据进行网络通信的服 务,并向移动终端的APP反馈套餐监控的响应信息。使得用户可获知服务器以成功开启了网络通信服务。After receiving the activation use notification, the server starts the use service of the activated package data, and monitors the usage status of the package data according to a certain frequency, so as to provide a service for performing network communication by using the corresponding package data, and The response information of the APP feedback package monitoring of the mobile terminal. This allows the user to know the server to successfully open the network communication service.
操作321,移动终端通过虚拟SIM卡APP获取套餐失效指令。In operation 321, the mobile terminal acquires a package failure instruction through the virtual SIM card APP.
虚拟SIM卡APP可调用移动终端内部设置的计时器来统计该套餐数据的使用时间,或者可获取当前时间,根据该使用时间或者当前获取时间判定该套餐数据已经失效时,自动触发套餐失效指令。或者移动终端还可通过虚拟SIM卡APP展示套餐管理界面,并可通过虚拟SIM卡APP侦测作用于套餐信息展示界面上的失效操作,根据侦测到的失效操作,确定对应失效的套餐,生成对该套餐的套餐失效指令,将该套餐失效指令发送至服务器。The virtual SIM card APP may call a timer set in the mobile terminal to count the usage time of the package data, or may acquire the current time, and automatically trigger the package failure instruction when the package data has expired according to the usage time or the current acquisition time. Alternatively, the mobile terminal can display the package management interface through the virtual SIM card APP, and can detect the invalid operation acting on the package information display interface through the virtual SIM card APP, and determine the corresponding invalid package according to the detected invalid operation, and generate The package invalidation instruction for the package is sent to the server.
操作322,移动终端通过虚拟SIM卡APP向服务器发送套餐失效通知。In
虚拟SIM卡APP可在侦测到套餐数据失效后,向服务器发送套餐失效通知,该通知用于指示服务器进行相关套餐是否失效的确认检测。其中,该通知中携带套餐标识。The virtual SIM card APP may send a package failure notification to the server after detecting that the package data is invalid, and the notification is used to indicate to the server whether the related package is invalid. The notification carries the package identifier.
操作323,服务器接收该套餐失效通知,并进行套餐失效处理。In
服务器可根据接收到的套餐失效通知,检测对应套餐是否失效,若确认失效,则可进行套餐失效处理,终止该对应套餐数据的网络通信服务。The server may detect whether the corresponding package is invalid according to the received package failure notification, and if the confirmation is invalid, the package failure processing may be performed to terminate the network communication service of the corresponding package data.
操作324,服务器向移动终端反馈套餐失效的确认信息。
操作325,移动终端通过虚拟SIM卡APP接收该确认信息,并向虚拟SIM卡操作系统发送套餐失效处理指令。
移动终端在接收到套餐已经失效的确认信息后,生成套餐失效处理指令,将该处理指令发送至虚拟SIM卡操作系统,该指令中携带套餐标识。After receiving the confirmation information that the package has expired, the mobile terminal generates a package invalidation processing instruction, and sends the processing instruction to the virtual SIM card operating system, where the instruction carries the package identifier.
操作326,移动终端虚拟SIM卡操作系统进行套餐失效处理。
该虚拟SIM卡操作系统可进一步向Modem转发套餐失效处理指令,以指示Modem删除对应的套餐数据,或者终止使用该套餐数据进行虚拟SIM卡通信,并还可进一步恢复移动终端内被涉及到的实体SIM卡的正常通信。The virtual SIM card operating system may further forward the package invalidation processing instruction to the Modem to instruct the Modem to delete the corresponding package data, or terminate the use of the package data for virtual SIM card communication, and further recover the entity involved in the mobile terminal. Normal communication of the SIM card.
图4为一个实施例中服务器的内部结构示意图。如图4所示,该服务器包括通过系统总线连接的处理器、非易失性存储介质、内存储器和网络接口。其中,该处理器用于提供计算和控制能力,支撑整个计算机设备的运行。存储器用于存储数据、程序等。存储器可包括磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random-Access-Memory,RAM)等。例如,在一个实施例中,存储器包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统以及存储有用于实现与本申请实施例中提供的适用于计算机设备的信息处理方法相关的数据,比如可存储有与计算机设备上的虚拟SIM卡APP进行通信的接口数据,以及相关的虚拟SIM卡信息等。内存储器为非易失性存储介质中的操作系统以及适用于计算机设备的信息处理方法提供高速缓存的运行环境。网络接口可以是以太网卡或无线网卡等,用于与外部的计算机设备进行通信。服务器可以用独立的服务器或者是多个服务器组成的服务器集群来实现。本领域技术人员可以理解,图4中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的服务器的限定,具体的服务器可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。4 is a schematic diagram showing the internal structure of a server in an embodiment. As shown in FIG. 4, the server includes a processor, a non-volatile storage medium, an internal memory, and a network interface connected by a system bus. The processor is used to provide computing and control capabilities to support the operation of the entire computer device. The memory is used to store data, programs, and the like. The memory may include a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random storage memory (Random-Access-Memory, RAM). For example, in one embodiment, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and stores data related to implementing an information processing method suitable for the computer device provided in the embodiments of the present application, such as storing a virtual SIM card APP on the computer device. Interface data, and related virtual SIM card information. The internal memory provides a cached operating environment for an operating system in a non-volatile storage medium and an information processing method suitable for the computer device. The network interface may be an Ethernet card or a wireless network card or the like for communicating with an external computer device. The server can be implemented with a stand-alone server or a server cluster consisting of multiple servers. It will be understood by those skilled in the art that the structure shown in FIG. 4 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the server to which the solution of the present application is applied. The specific server may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements.
图5为一个实施例中信息处理方法的流程图。如图5所示,一种信息处理方法,包括:Figure 5 is a flow chart of an information processing method in one embodiment. As shown in FIG. 5, an information processing method includes:
操作502,当检测到MCC变化且移动终端未连接网络,获取移动终端预设的虚拟SIM卡数据集合。In operation 502, when the MCC change is detected and the mobile terminal is not connected to the network, the virtual SIM card data set preset by the mobile terminal is obtained.
移动信号国家码(Mobile Country Code,MCC)是国际电联统一管理和分配,用于唯一标识移动终端所属国家的号码。不同国家或地区的MCC不相同,例如,中国大陆地区的MCC为460。通常情况下,移动终端中实体SIM卡会带有国际移动用户识别码(International Mobile Subscriber Identification Number,IMSI)号,上述IMSI号 记载了用于区别移动用户的有效信息,包括MCC等。例如,用户在中国大陆地区购买实体SIM卡,则实体SIM卡中IMSI号中MCC为460。The Mobile Country Code (MCC) is a unified management and distribution of ITU that uniquely identifies the number of the country to which the mobile terminal belongs. The MCCs in different countries or regions are different. For example, the MCC in mainland China is 460. Generally, the physical SIM card in the mobile terminal carries an International Mobile Subscriber Identification Number (IMSI) number, and the above IMSI number describes valid information for distinguishing mobile users, including MCC and the like. For example, if a user purchases a physical SIM card in mainland China, the MCC in the IMSI number in the physical SIM card is 460.
当移动终端检测到移动通信网时,可检测当前移动通信网的运营商信息。具体包括:移动终端可通过CoreTelephony Framework中的CTTelephonyNetworkInfo和CTCarrier类型获取当前移动通信网的运营商信息。其中,CTCarrier类型可表示当前移动通信网的运营商信息,移动终端调用CTTelephonyNetworkInfo中subscriberCellularProvider可获取CTCarrier类型,CTCarrier类型记载了当前移动通信网的MCC和移动网络号码(Mobile Network Code,MNC),上述MNC是用于标识移动通信网的号码。移动终端还可调用subscriberCellularProviderDidUpdateNotifier检测当前移动通信网的运营商信息是否变化。When the mobile terminal detects the mobile communication network, the operator information of the current mobile communication network can be detected. Specifically, the mobile terminal can obtain the operator information of the current mobile communication network through the CTTelephonyNetworkInfo and CTCarrier types in the CoreTelephony Framework. The CTCarrier type can represent the operator information of the current mobile communication network, and the mobile terminal calls the subscriberCellularProvider in the CTTelephonyNetworkInfo to obtain the CTCarrier type. The CTCarrier type records the current mobile communication network MCC and the mobile network code (MNC), the above MNC. Is the number used to identify the mobile communication network. The mobile terminal may also call the subscriberCellularProviderDidUpdateNotifier to detect whether the carrier information of the current mobile communication network changes.
当移动终端检测到当前移动通信网的运营商信息变化时,可进一步检测当前移动通信网的MCC是否变化,当检测到当前移动通信网的MCC变化时,可获取当前的网络状态。具体包括:移动终端可通过Reachability直接获取当前网络状态,判断移动终端是否连接网络、连接的网络是无线保真(Wireless-Fidelity,Wi-Fi)网络或蜂窝数据网。When the mobile terminal detects the change of the operator information of the current mobile communication network, it may further detect whether the MCC of the current mobile communication network changes. When the MCC of the current mobile communication network is detected to change, the current network state may be acquired. Specifically, the mobile terminal can directly obtain the current network status through Reachability, determine whether the mobile terminal is connected to the network, and the connected network is a Wireless-Fidelity (Wi-Fi) network or a cellular data network.
当移动终端检测到MCC变化且移动终端未连接网络时,可获取移动终端中预设的虚拟SIM卡数据集合。上述虚拟SIM卡数据集合中存储有虚拟SIM卡数据。上述虚拟SIM卡数据为移动通信网的鉴权信息,移动终端可根据虚拟SIM卡数据连接移动通信网,再连接数据网络,使得移动终端可通过数据网络通信。上述虚拟SIM卡数据在连接移动通信网时需占用SIM卡卡槽,当移动终端存在空的SIM卡卡槽时可直接占用空的SIM卡卡槽;当移动终端不存在空的SIM卡卡槽时,移动终端可将实体SIM卡状态切换到待机状态并占用实体SIM卡的卡槽。具体地,虚拟SIM卡数据可为IMSI号,IMSI号包括MCC、MNC和移动用户识别号码(Mobile Subscriber Identification Number,MSIN),移动终端可根据IMSI号连接移动通信网,再连接数据网络。在一个实施例中,虚拟SIM卡数据可为根据预设规则编码的编号,虚拟网络运营商可识别上述编号,移动终端可根据上述编号向虚拟网络运营商发起连网请求从而连接移动通信网,再连接数据网络。上述预设规则可为移动终端与虚拟网络运营商相互约定的规则。When the mobile terminal detects the MCC change and the mobile terminal is not connected to the network, the virtual SIM card data set preset in the mobile terminal may be acquired. The virtual SIM card data is stored in the virtual SIM card data set. The virtual SIM card data is authentication information of the mobile communication network, and the mobile terminal can connect to the mobile communication network according to the virtual SIM card data, and then connect to the data network, so that the mobile terminal can communicate through the data network. The virtual SIM card data needs to occupy the SIM card slot when connecting to the mobile communication network. When the mobile terminal has an empty SIM card slot, the virtual SIM card slot can be directly occupied; when the mobile terminal does not have an empty SIM card slot At the same time, the mobile terminal can switch the physical SIM card state to the standby state and occupy the card slot of the physical SIM card. Specifically, the virtual SIM card data may be an IMSI number, and the IMSI number includes an MCC, an MNC, and a Mobile Subscriber Identification Number (MSIN), and the mobile terminal may connect to the mobile communication network according to the IMSI number, and then connect to the data network. In an embodiment, the virtual SIM card data may be a number encoded according to a preset rule, and the virtual network operator may identify the number, and the mobile terminal may initiate a network connection request to the virtual network operator according to the number to connect to the mobile communication network. Reconnect to the data network. The foregoing preset rules may be rules agreed between the mobile terminal and the virtual network operator.
操作504,根据预设规则从虚拟SIM卡数据集合中选取与移动终端的国际移动设备身份码(International Mobile Equipment Identity,IMEI)对应的虚拟SIM卡数据。Operation 504: Select virtual SIM card data corresponding to the mobile terminal's International Mobile Equipment Identity (IMEI) from the virtual SIM card data set according to a preset rule.
移动终端可获取当前移动终端的IMEI号,对上述IMEI号进行解析并确定上述移动终端的IMEI号对应的虚拟SIM卡数据。IMEI号是用于唯一标识移动终端的号码,不同移动终端的IMEI号不同。其中,单卡移动终端带有1个IMEI号,双卡移动终端带2个IMEI号,上述IMEI号与移动终端中卡槽一一对应。当移动终端为单卡移动终端时,可直接获取移动终端的IMEI号。当移动终端为双卡移动终端时,可获取虚拟SIM卡数据占用的SIM卡卡槽对应的IMEI号。当移动终端为双卡移动终端时,也可随机获取1个IMEI号。The mobile terminal can obtain the IMEI number of the current mobile terminal, parse the IMEI number, and determine the virtual SIM card data corresponding to the IMEI number of the mobile terminal. The IMEI number is a number for uniquely identifying a mobile terminal, and the IMEI numbers of different mobile terminals are different. The single card mobile terminal has one IMEI number, and the dual card mobile terminal has two IMEI numbers. The IMEI number corresponds to the card slot in the mobile terminal. When the mobile terminal is a single-card mobile terminal, the IMEI number of the mobile terminal can be directly obtained. When the mobile terminal is a dual-card mobile terminal, the IMEI number corresponding to the SIM card slot occupied by the virtual SIM card data can be obtained. When the mobile terminal is a dual-card mobile terminal, one IMEI number can also be randomly obtained.
操作506,根据虚拟SIM卡数据连接网络。
移动终端在获取移动终端的IMEI号对应的虚拟SIM卡数据后,可根据上述虚拟SIM卡数据连接移动通信网。在连接移动通信网后,再连接数据网络。After obtaining the virtual SIM card data corresponding to the IMEI number of the mobile terminal, the mobile terminal may connect to the mobile communication network according to the virtual SIM card data. After connecting to the mobile communication network, connect to the data network.
通常情况下,移动终端中预设虚拟SIM卡数据后,移动终端可选择固定的虚拟SIM卡数据连接网络。但为每个移动终端分配固定的虚拟SIM卡数据成本较高,而为多个移动终端分配同一个虚拟SIM卡数据会导致多个移动终端之间的冲突。Generally, after the virtual SIM card data is preset in the mobile terminal, the mobile terminal can select a fixed virtual SIM card data connection network. However, assigning a fixed virtual SIM card data to each mobile terminal is costly, and allocating the same virtual SIM card data to multiple mobile terminals may result in a conflict between multiple mobile terminals.
本申请实施例中方法,在检测到当前MCC变化且移动终端未连接网络时,根据移动终端的IMEI号选取对应的虚拟SIM卡数据连接网络,不仅可在无网条件下提供网络方便用户购买流量资源,通过IMEI号选取虚拟SIM卡数据,减少了不同移动终端使用同一个虚拟SIM卡数据连接网络造成冲突的情况,降低了冲突概率。The method in the embodiment of the present application, when detecting the current MCC change and the mobile terminal is not connected to the network, selects the corresponding virtual SIM card data connection network according to the IMEI number of the mobile terminal, and not only provides the network to facilitate the user to purchase the traffic under the condition of no network. Resources, the virtual SIM card data is selected by the IMEI number, which reduces the conflict caused by different mobile terminals using the same virtual SIM card data connection network, and reduces the collision probability.
在一个实施例中,在获取移动终端预设的虚拟SIM卡数据集合之前,还包括:根据 IMEI号预设位置的数字确定虚拟SIM卡数据集合的编号,获取编号对应的虚拟SIM卡数据集合。根据预设规则从虚拟SIM卡数据集合中选取与移动终端的IMEI号对应的虚拟SIM卡数据包括:从编号对应的虚拟SIM卡数据集合中随机选取一个虚拟SIM卡数据作为与移动终端的IMEI号对应的虚拟SIM卡数据。In an embodiment, before acquiring the virtual SIM card data set preset by the mobile terminal, the method further includes: determining a number of the virtual SIM card data set according to the number of the preset position of the IMEI number, and acquiring the virtual SIM card data set corresponding to the number. Selecting the virtual SIM card data corresponding to the IMEI number of the mobile terminal from the virtual SIM card data set according to the preset rule includes randomly selecting one virtual SIM card data from the virtual SIM card data set corresponding to the number as the IMEI number of the mobile terminal. Corresponding virtual SIM card data.
虚拟SIM卡数据集合对应有虚拟SIM卡数据集合编号。移动终端根据IMEI号预设位置的数字确定虚拟SIM卡数据集合的编号后,可获取编号对应的虚拟SIM卡数据集合。例如,移动终端预设有100个虚拟SIM卡数据集合,每个虚拟SIM卡数据集合中有600个虚拟SIM卡数据。移动终端解析IMEI号得到序号为23,则查找编号为23的虚拟SIM卡数据集合作为与移动终端的IMEI号对应的虚拟SIM卡数据集合。The virtual SIM card data set corresponds to a virtual SIM card data set number. After determining the number of the virtual SIM card data set according to the number of the preset position of the IMEI number, the mobile terminal can obtain the virtual SIM card data set corresponding to the number. For example, the mobile terminal is pre-set with 100 virtual SIM card data sets, and each virtual SIM card data set has 600 virtual SIM card data. When the mobile terminal parses the IMEI number to obtain the sequence number 23, the virtual SIM card data set with the number 23 is searched as the virtual SIM card data set corresponding to the IMEI number of the mobile terminal.
在获取与移动终端的IMEI号对应的虚拟SIM卡数据集合后,移动终端可在虚拟SIM卡数据集合中随机选取1个虚拟SIM卡数据作为与移动终端的IMEI号对应的虚拟SIM卡数据。在一个实施例中,移动终端可对虚拟SIM卡数据集合中虚拟SIM卡数据进行排序,例如,按照名称排序。在获取与移动终端的IMEI号对应的虚拟SIM卡数据后,移动终端可生成1个随机数,根据随机数查找虚拟SIM卡数据集合中对应的虚拟SIM卡数据。例如,移动终端获取的随机数为39,则查找虚拟SIM卡数据集合中第39个虚拟SIM卡数据。After obtaining the virtual SIM card data set corresponding to the IMEI number of the mobile terminal, the mobile terminal may randomly select one virtual SIM card data in the virtual SIM card data set as the virtual SIM card data corresponding to the IMEI number of the mobile terminal. In one embodiment, the mobile terminal can sort the virtual SIM card data in the virtual SIM card data set, for example, by name. After obtaining the virtual SIM card data corresponding to the IMEI number of the mobile terminal, the mobile terminal may generate one random number, and search for the corresponding virtual SIM card data in the virtual SIM card data set according to the random number. For example, if the random number acquired by the mobile terminal is 39, the 39th virtual SIM card data in the virtual SIM card data set is searched.
本申请实施例中方法,根据IMEI号预设位置的数字确定虚拟SIM卡数据集合,再随机选取虚拟SIM卡数据。通过IMEI号加随机选取的方式,降低了不同移动终端在同一时刻使用同一虚拟SIM卡数据连接网络的概率,降低了不同移动终端之间的冲突率。In the method in the embodiment of the present application, the virtual SIM card data set is determined according to the preset number of the IMEI number, and the virtual SIM card data is randomly selected. By using the IMEI number and the random selection method, the probability that different mobile terminals use the same virtual SIM card data connection network at the same time is reduced, and the collision rate between different mobile terminals is reduced.
在一个实施例中,在获取移动终端预设的虚拟SIM卡数据集合之前,还包括:获取与当前MCC对应的虚拟SIM卡数据集合。根据预设规则从虚拟SIM卡数据集合中选取与移动终端的IMEI号对应的虚拟SIM卡数据包括:根据IMEI号预设位置的数字选取一个虚拟SIM卡数据作为与移动终端的IMEI号对应的虚拟SIM卡数据,虚拟SIM卡数据从与当前MCC对应的虚拟SIM卡数据集合中选取。In an embodiment, before acquiring the virtual SIM card data set preset by the mobile terminal, the method further includes: acquiring a virtual SIM card data set corresponding to the current MCC. Selecting the virtual SIM card data corresponding to the IMEI number of the mobile terminal from the virtual SIM card data set according to the preset rule includes: selecting a virtual SIM card data as the virtual corresponding to the IMEI number of the mobile terminal according to the preset number of the IMEI number. The SIM card data, the virtual SIM card data is selected from the virtual SIM card data set corresponding to the current MCC.
移动终端中可预存虚拟SIM卡数据集合和对应的MCC。其中,每个MCC对应的虚拟SIM卡数据集合中虚拟SIM卡数据数量可相同或不同。在获取到当前MCC后,可查找当前MCC对应的虚拟SIM卡数据集合。例如,移动终端预存的MCC为262是对应的虚拟SIM卡数据集合编号为34,则在当前MCC为262时,可查找编号为34的虚拟SIM卡数据集合作为与当前MCC对应的虚拟SIM卡数据集合。The virtual SIM card data set and the corresponding MCC may be pre-stored in the mobile terminal. The number of virtual SIM card data in the virtual SIM card data set corresponding to each MCC may be the same or different. After obtaining the current MCC, the virtual SIM card data set corresponding to the current MCC may be searched. For example, if the MCC pre-stored by the mobile terminal is 262, the corresponding virtual SIM card data set number is 34, and when the current MCC is 262, the virtual SIM card data set numbered 34 can be searched as the virtual SIM card data corresponding to the current MCC. set.
移动终端可对虚拟SIM卡数据集合中虚拟SIM卡数据进行排序。移动终端在根据IMEI号预设位置的数字获取序号后,可在虚拟SIM卡数据集合中查找序号对应的虚拟SIM卡数据作为与移动终端的IMEI号对应的虚拟SIM卡数据。例如,移动终端将虚拟SIM卡数据集合中虚拟SIM卡数据按照数据大小排序,移动终端获取IMEI号第12位和13位数字作为序号56,则选取虚拟SIM卡数据集合中第56个虚拟SIM卡数据作为与移动终端的IMEI号对应的虚拟SIM卡数据。The mobile terminal can sort the virtual SIM card data in the virtual SIM card data set. After obtaining the serial number according to the preset number of the IMEI number, the mobile terminal may search the virtual SIM card data set for the virtual SIM card data corresponding to the serial number as the virtual SIM card data corresponding to the IMEI number of the mobile terminal. For example, the mobile terminal sorts the virtual SIM card data in the virtual SIM card data set according to the data size, and the mobile terminal obtains the 12th and 13th digits of the IMEI number as the serial number 56, and selects the 56th virtual SIM card in the virtual SIM card data set. The data is virtual SIM card data corresponding to the IMEI number of the mobile terminal.
在一个实施例中,移动终端也可随机选取一个虚拟SIM卡数据作为与移动终端的IMEI号对应的虚拟SIM卡数据。移动终端也可生成一个随机数,根据随机数查找虚拟SIM卡数据集合中对应的虚拟SIM卡数据作为与移动终端的IMEI号对应的虚拟SIM卡数据。In an embodiment, the mobile terminal may also randomly select one virtual SIM card data as the virtual SIM card data corresponding to the IMEI number of the mobile terminal. The mobile terminal may also generate a random number, and search the corresponding virtual SIM card data in the virtual SIM card data set according to the random number as the virtual SIM card data corresponding to the IMEI number of the mobile terminal.
本申请实施例中方法,根据MCC和IMEI号选取虚拟SIM卡数据,降低了不同移动终端同一时刻选取同一虚拟SIM卡数据连接网络的概率,降低了不同移动终端的冲突率。In the method in the embodiment of the present application, the virtual SIM card data is selected according to the MCC and the IMEI number, which reduces the probability that different mobile terminals select the same virtual SIM card data connection network at the same time, and reduces the conflict rate of different mobile terminals.
在一个实施例中,预设虚拟SIM卡数据集合的操作包括:获取预设的虚拟SIM卡数据集合的数量;根据预设的虚拟SIM卡数据集合的数量等分虚拟SIM卡数据。In one embodiment, the operation of preset the virtual SIM card data set includes: acquiring the preset number of virtual SIM card data sets; and equally dividing the virtual SIM card data according to the preset number of virtual SIM card data sets.
移动终端中预设有虚拟SIM卡数据集合的数量。移动终端可将虚拟SIM卡数据等分存储于虚拟SIM卡数据集合中。例如,移动终端中预设的虚拟SIM卡数据集合的数量为60,移动终端中预设的虚拟SIM卡数据为60000个,则移动终端可将60000个虚拟卡数据等分为60份,每份1000个虚拟SIM卡数据存储于对应的虚拟SIM卡数据集合中。The number of virtual SIM card data sets is pre-set in the mobile terminal. The mobile terminal can store the virtual SIM card data in equal parts in the virtual SIM card data set. For example, if the number of virtual SIM card data sets preset in the mobile terminal is 60, and the preset virtual SIM card data in the mobile terminal is 60,000, the mobile terminal can divide 6000 virtual card data into 60 copies, each serving. 1000 virtual SIM card data is stored in the corresponding virtual SIM card data set.
在一个实施例中,移动终端也可将预设的虚拟SIM卡数据按照数量递增/递减存储于虚拟SIM卡数据集合中。In an embodiment, the mobile terminal may also store the preset virtual SIM card data in the virtual SIM card data set according to the quantity increment/decrement.
在一个实施例中,预设虚拟SIM卡数据集合的操作包括:In one embodiment, the operation of presetting the virtual SIM card data set includes:
(1)获取预设的MCC数量和MCC排序信息。(1) Obtain the preset MCC number and MCC sorting information.
(2)根据预设的MCC数量确定虚拟SIM卡数据集合的数量。(2) Determine the number of virtual SIM card data sets according to the preset number of MCCs.
(3)建立MCC与虚拟SIM卡数据集合的对应关系,根据MCC排序信息确定虚拟SIM卡数据集合中虚拟SIM卡数据的数量。(3) Establish a correspondence between the MCC and the virtual SIM card data set, and determine the number of virtual SIM card data in the virtual SIM card data set according to the MCC ranking information.
移动终端可从服务器获取到访次数达到指定阈值的国家或地区,获取上述国家和地区的MCC作为预设的MCC。移动终端还可按照到访次数由高到低对预设的MCC进行排序得到MCC排序信息。移动终端可根据预设的MCC数量确定虚拟SIM卡数据集合的数量。例如,移动终端从服务器获取到访次数达到10000次的国家或地区共37个,移动终端获取上述37个国家或地区的MCC作为预设的MCC,并确定虚拟SIM卡数据集合的数量的37个。The mobile terminal can obtain the MCC of the above-mentioned country and region as the preset MCC by obtaining the country or region where the number of visits reaches the specified threshold. The mobile terminal may also sort the preset MCC according to the number of visits from high to low to obtain MCC sorting information. The mobile terminal can determine the number of virtual SIM card data sets according to the preset number of MCCs. For example, the mobile terminal obtains 37 countries or regions that have visited 10,000 times from the server, and the mobile terminal acquires the MCCs of the 37 countries or regions as the preset MCC, and determines the number of virtual SIM card data sets. .
移动终端可建立MCC与虚拟SIM卡数据集合的对应关系,如到访次数最高的MCC对应的虚拟SIM卡数据集合的编号为1。移动终端可根据MCC排序信息来确定虚拟SIM卡数据集合中虚拟SIM卡数据的数量。具体地,移动终端可按照MCC对应的到访次数的比值来确定虚拟SIM卡数据集合中虚拟SIM卡数据的数量。例如,MCC为302、310、314的到访次数比值为3:2:1,则MCC为302对应的虚拟SIM卡数据集合中虚拟SIM卡数量、MCC为310对应的虚拟SIM卡数据集合中虚拟SIM卡数量、MCC为314对应的虚拟SIM卡数据集合中虚拟SIM卡数量三者之比为3:2:1。移动终端也可按照MCC的排序信息来递增/递减MCC对应的虚拟SIM卡数据集合中虚拟SIM卡数据的数量。例如,序号为1的MCC对应的虚拟SIM卡数据集合中虚拟SIM卡数据的数量为1000、序号为2的MCC对应的虚拟SIM卡数据集合中虚拟SIM卡数据的数量为800···以此类推。移动终端也可等分虚拟SIM卡数据,即每个虚拟SIM卡数据集合中虚拟SIM卡数据的数量相同。The mobile terminal can establish a correspondence between the MCC and the virtual SIM card data set. For example, the virtual SIM card data set corresponding to the MCC with the highest number of visited times is numbered 1. The mobile terminal can determine the number of virtual SIM card data in the virtual SIM card data set based on the MCC ranking information. Specifically, the mobile terminal may determine the number of virtual SIM card data in the virtual SIM card data set according to the ratio of the number of visits corresponding to the MCC. For example, if the ratio of the number of visits of the MCC to 302, 310, and 314 is 3:2:1, the number of virtual SIM cards in the virtual SIM card data set corresponding to the MCC is 302, and the virtual SIM card data set corresponding to the MCC is 310. The ratio of the number of SIM cards to the number of virtual SIM cards in the virtual SIM card data set corresponding to
本申请实施例中方法,根据MCC数量和MCC排序信息确定虚拟SIM卡数据集合中虚拟SIM卡数据的数量,使得不同MCC对应的虚拟SIM卡数据集合中虚拟SIM卡数据的数量不同,减少了在热门国家或地区多个移动终端使用同一虚拟SIM卡数据同时连接网络造成冲突的情况,也避免了在较少访问的国家或地区对应的虚拟SIM卡数据数量较多造成浪费的情况。The method in the embodiment of the present application determines the number of virtual SIM card data in the virtual SIM card data set according to the number of MCCs and the MCC ranking information, so that the number of virtual SIM card data in the virtual SIM card data set corresponding to different MCCs is different, and the number is reduced. A situation in which a plurality of mobile terminals in a popular country or region use the same virtual SIM card data to simultaneously connect to the network causes a conflict, and also avoids a waste of a large amount of virtual SIM card data corresponding to a country or region with less access.
在一个实施例中,上述方法还包括以下情况中至少一种:In one embodiment, the above method further includes at least one of the following:
(1)当移动终端根据虚拟SIM卡数据连接网络的时长达到预设时长,断开根据虚拟SIM卡数据连接的网络。(1) When the mobile terminal connects to the network according to the virtual SIM card data for a preset duration, the network connected according to the virtual SIM card data is disconnected.
(2)当移动终端已存储与与当前MCC对应的流量资源,断开根据虚拟SIM卡数据连接的网络。(2) When the mobile terminal has stored the traffic resource corresponding to the current MCC, disconnect the network connected according to the virtual SIM card data.
移动终端可预设虚拟SIM卡连接网络的时长,当虚拟SIM卡连接网络的时长达到预设时长,则断开根据虚拟SIM卡数据连接的网络。例如,移动终端可预设虚拟SIM卡数据连接网络的时长为10分钟,当移动终端通过虚拟SIM卡连接网络的时长达到10分钟,移动终端可断开根据虚拟SIM卡数据的网络连接。移动终端从虚拟网络运行商下载流量资源后,可将下载的流量资源存储。当移动终端检测到已存储与与当前MCC对应的流量资源,则断开根据虚拟SIM卡数据连接的网络。移动终端还可弹窗提示用户否激活已下载的与与当前MCC对应的流量资源。The mobile terminal can preset the length of time that the virtual SIM card is connected to the network. When the duration of the virtual SIM card connecting to the network reaches a preset duration, the network connected according to the virtual SIM card data is disconnected. For example, the mobile terminal can preset the virtual SIM card data connection network for 10 minutes. When the mobile terminal connects to the network through the virtual SIM card for 10 minutes, the mobile terminal can disconnect the network connection according to the virtual SIM card data. After the mobile terminal downloads the traffic resource from the virtual network operator, the downloaded traffic resource can be stored. When the mobile terminal detects that the traffic resource corresponding to the current MCC has been stored, the network connected according to the virtual SIM card data is disconnected. The mobile terminal may also pop up a window prompting the user to activate the downloaded traffic resource corresponding to the current MCC.
本申请实施例中信息处理方法,对虚拟SIM卡数据连接网络的时长进行限制,避免了一个移动终端占用虚拟SIM卡数据时间过长,导致其他移动终端无法连接网络的情况,降低了移动终端使用虚拟SIM卡数据连接网络的冲突率。The information processing method in the embodiment of the present application limits the duration of the virtual SIM card data connection network, avoids the situation that a mobile terminal occupies the virtual SIM card data for too long, and the other mobile terminals cannot connect to the network, thereby reducing the use of the mobile terminal. The collision rate of the virtual SIM card data connection network.
在一个实施例中,上述方法还包括:将当前MCC与移动终端中实体SIM卡对应的MCC对比;若当前MCC与实体SIM卡对应的MCC相同,将虚拟SIM卡数据切换到关闭状态。In an embodiment, the method further includes: comparing the current MCC with the MCC corresponding to the physical SIM card in the mobile terminal; if the current MCC is the same as the MCC corresponding to the physical SIM card, switching the virtual SIM card data to the closed state.
移动终端可将当前MCC与实体SIM卡IMSI号中MCC进行对比,检测当前MCC与实体SIM卡IMSI号中MCC是否相同。其中,当移动终端为单卡移动终端时,移动终端可将当前MCC与实体SIM卡IMSI号中MCC进行对比,若检测到当前MCC与实体SIM卡IMSI号中MCC相同,则将虚拟SIM卡数据切换到关闭状态,释放虚拟SIM卡数据占用的SIM卡卡槽。当移动终端为双卡移动终端时,移动终端可将当前MCC与2张实体SIM卡IMSI号中MCC分别进行对比,若当前MCC与2张SIM卡中任意1张SIM卡IMSI号中MCC相同,则将虚拟SIM卡数据切换到关闭状态,释放虚拟SIM卡数据占用的SIM卡卡槽。The mobile terminal can compare the current MCC with the MCC in the IMSI number of the physical SIM card, and check whether the current MCC is the same as the MCC in the IMSI number of the physical SIM card. Wherein, when the mobile terminal is a single-card mobile terminal, the mobile terminal can compare the current MCC with the MCC of the physical SIM card IMSI number, and if it detects that the current MCC is the same as the MCC of the physical SIM card IMSI number, the virtual SIM card data is Switch to the off state and release the SIM card slot occupied by the virtual SIM card data. When the mobile terminal is a dual-card mobile terminal, the mobile terminal can compare the current MCC with the MCC of the two physical SIM card IMSI numbers respectively. If the current MCC is the same as the MCC of any one of the two SIM cards in the IMSI number, Then, the virtual SIM card data is switched to the off state, and the SIM card slot occupied by the virtual SIM card data is released.
移动终端在释放虚拟SIM卡数据占用的卡槽后,可重新使用实体SIM卡连接移动通信网进行通信。After releasing the card slot occupied by the virtual SIM card data, the mobile terminal can re-use the physical SIM card to connect to the mobile communication network for communication.
本申请实施例中信息处理方法,在检测到当前MCC与实体SIM卡中MCC相同时,关闭虚拟SIM卡数据。即在检测到移动终端处于SIM卡本国或本地区时,关闭虚拟SIM卡数据,使得移动终端可启用实体SIM卡,利用实体SIM卡来连接通信。The information processing method in the embodiment of the present application closes the virtual SIM card data when detecting that the current MCC is the same as the MCC in the physical SIM card. That is, when it is detected that the mobile terminal is in the home country of the SIM card or the local area, the virtual SIM card data is closed, so that the mobile terminal can enable the physical SIM card, and the physical SIM card is used to connect the communication.
图6为一个实施例中信息处理装置的结构框图。如图6所示,一种信息处理装置,包括:Fig. 6 is a block diagram showing the structure of an information processing apparatus in an embodiment. As shown in FIG. 6, an information processing apparatus includes:
获取模块602,用于当检测到MCC变化且移动终端未连接网络,获取移动终端预设的虚拟SIM卡数据集合;The obtaining
选取模块604,用于根据预设规则从虚拟SIM卡数据集合中选取与移动终端的IMEI号对应的虚拟SIM卡数据;The selecting
连接模块606,用于根据虚拟SIM卡数据连接网络。The
在一个实施例中,获取模块602还用于在获取移动终端预设的虚拟SIM卡数据集合之前,根据IMEI号预设位置的数字确定虚拟SIM卡数据集合的编号,获取编号对应的虚拟SIM卡数据集合;选取模块604还用于从编号对应的虚拟SIM卡数据集合中随机选取一个虚拟SIM卡数据作为与移动终端的IMEI号对应的虚拟SIM卡数据。In an embodiment, the obtaining
在一个实施例中,获取模块602还用于在获取移动终端预设的虚拟SIM卡数据集合之前,获取与当前MCC对应的虚拟SIM卡数据集合;选取模块604还用于根据IMEI号预设位置的数字选取一个虚拟SIM卡数据作为与移动终端的IMEI号对应的虚拟SIM卡数据,虚拟SIM卡数据从与当前MCC对应的虚拟SIM卡数据集合中选取。In an embodiment, the obtaining
图7为另一个实施例中信息处理装置的结构框图。如图7所示,一种信息处理装置,包括:配置模块702、获取模块704、选取模块706和连接模块708。其中,获取模块704、选取模块706、连接模块708与图6中对应的模块功能相同。其中:Fig. 7 is a block diagram showing the structure of an information processing apparatus in another embodiment. As shown in FIG. 7, an information processing apparatus includes: a
配置模块702,用于获取预设的虚拟SIM卡数据集合的数量;根据预设的虚拟SIM卡数据集合的数量等分虚拟SIM卡数据。The
在一个实施例中,配置模块702还用于获取预设的MCC数量和MCC排序信息;根据预设的MCC数量确定虚拟SIM卡数据集合的数量;建立MCC与虚拟SIM卡数据集合的对应关系,根据MCC排序信息确定虚拟SIM卡数据集合中虚拟SIM卡数据的数量。In an embodiment, the
图8为另一个实施例中信息处理装置的结构框图。如图8所示,一种信息处理装置,包括:获取模块802、选取模块804、连接模块806和断开连接模块808。其中,获取模块802、选取模块804、连接模块806与图7中对应的模块功能相同。Fig. 8 is a block diagram showing the structure of an information processing apparatus in another embodiment. As shown in FIG. 8, an information processing apparatus includes: an obtaining
断开连接模块808用于当移动终端根据虚拟SIM卡数据连接网络的时长达到预设时长,断开根据虚拟SIM卡数据连接的网络。The
断开连接模块808还用于当移动终端已存储与与当前MCC对应的流量资源,断开根据虚拟SIM卡数据连接的网络。The
图9为另一个实施例中信息处理装置的结构框图。如图9所示,一种信息处理装置,包括:获取模块902、选取模块904、连接模块906、对比模块908和切换模块910。其中,获取模块902、选取模块904、连接模块906与图7中对应的模块功能相同。Fig. 9 is a block diagram showing the structure of an information processing apparatus in another embodiment. As shown in FIG. 9, an information processing apparatus includes: an obtaining
对比模块908,用于将当前MCC与移动终端中实体SIM卡对应的MCC对比。The
切换模块910,用于若当前MCC与实体SIM卡对应的MCC相同,将虚拟SIM卡数据切换到关闭状态。The
上述信息处理装置中各个模块的划分仅用于举例说明,在其他实施例中,可将信息处理装置按照需要划分为不同的模块,以完成上述信息处理装置的全部或部分功能。The division of each module in the above information processing apparatus is for illustrative purposes only. In other embodiments, the information processing apparatus may be divided into different modules as needed to complete all or part of the functions of the information processing apparatus.
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当计算机可执行指令被一个或多个处理器执行时,使得处理器执行以下操作:The embodiment of the present application also provides a computer readable storage medium. One or more non-transitory computer readable storage media containing computer executable instructions that, when executed by one or more processors, cause the processor to:
(1)当检测到MCC变化且移动终端未连接网络,获取移动终端预设的虚拟SIM卡数据集合。(1) When the MCC change is detected and the mobile terminal is not connected to the network, the virtual SIM card data set preset by the mobile terminal is acquired.
(2)根据预设规则从虚拟SIM卡数据集合中选取与移动终端的IMEI号对应的虚拟SIM卡数据。(2) selecting virtual SIM card data corresponding to the IMEI number of the mobile terminal from the virtual SIM card data set according to a preset rule.
(3)根据虚拟SIM卡数据连接网络。(3) Connect to the network according to the virtual SIM card data.
在一个实施例中,在获取移动终端预设的虚拟SIM卡数据集合之前,还执行:根据IMEI号预设位置的数字确定虚拟SIM卡数据集合的编号,获取编号对应的虚拟SIM卡数据集合;处理器执行根据预设规则从虚拟SIM卡数据集合中选取与移动终端的IMEI号对应的虚拟SIM卡数据的操作包括:从编号对应的虚拟SIM卡数据集合中随机选取一个虚拟SIM卡数据作为与移动终端的IMEI号对应的虚拟SIM卡数据。In an embodiment, before acquiring the virtual SIM card data set preset by the mobile terminal, performing: determining, according to the number of the preset position of the IMEI number, the number of the virtual SIM card data set, and acquiring the virtual SIM card data set corresponding to the number; The processor performs the operation of selecting the virtual SIM card data corresponding to the IMEI number of the mobile terminal from the virtual SIM card data set according to the preset rule, and: randomly selecting a virtual SIM card data from the virtual SIM card data set corresponding to the number as The virtual SIM card data corresponding to the IMEI number of the mobile terminal.
在一个实施例中,在获取移动终端预设的虚拟SIM卡数据集合之前,还执行:获取与当前MCC对应的虚拟SIM卡数据集合;处理器执行根据预设规则从虚拟SIM卡数据集合中选取与移动终端的IMEI号对应的虚拟SIM卡数据的操作包括:根据IMEI号预设位置的数字选取一个虚拟SIM卡数据作为与移动终端的IMEI号对应的虚拟SIM卡数据,虚拟SIM卡数据从与当前MCC对应的虚拟SIM卡数据集合中选取。In an embodiment, before acquiring the virtual SIM card data set preset by the mobile terminal, performing: acquiring a virtual SIM card data set corresponding to the current MCC; and executing, by the processor, selecting the virtual SIM card data set according to the preset rule. The operation of the virtual SIM card data corresponding to the IMEI number of the mobile terminal includes: selecting a virtual SIM card data as the virtual SIM card data corresponding to the IMEI number of the mobile terminal according to the preset number of the IMEI number, and the virtual SIM card data is The virtual SIM card data set corresponding to the current MCC is selected.
在一个实施例中,处理器预设虚拟SIM卡数据集合的操作包括:获取预设的虚拟SIM卡数据集合的数量;根据预设的虚拟SIM卡数据集合的数量等分虚拟SIM卡数据。In one embodiment, the processor presets the virtual SIM card data set by: acquiring the preset number of virtual SIM card data sets; and dividing the virtual SIM card data according to the preset number of virtual SIM card data sets.
在一个实施例中,处理器预设虚拟SIM卡数据集合的操作包括:获取预设的MCC数量和MCC排序信息;根据预设的MCC数量确定虚拟SIM卡数据集合的数量;建立MCC与虚拟SIM卡数据集合的对应关系,根据MCC排序信息确定虚拟SIM卡数据集合中虚拟SIM卡数据的数量。In an embodiment, the operation of the processor to preset the virtual SIM card data set includes: acquiring a preset number of MCCs and MCC ordering information; determining a quantity of the virtual SIM card data set according to the preset number of MCCs; establishing an MCC and a virtual SIM The correspondence between the card data sets determines the number of virtual SIM card data in the virtual SIM card data set according to the MCC ordering information.
在一个实施例中,还执行以下方法中至少一种:当移动终端根据虚拟SIM卡数据连接网络的时长达到预设时长,断开根据虚拟SIM卡数据连接的网络;当移动终端已存储与与当前MCC对应的流量资源,断开根据虚拟SIM卡数据连接的网络。In an embodiment, at least one of the following methods is further performed: when the mobile terminal reaches the preset duration according to the duration of the virtual SIM card data connection network, disconnecting the network according to the virtual SIM card data connection; when the mobile terminal has been stored and The current MCC corresponds to the traffic resource, and disconnects the network connected according to the virtual SIM card data.
在一个实施例中,还执行:将当前MCC与移动终端中实体SIM卡对应的MCC对比;若当前MCC与实体SIM卡对应的MCC相同,将虚拟SIM卡数据切换到关闭状态。In an embodiment, performing: comparing the current MCC with the MCC corresponding to the physical SIM card in the mobile terminal; if the current MCC is the same as the MCC corresponding to the physical SIM card, switching the virtual SIM card data to the closed state.
本申请还提供一种包含指令的计算机程序产品,当上述计算机程序产品在计算机上运行时,使得计算机执行以下操作:The application also provides a computer program product comprising instructions for causing a computer to perform the following operations when the computer program product is run on a computer:
(1)当检测到MCC变化且移动终端未连接网络,获取移动终端预设的虚拟SIM卡数据集合。(1) When the MCC change is detected and the mobile terminal is not connected to the network, the virtual SIM card data set preset by the mobile terminal is acquired.
(2)根据预设规则从虚拟SIM卡数据集合中选取与移动终端的IMEI号对应的虚拟SIM卡数据。(2) selecting virtual SIM card data corresponding to the IMEI number of the mobile terminal from the virtual SIM card data set according to a preset rule.
(3)根据虚拟SIM卡数据连接网络。(3) Connect to the network according to the virtual SIM card data.
在一个实施例中,在获取移动终端预设的虚拟SIM卡数据集合之前,还执行:根据IMEI号预设位置的数字确定虚拟SIM卡数据集合的编号,获取编号对应的虚拟SIM卡数据集合;处理器执行根据预设规则从虚拟SIM卡数据集合中选取与移动终端的IMEI号对应的虚拟SIM卡数据的操作包括:从编号对应的虚拟SIM卡数据集合中随机 选取一个虚拟SIM卡数据作为与移动终端的IMEI号对应的虚拟SIM卡数据。In an embodiment, before acquiring the virtual SIM card data set preset by the mobile terminal, performing: determining, according to the number of the preset position of the IMEI number, the number of the virtual SIM card data set, and acquiring the virtual SIM card data set corresponding to the number; The processor performs the operation of selecting the virtual SIM card data corresponding to the IMEI number of the mobile terminal from the virtual SIM card data set according to the preset rule, and: randomly selecting a virtual SIM card data from the virtual SIM card data set corresponding to the number as The virtual SIM card data corresponding to the IMEI number of the mobile terminal.
在一个实施例中,在获取移动终端预设的虚拟SIM卡数据集合之前,还执行:获取与当前MCC对应的虚拟SIM卡数据集合;处理器执行根据预设规则从虚拟SIM卡数据集合中选取与移动终端的IMEI号对应的虚拟SIM卡数据的操作包括:根据IMEI号预设位置的数字选取一个虚拟SIM卡数据作为与移动终端的IMEI号对应的虚拟SIM卡数据,虚拟SIM卡数据从与当前MCC对应的虚拟SIM卡数据集合中选取。In an embodiment, before acquiring the virtual SIM card data set preset by the mobile terminal, performing: acquiring a virtual SIM card data set corresponding to the current MCC; and executing, by the processor, selecting the virtual SIM card data set according to the preset rule. The operation of the virtual SIM card data corresponding to the IMEI number of the mobile terminal includes: selecting a virtual SIM card data as the virtual SIM card data corresponding to the IMEI number of the mobile terminal according to the preset number of the IMEI number, and the virtual SIM card data is The virtual SIM card data set corresponding to the current MCC is selected.
在一个实施例中,处理器预设虚拟SIM卡数据集合的操作包括:获取预设的虚拟SIM卡数据集合的数量;根据预设的虚拟SIM卡数据集合的数量等分虚拟SIM卡数据。In one embodiment, the processor presets the virtual SIM card data set by: acquiring the preset number of virtual SIM card data sets; and dividing the virtual SIM card data according to the preset number of virtual SIM card data sets.
在一个实施例中,处理器预设虚拟SIM卡数据集合的操作包括:获取预设的MCC数量和MCC排序信息;根据预设的MCC数量确定虚拟SIM卡数据集合的数量;建立MCC与虚拟SIM卡数据集合的对应关系,根据MCC排序信息确定虚拟SIM卡数据集合中虚拟SIM卡数据的数量。In an embodiment, the operation of the processor to preset the virtual SIM card data set includes: acquiring a preset number of MCCs and MCC ordering information; determining a quantity of the virtual SIM card data set according to the preset number of MCCs; establishing an MCC and a virtual SIM The correspondence between the card data sets determines the number of virtual SIM card data in the virtual SIM card data set according to the MCC ordering information.
在一个实施例中,还执行以下方法中至少一种:当移动终端根据虚拟SIM卡数据连接网络的时长达到预设时长,断开根据虚拟SIM卡数据连接的网络;当移动终端已存储与与当前MCC对应的流量资源,断开根据虚拟SIM卡数据连接的网络。In an embodiment, at least one of the following methods is further performed: when the mobile terminal reaches the preset duration according to the duration of the virtual SIM card data connection network, disconnecting the network according to the virtual SIM card data connection; when the mobile terminal has been stored and The current MCC corresponds to the traffic resource, and disconnects the network connected according to the virtual SIM card data.
在一个实施例中,还执行:将当前MCC与移动终端中实体SIM卡对应的MCC对比;若当前MCC与实体SIM卡对应的MCC相同,将虚拟SIM卡数据切换到关闭状态。In an embodiment, performing: comparing the current MCC with the MCC corresponding to the physical SIM card in the mobile terminal; if the current MCC is the same as the MCC corresponding to the physical SIM card, switching the virtual SIM card data to the closed state.
本申请实施例还提供了一种移动终端。如图10所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该移动终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售移动终端)、车载电脑、穿戴式设备等任意移动终端设备,以移动终端为手机为例:The embodiment of the present application further provides a mobile terminal. As shown in FIG. 10, for the convenience of description, only the parts related to the embodiments of the present application are shown. For the specific technical details not disclosed, refer to the method part of the embodiment of the present application. The mobile terminal can be any mobile terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, and the mobile terminal is a mobile phone. For example:
图10为与本申请实施例提供的移动终端相关的手机1000的部分结构的框图。参考图10,手机1000包括:射频(Radio Frequency,RF)电路1010、存储器1020、输入单元1030、显示单元1040、传感器1050、音频电路1060、无线保真(wireless fidelity,WiFi)模块1070、处理器1080、以及电源1090等部件。本领域技术人员可以理解,图10所示的手机1000结构并不构成对手机1000的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 10 is a block diagram showing a partial structure of a
其中,RF电路1010可用于收发信息或通话过程中,信号的接收和发送,可将基站的下行信息接收后,给处理器1080处理;也可以将上行的数据发送给基站。通常,RF电路1010包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路1010还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service,SMS)等。The
存储器1020可用于存储软件程序以及模块,处理器1080通过运行存储在存储器1020的软件程序以及模块,从而执行手机1000的各种功能应用以及数据处理。存储器1020可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能的应用程序、图像播放功能的应用程序等)等;数据存储区可存储根据手机1000的使用所创建的数据(比如音频数据、通讯录等)等。此外,存储器1020可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
输入单元1030可用于接收输入的数字或字符信息,以及产生与手机1000的用户设置 以及功能控制有关的键信号输入。具体地,输入单元1030可包括触控面板1031以及其他输入设备1032。触控面板1031,也可称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1031上或在触控面板1031附近的操作),并根据预先设定的程式驱动相应的连接装置。在一个实施例中,触控面板1031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1080,并能接收处理器1080发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1031。除了触控面板1031,输入单元1030还可以包括其他输入设备1032。具体地,其他输入设备1032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)等中的一种或多种。The
显示单元1040可用于显示由用户输入的信息或提供给用户的信息以及手机1000的各种菜单。显示单元1040可包括显示面板1041。在一个实施例中,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1041。在一个实施例中,触控面板1031可覆盖显示面板1041,当触控面板1031检测到在其上或附近的触摸操作后,传送给处理器1080以确定触摸事件的类型,随后处理器1080根据触摸事件的类型在显示面板1041上提供相应的视觉输出。虽然在图10中,触控面板1031与显示面板1041是作为两个独立的部件来实现手机1000的输入和输入功能,但是在某些实施例中,可以将触控面板1031与显示面板1041集成而实现手机1000的输入和输出功能。The
手机1000还可包括至少一种传感器1050,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1041的亮度,接近传感器可在手机1000移动到耳边时,关闭显示面板1041和/或背光。运动传感器可包括加速度传感器,通过加速度传感器可检测各个方向上加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机1000姿态的应用(比如横竖屏切换)、振动识别相关功能(比如计步器、敲击)等;此外,手机1000还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器等。The
音频电路1060、扬声器1061和传声器1062可提供用户与手机1000之间的音频接口。音频电路1060可将接收到的音频数据转换后的电信号,传输到扬声器1061,由扬声器1061转换为声音信号输出;另一方面,传声器1062将收集的声音信号转换为电信号,由音频电路1060接收后转换为音频数据,再将音频数据输出处理器1080处理后,经RF电路1010可以发送给另一手机1000,或者将音频数据输出至存储器1020以便后续处理。
WiFi属于短距离无线传输技术,手机1000通过WiFi模块1070可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图10示出了WiFi模块1070,但是可以理解的是,其并不属于手机1000的必须构成,可以根据需要而省略。WiFi is a short-range wireless transmission technology. The
处理器1080是手机1000的控制中心,利用各种接口和线路连接整个手机1000的各个部分,通过运行或执行存储在存储器1020内的软件程序和/或模块,以及调用存储在存储器1020内的数据,执行手机1000的各种功能和处理数据,从而对手机1000进行整体监控。在一个实施例中,处理器1080可包括一个或多个处理单元。在一个实施例中,处理器1080可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等;调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1080中。The
手机1000还包括给各个部件供电的电源1090(比如电池),优选的,电源可以通过电源管理系统与处理器1080逻辑相连,从而通过电源管理系统实现管理充电、放电、以 及功耗管理等功能。The
在一个实施例中,手机1000还可以包括摄像头、蓝牙模块等。In one embodiment, the
在本申请实施例中,该移动终端所包括的处理器1080执行存储在存储器1020上的计算机程序时实现以下操作:In the embodiment of the present application, the
(1)当检测到MCC变化且移动终端未连接网络,获取移动终端预设的虚拟SIM卡数据集合。(1) When the MCC change is detected and the mobile terminal is not connected to the network, the virtual SIM card data set preset by the mobile terminal is acquired.
(2)根据预设规则从虚拟SIM卡数据集合中选取与移动终端的IMEI号对应的虚拟SIM卡数据。(2) selecting virtual SIM card data corresponding to the IMEI number of the mobile terminal from the virtual SIM card data set according to a preset rule.
(3)根据虚拟SIM卡数据连接网络。(3) Connect to the network according to the virtual SIM card data.
在一个实施例中,在获取移动终端预设的虚拟SIM卡数据集合之前,还执行:根据IMEI号预设位置的数字确定虚拟SIM卡数据集合的编号,获取编号对应的虚拟SIM卡数据集合;处理器执行根据预设规则从虚拟SIM卡数据集合中选取与移动终端的IMEI号对应的虚拟SIM卡数据的操作包括:从编号对应的虚拟SIM卡数据集合中随机选取一个虚拟SIM卡数据作为与移动终端的IMEI号对应的虚拟SIM卡数据。In an embodiment, before acquiring the virtual SIM card data set preset by the mobile terminal, performing: determining, according to the number of the preset position of the IMEI number, the number of the virtual SIM card data set, and acquiring the virtual SIM card data set corresponding to the number; The processor performs the operation of selecting the virtual SIM card data corresponding to the IMEI number of the mobile terminal from the virtual SIM card data set according to the preset rule, and: randomly selecting a virtual SIM card data from the virtual SIM card data set corresponding to the number as The virtual SIM card data corresponding to the IMEI number of the mobile terminal.
在一个实施例中,在获取移动终端预设的虚拟SIM卡数据集合之前,还执行:获取与当前MCC对应的虚拟SIM卡数据集合;处理器执行根据预设规则从虚拟SIM卡数据集合中选取与移动终端的IMEI号对应的虚拟SIM卡数据的操作包括:根据IMEI号预设位置的数字选取一个虚拟SIM卡数据作为与移动终端的IMEI号对应的虚拟SIM卡数据,虚拟SIM卡数据从与当前MCC对应的虚拟SIM卡数据集合中选取。In an embodiment, before acquiring the virtual SIM card data set preset by the mobile terminal, performing: acquiring a virtual SIM card data set corresponding to the current MCC; and executing, by the processor, selecting the virtual SIM card data set according to the preset rule. The operation of the virtual SIM card data corresponding to the IMEI number of the mobile terminal includes: selecting a virtual SIM card data as the virtual SIM card data corresponding to the IMEI number of the mobile terminal according to the preset number of the IMEI number, and the virtual SIM card data is The virtual SIM card data set corresponding to the current MCC is selected.
在一个实施例中,处理器1080预设虚拟SIM卡数据集合的操作包括:获取预设的虚拟SIM卡数据集合的数量;根据预设的虚拟SIM卡数据集合的数量等分虚拟SIM卡数据。In one embodiment, the operation of the
在一个实施例中,处理器1080预设虚拟SIM卡数据集合的操作包括:获取预设的MCC数量和MCC排序信息;根据预设的MCC数量确定虚拟SIM卡数据集合的数量;建立MCC与虚拟SIM卡数据集合的对应关系,根据MCC排序信息确定虚拟SIM卡数据集合中虚拟SIM卡数据的数量。In an embodiment, the operation of the
在一个实施例中,还执行以下方法中至少一种:当移动终端根据虚拟SIM卡数据连接网络的时长达到预设时长,断开根据虚拟SIM卡数据连接的网络;当移动终端已存储与与当前MCC对应的流量资源,断开根据虚拟SIM卡数据连接的网络。In an embodiment, at least one of the following methods is further performed: when the mobile terminal reaches the preset duration according to the duration of the virtual SIM card data connection network, disconnecting the network according to the virtual SIM card data connection; when the mobile terminal has been stored and The current MCC corresponds to the traffic resource, and disconnects the network connected according to the virtual SIM card data.
在一个实施例中,还执行:将当前MCC与移动终端中实体SIM卡对应的MCC对比;若当前MCC与实体SIM卡对应的MCC相同,将虚拟SIM卡数据切换到关闭状态。In an embodiment, performing: comparing the current MCC with the MCC corresponding to the physical SIM card in the mobile terminal; if the current MCC is the same as the MCC corresponding to the physical SIM card, switching the virtual SIM card data to the closed state.
本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to a memory, storage, database or other medium used herein may include non-volatile and/or volatile memory. Suitable non-volatile memories can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM), which acts as an external cache. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization. Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments are merely illustrative of several embodiments of the present application, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the claims. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the present application. Therefore, the scope of the invention should be determined by the appended claims.
Claims (24)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710924392.4 | 2017-09-30 | ||
| CN201710924392.4A CN107770767B (en) | 2017-09-30 | 2017-09-30 | Information processing method, device, mobile terminal and computer readable storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019062381A1 true WO2019062381A1 (en) | 2019-04-04 |
Family
ID=61267929
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/101357 Ceased WO2019062381A1 (en) | 2017-09-30 | 2018-08-20 | Information processing method, device and mobile terminal, and computer readable storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107770767B (en) |
| WO (1) | WO2019062381A1 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107770767B (en) * | 2017-09-30 | 2020-05-22 | Oppo广东移动通信有限公司 | Information processing method, device, mobile terminal and computer readable storage medium |
| CN110753338B (en) * | 2018-07-23 | 2022-08-26 | 宁波三星医疗电气股份有限公司 | Enhanced communication method based on virtual SIM card |
| CN111132049A (en) * | 2019-12-12 | 2020-05-08 | 深圳杰睿联科技有限公司 | Virtual card-based on-site card purchasing method and system and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105101167A (en) * | 2015-08-31 | 2015-11-25 | 联想(北京)有限公司 | Data service transmission method and user terminal |
| CN105188048A (en) * | 2015-07-31 | 2015-12-23 | 上海海漾软件技术有限公司 | Method, device and terminal equipment for loading customized applications for mobile terminal |
| CN105554728A (en) * | 2015-12-10 | 2016-05-04 | 深圳市迪讯飞科技有限公司 | Cloud SIM card pool system |
| CN106304037A (en) * | 2015-05-19 | 2017-01-04 | 努比亚技术有限公司 | The management method of virtual SIM card and device |
| CN107770767A (en) * | 2017-09-30 | 2018-03-06 | 广东欧珀移动通信有限公司 | Information processing method, device, mobile terminal and computer readable storage medium |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106162603A (en) * | 2015-04-24 | 2016-11-23 | 中兴通讯股份有限公司 | A kind of method and apparatus realizing card selection |
| CN105072602A (en) * | 2015-07-14 | 2015-11-18 | 深圳市斯凯荣科技有限公司 | SIM/USIM distribution system, and card distribution, card release and card switching methods thereof |
| CN105530623B (en) * | 2015-11-25 | 2016-12-07 | 深圳市斯凯荣科技有限公司 | Realize the method and system that communication of mobile terminal connects |
| CN106851617B (en) * | 2017-02-14 | 2020-10-30 | 深圳市迪讯飞科技有限公司 | Virtual SIM card system and method for mobile terminal to use virtual SIM card |
-
2017
- 2017-09-30 CN CN201710924392.4A patent/CN107770767B/en active Active
-
2018
- 2018-08-20 WO PCT/CN2018/101357 patent/WO2019062381A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106304037A (en) * | 2015-05-19 | 2017-01-04 | 努比亚技术有限公司 | The management method of virtual SIM card and device |
| CN105188048A (en) * | 2015-07-31 | 2015-12-23 | 上海海漾软件技术有限公司 | Method, device and terminal equipment for loading customized applications for mobile terminal |
| CN105101167A (en) * | 2015-08-31 | 2015-11-25 | 联想(北京)有限公司 | Data service transmission method and user terminal |
| CN105554728A (en) * | 2015-12-10 | 2016-05-04 | 深圳市迪讯飞科技有限公司 | Cloud SIM card pool system |
| CN107770767A (en) * | 2017-09-30 | 2018-03-06 | 广东欧珀移动通信有限公司 | Information processing method, device, mobile terminal and computer readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107770767A (en) | 2018-03-06 |
| CN107770767B (en) | 2020-05-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107820331B (en) | Call method, device, computer equipment and readable storage medium | |
| CN107682910B (en) | Traffic resource sharing method and device, mobile terminal and storage medium | |
| CN107708108B (en) | Information processing method, information processing device, computer-readable storage medium and computer equipment | |
| CN107484154B (en) | Data switching method and device, terminal, and computer-readable storage medium | |
| CN108988909B (en) | Audio processing method and device, electronic equipment and computer readable storage medium | |
| CN107682338B (en) | Method, device and system for acquiring and processing configuration information | |
| CN107743305B (en) | Method and apparatus for loading configuration information, and computer equipment | |
| CN106506728B (en) | An access point name configuration method and mobile terminal | |
| CN107508715B (en) | Configuration information acquisition and processing method, device and system | |
| CN105657791A (en) | Communication network access method and device | |
| CN107734495B (en) | Information processing method, device, storage medium and terminal | |
| CN105704700A (en) | Communication network access method and device | |
| CN105898839A (en) | Communication network access method and device | |
| CN107360193A (en) | Method, terminal and system for directional acquisition of configuration information | |
| CN107682851A (en) | Information processing method, device, mobile terminal, and computer-readable storage medium | |
| CN107734492B (en) | Information processing method, device, mobile terminal, and computer-readable storage medium | |
| CN107623612A (en) | Traffic display method and device, computer equipment, and computer-readable storage medium | |
| WO2019062381A1 (en) | Information processing method, device and mobile terminal, and computer readable storage medium | |
| CN107743303B (en) | Information processing method, device, mobile terminal, and computer-readable storage medium | |
| CN105636173A (en) | Network searching control method and equipment | |
| CN107708107A (en) | Network communication processing method, device, storage medium and terminal | |
| CN107682552B (en) | Information processing method, device, mobile terminal, and computer-readable storage medium | |
| CN105704788A (en) | Communication network access method and user equipment | |
| CN105744602A (en) | Communication network access method and device | |
| CN105744600A (en) | Communication network access method and user equipment |
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: 18863603 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: 18863603 Country of ref document: EP Kind code of ref document: A1 |