CN113613239B - Network mode switching method, network mode switching device, medium, and electronic device - Google Patents

Network mode switching method, network mode switching device, medium, and electronic device Download PDF

Info

Publication number
CN113613239B
CN113613239B CN202110907231.0A CN202110907231A CN113613239B CN 113613239 B CN113613239 B CN 113613239B CN 202110907231 A CN202110907231 A CN 202110907231A CN 113613239 B CN113613239 B CN 113613239B
Authority
CN
China
Prior art keywords
network
subscriber identity
card
network mode
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110907231.0A
Other languages
Chinese (zh)
Other versions
CN113613239A (en
Inventor
戴国华
刁永平
谭华
赵强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202110907231.0A priority Critical patent/CN113613239B/en
Publication of CN113613239A publication Critical patent/CN113613239A/en
Application granted granted Critical
Publication of CN113613239B publication Critical patent/CN113613239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/34Reselection control
    • H04W36/36Reselection control by user or terminal equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

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 provides a network mode switching method, a device, a medium and an electronic device, which relate to the technical field of 5G communication and comprise the following steps: monitoring the 5G network connection condition of a first user identification card in the terminal equipment; if the 5G network connection condition of the first user identification card is used for indicating that the first user identification card is disconnected with the 5G network, detecting the residual data traffic of a second user identification card in the terminal equipment; and when the residual data flow is greater than a preset threshold value, switching the second subscriber identity card to a first network mode containing the 5G network, and switching the first subscriber identity card to a second network mode not containing the 5G network. Therefore, the network mode switching can be automatically carried out when the switching condition is achieved by implementing the method, manual operation of a user is not needed, the problem of complicated operation is avoided, the network mode switching efficiency is improved, the terminal equipment can trigger the auxiliary card to be connected with the 5G network in time after the main card is disconnected with the 5G network, and therefore the user can experience uninterrupted high-speed data transmission speed conveniently.

Description

Network mode switching method, network mode switching device, medium, and electronic device
Technical Field
The present application relates to the field of 5G communication technologies, and in particular, to a network mode switching method, a network mode switching apparatus, a computer-readable storage medium, and an electronic device.
Background
In the dual-card dual-standby terminal device, a dual card means that the terminal device includes two card slots, and two Universal Subscriber Identity Modules (USIMs)/Subscriber Identity Modules (SIMs) can be installed, each card can support one or more network systems, and the two cards can belong to the same operator or different operators; the dual standby mode refers to that when the two cards support different network systems, the terminal device supports the two cards to register successfully on the two networks respectively, and when the two cards support the same network system, the terminal device supports the two cards to register successfully on the same network respectively.
With the development of 5G technology and the deployment of operator networks, more and more terminal devices start to support 5G networks, and generally, the dual card function of a 5G dual card terminal fails to enable dual cards to simultaneously support 5G networks, when a card supporting a 5G network mode reaches an area where an operator does not deploy 5G network devices, a user generally needs to switch the card currently supporting the 5G network mode to another card in the dual card so that the other card can be in the 5G network mode, and if the operator of the other card deploys 5G network devices in the area, the user can use the 5G network based on the other card in the 5G network mode. However, such manual switching of the network mode is prone to complicated operations and has a problem of low network mode switching efficiency.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present application and therefore may include information that does not constitute prior art known to a person of ordinary skill in the art.
Disclosure of Invention
The application aims to provide a network mode switching method, a network mode switching device, a computer readable storage medium and an electronic device, whether network mode switching is needed or not can be judged based on the 5G network connection condition of a main card and the residual data flow of an auxiliary card, the network mode switching is automatically carried out when the switching condition is met, manual operation of a user is not needed, the problem of complex operation is avoided, the network mode switching efficiency is improved, the terminal device can trigger the auxiliary card to be connected with a 5G network in time after the main card is disconnected with the 5G network, and therefore the user can experience uninterrupted high-speed data transmission speed conveniently.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned by practice of the application.
According to an aspect of the present application, there is provided a network mode switching method, including:
monitoring the 5G network connection condition of a first user identification card in the terminal equipment;
if the 5G network connection condition of the first user identification card is used for indicating that the first user identification card is disconnected with the 5G network, detecting the residual data traffic of a second user identification card in the terminal equipment;
and when the residual data flow is greater than a preset threshold value, switching the second subscriber identity card to a first network mode containing the 5G network, and switching the first subscriber identity card to a second network mode not containing the 5G network.
In an exemplary embodiment of the present application, when the remaining data traffic is greater than a preset threshold, switching the second subscriber identity card to a first network mode including a 5G network includes:
detecting the network residing state of the second user identification card;
and when the residual data flow is greater than a preset threshold value and the network-residing state is used for indicating that the operator corresponding to the second subscriber identity card supports the 5G network, switching the second subscriber identity card from a second network mode not comprising the 5G network to a first network mode comprising the 5G network.
In an exemplary embodiment of the present application, if the 5G network connection condition is used to indicate that the first subscriber identity card is disconnected from the 5G network, detecting the remaining data traffic of the second subscriber identity card in the terminal device includes:
and if the 5G network connection condition is used for indicating that the first user identification card is disconnected from the 5G network, continuously timing the disconnection state, and detecting the residual data traffic of the second user identification card in the terminal equipment when the timing result reaches the preset duration.
In an exemplary embodiment of the present application, switching the second subscriber identity card to the first network mode including the 5G network includes:
acquiring an identifier for identifying a network mode switching record;
and if the identifier indicates that the terminal equipment does not switch the network mode in the current area in unit time, switching the second subscriber identity card to a first network mode containing a 5G network.
In an exemplary embodiment of the present application, after switching the first subscriber identity card to the second network mode not including the 5G network, the method further includes:
the identifier is updated such that the updated identifier indicates that the terminal device has undergone a network mode switch in the current area per unit time.
In an exemplary embodiment of the present application, before obtaining the identifier for identifying the network mode switching record, the method further includes:
reading a base station cell number corresponding to a current area;
when detecting that the base station cell number in the history record of the adjacent time is consistent with the base station cell number corresponding to the current area, setting an identifier for identifying the network mode switching record as a first numerical value;
when the base station cell number in the history record of the adjacent time is detected to be inconsistent with the base station cell number corresponding to the current area, setting the identifier for identifying the network mode switching record as a second numerical value;
the first numerical value is used for representing that the terminal equipment does not perform network mode switching in the current area in unit time, and the second numerical value is used for representing that the terminal equipment has undergone network mode switching in the current area in unit time.
In an exemplary embodiment of the present application, after switching the second subscriber identity card to the first network mode including the 5G network and switching the first subscriber identity card to the second network mode not including the 5G network, the method further includes:
detecting the 5G network connection condition of the second user identification card;
and if the 5G network connection condition of the second user identification card is used for indicating that the second user identification card cannot be connected with the 5G network, switching the second user identification card to a second network mode, and switching the first user identification card to a first network mode.
According to an aspect of the present application, there is provided a network mode switching apparatus, comprising:
the monitoring unit is used for monitoring the 5G network connection condition of the first user identification card in the terminal equipment;
the data traffic detection unit is used for detecting the residual data traffic of a second subscriber identity card in the terminal equipment when the 5G network connection condition of the first subscriber identity card is used for indicating that the first subscriber identity card is disconnected from the 5G network;
and the network mode switching unit is used for switching the second subscriber identity card to a first network mode containing the 5G network and switching the first subscriber identity card to a second network mode not containing the 5G network when the residual data flow is greater than a preset threshold value.
In an exemplary embodiment of the present application, the switching, by the network mode switching unit, when the remaining data traffic is greater than a preset threshold, the switching to the first network mode including a 5G network by the second subscriber identity card includes:
detecting the network residing state of the second user identification card;
and when the residual data flow is greater than a preset threshold value and the network-residing state is used for indicating that the operator corresponding to the second subscriber identity card supports the 5G network, switching the second subscriber identity card from a second network mode not comprising the 5G network to a first network mode comprising the 5G network.
In an exemplary embodiment of the present application, when the 5G network connection condition of the first subscriber identity card is used to indicate that the first subscriber identity card is disconnected from the 5G network, the data traffic detection unit detects remaining data traffic of a second subscriber identity card in the terminal device, including:
and if the 5G network connection condition is used for indicating that the first user identification card is disconnected from the 5G network, continuously timing the disconnection state, and detecting the residual data traffic of the second user identification card in the terminal equipment when the timing result reaches the preset duration.
In an exemplary embodiment of the present application, the network mode switching unit switches the second subscriber identity card to the first network mode including the 5G network, including:
obtaining an identifier for identifying a network mode switch record;
and if the identifier indicates that the terminal equipment does not switch the network mode in the current area in unit time, switching the second subscriber identity card to a first network mode containing a 5G network.
In an exemplary embodiment of the present application, the apparatus further includes:
and the identifier updating unit is used for updating the identifier after the network mode switching unit switches the first subscriber identity card to a second network mode which does not contain the 5G network, so that the updated identifier represents that the terminal equipment has undergone network mode switching in the current area in unit time.
In an exemplary embodiment of the present application, the apparatus further includes:
a base station cell number obtaining unit, configured to read a base station cell number corresponding to a current area before the network mode switching unit obtains the identifier for identifying the network mode switching record;
a value setting unit, configured to set, when it is detected that a base station cell number in a history record of adjacent time is consistent with a base station cell number corresponding to a current area, an identifier for identifying a network mode switching record to a first value; when the base station cell number in the history record of the adjacent time is detected to be inconsistent with the base station cell number corresponding to the current area, setting the identifier for identifying the network mode switching record as a second numerical value;
the first numerical value is used for representing that the terminal equipment does not perform network mode switching in the current area in unit time, and the second numerical value is used for representing that the terminal equipment has undergone network mode switching in the current area in unit time.
In an exemplary embodiment of the present application, the monitoring unit is further configured to detect a 5G network connection condition of the second subscriber identity card after the network mode switching unit switches the second subscriber identity card to a first network mode including a 5G network and switches the first subscriber identity card to a second network mode not including the 5G network;
and the network mode switching unit is also used for switching the second subscriber identity card to the second network mode and switching the first subscriber identity card to the first network mode when the 5G network connection condition of the second subscriber identity card is used for indicating that the second subscriber identity card cannot be connected with the 5G network.
According to an aspect of the present application, there is provided an electronic apparatus including: a processor; and a memory for storing executable instructions for the processor; wherein the processor is configured to perform the method of any of the above via execution of the executable instructions.
According to an aspect of the application, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any one of the above.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternative implementations described above.
The exemplary embodiments of the present application may have some or all of the following advantages:
in the network mode switching method provided by an example embodiment of the present application, a 5G network connection condition of a first subscriber identity card in a terminal device may be monitored; if the 5G network connection condition of the first user identification card is used for indicating that the first user identification card is disconnected with the 5G network, detecting the residual data traffic of a second user identification card in the terminal equipment; and when the residual data flow is greater than a preset threshold value, switching the second subscriber identity card to a first network mode containing the 5G network, and switching the first subscriber identity card to a second network mode not containing the 5G network. According to the technical description, on one hand, the network mode can be automatically switched when the switching condition is achieved, manual operation of a user is not needed, the problem of complex operation is avoided, the network mode switching efficiency is improved, the terminal device can trigger the auxiliary card to be connected with the 5G network in time after the main card is disconnected with the 5G network, and therefore the user can experience uninterrupted high-speed data transmission speed conveniently. On the other hand, the network mode switching can be carried out when the residual data flow is larger than the preset threshold value through the detection of the residual data flow, so that the effectiveness of the network mode switching can be ensured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic diagram illustrating an exemplary system architecture of a network mode switching method and a network mode switching apparatus to which the embodiments of the present application may be applied;
FIG. 2 illustrates a schematic structural diagram of a computer system suitable for use to implement the electronic device of the present application;
fig. 3 schematically shows a flow chart of a network mode switching method according to an embodiment of the present application;
FIG. 4 schematically illustrates an identifier-based setup flow diagram according to an embodiment of the present application;
FIG. 5 schematically shows a flow chart of a network mode switching method according to an embodiment of the present application;
fig. 6 schematically shows a block diagram of a network mode switching device in an embodiment according to the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present application.
Furthermore, the drawings are merely schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
Fig. 1 is a schematic diagram illustrating a system architecture of an exemplary application environment to which a network mode switching method and a network mode switching apparatus according to an embodiment of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. Network 104 is the medium used to provide communication links between terminal devices 101, 102, 103 and server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few. The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to desktop computers, portable computers, smart phones, tablet computers, and the like. It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for an implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like.
The network mode switching method provided by the embodiment of the present application is generally executed by the server 105, and accordingly, the network mode switching device is generally disposed in the server 105. However, it is easily understood by those skilled in the art that the network mode switching method provided in the embodiment of the present application may also be executed by the terminal device 101, 102, or 103, and accordingly, the network mode switching apparatus may also be disposed in the terminal device 101, 102, or 103, which is not particularly limited in this exemplary embodiment. For example, in an exemplary embodiment, the server 105 may monitor the 5G network connection of the first subscriber identity card in the terminal device; if the 5G network connection condition of the first user identification card is used for indicating that the first user identification card is disconnected with the 5G network, detecting the residual data traffic of a second user identification card in the terminal equipment; and when the residual data flow is greater than a preset threshold value, switching the second subscriber identity card to a first network mode containing the 5G network, and switching the first subscriber identity card to a second network mode not containing the 5G network.
FIG. 2 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
It should be noted that the computer system 200 of the electronic device shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 2, the computer system 200 includes a Central Processing Unit (CPU) 201 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 202 or a program loaded from a storage section 208 into a Random Access Memory (RAM) 203. In the RAM 203, various programs and data necessary for system operation are also stored. The CPU 201, ROM 202, and RAM 203 are connected to each other via a bus 204. An input/output (I/O) interface 205 is also connected to bus 204.
The following components are connected to the I/O interface 205: an input portion 206 including a keyboard, a mouse, and the like; an output section 207 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 208 including a hard disk and the like; and a communication section 209 including a network interface card such as a LAN card, a modem, or the like. The communication section 209 performs communication processing via a network such as the internet. A drive 210 is also connected to the I/O interface 205 as needed. A removable medium 211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is mounted on the drive 210 as necessary, so that a computer program read out therefrom is installed into the storage section 208 as necessary.
In particular, according to embodiments of the present application, the processes described below with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 209 and/or installed from the removable medium 211. The computer program, when executed by a Central Processing Unit (CPU) 201, performs various functions defined in the methods and apparatus of the present application.
The present example embodiment provides a network mode switching method. The network mode switching method may be applied to the server 105, and may also be applied to one or more of the terminal devices 101, 102, and 103, which is not particularly limited in this exemplary embodiment. Referring to fig. 3, the network mode switching method may include the following steps S310 to S330.
Step S310: and monitoring the 5G network connection condition of the first user identification card in the terminal equipment.
Step S320: and if the 5G network connection condition of the first user identification card is used for indicating that the first user identification card is disconnected from the 5G network, detecting the residual data traffic of a second user identification card in the terminal equipment.
Step S330: and when the residual data flow is greater than a preset threshold value, switching the second subscriber identity card to a first network mode containing the 5G network, and switching the first subscriber identity card to a second network mode not containing the 5G network.
By implementing the method shown in fig. 3, network mode switching can be automatically performed when the switching condition is achieved, manual operation of a user is not needed, the problem of complex operation is avoided, the network mode switching efficiency is improved, and the terminal device can trigger the auxiliary card to be connected with the 5G network in time after the main card is disconnected with the 5G network, so that the user can experience uninterrupted high-speed data transmission speed conveniently. In addition, the network mode switching can be carried out when the residual data flow is larger than the preset threshold value through the detection of the residual data flow, so that the effectiveness of the network mode switching can be ensured.
Next, the above-described steps of the present exemplary embodiment will be described in more detail.
In step S310, the 5G network connection status of the first subscriber identity card in the terminal device is monitored.
Specifically, the terminal device may optionally include one or more other user identification cards in addition to the first user identification card and the second user identification card that are used simultaneously, which is not limited in the embodiment of the present application. The terminal device may be a mobile device (e.g., a mobile phone, a tablet, a smart watch, etc.) used by the user. In addition, the first subscriber identity card and the second subscriber identity card may correspond to different operators, and the deployment areas of the different operators for the 5G network, the 4G network, the 3G network, and the 2G network may be the same or different. The subscriber identity module card is an IC card held by a Mobile subscriber of a Global System for Mobile Communications (GSM) System, the GSM System can identify the GSM subscriber through a SIM card, and the same SIM card can be inserted into or embedded into any GSM terminal to realize communication. Note that 5G (Generation), i.e., 5 th Generation mobile communication technology. Generally, the transmission rate of 2.4k,2g for 1G is 64k, 2m,4g for 2m,4G is 100m, and the transmission rate of 5g is 20G.
Furthermore, the 5G network connection scenario includes: case 1 for indicating that the first subscriber identity card is disconnected from the 5G network and case 2 for indicating that the first subscriber identity card is connected to the 5G network.
In step S320, if the 5G network connection condition of the first subscriber identity card is used to indicate that the first subscriber identity card is disconnected from the 5G network, the remaining data traffic of the second subscriber identity card in the terminal device is detected.
Specifically, the remaining data traffic may be understood as remaining data traffic in a traffic package within a unit time (e.g., one month) corresponding to the second subscriber identity card.
Optionally, if the 5G network connection condition of the first subscriber identity card is used to indicate that the first subscriber identity card is disconnected from the 5G network, detecting the remaining data traffic of the second subscriber identity card in the terminal device, including: if the 5G network connection condition of the first subscriber identity card is used for indicating that the first subscriber identity card is disconnected from the 5G network, determining a second operator corresponding to the second subscriber identity card and a 5G network deployment area corresponding to the second operator, determining the current position of the terminal equipment through a GPS, and if the current position is detected to be in the 5G network deployment area corresponding to the second operator, detecting the residual data traffic of the second subscriber identity card in the terminal equipment.
Further, if it is detected that the current location is not in the 5G network deployment area corresponding to the second operator, the method may further include: and outputting prompt information for prompting that the first subscriber identity card and the second subscriber identity card cannot be connected to the 5G network. Still further, the method may further include: determining a first operator corresponding to a first user identification card and a 5G network deployment area corresponding to the first operator, selecting a target area closest to the current position of the terminal device from the 5G network deployment area corresponding to the first operator and the 5G network deployment area corresponding to a second operator, generating a navigation route taking the current position as a starting point and taking any position in the target area as an end point, and outputting the navigation route, so that a user can carry the terminal device to move to the target area according to the navigation route, and the user can use the 5G network; the target area may belong to a 5G network deployment area corresponding to a first operator or may belong to a 5G network deployment area corresponding to a second operator.
As an alternative embodiment, if the 5G network connection condition is used to indicate that the first subscriber identity card is disconnected from the 5G network, detecting the remaining data traffic of the second subscriber identity card in the terminal device includes: and if the 5G network connection condition is used for indicating that the first user identification card is disconnected from the 5G network, continuously timing the disconnection state, and detecting the residual data traffic of the second user identification card in the terminal equipment when the timing result reaches the preset duration.
Specifically, the uninterrupted timing may be started from the detection of disconnection, where if the duration of the disconnection state reaches a preset duration (e.g., 30 s), the remaining data traffic of the second subscriber identity card in the terminal device is detected.
Therefore, by implementing the optional embodiment, the remaining data traffic of the second subscriber identity card in the terminal device can be detected only when the duration of the disconnection state reaches the preset duration, and network mode switching is avoided when accidental short disconnection (for example, 2s disconnection), so that waste of network resources can be avoided.
In step S330, when the remaining data traffic is greater than the preset threshold, the second subscriber identity card is switched to a first network mode including the 5G network, and the first subscriber identity card is switched to a second network mode not including the 5G network.
Specifically, the first network mode may support a 5G network, a 4G network, a 3G network, and a 2G network, and the first network mode may be represented as: 5G/4G/3G/2G; the second network mode may support a 4G network, a 3G network, a 2G network, and may be expressed as: 4G/3G/2G. The subscriber identity card in the first network mode may be determined as a primary card and the subscriber identity card in the second network mode may be determined as a secondary card.
In addition, the method can further comprise the following steps: when detecting that the terminal equipment requests a Voice over Long-Term Evolution (VoLTE) Voice service, triggering a second user identification card to connect with the 4G network so as to improve the call quality of the user. VoLTE is a high-speed wireless communication standard for mobile phones and data terminals, and based on an IP Multimedia Subsystem (IMS) network, LTE uses configuration files that are specially made as a Control plane (Control plane) and a Media plane (Media plane) for voice services, which enable voice services (Control and Media planes) to be transmitted as data streams in an LTE data bearer network.
As an optional embodiment, when the remaining data traffic is greater than the preset threshold, switching the second subscriber identity card to a first network mode including a 5G network includes: detecting the network residing state of the second user identification card; and when the residual data traffic is greater than a preset threshold and the network residence state is used for indicating that an operator corresponding to the second subscriber identity card supports the 5G network, switching the second subscriber identity card from a second network mode not comprising the 5G network to a first network mode comprising the 5G network.
Specifically, the network residing state is used for identifying the registration condition of the second subscriber identity module in a 5G network, a 4G network, a 3G network and a 2G network.
Therefore, by implementing the optional embodiment, when the operator corresponding to the network residing state of the second subscriber identity card supports the 5G network, the network mode switching can be executed, so that the effectiveness of the network mode switching is improved, and the execution of invalid operation is avoided.
As an alternative embodiment, switching the second subscriber identity card to the first network mode comprising the 5G network comprises: obtaining an identifier for identifying a network mode switch record; and if the identifier indicates that the terminal equipment does not switch the network mode in the current area in unit time, switching the second subscriber identity card to a first network mode containing a 5G network.
Specifically, the identifier for identifying the network mode switching record may be represented by any form such as numbers/characters/chinese characters, and the embodiments of the present application are not limited thereto, and preferably, the identifier is represented by numbers, such as 1, 2, and the like. Optionally, if the identifier indicates that the terminal device has undergone network mode switching in the current area in the unit time, the method further includes: and outputting prompt information for prompting the user to manually switch the network mode.
Therefore, by implementing the optional embodiment, when the identifier indicates that the terminal device does not perform network mode switching in the current area in unit time, the network mode switching can be performed in time, so that the user can continuously experience the 5G network, and the use experience of the user is improved.
As an alternative embodiment, after switching the first subscriber identity card to the second network mode not including the 5G network, the method further includes: the identifier is updated such that the updated identifier indicates that the terminal device has undergone a network mode switch in the current area per unit time.
Specifically, updating the identifier includes: the identifier is switched from a first value (e.g., 0) to a second value (e.g., 1). In addition, after updating the identifier, the method further includes: and updating and recording the total switching times corresponding to the terminal equipment.
Therefore, by implementing the optional embodiment, the identifier can be updated to realize the timely recording of the network mode switching in the current region, and the problem that the network resource is wasted due to frequent network mode switching in the current region is avoided.
As an alternative embodiment, before obtaining the identifier for identifying the network mode switching record, the method further includes: reading a base station cell number corresponding to a current area; when detecting that the base station cell number in the history record of the adjacent time is consistent with the base station cell number corresponding to the current area, setting an identifier for identifying the network mode switching record as a first numerical value; when the base station cell number in the history record of the adjacent time is detected to be inconsistent with the base station cell number corresponding to the current area, setting the identifier for identifying the network mode switching record as a second numerical value; the first numerical value is used for representing that the terminal equipment does not perform network mode switching in the current area in unit time, and the second numerical value is used for representing that the terminal equipment has undergone network mode switching in the current area in unit time.
Specifically, the cell number of the base station is used to identify a specific base station radiating a certain range, and the setting process of the cell of the base station can be understood as follows: the service area is divided into a plurality of cells, and each cell is respectively provided with a base station for being responsible for contact and control of mobile communication in the cell. The base station number in each cell is the above-mentioned base station cell number. The first value (e.g., 1) may be a constant that is distinct from the second value (e.g., 0).
Therefore, by implementing the optional embodiment, the condition setting of the network mode switching can be used for avoiding the waste of resources caused by frequently executing the network mode switching in a short time.
As an alternative embodiment, after switching the second subscriber identity card to the first network mode including the 5G network and switching the first subscriber identity card to the second network mode not including the 5G network, the method further includes: detecting the 5G network connection condition of the second user identification card; and if the 5G network connection condition of the second subscriber identity card is used for indicating that the second subscriber identity card cannot be connected with the 5G network, switching the second subscriber identity card to a second network mode, and switching the first subscriber identity card to a first network mode.
Specifically, after switching the second subscriber identity card to the first network mode including the 5G network and switching the first subscriber identity card to the second network mode not including the 5G network, the method may further include: and determining the cell number of the base station in the current area and the current time, and correspondingly storing the current time and the cell number of the base station in the current area so as to be used as the cell number of the base station in the history record of the adjacent time to participate in the condition judgment process when the condition judgment of network mode switching is carried out at the next time.
Therefore, by implementing the optional embodiment, the first subscriber identity module can be switched to the first network mode in time when the second subscriber identity module cannot be connected to the 5G network, so that the first subscriber identity module can be connected to the 5G network in time when the first subscriber identity module can be connected to the 5G network, and the use experience of a user is improved.
Referring to fig. 4, fig. 4 schematically illustrates an identifier-based setting flow diagram according to an embodiment of the present application. As shown in fig. 4, the identifier-based setting flow includes: step S410 to step S440.
Step S410: and reading the cell number of the base station corresponding to the current area.
Step S420: and detecting whether the cell number of the base station in the history record of the adjacent time is consistent with the cell number of the base station corresponding to the current area. If so, step S440 is performed. If not, step S430 is performed.
Step S430: an identifier for identifying the network mode switch record is set to 1.
Step S440: an identifier for identifying the network mode switch record is set to 0.
Referring to fig. 5, fig. 5 schematically shows a flow chart of a network mode switching method according to an embodiment of the present application. As shown in fig. 5, the network mode switching method may include: step S500 to step S580.
Step S500: reading a base station cell number corresponding to a current area; when detecting that the cell number of the base station in the history record of the adjacent time is consistent with the cell number of the base station corresponding to the current area, setting an identifier for identifying the network mode switching record as a first numerical value; when the base station cell number in the history record of the adjacent time is detected to be inconsistent with the base station cell number corresponding to the current area, setting the identifier for identifying the network mode switching record as a second numerical value; the first numerical value is used for representing that the terminal equipment does not perform network mode switching in the current area in unit time, and the second numerical value is used for representing that the terminal equipment has undergone network mode switching in the current area in unit time.
Step S510: and monitoring the 5G network connection condition of the first subscriber identity module card in the terminal equipment.
Step S520: and if the 5G network connection condition is used for indicating that the first user identification card is disconnected from the 5G network, continuously timing the disconnection state, and detecting the residual data traffic of the second user identification card in the terminal equipment when the timing result reaches the preset duration.
Step S530: and detecting the network residing state of the second subscriber identity card, and acquiring an identifier for identifying the network mode switching record when the residual data flow is greater than a preset threshold value and the network residing state is used for indicating that an operator corresponding to the second subscriber identity card supports a 5G network.
Step S540: and if the identifier indicates that the terminal equipment does not switch the network mode in the current area in unit time, switching the second subscriber identity card to a first network mode containing a 5G network.
Step S550: the identifier is updated such that the updated identifier indicates that the terminal device has undergone a network mode switch in the current area per unit time.
Step S560: and switching the first subscriber identity card to a second network mode which does not comprise the 5G network.
Step S570: and detecting the 5G network connection condition of the second user identification card.
Step S580: and if the 5G network connection condition of the second subscriber identity card is used for indicating that the second subscriber identity card cannot be connected with the 5G network, switching the second subscriber identity card to a second network mode, and switching the first subscriber identity card to a first network mode.
It should be noted that steps S500 to S580 correspond to the steps and embodiments shown in fig. 3, and for the specific implementation of steps S500 to S580, please refer to the steps and embodiments shown in fig. 3, which are not described again here.
It can be seen that, by implementing the method shown in fig. 5, network mode switching can be automatically performed when the switching condition is met, without manual operation of a user, thereby avoiding the problem of complicated operation and improving network mode switching efficiency, so that the terminal device can trigger the auxiliary card to connect with the 5G network in time after the main card is disconnected from the 5G network, and thus, the user can experience uninterrupted high-speed data transmission speed. In addition, the network mode switching can be carried out when the residual data flow is larger than the preset threshold value through the detection of the residual data flow, so that the effectiveness of the network mode switching can be ensured.
Further, in this example embodiment, a network mode switching apparatus is also provided. Referring to fig. 6, the network mode switching device 600 may include:
a monitoring unit 601, configured to monitor a 5G network connection condition of a first subscriber identity module card in a terminal device;
a data traffic detection unit 602, configured to detect remaining data traffic of a second subscriber identity card in the terminal device when a 5G network connection condition of the first subscriber identity card is used to indicate that the first subscriber identity card is disconnected from a 5G network;
a network mode switching unit 603, configured to switch the second subscriber identity card to a first network mode including a 5G network and switch the first subscriber identity card to a second network mode not including the 5G network when the remaining data traffic is greater than a preset threshold.
It can be seen that, with the implementation of the apparatus shown in fig. 6, network mode switching can be automatically performed when the switching condition is met, without manual operation of a user, which avoids the problem of complicated operation and improves network mode switching efficiency, so that the terminal device can trigger the auxiliary card to connect to the 5G network in time after the main card is disconnected from the 5G network, thereby facilitating the user to experience uninterrupted high-speed data transmission speed. In addition, the network mode switching can be carried out when the residual data flow is larger than the preset threshold value through the detection of the residual data flow, so that the effectiveness of the network mode switching can be ensured.
In an exemplary embodiment of the present application, when the remaining data traffic is greater than the preset threshold, the network mode switching unit 603 switches the second subscriber identity card to the first network mode including the 5G network, including:
detecting the network residing state of the second user identification card;
and when the residual data flow is greater than a preset threshold value and the network-residing state is used for indicating that the operator corresponding to the second subscriber identity card supports the 5G network, switching the second subscriber identity card from a second network mode not comprising the 5G network to a first network mode comprising the 5G network.
Therefore, by implementing the optional embodiment, when the operator corresponding to the network residing state of the second subscriber identity card supports the 5G network, the network mode switching can be executed, so that the effectiveness of the network mode switching is improved, and the execution of invalid operation is avoided.
In an exemplary embodiment of the present application, when the 5G network connection condition of the first subscriber identity card is used to indicate that the first subscriber identity card is disconnected from the 5G network, the data traffic detection unit 602 detects the remaining data traffic of the second subscriber identity card in the terminal device, including:
and if the 5G network connection condition is used for indicating that the first user identification card is disconnected from the 5G network, continuously timing the disconnection state, and detecting the residual data traffic of the second user identification card in the terminal equipment when the timing result reaches the preset duration.
Therefore, by implementing the optional embodiment, the remaining data traffic of the second subscriber identity card in the terminal device can be detected only when the duration of the disconnection state reaches the preset duration, and network mode switching is avoided when accidental short disconnection (for example, 2s disconnection), so that waste of network resources can be avoided.
In an exemplary embodiment of the present application, the network mode switching unit 603 switches the second subscriber identity card to the first network mode including the 5G network, including:
acquiring an identifier for identifying a network mode switching record;
and if the identifier indicates that the terminal equipment does not switch the network mode in the current area in unit time, switching the second subscriber identity card to a first network mode containing a 5G network.
Therefore, by implementing the optional embodiment, when the identifier indicates that the terminal device does not perform network mode switching in the current area in unit time, the network mode switching can be performed in time, so that the user can continuously experience the 5G network, and the use experience of the user is improved.
In an exemplary embodiment of the present application, the apparatus further includes:
an identifier updating unit (not shown) for updating the identifier after the network mode switching unit 603 switches the first subscriber identity card to the second network mode not including the 5G network, so that the updated identifier indicates that the terminal device has undergone network mode switching in the current area per unit time.
Therefore, by implementing the optional embodiment, the identifier can be updated to realize the timely recording of the network mode switching in the current region, and the problem that the network resource is wasted due to frequent network mode switching in the current region is avoided.
In an exemplary embodiment of the present application, the apparatus further includes:
a base station cell number acquiring unit (not shown) configured to read a base station cell number corresponding to the current area before the network mode switching unit 603 acquires the identifier for identifying the network mode switching record;
a value setting unit (not shown) configured to set, when it is detected that the cell number of the base station in the history record of the adjacent time is consistent with the cell number of the base station corresponding to the current area, an identifier for identifying the network mode switching record to a first value; when the base station cell number in the history record of the adjacent time is detected to be inconsistent with the base station cell number corresponding to the current area, setting the identifier for identifying the network mode switching record as a second numerical value;
the first numerical value is used for representing that the terminal equipment does not perform network mode switching in the current area in unit time, and the second numerical value is used for representing that the terminal equipment has undergone network mode switching in the current area in unit time.
Therefore, by implementing the optional embodiment, the condition setting for network mode switching can be used to avoid the waste of resources caused by frequently executing network mode switching in a short time.
In an exemplary embodiment of the present application, the monitoring unit 601 is further configured to detect a 5G network connection condition of the second subscriber identity card after the network mode switching unit 603 switches the second subscriber identity card to a first network mode including a 5G network and switches the first subscriber identity card to a second network mode not including the 5G network;
the network mode switching unit 603 is further configured to switch the second subscriber identity card to the second network mode and switch the first subscriber identity card to the first network mode when the 5G network connection condition of the second subscriber identity card is used to indicate that the second subscriber identity card cannot be connected to the 5G network.
Therefore, by implementing the optional embodiment, the first subscriber identity module can be switched to the first network mode in time when the second subscriber identity module cannot be connected to the 5G network, so that the first subscriber identity module can be connected to the 5G network in time when the first subscriber identity module can be connected to the 5G network, and the use experience of a user is improved.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
For details that are not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the network mode switching method described above for the details that are not disclosed in the embodiments of the apparatus of the present application.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs, which when executed by one of the electronic devices, cause the electronic device to implement the method described in the above embodiments.
It should be noted that the computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A network mode switching method, comprising:
monitoring the 5G network connection condition of a first user identification card in the terminal equipment;
if the 5G network connection condition of the first subscriber identity module card is used for indicating that the first subscriber identity module card is disconnected from the 5G network, detecting the residual data traffic of a second subscriber identity module card in the terminal equipment;
when the residual data flow is larger than a preset threshold value, switching the second subscriber identity card to a first network mode containing the 5G network, and switching the first subscriber identity card to a second network mode not containing the 5G network;
wherein the method further comprises:
determining the cell number of the base station in the current area and the current time, and correspondingly storing the current time and the cell number of the base station in the current area;
if the 5G network connection condition of the first subscriber identity card is used to indicate that the first subscriber identity card is disconnected from the 5G network, detecting the remaining data traffic of a second subscriber identity card in the terminal device includes: if the 5G network connection condition of the first subscriber identity module card is used for indicating that the first subscriber identity module card is disconnected from the 5G network, determining a second operator corresponding to the second subscriber identity module card and a 5G network deployment area corresponding to the second operator, determining the current position of the terminal equipment through a GPS, and if the current position is detected to be in the 5G network deployment area corresponding to the second operator, detecting the residual data traffic of the second subscriber identity module card in the terminal equipment;
further comprising: if the current position is detected not to be in the 5G network deployment area corresponding to the second operator, outputting prompt information for prompting that neither the first user identification card nor the second user identification card can be connected to the 5G network, determining a first operator corresponding to the first user identification card and the 5G network deployment area corresponding to the first operator, selecting a target area closest to the current position of the terminal device from the 5G network deployment area corresponding to the first operator and the 5G network deployment area corresponding to the second operator, generating a navigation route taking the current position as a starting point and any position in the target area as a terminal point, and outputting the navigation route.
2. The method according to claim 1, wherein switching the second subscriber identity card to a first network mode including the 5G network when the remaining data traffic is greater than a preset threshold comprises:
detecting the network residing state of the second user identification card;
when the residual data traffic is greater than the preset threshold and the network residence state is used for indicating that an operator corresponding to the second subscriber identity card supports the 5G network, switching the second subscriber identity card from a second network mode not including the 5G network to a first network mode including the 5G network.
3. The method according to claim 1, wherein if the 5G network connection condition is used to indicate that the first subscriber identity card is disconnected from the 5G network, detecting the remaining data traffic of a second subscriber identity card in the terminal device comprises:
and if the 5G network connection condition is used for indicating that the first subscriber identity card is disconnected from the 5G network, continuously timing the disconnection state, and detecting the residual data traffic of a second subscriber identity card in the terminal equipment when the timing result reaches the preset duration.
4. The method of claim 1, wherein switching the second subscriber identity card to a first network mode including the 5G network comprises:
acquiring an identifier for identifying a network mode switching record;
and if the identifier indicates that the terminal equipment does not perform network mode switching in the current area in unit time, switching the second subscriber identity card to a first network mode containing the 5G network.
5. The method of claim 4, wherein after switching the first subscriber identity card to the second network mode not including the 5G network, the method further comprises:
updating the identifier such that the updated identifier indicates that the terminal device has undergone network mode switching in the current area for the unit time.
6. The method of claim 4, wherein prior to obtaining the identifier for identifying the network mode switch record, the method further comprises:
reading a base station cell number corresponding to the current area;
when detecting that the cell number of the base station in the history record of the adjacent time is consistent with the cell number of the base station corresponding to the current area, setting an identifier for identifying the network mode switching record as a first numerical value;
when the base station cell number in the history record of the adjacent time is detected to be inconsistent with the base station cell number corresponding to the current area, setting an identifier for identifying the network mode switching record as a second numerical value;
wherein the first value is used for indicating that the terminal device does not perform network mode switching in the current area in unit time, and the second value is used for indicating that the terminal device has undergone network mode switching in the current area in unit time.
7. The method of claim 1, wherein after switching the second subscriber identity card to a first network mode including the 5G network and switching the first subscriber identity card to a second network mode not including the 5G network, the method further comprises:
detecting the 5G network connection condition of the second user identification card;
and if the 5G network connection condition of the second user identification card is used for indicating that the second user identification card cannot be connected with the 5G network, switching the second user identification card to the second network mode, and switching the first user identification card to the first network mode.
8. A network mode switching apparatus, comprising:
the monitoring unit is used for monitoring the 5G network connection condition of the first user identification card in the terminal equipment;
a data traffic detection unit, configured to detect remaining data traffic of a second subscriber identity card in the terminal device when a 5G network connection condition of the first subscriber identity card is used to indicate that the first subscriber identity card is disconnected from a 5G network;
a network mode switching unit, configured to switch the second subscriber identity card to a first network mode including the 5G network and switch the first subscriber identity card to a second network mode not including the 5G network when the remaining data traffic is greater than a preset threshold;
wherein the apparatus is further configured to:
determining the cell number of the base station in the current area and the current time, and correspondingly storing the current time and the cell number of the base station in the current area;
when the 5G network connection condition of the first subscriber identity card is used to indicate that the first subscriber identity card is disconnected from the 5G network, the data traffic detection unit detects the remaining data traffic of a second subscriber identity card in the terminal device, including: if the 5G network connection condition of the first subscriber identity module card is used for indicating that the first subscriber identity module card is disconnected from the 5G network, determining a second operator corresponding to the second subscriber identity module card and a 5G network deployment area corresponding to the second operator, determining the current position of the terminal equipment through a GPS, and if the current position is detected to be in the 5G network deployment area corresponding to the second operator, detecting the residual data traffic of the second subscriber identity module card in the terminal equipment;
the apparatus is further configured to: if the current position is detected not to be in the 5G network deployment area corresponding to the second operator, outputting prompt information for prompting that neither the first user identification card nor the second user identification card can be connected to the 5G network, determining a first operator corresponding to the first user identification card and the 5G network deployment area corresponding to the first operator, selecting a target area closest to the current position of the terminal device from the 5G network deployment area corresponding to the first operator and the 5G network deployment area corresponding to the second operator, generating a navigation route taking the current position as a starting point and any position in the target area as a terminal point, and outputting the navigation route.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 7.
10. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of claims 1-7 via execution of the executable instructions.
CN202110907231.0A 2021-08-09 2021-08-09 Network mode switching method, network mode switching device, medium, and electronic device Active CN113613239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110907231.0A CN113613239B (en) 2021-08-09 2021-08-09 Network mode switching method, network mode switching device, medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110907231.0A CN113613239B (en) 2021-08-09 2021-08-09 Network mode switching method, network mode switching device, medium, and electronic device

Publications (2)

Publication Number Publication Date
CN113613239A CN113613239A (en) 2021-11-05
CN113613239B true CN113613239B (en) 2023-03-24

Family

ID=78307596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110907231.0A Active CN113613239B (en) 2021-08-09 2021-08-09 Network mode switching method, network mode switching device, medium, and electronic device

Country Status (1)

Country Link
CN (1) CN113613239B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115915105B (en) * 2022-11-29 2023-07-04 优游宝科技(深圳)有限公司 Method and system for monitoring mobile data flow of esim card based on intelligent algorithm

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10660005B1 (en) * 2018-11-28 2020-05-19 International Business Machines Corporation Cellular network handoff planning

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006005225A1 (en) * 2004-07-12 2006-01-19 Zte Corporation A method for detecting frequent handover in the wireless local area network
KR20110103625A (en) * 2010-03-15 2011-09-21 삼성전자주식회사 Dual standby portable terminal and method for connecting audio path
KR101649994B1 (en) * 2010-04-30 2016-08-22 삼성전자주식회사 Apparatus and method for automatic sim card selection according to network environment in dual mode terminal
US9215638B2 (en) * 2012-02-24 2015-12-15 Qualcomm Incorporated Method and system for regulating frequent cell reselections by idle-mode mobile devices
CN104902528B (en) * 2015-04-28 2018-10-26 宇龙计算机通信科技(深圳)有限公司 The method and apparatus that a kind of double-terminal and its data service are automatically switched
CN107912083B (en) * 2015-06-25 2020-01-31 华为技术有限公司 Working mode switching method and device and mobile terminal
CN105554830B (en) * 2015-09-25 2019-06-11 宇龙计算机通信科技(深圳)有限公司 A kind of network mode switch protecting method and device
CN106658629B (en) * 2015-10-28 2019-10-01 小米科技有限责任公司 Method for switching network and device
CN107566985B (en) * 2017-10-20 2020-03-31 维沃移动通信有限公司 Method and device for determining main SIM card of mobile terminal
CN110831077B (en) * 2018-08-08 2022-05-06 中兴通讯股份有限公司 Mobile data service switching method, terminal and computer storage medium
CN111343685B (en) * 2020-05-21 2020-09-18 北京小米移动软件有限公司 Communication processing method, communication processing apparatus, and storage medium
CN111787582A (en) * 2020-06-30 2020-10-16 联想(北京)有限公司 Network switching processing method and device
CN113225726B (en) * 2021-03-22 2023-05-16 闻泰通讯股份有限公司 Terminal-based switching method and device, terminal and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10660005B1 (en) * 2018-11-28 2020-05-19 International Business Machines Corporation Cellular network handoff planning

Also Published As

Publication number Publication date
CN113613239A (en) 2021-11-05

Similar Documents

Publication Publication Date Title
CN107295609B (en) Network slice processing method and device, terminal and base station
JP7412841B2 (en) Data processing methods and devices, electronic equipment, terminal equipment and computer programs
US10009718B2 (en) Sign-in method and device, sign-in server, and storage medium
US8665730B2 (en) Test device and test method for mobile communication terminal
CN108810123B (en) Method and apparatus for provisioning mobile cellular network services
CN108076479B (en) Multi-card mobile terminal and service switching method and device thereof
CN108377479B (en) Multi-card mobile terminal and service processing method and device thereof
JP7196086B2 (en) Information processing method, apparatus, computer-readable storage medium and electronic equipment
CN106851702A (en) The abnormal processing method and processing device of network communicating function
CN110933704A (en) Network communication method, device, storage medium and electronic equipment
CN113613239B (en) Network mode switching method, network mode switching device, medium, and electronic device
CN105635934B (en) Service opening method and device and HSS (home subscriber server)
EP2557846A1 (en) Terminal called processing/testing method and long time evolution system
CN110677926A (en) Connection method, device, storage medium and server of mobile communication network
CN108601018B (en) Processing method for network communication function abnormity, application processor and mobile terminal
CN106412878A (en) Device and method for activating subscriber identity module card
CN105337980A (en) Method and device for selecting multi-card terminal communication network
CN108174378B (en) Number identification method, device, terminal and storage medium
CN112202973B (en) Terminal control method and device, electronic equipment and computer readable medium
CN111542080B (en) Mobile network recovery method and device of terminal, terminal and storage medium
CN108282804B (en) Processing method for network communication function abnormity, application processor and mobile terminal
CN110177105B (en) Media file monitoring method, device and system, storage medium and processor
CN114125963A (en) Radio Resource Control (RRC) connection reestablishment method and device
CN111052793B (en) Method and device for mobility management
US11082826B2 (en) Emergency communication method and apparatus

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