WO2025201049A1 - 一种数据传输的方法、装置、设备以及存储介质 - Google Patents
一种数据传输的方法、装置、设备以及存储介质Info
- Publication number
- WO2025201049A1 WO2025201049A1 PCT/CN2025/082046 CN2025082046W WO2025201049A1 WO 2025201049 A1 WO2025201049 A1 WO 2025201049A1 CN 2025082046 W CN2025082046 W CN 2025082046W WO 2025201049 A1 WO2025201049 A1 WO 2025201049A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network
- terminal
- backup
- connection
- transmission rate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
- H04W52/0274—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
- H04W52/028—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present application relates to the field of communications, and in particular to data transmission technology.
- multiple cellular networks can be bundled and used.
- 2 to 3 5G modules can be integrated into the cellular terminal, and universal subscriber identity modules (USIM) of different operators can be inserted into different 5G modules to improve the network performance stability of the cellular terminal through redundant transmission or aggregated transmission.
- USIM universal subscriber identity modules
- Embodiments of the present application provide a data transmission method, apparatus, device, and storage medium for reducing the power consumption of a terminal with multiple communication modules to improve the performance and battery life of the terminal.
- first network quality parameter value is obtained by measuring first data transmission performed by the terminal through the first network
- second network quality parameter value is obtained by measuring second data transmission performed by the terminal through the second network
- the first network quality parameter value is greater than the second network quality parameter value, the first network is used as the primary network and the second network is used as the backup network;
- the first transmission rate is an average transmission rate at which the terminal transmits data through the primary network and/or the backup network during a first time period
- the connection between the terminal and the backup network is disconnected after a first period of time, where the reference condition is determined according to a transmission rate at which the terminal transmits data through the primary network.
- a second aspect of the present application provides a data transmission device, including:
- An acquiring unit configured to acquire a first network quality parameter value and a second network quality parameter value, where the first network quality parameter value is obtained by measuring a first data transmission performed by the terminal through the first network, and the second network quality parameter value is obtained by measuring a second data transmission performed by the terminal through the second network;
- a processing unit configured to use the first network as a primary network and the second network as a backup network when the first network quality parameter value is greater than the second network quality parameter value;
- the processing unit is further configured to disconnect the terminal from the backup network after a first period of time when the first transmission rate meets a reference condition, where the reference condition is determined based on a transmission rate at which the terminal transmits data through the primary network.
- a third aspect of the present application provides a computer device, comprising: a memory, a processor, and a bus system;
- the memory is used to store programs
- the processor is used to execute the program in the memory, and the processor is used to perform the above-mentioned methods according to the instructions in the program code;
- the bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.
- a fourth aspect of the present application provides a computer-readable storage medium, in which instructions are stored.
- the computer-readable storage medium is run on a computer, the computer executes the methods of the above aspects.
- a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium.
- a processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the above aspects.
- the signal strength of the network currently accessible to the terminal is determined by obtaining a first network quality parameter value and a second network quality parameter value, wherein the first network quality parameter value is obtained by measuring a first data transmission performed by the terminal through the first network, and the second network quality parameter value is obtained by measuring a second data transmission performed by the terminal through the second network.
- the network with the strongest signal is selected as the primary network, and the other networks are selected as backup networks. After the primary network can provide the network bandwidth required for data transmission and can operate stably for a first period of time, the connection between the terminal and the backup network is disconnected. This ensures normal data transmission of the terminal while reducing redundant network connections, thereby reducing the power consumption of the terminal and improving the terminal's battery life.
- FIG1 is a schematic diagram of aggregate transmission of multiple network terminals in an embodiment of the present application.
- FIG2 is a schematic diagram of an architecture of a communication system according to an embodiment of the present application.
- FIG3 is a flow chart of a method for data transmission according to an embodiment of the present application.
- FIG4 is another schematic flow chart of a method for data transmission according to an embodiment of the present application.
- FIG7 is another schematic flow chart of a method for data transmission according to an embodiment of the present application.
- module refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof.
- a processor or multiple processors or memories
- each module or unit can be part of an overall module or unit that includes the function of the module or unit.
- multiple cellular networks can be bundled together to ensure stable network performance of cellular terminals.
- 2 to 3 5G modules are integrated in the cellular terminal, and USIM cards of different operators can be inserted into different 5G modules. Then, the network performance stability of the cellular terminal can be improved through redundant transmission or aggregated transmission.
- the live broadcast APP will divide it into multiple data packets (data packet 1, data packet 2, data packet 3, data packet 4), and distribute the multiple data packets through the multi-network transmission APP.
- the multi-network transmission APP distributes data packet 1 and data packet 3 to the first network (5G) transmission
- the multi-network transmission APP distributes data packet 2 and data packet 4 to the second network (WiFi) transmission.
- the multi-network transmission gateway aggregates the multiple data packets (data packet 1, data packet 2, data packet 3, data packet 4) in the cloud, restores them to the original live data stream, and then transmits them to the live broadcast server for subsequent processing.
- the present application proposes the following solution: when at least two USIM cards are provided in the terminal, the signal strength of the network corresponding to each USIM card is obtained, and the USIM card with the strongest network signal is selected as the main USIM card, and the remaining USIM cards are used as backup USIM cards.
- the main USIM card can provide the network bandwidth that meets the business needs and runs in a stable state for a period of time, the connection between the terminal and the network corresponding to the backup USIM card is disconnected. While ensuring the normal data transmission of the terminal, redundant network connections are reduced, thereby reducing the power consumption of the terminal and improving the performance and battery life of the terminal.
- the server involved in this application can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
- the terminal device can be a smart phone, tablet computer, laptop computer, PDA, personal computer, smart TV, smart watch, car-mounted device, wearable device, etc., but is not limited thereto.
- the terminal device and the server can be directly or indirectly connected by wired or wireless communication, and this application does not limit this.
- the number of servers and terminal devices is also not limited.
- the solution provided in this application can be completed independently by the terminal device, can be completed independently by the server, or can be completed by the terminal device and the server in cooperation. This application does not make any specific limitations on this.
- the terminal device When the method provided in this application is performed by a terminal device, the terminal device is configured to perform the following operations:
- first network quality parameter value is obtained by measuring first data transmission performed by the terminal through the first network
- second network quality parameter value is obtained by measuring second data transmission performed by the terminal through the second network
- the first network quality parameter value is greater than the second network quality parameter value, the first network is used as the primary network and the second network is used as the backup network;
- the connection between the terminal and the backup network is disconnected after a first period of time, where the reference condition is determined according to a transmission rate at which the terminal transmits data through the primary network.
- the UDP protocol like the Transmission Control Protocol (TCP), is used to process data packets.
- TCP Transmission Control Protocol
- OSI Open Systems Interconnection
- IP Internet Protocol
- UDP is a connectionless transport layer protocol in the OSI model. It is primarily used in transmissions where sequential packet arrival is not required. Packet transmission order checking and sorting are performed by the application layer, providing a simple, transaction-oriented, unreliable information delivery service.
- the UDP protocol essentially serves as an interface between the IP protocol and upper-layer protocols. The UDP protocol is suitable for multiple applications running on the same port on the same device.
- Multi-path QUIC is the industry's leading multi-network infrastructure. It provides fundamental functionality such as packet encapsulation, packet loss recovery, buffer management, and multi-path management. MP-QUIC is a multi-path version of single-path QUIC. QUIC is primarily designed to address practical TCP issues, such as header blocking, inefficient congestion control, disconnection due to IP/port changes, three-way handshake overhead, and inefficient out-of-band control.
- QoS Quality of service
- QoS class identify is used to measure the forwarding behavior (such as packet loss rate, packet delay budget, etc.) of specific packets provided to Standard Delay Format (SDF). It is also applied to guaranteed bit rate (GBR) and non-GBR forwarding, and is used to specify the control bearer-level packet forwarding method defined in the access node (such as scheduling weight, admission threshold, queue management threshold and link layer protocol configuration, etc.).
- SDF Standard Delay Format
- this application will introduce a situation where two USIM cards are provided in the terminal, and the terminal accesses the first network and the second network respectively through the two USIM cards.
- the first network quality parameter value is obtained by measuring first data transmission performed by the terminal through a first network
- the second network quality parameter value is obtained by measuring second data transmission performed by the terminal through a second network.
- the first network here may correspond to a first USIM card set in the terminal
- the second network may correspond to a second USIM card set in the terminal.
- the first network and the second network are activated at the same time after the terminal is turned on, and both the first network and the second network are connected with 5G.
- network quality parameters may include synchronization reference signal received power (SS-RSRP), which is the power value of the synchronization reference signal received by the terminal, specifically the linear average power of the secondary synchronization signals (Secondary Synchronization Signals) carried by the cell downlink at the receiving end within the synchronization signal block (Synchronization Signal/PBCH Block, SSB) measurement configuration period.
- SS-RSRP synchronization reference signal received power
- the first network and the second network are only used to distinguish different USIM cards and are not limited to being networks of different operators, that is, the first network and the second network can belong to the same operator or different operators.
- this step is to select the network with the largest network quality parameter value among multiple networks, and perform similar operations to the first network in step S130 on the network with the largest network quality parameter value, and perform similar operations to the second network in step S130 on the network other than the network with the largest network quality parameter value.
- this step is to select the network with the largest network quality parameter value among multiple networks, and perform similar operations to the first network in step S130 on the network with the largest network quality parameter value, and perform similar operations to the second network in step S130 on the network other than the network with the largest network quality parameter value.
- step S140 If not, go to step S140.
- the first network is used as the primary network and the second network is used as the backup network.
- the use priority of the primary network is higher than the use priority of the backup network. That is, when the terminal needs to transmit data, the primary network will be used for data transmission first. If the primary network cannot provide the network bandwidth required for data transmission, the backup network will be used for data transmission.
- the primary network is the network that is primarily responsible for executing data transmission tasks on the terminal
- the backup network is the network that is secondary responsible for executing data transmission tasks on the terminal.
- the step is to select the network with the largest network quality parameter value among multiple networks, and use the network with the largest network quality parameter value as the main network, and use other networks except the network with the largest network quality parameter value as backup networks.
- the step is to select the network with the largest network quality parameter value among multiple networks, and use the network with the largest network quality parameter value as the main network, and use other networks except the network with the largest network quality parameter value as backup networks.
- the second network is used as the primary network and the first network is used as the backup network.
- the instantaneous transmission rate of data transmitted by the terminal through the primary network and/or the backup network during the first time period is measured. For example, the amount of data transmitted by the terminal in each time unit (e.g., 1ms) during the first time period is obtained. Then, the ratio of the data transmission amount to the duration corresponding to the time unit is calculated to obtain the instantaneous transmission rate corresponding to the time unit. Furthermore, a sliding filter is used to average the instantaneous transmission rates of each time unit in the first time period to obtain the average transmission rate of the terminal during the first time period.
- the reference condition can be determined based on the transmission rate at which the terminal transmits data through the primary network. Specifically, the transmission rate at which the terminal transmits data through the primary network can be used as the reference transmission rate, and then the reference condition can be set based on the reference transmission rate. For example, the reference condition can be set to be equal to the reference transmission rate. For another example, the reference condition can be set to be within a reference rate interval, where the reference rate interval can be, for example, [reference transmission rate, reference transmission rate + first floating rate], or [reference transmission rate - second floating rate, reference transmission rate + third floating rate]. The first floating rate, second floating rate, and third floating rate can all be set according to actual application requirements, and the embodiments of the present application do not specifically limit this.
- Disconnecting the connection between the terminal and the backup network here can mean shutting down the connection between the terminal and the backup network, or temporarily interrupting the connection between the terminal and the backup network, such as disconnecting the connection between the terminal and the backup network for a preset period of time and then reconnecting.
- the terminal in order to eliminate the impact of jitter generated during data transmission on network switching, the terminal can be disconnected from the backup network after stably transmitting data through the primary network and/or the backup network for a first period of time.
- disconnecting the terminal from the backup network includes switching the backup network to a radio resource control idle state (RRC-idle).
- RRC-idle radio resource control idle state
- the backup network stops sending data packets, such as heartbeat packets and probe packets.
- the first period of stable data transmission can be that the instantaneous transmission rates collected in the first period are all within the target range, or the first transmission rates collected multiple times in the first period are all less than the channel capacity of the main network. There is no limitation here.
- the signal strength of the network that the terminal can currently access is determined by obtaining a first network quality parameter value and a second network quality parameter value, wherein the first network quality parameter value is obtained by measuring a first data transmission performed by the terminal through a first network, and the second network quality parameter value is obtained by measuring a second data transmission performed by the terminal through a second network.
- the network with the strongest signal is selected as the primary network, and the other networks are selected as backup networks. After the primary network can provide the network bandwidth required for data transmission and can operate stably for a first period of time, the connection between the terminal and the backup network is disconnected. This ensures normal data transmission of the terminal while reducing redundant network connections, thereby reducing the power consumption of the terminal and improving the terminal's battery life.
- S170 When the first transmission rate does not meet the reference condition, enable the terminal to transmit data through the backup network at the differential transmission rate and transmit data through the primary network at the reference transmission rate.
- the differential transmission rate is the difference between the first transmission rate and the reference transmission rate.
- the reference transmission rate is the transmission rate at which the terminal transmits data via the primary network. If the reference condition is set equal to the reference transmission rate, the first transmission rate may not meet the reference condition because the first transmission rate is greater than the reference transmission rate. If the reference condition is set within a reference rate range, the first transmission rate may not meet the reference condition because the first transmission rate exceeds the reference rate range.
- the multi-link scheduling solution is as follows:
- Data is transmitted preferentially from the primary network, and the target congestion algorithm is used to control congestion of data transmission from terminals through the primary network.
- the target congestion algorithm is used to optimize the primary network so that the reference transmission rate is as close as possible to the maximum transmission rate that the primary network can provide.
- Part of the data that cannot be carried by the primary network is transmitted through the backup network, and the transmission rate of the backup network is the difference between the first transmission rate and the reference transmission rate (difference transmission rate).
- the multiple backup networks may jointly output the differential transmission rate.
- the difference transmission rate can be evenly distributed to multiple backup networks.
- multiple backup networks can be sorted by transmission priority according to the network quality parameter value of the backup network, and the backup network with the highest priority among the backup networks is used for data transmission first. There is no restriction here.
- FIG. 3 illustrates the data transmission method provided by this application when the terminal is in the startup state.
- the following describes the data transmission method provided by the embodiment of this application in conjunction with Figure 4, where the terminal is provided with at least two USIM cards, and the connection between the terminal and the primary network is a 5G connection, and the connection between the terminal and the backup network is a 5G connection.
- the second transmission rate is the data transmission rate of the backup network in the second time period
- the second transmission rate is the data transmission rate when the terminal and the backup network are connected through 5G
- the second time period is after the first time period.
- the base station accessed by the terminal is the same during the switching of 4G and 5G links, the SS-RSRP value of the backup network and the SS-SINR value of the backup network can be collected to estimate the transmission rate of the backup network when the connection between the terminal and the backup network is a 5G connection.
- the first parameter is greater than 1, and the first parameter can be a parameter set by technicians according to actual usage requirements.
- the first parameter is 1.5 or 2, and there is no limitation here.
- the first parameter is 1.5
- the rate at which the terminal transmits data to the terminal of the backup network is much lower than the transmission rate that the 4G connection of the backup network can carry.
- the power consumption of the 5G connection is 20% to 30% greater than that of the 4G connection.
- the connection between the terminal and the backup network is switched from 5G to 4G in a timely manner, thereby reducing the power consumption of the terminal during use and improving the battery life of the terminal in the solution.
- the SS-RSRP value and the SS-SINR value of the backup network can be collected to estimate the channel capacity of the backup network when the connection between the terminal and the backup network is a 5G connection.
- the second parameter is 0.1
- the rate at which the terminal transmits data to the terminal of the backup network is much lower than the transmission data that the 5G connection of the backup network can carry.
- the power consumption of the 5G connection is 20% to 30% greater than that of the 4G connection.
- the connection between the terminal and the backup network can be switched to a 5G connection in a timely manner, and there is no restriction here.
- another approach to the network management method between the terminal and the backup network is provided when the terminal is simultaneously connected to the primary network and the backup network via 5G, thereby improving the flexibility of the solution.
- the method for data transmission provided in an embodiment of the present application is described below in which the terminal is provided with at least two USIM cards and the terminal is connected only to the primary network.
- the quality information of the primary network may include the signal quality of the primary network and/or the transmission rate of the primary network, etc., which are not limited here.
- the signal quality of the primary network may include the SS-RSRP of the primary network and/or the SS-SINR of the primary network, which is not limited here.
- the quality information of the primary network includes the signal quality of the primary network, and the preset condition includes a degradation of the signal quality of the primary network;
- the signal quality of the primary network may be the SS-RSRP value of the primary network.
- the channel capacity of the primary network is estimated based on the SS-RSRP value or the SS-SINR value of the primary network.
- the connection between the terminal and the backup network is activated, so that the connection between the terminal and the backup network is a 4G connection.
- the third parameter may be greater than 1, such as 1.5 or 2, and is not limited here.
- connection between the terminal and the backup network can be activated after the available channel capacity of the main network is less than the product of the terminal's data transmission volume and the third parameter for a second period of time. There is no restriction here.
- the quality information of the primary network includes the transmission rate of the primary network and the signal quality of the primary network.
- the preset conditions include that the signal quality of the primary network does not change and the transmission rate of the primary network decreases.
- the signal quality of the primary network may be the SS-RSRP value of the primary network.
- the connection between the terminal and the backup network can be activated, and the connection between the terminal and the backup network is a 5G connection.
- the quality information of the primary network does not meet the preset condition, and the connection between the terminal and the backup network remains disconnected.
- whether to activate the connection between the terminal and the backup network can be determined based on whether the quality information of the primary network meets preset conditions. This allows the connection between the terminal and the backup network to be flexibly switched based on the network connection status, improving the flexibility of the solution, ensuring that the terminal in the solution can switch network status in real time according to demand, and also improving the reliability of data transmission of the terminal in the solution.
- the quality information of the backup network includes quality information of the backup network, or a transmission rate of the backup network.
- the quality information of the backup network includes the transmission rate of the backup network, the target condition includes the transmission rate of the backup network being 0, and the target state includes no connection between the terminal and the backup network;
- the main network can carry all data transmissions of the terminal and cut off the connection between the terminal and the backup network (switch the connection between the terminal and the backup network to the RRC-idle state).
- the transmission rate of the backup network is 0 and maintains the first period of time, it is considered that the quality information of the backup network meets the target conditions, and the connection between the terminal and the backup network is cut off (the connection between the terminal and the backup network is switched to the RRC-idle state).
- the primary network can carry all the data transmission of the terminal. In this case, cutting off the data transmission between the terminal and the backup network can greatly save the energy consumption of the terminal, while ensuring the data transmission efficiency of the terminal, and improving the terminal's battery life.
- the collected quality information of the backup network is the RSRP and SINR of the backup network.
- a mapping curve between the RSRP of the backup network and the uplink rate of the backup network, and a mapping curve between the SINR of the backup network and the downlink rate of the backup network can be fitted based on the collected RSRP value of the backup network and the measured value of the SINR of the backup network.
- the table is looked up to obtain the transmission rate of the backup network, which is not restricted here.
- the signal quality of the backup network refers to the received signal strength indication (RSSI) of the backup network's carrier.
- RSSI received signal strength indication
- the stability of the terminal's data transmission can be improved by switching the connection between the terminal and the backup network from a 4G connection to a 5G connection.
- the data transmission between the terminal and the backup network is switched from a 4G connection to a 5G connection, thereby improving the stability of the data transmission of the terminal.
- a management solution between the terminal and the backup network is provided when the connection between the terminal and the primary network is a 5G connection and the connection between the terminal and the backup network is a 4G connection, which improves the flexibility of the solution while ensuring the data transmission stability of the terminal.
- the terminal is provided with at least two USIM cards, and the connection between the terminal and the primary network is a 5G connection, and the connection between the terminal and the backup network is a 5G connection, the switching between the primary network and the backup network is explained.
- the network quality parameter value includes an SS-RSRP value, which is not limited here.
- the present application proposes that the fourth network quality parameter value is greater than the third network quality parameter value.
- the fourth network quality parameter value is greater than the sum of the third network quality parameter and the fourth parameter.
- the fourth parameter may be a hysteresis value of network fluctuation, for example, 3dB or 5dB, which is not limited here.
- this step is to select the network with the largest network quality parameter value among multiple networks, and perform similar operations as the main network in step S630 on the network with the largest network quality parameter value, and perform similar operations as the backup network in step S630 on other networks except the network with the largest network quality parameter value.
- this step is to select the network with the largest network quality parameter value among multiple networks, and perform similar operations as the main network in step S630 on the network with the largest network quality parameter value, and perform similar operations as the backup network in step S630 on other networks except the network with the largest network quality parameter value.
- S630 Swap the network serving as the primary network with the network serving as the backup network to obtain an updated primary network and an updated backup network;
- the primary network corresponds to USIM card 1
- USIM card 1 corresponds to operator network 1
- the backup network corresponds to USIM card 2
- USIM card 2 corresponds to operator network 2 .
- S640 Maintain the current primary network and backup network.
- the current primary network and backup network are maintained.
- the primary network and the backup network when the primary network and the backup network are both in 5G state, it is provided to determine whether it is necessary to switch the primary network and the backup network according to the current network situation, so as to maximize the utilization of network resources, improve data transmission efficiency, and enable the terminal to transmit data through as few network connections as possible, thereby improving the power consumption of the terminal.
- the data transmission device 20 includes:
- the acquiring unit 210 is further configured to acquire a first transmission rate, where the first transmission rate is an average transmission rate at which the terminal transmits data through the primary network and/or the backup network during a first period of time;
- connection between the terminal and the backup network is a 5G connection
- the processing unit 220 is further configured to switch the connection between the terminal and the backup network to a 4G connection when the second transmission rate is greater than the product of the difference transmission rate and the first parameter, and the first parameter is greater than 1.
- another approach to the network management method between the terminal and the backup network is provided when the terminal is simultaneously connected to the primary network and the backup network via 5G, thereby improving the flexibility of the solution.
- the processing unit 220 is specifically configured to activate the connection between the terminal and the backup network when the signal quality of the primary network degrades, where the connection between the terminal and the backup network is a 4G connection.
- the processing unit 220 is specifically used to activate the connection between the terminal and the backup network when the signal quality of the primary network does not change and the transmission rate of the primary network decreases.
- the connection between the terminal and the backup network is a 5G connection.
- the acquiring unit 210 is further configured to acquire quality information of the backup network when the terminal is connected to the backup network and the connection between the terminal and the backup network is a 4G connection;
- the processing unit 220 is further configured to adjust the standby network to a target state when the quality information of the standby network meets the target condition.
- a management solution between the terminal and the backup network is provided when the connection between the terminal and the primary network is a 5G connection and the connection between the terminal and the backup network is a 4G connection, which improves the flexibility of the solution while ensuring the data transmission stability of the terminal.
- the processing unit 220 is specifically configured to disconnect the terminal from the backup network when the transmission rate of the backup network is 0.
- the primary network can carry all the data transmission of the terminal. In this case, cutting off the data transmission between the terminal and the backup network can greatly save the energy consumption of the terminal, while ensuring the data transmission efficiency of the terminal, and improving the terminal's battery life.
- the processing unit 220 is specifically configured to switch the connection between the terminal and the backup network to a 5G connection when the signal quality of the backup network deteriorates.
- the primary network and the backup network when the primary network and the backup network are both in 5G state, it is provided to determine whether it is necessary to switch the primary network and the backup network according to the current network situation, so as to maximize the utilization of network resources, improve data transmission efficiency, and enable the terminal to transmit data through as few network connections as possible, thereby improving the power consumption of the terminal.
- the data transmission device provided in this application can be used in a terminal device. Please refer to Figure 10. For the sake of convenience, only the parts related to the embodiment of this application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of this application.
- the terminal device is a smartphone as an example for explanation:
- FIG10 is a block diagram illustrating a portion of the structure of a smartphone related to a terminal device provided in an embodiment of the present application.
- the smartphone includes components such as a radio frequency (RF) circuit 410, a memory 420, an input unit 430, a display unit 440, a sensor 450, an audio circuit 460, a wireless fidelity (WiFi) module 470, a processor 480, and a power supply 490.
- RF radio frequency
- the memory 420 can be used to store software programs and modules.
- the processor 480 executes the various functional applications and data processing of the smartphone by running the software programs and modules stored in the memory 420.
- the memory 420 may mainly include a program storage area and a data storage area.
- the program storage area may store an operating system, at least one application required for a function (such as a sound playback function, an image playback function, etc.); the data storage area may store data created based on the use of the smartphone (such as audio data, a phone book, etc.).
- the memory 420 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device.
- the touch detection device detects the user's touch direction, detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 480, and can receive commands sent by the processor 480 and execute them.
- the touch panel 431 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave.
- the input unit 430 may further include other input devices 432.
- the other input devices 432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power keys, etc.), a trackball, a mouse, and a joystick.
- the display unit 440 can be used to display information input by the user or information provided to the user, as well as various menus of the smartphone.
- the display unit 440 may include a display panel 441.
- the display panel 441 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
- a touch panel 431 may overlay the display panel 441. When the touch panel 431 detects a touch operation on or near it, it transmits the information to the processor 480 to determine the type of touch event. The processor 480 then provides a corresponding visual output on the display panel 441 based on the type of touch event.
- the touch panel 431 and the display panel 441 are two separate components to implement the input and output functions of the smartphone, in some embodiments, the touch panel 431 and the display panel 441 may be integrated to implement the input and output functions of the smartphone.
- the smartphone also includes a power supply 490 (such as a battery) for supplying power to various components.
- a power supply 490 (such as a battery) for supplying power to various components.
- the power supply can be logically connected to the processor 480 through a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.
- the units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请公开一种数据传输的方法、装置、设备以及存储介质,应用于无线通信技术领域。本申请提供的方案中,通过获取第一网络质量参数值和第二网络质量参数值来帮助判断终端当前能够接入的网络的信号强弱,其中,第一网络质量参数值为对终端通过第一网络执行的第一数据传输进行测量获得的,第二网络质量参数值为对终端通过第二网络执行的第二数据传输进行测量获得的。并且从中选取信号最强的网络作为主网络,其他的网络作为备网络,在主网络可以提供数据传输所需的网络带宽,并且可以稳定运行第一时长后,断开终端与备网络之间的连接,实现了在保障终端的正常数据传输的同时,减少冗余的网络连接,从而减少终端的电量消耗,实现了终端的续航提升。
Description
本申请要求于2024年03月26日提交中国专利局、申请号为2024103624547、申请名称为“一种数据传输的方法、装置、设备以及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及通信领域,尤其涉及数据传输技术。
随着科技的不断发展,越来越多的技术需要依赖无线网络实现,而部分技术在实现过程中,实施效果与网络稳定性和容量强相关。例如,互联网直播需要稳定的网络带宽,当网络带宽不足或发生抖动时,就会导致视频码率下降或卡顿,进而导致互联网直播出现画面卡顿,显著影响用户体验。
针对这一问题,可以将多个蜂窝网络捆绑使用,在互联网直播的场景中,蜂窝终端中集成2到3个5G模组,向不同的5G模组插入不同运营商的全球用户识别卡(universal subscriber identity module,USIM),通过冗余传输或聚合传输的方式提升蜂窝终端的网络性能稳定性。
但是,在蜂窝终端中集成多个5G模组的方式,无论采用冗余传输、还是聚合传输的方式,都会产生蜂窝终端功耗大的问题,而高功耗又会直接导致蜂窝终端发热,进而引起性能下降和续航时间缩短的问题。
本申请实施例提供了一种数据传输的方法、装置、设备以及存储介质,用于降低多通信模组的终端功耗,以提升终端的性能和续航时间。
有鉴于此,本申请第一方面提供一种数据传输的方法,由计算机设备执行,包括:
获取第一网络质量参数值和第二网络质量参数值,第一网络质量参数值为对终端通过第一网络执行的第一数据传输进行测量获得的,第二网络质量参数值为对终端通过第二网络执行的第二数据传输进行测量获得的;
当第一网络质量参数值大于第二网络质量参数值时,将第一网络作为主网络,将第二网络作为备网络;
获取第一传输速率,第一传输速率为第一时段内终端通过主网络和/或备网络进行数据传输的平均传输速率;
当第一传输速率满足参考条件时,在第一时长后,断开终端与备网络之间的连接,参考条件根据终端通过主网络进行数据传输的传输速率确定。
本申请第二方面提供一种数据传输的装置,包括:
获取单元,用于获取第一网络质量参数值和第二网络质量参数值,第一网络质量参数值为对终端通过第一网络执行的第一数据传输进行测量获得的,第二网络质量参数值为对终端通过第二网络执行的第二数据传输进行测量获得的;
处理单元,用于当第一网络质量参数值大于第二网络质量参数值时,将第一网络作为主网络,将第二网络作为备网络;
获取单元,还用于获取第一传输速率,第一传输速率为第一时段内终端通过主网络和/或备网络进行数据传输的平均传输速率;
处理单元,还用于当第一传输速率满足参考条件时,在第一时长后,断开终端与备网络之间的连接,参考条件根据终端通过主网络进行数据传输的传输速率确定。
本申请第三方面提供一种计算机设备,包括:存储器、处理器以及总线系统;
其中,存储器用于存储程序;
处理器用于执行存储器中的程序,处理器用于根据程序代码中的指令执行上述各方面的方法;
总线系统用于连接存储器以及处理器,以使存储器以及处理器进行通信。
本申请的第四方面提供了一种计算机可读存储介质,计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面的方法。
本申请的第五个方面,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述各方面所提供的方法。
从以上技术方案可以看出,本申请实施例具有以下优点:
本申请实施例提供的方案中,通过获取第一网络质量参数值和第二网络质量参数值,来帮助判断终端当前能够接入的网络的信号强弱,其中,第一网络质量参数值为对终端通过第一网络执行的第一数据传输进行测量获得的,第二网络质量参数值为对终端通过第二网络执行的第二数据传输进行测量获得的。并且从中选取信号最强的网络作为主网络,其他的网络作为备网络,在主网络可以提供数据传输所需的网络带宽,并且可以稳定运行第一时长后,断开终端与备网络之间的连接,实现了在保障终端的正常数据传输的同时,减少冗余的网络连接,从而减少终端的功耗,实现了终端的续航提升。
图1为本申请实施例中多网络终端的聚合传输的一种示意图;
图2为本申请实施例中通信系统的一个架构示意图;
图3为本申请实施例中数据传输的方法的一个流程示意图;
图4为本申请实施例中数据传输的方法的另一个流程示意图;
图5为本申请实施例中数据传输的方法的另一个流程示意图;
图6为本申请实施例中数据传输的方法的另一个流程示意图;
图7为本申请实施例中数据传输的方法的另一个流程示意图;
图8为本申请实施例中数据传输的方法的另一个流程示意图;
图9为本申请实施例中数据传输的装置的一个结构示意图;
图10为本申请实施例中终端设备的一个结构示意图。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“对应于”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
本申请实施例中,术语“模块”或“单元”是指有预定功能的计算机程序或计算机程序的一部分,并与其他相关部分一起工作以实现预定目标,并且可以通过使用软件、硬件(如处理电路或存储器)或其组合来全部或部分实现。同样的,一个处理器(或多个处理器或存储器)可以用来实现一个或多个模块或单元。此外,每个模块或单元都可以是包含该模块或单元功能的整体模块或单元的一部分。
相关技术中,可以将多个蜂窝网络捆绑使用,从而保证蜂窝终端的网络性能稳定,具体的,蜂窝终端中集成2到3个5G模组,可以向不同的5G模组插入不同运营商的USIM卡,进而,通过冗余传输或聚合传输的方式提升蜂窝终端的网络性能稳定性。
其中,在聚合传输的方式中,根据不同网络链路的网络质量,将业务的不同数据包分配给不同的网络进行传输。具体请参阅图1,为相关技术中多网络终端的聚合传输的一种示意图。
由图1可以看出,针对直播数据流,直播APP会将其划分为多个数据包(数据包1,数据包2,数据包3,数据包4),经由多网络传输APP对多个数据包进行传输分配,例如,多网络传输APP将数据包1和数据包3分配给第一网络(5G)传输,多网络传输APP将数据包2和数据包4分配给第二网络(WiFi)传输,而多网络传输网关在云端对多个数据包(数据包1,数据包2,数据包3,数据包4)进行聚合,恢复成原始的直播数据流,再传输给直播服务器,由直播服务器进行后续的处理。
在聚合传输的方案中,虽然可以充分利用两路网络的容量,为业务提供更大的网络带宽,但是,在数据传输的过程中,并不会持续处于两路网络的容量都需要被占用的情况,因此,会出现网络连接冗余的情况,而该种情况将导致终端产生更大的功耗,进而导致终端发热,引起性能下降和续航时间缩短等问题。
为了解决上述问题,本申请提出以下方案:当终端中设置有至少两个USIM卡的情况下,获取每个USIM卡对应的网络的信号强弱,选取其中网络信号最强的USIM卡作为主USIM卡,将其余的USIM卡作为备USIM卡,在主USIM卡可以提供满足业务需求的网络带宽,并且处于稳定状态下运行一段时间后,断开终端与备选USIM卡对应的网络之间的连接,在保障了终端的正常数据传输的同时,减少了冗余的网络连接,从而降低了终端的功耗,实现了对终端的性能和续航提升。
本申请提供的方法应用于如图2所示的通信系统,请参阅图2,图2为本申请实施例中通信系统的一个架构示意图,如图所示,通信系统包括服务器、终端设备和卫星,且客户端部署于终端设备上,其中,客户端可以通过浏览器的形式运行于终端设备上,也可以通过独立的应用程序(application,APP)的形式运行于终端设备上等,对于客户端的具体展现形式,此处不做限定。本申请涉及的服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(Content Delivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。终端设备可以是智能手机、平板电脑、笔记本电脑、掌上电脑、个人电脑、智能电视、智能手表、车载设备、可穿戴设备等,但并不局限于此。终端设备以及服务器可以通过有线或无线通信方式进行直接或间接地连接,本申请在此不做限制。服务器和终端设备的数量也不做限制。本申请提供的方案可以由终端设备独立完成,也可以由服务器独立完成,还可以由终端设备与服务器配合完成,对此,本申请并不做具体限定。
当本申请提供的方法由终端设备完成时,终端设备用于执行以下操作:
获取第一网络质量参数值和第二网络质量参数值,第一网络质量参数值为对终端通过第一网络执行的第一数据传输进行测量获得的,第二网络质量参数值为对终端通过第二网络执行的第二数据传输进行测量获得的;
当第一网络质量参数值大于第二网络质量参数值时,将第一网络作为主网络,将第二网络作为备网络;
获取第一传输速率,第一传输速率为第一时段内终端通过第一网络和/或第二网络进行数据传输的传输速率;
当第一传输速率满足参考条件时,在第一时长后,断开终端与备网络之间的连接,参考条件根据终端通过主网络进行数据传输的传输速率确定。
鉴于本申请会涉及到一些专业术语,因此,下面将对这部分专业术语先进行介绍。
快速UDP互联网连接(quick UDP Internet connection,QUIC),QUIC使用用户数据报协议(user datagram protocol,UDP),它在两个端点间创建连接,且支持多路复用连接。QUIC能够提供等同于安全套接字层协议(Socket Secure Layer,SSL)/安全传输层协议(Transport Layer Security,TLS)层级的网络安全保护,减少数据传输及创建连接时的延迟时间,双向控制带宽,以避免网络拥塞,提升网页传输速度。
UDP协议,UDP协议与传输控制(TransmissionControl Protocol,TCP)协议一样用于处理数据包,在开放系统互联(open system interconnection,OSI)模型中,两者都位于传输层,处于网际互连(Internet Protocol,IP)协议的上一层。UDP协议是OSI模型中一种无连接的传输层协议,它主要用于在不要求分组顺序到达的传输中,分组传输顺序的检查与排序由应用层完成,提供面向事务的简单不可靠信息传送服务。UDP协议基本上是IP协议与上层协议的接口。UDP协议适用端口运行在同一台设备上的多个应用程序。
多通道QUIC协议(multi-path QUIC,MP-QUIC),业界主流的多网基础框架。具备了报文封装、丢包恢复、缓冲器(buffer)管理、多路径(path)管理等基础功能。MP-QUIC是单路QUIC的多路版本。QUIC主要为了解决TCP在实际使用过程中遇到的一些问题,如头部阻塞、拥塞控制效率低、IP/端口(PORT)改变导致断连、3次握手开销、带外控制效率比较低。
服务质量(quality of service,QoS),指一个网络能够利用各种基础技术,为指定的网络通信提供更好的服务能力,是网络的一种安全机制,是用来解决网络延迟和阻塞等问题的一种技术。
业务质量级别标识(QoS class identify,QCI),用于衡量特定的提供给标准延时格式(Standard Delay Formation,SDF)包的转发行为(如,丢包率,包延迟预算等),它同时应用于保证比特速率(guarantee bit rate,GBR)和非GBR(Non-GBR)转发,用于指定访问节点内定义的控制承载级分组转发方式(如,调度权重、接纳门限、队列管理门限和链路层协议配置等)。
GBR是指在通信中,用户所使用的信道资源具有保证的最小传输速率,即用户在使用信道资源时,具有保证的最小传输速率,在一段时间内,用户所使用的信道资源的最小传输速率不会低于一定数值。GBR承载的应用主要体现在实时APP中,如,语音通信、视频会议等。这些应用都需要保证最小的传输速率,以保证实时APP的质量。
Non-GBR指在通信中,用户使用的信道资源没有保证的最小传输速率,也就是用户在使用信道资源时,没有保证的最小传输速率,在一定的时间内,用户使用的信道资源的最小传输速率没有明确的下限。Non-GBR主要应用在非实时APP中,如,文件传输、数据库查询等。
结合上述介绍,本申请将对终端中设置有两个USIM卡,且终端通过两个USIM卡分别接入第一网络和第二网络的情况进行介绍。
需要说明的是,本申请提供的方案可以应用于终端内有两个及两个以上USIM卡的情况,在实际应用中,应适当结合具体情况进行调节,此处不做限制。
下面将对本申请中数据传输的方法中,终端启动后,通过两个USIM卡分别接入第一网络和第二网络时,终端与第一网络通过5G连接,终端与第二网络通过5G连接。请参阅图3,本申请实施例中数据传输的方法的一个实施例包括:
S110、获取第一网络质量参数值和第二网络质量参数值;
其中,第一网络质量参数值为对终端通过第一网络执行的第一数据传输进行测量获得的,第二网络质量参数值为对终端通过第二网络执行的第二数据传输进行测量获得的。此处的第一网络可以对应于终端中设置的第一USIM卡,第二网络可以对应于终端中设置的第二USIM卡。
具体的,由于当前5G网络已经普及,并且常见的双蜂窝终端为双5G制式的终端设备,本申请实施例中,终端开启后同时激活第一网络和第二网络,并且第一网络和第二网络均以5G进行连接。
基于以上场景,网络质量参数可以包括同步参考信号接收功率(synchronization signal reference signal received power,SS-RSRP),其是终端接收到同步参考信号的功率值,具体是在同步信号块(Synchronization Signal/PBCH Block,SSB)测量配置周期内,小区下行承载辅同步信号(Secondary Synchronization Signals)的接收端上功率的线性平均值。
更进一步的,当本申请实施例应用于终端内设置有两个以上USIM卡的场景中时,获取每一个USIM卡对应的网络质量参数值。
可以理解的是,由于在实际使用中终端中的USIM卡可能为相同运营商,因此此处的第一网络和第二网络,仅用于区分不同的USIM卡,并不限制其一定为不同运营商的网络,即第一网络和第二网络可以属于同一运营商,也可以属于不同运营商。
S120、判断第一网络质量参数值是否大于第二网络质量参数值;
更进一步的,当本申请实施例应用于终端内设置有两个以上USIM卡(运营商网络)的场景中时,该步骤为选取多个网络中网络质量参数值最大网络,对网络质量参数值最大的网络执行步骤S130中第一网络类似的操作,对除网络质量参数值最大的网络执行步骤S130中第二网络类似的操作,此处不做限制。
若是,执行步骤S130;
若否,执行步骤S140。
S130、将第一网络作为主网络,将第二网络作为备网络;
当第一网络质量参数值大于第二网络质量参数值时,将第一网络作为主网络,将第二网络作为备网络。主网络的使用优先级高于备网络的使用优先级,即在终端需要进行数据传输时,会优先使用主网络进行数据传输,在主网络无法提供数据传输所需的网络带宽的情况下,再使用备网络进行数据传输;也就是说,主网络是主要的负责执行终端上的数据传输任务的网络,备网络是次要的负责执行终端上的数据传输任务的网络。
更进一步的,当本申请实施例应用于终端内设置有两个以上USIM卡的场景中时,该步骤为选取多个网络中网络质量参数值最大的网络,将网络质量参数值最大的网络作为主网络,将除网络质量参数值最大的网络外的其它网络作为备网络,此处不做限制。
S140、将第一网络作为备网络,将第二网络作为主网络;
当第一网络质量参数值小于或等于第二网络质量参数值时,将第二网络作为主网络,将第一网络作为备网络。
S150、获取第一传输速率;
其中,第一传输速率为第一时段内终端通过主网络和/或备网络进行数据传输的平均传输速率。在实际应用中,此处的终端通过主网络和/或备网络进行数据传输,可以理解为在终端同时开启主网络对应的网络开关(即主网络对应的USIM卡的网络开关)和备网络对应的网络开关(即备网络对应的USIM卡的网络开关)的情况下进行数据传输,在该种情况下,终端优先通过主网络进行数据传输,在主网络无法满足业务的数据传输需求时,如主网络无法提供数据传输所需的网络带宽时,再通过备网络辅助进行数据传输。
具体的,测量第一时段内终端通过主网络和/或备网络进行数据传输的瞬时传输速率,例如,获取终端在第一时段中每个时间单元(如1ms等)内的数据传输量,然后,计算该数据传输量与时间单元对应的时长的比值,得到该时间单元对应的瞬时传输速率。并且,利用滑动滤波器对第一时段内各个时间单元的瞬时传输速率进行平均,获得第一时段内终端的平均传输速率。
可选的,还可以直接获取其他设备测量获得的终端的平均传输速率,此处不做限制。
示例性的,在终端同时通过5G连接所有接入的网络时,间歇式的采集第一传输速率,具体的间歇时间此处不做限制。
可以理解的是,此处对第一传输速率的获取方法的说明仅为示例,在实际应用中应结合具体应用场景进行设置,此处不做限制。
S160、当第一传输速率满足参考条件时,断开终端与备网络之间的连接;
其中,参考条件可以根据终端通过主网络进行数据传输的传输速率确定。具体的,可以将终端通过主网络进行数据传输的传输速率作为参考传输速率,然后以该参考传输速率为基础,设置参考条件;例如,可以将参考条件设置为等于参考传输速率;又例如,可以将参考条件设置为处于参考速率区间内,该参考速率区间例如可以是[参考传输速率,参考传输速率+第一浮动速率],该参考速率区间又例如可以是[参考传输速率-第二浮动速率,参考传输速率+第三浮动速率],上述第一浮动速率、第二浮动速率和第三浮动速率均可根据实际应用需求设定,本申请实施例对此不作具体限定。
也即,在主网络的信道容量可以支撑当前的数据传输时,断开终端与备网络之间的连接。此处的断开终端与备网络之间的连接,可以是关闭终端与备网络之间的连接,也可以是暂时中断终端与备网络之间的连接,如将终端与备网络之间的连接断开预设时长后再重新连接。
具体的,为了消除数据传输的过程中产生抖动对网络切换带来的影响,可以在终端通过主网络和/或备网络,稳定的进行数据传输第一时长后,断开终端与备网络之间的连接。
示例性的,断开终端与备网络之间的连接包括将备网络切换至无线资源控制空闲状态(radio resource control idle,RRC-idle)。在该状态下,备网络停止发送数据包,例如,心跳包和探测包等。
示例性的,稳定的进行数据传输第一时长可以为在第一时长中,采集到的瞬时传输速率均在目标区间内,或,在第一时长中多次采集到的第一传输速率均小于主网络的信道容量,此处不做限制。
可以理解的是,此处对稳定的进行数据传输第一时长的说明仅为示例,在实际应用中,应结合具体应用场景进行设置,此处不做限制。
本申请实施例中,通过获取第一网络质量参数值和第二网络质量参数值来帮助判断终端当前能够接入的网络的信号强弱,其中,第一网络质量参数值为对终端通过第一网络执行的第一数据传输进行测量获得的,第二网络质量参数值为对终端通过第二网络执行的第二数据传输进行测量获得的。并且从中选取信号最强的网络作为主网络,其他的网络作为备网络,在主网络可以提供数据传输所需的网络带宽,并且可以稳定运行第一时长后,断开终端与备网络之间的连接,实现了在保障终端的正常数据传输的同时,减少冗余的网络连接,从而减少终端的功耗,实现了终端的续航提升。
S170、当第一传输速率不满足参考条件时,使终端以差值传输速率通过备网络传输数据,且以参考传输速率通过主网络传输数据。
其中,差值传输速率为第一传输速率与参考传输速率的差值,参考传输速率为终端通过主网络进行数据传输的传输速率。在将参考条件设置为等于参考传输速率时,第一传输速率不满足参考条件,可以是第一传输速率大于参考传输速率;在将参考条件设置为处于参考速率区间时,第一传输速率不满足参考条件,可以是第一传输速率超出参考速率区间。
也即,当主网络的信道容量不足以支撑当前的网络传输时,多链路调度的方案如下:
将数据优先从主网络进行传输,并利用目标拥塞算法进行终端通过主网络进行数据传输的拥塞控制,使用目标拥塞算法对主网络进行优化,使得参考传输速率尽量接近主网络能够提供的最大传输速率。
通过备网络传输主网络无法承载的部分数据,备网络的传输速率为第一传输速率与参考传输速率的差值(差值传输速率)。
更进一步的,当本申请实施例应用于终端内设置有两个以上USIM卡的场景中时,多个备网络共同输出差值传输速率即可。
在一些可能的场景中,可以平均的分配差值传输速率至多个备网络。
在一些更优的选项中,还可以按照备网络的网络质量参数值,将多个备网络进行传输优先级排序,优先使用备网络中优先级最高的备网络进行数据传输,此处不做限制。
本申请实施例中,在主网络无法完全承载终端的全部数据传输时,保留终端与备网络之间的数据传输,以确保终端的数据传输可以正常进行,提升了终端的数据传输的可靠性。
以上图3对本申请提供的数据传输的方法为终端启动状态下情况。下面结合图4对本申请实施例提供的数据传输的方法中,终端设置有至少两个USIM卡,且终端与主网络之间的连接为5G连接,终端与备网络之间的连接为5G连接的情况进行说明。
S210、获取第二传输速率;
其中,第二传输速率为备网络在第二时段的数据传输速率,第二传输速率为终端与备网络通过5G连接情况下的数据传输速率,第二时段在第一时段之后。
具体的,由于本申请提供的方案中,4G和5G链路的切换中,终端接入的基站一致,因此可以通过采集备网络的SS-RSRP值和备网络的SS-SINR值,估算终端与备网络之间的连接为5G连接的情况下,备网络的传输速率。
在一种可能的实施方式中,还可以通过设置窗口时间的方式,将终端与备网络的连接快速从5G连接切换至4G连接,并且快速切回5G连接,在终端与备网络的连接处于4G状态下,直接测量获得第二传输速率。
可以理解的是,此处对获取第二传输速率的方法的说明仅为示例,在实际应用中应结合具体应用场景进行设置,此处不做限制。
S220、当第二传输速率大于差值传输速率与第一参数的乘积时,将终端与备网络之间的连接切换为4G连接;
其中,第一参数大于1,第一参数可以为技术人员根据实际使用需求设置好的参数,例如,第一参数为1.5或2,此处不做限制。
具体的,由于第一参数为1.5,第二传输速率大于差值传输速率与第一参数的乘积时,终端与备网络的终端传输数据的速率远小于备网络的4G连接可以承载的传输速率,基于相同终端设备中,5G连接的功耗比4G连接的功耗大20%至30%,本申请实施例提供的方案可以及时将终端与备网络之间的连接切换为4G连接。
S230、当第一信道容量小于或等于差值传输速率与第一参数的乘积时,维持终端与备网络之间的连接为5G连接。
本申请实施例中,充分考虑到终端通过5G连接至网络的功耗大于终端通过4G连接至网络的功耗,及时将终端与备网络的连接从5G切换为4G,降低了终端使用过程中功耗,提升了方案中终端的续航能力。
以上图5对本申请实施例提供的数据传输的方法中,终端设置有至少两个USIM卡,且终端与目标网络之间的连接为5G连接,终端与备网络之间的连接为5G连接的情况进行了说明,本申请还提出了另一种对备网络进行管理的方法,下面结合图5对该方法进行说明。
S310、获取第一信道容量;
其中,第一信道容量为备网络在第三时段的5G信道容量,终端与主网络之间在第三时段为5G连接,且终端与备网络之间在第三时段为5G连接,第三时段在第一时段之后。
具体的,可以通过采集备网络的SS-RSRP值和备网络的SS-SINR值,估算终端与备网络之间的连接为5G连接的情况下,备网络的信道容量。
S320、获取第三传输速率;
其中,第三传输速率为第三时段内终端通过备网络进行数据传输的平均传输速率。
S330、当第一信道容量与第二参数的乘积大于第三传输速率时,将终端与备网络之间的连接切换为4G连接;
其中,第二参数小于1且大于0,第二参数可以为技术人员根据实际使用需求设置好的参数,例如,第二参数为0.1,此处不做限制。
具体的,由于第二参数为0.1,第一信道容量与第二参数的乘积大于第三传输速率时,终端与备网络的终端传输数据的速率远小于备网络的5G连接可以承载的传输数据,基于相同终端设备中,5G连接的功耗比4G连接的功耗大20%至30%,可以及时将终端与备网络之间的连接切换为5G连接,此处不做限制。
S340、当第一信道容量与第二参数的乘积小于或等于第三传输速率时,维持终端与备网络之间的连接为5G连接。
本申请实施例中,提供了终端同时与主网络和备网络通过5G连接的情况下,对终端与备网络之间的网络管理方法的另一种思路,提升了方案的灵活性。
下面结合图6对本申请实施例提供的数据传输的方法中,终端设置有至少两个USIM卡,且终端仅与主网络连接的情况进行说明。
S410、获取主网络的质量信息;
其中,主网络的质量信息可以包括主网络的信号质量,和/或,主网络的传输速率等,此处不做限制。
具体的,主网络的信号质量可以包括主网络的SS-RSRP,和/或,主网络的SS-SINR,此处不做限制。
可以理解的是,此处对主网络的质量信息的说明仅为示例,在实际应用中,应结合实际情况进行设置,此处不做限制。
S420、当主网络的质量信息满足预设条件时,激活终端与备网络之间的连接;
在本申请提供的方案中,结合主网络的质量信息需要满足的预设条件不同,激活终端与备网络之间的连接有不同的情况,下面分别进行分析:
A、主网络的质量信息包括主网络的信号质量,预设条件包括主网络的信号质量下降;
示例性的,主网络的信号质量可以为主网络的SS-RSRP值。
当主网络的SS-RSRP值下降,说明主网络的承载能力能力下降,根据主网络的SS-RSRP值或主网络的SS-SINR值估算主网络的信道容量。
若主网络的信道容量小于终端的数据传输量与第三参数的乘积,则激活终端与备网络之间的连接,使得终端与备网络之间的连接为4G连接。
其中,第三参数可以大于1,例如为1.5或2,此处不做限制。
更进一步的,为了消除网络抖动带来的误判,还可以在主网络的可用信道容量小于终端的数据传输量与第三参数的乘积这一状态维持第二时长后,在激活终端与备网络之间的连接,此处不做限制。
本申请实施例中,在主网络的承载量无法满足终端的数据传输需求的情况下,优先激活备网络的4G连接,再将终端与备网络之间的连接由4G连接进行进一步切换,避免了直接激活终端与备网络之间的5G连接所带来的数据传输能力的冗余,提升了方案的灵活性。
B、主网络的质量信息包括主网络的传输速率和主网络的信号质量,预设条件包括主网络的信号质量未发生变化,且主网络的传输速率下降。
示例性的,主网络的信号质量可以为主网络的SS-RSRP值。
具体的,主网络的SS-RSRP值未发生变化,且主网络的传输速率下降时,通常为人员密集的场景,在这种场景下,4G链路发生拥塞后,5G链路才会发生拥塞,为了更加高效的提升终端的数据传输速率,可以激活终端与备网络之间的连接,且终端与备网络之间的连接为5G连接。
其中,主网络的SS-RSRP值未发生变化,且主网络的传输速率下降的场景可能为演唱会或地铁中。
本申请实施例中,针对主网络无法承载终端的数据传输的情况,进行了具体化说明,基于4G链路拥塞发生于5G网络拥塞之前这一实际情况,在网络的信号质量良好,但是网络的传输质量恶化的场景,进行定制化的设计,直接将终端与备网络之间的连接激活,并切换至5G连接。提升了方案的灵活性的同时,也提升了方案的实用性和终端的网络稳定性。
S430、当主网络的质量信息不满足预设条件时,保持终端与备网络之间的连接呈断开状态。
具体的,当主网络的SS-RSRP值未发生下降,且主网络的传输速率未发生下降时,认为主网络的质量信息不满足预设条件,保持终端与备网络之间的连接断开状态。
本申请实施例中,提出当终端仅与主网络通过5G网络连接的情况下,可以根据主网络的质量信息是否满足预设条件,决定是否激活终端与备网络之间的连接。使得终端与备网络之间的连接可以灵活的根据网络连接情况进行切换,提升了方案的灵活性,确保方案中终端可以根据需求进行实时网络状态切换,还提升了方案中终端的数据传输的可靠性。
下面结合图7对本申请实施例提供的数据传输的方法中,终端设置有至少两个USIM卡,且终端与主网络之间的连接为5G连接,终端与备网络之间的连接为4G连接的情况进行说明。
S510、获取备网络的质量信息;
其中,备网络的质量信息包括备网络的质量信息,或,备网络的传输速率等。
具体的,备网络的信号质量包括备网络的参考信号接收功率(reference signal receiving power,RSRP)和信号与干扰加噪声比(signal to interference plus noise ratio,SINR)。
可以理解的是,此处对备网络的质量信息的说明仅为示例,在实际应用中,应结合实际情况进行设置,此处不做限制。
S520、当备网络的质量信息满足目标条件时,调节备网络至目标状态;
在本申请提供的方案中,结合备网络的质量信息需要满足的目标条件不同,对应有不同的目标状态,下面分别进行分析:
情况一:备网络的质量信息包括备网络的传输速率,目标条件包括备网络的传输速率为0,目标状态包括终端与备网络之间无连接;
由于在具体的实施过程中,可以直接从其他设备中采集到备网络的传输速率,基于本申请提供的方案中,终端的数据传输优先通过主网络进行传输,因此,当备网络的传输速率为0时,主网络可以承载终端的全部数据传输,切断终端与备网络之间的连接(将终端与备网络之间的连接切换至RRC-idle状态)。
具体的,为了避免网络不稳定的抖动带来的波动,当备网络的传输速率为0的情况维持第一时长的情况下,认为备网络的质量信息满足目标条件,切断终端与备网络之间的连接(将终端与备网络之间的连接切换至RRC-idle状态)。
更进一步的,当本申请实施例应用于终端内设置有两个以上USIM卡(运营商网络)的场景中时,可以采集多个备网络的质量信息,当其中任一个备网络的传输速率为0时,切断终端与该备网络之间的连接,此处不做限制。
本申请实施例中,由于在本申请提供的方案中,终端的数据传输优先通过主网络进行传输,当备网络的传输速率为0的情况下,主网络可以承载终端的全部数据传输,在这种情况下切断终端与备网络之间的数据传输,可以大大节省终端的能源消耗,在保障终端的数据传输效率的同时,提升了终端的续航。
情况二:备网络的质量信息包括备网络的RSRP和备网络的SINR时,目标条件包括备网络的传输速率为0,目标状态包括终端与备网络之间无连接;
由于在具体的实施过程中,当采集到的备网络的质量信息为备网络的RSRP和备网络的SINR时。
可以根据采集到的备网络的RSRP值和备网络的SINR的测量值,拟合出备网络的RSRP与备网络的上行速率之间的映射曲线,和,备网络的SINR和备网络的下行速率之间的映射曲线。
然后,查表获得备网络的传输速率,此处不做限制。
基于本申请提供的方案中,终端的数据传输优先通过主网络进行传输,因此,当备网络的传输速率为0时,主网络可以承载终端的全部数据传输,切断终端与备网络之间的连接(将终端与备网络之间的连接切换至RRC-idle状态)。
具体的,为了避免网络不稳定的抖动带来的波动,当备网络的传输速率为0的情况维持第一时长的情况下,认为备网络的质量信息满足目标条件,切断终端与备网络之间的连接(将终端与备网络之间的连接切换至RRC-idle状态)。
更进一步的,当本申请实施例应用于终端内设置有两个以上USIM卡(运营商网络)的场景中时,可以采集多个备网络的质量信息,当其中任一个备网络的传输速率为0时,切断终端与该备网络之间的连接,此处不做限制。
情况三:备网络的质量信息为备网络的信号质量时,目标条件包括备网络的信号质量下降,目标状态包括终端与备网络之间的连接为5G连接。
其中,备网络的信号质量具体为备网络的载波接收信号强度(received signal strength indication,RSSI),当备网络的RSSI下降时,说明备网络承载终端的数据传输能力下降,可以通过将终端与备网络之间的连接从4G连接切换为5G连接以提升终端的数据传输的稳定性的提升。
更进一步的,当本申请实施例应用于终端内设置有两个以上USIM卡(运营商网络)的场景中时,可以采集多个备网络的质量信息,当其中任一个备网络的RSSI下降时,将终端与备网络之间的连接从4G连接切换为5G连接,此处不做限制。
本申请实施例中,在备网络的信号质量发生下降的情况下,为了维持终端的数据传输稳定性,将终端与备网络之间的数据传输从4G连接切换为5G连接,提升了终端的数据传输的稳定性。
S530、当备网络的质量信息不满足目标条件时,保持备网络与终端之间的连接为4G连接。
其中,当备网络的质量信息未发生大幅波动,即可认为备网络的质量信息不满足目标条件。
本申请实施例中,提供了在终端与主网络的连接为5G连接,且终端与备网络的连接为4G连接的情况下,对终端与备网络之间的管理方案,提升了方案的灵活性的同时,确保了终端的数据传输稳定性。
下面结合图8对本申请实施例提供的数据传输的方法中,终端设置有至少两个USIM卡,且终端与主网络之间的连接为5G连接,终端与备网络之间的连接为5G连接的情况下,主网络与备网络之间的切换进行说明。
S610、获取第三网络质量参数值和第四网络质量参数值;
其中,第三网络质量参数值为对终端在第四时段通过主网络执行的第三数据传输进行测量获得的,第四网络质量参数为对终端在第四时段通过备网络执行的第四数据传输进行测量获得的,第三网络质量参数值和第四网络质量参数的具体获取方式与第一网络质量参数值和第二网络质量参数相类似,此处不在赘述。
具体的,网络质量参数值包括SS-RSRP值,此处不做限制。
可以理解的是,此处对网络质量参数值的说明仅为示例,在实际应用中,应结合具体应用场景进行设置,此处不做限制。
S620、判断第四网络质量参数值是否大于第三网络质量参数值;
具体的,由于网络的稳定性原因,可能出现临时的网络波动,导致第四网络质量参数值大于第三网络质量参数值,为避免网络波动带来的误判,本申请提出,第四网络质量参数值大于第三网络质量参数值还可以为,第四网络质量参数值大于第三网络质量参数与第四参数的和。
其中,第四参数可以为网络波动的迟滞值,例如,3db或5db,此处不做限制。
更进一步的,当本申请实施例应用于终端内设置有两个以上USIM卡(运营商网络)的场景中时,该步骤为选取多个网络中网络质量参数值最大的网络,对网络质量参数值最大的网络执行步骤S630中主网络类似的操作,对除网络质量参数值最大的网络外的其它网络执行步骤S630中备网络类似的操作,此处不做限制。
若是,执行步骤S630;
若否,执行步骤S640。
S630、将作为主网络的网络与作为备网络的网络进行对调,获得更新后的主网络和更新后的备网络;
示例性的,主网络对应于USIM卡1,USIM卡1对应于运营商网络1,备网络对应于USIM卡2,USIM卡2对应于运营商网络2。
当USIM卡1对应的第三网络质量参数值小于或等于USIM卡2对应的第四网络质量参数值,将USIM卡2作为更新后的主网络,将USIM卡1作为更新后的备网络,此处不做限制。
S640、保持当前的主网络和备网络。
当第四网络质量参数值小于或等于第三网络质量参数值时,保持当前的主网络和备网络。
本申请实施例中,提供了当主网络和备网络同时为5G状态下,根据当前的网络情况,判断是否需要对主网络和备网络进行切换,以实现网络资源的最大化利用,提升了数据传输效率的同时,还可以使终端通过尽量少的网络连接进行数据传输,提升了终端的功耗。
下面对本申请提供的数据传输的装置进行介绍,请参阅图9,图9为本申请实施例中数据传输的装置的一个实施例示意图,数据传输的装置20包括:
获取单元210,用于获取第一网络质量参数值和第二网络质量参数值,第一网络质量参数值为对终端通过第一网络执行的第一数据传输进行测量获得的,第二网络质量参数值为对终端通过第二网络执行的第二数据传输进行测量获得的;
处理单元220,用于当第一网络质量参数值大于第二网络质量参数值时,将第一网络作为主网络,将第二网络作为备网络;
获取单元210,还用于获取第一传输速率,第一传输速率为第一时段内终端通过主网络和/或备网络进行数据传输的平均传输速率;
处理单元220,还用于当第一传输速率满足参考条件时,在第一时长后,断开终端与备网络之间的连接,参考条件根据终端通过主网络进行数据传输的传输速率确定。
本申请实施例中,通过获取第一网络质量参数值和第二网络质量参数值来帮助判断终端当前能够接入的网络的信号强弱,其中,第一网络质量参数值为对终端通过第一网络执行的第一数据传输进行测量获得的,第二网络质量参数值为对终端通过第二网络执行的第二数据传输进行测量获得的。并且从中选取信号最强的网络作为主网络,其他的网络作为备网络,在主网络可以提供数据传输所需的网络带宽,并且可以稳定运行第一时长后,断开终端与备网络之间的连接,实现了在保障终端的正常数据传输的同时,减少冗余的网络连接,从而减少终端的电量消耗,实现了终端的续航提升。
可选的,处理单元220还用于当第一传输速率不满足参考条件时,使终端以差值传输速率通过备网络传输数据,差值传输速率为第一传输速率与参考传输速率的差值,参考传输速率为终端通过主网络进行数据传输的传输速率。
本申请实施例中,在主网络无法完全承载终端的全部数据传输时,保留终端与备网络之间的数据传输,以确保终端的数据传输可以正常进行,提升了终端的数据传输的可靠性。
可选的,终端与备网络之间的连接为5G连接;
获取单元210,还用于获取第二传输速率,第二传输速率为备网络在第二时段的传输速率;
处理单元220,还用于当第二传输速率大于差值传输速率与第一参数的乘积时,将终端与备网络之间的连接切换为4G连接,第一参数大于1。
本申请实施例中,充分考虑到终端通过5G连接至网络的功耗大于终端通过4G连接至网络的功耗,及时将终端与网络的连接从5G切换为4G,降低了终端使用过程中功耗,提升了方案中终端的续航能力。
可选的,获取单元210,还用于当终端与备网络连接,且终端与备网络的连接为5G连接时,获取第一信道容量,第一信道容量为备网络在第三时段的5G信道容量;
获取单元210,还用于获取第三传输速率,第三传输速率为第三时段内终端通过备网络进行数据传输的平均传输速率;
处理单元220,还用于当第一信道容量与第二参数的乘积大于第三传输速率时,将终端与备网络之间的连接切换为4G连接,第二参数大于0且小于1。
本申请实施例中,提供了终端同时与主网络和备网络通过5G连接的情况下,对终端与备网络之间的网络管理方法的另一种思路,提升了方案的灵活性。
可选的,当终端与备网络之间的连接断开时,获取单元210,还用于获取主网络的质量信息;
处理单元220,还用于当主网络的质量信息满足预设条件时,激活终端与备网络之间的连接。
本申请实施例中,提出当终端仅与主网络通过5G网络连接的情况下,可以根据主网络的质量信息是否满足预设条件,决定是否激活终端与备网络之间的连接。使得终端与备网络之间的连接可以灵活地根据网络连接情况进行切换,提升了方案的灵活性,确保方案中终端可以根据需求进行实时网络状态切换,还提升了方案中终端的数据传输的可靠性。
可选的,主网络的质量信息包括主网络的信号质量,预设条件包括主网络的信号质量下降;
处理单元220,具体用于当主网络的信号质量下降时,激活终端与备网络之间的连接,终端与备网络之间的连接为4G连接。
本申请实施例中,在主网络的承载量无法满足终端的数据传输需求的情况下,优先激活备网络的4G连接,再将终端与备网络之间的连接由4G连接进行进一步切换,避免了直接激活终端与备网络之间的5G连接可能带来的数据传输能力的冗余,提升了方案的灵活性。
可选的,主网络的质量信息包括主网络的传输速率和主网络的信号质量,预设条件包括主网络的信号质量未发生变化,且主网络的传输速率下降;
处理单元220,具体用于当主网络的信号质量未发生变化,且主网络的传输速率下降时,激活终端与备网络之间的连接,终端与备网络之间的连接为5G连接。
本申请实施例中,针对主网络无法承载终端的数据传输的情况,进行了具体化说明,基于4G链路拥塞发生于5G网络拥塞之前这一实际情况,在网络的信号质量良好,但是网络的传输质量恶化的场景,进行定制化的设计,直接将终端与备网络之间的连接激活,并切换至5G连接。提升了方案的灵活性的同时,也提升了方案的实用性和终端的网络稳定性。
可选的,获取单元210,还用于当终端与备网络连接,且终端与备网络的连接为4G连接时,获取备网络的质量信息;
处理单元220,还用于当备网络的质量信息满足目标条件时,调节备网络至目标状态。
本申请实施例中,提供了在终端与主网络的连接为5G连接,且终端与备网络的连接为4G连接的情况下,对终端与备网络之间的管理方案,提升了方案的灵活性的同时,确保了终端的数据传输稳定性。
可选的,备网络的质量信息包括备网络的传输速率,目标状态包括终端与备网络之间无连接,目标条件包括备网络的传输速率为0;
处理单元220,具体用于当备网络的传输速率为0时,断开终端与备网络之间的连接。
本申请实施例中,由于在本申请提供的方案中,终端的数据传输优先通过主网络进行传输,当备网络的传输速率为0的情况下,主网络可以承载终端的全部数据传输,在这种情况下切断终端与备网络之间的数据传输,可以大大节省终端的能源消耗,在保障终端的数据传输效率的同时,提升了终端的续航。
可选的,备网络的质量信息包括备网络的信号质量,目标状态包括终端与备网络之间的连接为5G连接,目标条件包括备网络的信号质量下降;
处理单元220,具体用于当备网络的信号质量下降时,将终端与备网络的连接切换为5G连接。
本申请实施例中,在备网络的信号质量发生下降的情况下,为了维持终端的数据传输稳定性,将终端与备网络之间的数据传输从4G连接切换为5G连接,提升了终端的数据传输的稳定性。
可选的,获取单元210,还用于当终端与备网络连接,且终端与备网络的连接为5G连接时,获取第三网络质量参数值和第四网络质量参数值,第三网络质量参数值为对终端在第四时段内通过主网络执行的第三数据传输进行测量获得的,第四网络质量参数值为对终端在第四时段内通过备网络执行的第四数据传输进行测量获得的;
处理单元220,还用于当第四网络质量参数值优于第三网络质量参数值时,将作为主网络的网络与作为备网络的网络进行对调,获得更新后的主网络和更新后的备网络。
本申请实施例中,提供了当主网络和备网络同时为5G状态下,根据当前的网络情况,判断是否需要对主网络和备网络进行切换,以实现网络资源的最大化利用,提升了数据传输效率的同时,还可以使终端通过尽量少的网络连接进行数据传输,提升了终端的功耗。
本申请提供的数据传输装置可用于终端设备,请参阅图10,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。在本申请实施例中,以终端设备为智能手机为例进行说明:
图10示出的是与本申请实施例提供的终端设备相关的智能手机的部分结构的框图。参考图10,智能手机包括:射频(radio frequency,RF)电路410、存储器420、输入单元430、显示单元440、传感器450、音频电路460、无线保真(wireless fidelity,WiFi)模块470、处理器480、以及电源490等部件。本领域技术人员可以理解,图10中示出的智能手机结构并不构成对智能手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图10对智能手机的各个构成部件进行具体的介绍:
RF电路410可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器480处理;另外,将设计上行的数据发送给基站。通常,RF电路410包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(low noise amplifier,LNA)、双工器等。此外,RF电路410还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(global system of mobile communication,GSM)、通用分组无线服务(general packet radio service,GPRS)、码分多址(code division multiple access,CDMA)、宽带码分多址(wideband code division multiple access,WCDMA)、长期演进(long term evolution,LTE)、电子邮件、短消息服务(short messaging service,SMS)等。
存储器420可用于存储软件程序以及模块,处理器480通过运行存储在存储器420的软件程序以及模块,从而执行智能手机的各种功能应用以及数据处理。存储器420可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据智能手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器420可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元430可用于接收输入的数字或字符信息,以及产生与智能手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元430可包括触控面板431以及其他输入设备432。触控面板431,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板431上或在触控面板431附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板431可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器480,并能接收处理器480发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板431。除了触控面板431,输入单元430还可以包括其他输入设备432。具体地,其他输入设备432可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元440可用于显示由用户输入的信息或提供给用户的信息以及智能手机的各种菜单。显示单元440可包括显示面板441,可选的,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板441。进一步的,触控面板431可覆盖显示面板441,当触控面板431检测到在其上或附近的触摸操作后,传送给处理器480以确定触摸事件的类型,随后处理器480根据触摸事件的类型在显示面板441上提供相应的视觉输出。虽然在图10中,触控面板431与显示面板441是作为两个独立的部件来实现智能手机的输入和输入功能,但是在某些实施例中,可以将触控面板431与显示面板441集成而实现智能手机的输入和输出功能。
智能手机还可包括至少一种传感器450,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板441的亮度,接近传感器可在智能手机移动到耳边时,关闭显示面板441和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别智能手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于智能手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路460、扬声器461,传声器462可提供用户与智能手机之间的音频接口。音频电路460可将接收到的音频数据转换后的电信号,传输到扬声器461,由扬声器461转换为声音信号输出;另一方面,传声器462将收集的声音信号转换为电信号,由音频电路460接收后转换为音频数据,再将音频数据输出处理器480处理后,经RF电路410以发送给比如另一智能手机,或者将音频数据输出至存储器420以便进一步处理。
WiFi属于短距离无线传输技术,智能手机通过WiFi模块470可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图10示出了WiFi模块470,但是可以理解的是,其并不属于智能手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器480是智能手机的控制中心,利用各种接口和线路连接整个智能手机的各个部分,通过运行或执行存储在存储器420内的软件程序和/或模块,以及调用存储在存储器420内的数据,执行智能手机的各种功能和处理数据,从而对智能手机进行整体监测。可选的,处理器480可包括一个或多个处理单元;可选的,处理器480可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器480中。
智能手机还包括给各个部件供电的电源490(比如电池),可选的,电源可以通过电源管理系统与处理器480逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管未示出,智能手机还可以包括摄像头、蓝牙模块等,在此不再赘述。
上述实施例中由终端设备所执行的步骤可以基于该图10所示的终端设备结构。
本申请实施例中还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行如前述各个实施例描述的方法。
本申请实施例中还提供一种包括程序的计算机程序产品,当其在计算机上运行时,使得计算机执行前述各个实施例描述的方法。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。
Claims (15)
- 一种数据传输的方法,由计算机设备执行,包括:获取第一网络质量参数值和第二网络质量参数值,所述第一网络质量参数值为对终端通过第一网络执行的第一数据传输进行测量获得的,所述第二网络质量参数值为对所述终端通过第二网络执行的第二数据传输进行测量获得的;当所述第一网络质量参数值大于所述第二网络质量参数值时,将所述第一网络作为主网络,将所述第二网络作为备网络;获取第一传输速率,所述第一传输速率为第一时段内所述终端通过所述主网络和/或所述备网络进行数据传输的平均传输速率;当所述第一传输速率满足参考条件时,在第一时长后,断开所述终端与所述备网络之间的连接,所述参考条件根据所述终端通过所述主网络进行数据传输的传输速率确定。
- 根据权利要求1所述的方法,所述方法还包括:当所述第一传输速率不满足所述参考条件时,使所述终端以差值传输速率通过所述备网络传输数据,所述差值传输速率为所述第一传输速率与参考传输速率的差值,所述参考传输速率为所述终端通过所述主网络进行数据传输的传输速率。
- 根据权利要求2所述的方法,所述终端与所述备网络之间的连接为5G连接,所述方法还包括:获取第二传输速率,所述第二传输速率为所述备网络在第二时段的传输速率;当所述第二传输速率大于所述差值传输速率与第一参数的乘积时,将所述终端与所述备网络之间的连接切换为4G连接,所述第一参数大于1。
- 根据权利要求2或3所述的方法,所述方法还包括:当所述终端与所述备网络连接,且所述终端与所述备网络的连接为5G连接时,获取第一信道容量,所述第一信道容量为所述备网络在第三时段的5G信道容量;获取第三传输速率,所述第三传输速率为所述第三时段内所述终端通过所述备网络进行数据传输的平均传输速率;当所述第一信道容量与第二参数的乘积大于所述第三传输速率时,将所述终端与所述备网络之间的连接切换为4G连接,所述第二参数大于0且小于1。
- 根据权利要求1至4任一所述的方法,当所述终端与所述备网络之间的连接断开时,所述方法还包括:获取所述主网络的质量信息;当所述主网络的质量信息满足预设条件时,激活所述终端与所述备网络之间的连接。
- 根据权利要求5所述的方法,所述主网络的质量信息包括所述主网络的信号质量,所述预设条件包括所述主网络的信号质量下降;所述当所述主网络的质量信息满足预设条件时,激活所述终端与所述备网络之间的连接,包括:当所述主网络的信号质量下降时,激活所述终端与所述备网络之间的连接,所述终端与所述备网络之间的连接为4G连接。
- 根据权利要求5所述的方法,所述主网络的质量信息包括所述主网络的传输速率和所述主网络的信号质量,所述预设条件包括所述主网络的信号质量未发生变化,且所述主网络的传输速率下降;所述当所述主网络的质量信息满足预设条件时,激活所述终端与所述备网络之间的连接,包括:当所述主网络的信号质量未发生变化,且所述主网络的传输速率下降时,激活所述终端与所述备网络之间的连接,所述终端与所述备网络之间的连接为5G连接。
- 根据权利要求1至7任一所述的方法,所述方法还包括:当所述终端与所述备网络连接,且所述终端与所述备网络的连接为4G连接时,获取所述备网络的质量信息;当所述备网络的质量信息满足目标条件时,调节所述备网络至目标状态。
- 根据权利要求8所述的方法,所述备网络的质量信息包括所述备网络的传输速率,所述目标状态包括所述终端与所述备网络之间无连接,所述目标条件包括所述备网络的传输速率为0;所述当所述备网络的质量信息满足目标条件时,调节所述备网络至目标状态,包括:当所述备网络的传输速率为0时,断开所述终端与所述备网络之间的连接。
- 根据权利要求8或9所述的方法,所述备网络的质量信息包括所述备网络的信号质量,所述目标状态包括所述终端与所述备网络之间的连接为5G连接,所述目标条件包括所述备网络的信号质量下降;所述当所述备网络的质量信息满足目标条件时,调节所述备网络至目标状态,包括:当所述备网络的信号质量下降时,将所述终端与所述备网络的连接切换为5G连接。
- 根据权利要求1至10任一所述的方法,所述方法还包括:当所述终端与所述备网络连接,且所述终端与所述备网络的连接为5G连接时,获取第三网络质量参数值和第四网络质量参数值,所述第三网络质量参数值为对所述终端在第四时段内通过所述主网络执行的第三数据传输进行测量获得的,所述第四网络质量参数值为对所述终端在所述第四时段内通过所述备网络执行的第四数据传输进行测量获得的;当所述第四网络质量参数值优于所述第三网络质量参数值时,将作为所述主网络的网络与作为所述备网络的网络进行对调,获得更新后的主网络和更新后的备网络。
- 一种数据传输的装置,包括:获取单元,用于获取第一网络质量参数值和第二网络质量参数值,所述第一网络质量参数值为对终端通过第一网络执行的第一数据传输进行测量获得的,所述第二网络质量参数值为对所述终端通过第二网络执行的第二数据传输进行测量获得的;处理单元,用于当所述第一网络质量参数值大于所述第二网络质量参数值时,将所述第一网络作为主网络,将所述第二网络作为备网络;所述获取单元,还用于获取第一传输速率,所述第一传输速率为第一时段内所述终端通过所述主网络和/或所述备网络进行数据传输的平均传输速率;所述处理单元,还用于当所述第一传输速率满足参考条件时,在第一时长后,断开所述终端与所述备网络之间的连接,所述参考条件根据所述终端通过所述主网络进行数据传输的传输速率确定。
- 一种计算机设备,包括:存储器、处理器以及总线系统;其中,所述存储器用于存储程序;所述处理器用于执行所述存储器中的程序,所述处理器用于根据程序代码中的指令执行权利要求1至11中任一项所述的方法;所述总线系统用于连接所述存储器以及所述处理器,以使所述存储器以及所述处理器进行通信。
- 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1至11中任一项所述的方法。
- 一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行如权利要求1至11中任一项所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410362454.7A CN120711490A (zh) | 2024-03-26 | 2024-03-26 | 一种数据传输的方法、装置、设备以及存储介质 |
| CN202410362454.7 | 2024-03-26 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025201049A1 true WO2025201049A1 (zh) | 2025-10-02 |
Family
ID=97124528
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2025/082046 Pending WO2025201049A1 (zh) | 2024-03-26 | 2025-03-12 | 一种数据传输的方法、装置、设备以及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN120711490A (zh) |
| WO (1) | WO2025201049A1 (zh) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109661016A (zh) * | 2018-12-27 | 2019-04-19 | 维沃移动通信有限公司 | 一种网络接入方法及终端设备 |
| CN109743737A (zh) * | 2018-12-29 | 2019-05-10 | 维沃移动通信有限公司 | 一种降低多种网络共存干扰的方法、终端及基站 |
| CN111278051A (zh) * | 2020-01-08 | 2020-06-12 | Oppo广东移动通信有限公司 | 文件传输方法、装置、存储介质及电子设备 |
| CN112004253A (zh) * | 2020-08-11 | 2020-11-27 | 北京小米移动软件有限公司 | 网络控制方法、装置及存储介质 |
| CN112351461A (zh) * | 2019-08-08 | 2021-02-09 | Oppo广东移动通信有限公司 | WiFi网络切换方法、装置、终端及存储介质 |
| CN112399442A (zh) * | 2019-08-19 | 2021-02-23 | Oppo广东移动通信有限公司 | 数据传输方法及相关装置 |
| CN115622601A (zh) * | 2019-09-10 | 2023-01-17 | RealMe重庆移动通信有限公司 | 天线切换方法、装置、存储介质及电子设备 |
-
2024
- 2024-03-26 CN CN202410362454.7A patent/CN120711490A/zh active Pending
-
2025
- 2025-03-12 WO PCT/CN2025/082046 patent/WO2025201049A1/zh active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109661016A (zh) * | 2018-12-27 | 2019-04-19 | 维沃移动通信有限公司 | 一种网络接入方法及终端设备 |
| CN109743737A (zh) * | 2018-12-29 | 2019-05-10 | 维沃移动通信有限公司 | 一种降低多种网络共存干扰的方法、终端及基站 |
| CN112351461A (zh) * | 2019-08-08 | 2021-02-09 | Oppo广东移动通信有限公司 | WiFi网络切换方法、装置、终端及存储介质 |
| CN112399442A (zh) * | 2019-08-19 | 2021-02-23 | Oppo广东移动通信有限公司 | 数据传输方法及相关装置 |
| CN115622601A (zh) * | 2019-09-10 | 2023-01-17 | RealMe重庆移动通信有限公司 | 天线切换方法、装置、存储介质及电子设备 |
| CN111278051A (zh) * | 2020-01-08 | 2020-06-12 | Oppo广东移动通信有限公司 | 文件传输方法、装置、存储介质及电子设备 |
| CN112004253A (zh) * | 2020-08-11 | 2020-11-27 | 北京小米移动软件有限公司 | 网络控制方法、装置及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN120711490A (zh) | 2025-09-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113518085B (zh) | 一种基于多通道的数据传输方法以及相关装置 | |
| CN112291366B (zh) | 数据传输方法、装置、存储介质及电子设备 | |
| CN109803325B (zh) | 数据分流方法、装置、移动终端及存储介质 | |
| EP2625837B1 (en) | System and method for optimizing media playback quality for a wireless handheld computing device | |
| EP3917205A1 (en) | Data packet distribution method and apparatus, mobile terminal, and storage medium | |
| CN107736000B (zh) | 一种终端与网络设备交互的方法和终端 | |
| CN112566262B (zh) | 数据处理方法及装置、通信设备及存储介质 | |
| CN105847168B (zh) | 一种数据传输的方法、网络服务器、用户终端及系统 | |
| CN109922504B (zh) | 数据分流方法及相关产品 | |
| CN114071434B (zh) | 联网方法及联网系统、电子设备 | |
| WO2022001175A1 (zh) | 数据包发送的方法、装置 | |
| US20100172335A1 (en) | Data transmission method and apparatus based on Wi-Fi multimedia | |
| EP2725868A2 (en) | System and method for controlling connection timeout in a communication network | |
| CN103125108B (zh) | 建立发射控制协议连接的系统和方法 | |
| CN112383948A (zh) | 数据传输方法、装置、存储介质及电子设备 | |
| CN109640379B (zh) | 链路聚合实现方法及相关产品 | |
| US20160295301A1 (en) | Communication protocol control method and device in smart tv apparatus | |
| CN110557297A (zh) | 链路检测方法及相关装置 | |
| WO2022267739A1 (zh) | 一种连接探测方法、客户端与服务器 | |
| CN111615170B (zh) | 一种数据传输方法及系统 | |
| EP2798881B1 (en) | Shaping data packet traffic | |
| CN114786229B (zh) | 一种通话数据的传输方法以及相关装置 | |
| CN120711490A (zh) | 一种数据传输的方法、装置、设备以及存储介质 | |
| CN114828130B (zh) | 终端设备的网络切换方法、终端设备及存储介质 | |
| CN117061417A (zh) | 网络通信方法、装置、电子设备以及计算机存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 25776338 Country of ref document: EP Kind code of ref document: A1 |