CN107770767B - Information processing method, device, mobile terminal and computer readable storage medium - Google Patents

Information processing method, device, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN107770767B
CN107770767B CN201710924392.4A CN201710924392A CN107770767B CN 107770767 B CN107770767 B CN 107770767B CN 201710924392 A CN201710924392 A CN 201710924392A CN 107770767 B CN107770767 B CN 107770767B
Authority
CN
China
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.)
Active
Application number
CN201710924392.4A
Other languages
Chinese (zh)
Other versions
CN107770767A (en
Inventor
苏志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710924392.4A priority Critical patent/CN107770767B/en
Publication of CN107770767A publication Critical patent/CN107770767A/en
Priority to PCT/CN2018/101357 priority patent/WO2019062381A1/en
Application granted granted Critical
Publication of CN107770767B publication Critical patent/CN107770767B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/08Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access]
    • H04W74/0833Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure
    • H04W74/0841Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure with collision treatment
    • H04W74/085Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure with collision treatment collision avoidance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

The application relates to an information processing method, an information processing device, a mobile terminal and a computer readable storage medium. The method comprises the following steps: when the MCC is detected to be changed and the mobile terminal is not connected with a network, acquiring a virtual SIM card data set preset by the mobile terminal; 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; and connecting a network according to the virtual SIM card data. According to the method, when the change of the current MCC is detected and the mobile terminal is not connected with the network, the corresponding virtual SIM card data connection network is selected according to the IMEI number of the mobile terminal, so that the network can be provided to facilitate a user to purchase flow resources under the condition of no network, the virtual SIM card data is selected through the IMEI number, the condition that different mobile terminals use the same virtual SIM card data connection network to cause conflict is reduced, and the conflict probability is reduced.

Description

Information processing method, device, mobile terminal and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an information processing method and apparatus, a mobile terminal, and a computer-readable storage medium.
Background
With the improvement of the living standard of the users, more and more users choose to travel abroad, study, work and the like. Generally, when the SIM card in the mobile terminal cannot connect to the mobile network after the user leaves the country, the user may 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. Generally, the international roaming fee of the SIM card is expensive, and frequent replacement of the SIM card causes inconvenience to the life of the user.
Disclosure of Invention
The embodiment of the application provides an information processing method, an information processing device, a mobile terminal and a computer readable storage medium, which can adopt a virtual SIM card to connect a network when an MCC changes and no network exists.
An information processing method comprising:
when the MCC is detected to be changed and the mobile terminal is not connected with a network, acquiring a virtual SIM card data set preset by the mobile terminal;
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;
and connecting a network according to the virtual SIM card data.
An information processing apparatus comprising:
the acquiring module is used for acquiring a virtual SIM card data set preset by the mobile terminal when the MCC is detected to be changed and the mobile terminal is not connected with a network;
the selection module is used for 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;
and the connection module is used for connecting a network according to the virtual SIM card data.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method as set forth above.
A mobile terminal comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the method as described above.
In the embodiment of the application, when the change of the current MCC is detected and the mobile terminal is not connected with the network, the corresponding virtual SIM card data connection network is selected according to the IMEI number of the mobile terminal, so that the network is provided for facilitating a user to purchase flow resources under the condition of no network, the virtual SIM card data is selected through the IMEI number, the condition that different mobile terminals use the same virtual SIM card data connection network to cause conflicts is reduced, and the conflict probability is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an application environment of an information processing method in one embodiment;
FIG. 2 is a partial architecture diagram of a mobile terminal in one embodiment;
FIG. 3 is a timing diagram illustrating the interaction of a mobile terminal with a server in one embodiment;
FIG. 4 is a diagram illustrating an internal architecture of a server according to an embodiment;
FIG. 5 is a flow diagram of a method of information processing in one embodiment;
FIG. 6 is a block diagram showing the configuration of an information processing apparatus according to an embodiment;
FIG. 7 is a block diagram showing the construction of an information processing apparatus according to another embodiment;
FIG. 8 is a block diagram showing the construction of an information processing apparatus according to another embodiment;
FIG. 9 is a block diagram showing the construction of an information processing apparatus according to another embodiment;
fig. 10 is a block diagram of a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
FIG. 1 is a diagram of an application environment of an information processing method in one embodiment. As shown in fig. 1, the application environment includes a server 110 and a mobile terminal 120. The server 110 is a server, which may be a cloud server, used by a virtual network operator to provide network traffic to the mobile terminal 120. The server 110 may provide the mobile terminal 120 with virtual Subscriber Identity Module (SIM) card information and services for implementing network communication using the virtual SIM card. The mobile terminal 120 may be provided with a virtual SIM Application (APP) 121, a virtual SIM operating system 122, and a virtual SIM adaptation layer 123. The virtual SIM card APP 121, the virtual SIM card operating system 122 and the virtual SIM card adapting layer 123 may all be disposed in an Application Processor (AP) on the mobile terminal 120. The server 110 may 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 may implement communication with radio frequency communication control software disposed in a Baseband Processor (BP) through the virtual SIM card adaptation layer 123, so as to implement network communication using the virtual SIM card.
Among other things, the server 110 may provide the virtual SIM card APP 121 of the mobile terminal 120 with an associated interface through which communication with the mobile terminal 120 is enabled. The interface may include interfaces for user and equipment management, package and order management, encrypted transmission of SIM resources, etc. The server 110 may provide a relevant Interface to the virtual SIM card APP 121 in the form of a RESTful Application Programming Interface (API). The virtual SIM card information includes, but is not limited to, basic information of the virtual SIM card, order information of virtual SIM card purchase, traffic usage information of the virtual SIM card, term information, and the like.
Fig. 2 is a partial architecture diagram of a mobile terminal including modules associated with a virtual SIM card in one embodiment. 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 adapting layer, a virtual SIM card APP, and a phonebook/information module. A Telephony Interface Layer and a Radio Interface Layer (Java) Layer may be disposed in the Framework Layer (Framework Layer). The Modem (Modem) can be a module consisting of a baseband processor, radio frequency and other peripheral chips, etc., and is a GSM/GPRS Modem. The Telephony interface layer is used for providing a universal interface, and the virtual SIM card operating system performs Socket interaction with the Modem through the Telephony interface layer, so that whether a virtual card exists or not and the position of a card slot where the virtual card is located can be judged. The virtual SIM card operating system performs Socket interaction with the Modem switched to the virtual SIM card channel through the virtual SIM card adapting layer, and can realize the functions of activating and closing the virtual card, using the virtual SIM card to perform network communication function and the like. It is to be understood that the structure shown in fig. 2 is only a part of the modules related to the present application, and does not constitute a limitation to the computer device to which the present application is applied, and a specific computer device may include more or less modules than those shown in the drawings, or combine some modules, or have a different module arrangement. For example, a dual card management module can be arranged on the framework layer, and the dual card management module can communicate with the Telephony interface layer.
In one embodiment, the mobile terminal may provide a management operation interface of the virtual SIM card to the user through the virtual SIM card APP, and when detecting a relevant operation acting on the management operation interface, generate a corresponding virtual SIM card processing instruction, and send the processing instruction to the virtual SIM card operating system. The virtual SIM operating system can simulate the system logic of a real SIM card, implementing a protocol and file system of relevant specifications required for network communication. The virtual SIM card operating system can receive a processing instruction from the virtual SIM card App, send a message corresponding to the processing instruction to the Modem through the virtual SIM card adapting layer, receive response information of the Modem and jointly realize the function of using the virtual SIM card to carry out network communication. The above-mentioned related protocols may include protocols of International Organization for standardization (ISO) 7816 and 3rd Generation Partnership Project (3 GPP) standards for Universal Integrated Circuit Card (UICC) and Universal Subscriber Identity Module (USIM).
In one embodiment, the processing instructions may include package purchase instructions, enable instructions, disable instructions, close instructions, and the like for the corresponding virtual SIM card. The implemented content of network communication using the virtual SIM card includes, but is not limited to, implementing interactive management of virtual SIM card information, dynamic update of state, statistics and rate limitation of traffic, and the like, such as implementing deletion of storage of the virtual SIM card information and enabling and closing of the virtual SIM card.
In one embodiment, as shown in fig. 3, a timing diagram is provided that includes the interaction process between the modules in the scenario of package purchase, activation and deactivation of a virtual SIM card. Referring to FIG. 3, the package purchase process includes steps 301-306; the package activation process comprises steps 311-316; the package failure process comprises steps 321-326.
When the mobile terminal detects that the MCC corresponding to the current mobile communication network changes and the mobile terminal is not connected with the network, namely the mobile terminal is in a network-free state, the mobile terminal can start a preset virtual SIM card to connect the mobile communication network in a data mode. After the mobile terminal is connected with the mobile communication network, the mobile terminal can be connected with the data network for communication to carry out operations such as flow package purchase and start. The Mobile terminal may select virtual SIM card data corresponding to the Mobile terminal according to an International Mobile Equipment Identity (IMEI). The flow refers to the number of bytes consumed by the mobile terminal to use network communication after connecting with the network.
Step 301, the mobile terminal sends a virtual SIM card purchase request to the server through the virtual SIM card APP.
The mobile terminal can display a virtual SIM card purchasing interface to a user through the virtual SIM card APP, detect purchasing operation acting on the interface, trigger a purchasing instruction according to the detected purchasing operation, and send a virtual SIM card purchasing request to the server. The purchasing interface can provide a virtual button corresponding to purchasing operation, and when the clicking operation of the virtual button is received, a purchasing instruction can be triggered, or when preset voice information or preset motion information corresponding to the purchasing instruction is detected, the purchasing instruction can be triggered. For example, the purchase instruction may be triggered when voice information including "purchase virtual card" is detected or preset motion information such as shaking up and down the mobile terminal is detected.
In one embodiment, the mobile terminal may send the virtual SIM card purchase request to the server through a corresponding communication interface between a preset virtual SIM card APP and the server. Wherein, the purchase request includes the user identification. The user identifier is used for uniquely identifying the identity of the corresponding user and can be composed of numbers, letters or other characters with preset digits.
Step 302, the server acquires the corresponding virtual SIM card meal 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 obtain one or more types of virtual SIM card meal information matching the purchase request according to the purchase request. In one embodiment, the purchase request may further include location information of the mobile terminal, and the server may obtain one or more types of virtual SIM card meal information matching the location information. Each package information includes one or more kinds of field information such as corresponding flow total amount, valid time and price. The total traffic indicates the total amount of internet traffic available for the package, for example, 10GB internet traffic. The validity period may comprise a validity period of the package, such as 24 hours, 3 days, 7 days, or the like. The price represents information on the fee to be paid for purchasing the corresponding package.
Step 303, the server sends the virtual SIM card meal information to the mobile terminal.
The server may transmit virtual SIM card meal information corresponding to the virtual SIM card purchase request matching the request to the mobile terminal. In one embodiment, multiple virtual SIM card package meal information may be sent for selection by the user.
And step 304, 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 the package information. The mobile terminal can detect a selection operation acting on the package information display interface through the virtual SIM card APP, determine a 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. Wherein the selected set of meals may comprise one or more.
And 305, the server receives the package selection instruction and sends package data corresponding to the package selection instruction to the mobile terminal.
The server can receive the package selection instruction sent by the mobile terminal and identify package information corresponding to the package selection instruction. The package selection instruction can contain package identification of the selected package information, and the server can determine the package information corresponding to the package identification and acquire package data corresponding to the package information. The package identifier is used for uniquely identifying package information of a package. The package data contains basic data and flow data of the virtual SIM card. The basic data comprises necessary data such as operator information, network access parameter information, virtual SIM card identification and the like of the virtual SIM card for realizing virtual SIM card network communication. The traffic data includes information such as the size and the effective time of the corresponding network communication available traffic.
And step 306, 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 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 can send the received package data to a Modem of the mobile terminal through the virtual SIM card adapting layer and instruct the Modem to store the package data.
And 311, the mobile terminal acquires a package activating instruction through the virtual SIM card APP.
The mobile terminal can display a package activation interface through the virtual SIM card APP, detect activation operation acting on the package information display interface through the virtual SIM card APP, determine a corresponding activated package according to the detected activation operation, generate a package activation instruction for the package, and send the package activation instruction to the server.
And step 312, sending the package activating instruction to the virtual SIM card operating system through the virtual SIM card APP.
The virtual SIM card APP sends a package activating instruction to the virtual SIM card operating system through a preset communication mode between the virtual SIM card APP and the virtual SIM card operating system, and the package activating instruction comprises a package identifier corresponding to a package to be activated, so that the virtual SIM card operating system can determine the package to be activated according to the package identifier and a user identifier.
And 313, the mobile terminal performs package activation processing through the virtual SIM card operating system.
The virtual SIM card operating system can forward the package activating instruction to the Modem through the Telephony interface layer, and the Modem extracts corresponding package data according to the received package activating instruction and activates the corresponding package data.
And step 314, feeding back an activation processing result to the virtual SIM card APP through the virtual SIM card operating system.
The virtual SIM card operating system can acquire the processing result of the activation processing performed by the Modem, send the acquired 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 look up. The activation processing result may include results of activation success and activation failure.
Step 315, the mobile terminal sends an activation use notification to the server through the virtual SIM card APP.
The virtual SIM card APP can send the acquired activation processing result to the server through the preset interface, 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, and the notification is used for indicating the server to start providing a service for using the virtual SIM card to perform network communication.
In step 316, the server receives the active use notification and feeds back response information for starting package monitoring to the mobile terminal.
After receiving the activated use notification, the server starts the use service of the activated package data, and can monitor the use state 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 feed back the response information of package monitoring to the APP of the mobile terminal. So that the user can know the server to successfully open the network communication service.
In step 321, the mobile terminal obtains the package invalidation instruction through the virtual SIM card APP.
The virtual SIM card APP can count the service time of the package data by using a timer arranged in the mobile terminal, or can acquire the current time, and when the package data is judged to be invalid according to the service time or the current acquisition time, a package invalidation instruction is automatically triggered. Or the mobile terminal can also display a package management interface through the virtual SIM card APP, detect failure operation acting on the package information display interface through the virtual SIM card APP, determine a corresponding failed package according to the detected failure operation, generate a package failure instruction for the package, and send the package failure instruction to the server.
And 322, the mobile terminal sends a package failure notice to the server through the virtual SIM card APP.
The virtual SIM card APP can send package failure notification to the server after package data failure is detected, and the notification is used for indicating the server to confirm and detect whether the related packages are failed or not. Wherein, the notification carries the package identification.
In step 323, the server receives the package invalidation notification and performs package invalidation processing.
The server can detect whether the corresponding package is invalid or not according to the received package invalidation notification, and if the package invalidation is confirmed, package invalidation can be processed to terminate the network communication service of the corresponding package data.
In step 324, the server feeds back package failure confirmation information to the mobile terminal.
Step 325, the mobile terminal receives the confirmation information through the virtual SIM card APP and sends a package invalidation processing instruction to the virtual SIM card operating system.
After receiving the confirmation information that the package is invalid, the mobile terminal generates a package invalidation processing instruction and sends the processing instruction to the virtual SIM card operating system, wherein the instruction carries a package identifier.
In step 326, the virtual SIM card operating system of the mobile terminal performs package invalidation processing.
The virtual SIM card operating system can further forward a package failure processing instruction to the Modem so as to instruct the Modem to delete corresponding package data, or terminate the virtual SIM card communication by using the package data, and can further recover the normal communication of the entity SIM card involved in the mobile terminal.
Fig. 4 is a schematic diagram of an internal structure of the server in one embodiment. As shown in fig. 4, the server includes a processor, a non-volatile storage medium, an internal memory, and a network interface connected through a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole computer equipment. 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-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 data for implementing the information processing method applied to the computer device provided in the embodiment of the present application, for example, interface data for communicating with the virtual SIM card APP on the computer device, and related virtual SIM card information and the like may be stored. The internal memory provides a cached execution environment for an operating system in the nonvolatile storage medium and an information processing method applicable to the computer apparatus. The network interface may be an ethernet card or a wireless network card, etc. for communicating with an external computer device. The server may be implemented as a stand-alone server or as a server cluster consisting of a plurality of servers. Those skilled in the art will appreciate that the architecture shown in fig. 4 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the servers to which the subject application applies, as a particular server may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
FIG. 5 is a flow diagram of a method for information processing in one embodiment. As shown in fig. 5, an information processing method includes:
step 502, when MCC change is detected and the mobile terminal is not connected to the network, a virtual SIM card data set preset by the mobile terminal is obtained.
A Mobile Country Code (MCC) is a number that is uniformly managed and allocated by the international telecommunications union and is used to uniquely identify a Country to which a Mobile terminal belongs. MCCs in different countries or regions are different, for example, MCC in the continental region of china is 460. Generally, an entity SIM card in a mobile terminal will carry an International Mobile Subscriber Identity (IMSI) Number, which records valid information for distinguishing mobile subscribers, including MCC and the like. For example, if the user purchases the physical SIM card in continental china, the MCC in the IMSI number of the physical SIM card is 460.
When the mobile terminal detects a mobile communication network, operator information of the current mobile communication network can be detected. The method specifically comprises the following steps: the mobile terminal can obtain the operator information of the current mobile communication network through CTTelephonyNetworkInfo and CTCarrier type in CoreTelephony Framework. The CTCarrier type may represent operator information of a current mobile communication network, the mobile terminal may obtain the CTCarrier type by calling a subscriber cellular provider in a cttelephonynetwork info, the CTCarrier type records an MCC and a mobile network number (MNC) of the current mobile communication network, and the MNC is a number for identifying the mobile communication network. The mobile terminal can also call the subscriber cellular providerdata and update notifier to detect whether the operator information of the current mobile communication network changes.
When the mobile terminal detects that the operator information of the current mobile communication network changes, whether the MCC of the current mobile communication network changes can be further detected, and when the MCC of the current mobile communication network changes is detected, the current network state can be acquired. The method specifically comprises the following steps: the mobile terminal can directly acquire the current network state through the reality, and judge whether the mobile terminal is connected with the network or not, wherein the connected network is a Wireless-Fidelity (Wi-Fi) network or a cellular data network.
When the mobile terminal detects that the MCC is changed and the mobile terminal is not connected with a network, a preset virtual SIM card data set in the mobile terminal can be acquired. The virtual SIM card data set stores virtual SIM card data. The virtual SIM card data is authentication information of the mobile communication network, and the mobile terminal can be connected with the mobile communication network according to the virtual SIM card data and then connected with the data network, so that the mobile terminal can communicate through the data network. The virtual SIM card data needs to occupy an SIM card slot when being connected with a mobile communication network, and can directly occupy an empty SIM card slot when the empty SIM card slot exists in the mobile terminal; when the mobile terminal does not have an empty SIM card slot, the mobile terminal can switch the state of the entity SIM card to a standby state and occupy the card slot of the entity SIM card. Specifically, the virtual SIM card data may be an IMSI Number, the IMSI Number includes MCC, MNC and a Mobile Subscriber Identity Number (MSIN), and the mobile terminal may connect to the mobile communication network and then connect to the data network according to the IMSI Number. In one embodiment, the virtual SIM card data may be a number encoded according to a preset rule, the virtual network operator may recognize the number, and the mobile terminal may initiate a networking request to the virtual network operator according to the number to connect to the mobile communication network and then connect to the data network. The preset rule may be a rule agreed by the mobile terminal and the virtual network operator.
Step 504, selecting virtual SIM card data corresponding to an International Mobile Equipment Identity (IMEI) of the Mobile terminal from the virtual SIM card data set according to a preset rule.
The mobile terminal can acquire the IMEI number of the current mobile terminal, analyze 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 used to uniquely identify a mobile terminal, and the IMEI numbers of different mobile terminals are different. The single-card mobile terminal is provided with 1 IMEI number, the double-card mobile terminal is provided with 2 IMEI numbers, and the IMEI numbers correspond to the card slots in the mobile terminal one by one. When the mobile terminal is a single-card mobile terminal, the IMEI number of the mobile terminal can be directly acquired. 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 acquired. When the mobile terminal is a dual-card mobile terminal, 1 IMEI number can be randomly acquired.
And step 506, connecting the network according to the virtual SIM card data.
After acquiring the virtual SIM card data corresponding to the IMEI number of the mobile terminal, the mobile terminal can be connected with a mobile communication network according to the virtual SIM card data. After connecting to the mobile communication network, the data network is connected.
In general, after the virtual SIM card data is preset in the mobile terminal, the mobile terminal may select a fixed virtual SIM card data to connect to the network. However, it is costly to assign a fixed virtual SIM card data to each mobile terminal, and assigning the same virtual SIM card data to multiple mobile terminals may result in conflicts among the multiple mobile terminals.
According to the method, when the change of the current MCC is detected and the mobile terminal is not connected with the network, the corresponding virtual SIM card data connection network is selected according to the IMEI number of the mobile terminal, so that the network can be provided to facilitate a user to purchase flow resources under the condition of no network, the virtual SIM card data is selected through the IMEI number, the condition that different mobile terminals use the same virtual SIM card data connection network to cause conflicts is reduced, and the conflict probability is reduced.
In one embodiment, before acquiring the virtual SIM card data set preset by the mobile terminal, the method further includes: and determining the number of the virtual SIM card data set according to the number of the IMEI number preset position, and acquiring the virtual SIM card data set corresponding to the number. 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 comprises the following steps: and randomly selecting one piece of virtual SIM card data from the virtual SIM card data set corresponding to the serial number as the virtual SIM card data corresponding to the IMEI number of the mobile terminal.
The virtual SIM card data set corresponds to a virtual SIM card data set number. After the mobile terminal determines the number of the virtual SIM card data set according to the number of the IMEI number preset position, the mobile terminal can acquire the virtual SIM card data set corresponding to the number. For example, the mobile terminal has 100 preset virtual SIM card data sets, and each virtual SIM card data set has 600 virtual SIM card data. And the mobile terminal analyzes the IMEI number to obtain a serial number of 23, and then a virtual SIM card data set with the serial number of 23 is searched as a virtual SIM card data set corresponding to the IMEI number of the mobile terminal.
After acquiring the virtual SIM card data set corresponding to the IMEI number of the mobile terminal, the mobile terminal may randomly select 1 piece of 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 may sort the virtual SIM card data in the virtual SIM card data set, for example, by name. After acquiring the virtual SIM card data corresponding to the IMEI number of the mobile terminal, the mobile terminal may generate 1 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 39 th virtual SIM card data in the virtual SIM card data set is searched.
In the method in the embodiment of the application, the virtual SIM card data set is determined according to the number of the IMEI number preset position, and then the virtual SIM card data is randomly selected. Through the IMEI number plus random selection mode, the probability that different mobile terminals use the same virtual SIM card to connect the network at the same time is reduced, and the conflict rate among different mobile terminals is reduced.
In one embodiment, before acquiring the virtual SIM card data set preset by the mobile terminal, the method further includes: and acquiring a virtual SIM card data set corresponding to the current MCC. 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 comprises the following steps: and selecting one piece of virtual SIM card data as virtual SIM card data corresponding to the IMEI number of the mobile terminal according to the number of the IMEI number preset position, wherein the virtual SIM card data is selected from a 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 the virtual SIM card data in the virtual SIM card data set corresponding to each MCC may be the same or different. After the current MCC is obtained, a virtual SIM card data set corresponding to the current MCC may be searched. For example, if the MCC 262 pre-stored in the mobile terminal is the corresponding virtual SIM card data set number 34, the virtual SIM card data set with the number 34 can be searched as the virtual SIM card data set corresponding to the current MCC when the current MCC is 262.
The mobile terminal may sort the virtual SIM card data in the virtual SIM card data set. After the mobile terminal acquires the serial number according to the number of the IMEI number preset position, the virtual SIM card data corresponding to the serial number can be searched in the virtual SIM card data set to serve 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 12 th digit and the 13 th digit of the IMEI number as the serial number 56, and selects the 56 th 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 may also randomly select a virtual SIM card data as the virtual SIM card data corresponding to the IMEI number of the mobile terminal. The mobile terminal can also generate a random number, and the corresponding virtual SIM card data in the virtual SIM card data set is searched according to the random number to be used as the virtual SIM card data corresponding to the IMEI number of the mobile terminal.
According to the method in the embodiment of the application, the virtual SIM card data are selected according to the MCC and the IMEI number, so that the probability that different mobile terminals select the same virtual SIM card data at the same time to connect with the network is reduced, and the conflict rate of different mobile terminals is reduced.
In one embodiment, the step of presetting the virtual SIM card data set comprises: acquiring the number of preset virtual SIM card data sets; and equally dividing the virtual SIM card data according to the number of the preset virtual SIM card data sets.
The number of the virtual SIM card data sets is preset in the mobile terminal. The mobile terminal may store the virtual SIM card data in the virtual SIM card data set in equal portions. For example, if the number of the preset virtual SIM card data sets in the mobile terminal is 60 and the number of the preset virtual SIM card data sets in the mobile terminal is 60000, the mobile terminal may equally divide 60000 virtual card data sets into 60 shares, and each share of 1000 virtual SIM card data sets is stored in the corresponding virtual SIM card data set.
In one embodiment, the mobile terminal may also store preset virtual SIM card data in the virtual SIM card data set in an increasing/decreasing number.
In one embodiment, the step of presetting the virtual SIM card data set comprises:
(1) and acquiring the preset MCC number and MCC sequencing information.
(2) And determining the number of the virtual SIM card data sets according to the preset MCC number.
(3) And establishing a corresponding relation between the MCC and the virtual SIM card data set, and determining the number of the virtual SIM card data in the virtual SIM card data set according to the MCC sorting information.
The mobile terminal can obtain the country or the region with the visiting times reaching the specified threshold value from the server, and obtain the MCC of the country or the region as the preset MCC. The mobile terminal can also rank the preset MCC according to the visiting times from high to low to obtain the MCC ranking information. The mobile terminal may determine the number of the virtual SIM card data sets according to the preset MCC number. For example, the mobile terminal obtains 37 countries or regions with the number of visits reaching 10000 times from the server, and the mobile terminal obtains the MCCs of the 37 countries or regions as the preset MCCs and determines 37 of the number of the virtual SIM card data sets.
The mobile terminal may establish a corresponding relationship between the MCC and the virtual SIM card data set, for example, the number of the virtual SIM card data set corresponding to the MCC with the highest visiting number is 1. The mobile terminal may determine the amount of virtual SIM card data in the virtual SIM card data set according to 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 a ratio of the number of visits corresponding to the MCC. For example, if the ratio of the number of visits with MCCs 302, 310, and 314 is 3: 2: 1, the ratio of the number of virtual SIM cards in the virtual SIM card data set corresponding to MCC 302, the number of virtual SIM cards in the virtual SIM card data set corresponding to MCC 310, and 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 sorting information of the MCC. For example, the number of virtual SIM card data in the virtual SIM card data set corresponding to MCC with sequence number 1 is 1000, the number of virtual SIM card data in the virtual SIM card data set corresponding to MCC with sequence number 2 is 800 · and so on. 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.
In the method in the embodiment of the application, the number of the virtual SIM card data in the virtual SIM card data set is determined according to the MCC number and the MCC sorting information, so that the number of the virtual SIM card data in the virtual SIM card data sets corresponding to different MCCs is different, the situation that a plurality of mobile terminals use the same virtual SIM card data to simultaneously connect with a network in a hot country or region to cause conflict is reduced, and the situation that the number of the virtual SIM card data corresponding to a less-visited country or region is large to cause waste is also avoided.
In one embodiment, the method further comprises at least one of:
(1) and when the time length of the mobile terminal for connecting the network according to the virtual SIM card data reaches the preset time length, disconnecting the network connected according to the virtual SIM card data.
(2) And when the mobile terminal stores the flow resource corresponding to the current MCC, disconnecting the network connected according to the virtual SIM card data.
The mobile terminal can preset the time length of the virtual SIM card connecting network, and when the time length of the virtual SIM card connecting network reaches the preset time length, the network connected according to the virtual SIM card data is disconnected. For example, the mobile terminal may preset the duration of connecting the virtual SIM card data to the network to be 10 minutes, and when the duration of connecting the mobile terminal to the network through the virtual SIM card reaches 10 minutes, the mobile terminal may disconnect the network connection according to the virtual SIM card data. After downloading the traffic resource from the virtual network operator, the mobile terminal may store the downloaded traffic resource. And when the mobile terminal detects that the traffic resource corresponding to the current MCC is stored, disconnecting the network connected according to the virtual SIM card data. The mobile terminal may also pop up to prompt the user whether to activate the downloaded traffic resource corresponding to the current MCC.
According to the information processing method in the embodiment of the application, the time length of the virtual SIM card data connection network is limited, the situation that other mobile terminals cannot be connected with the network due to the fact that one mobile terminal occupies the virtual SIM card for too long time is avoided, and the conflict rate of the mobile terminal using the virtual SIM card data connection network is reduced.
In one embodiment, the method further comprises: comparing the current MCC with the MCC corresponding to an entity SIM card in the mobile terminal; and if the current MCC is the same as the MCC corresponding to the entity SIM card, switching the data of the virtual SIM card to a closed state.
The mobile terminal can compare the current MCC with the MCC in the IMSI number of the entity SIM card, and detect whether the current MCC is the same as the MCC in the IMSI number of the entity SIM card. When the mobile terminal is a single-card mobile terminal, the mobile terminal can compare the current MCC with the MCC in the IMSI number of the entity SIM card, and if the current MCC is detected to be the same as the MCC in the IMSI number of the entity SIM card, the virtual SIM card data is switched to a closed state, and the SIM card slot occupied by the virtual SIM card data is released. When the mobile terminal is a dual-card mobile terminal, the mobile terminal can compare the current MCC with the MCC in IMSI numbers of 2 entity SIM cards respectively, and if the current MCC is the same as the MCC in IMSI numbers of any 1 SIM card in the 2 SIM cards, the virtual SIM card data is switched to a closed state, and the SIM card slot occupied by the virtual SIM card data is released.
After the mobile terminal releases the card slot occupied by the virtual SIM card data, the entity SIM card can be reused to connect the mobile communication network for communication.
In the information processing method in the embodiment of the application, when it is detected that the current MCC is the same as the MCC in the physical SIM card, the virtual SIM card data is closed. That is, when it is detected that the mobile terminal is in the local area or the country of the SIM card, the virtual SIM card data is closed, so that the mobile terminal can enable the physical SIM card and utilize the physical SIM card to connect communication.
Fig. 6 is a block diagram showing the configuration of an information processing apparatus according to an embodiment. As shown in fig. 6, an information processing apparatus includes:
an obtaining module 602, configured to obtain a virtual SIM card data set preset by the mobile terminal when MCC change is detected and the mobile terminal is not connected to the network;
a selecting module 604, configured to select, according to a preset rule, virtual SIM card data corresponding to the IMEI number of the mobile terminal from the virtual SIM card data set;
a connection module 606, configured to connect to a network according to the virtual SIM card data.
In an embodiment, the obtaining module 602 is further configured to, before obtaining a virtual SIM card data set preset by the mobile terminal, determine a number of the virtual SIM card data set according to a number of an IMEI number preset position, and obtain a virtual SIM card data set corresponding to the number; the selecting module 604 is further configured to randomly select one virtual SIM card data from the virtual SIM card data set corresponding to the serial number as the virtual SIM card data corresponding to the IMEI number of the mobile terminal.
In an embodiment, the obtaining module 602 is further configured to obtain a virtual SIM card data set corresponding to the current MCC before obtaining the virtual SIM card data set preset by the mobile terminal; the selecting module 604 is further configured to select a virtual SIM card data as a virtual SIM card data corresponding to the IMEI number of the mobile terminal according to the number of the preset IMEI number position, where the virtual SIM card data is selected from a virtual SIM card data set corresponding to the current MCC.
Fig. 7 is a block diagram showing the structure of an information processing apparatus according to another embodiment. As shown in fig. 7, an information processing apparatus includes: a configuration module 702, an acquisition module 704, a selection module 706, and a connection module 708. The acquiring module 704, the selecting module 706 and the connecting module 708 have the same functions as the corresponding modules in fig. 6. Wherein:
a configuration module 702, configured to obtain the number of preset virtual SIM card data sets; and equally dividing the virtual SIM card data according to the number of the preset virtual SIM card data sets.
In an embodiment, the configuration module 702 is further configured to obtain a preset MCC number and MCC ranking information; determining the number of virtual SIM card data sets according to the number of the preset MCC; and establishing a corresponding relation between the MCC and the virtual SIM card data set, and determining the number of the virtual SIM card data in the virtual SIM card data set according to the MCC sorting information.
Fig. 8 is a block diagram showing the structure of an information processing apparatus according to another embodiment. As shown in fig. 8, 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 according to the virtual SIM card data connection when the time length for the mobile terminal to connect to the network according to the virtual SIM card data reaches a preset time length.
The disconnection module 808 is further configured to disconnect the network according to the data connection of the virtual SIM card when the mobile terminal stores the traffic resource corresponding to the current MCC.
Fig. 9 is a block diagram showing the configuration of an information processing apparatus according to another embodiment. As shown in fig. 9, 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 acquiring module 902, the selecting module 904 and the connecting module 906 have the same functions as the corresponding modules in fig. 7.
A comparing module 908, configured to compare the current MCC with an MCC corresponding to an entity 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.
The division of the modules in the information processing apparatus is only for illustration, and 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 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 processors to perform the steps of:
(1) and when the MCC is detected to be changed and the mobile terminal is not connected with a network, acquiring a virtual SIM card data set preset by the mobile terminal.
(2) And 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) And connecting the network according to the virtual SIM card data.
In one embodiment, before obtaining the virtual SIM card data set preset by the mobile terminal, further performing: determining the number of a virtual SIM card data set according to the number of the IMEI number preset position, and acquiring the virtual SIM card data set corresponding to the number; the processor selects 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, and the steps comprise: and randomly selecting one piece of virtual SIM card data from the virtual SIM card data set corresponding to the serial number as the virtual SIM card data corresponding to the IMEI number of the mobile terminal.
In one embodiment, before obtaining the virtual SIM card data set preset by the mobile terminal, further performing: acquiring a virtual SIM card data set corresponding to the current MCC; the processor selects 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, and the steps comprise: and selecting one piece of virtual SIM card data as virtual SIM card data corresponding to the IMEI number of the mobile terminal according to the number of the IMEI number preset position, wherein the virtual SIM card data is selected from a virtual SIM card data set corresponding to the current MCC.
In one embodiment, the step of the processor presetting the virtual SIM card data set comprises: acquiring the number of preset virtual SIM card data sets; and equally dividing the virtual SIM card data according to the number of the preset virtual SIM card data sets.
In one embodiment, the step of the processor presetting the virtual SIM card data set comprises: acquiring the number of preset MCCs and MCC sequencing information; determining the number of virtual SIM card data sets according to the number of the preset MCC; and establishing a corresponding relation between the MCC and the virtual SIM card data set, and determining the number of the virtual SIM card data in the virtual SIM card data set according to the MCC sorting information.
In one embodiment, at least one of the following methods is also performed: when the time length of the mobile terminal for connecting the network according to the virtual SIM card data reaches a preset time length, disconnecting the network connected according to the virtual SIM card data; and when the mobile terminal stores the flow resource corresponding to the current MCC, disconnecting the network connected according to the virtual SIM card data.
In one embodiment, further performing: comparing the current MCC with the MCC corresponding to an entity SIM card in the mobile terminal; and if the current MCC is the same as the MCC corresponding to the entity SIM card, switching the data of the virtual SIM card to a closed state.
The present application also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of:
(1) and when the MCC is detected to be changed and the mobile terminal is not connected with a network, acquiring a virtual SIM card data set preset by the mobile terminal.
(2) And 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) And connecting the network according to the virtual SIM card data.
In one embodiment, before obtaining the virtual SIM card data set preset by the mobile terminal, further performing: determining the number of a virtual SIM card data set according to the number of the IMEI number preset position, and acquiring the virtual SIM card data set corresponding to the number; the processor selects 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, and the steps comprise: and randomly selecting one piece of virtual SIM card data from the virtual SIM card data set corresponding to the serial number as the virtual SIM card data corresponding to the IMEI number of the mobile terminal.
In one embodiment, before obtaining the virtual SIM card data set preset by the mobile terminal, further performing: acquiring a virtual SIM card data set corresponding to the current MCC; the processor selects 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, and the steps comprise: and selecting one piece of virtual SIM card data as virtual SIM card data corresponding to the IMEI number of the mobile terminal according to the number of the IMEI number preset position, wherein the virtual SIM card data is selected from a virtual SIM card data set corresponding to the current MCC.
In one embodiment, the step of the processor presetting the virtual SIM card data set comprises: acquiring the number of preset virtual SIM card data sets; and equally dividing the virtual SIM card data according to the number of the preset virtual SIM card data sets.
In one embodiment, the step of the processor presetting the virtual SIM card data set comprises: acquiring the number of preset MCCs and MCC sequencing information; determining the number of virtual SIM card data sets according to the number of the preset MCC; and establishing a corresponding relation between the MCC and the virtual SIM card data set, and determining the number of the virtual SIM card data in the virtual SIM card data set according to the MCC sorting information.
In one embodiment, at least one of the following methods is also performed: when the time length of the mobile terminal for connecting the network according to the virtual SIM card data reaches a preset time length, disconnecting the network connected according to the virtual SIM card data; and when the mobile terminal stores the flow resource corresponding to the current MCC, disconnecting the network connected according to the virtual SIM card data.
In one embodiment, further performing: comparing the current MCC with the MCC corresponding to an entity SIM card in the mobile terminal; and if the current MCC is the same as the MCC corresponding to the entity SIM card, switching the data of the virtual SIM card to a closed state.
The embodiment of the application also provides the mobile terminal. As shown in fig. 10, for convenience of explanation, only the parts related to the embodiments of the present application are shown, and details of the technology are not disclosed, please refer to the method part of the embodiments of the present application. The mobile terminal may 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, taking the mobile terminal as the mobile phone as an example:
fig. 10 is a block diagram of a partial structure of a mobile phone 1000 related to a mobile terminal according to an embodiment of the present application. Referring to fig. 10, the cellular phone 1000 includes: radio Frequency (RF) circuit 1010, memory 1020, input unit 1030, display unit 1040, sensor 1050, audio circuit 1060, wireless fidelity (WiFi) module 1070, processor 1080, and power source 1090. Those skilled in the art will appreciate that the configuration of the handset 1000 shown in fig. 10 is not intended to be limiting of the handset 1000 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 1010 may be configured to receive and transmit signals during information transmission and reception or during a call, and may receive downlink information of a base station and then process the received downlink information to the processor 1080; the uplink data may also be transmitted to the base station. In general, the 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. In addition, the RF circuitry 1010 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
The memory 1020 can be used for storing software programs and modules, and the processor 1080 executes various functional applications and data processing of the mobile phone 1000 by operating the 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 program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the cellular phone 1000, and the like. Further, the memory 1020 may include high speed random access memory, and may 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 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 1000. Specifically, 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, may collect touch operations by a user (e.g., operations by a user on or near the touch panel 1031 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 1031 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1080, and can receive and execute commands sent by the processor 1080. In addition, the touch panel 1031 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 1030 may include other input devices 1032 in addition to the touch panel 1031. In particular, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
The display unit 1040 may be used to display information input by a user or information provided to the user, and various menus of the cellular phone 1000. The display unit 1040 may include a display panel 1041. In one embodiment, 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. In one embodiment, the touch panel 1031 can overlay the display panel 1041, and when the touch panel 1031 detects a touch operation on or near the touch panel 1031, the touch operation is transmitted to the processor 1080 to determine the type of the touch event, and then the processor 1080 provides a corresponding visual output on the display panel 1041 according to the type of the touch event. Although in fig. 10, the touch panel 1031 and the display panel 1041 are two separate components to implement the input and output functions of the mobile phone 1000, in some embodiments, the touch panel 1031 and the display panel 1041 may be integrated to implement the input and output functions of the mobile phone 1000.
The cell phone 1000 may also include at least one sensor 1050, such as a light sensor, motion sensor, and other sensors. Specifically, 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 ambient light, and the proximity sensor may turn off the display panel 1041 and/or the backlight when the mobile phone 1000 moves to the ear. The motion sensor can comprise an acceleration sensor, the acceleration sensor can detect the magnitude of acceleration in each direction, the magnitude and the direction of gravity can be detected when the mobile phone is static, and the motion sensor can be used for identifying the application (such as horizontal and vertical screen switching) of the gesture of the mobile phone 1000, and relevant functions (such as pedometer and knocking) of vibration identification and the like; the mobile phone 1000 may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
Audio circuitry 1060, speaker 1061, and microphone 1062 may provide an audio interface between a user and the cell phone 1000. The audio circuit 1060 can transmit the electrical signal converted from the received audio data to the speaker 1061, and the electrical signal is converted into a sound signal by the speaker 1061 and output; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1060 and converted into audio data, and then the audio data is processed by the audio data output processor 1080 and then sent to another mobile phone 1000 via the RF circuit 1010, or the audio data is output to the memory 1020 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone 1000 can help the user send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 1070, which provides the user with wireless broadband internet access. Although fig. 10 shows the WiFi module 1070, it is to be understood that it does not belong to the essential constitution of the handset 1000 and may be omitted as needed.
The processor 1080 is a control center of the mobile phone 1000, connects various parts of the entire mobile phone 1000 by using various interfaces and lines, and performs various functions of the mobile phone 1000 and processes data by operating or executing software programs and/or modules stored in the memory 1020 and calling data stored in the memory 1020, thereby performing overall monitoring of the mobile phone 1000. In one embodiment, processor 1080 may include one or more processing units. In one embodiment, processor 1080 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, and the like; the modem processor handles primarily wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1080.
The handset 1000 also includes a power supply 1090 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 1080 via a power management system that may be configured to manage charging, discharging, and power consumption.
In one embodiment, the cell phone 1000 may also include a camera, a bluetooth module, and the like.
In the embodiment of the present application, the processor 1080 included in the mobile terminal, when executing the computer program stored in the memory 1020, implements the following steps:
(1) and when the MCC is detected to be changed and the mobile terminal is not connected with a network, acquiring a virtual SIM card data set preset by the mobile terminal.
(2) And 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) And connecting the network according to the virtual SIM card data.
In one embodiment, before obtaining the virtual SIM card data set preset by the mobile terminal, further performing: determining the number of a virtual SIM card data set according to the number of the IMEI number preset position, and acquiring the virtual SIM card data set corresponding to the number; the processor selects 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, and the steps comprise: and randomly selecting one piece of virtual SIM card data from the virtual SIM card data set corresponding to the serial number as the virtual SIM card data corresponding to the IMEI number of the mobile terminal.
In one embodiment, before obtaining the virtual SIM card data set preset by the mobile terminal, further performing: acquiring a virtual SIM card data set corresponding to the current MCC; the processor selects 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, and the steps comprise: and selecting one piece of virtual SIM card data as virtual SIM card data corresponding to the IMEI number of the mobile terminal according to the number of the IMEI number preset position, wherein the virtual SIM card data is selected from a virtual SIM card data set corresponding to the current MCC.
In one embodiment, the step of the processor 1080 presetting the virtual SIM card data set includes: acquiring the number of preset virtual SIM card data sets; and equally dividing the virtual SIM card data according to the number of the preset virtual SIM card data sets.
In one embodiment, the step of the processor 1080 presetting the virtual SIM card data set includes: acquiring the number of preset MCCs and MCC sequencing information; determining the number of virtual SIM card data sets according to the number of the preset MCC; and establishing a corresponding relation between the MCC and the virtual SIM card data set, and determining the number of the virtual SIM card data in the virtual SIM card data set according to the MCC sorting information.
In one embodiment, at least one of the following methods is also performed: when the time length of the mobile terminal for connecting the network according to the virtual SIM card data reaches a preset time length, disconnecting the network connected according to the virtual SIM card data; and when the mobile terminal stores the flow resource corresponding to the current MCC, disconnecting the network connected according to the virtual SIM card data.
In one embodiment, further performing: comparing the current MCC with the MCC corresponding to an entity SIM card in the mobile terminal; and if the current MCC is the same as the MCC corresponding to the entity SIM card, switching the data of the virtual SIM card to a closed state.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Suitable 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 external cache memory. 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), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (14)

1. An information processing method characterized by comprising:
acquiring the number of preset MCCs and MCC sequencing information, wherein the MCC sequencing information is obtained by sequencing the preset MCCs from high to low according to the number of visits of the mobile terminal; determining the number of virtual SIM card data sets according to the preset MCC number; establishing a corresponding relation between MCC and the virtual SIM card data set, and determining the number of virtual SIM card data in the virtual SIM card data set according to the MCC sorting information; the virtual SIM card data is authentication information of a mobile communication network;
when detecting that the country code MCC of a mobile signal changes and the mobile terminal is not connected with a network, acquiring a virtual SIM card data set preset by the mobile terminal;
selecting virtual SIM card data corresponding to an International Mobile Equipment Identity (IMEI) number of the mobile terminal from the virtual SIM card data set according to a preset rule;
and connecting a network according to the virtual SIM card data.
2. The method according to claim 1, further comprising, before said obtaining the virtual SIM card data set preset by the mobile terminal:
determining the number of the virtual SIM card data set according to the number of the IMEI number preset position, and acquiring the virtual SIM card data set corresponding to the number;
the 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 comprises the following steps:
and randomly selecting one piece of 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.
3. The method according to claim 1, further comprising, before said obtaining the virtual SIM card data set preset by the mobile terminal:
acquiring a virtual SIM card data set corresponding to the current MCC;
the 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 comprises the following steps:
and selecting one piece of virtual SIM card data as the virtual SIM card data corresponding to the IMEI number of the mobile terminal according to the number of the IMEI number preset position, wherein the virtual SIM card data is selected from the virtual SIM card data set corresponding to the current MCC.
4. Method according to any of claims 1 to 3, characterized in that the step of presetting a virtual SIM card data set comprises:
acquiring the number of preset virtual SIM card data sets;
and equally dividing the virtual SIM card data according to the number of the preset virtual SIM card data sets.
5. The method according to any one of claims 1 to 3, further comprising any one of:
when the time length of the mobile terminal for connecting the network according to the virtual SIM card data reaches a preset time length, disconnecting the network according to the virtual SIM card data connection;
and when the mobile terminal stores the flow resources corresponding to the current MCC, disconnecting the network connected according to the virtual SIM card data.
6. The method of any of claims 1 to 3, further comprising:
comparing the current MCC with the MCC corresponding to the entity SIM card in the mobile terminal;
and if the current MCC is the same as the MCC corresponding to the entity SIM card, switching the data of the virtual SIM card to a closed state.
7. An information processing apparatus characterized by comprising:
the configuration module is used for acquiring the number of the preset MCCs and MCC sequencing information, wherein the MCC sequencing information is obtained by sequencing the preset MCCs from high to low according to the number of visits of the mobile terminal; determining the number of virtual SIM card data sets according to the preset MCC number; establishing a corresponding relation between MCC and the virtual SIM card data set, and determining the number of virtual SIM card data in the virtual SIM card data set according to the MCC sorting information; the virtual SIM card data is authentication information of a mobile communication network;
the acquiring module is used for acquiring a virtual SIM card data set preset by the mobile terminal when the MCC is detected to be changed and the mobile terminal is not connected with a network;
the selection module is used for 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;
and the connection module is used for connecting a network according to the virtual SIM card data.
8. The apparatus according to claim 7, wherein the acquiring module is further configured to, before the acquiring of the virtual SIM card data set preset by the mobile terminal, determine a number of the virtual SIM card data set according to a number at the preset position of the IMEI number, and acquire the virtual SIM card data set corresponding to the number;
the selection module is further configured to randomly select one piece of 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.
9. The apparatus of claim 7, wherein the obtaining module is further configured to obtain a virtual SIM card data set corresponding to the current MCC before the obtaining of the virtual SIM card data set preset by the mobile terminal;
the selection module is further configured to select a virtual SIM card data as a virtual SIM card data corresponding to the IMEI number of the mobile terminal according to the number of the preset IMEI number position, where the virtual SIM card data is selected from the virtual SIM card data set corresponding to the current MCC.
10. The apparatus according to any of claims 7 to 9, wherein the configuration module is further configured to obtain a number of preset virtual SIM card data sets; and equally dividing the virtual SIM card data according to the number of the preset virtual SIM card data sets.
11. The apparatus of any one of claims 7 to 9, further comprising:
the disconnection module is used for disconnecting the network connected according to the virtual SIM card data when the time length of the mobile terminal connected to the network according to the virtual SIM card data reaches a preset time length;
alternatively, the first and second electrodes may be,
and the disconnection module is used for disconnecting the network connected according to the virtual SIM card data when the mobile terminal stores the flow resource corresponding to the current MCC.
12. The apparatus of any one of claims 7 to 9, further comprising:
a comparing module, configured to compare the current MCC with an MCC corresponding to an entity SIM card in the mobile terminal;
and a switching module, configured to switch the virtual SIM card data to an off state if the current MCC is the same as the MCC corresponding to the physical SIM card.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
14. A mobile terminal comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the method according to any one of claims 1 to 6.
CN201710924392.4A 2017-09-30 2017-09-30 Information processing method, device, mobile terminal and computer readable storage medium Active CN107770767B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710924392.4A CN107770767B (en) 2017-09-30 2017-09-30 Information processing method, device, mobile terminal and computer readable storage medium
PCT/CN2018/101357 WO2019062381A1 (en) 2017-09-30 2018-08-20 Information processing method, device and mobile terminal, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710924392.4A CN107770767B (en) 2017-09-30 2017-09-30 Information processing method, device, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107770767A CN107770767A (en) 2018-03-06
CN107770767B true CN107770767B (en) 2020-05-22

Family

ID=61267929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710924392.4A Active CN107770767B (en) 2017-09-30 2017-09-30 Information processing method, device, 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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530623A (en) * 2015-11-25 2016-04-27 深圳市斯凯荣科技有限公司 Method and system for realizing mobile terminal communication connection
CN105554728A (en) * 2015-12-10 2016-05-04 深圳市迪讯飞科技有限公司 Cloud SIM card pool system
CN105898823A (en) * 2015-07-14 2016-08-24 深圳市斯凯荣科技有限公司 Method and card configuration service end for communication connection
CN106162603A (en) * 2015-04-24 2016-11-23 中兴通讯股份有限公司 A kind of method and apparatus realizing card selection
CN106851617A (en) * 2017-02-14 2017-06-13 深圳市迪讯飞科技有限公司 A kind of method that virtual SIM card system and mobile terminal use virtual SIM card

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106304037B (en) * 2015-05-19 2020-06-30 努比亚技术有限公司 Virtual SIM card management method 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
CN107770767B (en) * 2017-09-30 2020-05-22 Oppo广东移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN105898823A (en) * 2015-07-14 2016-08-24 深圳市斯凯荣科技有限公司 Method and card configuration service end for communication connection
CN105530623A (en) * 2015-11-25 2016-04-27 深圳市斯凯荣科技有限公司 Method and system for realizing mobile terminal communication connection
CN105554728A (en) * 2015-12-10 2016-05-04 深圳市迪讯飞科技有限公司 Cloud SIM card pool system
CN106851617A (en) * 2017-02-14 2017-06-13 深圳市迪讯飞科技有限公司 A kind of method that virtual SIM card system and mobile terminal use virtual SIM card

Also Published As

Publication number Publication date
WO2019062381A1 (en) 2019-04-04
CN107770767A (en) 2018-03-06

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
CN107484154B (en) Data switching method and device, terminal and computer readable storage medium
CN107770746B (en) Data processing method and device, computer equipment and computer readable storage medium
CN107682338B (en) Method, device and system for acquiring and processing configuration information
EP3797508B1 (en) Electronic device, external electronic device, and method of managing embedded subscriber identity modules of external electronic device
CN107734495B (en) Information processing method, device, storage medium and terminal
CN103475996A (en) Network connecting method, network sharing method and devices
CN107743305B (en) Method and device for loading configuration information and computer equipment
CN107708084B (en) Data processing method and device, computer equipment and computer readable storage medium
CN106131816B (en) Virtual SIM card management method and terminal
CN107508715B (en) Configuration information acquisition, processing method, device and system
CN106888495B (en) Network access method and terminal
CN107770767B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN107743303B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN107708108B (en) Information processing method, information processing device, computer-readable storage medium and computer equipment
CN107682552B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN107623612B (en) Flow display method and device, computer equipment and computer readable storage medium
CN107734492B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN107682916B (en) Network searching connection adaptation method and device and computer readable storage medium
CN107770766B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN104869550A (en) Communication event processing method and device
CN108605207B (en) Call record synchronization method, cloud platform and terminal
CN107623909B (en) Configuration information acquisition, processing method, device and system
CN106792583B (en) Multimedia message sending method, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

GR01 Patent grant
GR01 Patent grant