CN114125739B - Network switching method and device, electronic equipment and storage medium - Google Patents

Network switching method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114125739B
CN114125739B CN202111350576.7A CN202111350576A CN114125739B CN 114125739 B CN114125739 B CN 114125739B CN 202111350576 A CN202111350576 A CN 202111350576A CN 114125739 B CN114125739 B CN 114125739B
Authority
CN
China
Prior art keywords
network
power consumption
consumption data
electronic equipment
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111350576.7A
Other languages
Chinese (zh)
Other versions
CN114125739A (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 CN202111350576.7A priority Critical patent/CN114125739B/en
Publication of CN114125739A publication Critical patent/CN114125739A/en
Application granted granted Critical
Publication of CN114125739B publication Critical patent/CN114125739B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0258Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity controlling an operation mode according to history or models of usage information, e.g. activity schedule or time of day
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses a network switching method, a network switching device, electronic equipment and a storage medium, and belongs to the technical field of communication. The method comprises the following steps: under the condition that the electronic equipment performs voice call through a first network, acquiring first power consumption data of the electronic equipment; and under the condition that the first power consumption data is larger than the second power consumption data, switching from the first network to the second network, wherein the second power consumption data is the power consumption data corresponding to the second network.

Description

Network switching method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a network switching method, a network switching device, electronic equipment and a storage medium.
Background
At present, based on the 5th generation mobile communication technology (5th Generation Mobile Communication Technology,5G), the electronic equipment has the characteristics of high transmission efficiency and large bandwidth, and the conversation quality of the electronic equipment can be improved through a 5G network.
However, if the user keeps the 5G call for a long time, the power consumption of the electronic device increases due to the larger bandwidth of the 5G network, so the duration of the call of the electronic device is shorter.
Disclosure of Invention
The embodiment of the application aims to provide a network switching method, a network switching device, electronic equipment and a storage medium, which can improve the call duration of the electronic equipment.
In a first aspect, an embodiment of the present application provides a network switching method, where the network switching method includes: under the condition that the electronic equipment performs voice call through a first network, acquiring first power consumption data of the electronic equipment; and under the condition that the first power consumption data is larger than the second power consumption data, switching from the first network to the second network, wherein the second power consumption data is the power consumption data corresponding to the second network.
In a second aspect, an embodiment of the present application provides a network switching device, including: an acquisition module and a switching module. The acquisition module is used for acquiring first power consumption data of the electronic equipment under the condition that the electronic equipment performs voice call through the first network. The switching module is used for switching from the first network to the second network under the condition that the first power consumption data is larger than the second power consumption data, and the second power consumption data is the power consumption data corresponding to the second network.
In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the electronic equipment performs voice call through the first network, the electronic equipment can acquire the first power consumption data, and when the first power consumption data is larger than the second power consumption data, the electronic equipment is switched from the first network to the second network. In the scheme, the electronic equipment can acquire the first power consumption data of the first network in the current network environment, so that the electronic equipment can actively switch from the first network to the second network when the first power consumption data is larger than the second power consumption data, namely under the condition that the power consumption of the electronic equipment is larger, the situation that a user calls for a long time under the current network to cause larger power consumption is avoided, the power consumption of the electronic equipment is reduced, and the call duration of the electronic equipment is prolonged.
Drawings
Fig. 1 is a block diagram of a wireless communication system provided by an embodiment of the present application;
fig. 2 is a flowchart of a network switching method according to an embodiment of the present application;
FIG. 3 is a second flowchart of a network switching method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a network switching device according to an embodiment of the present application;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 6 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are derived by a person skilled in the art based on the embodiments of the application, fall within the scope of protection of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
It is noted that the techniques described in the embodiments of the present application are not limited to long term evolution (Long Term Evolution, LTE)/evolution of LTE (LTE-Advanced, LTE-a)The system may also be used in other wireless communication systems such as code division multiple access (Code Division Multiple Access, CDMA), time division multiple access (Time Division Multiple Access, TDMA), frequency division multiple access (Frequency Division Multiple Access, FDMA), orthogonal frequency division multiple access (Orthogonal Frequency Division Multiple Access, OFDMA), single-carrier frequency division multiple access (Single-carrier Frequency-Division Multiple Access, SC-FDMA), and other systems. The terms "system" and "network" in embodiments of the application are often used interchangeably, and the techniques described may be used for both the above-mentioned systems and radio technologies, as well as other systems and radio technologies. The following description describes a New air interface (NR) system for purposes of example and uses NR terminology in much of the description that follows, but these techniques are also applicable to applications other than NR system applications, such as generation 6 (6) th Generation, 6G) communication system.
Fig. 1 shows a block diagram of a wireless communication system to which an embodiment of the present application is applicable. The wireless communication system includes an electronic device 11 and a network-side device 12. The electronic Device 11 may also be a terminal Device or a User Equipment (UE), the electronic Device 11 may be a terminal-side Device such as a mobile phone, a tablet (Tablet Personal Computer), a Laptop (Laptop Computer) or a notebook (Personal Digital Assistant, PDA), a palm Computer, a netbook, an ultra-mobile personal Computer (ultra-mobile personal Computer, UMPC), a mobile internet Device (Mobile Internet Device, MID), a Wearable Device (or a vehicle-mounted Device (VUE), a pedestrian terminal (PUE), and the Wearable Device includes: smart watches, bracelets, headphones, eyeglasses, etc. It should be noted that the specific type of the electronic device 11 is not limited in the embodiment of the present application. The network side device 12 may be a base station or a core network, wherein the base station may be called a node B, an evolved node B, an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service set (Basic Service Set, BSS), an extended service set (Extended Service Set, ESS), a node B, an evolved node B (eNB), a home node B, a home evolved node B, a WLAN access point, a WiFi node, a transmission and reception point (Transmitting Receiving Point, TRP), or some other suitable terminology in the field, and the base station is not limited to a specific technical vocabulary so long as the same technical effect is achieved, and it should be noted that in the embodiment of the present application, only the base station in the NR system is taken as an example, but the specific type of the base station is not limited.
The network switching method provided by the embodiment of the application is described in detail below through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
With the development of 5G technology, the 5G network carries on access network by adopting a stand alone networking (SA) mode, because the 5G network has the characteristics of large bandwidth, high transmission rate, large user capacity, service slicing, service diversification and the like, in the SA networking mode, electronic equipment generally uses a VONR call (Voice Over NR) to provide high-definition Voice call for a user, compared with the traditional VOLTE call (Voice Over LTE, VOLTE), the VONR only converts the access network carrier from a long term evolution technology (Long Term Evolution, LTE) to SA, i.e. compared with the VOLTE in terms of sound quality, the call quality in the VONR mode is not improved, although the 5G technology has a good application prospect, however, because the wide improvement of the bandwidth is far higher than that of the 4th generation mobile communication technology (4th Generation Mobile Communication Technology,4G), if the user keeps the VONR call for a long time, the duration of the electronic equipment in the 5G state is shorter because the power consumption of the electronic equipment is larger.
In the embodiment of the application, under the condition that the electronic equipment performs voice call through the first network, the electronic equipment can acquire the current power consumption data of the first network, namely the first power consumption data, and acquire the power consumption data of the second network, namely the second power consumption data, and when the first power consumption data is smaller than the second power consumption data, the electronic equipment is switched from the first network to the second network. According to the scheme of the application, the electronic equipment can acquire the first power consumption data of the first network and the second power consumption data of the second network in the current environment, so that the electronic equipment can be actively switched from the first network to the second network when the first power consumption data is smaller than the second power consumption data, the using power consumption of the electronic equipment is reduced, and the communication duration of the electronic equipment is prolonged.
The embodiment of the application provides a network switching method, and fig. 2 shows a flow chart of the network switching method provided by the embodiment of the application. As shown in fig. 2, the network switching method provided by the embodiment of the present application may include the following steps 201 and 202.
Step 201, under the condition that the electronic device performs voice call through a first network, the electronic device obtains first power consumption data of the electronic device.
In the embodiment of the application, the electronic equipment can be accessed to the first network and carry out voice call through the first network, so that the electronic equipment can acquire the current power consumption data of the electronic equipment to determine whether to carry out network switching.
Optionally, in the embodiment of the present application, the voice call may be any one of the following: VOLTE calls or VONR calls. The method can be specifically determined according to actual use requirements, and the embodiment of the application is not limited.
Optionally, in an embodiment of the present application, the first network may be any one of the following: a 5G network, a 4G network, a 3rd generation mobile communication technology (3rd Generation Telecommunication,3G) network, a 2 nd generation mobile communication technology (2-Generation wireless telephone technology, 2G) network, or the like. The method can be specifically determined according to actual use requirements, and the embodiment of the application is not limited.
Optionally, in the embodiment of the present application, the voice call may specifically be a video call or a voice call in a communication application program or a video call or a voice call in a system application program (for example, a call application program) of the electronic device.
Optionally, in the embodiment of the present application, the first power consumption data may be obtained by querying from a preset power consumption model in the electronic device, or the first power consumption data may be a network parameter obtained by the electronic device under a current network, and the electronic device obtains the first power consumption by calculating the network parameter.
Alternatively, in the embodiment of the present application, the above step 201 may be specifically implemented by the following step 201 a.
In step 201a, when the electronic device performs a voice call through the first network, the electronic device determines, according to the network parameters of the first network, third power consumption data corresponding to the network parameters of the first network from a preset power consumption model, and determines the third power consumption data as the first power consumption data.
In the embodiment of the application, under the condition that the electronic equipment performs voice communication through the first network, the electronic equipment can acquire the network parameters of the current first network and compare the network parameters with the parameters stored in the preset power consumption model, so that the electronic equipment can find out the result matched with the network parameters of the first network from the preset power consumption model, the electronic equipment can find out the power consumption data (namely, the third power consumption data) corresponding to the result, and the power consumption data is determined as the power consumption (namely, the first power consumption data) required by the electronic equipment under the current network.
In the embodiment of the present application, the preset power consumption model includes a plurality of corresponding relations, that is, corresponding relations between network parameters and power consumption data.
Optionally, in an embodiment of the present application, the network parameters may include at least one of the following: radio access technology (Radio Access Technology, RAT) parameters, frequency division parameters, bandwidth parameters, connected discontinuous reception (Connected Discontinuous Reception, CDRX) configuration parameters, signal strength parameters, signal quality parameters, scheduling configuration parameters, and the like. The method can be specifically determined according to actual use requirements, and the embodiment of the application is not limited.
It should be noted that, the preset power consumption model is a power consumption model predefined in the electronic device, and the power consumption model includes the network parameter and power consumption data corresponding to the network parameter.
Alternatively, in the embodiment of the present application, the preset power consumption model may be stored in the electronic device in a form of a table, or the preset power consumption model may be stored in the electronic device in a form of an entity-relationship (Entity Relationship Diagram, E-R) diagram. The method can be specifically determined according to actual use requirements, and the embodiment of the application is not limited.
In the embodiment of the application, when the electronic equipment performs voice call through the first network, the electronic equipment can acquire the network parameters under the current network, so that the electronic equipment can acquire the power consumption data by inquiring the preset power consumption model, and the electronic equipment does not need to acquire the first power consumption data through calculation, thereby improving the accuracy of the electronic equipment in acquiring the first power consumption data.
Alternatively, in the embodiment of the present application, the above step 201 may be specifically implemented by the following step 201 b.
Step 201b, when the electronic device performs a voice call through the first network and the first time period of the timer of the electronic device is greater than or equal to the preset time period, the electronic device acquires the first power consumption data.
In the embodiment of the application, the starting time of the first duration of the timer is the starting time of the voice call.
In the embodiment of the application, the electronic equipment can start the timer, the timer is provided with the preset time length, and when the call time length of the voice call of the electronic equipment is greater than or equal to the preset time length, the electronic equipment can acquire the first power consumption data.
Optionally, in an embodiment of the present application, the timer may be any one of the following: an application in the electronic device system (e.g., a clock application) or a third party application with timing functionality. The method can be specifically determined according to actual use requirements, and the embodiment of the application is not limited.
In the embodiment of the application, when the electronic equipment performs voice call through the first network, the electronic equipment can judge whether to acquire the first power consumption data according to the call time length of the electronic equipment, namely, when the call time length is shorter, the electronic equipment does not need to perform network switching, so that the redundancy of the first power consumption data acquired by the electronic equipment due to the excessively short call time length is avoided, and the flexibility of the electronic equipment for acquiring the first power consumption data is improved.
Step 202, the electronic device switches from the first network to the second network in case the first power consumption data is larger than the second power consumption data.
In the embodiment of the present application, the second power consumption data is power consumption data corresponding to a second network.
In the embodiment of the application, after the electronic device obtains the first power consumption data, the electronic device can obtain the frequency band of the second network, so that the electronic device can obtain the network parameters corresponding to the frequency band, obtain the second power consumption data by inquiring the preset power consumption model, then the electronic device can compare the first power consumption data with the second power consumption data, and under the condition that the first power consumption data is larger than the second power consumption data, the electronic device can be switched from the first network to the second network so as to continue voice communication through the second network.
In the embodiment of the present application, the second network is a neighboring cell network of the current service network (i.e., the first network).
Optionally, in the embodiment of the present application, the first network may be a 5G network, and the second network may be a 4G network; alternatively, the first network may be a 4G network, and the second network may be a 5G network; alternatively, the first network and the second network may be different networks in different cells of the same type of network. The method can be specifically determined according to actual use requirements, and the embodiment of the application is not limited.
Alternatively, in the embodiment of the present application, the above step 202 may be specifically implemented by the following step 202 a.
Step 202a, when the first power consumption data is greater than the second power consumption data and the signal parameter of the second network satisfies the preset condition, the electronic device switches from the first network to the second network.
Optionally, in an embodiment of the present application, the signal parameter includes at least one of: signal strength, signal quality, signal-to-noise ratio, signal frequency band, etc. The method can be specifically determined according to actual use requirements, and the embodiment of the application is not limited.
Optionally, in an embodiment of the present application, the signal parameter of the second network meeting a preset condition includes at least one of the following: the signal strength of the second network is greater than the signal strength of the first network, the signal quality of the second network is greater than the signal quality of the first network, the signal to noise ratio of the second network is lower than the signal to noise ratio of the first network and the signal frequency band of the second network is greater than the signal frequency band of the first network.
In the embodiment of the application, when the first power consumption data is larger than the second power consumption data and the signal parameters of the second network meet the preset conditions, the electronic equipment can search the second network with better power consumption and network signals in the current network environment in real time, so that the situation that the call quality of the electronic equipment is poor due to the fact that the power consumption of the electronic equipment is reduced after the electronic equipment is switched to the second network is avoided, and the duration of the electronic equipment is improved while the call quality of the electronic equipment is ensured.
Optionally, in the embodiment of the present application, fig. 3 shows a flowchart of a network switching method provided in the embodiment of the present application. As shown in fig. 3, the above step 202 may be specifically implemented by the following steps 202b and 202 e.
Step 202b, the electronic device sends a handover request message to a network side device of the second network when the first power consumption data is greater than the second power consumption data.
In the embodiment of the present application, the handover request message is used for requesting the electronic device to access the second network.
In an embodiment of the present application, the handover request message includes a target measurement report, where the target measurement report is used to indicate that the signal quality of the first network is smaller than the signal quality of the second network.
Optionally, in the embodiment of the present application, the electronic device may acquire a network parameter of the first network and a network parameter of the second network, compare the network parameters to obtain a target measurement report, and then the electronic device may report the target measurement report to a network side device of the first network, so that the network side device sends a handover request message to the network side device of the second network, so as to determine the second network where the electronic device needs to be handed over.
Optionally, in the embodiment of the present application, the target measurement report may be a B1 measurement report, where the B1 measurement report is that the quality of a neighboring cell (i.e. the second network) of the different system is higher than a certain threshold, and the electronic device reports the measurement report; alternatively, the target measurement report may be a B2 measurement report, where the B2 measurement report is reported by the electronic device in which the quality of the serving cell (i.e. the first network) is lower than a certain threshold and the quality of the neighboring cell of the different system is higher than a certain threshold.
Step 202c, the network side device receives the switching request message sent by the electronic device.
Step 202d, the network side device sends a switching response message to the electronic device.
In the embodiment of the application, the switching response message is sent to the electronic equipment under the condition that the target measurement report in the switching request message is detected to meet the preset condition.
Step 202e, the electronic device receives the switching response message sent by the network side device of the second network, and accesses the second network according to the switching response message.
In the embodiment of the application, after the network side equipment of the second network receives the switching request message sent by the electronic equipment, the network side equipment of the second network can determine whether to switch the network according to the target measurement report in the switching request message, and if the target measurement report meets the preset condition (for example, the signal quality of the first network is lower than a certain threshold and the signal quality of the second network is higher than a certain threshold), the network side equipment of the second network can send a switching response message to the electronic equipment, so that the electronic equipment can be accessed to the second network.
In the embodiment of the present application, the handover response message is used to indicate that the electronic device is allowed to access the second network.
In the embodiment of the application, the electronic equipment can send the target measurement report to the network measurement equipment of the second network, so that the network measurement equipment of the second network can send the switching request message to the electronic equipment according to the target measurement report, the electronic equipment can be accessed to the second network, and the network switching failure of the electronic equipment caused by the fact that the second network cannot meet the service quality requirement of the electronic equipment is avoided, and the success rate of switching the network by the electronic equipment is improved.
The embodiment of the application provides a network switching method, which can acquire first power consumption data under the condition that electronic equipment performs voice call through a first network, and switch from the first network to a second network when the first power consumption data is larger than the second power consumption data. In the scheme, the electronic equipment can acquire the first power consumption data of the first network in the current network environment, so that the electronic equipment can actively switch from the first network to the second network when the first power consumption data is larger than the second power consumption data, namely, when the power consumption of the electronic equipment is larger, the situation that the power consumption of a user is larger under a 5G call for a long time is avoided, the power consumption of the electronic equipment is reduced, and the call duration of the electronic equipment is prolonged.
Optionally, in the embodiment of the present application, the network switching method provided in the embodiment of the present application further includes the following step 301.
In step 301, the electronic device keeps performing a voice call through the first network when the first power consumption data is less than or equal to the second power consumption data.
Optionally, in the embodiment of the present application, the electronic device may start a timer, and perform the power data judgment of the next round when the time period of the timer of the electronic device is greater than or equal to the second preset time period.
It can be understood that when the power consumption data of the current first network is smaller than the power consumption data of the current neighboring cell, the electronic device may search the power consumption data of another neighboring cell and compare the power consumption data until a neighboring cell (i.e., the second network) meeting the condition (i.e., the power consumption data of the neighboring cell is smaller than the power consumption data of the current serving cell) is searched.
In the embodiment of the application, under the condition that the first power consumption data is smaller than or equal to the second power consumption data, the electronic equipment can stay under the current network, namely, the electronic equipment can judge whether to switch the network according to the size of the power consumption data, so that the electronic equipment can be prevented from switching the network when the first power consumption data is smaller than or equal to the second power consumption data, and the power consumption of the electronic equipment is reduced while the flexibility of the network switching is improved.
According to the network switching method provided by the embodiment of the application, the execution main body can be the electronic equipment or the network switching device. In the embodiment of the application, an example of a network switching method executed by an electronic device is taken as an example, and a device of the network switching method provided by the embodiment of the application is described.
Fig. 4 shows a schematic diagram of a possible configuration of a network switching device according to an embodiment of the present application. As shown in fig. 4, the network switching device 70 may include: an acquisition module 71 and a switching module 72.
The acquiring module 71 is configured to acquire first power consumption data of the electronic device when the electronic device performs a voice call through the first network. And the switching module is used for switching from the first network to the second network under the condition that the first power consumption data is larger than the second power consumption data, wherein the second power consumption data is corresponding to the second network.
In one possible implementation manner, the network switching device 70 provided in the embodiment of the present application further includes: the module is held. And the holding module is used for holding the voice call through the first network under the condition that the first power consumption data is smaller than or equal to the second power consumption data.
In one possible implementation manner, the acquiring module is specifically configured to determine, from a preset power consumption model, third power consumption data corresponding to a network parameter of the first network, and determine the third power consumption data as the first power consumption data.
In one possible implementation manner, the acquiring module is specifically configured to acquire the first power consumption data when a time period of a timer of the electronic device is greater than or equal to a preset time period.
In one possible implementation manner, the switching module is specifically configured to switch from the first network to the second network when the signal parameter of the second network meets a preset condition.
In one possible implementation manner, the above-mentioned switching module is specifically configured to send a switching request message to a network side device of a second network, where the switching request message includes a target measurement report, and the target measurement report is used to indicate that signal quality of a first network is less than signal quality of the second network; and receiving a switching response message sent by the network side equipment of the second network, and accessing the second network according to the switching response message.
The embodiment of the application provides a network switching device, which can acquire first power consumption data of a first network in the current network environment, so that the network switching device can actively switch from the first network to a second network when the first power consumption data is larger than the second power consumption data, namely under the condition that the power consumption of the network switching device is larger, thereby avoiding larger power consumption caused by a user under 5G conversation for a long time, reducing the power consumption of the network switching device, and further improving the conversation duration of the network switching device.
The network switching device in the embodiment of the application can be an electronic device, and can also be a component in the electronic device, such as an integrated circuit or a chip. The apparatus may be a terminal or may be another device other than a terminal. By way of example, the mobile electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., and may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., without limitation of the embodiments of the present application.
The network switching device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The network switching device provided by the embodiment of the application can realize each process realized by the embodiment of the method and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
Optionally, as shown in fig. 5, the embodiment of the present application further provides an electronic device 90, including a processor 91, a memory 92, where the memory 92 stores a program or instructions that can be executed on the processor 91, and the program or instructions implement the steps of the embodiment of the method when executed by the processor 91, and achieve the same technical effects, so that repetition is avoided and redundant description is omitted herein.
The electronic device in the embodiment of the application includes the electronic device.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 110 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The processor 110 is configured to obtain first power consumption data of the electronic device when the electronic device performs a voice call through the first network. And under the condition that the first power consumption data is larger than the second power consumption data, switching from the first network to the second network, wherein the second power consumption data is the power consumption data corresponding to the second network.
The embodiment of the application provides electronic equipment, which can acquire first power consumption data of a first network in the current network environment, so that the electronic equipment can actively switch from the first network to a second network when the first power consumption data is larger than the second power consumption data, namely under the condition that the power consumption of the electronic equipment is larger, thereby avoiding larger power consumption caused by a user under 5G conversation for a long time, reducing the power consumption of the electronic equipment, and further improving the conversation duration of the electronic equipment.
Optionally, in an embodiment of the present application, the processor 110 is further configured to keep performing the voice call through the first network when the first power consumption data is less than or equal to the second power consumption data.
Optionally, in the embodiment of the present application, the processor 110 is specifically configured to determine, from a preset power consumption model, third power consumption data corresponding to a network parameter of the first network according to the network parameter of the first network, and determine the third power consumption data as the first power consumption data.
Optionally, in the embodiment of the present application, the processor 110 is specifically configured to obtain the first power consumption data when a time period of a timer of the electronic device is greater than or equal to a preset time period.
Optionally, in the embodiment of the present application, the processor 110 is specifically configured to switch from the first network to the second network when the signal parameter of the second network meets a preset condition.
Optionally, in the embodiment of the present application, the processor 110 is specifically configured to send a handover request message to a network side device of the second network, where the handover request message includes a target measurement report, and the target measurement report is used to indicate that the signal quality of the first network is smaller than the signal quality of the second network; and receiving a switching response message sent by the network side equipment of the second network, and accessing the second network according to the switching response message.
The electronic device provided by the embodiment of the application can realize each process realized by the embodiment of the method and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
The beneficial effects of the various implementation manners in this embodiment may be specifically referred to the beneficial effects of the corresponding implementation manners in the foregoing method embodiment, and in order to avoid repetition, the description is omitted here.
It should be appreciated that in embodiments of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 109 may include volatile memory or nonvolatile memory, or the memory 109 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 109 in embodiments of the application include, but are not limited to, these and any other suitable types of memory
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the embodiment of the method, and can achieve the same technical effects, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (8)

1. A method of network switching, the method comprising:
under the condition that the electronic equipment performs voice call through a first network, acquiring first power consumption data of the electronic equipment;
switching from the first network to a second network when the first power consumption data is larger than the second power consumption data, wherein the second power consumption data is corresponding to the second network;
the acquiring the first power consumption data of the electronic device includes:
acquiring the first power consumption data under the condition that the first time length of the timer of the electronic equipment is greater than or equal to a first preset time length, wherein the starting time of the first time length of the timer is the starting time of voice call;
the method further comprises the steps of:
maintaining voice communication through the first network when the first power consumption data is less than or equal to the second power consumption data;
and under the condition that the second time length of the timer of the electronic equipment is greater than or equal to a second preset time length, the first power consumption data and the power consumption data currently corresponding to the second network are re-acquired to determine whether to switch to the second network, wherein the starting time of the second time length of the timer is the time for acquiring the first power consumption data.
2. The method of claim 1, wherein the obtaining the first power consumption data of the electronic device comprises:
and determining third power consumption data corresponding to the network parameters of the first network from a preset power consumption model according to the network parameters of the first network, and determining the third power consumption data as the first power consumption data.
3. The method of claim 1, wherein the switching from the first network to a second network comprises:
and switching from the first network to the second network under the condition that the signal parameters of the second network meet the preset conditions.
4. The method of claim 1, wherein the switching from the first network to a second network comprises:
transmitting a handover request message to a network side device of the second network, wherein the handover request message comprises a target measurement report, and the target measurement report is used for indicating that the signal quality of the first network is smaller than that of the second network;
and receiving a switching response message from the network side equipment of the second network, and accessing the second network.
5. A network switching device, the network switching device comprising: the device comprises an acquisition module and a switching module;
the acquisition module is used for acquiring first power consumption data of the electronic equipment under the condition that the electronic equipment performs voice communication through a first network;
the switching module is configured to switch from the first network to a second network when the first power consumption data is greater than the second power consumption data, where the second power consumption data is corresponding to the second network;
the acquiring module is specifically configured to acquire the first power consumption data when a first time length of a timer of the electronic device is greater than or equal to a first preset time length, where an opening time of the first time length of the timer is a starting time of a voice call;
the apparatus further comprises: a holding module;
the holding module is used for holding voice communication through the first network under the condition that the first power consumption data is smaller than or equal to the second power consumption data;
the acquiring module is further configured to re-acquire the first power consumption data and the power consumption data currently corresponding to the second network when a second time period of the timer of the electronic device is greater than or equal to a second preset time period, so as to determine whether to switch to the second network, where an opening time of the second time period of the timer is a time for acquiring the first power consumption data.
6. The apparatus of claim 5, wherein the obtaining module is specifically configured to determine, from a preset power consumption model, third power consumption data corresponding to a network parameter of the first network according to the network parameter of the first network, and determine the third power consumption data as the first power consumption data.
7. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the network handover method of any one of claims 1 to 4.
8. A readable storage medium, characterized in that it stores thereon a program or instructions, which when executed by a processor, implement the steps of the network handover method according to any of claims 1 to 4.
CN202111350576.7A 2021-11-15 2021-11-15 Network switching method and device, electronic equipment and storage medium Active CN114125739B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111350576.7A CN114125739B (en) 2021-11-15 2021-11-15 Network switching method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111350576.7A CN114125739B (en) 2021-11-15 2021-11-15 Network switching method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114125739A CN114125739A (en) 2022-03-01
CN114125739B true CN114125739B (en) 2023-09-26

Family

ID=80396462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111350576.7A Active CN114125739B (en) 2021-11-15 2021-11-15 Network switching method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114125739B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116723552B (en) * 2022-10-31 2024-09-06 荣耀终端有限公司 Communication method, device, equipment and storage medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103582060A (en) * 2012-07-31 2014-02-12 华为终端有限公司 Network switching method, network switching device and mobile terminal
CN104703267A (en) * 2015-04-03 2015-06-10 广东欧珀移动通信有限公司 Power-saving terminal communication method and device
WO2015157925A1 (en) * 2014-04-15 2015-10-22 宇龙计算机通信科技(深圳)有限公司 Network searching method and network searching device, and terminal
CN105517083A (en) * 2015-11-28 2016-04-20 广东欧珀移动通信有限公司 Network switching method, device and terminal
CN105848233A (en) * 2016-03-24 2016-08-10 广东欧珀移动通信有限公司 Switching method and switching device for communication networks
CN108040352A (en) * 2015-11-28 2018-05-15 广东欧珀移动通信有限公司 Method for processing business, device and mobile terminal under a kind of hybrid network standard
CN108471632A (en) * 2018-03-01 2018-08-31 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium
WO2018165996A1 (en) * 2017-03-13 2018-09-20 华为技术有限公司 Switching method and apparatus
CN110856230A (en) * 2019-11-13 2020-02-28 维沃移动通信有限公司 Network switching method and electronic equipment
CN110972088A (en) * 2019-11-27 2020-04-07 宇龙计算机通信科技(深圳)有限公司 Voice call network switching method and device, storage medium and electronic equipment
CN111314986A (en) * 2020-01-21 2020-06-19 Oppo广东移动通信有限公司 Network type switching method and device, mobile terminal and storage medium
WO2020142960A1 (en) * 2019-01-09 2020-07-16 Oppo广东移动通信有限公司 Network communication method and apparatus, and network device
CN112714482A (en) * 2019-10-24 2021-04-27 中兴通讯股份有限公司 Network switching method, device, terminal and storage medium
CN112752319A (en) * 2019-10-31 2021-05-04 中兴通讯股份有限公司 Network switching method, device, terminal and storage medium
CN113438702A (en) * 2021-07-06 2021-09-24 维沃移动通信有限公司 Cell switching method and device, electronic equipment and readable storage medium
CN113596947A (en) * 2021-08-17 2021-11-02 维沃移动通信有限公司 Network switching method and device and electronic equipment
WO2021218494A1 (en) * 2020-04-30 2021-11-04 荣耀终端有限公司 Dual-card-based network type switching method and terminal device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8259659B2 (en) * 2008-07-03 2012-09-04 Apple Inc. Apparatus and methods for managing access and update requests in a wireless network
KR20210017030A (en) * 2019-08-06 2021-02-17 삼성전자주식회사 Electronic device for reducing power consumption and operating method thereof
US20200107265A1 (en) * 2018-09-28 2020-04-02 Mediatek Inc. UE Power Consumption Characteristics and Adaptation to Traffic

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103582060A (en) * 2012-07-31 2014-02-12 华为终端有限公司 Network switching method, network switching device and mobile terminal
WO2015157925A1 (en) * 2014-04-15 2015-10-22 宇龙计算机通信科技(深圳)有限公司 Network searching method and network searching device, and terminal
CN104703267A (en) * 2015-04-03 2015-06-10 广东欧珀移动通信有限公司 Power-saving terminal communication method and device
CN105517083A (en) * 2015-11-28 2016-04-20 广东欧珀移动通信有限公司 Network switching method, device and terminal
CN108040352A (en) * 2015-11-28 2018-05-15 广东欧珀移动通信有限公司 Method for processing business, device and mobile terminal under a kind of hybrid network standard
CN105848233A (en) * 2016-03-24 2016-08-10 广东欧珀移动通信有限公司 Switching method and switching device for communication networks
WO2018165996A1 (en) * 2017-03-13 2018-09-20 华为技术有限公司 Switching method and apparatus
CN108471632A (en) * 2018-03-01 2018-08-31 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium
WO2020142960A1 (en) * 2019-01-09 2020-07-16 Oppo广东移动通信有限公司 Network communication method and apparatus, and network device
CN112714482A (en) * 2019-10-24 2021-04-27 中兴通讯股份有限公司 Network switching method, device, terminal and storage medium
CN112752319A (en) * 2019-10-31 2021-05-04 中兴通讯股份有限公司 Network switching method, device, terminal and storage medium
CN110856230A (en) * 2019-11-13 2020-02-28 维沃移动通信有限公司 Network switching method and electronic equipment
CN110972088A (en) * 2019-11-27 2020-04-07 宇龙计算机通信科技(深圳)有限公司 Voice call network switching method and device, storage medium and electronic equipment
CN111314986A (en) * 2020-01-21 2020-06-19 Oppo广东移动通信有限公司 Network type switching method and device, mobile terminal and storage medium
WO2021218494A1 (en) * 2020-04-30 2021-11-04 荣耀终端有限公司 Dual-card-based network type switching method and terminal device
CN113438702A (en) * 2021-07-06 2021-09-24 维沃移动通信有限公司 Cell switching method and device, electronic equipment and readable storage medium
CN113596947A (en) * 2021-08-17 2021-11-02 维沃移动通信有限公司 Network switching method and device and electronic equipment

Also Published As

Publication number Publication date
CN114125739A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
CN113365358B (en) Channel monitoring method, terminal and network equipment
CN108632930B (en) Network searching control method and device and mobile terminal
CN111970683B (en) Method, device, terminal equipment and storage medium for switching SIM card
CN112887927B (en) Voice fallback method and device and user equipment
CN111866976A (en) Network switching method and device
CN114125739B (en) Network switching method and device, electronic equipment and storage medium
WO2023093894A1 (en) Sensing service implementation method and apparatus, and network-side device and terminal
CN113676853B (en) Communication method and terminal equipment
CN113965987B (en) SSB search information determining method and device and communication equipment
CN114339806B (en) Working area changing method, terminal and network side equipment
WO2024140384A1 (en) Signal processing method and apparatus, and device
EP4307755A1 (en) Method for accessing network, network side device, and terminal
CN117528687A (en) Network roaming method and device, electronic equipment and readable storage medium
CN116264743A (en) Reference determination method, reference determination device, communication device and readable storage medium
CN116939674A (en) Measurement processing method, device, terminal and network side equipment
CN116419347A (en) Conditional switching method, terminal and network side equipment
CN116980992A (en) Condition switching configuration method, terminal and network side equipment
CN116939693A (en) Measurement reporting processing method and device, terminal and network side equipment
CN118201006A (en) Communication method, communication device, electronic equipment and readable storage medium
CN116865919A (en) PDCCH monitoring method, device, terminal, network equipment and medium
CN116437445A (en) Paging indication method, terminal and network side equipment
CN116567765A (en) Data forwarding method, device, terminal equipment and network equipment
CN117528712A (en) Network selection method and terminal
CN116761259A (en) Resource pool selection method, device and terminal
CN116567781A (en) Transmission method, transmission device, terminal, network side equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant