CN107770766B - 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
CN107770766B
CN107770766B CN201710924201.4A CN201710924201A CN107770766B CN 107770766 B CN107770766 B CN 107770766B CN 201710924201 A CN201710924201 A CN 201710924201A CN 107770766 B CN107770766 B CN 107770766B
Authority
CN
China
Prior art keywords
mobile terminal
traffic
resource
mcc
current 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
CN201710924201.4A
Other languages
Chinese (zh)
Other versions
CN107770766A (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 CN201710924201.4A priority Critical patent/CN107770766B/en
Publication of CN107770766A publication Critical patent/CN107770766A/en
Application granted granted Critical
Publication of CN107770766B publication Critical patent/CN107770766B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information

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: acquiring a current MCC; detecting whether a traffic resource corresponding to the current MCC exists in the traffic resources stored in the mobile terminal; and if so, displaying the flow resource corresponding to the current MCC in a first preset mode on a mobile terminal interface. According to the method, the flow resource corresponding to the current MCC is displayed according to the preset mode, namely the flow resource corresponding to the current country/region is displayed according to the preset mode, so that the method is beneficial for a user to distinguish the flow resource corresponding to the current country/region from the flow resource not corresponding to the current country/region, and the user can conveniently activate and use the flow resource corresponding to the current country/region in time.

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
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 highlight a traffic resource corresponding to a current country or region when a user is out of home.
An information processing method comprising:
acquiring a current MCC;
detecting whether a traffic resource corresponding to the current MCC exists in the traffic resources stored in the mobile terminal;
and if so, displaying the flow resource corresponding to the current MCC in a first preset mode on a mobile terminal interface.
An information processing apparatus comprising:
an obtaining module, configured to obtain a current MCC;
the mobile terminal comprises a detection module, a judging module and a judging module, wherein the detection module is used for detecting whether the traffic resources corresponding to the current MCC exist in the traffic resources stored in the mobile terminal;
and the display module is used for displaying the flow resource corresponding to the current MCC in a first preset mode on a mobile terminal interface if the flow resource exists.
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, the traffic resource corresponding to the current MCC is displayed according to the preset mode, that is, the traffic resource corresponding to the current country/region is displayed according to the preset mode, which is beneficial for a user to distinguish the traffic resource corresponding to the current country/region from the traffic resource not corresponding to the current country/region, and is convenient for the user to activate and use the traffic resource corresponding to the current country/region in time.
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.
When the purchased traffic package exists in the mobile terminal, that is, when the stored traffic resource exists in the mobile terminal, the step of activating the package 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.
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 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, obtain 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.
Step 504, detecting whether the traffic resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal.
After acquiring the current MCC, the mobile terminal may acquire the stored traffic resources, and detect whether the traffic resources corresponding to the current MCC exist in the stored traffic resources. 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 resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal 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.
The mobile terminal can detect whether the stored traffic resources have the traffic resources corresponding to the current MCC each time the mobile terminal detects that the current MCC changes.
Step 506, if yes, displaying the traffic resource corresponding to the current MCC in a first preset mode on the mobile terminal interface.
When the stored traffic resources in the mobile terminal have the traffic resources corresponding to the current MCC, the traffic resources corresponding to the current MCC are acquired, and the traffic resources corresponding to the current MCC are displayed in a first preset mode on a mobile terminal interface. Wherein, displaying on the interface of the mobile terminal comprises: displayed on an application program interface, displayed on a notification bar, displayed on a desktop, and the like. Specifically, the mobile terminal may display the traffic resource corresponding to the current MCC on an application program interface, push the traffic resource corresponding to the current MCC to a notification bar for display, or pop up and display the traffic resource corresponding to the current MCC on a desktop. Displaying in a first preset manner includes at least one of:
(1) and displaying the traffic resource in a first preset color. For example, the traffic resource is highlighted in red or highlighted in yellow.
(2) The traffic resource is displayed in a first preset size. For example, the traffic resource is displayed in a magnified manner.
(3) The traffic resources are displayed in a first preset order. For example, the traffic resource is displayed at the top.
(4) And displaying the traffic resource name in a first preset font and/or font size. For example, the traffic resource name is displayed in bold, and the traffic resource name is displayed in font size.
(5) And displaying an opening button of the flow resource in a first preset form. For example, the on button of the traffic resource is displayed in green.
According to the method, the flow resource corresponding to the current MCC is displayed according to the preset mode, namely the flow resource corresponding to the current country/region is displayed according to the preset mode, so that the method is beneficial for a user to distinguish the flow resource corresponding to the current country/region from the flow resource not corresponding to the current country/region, and the user can conveniently activate and use the flow resource corresponding to the current country/region in time.
In one embodiment, the method further comprises: and if the triggering operation of the flow resource corresponding to the current MCC is detected, acquiring virtual SIM card data in the flow resource corresponding to the current MCC, and connecting the network according to the virtual SIM card data.
And when the mobile terminal detects the trigger operation of the flow resource corresponding to the current MCC, activating the flow resource corresponding to the current MCC. The triggering operation includes: a triggering operation on the traffic resource or a triggering operation on an open button of the traffic resource. The mobile terminal can obtain virtual SIM card data in the flow resource corresponding to the current MCC, wherein the virtual SIM card data is downloaded by the mobile terminal from the server. Specifically, the virtual SIM card data may be an International Mobile Subscriber Identity (IMSI). After the mobile terminal starts the virtual SIM card data, the mobile terminal can be connected with a mobile communication network according to the IMSI number and is connected with a data network.
In one embodiment, the detecting whether the traffic resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal 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 traffic resource corresponding to the current MCC exists in the stored traffic resources of the mobile terminal;
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 resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal.
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 one embodiment, further comprising:
(1) and acquiring a traffic resource which is not corresponding to the current MCC in the traffic resources stored by the mobile terminal as a first traffic resource.
(2) Hiding the first traffic resource in the mobile terminal interface, or displaying the first traffic resource in the mobile terminal interface in a second preset mode.
After acquiring the traffic resource corresponding to the current MCC, the mobile terminal may acquire a traffic resource not corresponding to the current MCC as the first traffic resource. The first traffic resource is a traffic resource that is not in the current country/region. The mobile terminal can hide the first traffic resource in the mobile terminal interface or display the first traffic resource in a second preset mode, and the display in the second preset mode comprises at least one of the following conditions:
(1) and displaying the flow resource in a second preset color. For example, traffic resources are shown in gray.
(2) And displaying the traffic resource in a second preset size. For example, the traffic resource is displayed in a reduced size.
(3) And blurring and displaying the traffic resources.
(4) And displaying the traffic resource name in a second preset font and/or font size. For example, the traffic resource name is reduced by a font size display.
(5) And displaying the starting button of the flow resource in a second preset form. For example, the on button for the traffic resource is displayed in gray.
In the embodiment of the application, the traffic resources corresponding to the non-current country/region are displayed in the preset mode, so that a user can distinguish the traffic resources corresponding to the current country/region from the traffic resources corresponding to the non-current country/region conveniently, and the display mode of the traffic resources is more intelligent.
In one embodiment, the method further comprises: and if the triggering operation on the first flow resource is detected, the popup prompts a user that the flow resource cannot be started.
When the mobile terminal detects the triggering operation on the first traffic resource or detects the triggering operation on the start button of the first traffic resource, the popup prompts a user that the traffic resource cannot be started. The mobile terminal may also prompt the user for the country/region in which the traffic resource is enabled.
In one embodiment, before detecting whether a traffic resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal, 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) and acquiring user travel information.
(2) And analyzing the user travel information and acquiring MCC sequencing information.
(3) And determining the display mode of the stored flow resource according to the MCC sequencing information.
The mobile terminal can obtain the user travel information by reading the information in the application program. For example, time information and location information are acquired from the air ticket/ticket information, and then the acquired user travel information is sorted in time order. After the travel information of the user is obtained, the country/region name in the travel information of the user can be extracted, the MCC corresponding to the country/region name is searched, and the MCC corresponding to the country/region name is arranged according to the time sequence to obtain MCC sequencing information. Further, the mobile terminal may detect whether each MCC in the MCC ranking information has a corresponding stored traffic resource. After the stored traffic resources corresponding to the MCC in the MCC sorting information are detected, the stored traffic resources corresponding to the MCC are arranged in the MCC order to generate a sorting queue. The mobile terminal can display the stored traffic resources corresponding to the MCC in the MCC sorting information according to the sorting queue, and display the stored traffic resources not corresponding to the MCC in the MCC sorting information after the sorting queue.
In the embodiment of the application, the stored flow resources are correspondingly displayed according to the user travel information, so that a user can conveniently and timely search the flow resources, the user operation is simplified, and the user viscosity is improved.
In one embodiment, further comprising: if a plurality of flow resources corresponding to the current MCC exist in the flow resources stored by the mobile terminal, respectively acquiring resource information of the plurality of flow resources corresponding to the current MCC; and determining the sequencing of a plurality of flow resources corresponding to the current MCC according to the resource information.
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 can sort a plurality of stored flow resources corresponding to the current MCC from early to late according to the service life 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.
According to the method in the embodiment of the application, the flow resources in the same country/region are arranged according to the sequence of the service life or the quantity of the flow resource data, so that a user can reasonably arrange the use of the flow data, and the waste or excess of the flow data is avoided.
In one embodiment, further comprising: pushing an activatable notification of the traffic resource corresponding to the current MCC to a notification bar of the mobile terminal; and displaying the activatable identification of the traffic resource corresponding to the current MCC on a signal bar of the mobile terminal.
After detecting the traffic resource corresponding to the current MCC, the mobile terminal may push a notification that the traffic resource corresponding to the current MCC is activatable to the mobile terminal notification bar. The mobile terminal may also display an activatable identifier of the traffic resource corresponding to the current MCC in the mobile terminal signal bar, for example: displaying a triangular mark on a signal bar of the mobile terminal, displaying an exclamation mark on a notification bar of the mobile terminal, and the like. The mobile terminal may also display a notification in a desktop popup that the traffic resource corresponding to the current MCC is activatable.
According to the method in the embodiment of the application, the notification is pushed in the mobile terminal notification bar or the activatable identification of the traffic resource corresponding to the current MCC is displayed in the mobile terminal signal bar, so that the user can be prompted that the traffic resource corresponding to the current country or area can be activated, the user can activate the traffic package of the current country/area in time, and the user viscosity is improved.
In one embodiment, further comprising: when detecting that the current MCC is changed, comparing the current MCC with the MCC corresponding to the SIM card of the mobile terminal entity; and if the current MCC is the same as the MCC corresponding to the entity SIM card, displaying a notification that the flow resource can be closed on a mobile terminal interface.
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, a notification that the flow resource can be closed is displayed on a mobile terminal interface. 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 closes the flow resource, the card slot occupied by the virtual SIM card data in the flow resource can be released, and 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 the mobile terminal is detected to be in the home country or the local area of the SIM card, the user is prompted to close the flow resource, so that the mobile terminal can start the entity SIM card and utilize the entity 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 the current MCC.
A detecting module 604, configured to detect whether a traffic resource corresponding to the current MCC exists in the traffic resources stored in the mobile terminal.
The display module 606 is configured to display, in a first preset manner, the traffic resource corresponding to the current MCC on the mobile terminal interface if the traffic resource exists.
In an embodiment, the detecting module 604 is 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 traffic resource corresponding to the current MCC exists in the stored traffic resources of the mobile terminal; the detecting module 604 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 resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal.
In an embodiment, the obtaining module 602 is further configured to obtain the user travel information, analyze the user travel information, and obtain MCC ranking information; the display module 606 is further configured to determine a display manner of the stored traffic resource according to the MCC ranking information.
In an embodiment, the detecting module 604 is configured to detect whether the traffic resource is stored in the mobile terminal before detecting whether the traffic resource corresponding to the current MCC exists in the traffic resources 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; 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.
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: an acquisition module 702, a detection module 704, a presentation module 706, and a hiding module 708. The acquiring module 702, the detecting module 704, and the displaying module 706 have the same functions as the corresponding modules in fig. 6.
The obtaining module 702 is further configured to obtain, as a first traffic resource, a traffic resource that does not correspond to the current MCC among traffic resources stored in the mobile terminal;
a hiding module 708, which hides the first traffic resource in the mobile terminal interface;
the display module 706 is further configured to display the first traffic resource in a second preset manner on the mobile terminal interface.
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 acquisition module 802, a detection module 804, a display module 806, and a ranking module 808. The acquiring module 802, the detecting module 804, and the displaying module 806 have the same functions as the corresponding modules in fig. 6.
An obtaining module 802, configured to, if multiple traffic resources corresponding to a current MCC exist in traffic resources stored in a mobile terminal, respectively obtain resource information of the multiple traffic resources corresponding to the current MCC;
the sorting module 808 determines, according to the resource information, a plurality of sorts of the traffic resources 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 acquisition module 902, a detection module 904, a display module 906, and a push module 908. The acquiring module 902, the detecting module 904 and the displaying module 906 have the same functions as the corresponding modules in fig. 6.
The pushing module 908 is configured to push an activatable notification of the traffic resource corresponding to the current MCC to the mobile terminal notification bar.
The pushing module 908 is further configured to display an activatable identifier of the traffic resource corresponding to the current MCC in a signal bar of the mobile terminal.
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 acquiring the current MCC.
(2) And detecting whether the traffic resources corresponding to the current MCC exist in the traffic resources stored by the mobile terminal.
(3) And if so, displaying the flow resource corresponding to the current MCC in a first preset mode on the interface of the mobile terminal.
In one embodiment, the detecting whether the traffic resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal 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 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; if the two types of traffic resources are the same, the traffic resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal.
In one embodiment, further performing: acquiring a traffic resource which is not corresponding to the current MCC in traffic resources stored in the mobile terminal and is used as a first traffic resource; hiding the first traffic resource in a mobile terminal interface; or displaying the first traffic resource on the mobile terminal interface in a second preset mode.
In one embodiment, before detecting whether a traffic resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal, 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: acquiring user travel information; analyzing the user travel information and acquiring MCC sequencing information; and determining the display mode of the stored flow resource according to the MCC sequencing information.
In one embodiment, further performing: if a plurality of flow resources corresponding to the current MCC exist in the flow resources stored by the mobile terminal, respectively acquiring resource information of the plurality of flow resources corresponding to the current MCC; and determining the sequencing of a plurality of flow resources corresponding to the current MCC according to the resource information.
In one embodiment, further performing: pushing an activatable notification of the traffic resource corresponding to the current MCC to a notification bar of the mobile terminal; or, displaying an activatable identifier of the traffic resource corresponding to the current MCC on a signal bar of the mobile terminal.
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 acquiring the current MCC.
(2) And detecting whether the traffic resources corresponding to the current MCC exist in the traffic resources stored by the mobile terminal.
(3) And if so, displaying the flow resource corresponding to the current MCC in a first preset mode on the interface of the mobile terminal.
In one embodiment, the detecting whether the traffic resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal 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 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; if the two types of traffic resources are the same, the traffic resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal.
In one embodiment, further performing: acquiring a traffic resource which is not corresponding to the current MCC in traffic resources stored in the mobile terminal and is used as a first traffic resource; hiding the first traffic resource in a mobile terminal interface; or displaying the first traffic resource on the mobile terminal interface in a second preset mode.
In one embodiment, before detecting whether a traffic resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal, 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: acquiring user travel information; analyzing the user travel information and acquiring MCC sequencing information; and determining the display mode of the stored flow resource according to the MCC sequencing information.
In one embodiment, further performing: if a plurality of flow resources corresponding to the current MCC exist in the flow resources stored by the mobile terminal, respectively acquiring resource information of the plurality of flow resources corresponding to the current MCC; and determining the sequencing of a plurality of flow resources corresponding to the current MCC according to the resource information.
In one embodiment, further performing: pushing an activatable notification of the traffic resource corresponding to the current MCC to a notification bar of the mobile terminal; or, displaying an activatable identifier of the traffic resource corresponding to the current MCC on a signal bar of the mobile terminal.
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.
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 acquiring the current MCC.
(2) And detecting whether the traffic resources corresponding to the current MCC exist in the traffic resources stored by the mobile terminal.
(3) And if so, displaying the flow resource corresponding to the current MCC in a first preset mode on the interface of the mobile terminal.
In one embodiment, the detecting whether the traffic resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal 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 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; if the two types of traffic resources are the same, the traffic resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal.
In one embodiment, further performing: acquiring a traffic resource which is not corresponding to the current MCC in traffic resources stored in the mobile terminal and is used as a first traffic resource; hiding the first traffic resource in a mobile terminal interface; or displaying the first traffic resource on the mobile terminal interface in a second preset mode.
In one embodiment, before detecting whether a traffic resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal, 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: acquiring user travel information; analyzing the user travel information and acquiring MCC sequencing information; and determining the display mode of the stored flow resource according to the MCC sequencing information.
In one embodiment, further performing: if a plurality of flow resources corresponding to the current MCC exist in the flow resources stored by the mobile terminal, respectively acquiring resource information of the plurality of flow resources corresponding to the current MCC; and determining the sequencing of a plurality of flow resources corresponding to the current MCC according to the resource information.
In one embodiment, further performing: pushing an activatable notification of the traffic resource corresponding to the current MCC to a notification bar of the mobile terminal; or, displaying an activatable identifier of the traffic resource corresponding to the current MCC on a signal bar of the mobile terminal.
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 (10)

1. An information processing method characterized by comprising:
when a mobile communication network is detected, acquiring a current mobile signal country code MCC;
detecting whether a traffic resource is stored in the mobile terminal, and if the traffic resource is not stored in the mobile terminal, detecting whether a traffic 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 corresponding to the current MCC exist in the flow resources stored in the mobile terminal;
if the current MCC exists, displaying the flow resource corresponding to the current MCC in a first preset mode on a mobile terminal interface;
if a plurality of flow resources corresponding to the current MCC exist in the flow resources stored by the mobile terminal, respectively acquiring resource information of the plurality of flow resources corresponding to the current MCC;
determining the ordering of the plurality of flow resources corresponding to the current MCC according to the resource information;
the detecting whether the traffic resource corresponding to the current MCC exists in the traffic resources stored by the mobile terminal 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 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.
2. The method of claim 1, further comprising:
acquiring a traffic resource which is not corresponding to the current MCC in the traffic resources stored by the mobile terminal as a first traffic resource;
hiding the first traffic resource in the mobile terminal interface, or displaying the first traffic resource in the mobile terminal interface in a second preset mode.
3. The method of claim 1, further comprising:
acquiring user travel information;
analyzing the user travel information and acquiring MCC sequencing information;
and determining the display mode of the stored flow resource according to the MCC sequencing information.
4. The method of claim 1, further comprising:
pushing the notification that the flow resource corresponding to the current MCC can be activated to the notification bar of the mobile terminal;
or, displaying the activatable identifier of the traffic resource corresponding to the current MCC on the signal bar of the mobile terminal.
5. An information processing apparatus characterized by comprising:
an obtaining module, configured to obtain a current MCC when a mobile communication network is detected;
a detection module, configured to detect whether a traffic resource is stored in the mobile terminal, and if the traffic resource is not stored in the mobile terminal, detect whether a traffic 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 corresponding to the current MCC exist in the flow resources stored in the mobile terminal;
the display module is used for displaying the flow resource corresponding to the current MCC in a first preset mode on a mobile terminal interface if the flow resource exists;
the acquiring module is further configured to, if a plurality of traffic resources corresponding to the current MCC exist in the traffic resources stored in the mobile terminal, respectively acquire resource information of the plurality of traffic resources corresponding to the current MCC;
a sorting module, configured to determine, according to the resource information, a sorting of the plurality of traffic resources corresponding to the current MCC;
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 system is also used for 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.
6. The apparatus of claim 5, further comprising:
the acquiring module is further configured to acquire, as a first traffic resource, a traffic resource that does not correspond to the current MCC among traffic resources stored in the mobile terminal;
a hiding module, configured to hide the first traffic resource in the mobile terminal interface;
the display module is further configured to display the first traffic resource on the mobile terminal interface in a second preset manner.
7. The apparatus of claim 5,
the acquisition module is further used for acquiring user travel information, analyzing the user travel information and acquiring MCC sequencing information;
the display module is further configured to determine a display mode of the stored traffic resource according to the MCC ranking information.
8. The method of claim 5, further comprising:
the pushing module is used for pushing the notification that the flow resource corresponding to the current MCC can be activated to the notification bar of the mobile terminal;
or, displaying the activatable identifier of the traffic resource corresponding to the current MCC on the signal bar of the mobile terminal.
9. 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 4.
10. 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 4.
CN201710924201.4A 2017-09-30 2017-09-30 Information processing method, device, mobile terminal and computer readable storage medium Active CN107770766B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710924201.4A CN107770766B (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
CN201710924201.4A CN107770766B (en) 2017-09-30 2017-09-30 Information processing method, device, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107770766A CN107770766A (en) 2018-03-06
CN107770766B true CN107770766B (en) 2021-05-28

Family

ID=61267777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710924201.4A Active CN107770766B (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) CN107770766B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111132016A (en) * 2020-03-31 2020-05-08 友刻(北京)通讯技术有限公司 Method and device for selecting flow package
CN113950044B (en) * 2021-09-16 2024-03-29 深圳市优克联新技术有限公司 User identification card identification method, device, terminal equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378752A (en) * 2014-06-30 2015-02-25 北京神州泰岳软件股份有限公司 Network roaming system and method
CN106792640A (en) * 2016-12-20 2017-05-31 北京小米移动软件有限公司 The communication means of virtual SIM card, mobile terminal and server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9094774B2 (en) * 2012-05-14 2015-07-28 At&T Intellectual Property I, Lp Apparatus and methods for maintaining service continuity when transitioning between mobile network operators
US9648492B2 (en) * 2012-10-10 2017-05-09 Apple Inc. Location-based update of subscriber identity information in a wireless device
US9451444B2 (en) * 2014-05-22 2016-09-20 Cellco Partnership Systems and methods for providing modem behavior-based setup for user devices
US10475069B2 (en) * 2015-05-04 2019-11-12 Onepin, Inc. Automatic aftercall directory and phonebook entry advertising

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378752A (en) * 2014-06-30 2015-02-25 北京神州泰岳软件股份有限公司 Network roaming system and method
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
CN107770766A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
CN107734495B (en) Information processing method, device, storage medium and terminal
CN107820331B (en) Call method, device, computer equipment and 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
CN107708084B (en) Data processing method and device, computer equipment and computer readable storage medium
CN107484154B (en) Data switching method and device, terminal and computer readable storage medium
CN107734584A (en) The method and apparatus of network connection switching, computer equipment, readable storage medium storing program for executing
CN107682910B (en) Traffic resource sharing method and device, mobile terminal and storage medium
CN107743305B (en) Method and device for loading configuration information and computer equipment
CN107743303B (en) Information processing method, device, mobile terminal and computer readable storage medium
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
CN107484201B (en) Flow statistical method and device, terminal and computer readable storage medium
CN107770767B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN107770766B (en) Information processing method, device, mobile terminal and computer readable storage medium
US11109226B2 (en) Information process method, computer readable storage medium and computer device
CN107734492B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN107708092B (en) Flow information update method and device, terminal, computer readable storage medium
CN107682832B (en) Data processing method and device, computer equipment and computer readable storage medium
CN108038362B (en) Unread information display method and device and computer readable storage medium
CN107529133B (en) Data transmission method, device, storage medium and computer equipment
CN107135516B (en) Parameter test processing method, mobile terminal and computer readable storage medium
CN110785987B (en) Information processing method, device, mobile terminal and computer readable storage medium
US11044110B2 (en) SMS-based VoWiFi configuration method, and terminal device
CN111034152B (en) Information processing method, device, mobile 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

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