CN112714482A - Network switching method, device, terminal and storage medium - Google Patents

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

Info

Publication number
CN112714482A
CN112714482A CN201911016802.0A CN201911016802A CN112714482A CN 112714482 A CN112714482 A CN 112714482A CN 201911016802 A CN201911016802 A CN 201911016802A CN 112714482 A CN112714482 A CN 112714482A
Authority
CN
China
Prior art keywords
network
priority
power consumption
data
terminal
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.)
Granted
Application number
CN201911016802.0A
Other languages
Chinese (zh)
Other versions
CN112714482B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201911016802.0A priority Critical patent/CN112714482B/en
Publication of CN112714482A publication Critical patent/CN112714482A/en
Application granted granted Critical
Publication of CN112714482B publication Critical patent/CN112714482B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/16Performing reselection for specific purposes
    • H04W36/165Performing reselection for specific purposes for reducing network power consumption
    • 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
    • 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)

Abstract

The application provides a network switching method, a device, a terminal and a storage medium, wherein the network switching method comprises the following steps: receiving a network selection priority strategy input by an application program, wherein the network selection priority strategy comprises speed priority or power consumption priority; and switching the network to the first network when the network selection priority strategy is speed priority or switching the network to the second network when the network selection priority strategy is power consumption priority, wherein the data transmission rate of the first network is higher than that of the second network and the power consumption of the terminal in the first network is higher than that of the terminal in the second network.

Description

Network switching method, device, terminal and storage medium
Technical Field
The present application relates to wireless communication networks, and for example, to a network handover method, apparatus, terminal, and storage medium.
Background
The development of mobile communication technology starts from second Generation mobile communication (2nd Generation, 2G) to third Generation mobile communication (3rd Generation, 3G), and a terminal is simultaneously in a network with multiple formats. The terminal can simultaneously support networks of various systems and can access networks of different network systems according to requirements.
With the development of the fourth Generation mobile communication (4th Generation, 4G) and fifth Generation mobile communication (5th Generation, 5G) communication technologies, the wireless communication system has been developed greatly, and then the scheme for the terminal to switch in the network of various systems is also richer.
However, after the mobile communication technology evolves to 5G, a new problem arises, in a 5G network, a terminal will generate larger power consumption, and if an optimization scheme of network handover is still considered from the perspective of the network, the terminal will usually access the 5G network, but obviously, the power consumption of the terminal will be increased, so that the standby time of the terminal is reduced, and the use experience of a user may be affected.
Disclosure of Invention
The application provides a network switching method, a network switching device, a terminal and a storage medium, which can save the electric quantity of the terminal on the basis of meeting the service data transmission.
In a first aspect, an embodiment of the present application provides a network handover method, including:
receiving a network selection priority strategy input by an application program, wherein the network selection priority strategy comprises speed priority or power consumption priority;
and switching the network to the first network when the network selection priority strategy is speed priority or switching the network to the second network when the network selection priority strategy is power consumption priority, wherein the data transmission rate of the first network is higher than that of the second network and the power consumption of the terminal in the first network is higher than that of the terminal in the second network.
In a second aspect, an embodiment of the present application provides a network switching apparatus, including:
the policy receiving module is arranged for receiving a network selection priority policy input by an application program, wherein the network selection priority policy comprises speed priority or power consumption priority;
and the network switching module is set to perform network switching according to the network selection priority strategy, wherein when the network selection priority strategy is speed priority, the network switching module is switched to the first network, or when the network selection priority strategy is power consumption priority, the network switching module is switched to the first network, the data transmission rate of the first network is higher than the data transmission rate of the second network, and the power consumption of the terminal in the first network is greater than the power consumption of the terminal in the second network.
In a third aspect, an embodiment of the present application provides a terminal, including a processor and a memory, where the processor is configured to execute program instructions stored in the memory to perform the network handover method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the program is executed by a processor to implement the network handover method of the first aspect.
Drawings
Fig. 1 is a flowchart of a network handover method according to an embodiment;
fig. 2 is a flowchart of another network handover method according to an embodiment;
fig. 3 is a flowchart of another network handover method according to an embodiment;
fig. 4 is a flowchart of another network handover method according to an embodiment;
fig. 5 is a schematic structural diagram of a network switching apparatus according to an embodiment;
fig. 6 is a schematic structural diagram of another network switching apparatus according to an embodiment;
fig. 7 is a schematic diagram of a software architecture of a network switching device according to an embodiment;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment.
Detailed Description
Hereinafter, embodiments of the present application will be described in detail with reference to the accompanying drawings.
The development of mobile communication technology is an evolution process, so that a plurality of mobile communication networks with different standards are merged in the network. For example, in the current 4G network and 5G network, a terminal can generally support multiple terminal systems simultaneously, and access to networks of different systems for service transmission according to different requirements. A terminal that supports multiple mobile communication systems at the same time is called a multimode terminal. The conventional terminal performs network handover mainly considering the following situations:
1. the network access speed is accelerated, so that the terminal can be ensured to be quickly and accurately accessed to the correct network, and the network access time is reduced.
2. The success rate of accessing the network is improved, and the success rate of accessing the terminal can be improved according to the strategy under the condition that multiple networks or the network is busy.
3. The communication quality is improved, and under the multi-network environment and different network bandwidths and busy degrees, the communication bandwidth of the terminal can be increased better by selecting the network.
4. The network operation efficiency is improved, and how to balance the terminal load under the multi-touch network condition enables the whole network operation efficiency to be higher.
5. How to select the network on the dual-card terminal can save more expenses.
In order to solve the problems, the technology is optimized through a core network, optimized through a base station, optimized through adding network element equipment, and a network selection strategy of pre-storing a network priority list through terminal equipment.
However, in the evolution from 4G to 5G, a new problem arises that has not occurred in the previous network upgrade generations: communication between a terminal and a base station in a 5G network may cause the terminal to generate significantly more power consumption than in a 4G network. For example, when a mobile phone user uses WeChat chat, microblog swiping, mobile phone reading, mobile phone map, shopping and other daily uses, the 4G network speed is enough to ensure that the data acquired at one time is updated in place within 1 second, the 5G transmission is also within 1 second, the experience cannot be perceived differently, and the power consumption is much larger.
Then, in the case that the 4G and 5G networks coexist, if the network is selected based on the network setting or the network signal, the terminal may be always in the 5G network, and the 4G network may meet the service of the experience requirement, which will cause additional consumption of the terminal power.
Therefore, the embodiment of the application provides a network switching method, which can help terminal equipment to save energy, reduce consumption and prolong service time on the basis of ensuring user experience.
Fig. 1 is a flowchart of a network handover method according to an embodiment, and as shown in fig. 1, the method according to the embodiment includes the following steps.
Step S1010, receiving a network selection priority strategy input by an application program, wherein the network selection priority strategy comprises speed priority or power consumption priority.
The network switching method provided in this embodiment is applied to a terminal in a mobile communication network, where the terminal may also be referred to as User Equipment (UE). The terminal in the embodiment of the present application may support at least two networks at the same time, and the environment where the terminal is located is an environment where at least two networks coexist, where the two networks are, for example, a first network and a second network.
In the conventional network switching mechanism, the network side instructs the terminal to switch the network according to the state of the network, but only the factors of the network side are considered, and the relevant factors of the terminal are not considered. Since power consumption generated by terminals performing the same service data transmission in different networks may be greatly different, generally, the higher the transmission rate, the higher the power consumption in the network. With the development of mobile communication technology, the data transmission rate in the network with a lower transmission rate is sufficient to meet the data transmission requirements of most services, and then the network selection is performed only according to the network switching mechanism at the network side, which may cause the service data transmission that may be originally completed in the low power consumption network to be performed in the high power consumption network, thereby possibly bringing extra power consumption to the terminal. In the embodiment of the present application, a network with high power consumption and high data transmission rate is a 5G network, and a network with low power consumption and low data transmission rate is a 4G network, for example, but the first network and the second network are not limited to the 5G network and the 4G network, and for example, as the networks evolve, the first network and the second network may also be a 6G network and a 5G network or a 6G network and a 4G network, and the like.
Therefore, in this embodiment, the network switching is selected according to the service transmission requirements of different applications in the terminal. Different application programs can have different network selection priority strategies according to the transmission characteristics of the service data, for example, the transmission quantity of the service data is not large, and the real-time requirement on data transmission is not high, so that the 4G network can sufficiently meet the transmission requirement; however, if the transmission amount of service data is large or the requirement on the real-time performance of data transmission is high, the service needs to be transmitted by the 5G network. Different application programs can be preset with different network selection priority strategies, wherein the network selection priority strategies comprise speed priority or power consumption priority. Wherein the speed priority means that the service transmission of the application requires a faster transmission rate and higher real-time performance, and the power consumption priority means that the service transmission of the application does not require a faster transmission rate and higher real-time performance. The application program is a user of the data service, and taking the android system as an example, WeChat, microblog, browser, map software and the like are all application programs of the data service.
The network selection priority policy may also be determined in real time according to different requirements of the application program for transmitting the service data each time, that is, the network selection priority policy is obtained by calculating the required rate of the application program for transmitting the service data or the size and the expected time of the service data to be transmitted according to the required rate of the application program for transmitting the service data, and then comparing the required rate of the application program for transmitting the service data with a preset threshold.
Step S1020, performing network switching according to the network selection priority policy, where the network switching is performed to a first network when the network selection priority policy is speed priority, or to a second network when the network selection priority policy is power consumption priority, a data transmission rate of the first network is higher than a data transmission rate of the second network, and power consumption of the terminal in the first network is higher than power consumption of the terminal in the second network.
And after receiving the network selection priority strategy, switching the network according to the network selection priority strategy, wherein the network selection priority strategy is switched to a first network when the speed is first, and the network selection priority strategy is switched to a second network when the power consumption is first. When the application program needs the speed priority, the first network can be accessed preferentially to ensure that the service transmission rate of the application program meets the requirement, and when the application program does not have high requirement on the data transmission rate, the second network can be accessed to save the electric quantity of the terminal on the basis of meeting the requirement of the user.
In an embodiment, since the network currently activated by the terminal may be the first network or the second network, the network switching is performed according to the network selection priority policy, which includes one or more of the following policy manners: if the currently activated network is the second network and the network selection priority policy is speed priority, switching to the first network; if the current activated network is the second network and the network selection priority policy is power consumption priority, directly initiating a data service; if the current activated network is the first network and the network selection priority policy is speed priority, directly initiating a data service; and if the currently activated network is the first network and the network selection priority policy is power consumption priority, switching to a second network.
The network switching method provided by this embodiment receives a network selection priority policy input by an application, where the network selection priority policy includes speed priority or power consumption priority, and performs network switching according to the network selection priority policy, where the network selection priority policy is switched to a first network when the speed is priority, and the network selection priority policy is switched to a second network when the power consumption is priority, where a data transmission rate of the first network is higher than a data transmission rate of the second network and power consumption of a terminal in the first network is greater than that of the terminal in the second network, so that network switching can be implemented at a terminal side, and power consumption of the terminal is saved on the premise that usage of a user is satisfied.
Fig. 2 is a flowchart of another network handover method according to an embodiment, and as shown in fig. 2, the method according to the embodiment includes the following steps.
Step S2010, receiving the required data transmission rate sent by the application program.
In the embodiment shown in fig. 1, the terminal performs network handover according to the network selection priority policy sent by the application program. However, since the state of the network to which the terminal is currently connected is unclear by the application program, the network is switched and selected only according to the network selection priority policy preset in the application program, and the actual use requirement of the application program cannot be met. The network selection prioritization policy of the application may also be determined in real-time according to the traffic data transmission requirements of the application. In this embodiment, the first network is a 5G network, and the second network is a 4G network.
Then the desired data transfer rate sent by the application program needs to be received first. The desired data transfer rate of the application may be the desired data transfer rate that the application directly sends, for example 50 MB/s. Or the size of the data to be transmitted and the expected sending time sent by the application program, and the required data transmission rate calculated according to the size of the data to be transmitted and the expected sending time. The expected sending time is the longest time length for sending the data to be transmitted, and the service of the application program cannot be influenced until the data to be transmitted is sent within the expected sending time. For example, if the size of data to be transmitted is 120MB and the expected transmission data is 2 seconds, the required data transmission rate is 60 MB/s.
Or the required data transfer rate may be a predefined constant or macro-like value. Similarly, if the application program sends a data SIZE to be transmitted and an expected sending time, the data SIZE to be transmitted may also be a predefined value, such as a constant in the program language, or a value for a macro, such as SIZE _ range _ FILE; the expected transmission time may be a specific time value in minutes, seconds, or milliseconds, or may be a predetermined defined constant, macro, or the like.
In step S2020, it is determined whether the data transfer rate of the available second network satisfies the data transfer rate required by the application.
The 4G network that the terminal can access is called an available 4G network, and the data transmission rate of the terminal for performing service data transmission in the 4G network is an inherent attribute of the network, so that it can be determined whether the data transmission rate of the available 4G network satisfies the data transmission rate required by the application program. Namely, whether the data transmission rate of the available 4G network is greater than the data transmission rate required by the application program or whether the difference value between the data transmission rate of the available 4G network and the data transmission rate required by the application program is within a preset threshold is judged.
In an embodiment, since the signal quality of the 4G network where the terminal is located may affect the data transmission rate of the 4G network, the data transmission rate of the available 4G network may also be an expected data transmission rate calculated by weighting according to the signal quality of the 4G network.
The determining whether the data transfer rate of the available second network satisfies the data transfer rate required by the application includes: when the current activated network is a second network, determining a discount coefficient according to the signal quality of the current network, wherein the discount coefficient is positively correlated with the signal quality of the current network; calculating an expected data transmission rate of the available second network according to the discount coefficient, wherein the expected data transmission rate is the product of an ideal data transmission rate of the available second network and the discount coefficient; it is determined whether the expected data transfer rate of the available second network satisfies the data transfer rate required by the application.
If the current activated network is a 4G network, firstly, the current network signal state is obtained, the network signal is in a normal network state in an interval, and the network signal which is not in the interval is poor, and the data transmission rate of the 4G network is discounted and adjusted. S ═ S1Xk, S is the expected data transmission rate, S1And k is a discount coefficient corresponding to the current network signal for the ideal data transmission rate. The discount coefficient k represents the influence on the data transmission rate under different network signal conditions. The value of k can have a certain functional relationship with the signal intensity, and can also be determined according to product experience. For example, there are several distributions under different network signal strengths, such as: the ideal 4G transmission data rate is 100Mbps, and the network signal is reduced to a certain extent, which causes the network transmission data to be reduced, and the data is classified into several grades according to the signal intensity: 0-1Mbps, 1Mbps-10Mbps, 10Mbps-20Mps, 20-50Mbps and 50-100Mbps, and the corresponding k values are respectively 0.01, 0.1, 0.2, 0.5 and 1. Or the discount coefficient k is in direct proportion to the ratio of the current network signal strength to the preset ideal network signal strength, if the current signal strength is greater than or equal to the preset ideal network signal strength, k is 1, otherwise k is the current network signal strength/the preset ideal network signal strength. The current network signal value is obtained, and the corresponding network signal value can be matchedLet 4G network data rate discount coefficient.
Or when the currently active network is the first network, determining whether the desired data transfer rate of the available second network satisfies the data transfer rate required by the application. That is, if the currently active network is not a 4G network, the discount coefficient is calculated as 1.
Step S2030, if yes, sending a network selection priority policy with priority on power consumption to the application program, otherwise, sending a network selection priority policy with priority on speed to the application program.
If the data transmission rate of the available 4G network meets the data transmission rate required by the application program, it indicates that the available 4G network of the terminal has met the traffic transmission requirement of the application program, and therefore, a network selection priority policy with priority over power consumption may be sent to the application program. If the data transmission rate of the available 4G network does not meet the data transmission rate required by the application program, the available 4G network of the terminal cannot meet the service transmission requirement of the application program, and therefore, a network selection priority strategy with a priority in speed can be sent to the application program.
Step S2040, a network selection priority policy input by the application is received.
Step S2050 is to perform network switching according to the network selection priority policy, where the network selection priority policy is to switch to the first network when the speed is first, and the network selection priority policy is to switch to the second network when the power consumption is first.
Because the network selection priority strategy in the application program is obtained by calculation according to the required data transmission rate sent by the application program and the data transmission rate of the 4G network available for the terminal, after network switching selection is carried out according to the network selection priority strategy sent by the application program, the network accessed by the terminal can meet the service transmission requirement of the application program, and the power consumption of the terminal can be saved.
The network switching method provided by the embodiment shown in fig. 2 is applied to a terminal, and has two interactive interfaces with an application program, namely an interface 1 for receiving a required data transmission rate sent by the application program and an interface 2 for receiving a network selection priority policy input by the application program. The processing methods of the interface 1 and the interface 2 may be processed by using independent processing logics, and fig. 3 and fig. 4 are flowcharts of the processing logics of the interface 1 and the interface 2, respectively.
Fig. 3 is a flowchart of another network switching method according to an embodiment, where the embodiment is a schematic processing logic diagram of an interface 1, and as shown in fig. 3, the method according to the embodiment includes the following steps.
Step S3010, the application calls interface 1, and imports parameters: the size of the data to be transmitted and the expected time.
The SIZE of data to be transmitted refers to the SIZE of data received/transmitted by data service, and may be a specific byte SIZE of a FILE (such as a video FILE), such as 120MB, or a predefined value, such as a constant in a program language, or a value for a macro, such as SIZE _ search _ FILE. The expected time is the time required to transmit data. It may be a specific time value in minutes, seconds, or milliseconds, or it may be a predetermined defined constant, macro, or the like. The size of data to be transmitted and the expected time may also be defined as the data transmission rate per unit time. When such a network application is initialized, although it is not explicitly provided for a user to receive or send a file, the program itself may have data exchanged with it. Therefore, the application program can call the interface to determine what network selection strategy the application program is suitable for according to the design of the application program.
Step S3020, obtaining information of the 4G network available at the current terminal, and obtaining a data transmission rate S in the preset 4G network.
If the current activated network is a 4G network, the current network signal state is obtained, the network signal is in a normal network state in an interval, and the network signal which is not in the interval is poor, the preset 4G network data transmission rate is discounted and adjusted: s ═ S1K, S is the expected data transmission rate, S1And k is a discount coefficient corresponding to the current network signal for the ideal data transmission rate. k is a value ofAccording to the product experience, the new model strengths of different networks have several grades of distributions, such as: the ideal 4G transmission data rate is 100Mbps, and the network signal is reduced to a certain extent, which causes the network transmission data to be reduced, and the data is classified into several grades according to the signal intensity: 0-1Mbps, 1Mbps-10Mbps, 10Mbps-20Mps, 20-50Mbps and 50-100Mbps, and the corresponding k values are respectively 0.01, 0.1, 0.2, 0.5 and 1. And the current network signal value is obtained, so that the corresponding preset 4G network data transmission rate discount coefficient can be matched. If the currently active network is not a 4G network, the discount coefficient is calculated as 1.
Step S3030: calculating expected data transmission rate S according to the size of the data to be transmitted and the expected time2
Step S3040: expected data transmission rate S2And comparing the expected data transmission rate with the data transmission rate S in the 4G network, and judging whether the expected data transmission rate is smaller than the data transmission rate in the 4G network. If: s2Less than S, or S2If the difference with S is within a predetermined threshold, the 4G network will meet the data transmission rate requirements of the application. The interface returns the priority policy of network selection as follows: power consumption takes precedence. S2If the value of S is larger than the preset threshold value, the 4G network does not meet the data transmission rate requirement of the application, and the selection priority strategy of the interface returning network is as follows: the speed is prioritized.
Fig. 4 is a flowchart of another network switching method according to an embodiment, which is a schematic processing logic diagram of an interface 2, and as shown in fig. 4, the method according to the embodiment includes the following steps.
Step S4010, the application program calls interface 2, and imports parameters: and selecting a priority strategy by the network.
Step S4020, acquires current network information including the currently activated network type.
And according to the strategy of the transmitted parameters, judging by combining the current network information, and initiating the data service or initiating the data service after switching the network. Further, according to the current network condition:
in step S4030, it is determined whether the currently active network is a 4G network or a 5G network.
If the current network is a 4G network: if the incoming network selection policy is 'power consumption first', directly initiating a data service; and if the incoming network selection strategy is 'speed priority', switching the network to the 5G network and then initiating the data service process. If the current network is 5G: if the incoming network selection policy is 'speed priority', directly initiating a data service; if the incoming network selection policy is "power consumption first", then the switching network initiates a data traffic process for the 4G network.
Fig. 5 is a schematic structural diagram of a network switching apparatus according to an embodiment, and as shown in fig. 5, the network switching apparatus according to the embodiment includes:
a policy receiving module 51 configured to receive a network selection priority policy input by an application, where the network selection priority policy includes speed priority or power consumption priority; and the network switching module 52 is configured to perform network switching according to the network selection priority policy, where the network switching module switches to the first network when the network selection priority policy is speed priority, or switches to the first network when the network selection priority policy is power consumption priority, where a data transmission rate of the first network is higher than a data transmission rate of the second network, and power consumption of the terminal in the first network is greater than power consumption of the terminal in the second network.
The network switching device provided in this embodiment is used to implement the network switching method in the embodiment shown in fig. 1, and the implementation principle and the technical effect of the network switching device provided in this embodiment are similar, and are not described herein again.
Fig. 6 is a schematic structural diagram of another network switching apparatus provided in an embodiment, and as shown in fig. 6, the network switching apparatus provided in this embodiment further includes, on the basis of fig. 5:
a parameter receiving module 61 configured to receive a required data transmission rate sent by an application; a decision block 62 arranged to determine whether the data transfer rate of the available second network meets the data transfer rate required by the application; and the strategy sending module 63 is set to send a network selection priority strategy with priority on power consumption to the application program if the strategy is met, and otherwise, send a network selection priority strategy with priority on speed to the application program.
The network switching device provided in this embodiment is used to implement the network switching method in the embodiment shown in fig. 2, and the implementation principle and the technical effect of the network switching device provided in this embodiment are similar, and are not described herein again.
In an embodiment, the parameter receiving module 61 is specifically configured to receive the size of the data to be transmitted and the expected transmission time sent by the application program; and calculating the required data transmission rate according to the size of the data to be transmitted and the expected sending time.
In one embodiment, the determining module 62 is specifically configured to determine a discount coefficient according to the signal quality of the current network when the currently activated network is the second network, where the discount coefficient is positively correlated with the signal quality of the current network; calculating an expected data transmission rate of the available second network according to the discount coefficient, wherein the expected data transmission rate is the product of the ideal data transmission rate of the available second network and the discount coefficient; determining whether the expected data transfer rate of the available second network meets the application required data transfer rate; or even the currently active network is the first network, it is determined whether the desired data transfer rate of the available second network meets the data transfer rate required by the application.
Fig. 5 and fig. 6 are logical structures of the network switching device according to the embodiment of the present application, but actually, the structure of the network switching device may also take other forms in order to implement the network switching method according to the embodiment of the present application. For example, the method can be implemented by a software system in the terminal, wherein the software system of the terminal is provided with a data service subsystem which comprises a plurality of modules and a network selection module and is responsible for selecting a specific communication network; the network setting module is used for recording network parameters corresponding to available network systems and periods of the terminal; providing an interface for an upper layer to call an application layer, initiating a data service, calling a network selection module for a lower layer, initiating a network connection and establishing the data service based on the network; and a network selection optimization module is added to provide a calling interface between an application layer and a data service, and the application layer judges the priority strategy of the data service through the interface. And (3) inputting parameters: the size of the data packet to be transmitted and the expected transmission time length; in the interface, according to the size of an incoming data packet, a transmission rate parameter of an available network (4G network) with the lowest power consumption is selected, a corresponding transmission time length is calculated, and the transmission time length is compared with an incoming expected transmission time length. And if the calculated duration is lower than the expected duration, the interface returns a result of power consumption priority, otherwise, the returned result is speed priority. And adding a calling interface to the application layer, and informing the application layer of the data service module of initiating a priority strategy of data service communication through the interface by the application layer. The priority strategy is defined as speed priority and power consumption priority. In the network selection optimization module, a priority strategy for establishing a data service by an application layer is received, if the speed is priority, available network information in the network setting module is read, a network (5G network) with the highest data transmission rate on a terminal is selected, connection is established, and the data service is initiated; if the power consumption is priority, selecting the network (4G network) with the lowest power consumption from the available network information in the network setting module for transmission.
The method of the present invention is a software method, and the method is applied to various software systems supporting mobile data communication. A mobile terminal device is to initiate data service, and the software implementation process of the mobile terminal device from top to bottom involves three layers of subsystems: respectively an application program subsystem, a data service subsystem and a protocol implementation subsystem.
The application program is a user of the data service, and opens the network and sends/receives network data through an interface provided by the data service subsystem. Taking the android system as an example, WeChat, microblog, browser, Baidu map and the like are all the application programs of the data service. The data service subsystem is composed of a plurality of modules, including a network selection module, a network parameter configuration module, a data service management module and the like. And the system is responsible for initiating network selection, call connection/disconnection, data transmission and data service state maintenance. And providing an interface for the upper layer to call the application layer, and starting the realization of the specific data service downwards. Taking the android system as an example, the data service subsystem includes a plurality of modules in a framework layer and a kernel layer, such as a module related to Access Point Name (APN) configuration, a network selection module, a network connection/termination module, and a network state maintenance module. And the protocol implementation subsystem is responsible for understanding various types of networks and implementing corresponding data service protocols. Taking android system equipment as an example, protocol implementation is realized at a Modem side.
Fig. 7 is a schematic diagram of a software system architecture of a network switching device according to an embodiment, as shown in fig. 7, a network selection optimization module and 2 upper layer call interfaces are additionally arranged in a data service subsystem.
The terminal comprises a data service subsystem and a network selection module, wherein the data service subsystem of the terminal is provided with the network selection module which is responsible for selecting a specific communication network; the data service sub-module provides an interface for the upper layer to call the application layer, initiates a data service, calls the network selection module for the lower layer, initiates a network connection and establishes a data service based on the network; the network setting module is used for recording network parameters corresponding to available network systems and periods of the terminal.
And adding a calling interface 1 between an application layer and the data service, and judging the network selection priority strategy of the data service by the application layer through the interface 1. And (3) inputting parameters: the size of the data packet to be transmitted and the expected transmission time length; the interface returns a result that is power consumption first or speed first. The method comprises the steps that a calling interface 2 between an application layer and a data service is added, the application layer informs a data service module of a network selection priority strategy for initiating data service communication through the interface 2, and the priority strategy of an incoming parameter is one of the following two values, namely speed priority and power consumption priority.
And a network selection optimization module is added and is responsible for realizing the newly added interface. When the application program calls the interface 1 to obtain the network priority strategy, the network selection optimization module obtains the transmission flow bandwidth available for the current network, and returns a proper network selection strategy after program processing according to the transmitted parameters; when the application program calls the interface 2 to notify the network initiating the data service to select a priority strategy, reading available network information and the current network condition in the network setting module, selecting a network (5G network) with the highest data transmission rate on the terminal, establishing connection and initiating the data service; if the power consumption is priority, the network (4G network) with the lowest power consumption is selected for transmission.
Fig. 8 is a schematic structural diagram of a terminal according to an embodiment, as shown in fig. 8, the terminal includes a processor 81, a memory 82, a transmitter 83 and a receiver 84; the number of the processors 81 in the terminal may be one or more, and one processor 81 is taken as an example in fig. 8; a processor 81 and a memory 82, a transmitter 83 and a receiver 84 in the terminal; the connection may be via a bus or other means, such as via a bus as illustrated in FIG. 8.
The memory 82, as a computer-readable storage medium, may be configured to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the network handover method in the embodiments of fig. 1-2 of the present application (for example, the policy receiving module 51, the network handover module 52, the parameter receiving module 61, the determining module 62, and the policy sending module 63 in the network handover device). The processor 81 executes the software program, instructions and modules stored in the memory 82, so as to complete at least one functional application and data processing of the terminal, that is, to implement the network switching method.
The memory 82 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 for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 82 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
The transmitter 83 is a module or combination of devices capable of transmitting radio frequency signals into space, including, for example, a radio frequency transmitter, an antenna, and other devices. The receiver 84 is a module or combination of devices capable of receiving radio frequency signals from space, including, for example, a radio frequency receiver, an antenna, and other devices.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a network handover method, the method comprising: receiving a network selection priority strategy input by an application program, wherein the network selection priority strategy comprises speed priority or power consumption priority; and switching the network to the first network when the network selection priority strategy is speed priority or switching the network to the second network when the network selection priority strategy is power consumption priority, wherein the data transmission rate of the first network is higher than that of the second network and the power consumption of the terminal in the first network is higher than that of the terminal in the second network.
The above are merely exemplary embodiments of the present application, and are not intended to limit the scope of the present application.
It will be clear to a person skilled in the art that the term user terminal covers any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser or a car mounted mobile station.
In general, the various embodiments of the application may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the application is not limited thereto.
Embodiments of the application may be implemented by a data processor of a mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages.
Any logic flow block diagrams in the figures of this application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions. The computer program may be stored on a memory. The memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, Read-Only Memory (ROM), Random-Access Memory (RAM), optical storage devices and systems (Digital versatile disks (DVD) or Compact Disks (CD)), etc., the computer-readable medium can comprise a non-transitory storage medium, the data processor can be of any type suitable to the local technical environment, such as, but not limited to, general purpose computers, special purpose computers, microprocessors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Programmable logic devices (FGPAs), and processors based on a multi-core processor architecture.

Claims (10)

1. A method for network handover, comprising:
receiving a network selection priority strategy input by an application program, wherein the network selection priority strategy comprises speed priority or power consumption priority;
and switching the network to the first network when the network selection priority strategy is speed priority or switching the network to the second network when the network selection priority strategy is power consumption priority, wherein the data transmission rate of the first network is higher than that of the second network and the power consumption of the terminal in the first network is higher than that of the terminal in the second network.
2. The method of claim 1, wherein the performing network handover according to the network selection prioritization policy comprises one or more of the following policy methods:
if the currently activated network is the second network and the network selection priority policy is speed priority, switching to the first network;
if the current activated network is the second network and the network selection priority policy is power consumption priority, directly initiating a data service;
if the current activated network is the first network and the network selection priority policy is speed priority, directly initiating a data service;
and if the currently activated network is the first network and the network selection priority policy is power consumption priority, switching to a second network.
3. The method of claim 1, wherein before receiving the network selection prioritization policy input by the application, further comprising:
receiving a required data transmission rate sent by an application program;
determining whether a data transfer rate of an available second network satisfies a data transfer rate required by the application;
and if so, sending a network selection priority strategy with priority on power consumption to the application program, otherwise, sending a network selection priority strategy with priority on speed to the application program.
4. The method of claim 3, wherein receiving the desired data transmission rate sent by the application comprises:
receiving the size and expected sending time of data to be transmitted sent by an application program;
and calculating the required data transmission rate according to the size of the data to be transmitted and the expected sending time.
5. The method of claim 3, wherein determining whether the data transfer rate of the available second network satisfies the data transfer rate required by the application comprises:
when the currently activated network is a second network, determining a discount coefficient according to the signal quality of the current network, wherein the discount coefficient is positively correlated with the signal quality of the current network;
calculating an expected data transmission rate of the available second network according to the discount coefficient, wherein the expected data transmission rate is the product of an ideal data transmission rate of the available second network and the discount coefficient;
determining whether an expected data transfer rate of an available second network satisfies a data transfer rate required by the application; or
When the currently activated network is the first network, it is determined whether the desired data transfer rate of the available second network satisfies the data transfer rate required by the application.
6. The method according to any one of claims 1 to 5, wherein the first network is a 5G network and the second network is a 4G network.
7. A network switching apparatus, comprising:
the policy receiving module is arranged for receiving a network selection priority policy input by an application program, wherein the network selection priority policy comprises speed priority or power consumption priority;
and the network switching module is set to perform network switching according to the network selection priority strategy, wherein when the network selection priority strategy is speed priority, the network switching module is switched to the first network, or when the network selection priority strategy is power consumption priority, the network switching module is switched to the first network, the data transmission rate of the first network is higher than the data transmission rate of the second network, and the power consumption of the terminal in the first network is greater than the power consumption of the terminal in the second network.
8. The apparatus of claim 7, further comprising:
the parameter receiving module is set to receive the required data transmission rate sent by the application program;
a determining module configured to determine whether a data transfer rate of an available second network satisfies a data transfer rate required by the application;
and the strategy sending module is set to send a network selection priority strategy with priority on power consumption to the application program if the strategy sending module meets the requirement, and otherwise, send a network selection priority strategy with priority on speed to the application program.
9. A terminal comprising a processor and a memory, wherein the processor is configured to execute program instructions stored in the memory to perform a network handover method according to any of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a network switching method according to any one of claims 1 to 6.
CN201911016802.0A 2019-10-24 2019-10-24 Network switching method, device, terminal and storage medium Active CN112714482B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911016802.0A CN112714482B (en) 2019-10-24 2019-10-24 Network switching method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911016802.0A CN112714482B (en) 2019-10-24 2019-10-24 Network switching method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112714482A true CN112714482A (en) 2021-04-27
CN112714482B CN112714482B (en) 2024-06-11

Family

ID=75540154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911016802.0A Active CN112714482B (en) 2019-10-24 2019-10-24 Network switching method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112714482B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113569541A (en) * 2021-05-17 2021-10-29 深圳市航通北斗信息技术有限公司 Message generation method, device, equipment and medium
CN114125739A (en) * 2021-11-15 2022-03-01 维沃移动通信有限公司 Network switching method and device, electronic equipment and storage medium
CN114286411A (en) * 2021-12-10 2022-04-05 西安广和通无线软件有限公司 Network switching method, communication equipment and computer readable storage medium
WO2023051053A1 (en) * 2021-09-30 2023-04-06 华为技术有限公司 Method for adjusting interface balance and electronic device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130041981A1 (en) * 2011-08-12 2013-02-14 Sk Telecom Co., Ltd. Multi-network based simultaneous data transmission method and apparatuses applied to the same
CN103533611A (en) * 2012-07-06 2014-01-22 华为技术有限公司 Methods for selecting wireless access network and sending network selecting strategy and device
CN103889032A (en) * 2014-03-28 2014-06-25 宇龙计算机通信科技(深圳)有限公司 Terminal and network selecting method
US20150098393A1 (en) * 2013-10-09 2015-04-09 At&T Intellectual Property I, L.P. Network operating system client architecture for mobile user equipment
US20160014699A1 (en) * 2013-03-26 2016-01-14 Huawei Technologies Co., Ltd. Network selection method, apparatus, and base station
CN105517129A (en) * 2015-11-28 2016-04-20 广东欧珀移动通信有限公司 Network type switching method in communication terminal and communication terminal
US20160285727A1 (en) * 2013-10-29 2016-09-29 Lg Electronics Inc. Method for controlling transmission power and transmission delay, and communication terminal using same
CN106028375A (en) * 2016-05-12 2016-10-12 北京小米移动软件有限公司 Method and device for prompting network switching and terminal device
CN106162768A (en) * 2015-05-21 2016-11-23 小米科技有限责任公司 Wireless access point switching method and device
US20170201936A1 (en) * 2014-05-23 2017-07-13 Zte Corporation Method and Device for Controlling Network Connection
CN108366403A (en) * 2018-02-02 2018-08-03 广东欧珀移动通信有限公司 Method for switching network, device, terminal and storage medium
CN108495348A (en) * 2018-01-31 2018-09-04 上海连尚网络科技有限公司 It is a kind of for the method for switching network of user equipment, equipment and medium
CN109548117A (en) * 2018-11-23 2019-03-29 维沃移动通信有限公司 A kind of network selecting method and mobile terminal

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130041981A1 (en) * 2011-08-12 2013-02-14 Sk Telecom Co., Ltd. Multi-network based simultaneous data transmission method and apparatuses applied to the same
CN103533611A (en) * 2012-07-06 2014-01-22 华为技术有限公司 Methods for selecting wireless access network and sending network selecting strategy and device
US20160014699A1 (en) * 2013-03-26 2016-01-14 Huawei Technologies Co., Ltd. Network selection method, apparatus, and base station
US20150098393A1 (en) * 2013-10-09 2015-04-09 At&T Intellectual Property I, L.P. Network operating system client architecture for mobile user equipment
US20160285727A1 (en) * 2013-10-29 2016-09-29 Lg Electronics Inc. Method for controlling transmission power and transmission delay, and communication terminal using same
CN103889032A (en) * 2014-03-28 2014-06-25 宇龙计算机通信科技(深圳)有限公司 Terminal and network selecting method
US20170201936A1 (en) * 2014-05-23 2017-07-13 Zte Corporation Method and Device for Controlling Network Connection
CN106162768A (en) * 2015-05-21 2016-11-23 小米科技有限责任公司 Wireless access point switching method and device
CN105517129A (en) * 2015-11-28 2016-04-20 广东欧珀移动通信有限公司 Network type switching method in communication terminal and communication terminal
CN106028375A (en) * 2016-05-12 2016-10-12 北京小米移动软件有限公司 Method and device for prompting network switching and terminal device
CN108495348A (en) * 2018-01-31 2018-09-04 上海连尚网络科技有限公司 It is a kind of for the method for switching network of user equipment, equipment and medium
CN108366403A (en) * 2018-02-02 2018-08-03 广东欧珀移动通信有限公司 Method for switching network, device, terminal and storage medium
CN109548117A (en) * 2018-11-23 2019-03-29 维沃移动通信有限公司 A kind of network selecting method and mobile terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孟凡;安青青;: "NB-IoT网络规划及部署策略的研究", 广东通信技术, no. 05, 15 May 2018 (2018-05-15) *
李继蕊;李小勇;高雅丽;高云全;方滨兴;: "物联网环境下数据转发模型研究", 软件学报, no. 01, 9 October 2017 (2017-10-09) *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113569541A (en) * 2021-05-17 2021-10-29 深圳市航通北斗信息技术有限公司 Message generation method, device, equipment and medium
WO2023051053A1 (en) * 2021-09-30 2023-04-06 华为技术有限公司 Method for adjusting interface balance and electronic device
CN114125739A (en) * 2021-11-15 2022-03-01 维沃移动通信有限公司 Network switching method and device, electronic equipment and storage medium
CN114125739B (en) * 2021-11-15 2023-09-26 维沃移动通信有限公司 Network switching method and device, electronic equipment and storage medium
CN114286411A (en) * 2021-12-10 2022-04-05 西安广和通无线软件有限公司 Network switching method, communication equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN112714482B (en) 2024-06-11

Similar Documents

Publication Publication Date Title
CN112714482A (en) Network switching method, device, terminal and storage medium
CN110536342B (en) Network mode control method, terminal and storage medium
CN109495875B (en) SIM card selection method and device, electronic equipment and storage medium
CN104170516A (en) Methods and apparatus for reducing call drop rate
CN105099989A (en) Service request processing and service processing result acquiring method, device and system
CN110249661B (en) Network connection method and device
JP6730511B2 (en) Network policy update trigger method, management entity and core network device
CN106102143A (en) A kind of application processing method and device
CN112868265B (en) Network resource management method, management device, electronic equipment and storage medium
EP4057552A1 (en) Ue capability reporting method, apparatus and system
CN110446235A (en) Call mode determines method and device, electronic equipment, storage medium
US11432355B2 (en) Control plane connection management method and apparatus
CN110169108B (en) High-speed data transmission degradation method, device and system
CN111885678A (en) Data processing method, terminal device and medium for uplink exception
JP2023539132A (en) Control method for shared mode of base station, shared base station and communication system
CN106993316A (en) Call access method, device, user terminal and readable storage medium storing program for executing
CN108495300A (en) Mobile network's mode switching method, device, terminal and storage medium
CN113448744B (en) Application program selection method and device
CN104509155A (en) Method and device for transmitting service
CN115706975A (en) Session policy control method, network element, storage medium and electronic device
WO2021204343A1 (en) Communication system
CN112929928A (en) Cell switching method, device and computer readable storage medium
CN113489580B (en) Configuration method and device for carrier aggregation secondary cell
CN113271647B (en) USIM card management method, mobile equipment and user terminal
KR102032161B1 (en) Method for Controlling Traffic by Using Type Information, Terminal Therefor

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