CN107743303B - 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 PDFInfo
- Publication number
- CN107743303B CN107743303B CN201710924511.6A CN201710924511A CN107743303B CN 107743303 B CN107743303 B CN 107743303B CN 201710924511 A CN201710924511 A CN 201710924511A CN 107743303 B CN107743303 B CN 107743303B
- Authority
- CN
- China
- Prior art keywords
- mcc
- traffic
- mobile terminal
- resource
- sim card
- 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.)
- Expired - Fee Related
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 34
- 238000003672 processing method Methods 0.000 title claims abstract description 13
- 238000000034 method Methods 0.000 claims abstract description 35
- 238000010295 mobile communication Methods 0.000 claims description 21
- 238000012163 sequencing technique Methods 0.000 claims description 16
- 238000001514 detection method Methods 0.000 claims description 13
- 230000008859 change Effects 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 4
- 238000004891 communication Methods 0.000 abstract description 30
- 230000006855 networking Effects 0.000 abstract description 7
- 238000012545 processing Methods 0.000 description 25
- 238000010586 diagram Methods 0.000 description 21
- 238000001994 activation Methods 0.000 description 19
- 230000004913 activation Effects 0.000 description 18
- 230000006870 function Effects 0.000 description 16
- 230000003213 activating effect Effects 0.000 description 10
- 238000007726 management method Methods 0.000 description 9
- 235000012054 meals Nutrition 0.000 description 7
- 230000001413 cellular effect Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000006978 adaptation Effects 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 229920000168 Microcrystalline cellulose Polymers 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 3
- 208000017763 cutaneous neuroendocrine carcinoma Diseases 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 235000019813 microcrystalline cellulose Nutrition 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 230000009977 dual effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000009849 deactivation Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- GVVPGTZRZFNKDS-JXMROGBWSA-N geranyl diphosphate Chemical compound CC(C)=CCC\C(C)=C\CO[P@](O)(=O)OP(O)(O)=O GVVPGTZRZFNKDS-JXMROGBWSA-N 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
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
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/26—Network addressing or numbering for mobility support
- H04W8/28—Number portability ; Network address portability
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
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, detecting whether the stored flow resources of the mobile terminal comprise the flow resources corresponding to the current MCC or not; if yes, acquiring virtual SIM card data in the flow resource corresponding to the current MCC; and connecting a network according to the virtual SIM card data. According to the method, when the MCC changes, if the flow resource corresponding to the current MCC is detected, the flow resource connection network is automatically activated, so that a user can use the network for connection communication, automatic networking is realized without manual operation of the user, and the networking mode of the mobile terminal is more intelligent.
Description
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
Embodiments of the present application provide an information processing method, an information processing apparatus, a mobile terminal, and a computer-readable storage medium, which can automatically connect to a network according to a traffic resource corresponding to a current MCC when a change in the MCC is detected.
An information processing method comprising:
when the MCC is detected to be changed, detecting whether the stored flow resources of the mobile terminal comprise the flow resources corresponding to the current MCC or not;
if yes, acquiring virtual SIM card data in the flow resource corresponding to the current MCC;
and connecting a network according to the virtual SIM card data.
An information processing apparatus comprising:
the mobile terminal comprises a detection module, a judging module and a processing module, wherein the detection module is used for detecting whether the stored flow resources of the mobile terminal comprise the flow resources corresponding to the current MCC or not when the MCC is detected to be changed;
an obtaining module, configured to obtain, if yes, virtual SIM card data in the traffic resource corresponding to the current MCC;
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 MCC changes, if the flow resource corresponding to the current MCC is detected, the flow resource connection network is automatically activated, so that a user can use the network for connection communication, automatic networking is realized without manual operation of the user, and the networking mode of the mobile terminal is more intelligent.
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 data and services for implementing network communication using the virtual SIM card. A virtual SIM card refers to a virtual SIM card without a physical SIM card physical carrier. Mobile terminal 110 may be provided with a virtual SIM card 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 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 data 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 (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 REST full Application Programming Interface (API). The implemented content of network communication using the virtual SIM card includes, but is not limited to, implementing interactive management of virtual SIM card data, dynamic update of state, statistics and rate limitation of traffic, and the like, such as implementing deletion of storage of virtual SIM card data and enabling and closing of the virtual SIM card.
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 (RIL) java Layer may be disposed in the Framework Layer (Framework Layer). The Modem (Modem module) can be a module consisting of a baseband processor, radio frequency and other peripheral chips, and is a GSM/GPRS Modem module. The Telephony interface layer is used for providing a universal interface, and the virtual SIM card operating system performs Socket interaction with the Modem module through the Telephony interface layer, so that whether a virtual SIM card exists or not and the position of a card slot of the virtual SIM card can be judged. The virtual SIM card operating system performs Socket interaction with the Modem module 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 SIM card, performing network communication function and flow monitoring by using the virtual SIM card, 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 module through the virtual SIM card adapting layer, instruct the Modem module to perform corresponding processing on the virtual SIM card basic data, receive response information made by the Modem module, and jointly realize the function of using the virtual SIM card to perform network communication. The above-mentioned related protocols may include protocols of International Organization for Standardization (ISO) 7816 and 3rd Generation Partnership Project (3 GPP) specifications for Universal Integrated Circuit Card (UICC) and Universal Subscriber Identity Module (USIM).
In one embodiment, the virtual SIM card adaptation layer may be preset with corresponding weights, so that communication with the RIL layer may be performed through the virtual SIM card adaptation layer. For example, the virtual SIM card adaptation layer may be set with the same level of rights as the phone process.
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.
In the embodiment of the application, when the mobile terminal detects the flow package corresponding to the current country/region, the package activating step can be directly performed. The flow refers to the number of bytes consumed by the mobile terminal to use network communication after connecting with the network.
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.
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.
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.
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 cards APP and SDK on the computer device, and the related virtual SIM card data 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 detecting that the MCC changes, detecting whether the traffic resources stored in the mobile terminal include the traffic resources corresponding to the current MCC.
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 carries 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, it can further detect whether the MCC of the current mobile communication network changes. When the MCC change is detected, the current MCC and the stored traffic resources may be acquired, and whether the traffic resources corresponding to the current MCC are included in the stored traffic resources is detected. Specifically, whether the traffic resources supporting the current country/region exist in the traffic resources stored in the mobile terminal is detected. The mobile terminal detecting whether the traffic resources stored by the mobile terminal include the traffic resources corresponding to the current MCC includes: detecting whether a traffic resource name corresponding to a traffic resource stored by a mobile terminal includes a country/region corresponding to the current MCC; or detecting whether the MCC corresponding to the stored traffic resource in the mobile terminal includes the current MCC.
And step 506, connecting the network according to the virtual SIM card data.
When the mobile terminal detects that the MCC changes and the mobile terminal is not connected to the network, and the mobile terminal stores the traffic resource corresponding to the current MCC, the virtual SIM card data in the traffic resource can be acquired. 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 an MCC, an 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.
According to the method in the embodiment of the application, when the MCC changes, if the flow resource corresponding to the current MCC is detected, the flow resource is automatically activated to connect the network, so that a user can use the network for connecting communication, automatic networking is realized without manual operation of the user, and the networking mode of the mobile terminal is more intelligent.
In one embodiment, the detecting whether the traffic resources stored by the mobile terminal include the traffic resources corresponding to the current MCC includes any one of the following methods:
(1) acquiring a country/region name corresponding to the current MCC, and detecting whether the flow resource name corresponding to the stored flow resource comprises the country/region name corresponding to the current MCC or not; if so, the stored flow resources of the mobile terminal comprise the flow resources corresponding to the current MCC;
after acquiring the current MCC, the mobile terminal can search for the country/region name corresponding to the current MCC. After the country/region name corresponding to the current MCC is obtained, the traffic resource name corresponding to the traffic resource stored in the mobile terminal can be obtained. The mobile terminal can detect whether the traffic resource name corresponding to the stored traffic resource contains the country/region name corresponding to the current MCC. When it is detected that the traffic resource name corresponding to the stored traffic resource includes the country/region name corresponding to the current MCC, it is determined that the traffic resource corresponding to the traffic resource name including the country/region name corresponding to the current MCC is the traffic resource corresponding to the current MCC. For example, the country name corresponding to the MCC208 is france, and when the mobile terminal detects that the current MCC is 208, it detects that the traffic resource name corresponding to the stored traffic resource includes "french roaming 7-day package", and then the traffic resource corresponding to "french roaming 7-day package" is the traffic resource corresponding to the current MCC.
(2) Detecting whether the current MCC is the same as the MCC corresponding to the stored flow resource; if the two types of traffic resources are the same, the traffic resources stored by the mobile terminal include traffic resources corresponding to the current MCC.
After downloading the traffic resource from the server, the mobile terminal may store the traffic resource downloaded from the server together with the corresponding MCC, that is, the traffic resource stored in the mobile terminal has the corresponding MCC. The mobile terminal can match the current MCC with the MCCs corresponding to the stored traffic resources one by one. And if the matching is successful, the traffic resource corresponding to the successfully matched MCC is the traffic resource corresponding to the current MCC.
In the method in the embodiment of the application, by detecting whether the stored traffic resources include the traffic resources corresponding to the current MCC, the mobile terminal can be automatically activated when the stored traffic resources include the traffic resources corresponding to the current MCC; and when the stored flow resources do not comprise the flow resources corresponding to the current MCC, reminding the user to purchase the flow package.
In one embodiment, further comprising:
(1) and when the MCC is detected to be changed, detecting whether the current MCC is the same as the MCC corresponding to the SIM card of the mobile terminal entity.
(2) If the data of the virtual SIM card is the same as the data of the virtual SIM card, the virtual SIM card is switched to a closed state, and the physical SIM card is used for connecting the network.
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.
In one embodiment, before detecting whether the traffic resources stored by the mobile terminal include the traffic resources corresponding to the current MCC, the method further includes:
(1) and detecting whether the flow resource is stored in the mobile terminal.
(2) And if the mobile terminal does not store the flow resource, detecting whether the flow resource service corresponding to the current MCC exists.
(3) And if the traffic resource service corresponding to the current MCC exists, prompting the user to download the traffic resource corresponding to the current MCC.
After the mobile terminal acquires the current MCC, whether the mobile terminal stores the flow resource can be detected. When the mobile terminal does not store the traffic resource, it can detect whether there is a traffic resource service corresponding to the current MCC. The mobile terminal can detect whether the prestored traffic resource services include the traffic resource service corresponding to the current MCC or not; and after the mobile terminal can be networked, a request is sent to the server, the server detects whether the traffic resource service corresponding to the current MCC exists or not according to the received request, and the detection result is returned to the mobile terminal. When the mobile terminal detects the traffic resource service corresponding to the current MCC, a popup window can prompt the user to have the traffic resource service corresponding to the current country/region, and prompt the user to purchase and download the traffic resource corresponding to the traffic resource service, namely, the traffic resource corresponding to the current MCC.
The traffic resource service is a traffic resource that can be provided by the mobile terminal. The mobile terminal detects that the traffic resource service corresponding to the current MCC is that the server can provide the traffic resource corresponding to the current MCC.
In one embodiment, further comprising:
(1) if the traffic resources corresponding to the current MCC do not exist in the stored traffic resources of the mobile terminal, detecting whether a traffic resource service corresponding to the current MCC exists or not;
(2) and if the traffic resource service corresponding to the current MCC exists, prompting the user to download the traffic resource corresponding to the current MCC.
When the mobile terminal detects that the traffic resource corresponding to the current MCC does not exist in the stored traffic resources, whether the traffic resource service corresponding to the current MCC exists can be detected. The method specifically comprises the following steps: the mobile terminal can detect whether the prestored traffic resource services include the traffic resource service corresponding to the current MCC or not; and after the mobile terminal can be networked, a request is sent to the server, the server detects whether the traffic resource service corresponding to the current MCC exists or not according to the received request, and the detection result is returned to the mobile terminal. When the mobile terminal detects the traffic resource service corresponding to the current MCC, a popup window can prompt the user to have the traffic resource service corresponding to the current country/region, and prompt the user to purchase and download the traffic resource corresponding to the traffic resource service, namely, the traffic resource corresponding to the current MCC.
In the method in the embodiment of the application, when the mobile terminal does not store the traffic resource corresponding to the current MCC, it is detected whether the mobile terminal can provide the traffic resource service corresponding to the current MCC. That is, when the mobile terminal does not download the flow package corresponding to the current country/region, the flow package corresponding to the current country/region is recommended to the user, so that convenience in purchasing the flow package by the user is improved.
In one embodiment, before acquiring the virtual SIM card data in the traffic resource corresponding to the current MCC, the method further includes:
(1) if the stored traffic resources of the mobile terminal include a plurality of traffic resources corresponding to the current MCC, respectively obtaining resource information of the plurality of traffic resources corresponding to the current MCC.
(2) And determining the first traffic resource according to the resource information, and acquiring virtual SIM card data in the first traffic resource.
When the mobile terminal detects a plurality of stored traffic resources corresponding to the current MCC, the mobile terminal may respectively obtain resource information of the plurality of stored traffic resources corresponding to the current MCC. The resource information may include: the service life date of the traffic resource and the data volume of the traffic resource. The mobile terminal may determine the first traffic resource according to the traffic resource utility deadline, for example, the traffic resource with the latest deadline date is used as the first traffic resource. The mobile terminal may also determine the first traffic resource according to the data volume of the traffic resource, for example, the traffic resource with the smallest data volume is used as the first traffic resource. The mobile terminal can obtain the virtual SIM card data in the first traffic resource and start the virtual SIM card data to connect with the network.
According to the method, the traffic resources are activated according to the resource information of the traffic resources, so that the method for activating the traffic resources by the mobile terminal is more reasonable and intelligent, and the waste of the traffic resources is avoided.
In one embodiment, further comprising: sequencing a plurality of flow resources corresponding to the current MCC according to the resource information; and acquiring flow resource sequencing information, and sequentially acquiring virtual SIM card data in the flow resources according to the flow resource sequencing information.
The mobile terminal can sort a plurality of traffic resources corresponding to the current MCC according to the resource information, and obtain the traffic resource sorting information. For example, the mobile terminal may sort the plurality of stored traffic resources corresponding to the current MCC from early to late according to the lifetime date; the mobile terminal may also sort the plurality of stored traffic resources corresponding to the current MCC from small to large or from large to small according to the data volume of the traffic resources.
After obtaining the sequencing information of the traffic resources, the mobile terminal can sequentially obtain the virtual SIM card data in the traffic resources and connect the network according to the virtual SIM card data. Specifically, after the current traffic resource is used, the mobile terminal may obtain a next traffic resource adjacent to the current traffic resource in the traffic resource ordering information, and connect to the network according to the next traffic resource. The mobile terminal only sorts the traffic resources corresponding to an MCC.
In the method in the embodiment of the application, the traffic resources in the same country/region are sequenced, and the mobile terminal can activate the traffic resources in sequence according to the sequencing information. The method can automatically activate the traffic resources corresponding to the current country/region in sequence without the user operating the mobile terminal, and the mode of activating the traffic resources is more intelligent.
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:
a detecting module 602, configured to detect whether a traffic resource corresponding to a current MCC is included in traffic resources stored in a mobile terminal when a MCC change is detected.
An obtaining module 604, configured to, if yes, obtain virtual SIM card data in a traffic resource corresponding to the current MCC.
A connection module 606, configured to connect to a network according to the virtual SIM card data.
In an embodiment, the detecting module 602 is further configured to obtain a country/region name corresponding to the current MCC, and detect whether a flow resource name corresponding to a stored flow resource includes the country/region name corresponding to the current MCC; if so, the stored flow resources of the mobile terminal comprise the flow resources corresponding to the current MCC; the detecting module 602 is further configured to detect whether the current MCC is the same as the MCC corresponding to the stored traffic resource; if the two types of traffic resources are the same, the traffic resources stored by the mobile terminal include traffic resources corresponding to the current MCC.
In an embodiment, the obtaining module 604 is further configured to, before obtaining the virtual SIM card data in the traffic resource corresponding to the current MCC, respectively obtain resource information of a plurality of traffic resources corresponding to the current MCC if the stored traffic resources of the mobile terminal include a plurality of traffic resources corresponding to the current MCC; and determining the first traffic resource according to the resource information, and acquiring virtual SIM card data in the first traffic resource.
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 detection module 702, an acquisition module 704, a connection module 706, and a switching module 708. The detecting module 702, the obtaining module 704, and the connecting module 706 have the same functions as corresponding modules in fig. 6.
The detecting module 702 is further configured to detect whether the current MCC is the same as the MCC corresponding to the mobile terminal entity SIM card when detecting that the MCC changes.
The switching module 708 is configured to switch the virtual SIM card data to the closed state if the virtual SIM card data are the same, and connect the network using the physical SIM card.
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: a detection module 802, an acquisition module 804, a connection module 806, and a prompt module 808. The detecting module 802, the obtaining module 804, and the connecting module 806 have the same functions as corresponding modules in fig. 6.
The detecting module 802 is further configured to detect whether the traffic resource is stored in the mobile terminal before detecting whether the traffic resource stored in the mobile terminal includes the traffic resource corresponding to the current MCC; if the mobile terminal does not store the traffic resource, detecting whether the traffic resource service corresponding to the current MCC is included.
The prompting module 808 is configured to prompt the user to download the traffic resource corresponding to the current MCC if there is a traffic resource service corresponding to the current MCC.
In an embodiment, the detecting module 802 is further configured to detect whether a traffic resource service corresponding to the current MCC exists, if the traffic resource stored in the mobile terminal does not include the traffic resource corresponding to the current MCC. The prompting module 808 is configured to prompt the user to download the traffic resource corresponding to the current MCC if there is a traffic resource service 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: a detection module 902, an acquisition module 904, a connection module 906, and a ranking module 908. The detecting module 902, the obtaining module 904, and the connecting module 906 have the same functions as corresponding modules in fig. 6.
A sorting module 908, configured to sort, according to the resource information, a plurality of traffic resources corresponding to the current 000 MCCs.
The obtaining module 904 is further configured to obtain traffic resource ranking information, and sequentially obtain virtual SIM card data in the traffic resources according to the traffic resource ranking information.
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) when the MCC is detected to be changed, whether the traffic resources stored by the mobile terminal include the traffic resources corresponding to the current MCC is detected.
(2) And if so, acquiring virtual SIM card data in the flow resource corresponding to the current MCC.
(3) And connecting the network according to the virtual SIM card data.
In one embodiment, the detecting whether the traffic resources stored by the mobile terminal include the traffic resources corresponding to the current MCC includes any one of the following methods:
acquiring a country/region name corresponding to the current MCC, and detecting whether the flow resource name corresponding to the stored flow resource comprises the country/region name corresponding to the current MCC or not; if so, the stored flow resources of the mobile terminal comprise the flow resources corresponding to the current MCC;
detecting whether the current MCC is the same as the MCC corresponding to the stored flow resource; if the two types of traffic resources are the same, the traffic resources stored by the mobile terminal include traffic resources corresponding to the current MCC.
In one embodiment, further performing: when the MCC is detected to be changed, detecting whether the current MCC is the same as the MCC corresponding to the SIM card of the mobile terminal entity; if the data of the virtual SIM card is the same as the data of the virtual SIM card, the virtual SIM card is switched to a closed state, and the physical SIM card is used for connecting the network.
In one embodiment, before detecting whether the traffic resources stored by the mobile terminal include the traffic resources corresponding to the current MCC, the following steps are further performed: detecting whether the mobile terminal stores flow resources or not; if the mobile terminal does not store the flow resource, detecting whether the flow resource service corresponding to the current MCC is included; and if the traffic resource service corresponding to the current MCC exists, prompting the user to download the traffic resource corresponding to the current MCC.
In one embodiment, further performing: if the stored flow resources of the mobile terminal do not include the flow resources corresponding to the current MCC, detecting whether a flow resource service corresponding to the current MCC exists; and if the traffic resource service corresponding to the current MCC exists, prompting the user to download the traffic resource corresponding to the current MCC.
In one embodiment, before acquiring the virtual SIM card data in the traffic resource corresponding to the current MCC, further performing: if the stored traffic resources of the mobile terminal comprise a plurality of traffic resources corresponding to the current MCC, respectively acquiring resource information of the plurality of traffic resources corresponding to the current MCC; and determining the first traffic resource according to the resource information, and acquiring virtual SIM card data in the first traffic resource.
In one embodiment, further performing: sequencing a plurality of flow resources corresponding to the current MCC according to the resource information; and acquiring flow resource sequencing information, and sequentially acquiring virtual SIM card data in the flow resources according to the flow resource sequencing information.
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) when the MCC is detected to be changed, whether the traffic resources stored by the mobile terminal include the traffic resources corresponding to the current MCC is detected.
(2) And if so, acquiring virtual SIM card data in the flow resource corresponding to the current MCC.
(3) And connecting the network according to the virtual SIM card data.
In one embodiment, the detecting whether the traffic resources stored by the mobile terminal include the traffic resources corresponding to the current MCC includes any one of the following methods:
acquiring a country/region name corresponding to the current MCC, and detecting whether the flow resource name corresponding to the stored flow resource comprises the country/region name corresponding to the current MCC or not; if so, the stored flow resources of the mobile terminal comprise the flow resources corresponding to the current MCC;
detecting whether the current MCC is the same as the MCC corresponding to the stored flow resource; if the two types of traffic resources are the same, the traffic resources stored by the mobile terminal include traffic resources corresponding to the current MCC.
In one embodiment, further performing: when the MCC is detected to be changed, detecting whether the current MCC is the same as the MCC corresponding to the SIM card of the mobile terminal entity; if the data of the virtual SIM card is the same as the data of the virtual SIM card, the virtual SIM card is switched to a closed state, and the physical SIM card is used for connecting the network.
In one embodiment, before detecting whether the traffic resources stored by the mobile terminal include the traffic resources corresponding to the current MCC, the following steps are further performed: detecting whether the mobile terminal stores flow resources or not; if the mobile terminal does not store the flow resource, detecting whether a flow resource service corresponding to the current MCC exists; and if the traffic resource service corresponding to the current MCC exists, prompting the user to download the traffic resource corresponding to the current MCC.
In one embodiment, further performing: if the stored flow resources of the mobile terminal do not include the flow resources corresponding to the current MCC, detecting whether a flow resource service corresponding to the current MCC exists; and if the traffic resource service corresponding to the current MCC exists, prompting the user to download the traffic resource corresponding to the current MCC.
In one embodiment, before acquiring the virtual SIM card data in the traffic resource corresponding to the current MCC, further performing: if the stored traffic resources of the mobile terminal comprise a plurality of traffic resources corresponding to the current MCC, respectively acquiring resource information of the plurality of traffic resources corresponding to the current MCC; and determining the first traffic resource according to the resource information, and acquiring virtual SIM card data in the first traffic resource.
In one embodiment, further performing: sequencing a plurality of flow resources corresponding to the current MCC according to the resource information; and acquiring flow resource sequencing information, and sequentially acquiring virtual SIM card data in the flow resources according to the flow resource sequencing information.
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, 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 communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
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.
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) when the MCC is detected to be changed, whether the traffic resources stored by the mobile terminal include the traffic resources corresponding to the current MCC is detected.
(2) And if so, acquiring virtual SIM card data in the flow resource corresponding to the current MCC.
(3) And connecting the network according to the virtual SIM card data.
In one embodiment, the detecting whether the traffic resources stored by the mobile terminal include the traffic resources corresponding to the current MCC includes any one of the following methods:
acquiring a country/region name corresponding to the current MCC, and detecting whether the flow resource name corresponding to the stored flow resource comprises the country/region name corresponding to the current MCC or not; if so, the stored flow resources of the mobile terminal comprise the flow resources corresponding to the current MCC;
detecting whether the current MCC is the same as the MCC corresponding to the stored flow resource; if the two types of traffic resources are the same, the traffic resources stored by the mobile terminal include traffic resources corresponding to the current MCC.
In one embodiment, further performing: when the MCC is detected to be changed, detecting whether the current MCC is the same as the MCC corresponding to the SIM card of the mobile terminal entity; if the data of the virtual SIM card is the same as the data of the virtual SIM card, the virtual SIM card is switched to a closed state, and the physical SIM card is used for connecting the network.
In one embodiment, before detecting whether the traffic resources stored by the mobile terminal include the traffic resources corresponding to the current MCC, the following steps are further performed: detecting whether the mobile terminal stores flow resources or not; if the mobile terminal does not store the flow resource, detecting whether a flow resource service corresponding to the current MCC exists; and if the traffic resource service corresponding to the current MCC exists, prompting the user to download the traffic resource corresponding to the current MCC.
In one embodiment, further performing: if the stored flow resources of the mobile terminal do not include the flow resources corresponding to the current MCC, detecting whether a flow resource service corresponding to the current MCC exists; and if the traffic resource service corresponding to the current MCC exists, prompting the user to download the traffic resource corresponding to the current MCC.
In one embodiment, before acquiring the virtual SIM card data in the traffic resource corresponding to the current MCC, further performing: if the stored traffic resources of the mobile terminal comprise a plurality of traffic resources corresponding to the current MCC, respectively acquiring resource information of the plurality of traffic resources corresponding to the current MCC; and determining the first traffic resource according to the resource information, and acquiring virtual SIM card data in the first traffic resource.
In one embodiment, further performing: sequencing a plurality of flow resources corresponding to the current MCC according to the resource information; and acquiring flow resource sequencing information, and sequentially acquiring virtual SIM card data in the flow resources according to the flow resource sequencing information.
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 (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above examples 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 (12)
1. An information processing method characterized by comprising:
when detecting that the operator information of the current mobile communication network changes, detecting whether the MCC of the current mobile communication network changes;
when detecting that a mobile signal country code MCC changes, detecting whether a flow resource is stored in the mobile terminal, and if the flow resource is not stored in the mobile terminal, detecting whether a flow resource service corresponding to the current MCC exists; if the traffic resource service corresponding to the current MCC exists, prompting a user to download the traffic resource corresponding to the current MCC; if the mobile terminal stores the flow resources, detecting whether the flow resources stored in the mobile terminal include the flow resources corresponding to the current MCC; if the stored traffic resources of the mobile terminal comprise a plurality of traffic resources corresponding to the current MCC, respectively acquiring resource information of the plurality of traffic resources corresponding to the current MCC; determining a first traffic resource according to the resource information, and acquiring virtual SIM card data in the first traffic resource;
and connecting a network according to the virtual SIM card data.
2. The method according to claim 1, wherein the detecting whether the traffic resources stored in the mobile terminal include the traffic resource corresponding to the current MCC comprises any one of the following methods:
acquiring a country/region name corresponding to the current MCC, and detecting whether the flow resource name corresponding to the stored flow resource comprises the country/region name corresponding to the current MCC or not; if yes, the traffic resource corresponding to the current MCC exists in the stored traffic resources of the mobile terminal;
detecting whether the current MCC is the same as the MCC corresponding to the stored flow resource; and if the current MCC is the same as the MCC, the traffic resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal.
3. The method of claim 1 or 2, further comprising:
if the stored traffic resources of the mobile terminal do not include the traffic resources corresponding to the current MCC, detecting whether a traffic resource service corresponding to the current MCC exists;
and if the traffic resource service corresponding to the current MCC exists, prompting a user to download the traffic resource corresponding to the current MCC.
4. The method of claim 1, further comprising:
sorting the flow resources corresponding to the current MCC according to the resource information;
and acquiring flow resource sequencing information, and sequentially acquiring virtual SIM card data in the flow resources according to the flow resource sequencing information.
5. The method of claim 1 or 2, further comprising:
when the MCC is detected to be changed, detecting whether the current MCC is the same as the MCC corresponding to the SIM card of the mobile terminal entity;
and if the data of the virtual SIM card are the same, switching the data of the virtual SIM card to a closed state, and connecting a network by using the entity SIM card.
6. An information processing apparatus characterized by comprising:
the mobile communication system comprises a detection module, a judging module and a judging module, wherein the detection module is used for detecting whether the MCC of the current mobile communication network changes or not when the change of the operator information of the current mobile communication network is detected; when the MCC is detected to be changed, detecting whether the flow resource is stored in the mobile terminal; if the mobile terminal does not store the flow resource, detecting whether a flow resource service corresponding to the current MCC exists; if the traffic resource service corresponding to the current MCC exists, prompting a user to download the traffic resource corresponding to the current MCC; detecting whether the stored flow resources of the mobile terminal comprise the flow resources corresponding to the current MCC or not;
an obtaining module, configured to respectively obtain resource information of a plurality of traffic resources corresponding to a current MCC if the traffic resources stored by the mobile terminal include the plurality of traffic resources corresponding to the current MCC; determining a first traffic resource according to the resource information, and acquiring virtual SIM card data in the first traffic resource;
and the connection module is used for connecting a network according to the virtual SIM card data.
7. The apparatus of claim 6,
the detection module is further configured to acquire a country/region name corresponding to the current MCC, and detect whether the flow resource name corresponding to the stored flow resource includes the country/region name corresponding to the current MCC; if yes, the traffic resource corresponding to the current MCC exists in the stored traffic resources of the mobile terminal;
the detecting module is further configured to detect whether the current MCC is the same as the MCC corresponding to the stored traffic resource; and if the current MCC is the same as the MCC, the traffic resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal.
8. The apparatus of claim 6,
the detection module is further configured to detect whether a traffic resource service corresponding to the current MCC exists or not if the traffic resource stored in the mobile terminal does not include the traffic resource corresponding to the current MCC;
and if the traffic resource service corresponding to the current MCC exists, prompting a user to download the traffic resource corresponding to the current MCC.
9. The apparatus of claim 6, further comprising:
a sorting module, configured to sort the traffic resource corresponding to the current MCC according to the resource information;
the acquiring module is further configured to acquire traffic resource sorting information, and sequentially acquire virtual SIM card data in traffic resources according to the traffic resource sorting information.
10. The apparatus of claim 6, further comprising:
the detecting module is further configured to detect whether the current MCC is the same as the MCC corresponding to the mobile terminal entity SIM card when the MCC change is detected;
and the switching module is used for switching the virtual SIM card data to a closed state if the virtual SIM card data are the same, and connecting a network by using the entity SIM card.
11. 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 5.
12. 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 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710924511.6A CN107743303B (en) | 2017-09-30 | 2017-09-30 | Information processing method, device, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710924511.6A CN107743303B (en) | 2017-09-30 | 2017-09-30 | Information processing method, device, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107743303A CN107743303A (en) | 2018-02-27 |
CN107743303B true CN107743303B (en) | 2021-03-12 |
Family
ID=61236703
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710924511.6A Expired - Fee Related CN107743303B (en) | 2017-09-30 | 2017-09-30 | Information processing method, device, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107743303B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111491291B (en) * | 2020-06-23 | 2022-04-08 | 深圳杰睿联科技有限公司 | Network connection method, SIM card, system, terminal and medium |
CN112367625A (en) * | 2020-11-12 | 2021-02-12 | 深圳杰睿联科技有限公司 | Virtual card network-residing method and system, server, mobile terminal and storage medium |
CN113950044B (en) * | 2021-09-16 | 2024-03-29 | 深圳市优克联新技术有限公司 | User identification card identification method, device, terminal equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103918316A (en) * | 2011-06-30 | 2014-07-09 | 福柯移动公司 | Method and system for roaming of a mobile communications unit |
CN103987024A (en) * | 2014-05-30 | 2014-08-13 | 华为技术有限公司 | Roam processing method and roam processing equipment |
CN105916131A (en) * | 2016-03-30 | 2016-08-31 | 联想(北京)有限公司 | Access control method and access control deice |
CN106162603A (en) * | 2015-04-24 | 2016-11-23 | 中兴通讯股份有限公司 | A kind of method and apparatus realizing card selection |
CN106454789A (en) * | 2016-11-28 | 2017-02-22 | 深圳市万普拉斯科技有限公司 | International roaming identification method and mobile terminal |
CN106792640A (en) * | 2016-12-20 | 2017-05-31 | 北京小米移动软件有限公司 | The communication means of virtual SIM card, mobile terminal and server |
-
2017
- 2017-09-30 CN CN201710924511.6A patent/CN107743303B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103918316A (en) * | 2011-06-30 | 2014-07-09 | 福柯移动公司 | Method and system for roaming of a mobile communications unit |
CN103987024A (en) * | 2014-05-30 | 2014-08-13 | 华为技术有限公司 | Roam processing method and roam processing equipment |
CN106162603A (en) * | 2015-04-24 | 2016-11-23 | 中兴通讯股份有限公司 | A kind of method and apparatus realizing card selection |
CN105916131A (en) * | 2016-03-30 | 2016-08-31 | 联想(北京)有限公司 | Access control method and access control deice |
CN106454789A (en) * | 2016-11-28 | 2017-02-22 | 深圳市万普拉斯科技有限公司 | International roaming identification method and mobile terminal |
CN106792640A (en) * | 2016-12-20 | 2017-05-31 | 北京小米移动软件有限公司 | The communication means of virtual SIM card, mobile terminal and server |
Also Published As
Publication number | Publication date |
---|---|
CN107743303A (en) | 2018-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107820331B (en) | Call method, device, computer equipment and readable storage medium | |
CN107708084B (en) | Data processing method and device, computer equipment and computer readable storage medium | |
CN107770746B (en) | Data processing method and device, computer equipment and computer readable storage medium | |
CN107682910B (en) | Traffic resource sharing method and device, mobile terminal and storage medium | |
CN107734495B (en) | Information processing method, device, storage medium and terminal | |
CN107682338B (en) | Method, device and system for acquiring and processing configuration information | |
CN107734584A (en) | The method and apparatus of network connection switching, computer equipment, readable storage medium storing program for executing | |
CN107734492B (en) | Information processing method, device, mobile terminal and computer readable storage medium | |
CN107484154B (en) | Data switching method and device, terminal and computer readable storage medium | |
CN107743305B (en) | Method and device for loading configuration information and computer equipment | |
CN110169091B (en) | Communication method, wearable device, mobile terminal and system | |
CN107508715B (en) | Configuration information acquisition, processing method, device and system | |
CN106888495B (en) | Network access method and terminal | |
CN107743303B (en) | Information processing method, device, mobile terminal and computer readable storage medium | |
CN107360193A (en) | Orientation obtains method, terminal and the system of configuration information | |
CN107682552B (en) | Information processing method, device, mobile terminal and computer readable storage medium | |
CN107770767B (en) | Information processing method, device, mobile terminal and computer readable storage medium | |
CN107635220A (en) | Network service processing method, device, storage medium and terminal | |
CN107623612B (en) | Flow display method and device, computer equipment and computer readable storage medium | |
CN107484201B (en) | Flow statistical method and device, terminal and computer readable storage medium | |
CN107708108B (en) | Information processing method, information processing device, computer-readable storage medium and computer equipment | |
CN108605207B (en) | Call record synchronization method, cloud platform and terminal | |
CN103561155B (en) | Send the method for note, device and terminal | |
CN107770766B (en) | Information processing method, device, mobile terminal and computer readable storage medium | |
CN104869550A (en) | Communication event processing method and device |
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 |
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. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210312 |
|
CF01 | Termination of patent right due to non-payment of annual fee |