CN112399526B - Method for switching operator network and electronic equipment - Google Patents
Method for switching operator network and electronic equipment Download PDFInfo
- Publication number
- CN112399526B CN112399526B CN201911063088.0A CN201911063088A CN112399526B CN 112399526 B CN112399526 B CN 112399526B CN 201911063088 A CN201911063088 A CN 201911063088A CN 112399526 B CN112399526 B CN 112399526B
- Authority
- CN
- China
- Prior art keywords
- profile
- network
- electronic device
- electronic equipment
- operator
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3271—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using challenge-response
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0083—Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
- H04W36/0085—Hand-off measurements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/14—Reselecting a network or an air interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/30—Reselection being triggered by specific parameters by measured or perceived connection quality data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/32—Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/16—Communication-related supplementary services, e.g. call-transfer or call-hold
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- 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/183—Processing at user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/26—Network addressing or numbering for mobility support
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Telephone Function (AREA)
Abstract
A method for switching operator networks and electronic equipment relate to the technical field of terminals. The currently activated profile in the electronic device is a first configuration file. Specifically, the method includes the electronic device accessing a first operator network according to a first configuration file. And if the connection with the first operator network is disconnected in response to the first operation, detecting a second operation. Responding to the second operation, searching the network according to the stored configuration files to obtain network searching results corresponding to the stored configuration files respectively; and then, activating a second configuration file according to the network searching results respectively corresponding to the stored configuration files. And finally, accessing the second operator network according to the second configuration file. Thereby realizing the switching of the operator network. According to the technical scheme, the activated configuration file can be switched without manual operation of a user, so that an operator network accessed by the electronic equipment can meet the requirements of the user, and the user experience is improved.
Description
The priority of chinese patent application with application number 201910707875.8, entitled "method for switching operator network and electronic device", filed on 2019, 08/01 is claimed in the present application, and the entire contents of the priority is incorporated by reference in the present application.
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method for switching an operator network and an electronic device.
Background
Currently, with the development of terminal technology, in order to improve device security, facilitate user usage, and the like, an embedded universal integrated circuit card (eUICC) technology is introduced. The eUICC is formed by embedding a Universal Integrated Circuit Card (UICC) into an electronic device by means of packaging or soldering, etc. Therefore, the eUICC is inconvenient to plug and unplug and cannot be replaced randomly like the UICC, so that the risk of stealing or moving for other use can be avoided. The eUICC can also be referred to as an embedded subscriber identity module (eSIM). Based on eSIM technology, an electronic device may typically store multiple configuration files (profiles). The profile is used for accessing to an operator network and can be stored in the electronic device according to the user requirement. Specifically, the profile may include parameters such as an integrated circuit identifier (ICCID), an International Mobile Subscriber Identifier (IMSI), an authentication key (key identifier, KI), an authentication algorithm, parameters related to network configuration, a Personal Identification Number (PIN), an unlocking code (PUK), and a phone number. Therefore, under the condition that the electronic device stores a plurality of profiles, the flexible switching of the operator network can be realized by switching among the plurality of profiles, but in the prior art, when the electronic device switches the operator network by switching among the plurality of profiles, the switching can be completed only by manual participation of a user, and the user experience is poor.
Disclosure of Invention
The application provides a method for switching operator networks and electronic equipment, so that when two or more profiles are stored in the electronic equipment, the activated profiles can be automatically switched to access to the corresponding operator networks when network connection is recovered after the networks are disconnected, and the user experience is facilitated to be improved.
In a first aspect, a method for switching an operator network provided in an embodiment of the present application is applied to an electronic device, where a first profile and a second profile are stored in the electronic device, and the first profile is a currently activated profile, and the electronic device accesses a first operator network according to the first profile. If the first operation is detected, wherein the first operation is used for disconnecting the network connection; the electronic device disconnects from the first carrier network in response to the first operation. And detecting a second operation after disconnecting from the first operator network, the second operation being for restoring the network connection. The electronic equipment responds to the second operation, and network searching is carried out according to the first profile and the second profile to obtain a network searching result corresponding to the first profile and a network searching result corresponding to the second profile; and then activating the second profile according to the network searching result corresponding to the first profile and the network searching result corresponding to the second profile. And finally, accessing a second operator network according to the second profile. Thereby realizing the switching of the operator network.
In the embodiment of the application, the electronic device can search for at least two profiles when detecting the operation of restoring the network connection after the network is disconnected. And then, determining the profile required to be activated according to the network searching result, thereby being beneficial to enabling an operator network accessed by the electronic equipment to meet the requirements of the user. Moreover, the corresponding profile is activated without manual operation of a user, so that the user experience is improved.
In one possible design, the electronic device sends a request for opening a call forwarding service to the first operator network, where the request for opening the call forwarding service is used to forward an incoming call of a first phone number to a second phone number, and the first phone number is a phone number included in the first profile and the second phone number is a phone number included in the second profile. Then, the electronic equipment receives a first response of opening the call forwarding service, and prompts a user to forward the incoming call of the first telephone number to a second telephone number; the first response is used for indicating that the opening of the call forwarding service is successful, and the first response is returned aiming at the request for opening the call forwarding service.
Through the scheme, the electronic equipment can send the request for opening the call forwarding service to the first operator network, so that the incoming call of the first telephone number is forwarded to the second telephone number, and the electronic equipment can avoid missing the incoming call on the first telephone number after accessing the second operator network.
In one possible design, the electronic device sends a request for stopping the billing of the package service corresponding to the first profile to the first operator network; after receiving a second response for stopping the package service charging corresponding to the first profile, prompting the first operator network to stop the package service charging corresponding to the first profile to the user;
and the second response is used for indicating that the package service charging corresponding to the first profile is stopped fails, and the second response is returned according to the request for stopping the package service charging corresponding to the first profile.
Through the technical scheme, the electronic equipment can send the request for stopping the charging of the package service corresponding to the first profile to the first operator network, so that the electronic equipment can stop the charging of the package service corresponding to the first profile during the service provided by the second operator network, and the cost of a user is reduced. In addition, the electronic device may also prompt the user to stop the billing of the package service corresponding to the first profile after the first operator network stops the billing of the package service corresponding to the first profile, which is helpful for improving the cost condition of the user for knowing the current package service.
In one possible design, when the validity period of the package service corresponding to the second profile is greater than or equal to the first time length, the electronic device sends a request for stopping charging for the package service corresponding to the first profile to the first operator network. Because the electronic device may activate the first profile again when the validity period corresponding to the second profile is short, and the request for stopping the package service charging corresponding to the first profile is sent to the first operator network only when the validity period corresponding to the second profile is long in the above scheme, the purpose of saving the cost for the user is further achieved.
In one possible design, the electronic device prompts the user for a package service corresponding to the second profile. Therefore, the user can know the package service situation ordered after the electronic equipment is accessed to the second operator network.
In one possible design, the electronic device deactivates the first profile.
In one possible design, network searching is performed based on the radio frequency capability of the electronic device according to the first profile and the second profile, and a network searching result corresponding to the first profile and a network searching result corresponding to the second profile are obtained. The reliability of the net searching result is improved.
In one possible design, the electronic device obtains a first geographic location in response to a second operation; the first geographic position is used for indicating the current geographic position of the user; judging whether the distance between the first geographical position and the second geographical position is greater than or equal to a first threshold value or not; the second geographic location is obtained before the electronic device disconnects from the first operator network in response to the first operation; when the distance between the first geographic position and the second geographic position is larger than or equal to a first threshold, the electronic device searches the network according to the first profile and the second profile to obtain a network searching result corresponding to the first profile and a network searching result corresponding to the second profile. When the distance between the first geographic position and the second geographic position is larger than or equal to the first threshold, the electronic device is triggered to search the network according to the first profile and the second profile, and the activated profile is switched to the second profile, so that the operator network accessed to the first geographic position of the electronic device can meet the requirements of the user.
In one possible design, when the distance between the first geographic location and the second geographic location is smaller than a first threshold and greater than or equal to a second threshold, the electronic device searches for a network according to the first profile to obtain a first public land mobile network PLMN; wherein the first threshold is greater than the second threshold; the electronic equipment further judges whether the first PLMN is the same as the second PLMN, wherein the second PLMN is the PLMN when the electronic equipment is accessed to the first operator network; and when the first PLMN is different from the second PLMN, searching the network according to the first profile and the second profile to obtain a network searching result corresponding to the first profile and a network searching result corresponding to the second profile. Because when the distance between the first geographic location and the second geographic location is between the first threshold and the second threshold, the electronic device can trigger network searching according to the first profile and the second profile when the first PLMN and the second PLMN are different, and switch the activated profile into the second profile, thereby being helpful for enabling an operator network accessed by the electronic device at the first geographic location to meet the requirements of the user.
In one possible design, the electronic device responds to the second operation, searches for a network according to the first profile, and acquires the first PLMN; judging whether the first PLMN is the same as the second PLMN or not; the second PLMN is a PLMN when the electronic equipment accesses the first operator network; when the first PLMN is different from the second PLMN, the electronic equipment searches the network according to the first profile and the second profile to obtain a network searching result corresponding to the first profile and a network searching result corresponding to the second profile. Because the electronic device can trigger network searching according to the first profile and the second profile when the first PLMN and the second PLMN are different, the activated profile is switched to the second profile, and the requirement of the user can be met by the operator network accessed by the electronic device.
In one possible design, the electronic device activates the second profile according to a network searching result corresponding to the first profile, a network searching result corresponding to the second profile, package service information corresponding to the first profile, and package service information corresponding to the second profile; and/or the presence of a gas in the gas,
and the electronic equipment activates the second profile according to the network searching result corresponding to the first profile, the network searching result corresponding to the second profile and a pre-configured network blacklist.
In the above scheme, the electronic device determines to activate the second profile, and may refer to the package service information and/or the network blacklist in addition to the network searching result, thereby facilitating to improve the activated second profile to further meet the user's requirement.
In one possible design, the first operation is an operation to turn on the flight mode, and the second operation is an operation to turn off the flight mode; or the first operation is a shutdown operation, and the second operation is a startup operation.
In a second aspect, the method for switching operator networks provided in the embodiment of the present application is applied to an electronic device, where a first profile and a second profile are stored in the electronic device, and the first profile is a currently activated profile, and the electronic device accesses a first operator network according to the first profile; detecting a first operation, wherein the first operation is used for disconnecting the network connection; the electronic equipment responds to the first operation and disconnects the first operator network; after disconnecting from the first operator network, the electronic device detects a second operation, and the second operation is used for restoring network connection; responding to the second operation, and acquiring a first geographic position; the first geographic position is used for indicating the current geographic position of the user; and when the distance between the first geographic position and the second geographic position is greater than or equal to a first threshold value, the electronic equipment activates a second profile, and accesses a second operator network according to the second profile, wherein the second geographic position is obtained before the electronic equipment responds to the first operation and breaks the connection with the first operator network.
In the embodiment of the application, after the network is disconnected, when the electronic device detects the operation of recovering the network connection, the second profile can be activated when the distance between the first geographic location and the second geographic location is greater than or equal to the first threshold, so that the operator network accessed by the electronic device at the first geographic location can meet the requirement of the user. Moreover, the corresponding profile is activated without manual operation of a user, so that the user experience is improved.
In one possible design, a third profile is stored in the electronic device; when the distance between the first geographic position and the second geographic position is larger than or equal to a first threshold, the electronic equipment searches the network according to the second profile and the third profile to obtain a network searching result corresponding to the second profile and a network searching result corresponding to the third profile; determining to activate a second profile of the second profile and the third profile according to the network searching result corresponding to the second profile and the network searching result corresponding to the third profile; then, the second profile is activated. Thereby being helpful to further improve the activated profile to meet the requirements of users.
In a third aspect, an electronic device provided in an embodiment of the present application includes a processor and a memory; wherein the processor is coupled with the memory; wherein the memory is used for storing program instructions; the processor is configured to read program instructions stored in the memory to implement the methods of the above aspects of the embodiments of the present application and any of its possible designs.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing program instructions, which, when executed on an electronic device, cause the electronic device to perform the method according to the above aspects of the embodiments of the present application and any possible design thereof.
In a fifth aspect, the present application provides a computer program product, which, when run on an electronic device, causes the electronic device to perform the above aspects of the embodiments of the present application and any possible design methods thereof.
In a sixth aspect, embodiments of the present application provide a chip, where the chip is coupled to a memory in an electronic device, and a method for controlling the electronic device to perform the above aspects and any possible designs of the embodiments of the present application.
In addition, the technical effects brought by the third aspect to the fifth aspect can be referred to the description related to the methods designed in the above methods, and are not repeated herein.
It should be noted that "coupled" in the embodiments of the present application means that two components are directly or indirectly combined with each other.
Drawings
FIG. 1 is a schematic view of an interface according to an embodiment of the present application;
fig. 2 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a method for switching an operator network according to an embodiment of the present application;
FIG. 5 is another interface schematic of an embodiment of the present application;
fig. 6 is a flowchart illustrating a method for selecting profile according to an embodiment of the present application;
FIG. 7 is another interface schematic of an embodiment of the present application;
FIG. 8A is another interface diagram according to an embodiment of the present application;
FIG. 8B is a schematic view of another interface according to an embodiment of the present application;
FIG. 9 is another interface schematic of an embodiment of the present application;
fig. 10 is a flowchart illustrating a method for authenticating or authenticating a device according to an embodiment of the present application;
fig. 11 is a flowchart illustrating another method for switching operator networks according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
It should be understood that in this application, "/" means "or" means "unless otherwise indicated. For example, A/B may represent A or B. In the present application, "and/or" is only one kind of association relation describing an associated object, and means that three kinds of relations may exist. For example, a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. "at least one" means one or more, "a plurality" means two or more. For example, at least one of a, b or c may represent seven cases of a, b, c, a and b, a and c, b and c, and a, b and c.
In this application, "exemplary," "in some embodiments," "in other embodiments," and the like are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, the term using examples is intended to present concepts in a concrete fashion.
Furthermore, the terms "first," "second," and the like, as used herein, are used for descriptive purposes only and not for purposes of indicating or implying relative importance or implicit indication of a number of technical features being indicated or implied as well as the order in which such is indicated or implied.
References to "more than" in this application are to be understood as being greater than, or not less than. For example, a distance between geographic location a and geographic location B exceeds a threshold of 1, which may be understood as a distance between geographic location a and geographic location B that is greater than or equal to a threshold of 1, or alternatively, a distance between geographic location a and geographic location B that is greater than a threshold of 1. References to "not exceeding" in this application are to be understood as being less than, or not more than. For example, the distance between geographic location a and geographic location B does not exceed threshold 2, which may be understood as the distance between geographic location a and geographic location B being less than or equal to threshold 2, or alternatively, the distance between geographic location a and geographic location B being less than threshold 2.
It should be understood that profile in the embodiments of the present application refers to a configuration file for accessing an operator network. For example, profile may include ICCID, IMSI, KI, authentication algorithm, parameters related to network configuration, PIN, PUK, phone number, etc. For an electronic device supporting eSIM technology, one or more profiles may be stored. The profile stored in the electronic device may be issued to the electronic device by an operator or a third party (e.g., a card vendor) after a user orders or opens a package service. For example, after the user subscribes to the Tengchong Dawang card meal service of Unicom China, Unicom China or a third party issues a profile for accessing a Unicom China network to the electronic device. For another example, after the user subscribes to the 5G package service of the british operator EE, the british operator EE or a third party issues a profile for accessing the network of the british operator EE to the electronic device. It should be noted that, in the embodiment of the present application, a user may subscribe or open package services of one or more operators according to own needs.
For users who frequently travel abroad or travel on business trips, two or more profiles are usually stored on the electronic device. For example, a user subscribes to a package service of an operator in a country where a place of residence is located, and subscribes to a package service of an operator in a country where a business trip or tourist location is located, so that when the user is in the country where the place of residence is located, the electronic device can access to the operator network in the country where the place of residence is located to provide services for the user; upon arrival in the country of the business trip or tourist location, the electronic device may access the operator network of the country of the business trip or tourist location to provide services to the user. Therefore, the situation that the user cannot access the network to influence the communication of the user when the user arrives at a country where a business trip or a tourist spot is located is avoided, and the cost of the user is saved.
However, because the electronic device accesses the operator network based on the activated profile in the stored profiles, the services such as internet access, voice communication and the like are provided for the user, and the activated profile in the electronic device is not changed by manual operation at present. Therefore, if the user arrives at the country of the business trip or the tourist site from the country of the residential site, the user needs to manually operate the electronic device to activate the corresponding profile, so that the user can access the corresponding operator network and realize the switching of the operator network on the electronic device. For example, a user can activate profile by operating an interface for managing esims.
For example, when the profile1, the profile2, and the profile3 are stored on the electronic device, an interface for managing esims may be as shown in interface C in fig. 1. Included on interface C are an eSIM1 option, an eSIM2 option, and an eSIM3 option. Wherein the eSIM1 option is used to indicate profile1, the eSIM2 option is used to indicate profile2, and the eSIM3 option is used to indicate profile 3. For example, the profile1 indicated by the eSIM1 option is the currently activated profile, if the user wants to activate the profile2, the user needs to click on the eSIM2 option, and the electronic device displays an interface related to the eSIM2 on the display screen in response to the user clicking on the eSIM2 option. An interface associated with the eSIM2 can be as shown in interface D in fig. 1. The user may cause the electronic device to activate the profile2 in response to the above-described operation by turning ON a virtual button that controls activation of the profile. Further, in the case that the electronic device supports access to only one operator network, the electronic device may automatically stop activating the profile1 when the profile2 is activated. Alternatively, the user may first operate the eSIM1 option, stop activating the profile1 or deactivate the profile1, and then activate the profile 2. In the case that the electronic device supports access to two or more operator networks, the electronic device may activate profile1 and profile2 at the same time. After the electronic device activates the profile2, the electronic device may access to a corresponding operator network according to the profile2, and provide a service for the user.
Wherein, the user can make the electronic device display the system setting interface by clicking the setting icon in the interface a in fig. 1. For example, the system setup interface can be as shown in interface B of fig. 1, and the user can cause the electronic device to display interface C for managing esims by clicking on an eSIM management option. Or, the user may enable the electronic device to display an interface for managing the eSIM through a voice instruction, a shortcut gesture operation, or the like, so that the user may activate or stop activating the corresponding profile according to the user's own needs.
Therefore, the existing mode of switching operator networks by manually activating the profile is complex and poor in user experience. Particularly, when a plurality of profiles are stored in the electronic device, the user is also required to determine which profile is more appropriate to activate. And the user judges the activated profile according to own experience or knowledge and the like, which is not necessarily the most suitable profile for the user. In view of this, an embodiment of the present application provides a method for switching an operator network, so that an electronic device may search for a network based on two or more stored profiles after a flight mode is started or closed, and then automatically select one profile according to a result of the network search and activate the profile, so that the electronic device can automatically implement switching of the operator network, which is beneficial to improving user experience.
The following describes electronic devices, and embodiments for using such electronic devices. The electronic device of the embodiment of the application may be a tablet computer, a mobile phone, an in-vehicle device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), a wearable device, an in-vehicle terminal, an intelligent home device, and the like. In addition, the electronic equipment of the embodiment of the application can also be an animal tracking and positioning device and the like.
For example, fig. 2 shows a hardware structure diagram of an electronic device according to an embodiment of the present application. As shown in fig. 2, the electronic device includes a processor 210, an internal memory 221, an external memory interface 222, a camera 230, a display screen 240, a sensor module 250, an audio module 260, a speaker 261, a receiver 262, a microphone 263, an earphone interface 264, an eSIM module 1271, a Universal Serial Bus (USB) interface 272, a charge management module 280, a power management module 281, a battery 282, a mobile communication module 291, and a wireless communication module 292. Further, in other embodiments, the electronic device may also include motors, indicators, keys, and the like.
It should be understood that the hardware configuration shown in fig. 2 is only one example. The electronic devices of the embodiments of the application may have more or fewer components than the electronic devices shown in the figures, may combine two or more components, or may have different configurations of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
In some embodiments, a buffer may also be provided in the processor 210 for storing programs and/or data. The programs in the embodiments of the present application may also be referred to as program instructions, computer programs, code instructions, and the like, and are not limited thereto. As an example, the cache in processor 210 may be a cache memory. The buffer may be used to hold programs and/or data that have just been used, generated, or recycled by processor 210. If the processor 210 needs to use the program and/or data, it can be called directly from the buffer. Which helps to reduce the time for the processor 210 to acquire programs or data, thereby increasing the efficiency of the system.
The external memory interface 222 may be used to connect an external memory card (e.g., a Micro SD card) to extend the storage capability of the electronic device. The external memory card communicates with the processor 210 through the external memory interface 222 to implement a data storage function. For example, the electronic apparatus can save contents of images, music, videos, documents, and the like in the external memory card through the external memory interface 222.
The camera 230 may be used to capture motion, still images, and the like. Typically, the camera 230 includes a lens and an image sensor. The optical image generated by the object through the lens is projected on the image sensor, and then is converted into an electric signal for subsequent processing. For example, the image sensor may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The image sensor converts the optical signal into an electrical signal and then transmits the electrical signal to the ISP to be converted into a digital image signal. It should be noted that, in the embodiment of the present application, the electronic device may include one or more cameras 230, which is not limited thereto. Illustratively, the electronic device includes 5 cameras 230, e.g., 3 rear cameras and 2 front cameras. As another example, the electronic device includes 3 cameras 230, such as 2 rear cameras and 1 front camera.
The display screen 240 may include a display panel. The user can display different user interfaces on the display screen 240 according to the needs of the user, so that the requirements of the user are met. Specifically, the display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro led, a quantum dot light-emitting diode (QLED), or the like. For example, the electronic device may implement display functionality via the GPU, the display screen 240, the application processor, and/or the like. It should be noted that, in the embodiment of the present application, the electronic device may include one or more display screens 240, which is not limited thereto.
The touch sensor 250A may also be referred to as a "touch panel". The touch sensor 250A may be provided to the display screen 240. When the touch sensor 250A is disposed on the display screen 240, the touch sensor 250A and the display screen 240 form a touch screen, which may also be referred to as a "touch screen". The touch sensor 250A is used to detect a touch operation applied thereto or nearby. Touch sensor 250A may pass the detected touch operation to an application processor to determine the touch event type. The electronic device may provide visual output related to touch operations, etc. through the display screen 240. For example, the electronic apparatus may perform interface switching in response to the touch operation acted on or near the touch panel 250A being detected, and display the switched user interface on the display screen 240. In other embodiments, the touch sensor 250A can be disposed on the surface of the electronic device at a different location than the display screen 240.
The pressure sensor 250B is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. For example, the pressure sensor 250B may be disposed on the display screen 240. The touch operations which act on the same touch position but have different touch operation intensities can correspond to different operation instructions.
The electronic device may implement audio functions through the audio module 260, the speaker 261, the receiver 262, the microphone 263, the headset interface 264, the application processor, and the like. Such as an audio play function, a recording function, a voice wake-up function, etc.
The audio module 260 may be used to perform digital-to-analog conversion, and/or analog-to-digital conversion on the audio data, and may also be used to encode and/or decode the audio data. For example, the audio module 260 may be disposed in the processor 210, or some functional modules of the audio module 260 may be disposed in the processor 210.
The speaker 261, also called a "speaker", converts audio data into sound and plays the sound. For example, the electronic device may listen to music, listen to a hands-free phone, or issue a voice prompt, etc. through the speaker 261.
A receiver 262, also called "earpiece", is used to convert audio data into sound and play the sound. For example, when the electronic device answers the call, the user can answer the call by placing the receiver 262 close to the ear of the user.
The microphone 263, also referred to as a "microphone" or "microphone", is used to collect sound (e.g., ambient sounds, including sounds made by a person, sounds made by a device, etc.) and convert the sound into audio electrical data. When making a call or transmitting voice, the user can make a sound through the mouth of the person near the microphone 263, and the microphone 263 collects the sound made by the user. It is noted that the electronic device may be provided with at least one microphone 263. For example, two microphones 263 are provided in the electronic device, and a noise reduction function may be implemented in addition to sound collection. For another example, three, four or more microphones 263 may be further disposed in the electronic device, so that the recognition of the sound source, the directional recording function, or the like may be further implemented on the basis of implementing sound collection and noise reduction.
The earphone interface 264 is used to connect a wired earphone. The headset interface 264 may be a USB interface 270, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface, or the like.
The eSIM module 271 is embedded in the electronic device and cannot be separated from the electronic device. Specifically, the electronic device is accessed to the operator network through the eSIM module 271, thereby implementing functions such as conversation, data communication, internet surfing, and the like. For example, the eSIM module 271 may support a global system for mobile communications association (GSMA) remote SIM configuration (RSP) communication protocol, and support downloading, installing, activating, deactivating, deleting, and the like of profiles, so that the electronic device may implement flexible switching of different operator networks by activating different profiles. For example, the eSIM module 271 may obtain multiple profiles according to user requirements. The multiple profiles may include profiles for accessing the same operator network, or may include profiles for accessing different operator networks, which is not limited in this respect. In some embodiments, the eSIM module 271 can also include a buffer. The eSIM module 271 may store the profile obtained from the operator or the third party in the buffer, or store the profile obtained from the operator or the third party in the internal memory 221, or the like. For example, the electronic device stores profile1 and profile2, where the profile1 is obtained by the electronic device from the first carrier network through the eSIM module 271, and the profile2 is obtained by the electronic device from the second carrier network through the eSIM module 271. For example, the first operator network is a china unicom network, and the second operator network is a china mobile network. In the case that the profile1 is activated and the profile2 is not activated, the electronic device accesses the china unicom network based on the profile 1.
In other embodiments, the eSIM module 271 can store up to N profiles. Different profiles of the N profiles may be used for accessing the same operator network, or different profiles may also be used for accessing different operator networks, which is not limited herein. For example, the value of N may be a positive integer greater than or equal to 2, such as 2, 3, or 5, and the value of N may be preset in the electronic device according to an actual situation.
The USB interface 272 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 272 may be used to connect a charger to charge the electronic device, and may also be used to transmit data between the electronic device and a peripheral device. And the earphone can also be used for connecting an earphone and playing sound through the earphone. For example, the USB interface 272 may be used to connect other electronic devices, such as an AR device, a computer, etc., in addition to the headset interface 264.
The charge management module 280 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 280 may receive charging input from a wired charger via the USB interface 270. In some wireless charging embodiments, the charging management module 280 may receive a wireless charging input through a wireless charging coil of the electronic device. While the charging management module 280 charges the battery 282, the power management module 281 may also be used to supply power to the electronic device.
The power management module 281 is used to connect the battery 282, the charging management module 280 and the processor 210. The power management module 281 receives input from the battery 282 and/or the charge management module 280, and provides power to the processor 210, the internal memory 221, the camera 230, the display screen 240, and the like. The power management module 281 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 281 may also be disposed in the processor 210. In other embodiments, the power management module 281 and the charging management module 280 may be disposed in the same device.
The mobile communication module 291 may provide a solution including 2G/3G/4G/5G wireless communication and the like applied to an electronic device. The mobile communication module 291 may include a filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like.
The wireless communication module 292 may provide solutions for wireless communication applied to electronic devices, including Wireless Local Area Networks (WLANs), such as wireless fidelity (Wi-Fi) networks, Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 292 may be one or more devices integrating at least one communication processing module.
In some embodiments, antenna 1 of the electronic device is coupled to the mobile communication module 291 and antenna 2 is coupled to the wireless communication module 292 such that the electronic device may communicate with other devices. Specifically, the mobile communication module 291 may communicate with other devices through the antenna 1, and the wireless communication module 293 may communicate with other devices through the antenna 2.
For example, as shown in fig. 3, a schematic diagram of a software architecture of an electronic device according to an embodiment of the present application specifically includes a decision module 301 and a network searching module 303. In still other embodiments, the electronic device further includes one or more of a location detection module 302, a network blacklist module 304, a subscription module 305, and a notification module 306.
It should be noted that the decision module 301, the location detection module 302, the network searching module 303, the network blacklist management module 304, the subscription module 305, and the notification module 306 shown in fig. 3 may be integrated in one or more processing units in the processor 210 shown in fig. 2. For example, some or all of the decision module 301, the location detection module 302, the network searching module 303, the network blacklist management module 304, the subscription module 305, and the notification module 306 may be integrated in one or more processors, such as an application processor, a dedicated processor, and the like. For example, the special purpose processor in the embodiment of the present application may be a DSP, an Application Specific Integrated Circuit (ASIC) chip, or the like. In other embodiments, the decision module 301, the location detection module 302, the network searching module 303, the network blacklist management module 304, the subscription module 305, and the notification module 306 may also be integrated on different modules, or partially integrated on the same module, and the like, which is not limited herein. For example, the network blacklist management module 304 is integrated on the eSIM module 271 shown in fig. 2, and the decision module 301, the location detection module 302, the network searching module 303, the subscription module 305, and the notification module 306 are integrated on the processor 210 shown in fig. 2. As another example, the location detection module 302 is integrated on a positioning sensor (e.g., a GPS sensor) shown in fig. 2, the network searching module 303 and the notification module 306 are integrated on the mobile communication module 291 shown in fig. 2, the network blacklist management module 304 is integrated on the eSIM module 271 shown in fig. 2, and the decision module 301, the subscription module 305 and the notification module 306 are integrated on the processor 210 shown in fig. 2.
It should be understood that the software architecture shown in FIG. 2 is merely an example. The electronic device of the embodiments of the present application may have more or fewer modules than the electronic device shown in the drawings, may combine two or more modules, and the like. The various modules shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The decision module 301 is configured to, when a first trigger event (for example, power on, or flight mode off, or network outage) is detected, trigger the network searching module 303 to perform network searching based on at least two stored profiles to obtain network searching results respectively corresponding to the at least two profiles, and then return the obtained network searching results respectively corresponding to the at least two profiles to the decision module 301 by the network searching module 303. Then, the decision module 301 selects one profile from the at least two profiles according to the at least two network searching results (for convenience of introduction, the profile selected by the decision module 301 is taken as a first profile, which is used for accessing the first operator network, for example, and notifies the eSIM271 module of the first profile. The eSIM module 271, when the currently activated profile (for convenience of introduction, the currently activated profile in the profiles stored in the electronic device is taken as a second profile, which is used for accessing a second operator network for example) is not the first profile, deactivates or stops activating the second profile, and automatically activates the first profile, and then sends a profile activation notification to the decision module 301, and initiates a procedure of accessing the first operator network based on the first profile.
The network searching module 303 may obtain at least two profiles from the eSIM module 271, or the decision module 301 may send the profiles to the network searching module 303. For example, the decision module 301 may send at least two profiles to the network searching module 303 or send information (e.g., at least two profile indexes) indicating at least two profiles to the network searching module 303 when the first trigger event is detected. The network searching module 303 may acquire the at least two profiles from the eSIM module 271 according to the information indicating the at least two profiles.
It should be noted that the network searching module 303 may perform network searching based on all stored profiles, may also perform network searching based on some stored profiles, and specifically performs network searching based on which profiles in the stored profiles are related to a preset specific policy. For example, the network searching module 303 searches the network based on the stored profile of all profiles for accessing to the operator network of the country to which the geographic location of the user belongs. For example, profile1, profile2, and profile3 are already stored in the electronic device. Where profile1 is used to access the china operator's network and profile2 and profile3 are used to access the uk operator's network. When the country to which the geographical location of the user belongs is the united kingdom, the network searching module 303 searches the network based on the profile2 and the profile 3. For example, which profile the electronic device searches for a network may be determined by the decision module 301 or may be determined by the network searching module 303.
In other embodiments, when detecting the first trigger event, the decision module 301 may first trigger the network searching module 303 to perform network searching based on the second profile, and determine whether the PLMN obtained by the network searching is the same as the PLMN obtained by the previous network searching. If not, a network searching notification is sent to the decision module 301. After receiving the network searching notification, the decision module 301 triggers the network searching module 303 to search for a network based on the stored at least two profiles. Alternatively, in still other embodiments, when the decision module 301 detects the first trigger event, a location detection notification may be sent to the location detection module 302 first. After receiving the location detection notification, the location detection module 302 obtains the current geographic location of the user, and determines whether a distance between the obtained current geographic location of the user and the last obtained geographic location of the user exceeds a first threshold. If the first threshold value is exceeded, a network searching notification is sent to the decision module 301. After receiving the network searching notification, the decision module 301 triggers the network searching module 303 to search for a network based on the stored at least two profiles. Further, in other embodiments, if the distance between the obtained current geographic location of the user and the geographic location of the user obtained last time does not exceed the first threshold but exceeds the second threshold, the network searching module 303 is triggered to search for the network based on the activated profile, the network searching module 303 searches for the network based on the second profile, and determines whether the PLMN obtained by this network search is the same as the PLMN obtained by the last network search based on the second profile. If not, the location detection module 302 is triggered to send a network searching notification to the decision module 301. It should be noted that the first threshold and the second threshold may be preconfigured, where the first threshold is greater than the second threshold, for example, the first threshold is 300 kilometers, and the second threshold may be 150 kilometers.
In still other embodiments, the decision module 301 is configured to trigger the subscription module 305 to acquire package service information of operators corresponding to at least two profiles respectively when the first trigger event is detected or a network searching notification sent by the location detection module 302 or the network searching module 303 is received. The subscription module 305 obtains package service information corresponding to at least two profiles respectively, and sends the package service information to the decision module 301. The decision module 301 may select one profile from the at least two profiles based on package service information corresponding to the at least two profiles, and/or network searching results corresponding to the at least two profiles.
In other embodiments, the decision module 301 is further configured to obtain the network blacklist from the network blacklist management module 304 when the first trigger event is detected or a network searching notification sent by the location detection module 302 or the network searching module 303 is received. The decision module 301 further refers to a network blacklist when selecting a first profile from the at least two profiles to avoid accessing a network in the network blacklist.
In addition, when the second profile is different from the first profile, the eSIM module 271 sends an operator network switching notification to the decision module 301, and after receiving the operator network switching notification, the decision module 301 sends a request for opening a call forwarding service and/or a request for stopping billing for a package service corresponding to the second profile to the second operator network. After receiving a response to open the call forwarding service and/or a response to stop charging the package service corresponding to the second profile through the subscription module 305, the decision module 301 triggers the eSIM module 271 to activate the first profile and deactivate the second profile. The eSIM module 271 sends a notification that the first profile is activated to the decision module 301, and the decision module 301 initiates a procedure for accessing the first operator network based on the first profile.
Further, after receiving a response of opening the call forwarding service and/or a response of stopping the billing of the package service corresponding to the second profile through the subscription module 305, the decision module 301 further triggers the notification module 306 to notify the operator to stop billing of the package service corresponding to the second profile and/or transfer the incoming call of the phone number included in the second profile to the phone number included in the first profile.
In other embodiments, after the decision module 301 accesses the first operator network based on the first profile, the subscription module 305 is triggered to acquire package service information corresponding to the first profile, and after receiving the package service information corresponding to the first profile sent by the subscription module 305, the notification module 306 is triggered to notify the user of the package service information corresponding to the first profile. So that the user can know the package service condition of the currently accessed operator network.
The following embodiments may be implemented in an electronic device having the above-described hardware configuration and/or software configuration.
Taking the profiles stored in the electronic device as at least two profiles, and taking the first profile as the currently activated profile in the stored profiles as an example, a method for switching an operator network according to the embodiment of the present application is introduced.
As an example, taking a scenario of turning on and off a flight mode as an example, as shown in fig. 4, a flowchart of a method for switching an operator network according to an embodiment of the present application is shown, which specifically includes the following steps.
401. And the electronic equipment accesses the first operator network according to the first profile.
In some embodiments, the electronic device, upon accessing the first carrier network, may prompt the user that the first carrier network has been accessed. For example, the electronic device may prompt the user that the first carrier network has been accessed by prompting the user for an identification of the first carrier. Take the first operator's identity as china mobile as an example. After the electronic equipment is accessed to the first operator network, the Chinese mobile identifier can be displayed on the display screen to the user, and the user is prompted to access the Chinese mobile network. For example, the electronic device displays an identification of Chinese movement in a status bar of the user interface as shown in A in FIG. 5.
402. The electronic device detects an operation to turn on the flight mode.
For example, the operation of turning on the flight mode may be an operation of a virtual key for controlling turning on or off the flight mode by a user. The virtual key for controlling the flight mode to be turned on or off may be located on the system setting interface, or may be located on the pull-up interface or the pull-down interface, or the like. For example, the system setting interface may be displayed by the electronic device in response to an operation of clicking a setting icon. For example, the pull-up interface may be displayed by the electronic device in response to an operation of the user sliding up on the display screen. For example, the drop-down interface may be displayed by the electronic device in response to a user's operation to slide down on the display screen.
For example, the electronic device displays a user interface as shown in a in fig. 5 on a display screen, detects an operation of a user sliding down on the display screen, and displays a control interface on the display screen in response to the operation of the user sliding down, wherein the control interface includes a virtual key for controlling the flight mode to be turned on or off. By way of example, the control interface may be a user interface as shown in B in FIG. 5.
As another example, the operation of starting the flight mode may also be a shortcut gesture operation, such as sliding up the three fingers, or a voice command.
403. The electronic device disconnects from the first carrier network in response to the operation of turning on the flight mode.
In other embodiments, the electronic device may also prompt the user to turn on the flight mode in response to the operation to turn on the flight mode. For example, the electronic device may also prompt the user that the flight mode has been turned on by replacing the identification of the first operator with the identification of the flight mode on the user interface. For example, in response to an operation of clicking a virtual key for controlling the flight mode to be turned on or off, the electronic device displays an identification of the flight mode in a status bar of the user interface, and does not display an identification of the first operator any more, so as to prompt the user that the flight mode is turned on and the network connection with the first operator is disconnected.
404. The electronic device detects an operation to turn off the flight mode.
For example, after the electronic device opens the flight mode, the operation of closing the flight mode may be an operation of a virtual key for controlling the opening or closing of the flight mode, or a shortcut gesture operation, or a voice instruction, or the like.
405. And the electronic equipment responds to the operation of closing the flight mode, and searches for the network according to at least two stored profiles to obtain network searching results respectively corresponding to the at least two profiles.
In some embodiments, the electronic device, in response to the operation to turn off the flight mode, also prompts the user that a network search is in progress. For example, the electronic device displays a prompt message on the display screen in response to a user clicking a virtual key for controlling the turning on or off of the flight mode. The prompt message is used to prompt the electronic device to search for a network, for example, the prompt message may be in the network. For example, as shown in C in fig. 5, the electronic device replaces the identification of the flight mode with "searching for a network" in the status bar to prompt the user that the electronic device has turned off the flight mode and is searching for a network.
For example, the at least two profiles that the electronic device has stored include profile1 and profile 2. In this case, one of the profile1 and the profile2 is the first profile. And the electronic equipment responds to the operation of closing the flight mode, and performs network searching according to the profile1 and the profile2 to obtain a network searching result corresponding to the profile1 and a network searching result corresponding to the profile 2. As another example, the at least two profiles that the electronic device has stored include profile1, profile2, and profile 3. In this case, one of the profiles 1, 2, and 3 is the first of the profiles already stored in the electronic device. The electronic equipment responds to the operation of closing the flight mode, and can search for the network according to the profile1, the profile2 and the profile3, or according to the profile1 and the profile2, or according to the profile2 and the profile3, or according to the profile1 and the profile 3. In this case, the electronic device searches for a network according to which profiles among the profiles 1, 2, and 3 are related to the preset specific policy, which may be referred to the above description of the preset specific policy in the software architecture in fig. 3, and details are not described here again.
For example, the electronic device may perform network searching according to at least two profiles in the stored profiles by combining hardware capabilities (e.g., radio frequency capabilities, modulation and demodulation capabilities, etc.) of the electronic device, and obtain network searching results corresponding to the at least two profiles respectively. Thereby being beneficial to improving the network searching efficiency.
Take the example that the electronic device searches the network according to the profile 1. The profile1 may be the first profile in the profiles stored in the electronic device, or may be other profiles, which is not limited herein. For example, the network system that is not supported by the radio frequency capability of the electronic device is 5G, and the supported network systems include 2G, 3G, and 4G, when the electronic device searches for a network according to the profile1, the electronic device may search for a network from the networks having the network systems of 2G, 3G, and 4G, without considering the network having the network system of 5G. For another example, when the electronic device searches for a network according to the profile1, the electronic device may search for both a 3G network and a 4G network, and if the modulation and demodulation capability of the electronic device is better than that of the 4G network, the electronic device may use the information related to the searched 3G network as the network search result corresponding to the profile1 when the network signal strength of the 3G network is slightly weaker than that of the 4G network. However, when the difference between the network signal strength of the 4G network and the network signal strength of the 3G network exceeds a certain threshold, that is, when the network signal strength of the 4G network exceeds the network signal strength of the 3G network very much, the electronic device uses the searched information about the 4G network as the network searching result corresponding to the profileA.
The network searching result may include one or more of a network identifier, a network type, a network signal strength, and information indicating whether roaming is performed. The network identifier may be, for example, a PLMN of an operator, or a customized identifier, etc. The network standards can include 2G, 3G, 4G, 5G, higher network standards (such as 6G), and the like. The network signal strength may include Received Signal Code Power (RSCP), Received Signal Strength Indication (RSSI), and/or other relevant parameters. For example, in the embodiment of the present application, whether roaming is performed may be indicated by 1-bit or multi-bit information, for example, roaming is indicated by a bit value of 1, and no roaming is indicated by a bit value of 0.
In addition, in some embodiments, when the electronic device does not search any network for a certain profile, the network searching result corresponding to the profile is null.
Taking N profiles stored in the electronic device for network searching as an example, where N is a positive integer greater than or equal to 2, the network searching results corresponding to the N profiles may be shown in table 1.
TABLE 1
Profile index | Network identification | Whether or not to roam | Network system | Network Signal Strength (dbm) |
1 | 46000 | Is (Y) | 4G | -30 |
2 | 46005 | NO (N) | 3G | -60 |
3 | 46001 | Is (Y) | 5G | -35 |
4 | NULL | NA | NA | NA |
5 | 46000 | Is (Y) | 3G | -80 |
6 | 46002 | NO (N) | 5G | -30 |
… | … | … | … | … |
N | 46011 | NO (N) | 4G | -32 |
Taking the electronic device shown in fig. 3 as an example, the decision module 301 triggers the network searching module 303 to search a network according to at least two stored profiles in the stored profiles by combining the hardware capability of the device in response to the operation of closing the flight mode, so as to obtain network searching results corresponding to the at least two profiles respectively.
In some embodiments, the electronic device may further perform a network search according to at least two profiles in the stored profiles in combination with a network blacklist. Wherein, the network blacklist can include one or more network identifications. Therefore, the electronic equipment is helped to avoid the networks in the network blacklist when searching for the network. By way of example, the network blacklist may be preconfigured. For example, pre-configured before the electronic device is shipped. As another example, different geographical locations may correspond to different network blacklists. The electronic device may, in response to the operation of turning off the flight mode, obtain, from a server or other device, a network blacklist corresponding to a geographic location where the user is currently located. Therefore, the reliability of searching the network and the flexibility of configuring the network blacklist are improved. For example, the current geographic location of the user may be obtained by the electronic device according to information acquired by a GPS sensor, or may be determined based on Location Based Service (LBS), and the embodiment of the present application does not limit the manner of acquiring the geographic location information.
Further, in some embodiments, in response to the operation of turning off the flight mode, the electronic device obtains a geographic location where the user is currently located (hereinafter, the geographic location is referred to as geographic location 1), and determines whether a distance between geographic location 1 and geographic location 2 exceeds a first threshold. Wherein the geographic position 2 may be obtained by the electronic device in response to the user turning on the flight mode, or the geographic position 2 is the last obtained geographic position before the geographic position 1 is obtained. It should be noted that, the geographical location acquired last time before the geographical location 1 is acquired may be referred to as a last acquired geographical location, and the geographical location acquired last time before the electronic device acquires the geographical location 1 may be acquired when the user starts the operation of the flight mode or may be acquired in response to other trigger events, which is not limited herein. And if the distance between the geographic position 1 and the geographic position 2 exceeds a first threshold value, the electronic equipment searches the network according to at least two stored profiles. For example, the distance between the geographic location 1 and the geographic location 2 does not exceed the first threshold, and the electronic device may perform network searching according to the first profile and access to the first operator network. Further, for example, when the distance between the geographic location 1 and the geographic location 2 does not exceed the first threshold but exceeds the second threshold, the network searching is performed according to the first profile to obtain the PLMN of the operator (hereinafter, the PLMN of the operator is referred to as PLMN1 as an example). The electronic device determines whether the PLMN1 is the same as the PLMN2, where the PLMN2 may be a PLMN of an operator of a first operator network accessed by the electronic device before the airplane mode is turned on, or the PLMN2 may also be a PLMN obtained by the electronic device last time before the PLMN1 is obtained, where the PLMN obtained last time before the PLMN1 is obtained may also be referred to as a last obtained PLMN. It should be noted that, the PLMN acquired last time before acquiring the PLMN1 may be acquired by the electronic device before the electronic device responds to the user to turn on the flight mode, or may be acquired in response to other triggering events, which is not limited herein. If the PLMN1 is different from the PLMN2, the electronic device searches the network according to at least two stored profiles. If the PLMN1 is the same as the PLMN2, the electronic device may perform network searching according to the first profile, and access the first operator network. Therefore, the network searching times of the electronic equipment are reduced, and the power consumption of the electronic equipment is reduced.
In other embodiments, in response to the operation of closing the flight mode, the electronic device may further perform network searching according to the first profile to obtain the PLMNA of the operator, and determine whether the PLMNA is the same as the PLMNB. PLMNB can be seen in the related introduction of PLMN2 in the above example. If the PLMNA is the same as the PLMNB, the electronic equipment can access the operator network according to the first profile. If the PLMNA is different from the PLMNB, the electronic device executes step 405.
For example, at least two of the stored profiles on which the electronic device searches may be based may be part or all of the stored profiles.
406. And the electronic equipment selects a second profile from the at least two profiles according to the network searching results respectively corresponding to the at least two profiles.
For example, the electronic device may select, as the second profile, one profile from at least two profiles, for which the search result satisfies the preset condition. For example, the network searching result includes a network identifier, a network signal strength, a network type, and indication information indicating whether roaming is performed, and the electronic device may select, as the second profile, one profile that indicates that the electronic device is in a non-roaming state and the network signal strength is greater than a preset threshold from at least two profiles. The preset threshold value can be set according to actual needs. Taking the network searching results corresponding to the profiles with the profile indexes of 1, 2, 3, 4, and 5 in table 1 as an example, if the profile with the profile indexes of 1, 2, 3, 4, and 5 in the network searching results meets the requirement that the profile is not roaming and the network signal strength is greater than a preset threshold (e.g., -50dbm) is the profile with the profile index of 2, the profile with the profile index of 2 is the profile selected by the electronic device from the above 5 profiles.
For another example, the electronic device may also score, based on a preset algorithm, the operator networks searched based on the profiles according to the network searching result corresponding to each of the at least two profiles, where the score is used for comprehensively evaluating the operator networks searched based on the profiles. And the electronic equipment selects one profile from the at least two profiles as a second profile according to the scores corresponding to the at least two profiles respectively. For example, the electronic device may select, as the second profile, a profile corresponding to a maximum value of the at least two profiles respectively corresponding to the scores. The preset algorithm can be set according to actual conditions. For example, the network searching result includes parameters of network identification, network signal strength, information indicating whether roaming is performed, and network type. Wherein different parameters may correspond to different weights. The specific weight can be set according to the actual situation. For example, the weights occupied by the different parameters may be as shown in table 2.
TABLE 2
Parameter(s) | Weight of |
Whether or not to roam | 0.4 |
Network signal strength | 0.2 |
Network system | 0.2 |
Network identification | 0.2 |
For another example, the electronic device may further select one profile from the at least two profiles as the profile2 according to the network searching result respectively corresponding to the at least two profiles in combination with the hardware capability (e.g., the radio frequency capability, the modulation and demodulation capability, etc.) of the device. For example, the network searching results respectively corresponding to at least two profiles are the network searching results corresponding to the profiles with the profile indexes of 6 and N in table 1, and when the modulation and demodulation capability of the electronic device is better than 5G, although the network signal strength of the network system 4G is slightly weaker than that of the network system 5G, the electronic device selects the profile with the profile index of N as the second profile.
For another example, the electronic device may further combine package service information corresponding to the at least two profiles, and select one profile from the at least two profiles as the second profile according to the network searching results corresponding to the at least two profiles respectively. The method and the system not only help the operator network accessed based on the selected profile to meet the requirements of users on surfing the Internet, voice communication and the like, but also save the expenses to a certain extent.
The package service information comprises package information of a roaming scene and package information of a non-roaming scene. For example, the package service information may include data traffic information, voice duration, number of short messages, and the like in a non-roaming scenario, and data traffic information, voice duration, number of short messages, and the like in a roaming scenario. The package service information may also include tariff information of the package service. For example, the tariff information of the package service includes package tariff information in a non-roaming scenario and package tariff information in a roaming scenario. The package service information may be sent to the electronic device by an operator or a third party when the electronic device orders or opens the package service, or may be acquired from package service information stored in the electronic device based on the profile or acquired from the operator or the third party based on the profile after the electronic device responds to an operation of closing the flight mode. The method for acquiring package service information based on the profile is not limited in the embodiment of the application.
For example, when the electronic device selects one profile from at least two profiles as the second profile in combination with the package service information, reference may be made to a flowchart of the method for selecting a profile shown in fig. 6, which specifically includes the following steps.
601. The electronic device determines whether the network searching results respectively corresponding to the at least two profiles include valid network searching results, if yes, step 602 is executed, otherwise, the process is ended. And when the network searching result is not empty, the network searching result is an effective network searching result. For example, when the electronic device searches for a network based on the profile1, if no network is searched, the network search result corresponding to the profile1 is null, and the network search result corresponding to the profile1 is an invalid network search result. For another example, when the electronic device searches for a network based on the profile2, if the network of the operator is searched, the network search result corresponding to the profile2 is not empty, and the network search result may include information such as a network identifier, a network signal strength, a network format, and the like, so the network search result corresponding to the profile2 is an effective network search result.
602. The electronic equipment acquires package service information corresponding to at least two profiles respectively. The manner of obtaining package service information may refer to the above related description, and is not described herein again.
603. The electronic device determines a profile in a roaming state and a profile in a non-roaming state in the at least two profiles according to the network searching result corresponding to the at least two profiles.
604. The method comprises the steps that the electronic equipment determines an optimal package service corresponding to a profile according to the charge of a roaming scene in package service information corresponding to the profile aiming at any profile in the profiles in a roaming state; and aiming at any one of the profiles in the non-roaming state, determining the preferred package service corresponding to the profile according to the fee of the package service information corresponding to the profile in the non-roaming scene.
605. The electronic device selects one profile from the at least two profiles as a second profile according to the preferred package service determined in step 604.
It should be noted that, in the embodiment of the present application, the order of step 601 and step 602 is not limited, as long as step 601 and step 602 are located before step 603.
For example, at least two profiles are the profiles with profile indexes of 1, 2, 5 and 6 in table 1, where package service information corresponding to the profile with profile index of 1 is used to indicate package services with 39 yuan for monthly tenancy, specifically including 5G (mega) traffic, 300 short messages and 120-minute voice in a non-roaming scenario, and the individual charging is performed according to actual usage in a roaming scenario; package service information corresponding to a profile with a profile index of 2 is used for indicating package services with 59 yuan for monthly renting, and specifically comprises 10G flow, 300 short messages and 180-minute voice in a non-roaming scene; package service information corresponding to a profile with a profile index of 5 is used for indicating a package service with 29 yuan for monthly rental, specifically comprising 3G flow, 100 short messages and 60-minute voice in a non-roaming scene, and the package service information is independently charged according to actual use conditions in a roaming scene; package service information corresponding to a profile with a profile index of 6 is used for indicating a package service with 98 yuan for monthly rental, and specifically includes 20G traffic, 50 short messages and 100-minute voice in a non-roaming scene. As can be seen from table 1, the profiles with profile indexes of 1 and 5 correspond to the information indicating roaming, and are profiles with roaming, so that the electronic device determines the preferred package services corresponding to the profiles with profile indexes of 1 and 5, respectively, according to the tariff in the package service information corresponding to the profile indexes of 1 and 5 in the roaming scenario, and the profiles with profile indexes of 2 and 6 correspond to the information indicating no roaming, and the electronic device determines the preferred package services corresponding to the profiles with profile indexes of 2 and 6, respectively, according to the tariff in the package service information corresponding to the profile indexes of 2 and 6 in the non-roaming scenario. The electronic device may select one profile from the profiles indexes 1, 2, 5, and 6 according to the determined preferred package service, and specifically select which profile is related to a specific implementation policy, for example, if the user needs more voice time, if the fee of the preferred package service corresponding to the profile2 is cheaper, the electronic device may select the profile with the profile index 2; for another example, when the user needs more traffic, the electronic device may select a profile with a profile index of 6, and the like.
In addition, in other embodiments, the electronic device may score the operator networks searched based on the profiles based on the network search results and the package service information respectively corresponding to at least two profiles, where the score is used for comprehensively evaluating the operator networks searched based on the profiles. And the electronic equipment selects one profile from the at least two profiles as a second profile according to the scores corresponding to the at least two profiles respectively. For example, the electronic device may select, as the second profile, a profile corresponding to a maximum value of the at least two profiles respectively corresponding to the scores. The preset algorithm can be set according to actual conditions. For example, different weights may be set for different parameters in the search result and the package service information. The specific weight can be set according to the actual situation. For example, the weights occupied by the different parameters may be as shown in table 3.
TABLE 3
Parameter(s) | Weight of |
Whether or not to roam | 0.3 |
Network signal strength | 0.2 |
Network system | 0.2 |
Data traffic | 0.15 |
Duration of speech | 0.1 |
Number of short messages | 0.05 |
The above is merely an exemplary illustration that the electronic device selects one profile from at least two profiles, and the embodiment of the application may also select one profile from at least two profiles in other manners. For example, the electronic device may only consider package service information when selecting a profile from the at least two profiles, in which case, for example, the electronic device may select one profile from the at least two profiles as the second profile according to the package service information corresponding to the at least two profiles in response to the operation of closing the flight mode. And then the electronic equipment searches the network according to the second profile.
407. And when the second profile is different from the first profile, the electronic equipment activates the second profile and accesses a second operator network according to the second profile. In some embodiments, the first profile may also be deactivated in case the electronic device supports access to only one operator network.
For example, after accessing the second carrier network, the electronic device may further prompt the user to access the second carrier network. For example, the electronic device may prompt the user to access the second carrier network by displaying an identification of the second carrier in a status bar. Taking the identifier of the second operator as EE for example, after accessing the network of the operator EE, the electronic device may replace "searching for the network" in the status bar with EE, for example, as shown in D in fig. 5.
It should be noted that the second operator network may be different from or the same as the first operator network.
In the embodiment of the application, because electronic equipment can automatically select the profile, compared with the prior art, the user can switch the profile according to the actual condition without manual operation, so that the electronic equipment can access to a corresponding network in operation, the requirement of the user is met, and the user experience is improved.
In addition, the embodiment of the application can also be applied to the scene of startup and shutdown. In the power-on/off scenario, steps 402-405 may be replaced by the following steps:
402', the electronic device detects a shutdown operation. For example, the power-off operation may be an operation of pressing a power key (or a power-on key), a shortcut gesture operation, a voice instruction, or the like.
403', the electronic device shuts down and disconnects from the first carrier network in response to the shutdown operation.
404', the electronic device detects a power-on operation. For example, the power-on operation may be an operation of pressing a power key, or the like.
405' and the electronic device, in response to the startup operation, performing network searching according to at least two of the stored profiles to obtain network searching results corresponding to the at least two profiles respectively.
In addition, the embodiment of the present application may also be applied to other network outage scenarios, which is not limited in this respect.
In some embodiments, when the auto-switching network function is turned on, the electronic device detects an operation of turning off the flight mode or a power-on operation, and initiates a process of searching for a network based on at least two stored profiles. Thereby facilitating improved interaction between the user and the device. For example, when the automatic switching network function is turned off, the electronic device detects an operation of turning off the flight mode, and may perform network searching according to the first profile activated last time, which may specifically refer to a related implementation manner in the prior art, and is not described herein again. For example, the user may turn on or off the auto-switching network function by operating a virtual key for controlling turning on or off the auto-switching network function. As another example, the user may also turn on or off the auto-switching network function by other means, such as a shortcut gesture operation, a voice command, and the like. For example, the virtual key for controlling the automatic switching network function to be turned on or off may be located on the user interface shown in fig. 7, or may be located on the system setting interface, and the like, which is not limited thereto.
Further, in some embodiments, when the first profile and the second profile are different, the electronic device may further prompt the user for a package service corresponding to the second profile. So that the user can know the used package service after accessing the second operator network. For example, the electronic device may prompt the user in a short message, where the short message includes information indicating the package service corresponding to the second profile. The short message may be sent to the electronic device by the operator or a third party after the electronic device is connected to the second operator network. For example, the package service corresponding to the second profile is a Tengchong King card package in China Unicom, and the electronic device may prompt the package service corresponding to the second profile to the user through the user interface shown in fig. 8A. For another example, the electronic device may further prompt the user for the package service corresponding to the second profile in a form of displaying a prompt box on the display screen. For example, the package service corresponding to the second profile is a Tencent King card package in China Unicom, and the electronic device may prompt the package service corresponding to the second profile to the user by displaying a prompt box A shown in FIG. 8B on the display screen. In some embodiments, when the electronic device prompts the package service corresponding to the second profile to the user through a short message or a prompt box, a ring or a vibration may also be played to prompt the user.
In addition, the electronic device may prompt the user by other means, such as voice. After the electronic equipment is accessed to the second operator network, the electronic equipment receives a call request of the second operator network, responds to the operation of a user for answering the call request, and broadcasts package services used by the user after the electronic equipment is accessed to the second operator network to the user.
It should be noted that, when the first profile and the second profile are different, the electronic device may actively acquire the package service corresponding to the profile from the second operator network, or the second operator network may actively issue the package service to the electronic device after the electronic device is successfully accessed, which is not limited to this.
Further, when the first profile is different from the second profile, the electronic device further sends a request for stopping the package service charging corresponding to the first profile to the first operator network. Thereby contributing to saving the user's expenses. And after receiving a request for stopping the package service corresponding to the first profile, which is sent by the electronic equipment, the first operator network stops charging the package service corresponding to the first profile, and returns a response for stopping charging the package service corresponding to the first profile to the electronic equipment. And after receiving a response of stopping charging for the package service corresponding to the first profile, the electronic device prompts the user that the package service corresponding to the first profile stops charging. The manner of prompting the user to stop charging for the package service corresponding to the first profile may be referred to as the manner of prompting the user for the package service corresponding to the second profile.
In some practical scenarios, for example, if the user is on business trip or traveling for a short time, for example, 7 days or 10 days, the validity period for opening the package service corresponding to the second profile is short, and in this case, the electronic device may not send the request information for stopping charging for the package service corresponding to the first profile to the first operator. For example, when the first profile is different from the second profile, the electronic device determines whether the validity period of the package service corresponding to the second profile exceeds a preset time limit, and sends a request for stopping charging for the package service corresponding to the first profile to the first operator network when the validity period of the package service corresponding to the second profile exceeds the preset time limit. And when the validity period of the package service corresponding to the second profile does not exceed the preset period limit, not sending a request for stopping charging the package service corresponding to the first profile to the first operator network. The preset period may be set according to actual conditions, for example, in china, it is generally paid monthly, and thus the preset period may be set to 1 month.
For example, in this embodiment of the application, the charging for the package service corresponding to the first profile is stopped, which may be understood that the first operator does not charge the user for the package service corresponding to the first profile any more, that is, the first operator changes the state of the package service corresponding to the first profile to be inactive. Further, the first operator may change the package service corresponding to the first profile to a shutdown number-keeping service.
In some embodiments, the electronic device further sends a request for opening the call forwarding service to the first operator network when the first profile is different from the second profile. The call forwarding service request is used for forwarding an incoming call on a telephone number A to a telephone number B, wherein the telephone number A is a telephone number included in a first profile, and the telephone number B is a telephone number included in a second profile. After receiving the request for opening the call forwarding service sent by the electronic equipment, the first operator network opens the call forwarding service, transfers the incoming call on the telephone number A to the telephone number B, and then sends a response for opening the call forwarding service to the electronic equipment. Wherein, the response for opening the call transfer service is used for indicating that the call transfer service is successfully opened. After the call forwarding service is successfully opened, the electronic device can receive an incoming call for dialing the telephone number A while using the telephone number B. Thereby helping to avoid missed calls for the user. It should be noted that, for example, the electronic device may reactivate the second profile after receiving a response to open the call forwarding service.
In other embodiments, after receiving the response to open the call forwarding service, the electronic device may further prompt the user to forward the incoming call on phone number a to phone number B. Helping to let the user know that an incoming call on phone number a is forwarded to phone number B.
For example, the first operator network may send a response to the user to open the call forwarding service in a short message, in which case the electronic device may prompt the user to open the call forwarding service in a short message. Taking the first carrier network as china unicom, for example, the phone number a is 1338864, and the phone number B is 162359, the electronic device may prompt the user to open the call forwarding service through the user interface shown in fig. 9. As another example, the electronic device may further prompt the user to open the call forwarding service in a prompt box, so as to forward the incoming call of the phone number a to the phone number B.
Further, when the first profile is reactivated or the electronic device accesses the first operator network based on the first profile, the electronic device may further send a request for canceling the call forwarding service to the first operator network.
It should be noted that, for example, the prompt box is used to prompt the user for information, the electronic device may prompt the user through one prompt box to stop charging the package service corresponding to the first profile, to start one or more of the package service corresponding to the second profile, and to activate the call forwarding service, specifically prompt the user through several prompt boxes, and may be set according to actual needs.
In addition, in the embodiment of the application, the electronic device may obtain package service information from an operator network, or open a call forwarding service request, or stop a package service request, and the like. In order to improve the security of the interaction between the electronic device and the operator network, when the electronic device sends a message (for example, a service request) to the operator network each time, that is, before the operator network provides a service for the electronic device, the legitimacy of the electronic device needs to be authenticated or authenticated, and after the authentication is passed, the electronic device is provided with a corresponding service. Taking the structure of the electronic device shown in fig. 3 as an example, the electronic device sends a service request (for example, a request for acquiring a package service, a request for opening or canceling a call forwarding service, or a request for deactivating a package service) to the operator network through the subscription module 305, in order to facilitate the authentication of the electronic device by the operator network, an authentication (ES) protocol stack may be integrated in the subscription module, where the ES protocol stack may include a private authentication standard or an international universal standard specified by the operator.
By way of example, the operator network may enable authentication or authorization of the electronic device through the ES server and the WS server. For example, the flow of the authentication or authentication method may be as shown in fig. 10, and specifically includes the following steps.
1001. When the electronic equipment needs to initiate a service request to an operator network, the electronic equipment sends an equipment authentication request to the ES server.
1002. And after receiving the equipment authentication request, the ES server returns an equipment authentication response to the electronic equipment, wherein the equipment authentication response is used for indicating the electronic equipment to initiate authentication secondary challenge.
1003. And after receiving the equipment authentication response, the electronic equipment sends an equipment authentication secondary challenge request to the ES server.
1004. And after receiving the equipment authentication secondary challenge request, the ES service returns an equipment authentication secondary challenge response to the terminal, wherein the equipment authentication secondary challenge response is used for indicating the success of the authentication of the electronic equipment.
1005. And after receiving the equipment authentication secondary challenge response, the electronic equipment sends a service request to the ES server.
1006. And after receiving the service request sent by the electronic equipment, the ES server returns a portal website (portal) to the electronic equipment.
1007. And the electronic equipment acquires a request of the portal webpage from the WS server according to the portal website.
1008. And the WS server receives the request for acquiring the portal webpage and returns the portal webpage to the electronic equipment.
1009. After the electronic device receives the portal webpage, receiving the operation of inputting the verification code on the portal webpage by the user, and inputting the verification code on the portal webpage.
1010, after detecting that the user inputs the verification code, the electronic device sends the verification code to the WS server for verification.
1011, after receiving the verification code, the WS server verifies the verification code and returns the verification result to the electronic device.
It should be noted that, in some embodiments, the authentication process is completed when the profile is activated. In this case, when the electronic device sends a message (e.g., a service request) to the operator network, there may be no need to authenticate or authenticate the legitimacy of the electronic device. For example, the electronic device executes the authentication process when activating the first Profile, and when the electronic device needs to send a request for opening the call forwarding service to the first operator network, the electronic device may execute the procedure for opening the call forwarding service without executing the authentication process.
The method of the embodiment of the present application is described below with reference to specific scenarios. Take the case of a user living in china, on business, in uk for one month. The user is currently located in China, planning to make a business trip in the United kingdom from No. 7/month 1 in 2019 to No. 7/month 31 in 2019 in Beijing, the activated profile on the current electronic equipment of the user is the profile1, and the electronic equipment is currently accessed to a China mobile network based on the profile1 to provide services for the user. However, in order to save the cost, the user opens the eSIM package service of the british operator EE in advance in china, and the validity period is one month. After detecting that the user opens the eSIM package service, the british operator EE or a third party (such as a card merchant) sends the profile2 to the electronic device. The profiles already stored on the electronic device include profile1 and profile 2. The method comprises the steps that a user starts a flight mode of the electronic equipment after the user gets on an airplane in 6-month and 30-year in Beijing, and closes the flight mode after the user gets off the airplane in English in 7-month and 1-year in 2019, the electronic equipment profile1 and the profile2 automatically search for networks, the profile2 is activated according to the network searching result, and then the profile1 is deactivated, so that the electronic equipment can be accessed to an EE network of an English operator according to the profile2, and the electronic equipment is helped to avoid the situation that the electronic equipment cannot search for the network according to the profile1 and cannot communicate. In addition, since the electronic device automatically activates the profile2, manual operation by a user is not required, which is helpful for further improving the user experience.
In addition, the embodiment of the application also provides a method for switching the operator network. Taking the stored profiles of the electronic device as at least two profiles, and taking the currently activated profile in the stored profiles as an example, a method for switching an operator network is introduced below.
For example, as shown in fig. 11, a flowchart of a method for switching an operator network according to an embodiment of the present application is shown, which specifically includes the following steps.
1101. And the electronic equipment accesses the first operator network according to the first profile.
1102. The electronic device detects a first operation for disconnecting from the first carrier network.
For example, the first operation is an operation of turning on the flight mode. For another example, the first operation is a shutdown operation.
1103. In response to the first operation, the connection with the first carrier network is disconnected.
1104. The electronic device detects a second operation, the second operation for restoring the network connection.
For example, the second operation is an operation of turning off the flight mode. For another example, the second operation is a boot operation.
1105. In response to the second operation, the electronic device acquires the first parameter.
1106. And when the first parameter meets a first condition, the electronic equipment activates a second profile in the stored profiles, wherein the second profile is different from the first profile.
For example, the first parameter is a first geographic location, the first geographic location is used to indicate a geographic location where the electronic device is currently located, and the first parameter meeting the first condition may be understood as: the distance between the first geographic location and the second geographic location is greater than or equal to a first threshold. The second geographic location is obtained prior to the electronic device disconnecting from the first carrier network in response to the action.
Also illustratively, the first parameter is a first PLMN. For example, the electronic device searches for a first PLMN according to the first profile. The first parameter satisfying the first condition may be understood as: the first PLMN is different from the second PLMN. The second PLMN is a PLMN when the electronic device accesses the first operator network.
The above description is given by taking the first parameter as the geographic location and the PLMN as an example, and the first parameter may also be other parameters in the embodiment of the present application, which is not limited to this.
Specifically, the second profile is a profile different from the first profile in the stored profiles. For example, the second profiles may be determined according to the search results corresponding to some of the stored profiles. The determination manner of part of the profile can be referred to in the related description in fig. 4, and is not described herein again. For example, the second profile is determined according to the network searching result corresponding to the second profile and the network searching result corresponding to the third profile. In addition, in other embodiments, the electronic device determines that the second profile may also refer to a network blacklist, package service information, and the like, which is not limited herein.
1107. And the electronic equipment accesses the second operator network according to the second profile.
In the method for switching an operator network shown in fig. 11, a call forwarding service may also be opened, charging of a package service corresponding to the first profile may be stopped, or the first profile may be deactivated, and the specific implementation manner may refer to related descriptions in fig. 4, which is not described herein again.
The above embodiments can be used alone or in combination with each other to achieve different technical effects.
In the embodiments provided in the present application, the method provided in the embodiments of the present application is described from the perspective of an electronic device as an execution subject. In order to implement the functions in the method provided by the embodiments of the present application, the electronic device may include a hardware structure and/or a software module, and the functions are implemented in the form of a hardware structure, a software module, or a hardware structure and a software module. Whether any of the above-described functions is implemented as a hardware structure, a software module, or a hardware structure plus a software module depends upon the particular application and design constraints imposed on the technical solution.
Based on the same concept, fig. 12 illustrates an electronic device 1200 provided in the present application. For example, the electronic device 1200 includes at least one processor 1210 and memory 1220. The processor 1210 is coupled with the memory 1220, the display 1230 and the memory 1220, and the coupling in this embodiment is an indirect coupling or a communication connection between devices, units or modules, and may be in an electrical, mechanical or other form, which is used for information interaction between the devices, units or modules.
In particular, memory 1220 is used to store program instructions. The processor 1210, when calling the program instructions stored in the memory 1220, causes the electronic device 1200 to execute the method for switching operator networks according to the embodiment of the present application. For example, the processor 1210 invokes the program instructions stored in the memory 1220 to cause the electronic device 1200 to perform the method of handing over the operator network shown in fig. 4.
In some embodiments, the electronic device 1200 also includes a display 1230. The display screen 1230 is used for prompting the user to open the call forwarding service or the package service corresponding to the second profile, and the like.
It should be understood that the electronic device 1200 may be used to implement the method for switching an operator network according to the embodiment of the present application, and reference may be made to the above for related features, which are not described herein again.
It is clear to those skilled in the art that the embodiments of the present application can be implemented in hardware, or firmware, or a combination thereof. When implemented in software, the functions described above may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. Taking this as an example but not limiting: the computer-readable medium may include RAM, ROM, an Electrically Erasable Programmable Read Only Memory (EEPROM), a compact disc read-Only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Furthermore, the method is simple. Any connection is properly termed a computer-readable medium. For example, if software is transmitted from a website, a server, or other remote source using a coaxial cable, a fiber optic cable, a twisted pair, a Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, the coaxial cable, the fiber optic cable, the twisted pair, the DSL, or the wireless technologies such as infrared, radio, and microwave are included in the fixation of the medium. Disk and disc, as used in accordance with embodiments of the present application, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
In short, the above description is only an example of the present application, and is not intended to limit the scope of the present application. Any modifications, equivalents, improvements and the like made in accordance with the disclosure of the present application are intended to be included within the scope of the present application.
Claims (17)
1. A method for switching operator networks is applied to an electronic device, wherein a first configuration file and a second configuration file are stored in the electronic device, and the first configuration file is a currently activated profile, and the method includes:
the electronic equipment accesses a first operator network according to the first profile;
the electronic equipment detects a first operation, and the first operation is used for disconnecting a network connection;
the electronic device disconnecting from the first operator network in response to the first operation;
the electronic device detects a second operation, and the second operation is used for restoring network connection;
the electronic equipment responds to the second operation, and network searching is carried out according to the first profile and the second profile to obtain a network searching result corresponding to the first profile and a network searching result corresponding to the second profile;
and the electronic equipment activates the second profile according to the network searching result corresponding to the first profile and the network searching result corresponding to the second profile, and accesses a second operator network according to the second profile.
2. The method of claim 1, wherein the method further comprises:
the electronic equipment sends a request for opening a call forwarding service to the first operator network, wherein the request for opening the call forwarding service is used for forwarding an incoming call of a first telephone number to a second telephone number, the first telephone number is a telephone number included in the first profile, and the second telephone number is a telephone number included in the second profile;
the electronic equipment receives a first response of opening a call forwarding service, and prompts a user to forward the incoming call of the first telephone number to the second telephone number;
the first response is used for indicating that the opening of the call forwarding service is successful, and the first response is returned aiming at the request for opening the call forwarding service.
3. The method of claim 1, wherein the method further comprises:
the electronic equipment sends a request for stopping the charging of the package service corresponding to the first profile to the first operator network;
the electronic equipment receives a second response for stopping the package service charging corresponding to the first profile, and prompts the first operator network to stop the package service charging corresponding to the first profile to a user;
the second response is used for indicating that the package service charging corresponding to the first profile is stopped fails, and the second response is returned according to the request for stopping the package service charging corresponding to the first profile.
4. The method of claim 3, wherein the sending, by the electronic device, the request to stop charging for the package service corresponding to the first profile to the first operator network comprises:
and when the validity period of the package service corresponding to the second profile is greater than or equal to a first time length, the electronic equipment sends a request for stopping charging of the package service corresponding to the first profile to the first operator network.
5. The method of any of claims 1 to 4, wherein after the electronic device activates the second profile, the method further comprises:
and the electronic equipment prompts the package service corresponding to the second profile to a user.
6. The method of any of claims 1 to 4, further comprising:
the electronic device deactivates the first profile.
7. The method according to any one of claims 1 to 4, wherein the performing network search according to the first profile and the second profile to obtain a network search result corresponding to the first profile and a network search result corresponding to the second profile includes:
and searching for the network based on the radio frequency capability of the electronic equipment according to the first profile and the second profile to obtain a network searching result corresponding to the first profile and a network searching result corresponding to the second profile.
8. The method according to any one of claims 1 to 4, wherein the performing, by the electronic device in response to the second operation, a network search according to the first profile and the second profile to obtain a network search result corresponding to the first profile and a network search result corresponding to the second profile includes:
the electronic equipment responds to the second operation and acquires a first geographic position; the first geographic position is used for indicating the current geographic position of the user;
the electronic equipment judges whether the distance between the first geographic position and the second geographic position is larger than or equal to a first threshold value or not; the second geographic location is obtained before the electronic device disconnects from the first operator network in response to the first operation;
when the distance between the first geographic position and the second geographic position is larger than or equal to a first threshold value, the electronic equipment searches the network according to the first profile and the second profile to obtain a network searching result corresponding to the first profile and a network searching result corresponding to the second profile.
9. The method of claim 8, wherein the method further comprises:
when the distance between the first geographic position and the second geographic position is smaller than a first threshold value and larger than or equal to a second threshold value, the electronic equipment searches for a network according to the first profile to acquire a first Public Land Mobile Network (PLMN); wherein the first threshold is greater than the second threshold;
the electronic equipment judges whether a first PLMN (public land Mobile network) is the same as a second PLMN, wherein the second PLMN is the PLMN when the electronic equipment accesses the first operator network;
and when the first PLMN is different from the second PLMN, the electronic equipment searches the network according to the first profile and the second profile to obtain a network searching result corresponding to the first profile and a network searching result corresponding to the second profile.
10. The method according to any one of claims 1 to 4, wherein the performing, by the electronic device in response to the second operation, a network search according to the first profile and the second profile to obtain a network search result corresponding to the first profile and a network search result corresponding to the second profile includes:
the electronic equipment responds to the second operation, searches for a network according to the first profile and acquires a first PLMN;
the electronic equipment judges whether the first PLMN is the same as the second PLMN or not; the second PLMN is a PLMN when the electronic device accesses the first operator network;
and when the first PLMN is different from the second PLMN, the electronic equipment searches the network according to the first profile and the second profile to obtain a network searching result corresponding to the first profile and a network searching result corresponding to the second profile.
11. The method according to any one of claims 1 to 4, wherein the activating, by the electronic device, the second profile according to the network searching result corresponding to the first profile and the network searching result corresponding to the second profile includes:
the electronic equipment activates the second profile according to a network searching result corresponding to the first profile, a network searching result corresponding to the second profile, package service information corresponding to the first profile and package service information corresponding to the second profile; and/or the presence of a gas in the gas,
and the electronic equipment activates the second profile according to the network searching result corresponding to the first profile, the network searching result corresponding to the second profile and a pre-configured network blacklist.
12. The method of any of claims 1 to 4, wherein the first operation is an on flight mode operation and the second operation is an off flight mode operation; or the first operation is a shutdown operation, and the second operation is a startup operation.
13. A method for switching operator networks is applied to an electronic device, wherein a first configuration file and a second configuration file are stored in the electronic device, and the first configuration file is a currently activated profile, and the method includes:
the electronic equipment accesses a first operator network according to the first profile;
the electronic equipment detects a first operation, and the first operation is used for disconnecting a network connection;
the electronic device disconnecting from the first operator network in response to the first operation;
the electronic device detects a second operation, and the second operation is used for restoring network connection;
the electronic equipment responds to the second operation and acquires a first geographic position; the first geographic position is used for indicating the current geographic position of the user;
and when the distance between the first geographic position and the second geographic position is greater than or equal to a first threshold value, the electronic equipment activates the second profile, and accesses a second operator network according to the second profile, wherein the second geographic position is obtained before the electronic equipment responds to the first operation and breaks the connection with the first operator network.
14. The method of claim 13, wherein a third profile is further stored in the electronic device;
when the distance between the first geographic location and the second geographic location is greater than or equal to a first threshold, the electronic device activates the second profile, including:
when the distance between the first geographic position and the second geographic position is larger than or equal to a first threshold, the electronic equipment searches the network according to the second profile and the third profile to obtain a network searching result corresponding to the second profile and a network searching result corresponding to the third profile;
the electronic equipment determines to activate the second profile of the second profile and the third profile according to the network searching result corresponding to the second profile and the network searching result corresponding to the third profile;
the electronic device activates the second profile.
15. An electronic device, comprising a processor, a memory, a display screen, and a camera; wherein the processor is coupled with the memory, the display screen, and the camera;
the memory to store program instructions;
the processor is configured to read the program instructions stored in the memory, and implement the method according to any one of claims 1 to 14 in combination with the display screen and the camera.
16. A computer-readable storage medium, having stored program instructions, which, when run on an electronic device, cause the electronic device to perform the method of any of claims 1 to 14.
17. A chip, wherein the chip is coupled to a memory in an electronic device, and wherein the electronic device is controlled to perform the method of any one of claims 1 to 14.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022506503A JP7355919B2 (en) | 2019-08-01 | 2020-07-31 | Operator network switching methods and electronic devices |
EP20848192.9A EP3986087B1 (en) | 2019-08-01 | 2020-07-31 | Method for switching operator networks, and electronic device |
PCT/CN2020/106095 WO2021018273A1 (en) | 2019-08-01 | 2020-07-31 | Method for switching operator networks, and electronic device |
US17/631,546 US20220279390A1 (en) | 2019-08-01 | 2020-07-31 | Operator network switching method and electronic device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910707875 | 2019-08-01 | ||
CN2019107078758 | 2019-08-01 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112399526A CN112399526A (en) | 2021-02-23 |
CN112399526B true CN112399526B (en) | 2022-03-29 |
Family
ID=74603723
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911063088.0A Active CN112399526B (en) | 2019-08-01 | 2019-10-31 | Method for switching operator network and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112399526B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020215278A1 (en) * | 2019-04-25 | 2020-10-29 | 北京小米移动软件有限公司 | Network switching resource determining method and network switching resource configuration method |
CN114040458A (en) * | 2021-10-28 | 2022-02-11 | 西安广和通无线软件有限公司 | Operator network switching method, device, communication module, terminal and storage medium |
CN114786169B (en) * | 2022-03-02 | 2024-07-05 | 北京握奇数据股份有限公司 | Method for switching Profile of terminal, eSIM card and terminal |
CN117354472A (en) * | 2023-12-06 | 2024-01-05 | 北京烽火万家科技有限公司 | Multi-network scheduling camera based on eSIM technology |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015157933A1 (en) * | 2014-04-16 | 2015-10-22 | Qualcomm Incorporated | System and methods for dynamic sim provisioning on a dual-sim wireless communication device |
CN105101319A (en) * | 2015-07-31 | 2015-11-25 | 中国联合网络通信集团有限公司 | Network switching method and terminal device |
CN105451214B (en) * | 2015-12-04 | 2018-09-14 | 中国联合网络通信集团有限公司 | Card application access method and apparatus |
CN105828317A (en) * | 2016-03-14 | 2016-08-03 | 宇龙计算机通信科技(深圳)有限公司 | ESIM-card-based operator service selection method and selection apparatus, and terminal |
CN106131816B (en) * | 2016-07-05 | 2020-12-29 | 努比亚技术有限公司 | Virtual SIM card management method and terminal |
CN106255036A (en) * | 2016-07-29 | 2016-12-21 | 宇龙计算机通信科技(深圳)有限公司 | A kind of eSIM changing method and terminal unit |
CN108235302A (en) * | 2016-12-14 | 2018-06-29 | 中兴通讯股份有限公司 | The long-range signing management platform switching method and device, smart card, SM-SR of smart card |
CN107484213B (en) * | 2017-08-25 | 2021-03-02 | 歌尔科技有限公司 | Network switching method based on ESIM card, intelligent terminal and server |
CN107959951A (en) * | 2017-12-15 | 2018-04-24 | 恒宝股份有限公司 | ESIM cards, automatic switchover eSIM cards configuration file method and system |
CN109343944B (en) * | 2018-09-11 | 2021-06-18 | 宇龙计算机通信科技(深圳)有限公司 | Data processing method and device for eSIM card, terminal and storage medium |
CN109068314B (en) * | 2018-09-27 | 2022-03-18 | 努比亚技术有限公司 | Operator configuration file switching method, intelligent device and readable storage medium |
CN110072263B (en) * | 2019-03-26 | 2021-08-03 | 华为技术有限公司 | Method for switching internet access card and electronic equipment |
-
2019
- 2019-10-31 CN CN201911063088.0A patent/CN112399526B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112399526A (en) | 2021-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112399526B (en) | Method for switching operator network and electronic equipment | |
CN111246545B (en) | Method, medium, control terminal and system for guiding intelligent device to access network | |
CN106030556B (en) | Method for operating functions and resources of electronic device | |
KR101554058B1 (en) | Wlan connection facilitated via near field communication | |
US20160381629A1 (en) | Virtual sim card for accessing operator network | |
CN105517103A (en) | Network access method and device based on intelligent terminal device | |
CN105120505B (en) | The method, apparatus and system of smart machine couple in router | |
CN110022553B (en) | User identity identification card management method and mobile terminal | |
CN106454801B (en) | Method for switching network and terminal | |
CN113645688B (en) | Network access registration method, device, terminal equipment and storage medium | |
US20230123352A1 (en) | Information processing methods, user equipment, and base station | |
CN115428479A (en) | Device positioning method, system and device, communication device and storage medium | |
KR20070100077A (en) | Apparatus and method for restricting of charging service in a portable terminal | |
CN109327613A (en) | A kind of machinery of consultation and electronic equipment based on voice communication translation ability | |
CN108541046B (en) | Network selection method, terminal and storage medium | |
WO2021018273A1 (en) | Method for switching operator networks, and electronic device | |
CN110651500B (en) | Cell selection method and device, communication equipment and storage medium | |
CN113873583A (en) | Reminding method, graphical user interface and terminal equipment | |
EP3972302A1 (en) | Network registration method, apparatus and system, and storage medium | |
US10841422B2 (en) | Multi-SIM call management method and apparatus, managed device, and server | |
CN111630883B (en) | Method, device, communication equipment and storage medium for transmitting data | |
CN114125741A (en) | Display method and electronic equipment | |
CN116744434B (en) | Communication method, storage medium and electronic equipment | |
KR20110011345A (en) | System and method for selected terminating call service | |
CN111727612B (en) | Terminal tracking method and device and 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |