CN110831096B - Network switching method and electronic equipment - Google Patents

Network switching method and electronic equipment Download PDF

Info

Publication number
CN110831096B
CN110831096B CN201911096509.XA CN201911096509A CN110831096B CN 110831096 B CN110831096 B CN 110831096B CN 201911096509 A CN201911096509 A CN 201911096509A CN 110831096 B CN110831096 B CN 110831096B
Authority
CN
China
Prior art keywords
network
access mode
electronic device
side device
network side
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
CN201911096509.XA
Other languages
Chinese (zh)
Other versions
CN110831096A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911096509.XA priority Critical patent/CN110831096B/en
Publication of CN110831096A publication Critical patent/CN110831096A/en
Application granted granted Critical
Publication of CN110831096B publication Critical patent/CN110831096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • H04W36/0094Definition of hand-off measurement parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • 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

Abstract

The invention discloses a network switching method and electronic equipment, wherein the method comprises the following steps: acquiring the temperature, the electric quantity, the current operation service information and the current working first network access mode of the electronic equipment; determining whether to switch to a second network access mode according to the temperature and the electric quantity of the electronic equipment, the current operation service information and the first network access mode; if yes, switching from the first network access mode to the second network access mode; the first network access mode is one of a 5G network priority access mode and a 4G network priority access mode, and the second network access mode is the other one of the 5G network priority access mode and the 4G network priority access mode except the first network access mode. By implementing the method, 5G and 4G network residence optimization can be carried out according to the temperature, the electric quantity and the service scene of the electronic equipment, the power consumption is reduced, the standby time is prolonged on the premise of not influencing the user experience, and therefore the user experience is improved.

Description

Network switching method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a network switching method and electronic equipment.
Background
With the development of communication technology, the 5G era has come, and 5G has characteristics of low delay, high rate, high reliability and the like compared with 4G. At present, 5G electronic equipment is switched in 5G by default under a 5G network, the standby time of the whole machine is shorter than that of the 4G network, and the problem of increased cost and weight of the whole machine is caused by prolonging the standby time by expanding the battery capacity.
Disclosure of Invention
The embodiment of the invention provides a network switching method and electronic equipment, and aims to solve the problems of cost increase and whole machine weight increase caused by prolonging standby time by expanding battery capacity in the prior art.
To solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a network switching method, which is applied to an electronic device, and the method includes:
acquiring the temperature, the electric quantity, the current operation service information and the current working first network access mode of the electronic equipment;
determining whether to switch to a second network access mode according to the temperature, the electric quantity, the current operation service information and the first network access mode;
if so, switching from the first network access mode to the second network access mode;
the first network access mode is one of a 5G network priority access mode and a 4G network priority access mode, and the second network access mode is the other one of the 5G network priority access mode and the 4G network priority access mode except for the first network access mode.
Optionally, as an embodiment, the determining whether to switch to a second network access mode according to the temperature, the power amount, the currently operating service information, and the first network access mode includes:
under the condition that the first network access mode is the 5G network priority access mode, if one of the following situations occurs, the temperature is greater than a preset temperature threshold value, the electric quantity is lower than a preset electric quantity threshold value, and the currently running service is a standby service, determining to switch to the 4G network priority access mode;
and under the condition that the first network access mode is the 4G network priority access mode, if the temperature does not reach a preset temperature threshold value, the electric quantity is higher than a preset electric quantity threshold value, and the running service is any one of a file downloading service, an ultra-clear video playing service, a live broadcast service, a game fighting service and a preset 5G white list service, determining to switch to the 5G network priority access mode.
Optionally, as an embodiment, when the first network access mode is the 5G network priority access mode and the second network access mode is the 4G network priority access mode, the switching from the first network access mode to the second network access mode includes:
determining whether the electronic device is in a 4G and 5G dual connectivity state;
if the electronic device is in a 4G and 5G dual-connection state, sending a first Extended Service Request (ESR) signaling to a network side device, wherein the first ESR signaling is used for requesting the network side device to release a 4G Radio Resource Control (RRC) connection between the electronic device and the network side device, so that the electronic device enters a 4G idle state;
determining whether the 4G RRC connection between the electronic device and the network side device is released, and if the 4G RRC connection is released, sending a first Service Request (SR) signaling to the network side device, wherein the first SR signaling is used for requesting the network side device to establish the 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G connection state again from a 4G idle state;
if the electronic equipment enters the 4G connection state again, determining whether the network side equipment configures a new air interface NR measurement event for the electronic equipment, and if so, suspending long-term evolution to a new air interface L2NR for measurement;
if the electronic device is not in the 4G and 5G dual-connection state, determining whether the network side device configures an NR measurement event for the electronic device, and if so, suspending L2NR measurement.
Optionally, as an embodiment, the determining whether the 4G RRC connection between the electronic device and the network side device is released includes:
if a 4G RRC connection release signaling returned by the network side equipment is received, determining that the 4G RRC connection between the electronic equipment and the network side equipment is released;
and if the 4G RRC release signaling returned by the network side equipment is not received within the preset time length, indicating the electronic equipment to locally release the 4G RRC connection, and determining that the 4G RRC connection between the electronic equipment and the network side equipment is released when the electronic equipment locally releases the 4G RRC connection.
Optionally, as an embodiment, when the first network access mode is the 4G network priority access mode and the second network access mode is the 5G network priority access mode, the switching from the first network access mode to the second network access mode includes:
determining whether an NR measurement event configured by a network side device is reserved in the electronic device;
if the electronic equipment retains the NR measurement event configured by the network side equipment, starting L2NR measurement;
and determining whether the measured NR cell signal meets a preset reporting condition, and if so, reporting an NR measurement report to the network side equipment.
Optionally, as an embodiment, the method further includes:
if an NR measurement event configured by a network side device is not reserved in the electronic device, sending a second ESR signaling to the network side device, where the second ESR signaling is used to request the network side device to release a 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G idle state;
determining whether the 4G RRC connection between the electronic device and the network side device is released, and if the 4G RRC connection is released, sending a second SR signaling to the network side device, wherein the second SR signaling is used for requesting the network side device to establish the 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G connection state again from a 4G idle state;
if the electronic equipment enters the 4G connection state again, determining whether the network side equipment configures an NR measurement event for the electronic equipment, and if so, starting L2NR measurement;
and determining whether the measured NR cell signal meets a preset reporting condition, and if so, reporting an NR measurement report to the network side equipment.
In a second aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes:
the acquisition unit is used for acquiring the temperature, the electric quantity, the current operation service information and the current working first network access mode of the electronic equipment;
a determining unit, configured to determine whether to switch to a second network access mode according to the temperature, the electric quantity, the currently-operating service information, and the first network access mode;
a switching unit configured to switch from the first network access mode to the second network access mode if a determination result of the determination unit is yes;
the first network access mode is one of a 5G network priority access mode and a 4G network priority access mode, and the second network access mode is the other one of the 5G network priority access mode and the 4G network priority access mode except for the first network access mode.
Optionally, as an embodiment, the determining unit includes:
a first determining subunit, configured to determine to switch to the 4G network priority access mode if one of the following situations occurs when the first network access mode is the 5G network priority access mode, the temperature is greater than a preset temperature threshold, the electric quantity is lower than a preset electric quantity threshold, and the currently running service is a standby service;
and a second determining subunit, configured to determine to switch to the 5G network priority access mode if the first network access mode is the 4G network priority access mode, and if the temperature does not reach a preset temperature threshold, the power amount is higher than a preset power amount threshold, and the running service is any one of a file download service, an ultra-clear video playing service, a live broadcast service, a game fighting service, and a preset 5G white list service.
Optionally, as an embodiment, when the first network access mode is the 5G network priority access mode, and the second network access mode is the 4G network priority access mode, the switching unit includes:
a third determining subunit, configured to determine whether the electronic device is in a 4G and 5G dual-connection state;
a first sending subunit, configured to send, to a network side device, a first extended service request ESR signaling when a determination result of the third determining subunit is yes, where the first ESR signaling is used to request the network side device to release a 4G radio resource control protocol RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G idle state;
a fourth determining subunit, configured to determine whether a 4G RRC connection between the electronic device and the network-side device is released;
a second sending subunit, configured to send, when a determination result of the fourth determining subunit is yes, a first service request SR signaling to the network side device, where the first SR signaling is used to request the network side device to establish a 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G connection state again from a 4G idle state;
a fifth determining subunit, configured to determine, when the electronic device enters the 4G connection state again, whether the network-side device configures a new air interface NR measurement event for the electronic device, and if so, suspend long-term evolution to measure a new air interface L2 NR;
a sixth determining subunit, configured to, if the determination result of the third determining subunit is negative, determine whether the network-side device configures an NR measurement event for the electronic device, and if so, suspend L2NR measurement.
Optionally, as an embodiment, the fourth determining subunit includes:
a first determining module, configured to determine that a 4G RRC connection between the electronic device and the network-side device is released when receiving a 4G RRC connection release signaling returned by the network-side device;
a second determining module, configured to instruct the electronic device to locally release the 4G RRC connection when a 4G RRC release signaling returned by the network-side device is not received within a preset time period, and determine that the 4G RRC connection between the electronic device and the network-side device is released when the electronic device locally releases the 4G RRC connection.
Optionally, as an embodiment, when the first network access mode is the 4G network priority access mode, and the second network access mode is the 5G network priority access mode, the switching unit includes:
a seventh determining subunit, configured to determine whether an NR measurement event configured by a network side device remains in the electronic device;
a first promoter unit for initiating an L2NR measurement in case the determination result of said seventh determining subunit is YES;
and an eighth determining subunit, configured to determine whether the measured NR cell signal satisfies a preset reporting condition, and if so, report an NR measurement report to the network side device.
Optionally, as an embodiment, the electronic device further includes:
a third sending subunit, configured to send, to the network side device, a second ESR signaling when a determination result of the seventh determining subunit is negative, where the second ESR signaling is used to request the network side device to release a 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G idle state;
a ninth determining subunit, configured to determine whether the 4G RRC connection between the electronic device and the network-side device is released;
a fourth sending subunit, configured to send, to the network-side device, a second SR signaling when a determination result of the ninth determining subunit is yes, where the second SR signaling is used to request the network-side device to establish a 4G RRC connection between the electronic device and the network-side device, so that the electronic device enters a 4G connection state again from a 4G idle state;
a tenth determining subunit, configured to determine, when the electronic device enters the 4G connection state again, whether the network-side device configures an NR measurement event for the electronic device;
a second promoter unit for initiating an L2NR measurement in case the determination result of said tenth determining subunit is YES;
an eleventh determining subunit, configured to determine whether the measured NR cell signal meets a preset reporting condition, and if so, report an NR measurement report to the network side device.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of any of the network handover methods described above.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of any of the above-mentioned network handover methods.
In the embodiment of the invention, the temperature, the electric quantity, the current operation service information and the current working network access mode of the electronic equipment can be acquired, and the network access mode can be adjusted according to the acquired content. Compared with the prior art, the embodiment of the invention can perform 5G and 4G network residence optimization according to the temperature, the electric quantity and the service scene of the electronic equipment, reduce the power consumption and prolong the standby time on the premise of not influencing the user experience, thereby improving the user experience.
Drawings
Fig. 1 is a flowchart of a network handover method according to an embodiment of the present invention;
fig. 2 is an exemplary diagram of an overall process of another network handover method according to an embodiment of the present invention;
fig. 3 is a flowchart of steps provided by an embodiment of the present invention to switch from a 5G network preferred access mode to a 4G network preferred access mode;
fig. 4 is an exemplary diagram of an overall process of switching from the 5G network priority access mode to the 4G network priority access mode according to another embodiment of the present invention;
fig. 5 is a flowchart of steps provided by an embodiment of the present invention to switch from a 4G network preferred access mode to a 5G network preferred access mode;
fig. 6 is an exemplary diagram of an overall process of switching from the 4G network priority access mode to the 5G network priority access mode according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
With the development of communication technology, the 5G era has come, and 5G has characteristics of low delay, high rate, high reliability and the like compared with 4G. Some operators consider rapid deployment and cost, most of the currently deployed networks are NSA (non stand alone networking) architecture networks, and correspondingly, electronic devices need to camp in a dual connectivity form (endec, EUTRA, NR dual connectivity), that is, 4G +5G are connected simultaneously, 4G can be used as a control plane, and 5G can be used as a user plane. Compared with the common 4G electronic equipment (supporting 4G/3G/2G standard), the NSA 5G electronic equipment (supporting 5G/4G/3G/2G) has larger power consumption.
The concrete mainly embodies in the following aspects: double connection: the 4G and the 5G work simultaneously, and the power consumption is naturally higher than that of the single registration in the 4G; the scheduling is more frequent: 5G supports smaller service scheduling; the working bandwidth is higher: the maximum bandwidth supported by 5G sub-6G is 100MHZ, the maximum bandwidth supported by millimeter waves is 400MHZ, and the maximum bandwidth supported by 4G is 20 MHZ; the number of accesses increases: the terminal firstly searches and accesses the 4G cell, and then completes the synchronization and the access of the 5G base station according to the auxiliary information sent by the 4G base station; the measurement is more frequent: the 5G electronic device needs to measure multiple beams in a single cell, and the 4G electronic device only needs to measure a single beam in each cell.
Currently, electronic equipment integrated with a communication baseband chip provider is used to display that 5G consumes 137mA to 292mA more power than 4G and the average is 222mA more power for typical use scenes of users, such as standby, web browsing, downloading, video watching, game testing and the like. The default of 5G electronic equipment is to access 5G under a 5G environment, the standby time of the whole machine is shorter than that of accessing 4G, and the method of prolonging the standby time by expanding the battery capacity brings cost and weight problems, which are difficult to accept for the electronic equipment and users.
In order to solve the above technical problem, embodiments of the present invention provide a network switching method and an electronic device.
For ease of understanding, the concepts involved in the embodiments of the present invention will be described first.
The 5G network priority access mode refers to that 5G is preferentially registered under the condition that 5G signals are covered and the network access requirement is met.
The 4G network priority access mode refers to priority registration of 4G regardless of the presence or absence of 5G signal coverage.
It should be noted that, in the embodiment of the present invention, both the 5G priority and the 4G priority refer to supporting the 5G/4G/3G/2G multimode network mode, and the 4G priority is preferentially registered regardless of whether there is 5G coverage by removing the 5G network mode, switching to the 4G/3G/2G multimode network mode, and updating to the network side.
ESR (Extended Service Request) signaling is a signaling for instructing electronic devices and network-side devices to fall back from 4G to 2G/3G for CSFB (Circuit Switched Fallback). In the embodiment of the present invention, the purpose of 5G release can be achieved by multiplexing the signaling, and the basic principle is as follows: when receiving an ESR signaling from an electronic device, a network side device usually actively releases a 4G RRC (Radio Resource Control, Radio Resource Control protocol) connection (which may not be released in a special case, and the processing manner is an timeout mechanism of an ESR timer), instead of under an independent networking, 5G is used as an auxiliary cell anchor in a 4G cell in a connected state, so that a result of the 4G release is that 5G is naturally released, and a purpose of switching 4G priority can be achieved preliminarily.
SR (Service Request) signaling, an instruction for instructing an electronic device and a network side device to establish 4G RRC connection, where the electronic device sends the SR signaling to the network side device, and may re-enter a 4G connected state from a 4G idle state.
Next, a network switching method provided in an embodiment of the present invention is described.
It should be noted that the method provided by the embodiment of the present invention is applicable to an electronic device, and in practical application, the electronic device may include: smart phones, tablet computers, personal digital assistants, and the like, which are not limited in this embodiment of the present invention.
Fig. 1 is a flowchart of a network handover method according to an embodiment of the present invention, and as shown in fig. 1, the method may include the following steps: step 101, step 102 and step 103, wherein,
in step 101, the temperature, the electric quantity, the currently running service information and the currently working first network access mode of the electronic device are obtained, wherein the first network access mode is one of a 5G network priority access mode and a 4G network priority access mode.
In step 102, whether to switch to a second network access mode is determined according to the temperature, the electric quantity, the currently-operating service information and the first network access mode of the electronic device, wherein the second network access mode is the other one of the 5G network priority access mode and the 4G network priority access mode except the first network access mode.
In the embodiment of the invention, when the first network access mode is a 5G network priority access mode, the second network access mode is a 4G network priority access mode; and when the first network access mode is a 4G network priority access mode, the second network access mode is a 5G network priority access mode.
In an embodiment of the present invention, the step 102 may specifically include the following steps (not shown in the figure): step 1021 and step 1022, wherein,
in step 1021, when the first network access mode is the 5G network priority access mode, if one of the following situations occurs, where the temperature of the electronic device is greater than a preset temperature threshold, the power of the electronic device is lower than a preset power threshold, and a currently running service in the electronic device is a standby service, determining to switch to the 4G network priority access mode;
in the embodiment of the invention, considering that the 5G power consumption is larger than the 4G power consumption, the heat generation is more, and the temperature rise is more obvious when the user continuously uses the service, when the temperature of the electronic equipment exceeds a certain threshold value, for example, exceeds 45 ℃, the user can feel hot, and the CPU performance is also reduced, under the condition, if the electronic equipment is switched to the 4G network priority access mode, the power consumption of the electronic equipment can be reduced.
In the embodiment of the invention, when the remaining power of the electronic device is less than a certain threshold, for example, less than 30%, if the electronic device is switched to the 4G network priority access mode, the duration of the electronic device is prolonged.
In the embodiment of the invention, under the condition that the user does not use the electronic equipment and no background application runs in the electronic equipment, if the electronic equipment is switched to the 4G network priority access mode, the electric quantity of the electronic equipment can be saved.
In step 1022, in the case that the first network access mode is the 4G network priority access mode, if the temperature of the electronic device does not reach the preset temperature threshold, the power of the electronic device is higher than the preset power threshold, and the running service in the electronic device is any one of a file download service, an ultra-clear video playing service, a live broadcast service, a game fighting service, and a preset 5G white list service, it is determined to switch to the 5G network priority access mode.
In the embodiment of the invention, in consideration of the characteristics of low time delay, high speed, high reliability and the like of 5G compared with 4G, when a user downloads a large file through electronic equipment, for example, an apk file is downloaded on an application store through the electronic equipment, or a movie is downloaded through a downloading tool, if the mode is switched to a 5G network priority access mode, the file downloading speed can be increased, and the time consumption for downloading the file can be shortened.
In the embodiment of the invention, when a user watches ultra-clear videos (such as 2K videos or even 4K videos) or live broadcasts through the electronic equipment, the watching using the traditional 4G network is possibly more unsmooth, and if the 5G network has a priority access mode, more excellent user experience can be brought.
In the embodiment of the invention, when the user carries out real-time fighting games through the electronic equipment, the traditional 4G network is likely to suffer from high delay time jamming frequently, and if the traditional 4G network is switched to a 5G network priority access mode, the user experience can be better ensured.
In the embodiment of the invention, a manufacturer or a user of the electronic equipment can set the 5G white list, and flexibly adjust the application/service of the 5G white list according to the actual situation, for example, the user starts a hot spot function, and when the user shares the application/service with other people, the user does not want to consume too fast flow, and can select to delete the application/service from the 5G white list; and if the user is used for connecting a home television to watch the ultra-clear video, the user hopes to obtain better experience, and the user can add the ultra-clear video to the 5G white list.
Therefore, in the embodiment of the invention, 5G and 4G network residence optimization can be carried out aiming at different service scenes, the power consumption is reduced on the premise of not influencing the use experience of a user, and the standby time is prolonged.
In step 103, in case it is determined to switch to the second network access mode, switching from the first network access mode to the second network access mode.
In order to facilitate the overall understanding of the technical solution of the present invention, the description is made with reference to the exemplary diagram shown in fig. 2, as shown in fig. 2: step 201, step 202, step 203, step 204, step 205, step 206, step 207, step 208 and step 209, wherein,
step 201: whether the temperature is less than a set threshold;
if the determination result is "no", go to step 203;
if the determination result is "yes", the process proceeds to step 202.
Step 202: whether the electric quantity is greater than a set threshold value;
if the determination result is "no", go to step 203;
if the determination result is "yes", the process proceeds to step 204.
Step 203: and switching the 4G priority access mode.
Step 204: judging whether the mobile terminal is in standby;
if the determination result is "yes", go to step 203;
if the determination result is "no", step 205 is entered.
Step 205: whether a large file is being downloaded;
if the determination result is "yes", go to step 207;
if the determination result is "no", go to step 206; wherein, a large file package size threshold may be set, for example, 50M, and a large file is set when 50M is exceeded.
Step 206: whether super-definition video/live broadcast is played;
if the determination result is "yes", go to step 207;
if the determination result is "no", step 208 is entered.
Step 207: and switching the 5G priority access mode.
Step 208: whether a real-time battle game is in progress;
if the determination result is "yes", go to step 207;
if the determination result is "no", go to step 209.
Step 209: whether the service is in a set 5G white list or not;
if the determination result is "yes", go to step 207;
if the determination result is "no", step 203 is entered.
As can be seen from the above embodiments, in this embodiment, the temperature, the electric quantity, the currently operating service information, and the currently operating network access mode of the electronic device may be acquired, and the network access mode may be adjusted according to the acquired content. Compared with the prior art, the embodiment of the invention can perform 5G and 4G network residence optimization according to the temperature, the electric quantity and the service scene of the electronic equipment, reduce the power consumption and prolong the standby time on the premise of not influencing the user experience, thereby improving the user experience.
In an embodiment provided by the present invention, when the first network access mode is a 5G network priority access mode and the second network access mode is a 4G network priority access mode, as shown in fig. 3, fig. 3 is a flowchart of a step of switching from the 5G network priority access mode to the 4G network priority access mode according to the embodiment of the present invention, where the step may include the following steps: step 301, step 302, step 303, step 304 and step 305, wherein,
in step 301, determining whether the electronic device is in a 4G and 5G dual-connection state; if so, go to step 302, otherwise go to step 305.
In the embodiment of the present invention, considering that the electronic device is not necessarily registered in 5G under the condition of 5G priority, for example, a 5G coverage signal is weak (does not satisfy a registration threshold), and the terminal may not register in 5G due to network side access restriction (a 5G system cell sets a flag cellBarred value to barred).
In step 302, if the electronic device is in a 4G and 5G dual-connection state, sending a first ESR signaling to the network side device; the first ESR signaling is used to request the network side device to release the 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G idle state.
In the embodiment of the invention, the electronic equipment requests the network side equipment to release the 4G RRC connection by sending the ESR signaling to the network side equipment, so that the release of the 5G is realized.
In step 303, determining whether the 4G RRC connection between the electronic device and the network side device is released, and if the 4G RRC connection is released, sending a first SR signaling to the network side device; the first SR signaling is used to request the network side device to establish a 4G RRC connection between the electronic device and the network side device, so that the electronic device enters the 4G connection state again from the 4G idle state.
In the embodiment of the present invention, after receiving the ESR signaling from the electronic device, the network side device may immediately issue a Radio Resource Control Connection Release (RRC Release) signaling and carry a 2G/3G redirection frequency point under a normal condition, and after receiving the RRC Release signaling from the network side device, the electronic device enters a 4G idle state. It should be noted that, because the call is not an actual CSFB call, in order to ensure that the 4G anchor can normally reside and does not fall back to the 2G/3G, the electronic device needs to ignore the redirection frequency point and does not perform the redirection step.
Considering that when the electronic device sends the ESR signaling, an ESR timer in the electronic device starts timing, and when the network side device actively releases the 4G RRC connection, the timer stops running, and if the timer is overtime, the electronic device locally releases the RRC connection, that is, the situation is an avoidance measure considering the situation that the network side device does not actively release the 4G RRC connection; before the timer is overtime, the network side equipment is circularly checked whether to actively release the 4G RRC connection. The electronic device locally releases the 4G RRC connection considering that the 3GPP protocol specification does not specify on the 4G network, and the electronic device side can directly notify the network side device to release the RRC release signaling.
Based on the above analysis, correspondingly, in an embodiment of the present invention, the step of determining whether the 4G RRC connection between the electronic device and the network side device is released may specifically include the following steps (not shown in the figure): step 3031 and step 3032, wherein,
in step 3031, if a 4G RRC connection release signaling returned by the network side device is received, it is determined that the 4G RRC connection between the electronic device and the network side device is released;
in step 3032, if the 4G RRC release signaling returned by the network side device is not received within the preset time period, the electronic device is instructed to locally release the 4G RRC connection, and when the electronic device locally releases the 4G RRC connection, it is determined that the 4G RRC connection between the electronic device and the network side device is released.
In the embodiment of the present invention, after it is determined that the 4G RRC connection between the electronic device and the network-side device is released, because the 5G RRC connection between the electronic device and the network-side device is released, the electronic device needs to send an SR signaling to the network-side device to enable the electronic device to reenter the 4G connected state from the 4G idle state.
In step 304, if the electronic device enters the 4G connection state again, it is determined whether the network side device configures a new air interface NR measurement event for the electronic device, and if so, the L2NR measurement is suspended.
In the embodiment of the present invention, when the network side device configures an NR measurement event for the electronic device, the electronic device Mute/suspend L2NR (for short for LTE to NR) measures to implement that the electronic device does not report a 5G measurement report to the network side device, and at this time, the network side device generally does not add a 5G secondary cell, thereby implementing a switch from a 5G network priority access mode to a 4G network priority access mode.
In step 305, if the electronic device is not in the dual-connection state of 4G and 5G, it is determined whether the network-side device configures an NR measurement event for the electronic device, and if so, L2NR measurement is suspended.
In the embodiment of the present invention, when the electronic device is not in the 4G and 5G dual-connection state and the network side device configures an NR measurement event for the electronic device, the Mute L2NR of the electronic device measures to enable the electronic device not to report a 5G measurement report to the network side device, and at this time, the network side device does not add a 5G auxiliary cell in a general situation, so that the 5G network priority access mode is switched to the 4G network priority access mode.
To facilitate an understanding of the 5G-first to 4G-first scheme as a whole, a description is made in conjunction with the example diagram shown in fig. 4, as shown in fig. 4: step 401, step 402, step 403, step 404, step 405, step 406, step 407, step 408, step 409 and step 410, wherein,
step 401: the 5G network priority access mode is switched to the 4G network priority access mode, and the process proceeds to step 402.
Step 402: judging whether the connection state is in a 4G +5G double-connection state or not;
if the determination result is "no", go to step 408;
if the determination result is "yes", the process proceeds to step 403.
Step 403: and sending an Extended Service Request to the network side equipment.
Step 404: checking whether the network side equipment actively releases RRC connection;
if the determination result is "no", go to step 405;
if the determination result is "yes", step 407 is entered.
Step 405: checking whether the ESR timer is overtime;
if the determination result is "no", go to step 404;
if yes, go to step 406.
Step 406: the electronic device locally releases the RRC connection and proceeds to step 407.
Step 407: and sending a Service Request to the network side device, and entering step 408.
Step 408: whether the network side equipment configures an NR measurement event for the electronic equipment or not;
if the determination result is "no", go to step 410;
if the determination result is "yes", the process proceeds to step 409.
Step 409: mute L2NR measurement.
Step 410: and (6) ending.
Therefore, in the embodiment of the present invention, ESR signaling is used to implement 4G RRC connection release, and then 5G is correspondingly released, and then SR signaling is initiated to enter a 4G connection state, and then measurement is performed by the electronic device Mute L2NR, so that no NR measurement report is reported to the network side device, and finally 4G priority is implemented. The implementation process does not involve the change of the capability of the electronic equipment, not only can the purpose of fast network switching be realized, but also the performance evaluation of the network side of an operator on the mobile terminal can not be influenced.
In another embodiment provided by the present invention, when the first network access mode is the 4G network priority access mode and the second network access mode is the 5G network priority access mode, as shown in fig. 5, fig. 5 is a flowchart of a step of switching from the 4G network priority access mode to the 5G network priority access mode provided by the embodiment of the present invention, and the step may include the following steps: step 501, step 502, step 503, step 504 and step 505, wherein,
in step 501, determining whether an NR measurement event configured by a network side device remains in an electronic device; if yes, go to step 502, otherwise go to step 503.
In the embodiment of the present invention, as can be seen from the contents in the embodiment shown in fig. 2: one of the processes preferentially implemented by the 4G is Mute L2NR measurement, in which the electronic device does not report an NR measurement report to the network side device.
For this procedure, in the 4G connected state, depending on the implementation of the network side device, there are two possible behaviors: a first behavior, after a certain time (e.g. 3 seconds), the network side device notifies the electronic device to delete the local NR measurement event of the electronic device through reconfiguration signaling; in the second behavior, after the network side device configures the NR measurement event for the electronic device, the electronic device always retains the NR measurement event. In addition, if the electronic device is in the 4G idle state, the NR measurement event configuration is automatically deleted, because the measurement event only exists in the connected state.
In step 502, if the electronic device retains an NR measurement event configured by the network side device, L2NR measurement is started, it is determined whether the measured NR cell signal satisfies a preset reporting condition, and if so, an NR measurement report is reported to the network side device.
In the embodiment of the present invention, when an NR measurement event configured by a network side device is retained in an electronic device, the electronic device starts L2NR measurement to report an NR measurement report to the network side device, and after receiving the NR measurement report from the electronic device, the network side device generally adds a 5G auxiliary cell, thereby implementing 5G priority. For some cases, for example, a non-5G coverage area network or the NR measurement threshold is not reached, the electronic device does not report the NR measurement report, and continuously measures to check whether the reporting condition is met.
In step 503, if no NR measurement event configured by the network side device is reserved in the electronic device, sending a second ESR signaling to the network side device; the second ESR signaling is used to request the network side device to release the 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G idle state.
Considering that in order to implement switching from 4G priority to 5G priority, first, 4G needs to be released, in the embodiment of the present invention, an electronic device requests a network side device to release a 4G RRC connection by sending an ESR signaling to the network side device, so as to implement release of 4G; the ESR signaling is originally a signaling used for guiding the electronic equipment and the network side equipment to fall back from 4G to 2G/3G for CSFB call, and the signaling is multiplexed in the step to ensure that the electronic equipment enters a 4G idle state firstly, so as to provide a premise for initiating a Service Request subsequently: the network side device typically receives this ESR signaling and typically releases the 4G RRC connection on its own.
In step 504, it is determined whether the 4G RRC connection between the electronic device and the network side device is released, and if the 4G RRC connection is released, the second SR signaling is sent to the network side device; the second SR signaling is used to request the network side device to establish a 4G RRC connection between the electronic device and the network side device, so that the electronic device enters the 4G connection state again from the 4G idle state.
In the embodiment of the invention, after receiving the ESR signaling from the electronic device, the network side device immediately issues an RRC release signaling and carries the 2G/3G redirection frequency point under normal conditions, and after receiving the RRC release signaling from the network side device, the electronic device enters the 4G idle state. It should be noted that, because the call is not an actual CSFB call, in order to ensure that the 4G anchor can normally reside and does not fall back to the 2G/3G, the electronic device needs to ignore the redirection frequency point and does not perform the redirection step.
Considering that when the electronic device sends the ESR signaling, an ESR timer in the electronic device starts timing, and when the network side device actively releases the 4G RRC connection, the timer stops running, and if the timer is overtime, the electronic device locally releases the RRC connection, that is, the situation is an avoidance measure considering the situation that the network side device does not actively release the 4G RRC connection; before the timer is overtime, the network side equipment is circularly checked whether to actively release the 4G RRC connection. The electronic device locally releases the 4G RRC connection considering that the 3GPP protocol specification does not specify on the 4G network, and the electronic device side can directly notify the network side device to release the RRC release signaling.
Based on the above analysis, correspondingly, in an embodiment of the present invention, the step of determining whether the 4G RRC connection between the electronic device and the network side device is released may specifically include the following steps (not shown in the figure): step 5041 and step 5042, wherein,
in step 5041, if a 4G RRC connection release signaling returned by the network side device is received, it is determined that the 4G RRC connection between the electronic device and the network side device is released;
in step 5042, if the 4G RRC release signaling returned by the network side device is not received within the preset time period, the electronic device is instructed to locally release the 4G RRC connection, and when the electronic device locally releases the 4G RRC connection, it is determined that the 4G RRC connection between the electronic device and the network side device is released.
In the embodiment of the present invention, after it is determined that the 4G RRC connection between the electronic device and the network-side device is released, because the 4G RRC connection between the electronic device and the network-side device is released, the electronic device needs to send an SR signaling to the network-side device, so that states of the electronic device and the network-side device may be synchronized, and the electronic device enters the 4G connection state from the 4G idle state, so that it is possible for the network-side device to configure an NR measurement event for the electronic device.
In step 505, if the electronic device enters the 4G connection state again, it is determined whether the network side device configures an NR measurement event for the electronic device, and if so, L2NR measurement is started; and determining whether the measured NR cell signal meets a preset reporting condition, and if so, reporting an NR measurement report to network side equipment.
In the embodiment of the present invention, when the network side device configures an NR measurement event for the electronic device, the electronic device starts L2NR measurement to report an NR measurement report to the network side device, and after receiving the NR measurement report from the electronic device, the network side device generally adds a 5G secondary cell, thereby implementing 5G priority. For some cases, for example, a non-5G coverage area network or the NR measurement threshold is not reached, the electronic device does not report the NR measurement report, and continuously measures to check whether the reporting condition is met.
To facilitate an understanding of the 4G-first to 5G-first scheme as a whole, a description is made in conjunction with an example diagram shown in fig. 6, as shown in fig. 6: step 601, step 602, step 603, step 604, step 605, step 606, step 607, step 608, step 609, step 610, step 611 and step 612, wherein,
step 601: the 4G network preferred access mode is switched to the 5G network preferred access mode, and the process proceeds to step 602.
Step 602: whether an NR measurement event remains within the electronic device;
if the determination result is "no", go to step 603;
if the determination result is "yes", the process proceeds to step 609.
Step 603: an Extended Service Request is sent to the network side device, and the step 604 is entered.
Step 604: checking whether the network side equipment actively releases RRC connection;
if the determination result is "no", go to step 606;
if the determination result is "yes", step 605 is entered.
Step 605: and sending a Service Request to the network side device, and entering step 608.
Step 606: checking whether the ESR timer is overtime;
if the result is "no", go to step 604;
if the result is "yes", the process proceeds to step 607.
Step 607: the electronic device locally releases the RRC connection and proceeds to step 605.
Step 608: whether the network side equipment configures an NR measurement event for the electronic equipment or not;
if the determination result is "no", go to step 612;
if the determination result is "yes", the process proceeds to step 609.
Step 609: the L2NR measurement is initiated and step 610 is entered.
Step 610: the measured NR cell signal meets the reporting condition;
if the result is "no", continuously measuring whether the report condition is satisfied.
If the determination result is "yes", the process proceeds to step 611.
Step 611: and reporting an NR measurement report to network side equipment, and adding a 5G cell to the network side equipment.
Step 612: and (6) ending.
It can be seen that, in the embodiment of the present invention, 4G release is implemented by using ESR signaling, and then SR signaling is initiated to enter a 4G connection state, so that it is possible for a network side device to configure an NR measurement event for an electronic device, and then L2NR measurement is started, so that the electronic device can report an NR measurement report to the network side device, and finally 5G priority is implemented. The implementation process does not involve the change of the capability of the electronic equipment, not only can the purpose of fast network switching be realized, but also the performance evaluation of the network side of an operator on the mobile terminal can not be influenced.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 7, an electronic device 700 may include: an acquisition unit 701, a determination unit 702, and a switching unit 703, wherein,
an obtaining unit 701, configured to obtain a temperature, an electric quantity, currently operating service information, and a currently operating first network access mode of the electronic device;
a determining unit 702, configured to determine whether to switch to a second network access mode according to the temperature, the power amount, the currently operating service information, and the first network access mode;
a switching unit 703, configured to switch from the first network access mode to the second network access mode if a determination result of the determining unit is yes;
the first network access mode is one of a 5G network priority access mode and a 4G network priority access mode, and the second network access mode is the other one of the 5G network priority access mode and the 4G network priority access mode except for the first network access mode.
As can be seen from the above embodiments, in this embodiment, the temperature, the electric quantity, the currently operating service information, and the currently operating network access mode of the electronic device may be acquired, and the network access mode may be adjusted according to the acquired content. Compared with the prior art, the embodiment of the invention can perform 5G and 4G network residence optimization according to the temperature, the electric quantity and the service scene of the electronic equipment, reduce the power consumption and prolong the standby time on the premise of not influencing the user experience, thereby improving the user experience.
Optionally, as an embodiment, the determining unit 702 may include:
a first determining subunit, configured to determine to switch to the 4G network priority access mode if one of the following situations occurs when the first network access mode is the 5G network priority access mode, the temperature is greater than a preset temperature threshold, the electric quantity is lower than a preset electric quantity threshold, and the currently running service is a standby service;
and a second determining subunit, configured to determine to switch to the 5G network priority access mode if the first network access mode is the 4G network priority access mode, and if the temperature does not reach a preset temperature threshold, the power amount is higher than a preset power amount threshold, and the running service is any one of a file download service, an ultra-clear video playing service, a live broadcast service, a game fighting service, and a preset 5G white list service.
Optionally, as an embodiment, when the first network access mode is the 5G network priority access mode, and the second network access mode is the 4G network priority access mode, the switching unit 703 may include:
a third determining subunit, configured to determine whether the electronic device is in a 4G and 5G dual-connection state;
a first sending subunit, configured to send, to a network side device, a first extended service request ESR signaling when a determination result of the third determining subunit is yes, where the first ESR signaling is used to request the network side device to release a 4G radio resource control protocol RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G idle state;
a fourth determining subunit, configured to determine whether a 4G RRC connection between the electronic device and the network-side device is released;
a second sending subunit, configured to send, when a determination result of the fourth determining subunit is yes, a first service request SR signaling to the network side device, where the first SR signaling is used to request the network side device to establish a 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G connection state again from a 4G idle state;
a fifth determining subunit, configured to determine, when the electronic device enters the 4G connection state again, whether the network-side device configures a new air interface NR measurement event for the electronic device, and if so, suspend long-term evolution to measure a new air interface L2 NR;
a sixth determining subunit, configured to, if the determination result of the third determining subunit is negative, determine whether the network-side device configures an NR measurement event for the electronic device, and if so, suspend L2NR measurement.
Optionally, as an embodiment, the fourth determining subunit may include:
a first determining module, configured to determine that a 4G RRC connection between the electronic device and the network-side device is released when receiving a 4G RRC connection release signaling returned by the network-side device;
a second determining module, configured to instruct the electronic device to locally release the 4G RRC connection when a 4G RRC release signaling returned by the network-side device is not received within a preset time period, and determine that the 4G RRC connection between the electronic device and the network-side device is released when the electronic device locally releases the 4G RRC connection.
Optionally, as an embodiment, when the first network access mode is the 4G network priority access mode, and the second network access mode is the 5G network priority access mode, the switching unit 703 may include:
a seventh determining subunit, configured to determine whether an NR measurement event configured by a network side device remains in the electronic device;
a first promoter unit for initiating an L2NR measurement in case the determination result of said seventh determining subunit is YES;
and an eighth determining subunit, configured to determine whether the measured NR cell signal satisfies a preset reporting condition, and if so, report an NR measurement report to the network side device.
Optionally, as an embodiment, the electronic device 700 may further include:
a third sending subunit, configured to send, to the network side device, a second ESR signaling when a determination result of the seventh determining subunit is negative, where the second ESR signaling is used to request the network side device to release a 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G idle state;
a ninth determining subunit, configured to determine whether the 4G RRC connection between the electronic device and the network-side device is released;
a fourth sending subunit, configured to send, to the network-side device, a second SR signaling when a determination result of the ninth determining subunit is yes, where the second SR signaling is used to request the network-side device to establish a 4G RRC connection between the electronic device and the network-side device, so that the electronic device enters a 4G connection state again from a 4G idle state;
a tenth determining subunit, configured to determine, when the electronic device enters the 4G connection state again, whether the network-side device configures an NR measurement event for the electronic device;
a second promoter unit for initiating an L2NR measurement in case the determination result of said tenth determining subunit is YES;
an eleventh determining subunit, configured to determine whether the measured NR cell signal meets a preset reporting condition, and if so, report an NR measurement report to the network side device.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, and as shown in fig. 8, the electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 810 is configured to obtain a temperature, an electric quantity, currently operating service information, and a currently operating first network access mode of the electronic device; determining whether to switch to a second network access mode according to the temperature, the electric quantity, the current operation service information and the first network access mode; if so, switching from the first network access mode to the second network access mode; the first network access mode is one of a 5G network priority access mode and a 4G network priority access mode, and the second network access mode is the other one of the 5G network priority access mode and the 4G network priority access mode except for the first network access mode.
In the embodiment of the invention, the temperature, the electric quantity, the current operation service information and the current working network access mode of the electronic equipment can be acquired, and the network access mode can be adjusted according to the acquired content. Compared with the prior art, the embodiment of the invention can perform 5G and 4G network residence optimization according to the temperature, the electric quantity and the service scene of the electronic equipment, reduce the power consumption and prolong the standby time on the premise of not influencing the user experience, thereby improving the user experience.
Optionally, as an embodiment, the determining whether to switch to a second network access mode according to the temperature, the power amount, the currently operating service information, and the first network access mode includes:
under the condition that the first network access mode is the 5G network priority access mode, if one of the following situations occurs, the temperature is greater than a preset temperature threshold value, the electric quantity is lower than a preset electric quantity threshold value, and the currently running service is a standby service, determining to switch to the 4G network priority access mode;
and under the condition that the first network access mode is the 4G network priority access mode, if the temperature does not reach a preset temperature threshold value, the electric quantity is higher than a preset electric quantity threshold value, and the running service is any one of a file downloading service, an ultra-clear video playing service, a live broadcast service, a game fighting service and a preset 5G white list service, determining to switch to the 5G network priority access mode.
Optionally, as an embodiment, when the first network access mode is the 5G network priority access mode and the second network access mode is the 4G network priority access mode, the switching from the first network access mode to the second network access mode includes:
determining whether the electronic device is in a 4G and 5G dual connectivity state;
if the electronic device is in a 4G and 5G dual-connection state, sending a first Extended Service Request (ESR) signaling to a network side device, wherein the first ESR signaling is used for requesting the network side device to release a 4G Radio Resource Control (RRC) connection between the electronic device and the network side device, so that the electronic device enters a 4G idle state;
determining whether the 4G RRC connection between the electronic device and the network side device is released, and if the 4G RRC connection is released, sending a first Service Request (SR) signaling to the network side device, wherein the first SR signaling is used for requesting the network side device to establish the 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G connection state again from a 4G idle state;
if the electronic equipment enters the 4G connection state again, determining whether the network side equipment configures a new air interface NR measurement event for the electronic equipment, and if so, suspending long-term evolution to a new air interface L2NR for measurement;
if the electronic device is not in the 4G and 5G dual-connection state, determining whether the network side device configures an NR measurement event for the electronic device, and if so, suspending L2NR measurement.
Optionally, as an embodiment, the determining whether the 4G RRC connection between the electronic device and the network side device is released includes:
if a 4G RRC connection release signaling returned by the network side equipment is received, determining that the 4G RRC connection between the electronic equipment and the network side equipment is released;
and if the 4G RRC release signaling returned by the network side equipment is not received within the preset time length, indicating the electronic equipment to locally release the 4G RRC connection, and determining that the 4G RRC connection between the electronic equipment and the network side equipment is released when the electronic equipment locally releases the 4G RRC connection.
Optionally, as an embodiment, when the first network access mode is the 4G network priority access mode and the second network access mode is the 5G network priority access mode, the switching from the first network access mode to the second network access mode includes:
determining whether an NR measurement event configured by a network side device is reserved in the electronic device;
if the electronic equipment retains the NR measurement event configured by the network side equipment, starting L2NR measurement;
and determining whether the measured NR cell signal meets a preset reporting condition, and if so, reporting an NR measurement report to the network side equipment.
Optionally, as an embodiment, the method further includes:
if an NR measurement event configured by a network side device is not reserved in the electronic device, sending a second ESR signaling to the network side device, where the second ESR signaling is used to request the network side device to release a 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G idle state;
determining whether the 4G RRC connection between the electronic device and the network side device is released, and if the 4G RRC connection is released, sending a second SR signaling to the network side device, wherein the second SR signaling is used for requesting the network side device to establish the 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G connection state again from a 4G idle state;
if the electronic equipment enters the 4G connection state again, determining whether the network side equipment configures an NR measurement event for the electronic equipment, and if so, starting L2NR measurement;
and determining whether the measured NR cell signal meets a preset reporting condition, and if so, reporting an NR measurement report to the network side equipment.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 802, such as to assist the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image may be displayed on the display unit 806. The image processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The electronic device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the electronic device 800 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of 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 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 808 is an interface for connecting an external device to the electronic apparatus 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby monitoring the whole electronic device. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The electronic device 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and the power supply 811 may preferably be logically coupled to the processor 810 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the electronic device 800 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of any one of the above embodiments of the network handover method, and can achieve the same technical effect, and details are not described here to avoid repetition.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of any one of the foregoing embodiments of the network handover method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in the present specification, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A network switching method is applied to electronic equipment, and is characterized by comprising the following steps:
acquiring the temperature, the electric quantity, the current operation service information and the current working first network access mode of the electronic equipment;
determining whether to switch to a second network access mode according to the temperature, the electric quantity, the current operation service information and the first network access mode;
if so, switching from the first network access mode to the second network access mode;
wherein the first network access mode is one of a 5G network priority access mode and a 4G network priority access mode, and the second network access mode is the other one of the 5G network priority access mode and the 4G network priority access mode except the first network access mode;
when the first network access mode is the 5G network priority access mode and the second network access mode is the 4G network priority access mode, the switching from the first network access mode to the second network access mode includes:
determining whether the electronic device is in a 4G and 5G dual connectivity state;
if the electronic device is in a 4G and 5G dual-connection state, sending a first Extended Service Request (ESR) signaling to a network side device, wherein the first ESR signaling is used for requesting the network side device to release a 4G Radio Resource Control (RRC) connection between the electronic device and the network side device, so that the electronic device enters a 4G idle state;
determining whether the 4G RRC connection between the electronic device and the network side device is released, and if the 4G RRC connection is released, sending a first Service Request (SR) signaling to the network side device, wherein the first SR signaling is used for requesting the network side device to establish the 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G connection state again from a 4G idle state;
if the electronic equipment enters the 4G connection state again, determining whether the network side equipment configures a new air interface NR measurement event for the electronic equipment, and if so, suspending long-term evolution to a new air interface L2NR for measurement;
if the electronic device is not in the 4G and 5G dual-connection state, determining whether the network side device configures an NR measurement event for the electronic device, and if so, suspending L2NR measurement.
2. The method of claim 1, wherein the determining whether to switch to a second network access mode according to the temperature, the power, the currently running service information, and the first network access mode comprises:
under the condition that the first network access mode is the 5G network priority access mode, if one of the following situations occurs, the temperature is greater than a preset temperature threshold value, the electric quantity is lower than a preset electric quantity threshold value, and the currently running service is a standby service, determining to switch to the 4G network priority access mode;
and under the condition that the first network access mode is the 4G network priority access mode, if the temperature does not reach a preset temperature threshold value, the electric quantity is higher than a preset electric quantity threshold value, and the running service is any one of a file downloading service, an ultra-clear video playing service, a live broadcast service, a game fighting service and a preset 5G white list service, determining to switch to the 5G network priority access mode.
3. The method of claim 1, wherein the determining whether the 4G RRC connection between the electronic device and the network-side device is released comprises:
if a 4G RRC connection release signaling returned by the network side equipment is received, determining that the 4G RRC connection between the electronic equipment and the network side equipment is released;
and if the 4G RRC release signaling returned by the network side equipment is not received within the preset time length, indicating the electronic equipment to locally release the 4G RRC connection, and determining that the 4G RRC connection between the electronic equipment and the network side equipment is released when the electronic equipment locally releases the 4G RRC connection.
4. The method according to claim 1 or 2, wherein in case that the first network access mode is the 4G network priority access mode and the second network access mode is the 5G network priority access mode, the switching from the first network access mode to the second network access mode comprises:
determining whether an NR measurement event configured by a network side device is reserved in the electronic device;
if the electronic equipment retains the NR measurement event configured by the network side equipment, starting L2NR measurement;
and determining whether the measured NR cell signal meets a preset reporting condition, and if so, reporting an NR measurement report to the network side equipment.
5. The method of claim 4, further comprising:
if an NR measurement event configured by a network side device is not reserved in the electronic device, sending a second ESR signaling to the network side device, where the second ESR signaling is used to request the network side device to release a 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G idle state;
determining whether the 4G RRC connection between the electronic device and the network side device is released, and if the 4G RRC connection is released, sending a second SR signaling to the network side device, wherein the second SR signaling is used for requesting the network side device to establish the 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G connection state again from a 4G idle state;
if the electronic equipment enters the 4G connection state again, determining whether the network side equipment configures an NR measurement event for the electronic equipment, and if so, starting L2NR measurement;
and determining whether the measured NR cell signal meets a preset reporting condition, and if so, reporting an NR measurement report to the network side equipment.
6. An electronic device, characterized in that the electronic device comprises:
the acquisition unit is used for acquiring the temperature, the electric quantity, the current operation service information and the current working first network access mode of the electronic equipment;
a determining unit, configured to determine whether to switch to a second network access mode according to the temperature, the electric quantity, the currently-operating service information, and the first network access mode;
a switching unit configured to switch from the first network access mode to the second network access mode if a determination result of the determination unit is yes;
wherein the first network access mode is one of a 5G network priority access mode and a 4G network priority access mode, and the second network access mode is the other one of the 5G network priority access mode and the 4G network priority access mode except the first network access mode;
when the first network access mode is the 5G network priority access mode and the second network access mode is the 4G network priority access mode, the switching unit includes:
a third determining subunit, configured to determine whether the electronic device is in a 4G and 5G dual-connection state;
a first sending subunit, configured to send, to a network side device, a first extended service request ESR signaling when a determination result of the third determining subunit is yes, where the first ESR signaling is used to request the network side device to release a 4G radio resource control protocol RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G idle state;
a fourth determining subunit, configured to determine whether a 4GRRC connection between the electronic device and the network-side device is released;
a second sending subunit, configured to send, when a determination result of the fourth determining subunit is yes, a first service request SR signaling to the network side device, where the first SR signaling is used to request the network side device to establish a 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G connection state again from a 4G idle state;
a fifth determining subunit, configured to determine, when the electronic device enters the 4G connection state again, whether the network-side device configures a new air interface NR measurement event for the electronic device, and if so, suspend long-term evolution to measure a new air interface L2 NR;
a sixth determining subunit, configured to, if the determination result of the third determining subunit is negative, determine whether the network-side device configures an NR measurement event for the electronic device, and if so, suspend L2NR measurement.
7. The electronic device according to claim 6, wherein the determination unit includes:
a first determining subunit, configured to determine to switch to the 4G network priority access mode if one of the following situations occurs when the first network access mode is the 5G network priority access mode, the temperature is greater than a preset temperature threshold, the electric quantity is lower than a preset electric quantity threshold, and the currently running service is a standby service;
and the second determining subunit is configured to determine to switch to the 5G network priority access mode if the first network access mode is the 4G network priority access mode, and if the temperature does not reach a preset temperature threshold, the power amount is higher than a preset power amount threshold, and the running service is any one of a file download service, an ultra-clear video playing service, a live broadcast service, a game fighting service, and a preset 5G white list service.
8. The electronic device of claim 6, wherein the fourth determining subunit comprises:
a first determining module, configured to determine that a 4G RRC connection between the electronic device and the network-side device is released when receiving a 4G RRC connection release signaling returned by the network-side device;
a second determining module, configured to instruct the electronic device to locally release the 4G RRC connection when a 4GRRC release signaling returned by the network-side device is not received within a preset time period, and determine that the 4G RRC connection between the electronic device and the network-side device is released when the electronic device locally releases the 4G RRC connection.
9. The electronic device according to claim 6 or 7, wherein in a case where the first network access mode is the 4G network priority access mode and the second network access mode is the 5G network priority access mode, the switching unit includes:
a seventh determining subunit, configured to determine whether an NR measurement event configured by a network side device remains in the electronic device;
a first promoter unit for initiating an L2NR measurement in case the determination result of said seventh determining subunit is YES;
and an eighth determining subunit, configured to determine whether the measured NR cell signal satisfies a preset reporting condition, and if so, report an NR measurement report to the network side device.
10. The electronic device of claim 9, further comprising:
a third sending subunit, configured to send, to the network side device, a second ESR signaling when a determination result of the seventh determining subunit is negative, where the second ESR signaling is used to request the network side device to release a 4G RRC connection between the electronic device and the network side device, so that the electronic device enters a 4G idle state;
a ninth determining subunit, configured to determine whether the 4GRRC connection between the electronic device and the network-side device is released;
a fourth sending subunit, configured to send, to the network-side device, a second SR signaling when a determination result of the ninth determining subunit is yes, where the second SR signaling is used to request the network-side device to establish a 4G RRC connection between the electronic device and the network-side device, so that the electronic device enters a 4G connection state again from a 4G idle state;
a tenth determining subunit, configured to determine, when the electronic device enters the 4G connection state again, whether the network-side device configures an NR measurement event for the electronic device;
a second promoter unit for initiating an L2NR measurement in case the determination result of said tenth determining subunit is YES;
an eleventh determining subunit, configured to determine whether the measured NR cell signal meets a preset reporting condition, and if so, report an NR measurement report to the network side device.
CN201911096509.XA 2019-11-11 2019-11-11 Network switching method and electronic equipment Active CN110831096B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911096509.XA CN110831096B (en) 2019-11-11 2019-11-11 Network switching method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911096509.XA CN110831096B (en) 2019-11-11 2019-11-11 Network switching method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110831096A CN110831096A (en) 2020-02-21
CN110831096B true CN110831096B (en) 2021-12-03

Family

ID=69553963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911096509.XA Active CN110831096B (en) 2019-11-11 2019-11-11 Network switching method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110831096B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021212304A1 (en) * 2020-04-21 2021-10-28 Qualcomm Incorporated Recovery from a problematic cell
WO2021212414A1 (en) * 2020-04-23 2021-10-28 北京小米移动软件有限公司 Method for obtaining configuration information and method for providing configuration information, electronic device, and storage medium
CN111699724A (en) * 2020-05-08 2020-09-22 北京小米移动软件有限公司 Method and device for controlling terminal and storage medium
WO2021227019A1 (en) * 2020-05-15 2021-11-18 Qualcomm Incorporated Managing a new radio mode at a user equipment based on throughput
CN113939043A (en) * 2020-06-29 2022-01-14 华为技术有限公司 Network icon display method and equipment
CN111954247A (en) * 2020-06-30 2020-11-17 联想(北京)有限公司 Information processing method, terminal and storage medium
CN111757357B (en) * 2020-07-10 2022-05-24 Oppo广东移动通信有限公司 Redirection method, network and terminal equipment, communication system and readable storage medium
CN111949489B (en) * 2020-08-14 2022-04-05 珠海格力电器股份有限公司 Terminal network speed adjusting method and device and electronic equipment
WO2022080019A1 (en) * 2020-10-12 2022-04-21 シャープ株式会社 Mobile communication terminal and access point name switching method
CN112367716A (en) * 2020-10-30 2021-02-12 Oppo广东移动通信有限公司 Wireless communication method, terminal equipment and network equipment
CN112822742A (en) * 2021-02-01 2021-05-18 联想(北京)有限公司 Processing method and device
CN113329422A (en) * 2021-05-21 2021-08-31 Oppo广东移动通信有限公司 Network connection control method, terminal device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105517081A (en) * 2015-11-28 2016-04-20 广东欧珀移动通信有限公司 Business processing method and device under hybrid network standard and mobile terminal
CN108632851A (en) * 2017-03-22 2018-10-09 展讯通信(上海)有限公司 cell measuring method and user terminal
CN109309942A (en) * 2017-07-28 2019-02-05 成都鼎桥通信技术有限公司 Method for switching network and device
CN109890069A (en) * 2019-03-12 2019-06-14 Oppo广东移动通信有限公司 Method for connecting network, terminal, base station and computer storage medium
CN110049520A (en) * 2018-01-15 2019-07-23 华为技术有限公司 Communication means and communication device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10419996B2 (en) * 2004-01-06 2019-09-17 Vasu Networks Corporation Mobile device with automatic switching between cellular and wifi networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105517081A (en) * 2015-11-28 2016-04-20 广东欧珀移动通信有限公司 Business processing method and device under hybrid network standard and mobile terminal
CN108632851A (en) * 2017-03-22 2018-10-09 展讯通信(上海)有限公司 cell measuring method and user terminal
CN109309942A (en) * 2017-07-28 2019-02-05 成都鼎桥通信技术有限公司 Method for switching network and device
CN110049520A (en) * 2018-01-15 2019-07-23 华为技术有限公司 Communication means and communication device
CN109890069A (en) * 2019-03-12 2019-06-14 Oppo广东移动通信有限公司 Method for connecting network, terminal, base station and computer storage medium

Also Published As

Publication number Publication date
CN110831096A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
CN110831096B (en) Network switching method and electronic equipment
CN108924817A (en) A kind of SIM card state switching method and mobile terminal
US11212692B2 (en) Non-connection state measurement method, user equipment, and base station
CN107948919B (en) Shared information processing method and mobile terminal
CN110730504A (en) Paging indication method, device and system
US20210176684A1 (en) Terminal camping method, information transmission method, terminal, and network device
CN111800835B (en) Switching configuration method, network device, terminal device and storage medium
EP3547752A1 (en) Cell switching method and terminal device
CN110958710B (en) Channel access method, configuration method, terminal and network side equipment
CN110769439B (en) Measurement method, terminal and network side equipment
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN112867078A (en) Base station control method and device and mobile terminal
RU2767521C1 (en) Method of processing information on capabilities of terminal device, terminal and network device
CN110798873A (en) Voice service registration method and electronic equipment
CN110740470B (en) Measurement indication method, device and system
CN108811037B (en) Data transmission method and communication equipment
CN111246528A (en) Network switching method and electronic equipment
CN108111553B (en) Method and device for providing service
CN110366273B (en) Communication method and related equipment
CN111615141B (en) Measurement method, measurement configuration method, terminal and network equipment
US20220150788A1 (en) Communication processing method, terminal device, and medium
CN110351743B (en) Measurement method, terminal, network side equipment and computer readable storage medium
CN111818657B (en) Uplink transmission discarding method, uplink transmission discarding configuration method and related equipment
CN110505638B (en) Measurement control method, terminal and network side equipment
CN113709898A (en) Capability reporting and acquiring method, IP address requesting method and IAB node

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