CN111885591A - Network connection method, device, storage medium and terminal - Google Patents

Network connection method, device, storage medium and terminal Download PDF

Info

Publication number
CN111885591A
CN111885591A CN202010746222.3A CN202010746222A CN111885591A CN 111885591 A CN111885591 A CN 111885591A CN 202010746222 A CN202010746222 A CN 202010746222A CN 111885591 A CN111885591 A CN 111885591A
Authority
CN
China
Prior art keywords
terminal
operator
network
configuration file
operator configuration
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.)
Pending
Application number
CN202010746222.3A
Other languages
Chinese (zh)
Inventor
陈祖斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN202010746222.3A priority Critical patent/CN111885591A/en
Publication of CN111885591A publication Critical patent/CN111885591A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a network connection method, a device, a storage medium and a terminal, wherein the network connection method is applied to the terminal configured with an embedded user identification card, a plurality of operator configuration files are stored in the embedded user identification card, and the network connection method comprises the following steps: when the terminal needs to perform network connection again, determining the switching priority of each operator configuration file to be used except the currently used operator configuration file; determining a target operator configuration file from operator configuration files to be used according to the switching priority; the currently used operator configuration file is switched to the target operator configuration file so as to carry out network connection again, therefore, when the terminal needs to carry out network connection again, the operator configuration file used by the terminal can be automatically switched so as to reduce the operation of a user on the operator configuration file, and the problem that the terminal cannot access the network again due to the fact that the operator configuration file cannot be automatically switched when the terminal is disconnected or roamed is avoided.

Description

Network connection method, device, storage medium and terminal
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network connection method, apparatus, storage medium, and terminal.
Background
In mobile communication, an operator generally uses an SIM card as a user authentication information carrier of mobile communication, and with the development of the internet of things market, new process requirements are provided for the SIM card, and the traditional SIM card cannot meet the severe space limitation of part of internet of things products and the requirement of adapting to extreme working environments.
In this background, an eSIM (embedded SIM) technology has been produced. eSIM is writing of subscriber identification information (contained in Profile) of a mobile operator into an embedded communication integrated circuit card (eUICC). Moreover, the eUICC is fixed in the terminal device and cannot be pulled out or replaced at will, so that a user cannot directly replace the eUICC, and the Profile (operator configuration file) in the eUICC can be obtained by writing in advance when the eUICC leaves a factory or downloading the eUICC as needed after the user takes the eUICC to the terminal device. The eSIM technology can meet the requirements of space limitation, form design and extreme working environment of products of the Internet of things, provides convenient networking service for clients, and greatly improves the use experience of the clients.
However, since the eUICC is embedded in the terminal device, it cannot be unplugged or replaced at will, that is, the user cannot directly plug and replace the eUICC, so when switching the Profile used by the terminal device, it is currently performed by manual operation of the user, or the terminal device is switched through a server background after networking (a network drop will result in a failure to switch). This results in inconvenience of switching the Profile used by the terminal device, and especially the use experience of the user is greatly reduced when network drop and roaming occur.
Disclosure of Invention
The present application aims to provide a network connection method, device, storage medium, and terminal, so as to reduce operations of a user on an operator profile when the terminal needs to perform network connection again, and avoid a problem that the terminal cannot re-access a network because the operator profile cannot be automatically switched when the terminal is disconnected or roamed.
In order to solve the above problem, an embodiment of the present application provides a network connection method, which is applied to a terminal configured with an embedded subscriber identity module card, where multiple operator configuration files are stored in the embedded subscriber identity module card, and the network connection method includes: when the terminal needs to perform network connection again, determining the switching priority of each operator configuration file to be used except the currently used operator configuration file; determining a target operator configuration file from operator configuration files to be used according to the switching priority; and switching the currently used operator configuration file into a target operator configuration file so as to carry out network connection again.
Wherein, after switching the currently used operator profile to the target operator profile, the method further comprises: detecting whether the terminal is successfully connected to a network corresponding to the target operator configuration file; and if not, updating the target operator configuration file by using the rest operator configuration files to be used.
The determining the switching priority of each to-be-used operator profile except for the currently-used operator profile specifically includes: judging whether an operator configuration file used by the terminal for last networking exists in the operator configuration files to be used except the currently used operator configuration file; when the operator configuration file used by the terminal for the last networking exists in the operator configuration files to be used, the switching priority of the operator configuration file used by the terminal for the last networking is set to be the highest, and the switching priority of the rest operator configuration files to be used is determined according to the storage time.
Before determining the switching priority of each operator configuration file to be used except the currently used operator configuration file, the method further comprises the following steps: monitoring the network state of the terminal; and when the network state meets the preset network condition, determining that the terminal needs to perform network connection again.
The monitoring of the network state of the terminal specifically includes: monitoring whether the terminal is connected to a network; when the terminal is not connected to the network, determining that the network state of the terminal is an offline state; when the terminal is monitored to be connected to a network, whether the embedded subscriber identity module card is in a roaming state or not is detected, the network state of the terminal is determined to be the roaming state when the embedded subscriber identity module card is in the roaming state, and a signal intensity value of the network connected with the terminal is acquired when the embedded subscriber identity module card is not in the roaming state.
Before determining that the terminal needs to perform network connection again, the method further includes: and when the network state is an offline state or a roaming state, or the signal intensity value is smaller than a preset threshold value, judging that the network state meets the preset network condition.
In order to solve the above problem, an embodiment of the present invention further provides a network connection device, which is applied to a terminal configured with an embedded subscriber identity module card, where a plurality of operator configuration files are stored in the embedded subscriber identity module card, and the network connection device includes: the terminal comprises a first determining module, a second determining module and a switching module, wherein the first determining module is used for determining the switching priority of each operator configuration file to be used except the currently used operator configuration file when the terminal needs to carry out network connection again; the second determining module is used for determining a target operator configuration file from the operator configuration files to be used according to the switching priority; and the switching module is used for switching the currently used operator configuration file into a target operator configuration file so as to carry out network connection again.
Wherein, the network connection device further comprises: the detection module is used for detecting whether the terminal is successfully connected to the network corresponding to the target operator configuration file; and the updating module is used for updating the target operator configuration file by using the rest operator configuration files to be used when the terminal is detected to be unsuccessfully connected to the network corresponding to the target operator configuration file.
The first determining module specifically includes: the judging unit is used for judging whether the operator configuration file used by the terminal for the last networking exists in the operator configuration files to be used except the currently used operator configuration file; and the first determining unit is used for setting the switching priority of the operator configuration file used by the terminal for the last networking to be the highest when the operator configuration file used by the terminal for the last networking exists in the operator configuration files to be used, and determining the switching priority of the rest operator configuration files to be used according to the storage time.
Wherein, the network connection device further comprises: the monitoring module is used for monitoring the network state of the terminal; and the third determining module is used for determining that the terminal needs to perform network connection again when the network state meets the preset network condition.
Wherein, the monitoring module specifically includes: the monitoring unit is used for monitoring whether the terminal is connected to the network or not; the second determining unit is used for determining that the network state of the terminal is an offline state when the terminal is not connected to the network; the detection unit is used for detecting whether the embedded subscriber identity module card is in a roaming state or not when the terminal is monitored to be connected to the network, determining that the network state of the terminal is the roaming state when the embedded subscriber identity module card is in the roaming state, and acquiring a signal intensity value of the network connected with the terminal when the embedded subscriber identity module card is not in the roaming state.
Wherein, the network connection device further comprises: and the fourth determining module is used for judging that the network state meets the preset network condition when the network state is an offline state or a roaming state or the signal strength value is smaller than a preset threshold value.
In order to solve the above problem, an embodiment of the present application further provides a computer-readable storage medium, where a plurality of instructions are stored, and the instructions are adapted to be loaded by a processor to execute any one of the network connection methods described above.
In order to solve the above problem, an embodiment of the present application further provides a terminal, where the terminal includes a processor and a memory, the processor is electrically connected to the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps in any one of the network connection methods.
The beneficial effect of this application is: different from the prior art, the network connection method provided by the application is applied to a terminal configured with an embedded user identification card, a plurality of operator configuration files are stored in the embedded user identification card, when the terminal needs to perform network connection again, the switching priority of each operator configuration file to be used except the currently used operator configuration file is determined, a target operator configuration file is determined from the operator configuration files to be used according to the switching priority, then the currently used operator configuration file is switched into the target operator configuration file so as to perform network connection again, therefore, when the terminal needs to perform network connection again, the operator configuration files used by the terminal can be automatically switched, the operation of the user on the operator configuration files is reduced, and the phenomenon that the operator configuration files cannot be automatically switched when the terminal is disconnected or roamed is avoided, and the terminal can not access the network again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a network connection method provided in an embodiment of the present application;
fig. 2 is another schematic flow chart of a network connection method provided in an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating an update of a target carrier profile provided by an embodiment of the present application;
fig. 4 is a schematic structural diagram of a network connection device according to an embodiment of the present application;
fig. 5 is another schematic structural diagram of a network connection device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal provided in an embodiment of the present application;
fig. 7 is another schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solution, and technical effects of the present application clearer and clearer, the following further describes the present application in detail, and it should be understood that the specific embodiments described herein are only used for explaining the present application, and are not used for limiting the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart of a network connection method provided in an embodiment of the present application, which is applied to a terminal configured with an embedded subscriber identity module card, where a plurality of operator configuration files are stored in the embedded subscriber identity module card, and a specific flow of the network connection method may be as follows:
s101: when the terminal needs to perform network connection again, the switching priority of each operator configuration file to be used except the currently used operator configuration file is determined.
In the present embodiment, the above-described terminal may be implemented in various forms. For example, the terminal described in the present application may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart watch, a smart band, a pedometer, and the like, and fixed terminals such as a digital TV, a desktop computer, and the like. The terminal adopts the embedded user identification card as an internet of things card accessed to the mobile network, namely, the embedded user identification card is integrated into the terminal equipment by an equipment manufacturer in the production stage of the terminal equipment. The embedded Subscriber Identity card refers to an euicc (embedded universal Integrated Circuit card) or an esim (embedded Subscriber Identity module) card. The Operator Profile (i.e., Profile) is a general name of a series of files and data inside the embedded subscriber identity card and related to a MNO (mobile network Operator), and usually, a plurality of Operator profiles are provided in one embedded subscriber identity card, and each Operator Profile corresponds to one embedded subscriber identity card and a unique subscriber identity number.
Specifically, the operator profiles have two states, active and inactive, and the operator network only allows one operator profile to be in an active state, that is, the rest of the operator profiles are in an inactive state. It can be understood that the operator profile in the embedded subscriber identity card in the activated state is an operator profile currently used, and the operator profile in the embedded subscriber identity card in the inactivated state is an operator profile to be used. Moreover, when the terminal needs to perform network connection again, for example, network drop, network roaming or poor network signal, the terminal may be triggered to switch the currently used operator profile so as to perform network connection again.
In an embodiment, as shown in fig. 2, the S101 may specifically include:
s1011: when the terminal needs to perform network connection again, it is determined whether an operator profile used by the terminal for the last networking exists in the operator profiles to be used except the operator profile currently used, if so, S1012 is executed, and if not, S1013 is executed.
The operator configuration file used by the terminal for last networking may refer to the operator configuration file in an activated state in the embedded subscriber identity module card when the terminal is successfully networked last time. For example, the currently used operator Profile is Profile 11, it is understood that before the terminal needs to perform network connection again, the terminal has successfully connected to the corresponding network by using Profile 11, and before the terminal successfully connects to the network by using Profile 11, if the terminal has used other operator profiles, for example, Profile 22, to successfully connect to the corresponding network, it may be considered that the operator Profile used for last networking of the terminal exists in the operator profiles to be used. In addition, in specific implementation, when the terminal is successfully connected to the network, the identifier of the operator profile used for connecting the network and the corresponding networking success time may be recorded, and then, according to the recorded identifier of the operator profile and the corresponding networking success time, it may be determined whether an operator profile used by the terminal for the last time through networking exists in the operator profiles to be used, where the networking success time corresponding to the operator profile used by the terminal for the last time through networking is only later than the networking success time corresponding to the operator profile currently used by the terminal.
S1012: and setting the switching priority of the operator configuration file which is used by the terminal for the last networking as the highest priority, and determining the switching priority of the rest operator configuration files to be used according to the storage time.
S1013: and determining the switching priority of the operator configuration file to be used according to the storage time.
The storage time may refer to a time when the to-be-used carrier profile is downloaded or written to the embedded subscriber identity module card, and the earlier the storage time of one to-be-used carrier profile is, the higher the switching priority corresponding to the carrier profile may be.
In this embodiment, by setting the switching priority of the operator profile used by the terminal for the last networking to be the highest, it is beneficial to improve the switching efficiency of the operator profile in the subsequent steps, so as to greatly shorten the time consumed for successful re-networking.
S102: and determining a target operator configuration file from the operator configuration files to be used according to the switching priority.
Specifically, the operator profile with the highest switching priority may be determined as the target operator profile from the operator profiles to be used in the order from the highest switching priority to the lowest switching priority.
S103: and switching the currently used operator configuration file into a target operator configuration file so as to carry out network connection again.
Specifically, the currently used operator profile may be switched to the target operator profile by activating the target operator profile so that the currently used operator profile is changed from an activated state to an inactivated state, and then the terminal may use the target operator profile to perform network connection. The network may be a mobile network provided by an operator such as mobile, internet or telecommunication, and one operator profile corresponds to one operator network, and one operator may correspond to one or more operator profiles, and when one operator corresponds to a plurality of operator profiles, the plurality of operator profiles of the operator network support different performance of the operator network.
In an embodiment, since the terminal may not be successfully connected to the network using the target operator profile, in order to ensure that the terminal can successfully re-network, please continue to refer to fig. 2, after the step S103, the method may further include:
s104: and detecting whether the terminal is successfully connected to the network corresponding to the target operator configuration file, if so, successfully networking the terminal, and returning to execute the step S101, otherwise, executing the step S105, and returning to execute the step S103.
S105: and updating the target operator configuration file by using the rest operator configuration files to be used.
The remaining to-be-used operator profiles may refer to operator profiles other than the target operator profile in the to-be-used operator profiles. In addition, in a specific implementation, it may be determined, from the remaining to-be-used operator profiles, that an operator profile with a switching priority located at a next level of the target operator profile is a next-used operator profile according to a sequence from a high switching priority to a low switching priority, and the target operator profile is updated by using the next-used operator profile. For example, as shown in fig. 3, the number of the operator profiles to be used is 5, and the profiles are Profile 101, Profile102, Profile 103, Profile 104, and Profile 105 in sequence from high switching priority to low switching priority, and the current target operator Profile is Profile 101 with the highest switching priority, so that when the current target operator Profile 101 is updated, the Profile102 with the switching priority located at the next level of the Profile 101 may be selected as the next target operator Profile, and when the target operator Profile102 needs to be updated, the Profile 103 with the switching priority located at the next level of the Profile102 may be selected as the replaced object of the target operator Profile 102. Thus, S103, S104 and S105 can form a loop, and the operator profile is switched once per loop until the terminal is successfully re-networked.
In an embodiment, with continuing reference to fig. 2, before S101, the method may further include:
s106: and monitoring the network state of the terminal.
Wherein, the S106 may specifically include:
s1061: and monitoring whether the terminal is connected to the network, if not, executing S1062, and if so, executing S1063.
In specific implementation, whether the terminal is connected to the network may be monitored by using a corresponding function according to an operating system (e.g., an android, a kai os, etc.) of the terminal, for example, if the operating system of the terminal is an android, whether the terminal is connected to the network may be monitored by using a ConnectivityManager object.
S1062: and determining the network state of the terminal to be an offline state.
S1063: and detecting whether the embedded subscriber identity module card is in a roaming state, if so, executing S1064, and if not, executing S1065.
Specifically, whether the embedded subscriber identity card is in the roaming state can be determined by detecting whether the current geographic location of the terminal is matched with the home location information of the embedded subscriber identity card, for example, if the terminal detects that the current geographic location of the terminal is a region other than continental china (such as an aontao region, a U.S. and other foreign regions) through technologies such as a GPS and the like, and the terminal reads that the home location information of the embedded subscriber identity card is a continental china region (such as beijing, shanghai and other regions), the terminal can determine that the current geographic location of the terminal is not matched with the home location information of the embedded subscriber identity card according to the above, and further determine that the embedded subscriber identity card is in the roaming state; if the current geographic position of the terminal is matched with the home location information of the embedded subscriber identity module, and if the current geographic position and the home location information are China continental regions (such as Beijing, Shanghai and other regions), the terminal can determine that the embedded subscriber identity module is in a non-roaming state according to the current geographic position and the home location information.
S1064: and determining that the network state of the terminal is a roaming state.
S1065: and acquiring a signal intensity value of a network connected with the terminal.
S107: and when the network state meets the preset network condition, determining that the terminal needs to perform network connection again.
Specifically, before S101, the method may further include:
s108: and when the network state is an offline state or a roaming state, or the signal intensity value is smaller than a preset threshold value, judging that the network state meets a preset network condition.
Specifically, when the signal strength value is smaller than a preset threshold, it may be considered that the signal of the network to which the terminal is connected is poor, for example, the network to which the terminal is connected is a 4G-unicom network, and a value range of the preset threshold may be smaller than or equal to-80 dbm, for example, the preset threshold may be-90 dbm.
Different from the prior art, the network connection method of the embodiment is applied to a terminal configured with an embedded user identification card, the embedded user identification card stores a plurality of operator configuration files, when the terminal needs to perform network connection again, the switching priority of each operator configuration file to be used except the currently used operator configuration file is determined, a target operator configuration file is determined from the operator configuration files to be used according to the switching priority, then the currently used operator configuration file is switched to the target operator configuration file so as to perform network connection again, therefore, when the terminal needs to perform network connection again, the operator configuration file used by the terminal can be automatically switched, so that the operation of the user on the operator configuration file is reduced, and the phenomenon that the operator configuration file cannot be automatically switched when the terminal is disconnected or roamed is avoided, and the terminal can not access the network again.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a network connection device according to an embodiment of the present disclosure. As shown in fig. 4, the network connection device 50 is applied to a terminal configured with an embedded subscriber identity card, in which a plurality of operator profiles are stored, and the network connection device 50 includes:
(1) first determination module 51
A first determining module 51, configured to determine a switching priority of each to-be-used operator profile except a currently-used operator profile when the terminal needs to perform network connection again.
In an embodiment, the first determining module 51 may specifically include:
the judging unit is used for judging whether the operator configuration file used by the terminal for the last networking exists in the operator configuration files to be used except the currently used operator configuration file;
the first determining unit is used for setting the switching priority of the operator configuration file used by the terminal for the last networking to be the highest when the operator configuration file used by the terminal for the last networking exists in the operator configuration files to be used, and determining the switching priority of the rest operator configuration files to be used according to the storage time; and when the operator configuration file used by the terminal for the last networking does not exist in the operator configuration file to be used, determining the switching priority of the operator configuration file to be used according to the storage time.
(2) Second determination module 52
A second determining module 52, configured to determine a target operator profile from the operator profiles to be used according to the handover priority.
(3) Switching module 53
And a switching module 53, configured to switch the currently used operator profile to the target operator profile, so as to perform network connection again.
In an embodiment, since the terminal may not be successfully connected to the network using the target carrier profile, in order to ensure that the terminal can successfully re-network, please continue to refer to fig. 5, the network connection apparatus 50 may further include:
(4) detection module 54
And the detecting module 54 is configured to detect whether the terminal is successfully connected to the network corresponding to the target operator profile.
(5) Update module 55
And an updating module 55, configured to update the target operator profile with the remaining operator profiles to be used when it is detected that the terminal is not successfully connected to the network corresponding to the target operator profile.
The remaining to-be-used operator profiles may refer to operator profiles other than the target operator profile in the to-be-used operator profiles. In a specific implementation, the updating module 55 may determine, from the remaining to-be-used carrier profiles, that a carrier profile with a switching priority located at a next level of the target carrier profile is a next-used carrier profile according to a sequence of switching priorities from high to low, update the target carrier profile using the next-used carrier profile, and then trigger the switching module 53 to switch the currently-used carrier profile to the target carrier profile, so as to perform network connection again.
In one embodiment, with continued reference to fig. 5, the network connection device 50 may further include:
(6) monitoring module 56
And the monitoring module 56 is used for monitoring the network state of the terminal.
The monitoring module 56 may specifically include:
the monitoring unit is used for monitoring whether the terminal is connected to the network or not;
the second determining unit is used for determining that the network state of the terminal is an offline state when the terminal is not connected to the network;
the detection unit is used for detecting whether the embedded subscriber identity module card is in a roaming state or not when the terminal is monitored to be connected to the network, determining that the network state of the terminal is the roaming state when the embedded subscriber identity module card is in the roaming state, and acquiring a signal intensity value of the network connected with the terminal when the embedded subscriber identity module card is not in the roaming state.
(7) Third determination module 57
And a third determining module 57, configured to determine that the terminal needs to perform network connection again when the network status meets the preset network condition.
Specifically, the network connection device 50 may further include:
(8) fourth determination module 58
A fourth determining module 58, configured to determine that the network status meets the preset network condition when the network status is an offline status or a roaming status, or the signal strength value is smaller than a preset threshold.
In specific implementation, the above modules and units may be implemented as independent entities, or may be combined arbitrarily and implemented as one or several entities, and specific implementations of the above modules and units may refer to the foregoing method embodiments, and are not described herein again.
Different from the prior art, the network connection device of this embodiment is applied to a terminal configured with an embedded subscriber identity card, in which a plurality of operator profiles are stored, and includes a first determining module for determining a switching priority of each to-be-used operator profile except for a currently-used operator profile when the terminal needs to perform network connection again, a second determining module for determining a target operator profile from the to-be-used operator profiles according to the switching priority, and a switching module for switching the currently-used operator profile to the target operator profile so as to perform network connection again, so that when the terminal needs to perform network connection again, the operator profile used by the terminal can be automatically switched to reduce operations on the operator profiles by the user, and the problem that the terminal cannot access the network again due to the fact that the terminal cannot automatically switch the configuration file of the operator when the network is disconnected or roamed is avoided.
Accordingly, embodiments of the present application also provide a terminal, which may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart watch, a smart bracelet, a pedometer, and a fixed terminal such as a Digital TV, a desktop computer, and the like. As shown in fig. 6, the mobile terminal 800 includes a processor 801, a memory 802. The processor 801 is electrically connected to the memory 802.
The processor 801 is a control center of the mobile terminal 800, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or loading an application program stored in the memory 802 and calling data stored in the memory 802, thereby performing overall monitoring of the mobile terminal.
In this embodiment, the processor 801 in the mobile terminal 800 loads instructions corresponding to processes of one or more application programs into the memory 802, and the processor 801 executes the application programs stored in the memory 802 according to the following steps, so as to implement various functions:
when the terminal needs to perform network connection again, determining the switching priority of each operator configuration file to be used except the currently used operator configuration file;
determining a target operator configuration file from operator configuration files to be used according to the switching priority;
and switching the currently used operator configuration file into a target operator configuration file so as to carry out network connection again.
The mobile terminal may implement the steps in any embodiment of the network connection method provided in the embodiment of the present application, and therefore, beneficial effects that can be achieved by any network connection method provided in the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
In the following description, the terminal is taken as an example to be explained, as shown in fig. 7, fig. 7 shows a specific structural block diagram of the mobile terminal provided in the embodiment of the present invention, and the mobile terminal 900 may be used to implement the network connection method provided in the embodiment. This mobile terminal 900 may be an AR glasses, an AR helmet, an AR head-up display (HUD), a smartphone, or a laptop, among other devices.
The RF circuit 910 is used for receiving and transmitting electromagnetic waves, and interconverting the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. RF circuit 910 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuit 910 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Mobile Communication (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11 b, IEEE802.1 g and/or IEEE802.1 n), Voice over Internet Protocol (VoIP), world wide Internet Protocol (Microwave Access for Wireless communications, Wi-Max), and other short message protocols, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
The memory 920 may be used to store software programs and modules, such as program instructions/modules corresponding to the network connection method in the foregoing embodiment, and the processor 980 executes various functional applications and data processing by running the software programs and modules stored in the memory 920, that is, functions of charging a backup battery, charging a battery, and the like. The memory 920 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 920 may further include memory located remotely from the processor 980, which may be connected to the mobile terminal 900 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 930 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 930 may include a touch-sensitive surface 931 as well as other input devices 932. The touch-sensitive surface 931, also referred to as a touch screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 931 (e.g., operations by a user on or near the touch-sensitive surface 931 using a finger, a stylus, or any other suitable object or attachment) and drive the corresponding connecting device according to a predetermined program. Alternatively, the touch sensitive surface 931 may include both a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 980, and can receive and execute commands sent by the processor 980. In addition, the touch sensitive surface 931 may be implemented in various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 930 may also include other input devices 932 in addition to the touch-sensitive surface 931. In particular, other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 940 may be used to display information input by or provided to the user and various graphical user interfaces of the mobile terminal 900, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 940 may include a Display panel 941, and optionally, the Display panel 941 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 931 can overlay display panel 941, and when touch operation is detected on or near touch-sensitive surface 931, processor 680 can determine the type of touch event, and processor 980 can then provide a corresponding visual output on display panel 941 according to the type of touch event. Although the touch-sensitive surface 931 and the display panel 941 are shown as two separate components to implement input and output functions, in some embodiments, the touch-sensitive surface 931 and the display panel 941 may be integrated to implement input and output functions.
The mobile terminal 900 may also include at least one sensor 950, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 941 according to the brightness of ambient light, and a proximity sensor that may generate an interrupt when the folder is closed or closed. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured on the mobile terminal 900, further description is omitted here.
The audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and the mobile terminal 900. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and convert the electrical signal into a sound signal for output by the speaker 961; on the other hand, the microphone 962 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 960, and outputs the audio data to the processor 980 for processing, and then transmits the audio data to another terminal via the RF circuit 910, or outputs the audio data to the memory 920 for further processing. The audio circuit 960 may also include an earbud jack to provide communication of peripheral headphones with the mobile terminal 900.
The mobile terminal 900, which can assist the user in receiving requests, sending messages, etc., through a transmission module 970 (e.g., a Wi-Fi module), provides the user with wireless broadband internet access. Although the transmission module 970 is illustrated in the drawings, it is understood that it does not belong to the essential constitution of the mobile terminal 900 and can be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 980 is a control center of the mobile terminal 900, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 900 and processes data by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the mobile terminal. Optionally, processor 980 may include one or more processing cores; in some embodiments, the processor 980 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 980.
The mobile terminal 900 also includes a power supply 990 (e.g., a battery backup or battery) that provides power to the various components and, in some embodiments, may be logically connected to the processor 980 via a power management system that provides management of charging, discharging, and power consumption. Power supply 990 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and the like.
Although not shown, the mobile terminal 900 further includes a camera (e.g., a front camera, a rear camera), a bluetooth module, etc., which are not described in detail herein. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
when the terminal needs to perform network connection again, determining the switching priority of each operator configuration file to be used except the currently used operator configuration file;
determining a target operator configuration file from operator configuration files to be used according to the switching priority;
and switching the currently used operator configuration file into a target operator configuration file so as to carry out network connection again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, an embodiment of the present invention provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps of any embodiment of the network connection method provided in the embodiment of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the steps in any embodiment of the network connection method provided in the embodiment of the present application, beneficial effects that can be achieved by any network connection method provided in the embodiment of the present application may be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The network connection method, device, storage medium and mobile terminal provided in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A network connection method is applied to a terminal configured with an embedded subscriber identity module card, wherein a plurality of operator configuration files are stored in the embedded subscriber identity module card, and the method comprises the following steps:
when the terminal needs to perform network connection again, determining the switching priority of each operator configuration file to be used except the currently used operator configuration file;
determining a target operator configuration file from the operator configuration files to be used according to the switching priority;
and switching the currently used operator configuration file into the target operator configuration file so as to carry out network connection again.
2. The network connection method according to claim 1, further comprising, after switching the currently used operator profile to the target operator profile:
detecting whether the terminal is successfully connected to a network corresponding to the target operator configuration file;
and if not, updating the target operator configuration file by using the rest operator configuration files to be used.
3. The method according to claim 1, wherein the determining the handover priority of each operator profile to be used except the currently used operator profile specifically comprises:
judging whether the operator configuration file used by the terminal for last networking exists in the operator configuration files to be used except the currently used operator configuration file;
and when the operator configuration file used by the terminal for last networking exists in the operator configuration files to be used, setting the switching priority of the operator configuration file used by the terminal for last networking to be the highest, and determining the switching priority of the rest operator configuration files to be used according to the storage time.
4. The network connection method according to claim 1, further comprising, before determining the handover priority of each operator profile to be used in addition to the operator profile currently used:
monitoring the network state of the terminal;
and when the network state meets the preset network condition, determining that the terminal needs to perform network connection again.
5. The network connection method according to claim 4, wherein the monitoring of the network state of the terminal specifically includes:
monitoring whether the terminal is connected to a network;
when the terminal is monitored not to be connected to the network, determining that the network state of the terminal is an offline state;
when the terminal is monitored to be connected to a network, whether the embedded subscriber identity module card is in a roaming state or not is detected, the network state of the terminal is determined to be the roaming state when the embedded subscriber identity module card is in the roaming state, and a signal intensity value of the network connected with the terminal is acquired when the embedded subscriber identity module card is not in the roaming state.
6. The network connection method according to claim 5, further comprising, before determining that the terminal needs to perform network connection again:
and when the network state is an offline state or a roaming state, or the signal intensity value is smaller than a preset threshold value, judging that the network state meets the preset network condition.
7. A network connection device, applied to a terminal configured with an embedded subscriber identity module card, the embedded subscriber identity module card storing therein a plurality of operator profiles, comprising:
a first determining module, configured to determine, when the terminal needs to perform network connection again, a switching priority of each to-be-used operator profile except for the currently-used operator profile;
a second determining module, configured to determine a target operator profile from the operator profiles to be used according to the switching priority;
and the switching module is used for switching the currently used operator configuration file into the target operator configuration file so as to carry out network connection again.
8. The network connection device according to claim 1, further comprising:
the detection module is used for detecting whether the terminal is successfully connected to the network corresponding to the target operator configuration file;
and the updating module is used for updating the target operator configuration file by using the rest operator configuration files to be used when the terminal is detected to be unsuccessfully connected to the network corresponding to the target operator configuration file.
9. A computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the network connection method of any of claims 1 to 6.
10. A terminal comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data, the processor being configured to perform the steps of the network connection method of any one of claims 1 to 6.
CN202010746222.3A 2020-07-29 2020-07-29 Network connection method, device, storage medium and terminal Pending CN111885591A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010746222.3A CN111885591A (en) 2020-07-29 2020-07-29 Network connection method, device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010746222.3A CN111885591A (en) 2020-07-29 2020-07-29 Network connection method, device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN111885591A true CN111885591A (en) 2020-11-03

Family

ID=73201178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010746222.3A Pending CN111885591A (en) 2020-07-29 2020-07-29 Network connection method, device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN111885591A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114567912A (en) * 2022-02-09 2022-05-31 阿里云计算有限公司 Operator network switching method, system, device and storage medium
CN114979991A (en) * 2021-02-24 2022-08-30 北京小米移动软件有限公司 Automatic call redialing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394524A (en) * 2014-11-27 2015-03-04 上海斐讯数据通信技术有限公司 Parameter loading method and mobile terminal capable of supporting multiple operators
US20160156607A1 (en) * 2014-12-02 2016-06-02 Samsung Electronics Co., Ltd. Method and device for managing profile
CN107959951A (en) * 2017-12-15 2018-04-24 恒宝股份有限公司 ESIM cards, automatic switchover eSIM cards configuration file method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394524A (en) * 2014-11-27 2015-03-04 上海斐讯数据通信技术有限公司 Parameter loading method and mobile terminal capable of supporting multiple operators
US20160156607A1 (en) * 2014-12-02 2016-06-02 Samsung Electronics Co., Ltd. Method and device for managing profile
CN107959951A (en) * 2017-12-15 2018-04-24 恒宝股份有限公司 ESIM cards, automatic switchover eSIM cards configuration file method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979991A (en) * 2021-02-24 2022-08-30 北京小米移动软件有限公司 Automatic call redialing method, device, equipment and storage medium
CN114567912A (en) * 2022-02-09 2022-05-31 阿里云计算有限公司 Operator network switching method, system, device and storage medium
CN114567912B (en) * 2022-02-09 2024-04-30 阿里云计算有限公司 Method, system, device and storage medium for switching operator network

Similar Documents

Publication Publication Date Title
CN106936516B (en) Display screen display state control method, storage medium and terminal
CN111885591A (en) Network connection method, device, storage medium and terminal
CN109688611B (en) Frequency band parameter configuration method, device, terminal and storage medium
CN105577712B (en) A kind of file uploading method, device and system
CN112492554A (en) Data transmission method, device, storage medium and terminal
CN112367425B (en) Volume adjusting method and device and terminal
CN112261634B (en) Bluetooth transmission control method and device, terminal equipment and storage medium
CN105635379B (en) Noise suppression method and device
CN104871636B (en) A kind of method, terminal, the network equipment and the system of secondary carrier change
CN112286849A (en) Wireless charging base data switching method and system, storage medium and terminal equipment
CN109151154B (en) Power consumption control method and mobile terminal
CN110913022A (en) Method, device and system for downloading network file of mobile terminal and storage medium
CN111966206A (en) Power-saving control method and device for fingerprint sensor and mobile terminal
CN111954317B (en) Network connection method, device, storage medium and mobile terminal
CN111654578B (en) Mobile terminal sensor restoration method
CN110891304B (en) gPS power consumption control method for mobile terminal
CN109995441B (en) Communication information processing method, device and storage medium
CN112350743B (en) Antenna selection circuit structure, antenna selection method and customer premises equipment
CN111954193B (en) Bluetooth equipment connection detection method and device and mobile terminal
CN105278967B (en) System updating method, device and system of mobile terminal
CN112491562B (en) Communication control method and device and mobile terminal
CN111031588B (en) Network searching method, device, terminal equipment and storage medium
CN111093173B (en) Method and device for limiting starting of STK application
CN112087763B (en) Wireless fidelity WiFi connection method and device and electronic equipment
CN106484455A (en) A kind of methods, devices and systems of the installation data of more new application

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201103

RJ01 Rejection of invention patent application after publication