Data transmission method and device, equipment and storage medium

By selecting the operator network with the strongest signal as the target network in the cellular terminal and shutting down the alternative network connection after stable operation, the high power consumption problem caused by multiple 5G modules is solved and the terminal's battery life is improved.

CN120711490APending Publication Date: 2025-09-26TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410362454.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-26
Publication Date
2025-09-26

AI Technical Summary

Technical Problem

When integrating multiple 5G modules into a cellular terminal, high power consumption results, which in turn leads to performance degradation and shortened battery life.

Method used

By obtaining the network quality parameter values ​​of different operator networks, the operator network with the strongest signal is selected as the target network, and the connection with the alternative network is closed after a period of stable operation, thereby reducing redundant network connections and lowering terminal power consumption.

Benefits of technology

While ensuring normal data transmission, it reduces power consumption and improves the terminal's battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120711490A_ABST
    Figure CN120711490A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission method and device, equipment and a storage medium, and is applied to the technical field of wireless communication. According to the method, a first network quality parameter value and a second network quality parameter value are obtained to judge the signal strength of an operator network which a target terminal can access currently, and the first network quality parameter value is obtained by measuring data transmission carried out by the target terminal through a first operator network; the second network quality parameter value is obtained by the measurement target terminal through a second operator network. And selecting the operator network with the strongest signal from the currently accessible operator networks as a target network, taking the other operator networks as alternative networks, and closing the connection between the target terminal and the alternative networks when the target network can provide the network bandwidth required by data transmission. The normal data transmission of the target terminal is ensured, redundant network connection is reduced, the power consumption of the target terminal is reduced, and the endurance of the target terminal is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the wireless field, and in particular to a method, apparatus, device, and storage medium for data transmission. Background Art

[0002] With the continuous advancement of science and technology, more and more technologies rely on wireless networks for implementation. The effectiveness of some technologies is highly dependent on network stability and capacity. For example, live streaming requires stable network bandwidth. Insufficient bandwidth or jitter can cause video bitrate drops or freezes, leading to page freezes during live streaming, significantly impacting the user experience.

[0003] To address this issue, multiple cellular networks can be bundled and used. In the scenario of Internet live broadcast, 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.

[0004] However, integrating multiple 5G modules into cellular terminals, regardless of whether redundant transmission or aggregated transmission is used, will result in high power consumption of the cellular terminals. High power consumption will directly cause the cellular terminals to heat up, leading to performance degradation and shortened battery life. Summary of the Invention

[0005] 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 battery life of the terminal.

[0006] In view of this, a first aspect of the present application provides a data transmission method, comprising:

[0007] Obtain a first network quality parameter value and a second network quality parameter value, wherein the first network quality parameter value is obtained by measuring data transmission performed by the target terminal through the first operator network, and the second network quality parameter value is obtained by measuring data transmission performed by the target terminal through the second operator network;

[0008] When the first network quality parameter value is greater than the second network quality parameter value, the first operator network is used as the target network and the second operator network is used as the alternative network;

[0009] Obtaining a first transmission rate, where the first transmission rate is an average transmission rate at which the target terminal transmits data through the target network and the alternative network during a first time period;

[0010] When the first transmission rate is equal to the preset transmission rate, the connection between the target terminal and the alternative network is closed after a first period of time, and the preset transmission rate is the transmission rate at which the target terminal transmits data through the target network.

[0011] A second aspect of the present application provides a data transmission device, including:

[0012] An acquiring unit, configured to acquire a first network quality parameter value and a second network quality parameter value, wherein the first network quality parameter value is obtained by measuring data transmission performed by a target terminal through a first operator network, and the second network quality parameter value is obtained by measuring data transmission performed by the target terminal through a second operator network;

[0013] a processing unit, configured to, when the value of the first network quality parameter is greater than the value of the second network quality parameter, use the first operator network as a target network and the second operator network as an alternative network;

[0014] The acquiring unit is further configured to acquire a first transmission rate, where the first transmission rate is an average transmission rate at which the target terminal transmits data through the target network and the alternative network during a first time period;

[0015] The processing unit is further configured to close the connection between the target terminal and the alternative network after a first period of time when the first transmission rate is equal to a preset transmission rate, where the preset transmission rate is the transmission rate at which the target terminal transmits data through the target network.

[0016] In a possible implementation of the second aspect, the processing unit is further used to transmit data between the target terminal and the alternative network at a target transmission rate when the first transmission rate is greater than the preset transmission rate, and the target transmission rate is the difference between the first transmission rate and the preset transmission rate.

[0017] In a possible implementation of the second aspect, the acquiring unit is further configured to acquire a second transmission rate, where the second transmission rate is a transmission rate of the candidate network in the second time period;

[0018] The processing unit is further configured to switch the connection between the target terminal and the alternative network to a 4G connection when the second transmission rate is greater than the product of the target transmission rate and a first parameter, where the first parameter is a natural number greater than 1.

[0019] In a possible implementation of the second aspect, the acquiring unit is further configured to, when the target terminal is connected to the alternative network and the connection between the target terminal and the alternative network is a 5G connection, acquire a second channel capacity, where the second channel capacity is the 5G channel capacity of the alternative network in the third time period;

[0020] The acquiring unit is further configured to acquire a third transmission rate, where the third transmission rate is an average transmission rate at which the target terminal transmits data through the alternative network during a third time period;

[0021] The processing unit is further configured to switch the connection between the target terminal and the alternative network to a 4G connection when the product of the first channel capacity and the second parameter is greater than the third transmission rate, where the second parameter is a natural number greater than 0 and less than 1.

[0022] In a possible implementation of the second aspect, when the connection between the target terminal and the alternative network is closed, the acquiring unit is further configured to acquire quality information of the target network;

[0023] The processing unit is further configured to activate the connection between the target terminal and the alternative network when the quality information of the target network meets a preset condition.

[0024] In a possible implementation of the second aspect, the quality information of the target network includes a signal quality of the target network, and the preset condition includes a decrease in the signal quality of the target network;

[0025] The processing unit is specifically configured to activate a connection between the target terminal and the alternative network when the signal quality of the target network degrades, wherein the connection between the target terminal and the alternative network is a 4G connection.

[0026] In a possible implementation of the second aspect, the quality information of the target network includes a transmission rate of the target network and a signal quality of the target network, and the preset condition includes that the signal quality of the target network does not change and the transmission rate of the target network decreases;

[0027] The processing unit is specifically used to activate the connection between the target terminal and the alternative network when the signal quality of the target network has not changed and the transmission rate of the target network has decreased, and the connection between the target terminal and the alternative network is a 5G connection.

[0028] In a possible implementation of the second aspect, the acquiring unit is further configured to, when the target terminal is connected to the alternative network and the connection between the target terminal and the alternative network is a 4G connection, acquire quality information of the alternative network;

[0029] The processing unit is further configured to adjust the candidate network to a target state when the quality information of the candidate network meets the target condition.

[0030] In a possible implementation of the second aspect, the quality information of the alternative network includes a transmission rate of the alternative network, the target state includes no connection between the target terminal and the alternative network, and the target condition includes that the transmission rate of the alternative network is 0;

[0031] The processing unit is specifically configured to close the connection between the target terminal and the alternative network when the transmission rate of the alternative network is 0.

[0032] In a possible implementation of the second aspect, the quality information of the alternative network includes a signal quality of the alternative network, the target state includes that the connection between the target terminal and the alternative network is a 5G connection, and the target condition includes that the signal quality of the alternative network is degraded;

[0033] The processing unit is specifically used to switch the connection between the target terminal and the alternative network to a 5G connection when the signal quality of the alternative network deteriorates.

[0034] In a possible implementation of the second aspect, the acquiring unit is further configured to, when the target terminal is connected to the alternative network, and the connection between the target terminal and the alternative network is a 5G connection, acquire a third network quality parameter value and a fourth network quality parameter value, the third network quality parameter value being the signal quality of the target network in the third time period, and the fourth network quality parameter value being the signal quality of the alternative network in the third time period;

[0035] The processing unit is further configured to, when the fourth network quality parameter value is better than the third network quality parameter value, swap the operator networks corresponding to the target network and the candidate network to obtain an updated target network and an updated candidate network.

[0036] A third aspect of the present application provides a computer device, comprising: a memory, a processor, and a bus system;

[0037] Wherein, the memory is used to store programs;

[0038] 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;

[0039] The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.

[0040] A fourth aspect of the present application provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the methods of the above aspects.

[0041] In a fifth aspect of the present application, 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.

[0042] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0043] In the solution provided by the embodiment of the present application, the signal strength of the operator network that the target 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 the data transmission of the target terminal through the first operator network, and the second network quality parameter value is obtained by measuring the target terminal through the second operator network. The operator network with the strongest signal is selected as the target network, and the other operator networks are selected as alternative networks. After the target network can provide the network bandwidth required for data transmission and can operate stably for a first period of time, the connection between the target terminal and the alternative network is closed, thereby ensuring the normal data transmission of the target terminal while reducing redundant network connections, thereby reducing the power consumption of the target terminal and improving the battery life of the target terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A schematic diagram of aggregated transmission of multiple network terminals in an embodiment of the present application;

[0045] Figure 2 This is a schematic diagram of the architecture of a communication system in an embodiment of the present application;

[0046] Figure 3 A flowchart of a method for data transmission according to an embodiment of the present application;

[0047] Figure 4 This is another flowchart of the data transmission method according to an embodiment of the present application;

[0048] Figure 5 This is another flowchart of the data transmission method according to an embodiment of the present application;

[0049] Figure 6 This is another flowchart of the data transmission method according to an embodiment of the present application;

[0050] Figure 7 This is another flowchart of the data transmission method according to an embodiment of the present application;

[0051] Figure 8 This is another flowchart of the data transmission method according to an embodiment of the present application;

[0052] Figure 9 This is a structural diagram of a device for data transmission in an embodiment of the present application;

[0053] Figure 10 This is a structural diagram of a terminal device in an embodiment of the present application. DETAILED DESCRIPTION

[0054] 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 battery life of the terminal.

[0055] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the numbers used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can, for example, be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "corresponding to" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0056] In the embodiments of the present application, the term "module" or "unit" 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. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0057] With the continuous advancement of science and technology, more and more technologies rely on wireless networks for implementation. The effectiveness of some technologies is highly dependent on network stability and capacity. For example, live streaming requires stable network bandwidth. Insufficient bandwidth or jitter can cause video bitrate drops or freezes, leading to page freezes during live streaming, significantly impacting the user experience.

[0058] To address this issue, multiple cellular networks can be bundled and used. In the Internet scenario, 2 to 3 5G modules can be integrated into the cellular terminal, and USIM cards 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.

[0059] Among them, in the aggregate transmission mode, different data packets of the service are allocated to different networks for transmission according to the network quality of different network links. Figure 1 , which is a schematic diagram of the aggregated transmission of multiple network terminals provided in this application.

[0060] Depend on Figure 1It can be seen that for the live video data, the live broadcast APP will generate multiple data packets (data packet 1, data packet 2, data packet 3, data packet 4), and the multiple data packets will be distributed for transmission through the multi-network transmission APP. For example, the multi-network transmission APP distributes data packet 1 and data packet 3 to the first network (5G) for transmission, and the multi-network transmission APP distributes data packet 2 and data packet 4 to the second network (WiFi) for 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 broadcast data stream, and then transmits them to the live broadcast server for subsequent processing.

[0061] In the aggregated transmission solution, although the capacity of the two networks can be fully utilized to provide a larger network bandwidth for the business, during the data transmission process, the capacity of the two networks will not be occupied all the time. Therefore, the present application proposes that when at least two USIM cards are provided in the target terminal, the signal strength of the operator network corresponding to each USIM card is obtained, and the USIM card with the strongest operator network signal is selected as the main USIM card, and the remaining USIM cards are selected as alternative USIM cards. The main USIM card can provide the network bandwidth required by the business, and after running in a stable state for a period of time, the connection between the target terminal and the alternative USIM card is closed. While ensuring the normal data transmission of the target terminal, redundant network connections are reduced, thereby reducing the power consumption of the target terminal per unit time, and achieving an improvement in the battery life of the target terminal.

[0062] The method provided in this application is applied to Figure 2 The communication system shown is shown in Figure 2 , Figure 2This is a schematic diagram of the architecture of the communication system in an embodiment of the present application. As shown in the figure, the communication system includes a server, a terminal device and a satellite, and the client is deployed on the terminal device, wherein the client can be run on the terminal device in the form of a browser, or can be run on the terminal device in the form of an independent application (APP), etc. The specific presentation form of the client is not limited here. 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 is not limited here. 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.

[0063] The terminal device is used to obtain a first network quality parameter value and a second network quality parameter value, where the first network quality parameter value is obtained by measuring data transmission performed by the target terminal through the first operator network, and the second network quality parameter value is obtained by measuring data transmission performed by the target terminal through the second operator network;

[0064] When the first network quality parameter value is greater than the second network quality parameter value, the first operator network is used as the target network and the second operator network is used as the alternative network;

[0065] Obtaining a first transmission rate, where the first transmission rate is a transmission rate at which the target terminal transmits data through the first operator network and the second operator network during a first time period;

[0066] When the first transmission rate is less than the channel capacity of the target network, the connection between the target terminal and the alternative network is closed after a first time period.

[0067] A database, in simple terms, can be thought of as a digital filing cabinet—a place where electronic files are stored, where users can add, query, update, and delete data. A "database" is a collection of data stored in a specific manner, shared by multiple users, with minimal redundancy, and independent of applications. A database management system (DBMS) is a computer software system designed to manage databases, typically providing basic functions such as storage, access, security, and backup. Database management systems can be categorized based on the database model they support, such as relational or Extensible Markup Language (XML); the type of computer they support, such as server clusters or mobile phones; the query language used, such as Structured Query Language (SQL) or XQuery; performance priorities, such as maximum scale or maximum speed; or other classification methods. Regardless of the classification method used, some DBMSs are cross-category, for example, supporting multiple query languages ​​simultaneously.

[0068] Since this application involves some professional terms, these professional terms will be introduced below.

[0069] Quick UDP Internet Connection (QUIC) uses the User Datagram Protocol (UDP) to establish a connection between two endpoints and supports multiplexing. Initially, QUIC aimed to provide network security protection equivalent to SSL / TLS, reducing latency during data transmission and connection establishment, and bidirectionally controlling bandwidth to avoid network congestion and increase web page transmission speeds.

[0070] The UDP protocol, like TCP, is used to process data packets. In the Open Systems Interconnection (OSI) model, both reside in the transport layer, above the IP protocol. UDP is a connectionless transport layer protocol in the OSI reference model. It is primarily used for transmissions where packet arrival order is not required. Packet transmission order checking and sorting are performed by the application layer, providing a simple, transaction-oriented, unreliable information delivery service. UDP essentially serves as an interface between IP and upper-layer protocols. It is suitable for multiple applications running on separate ports on the same device.

[0071] Multi-path QUIC (MP-QUIC) is the industry's leading multi-network infrastructure. It offers fundamental features such as packet encapsulation, packet loss recovery, buffer management, and multipath management. MP-QUIC is a multi-path version of single-path QUIC. QUIC primarily addresses practical issues encountered with TCP, such as header blocking, inefficient congestion control, disconnection due to IP / PORT changes, three-way handshake overhead, and inefficient out-of-band control.

[0072] Quality of service (QoS) refers to a network's ability to use various basic technologies to provide better service for specified network communications. It is a network security mechanism and a technology used to solve problems such as network delay and congestion.

[0073] QoS class identify (QCI) is used to measure the specific packet forwarding behavior provided to the SDF (such as packet loss rate, packet delay budget, etc.). It is applied to both guaranteed bit rate (GBR) and non-GBR forwarding. It 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).

[0074] GBR refers to a guaranteed minimum transmission rate for the channel resources used by users during communications. This means that when using channel resources, users have a guaranteed minimum transmission rate, and over a period of time, the minimum transmission rate of the channel resources used by users will not fall below a certain value. GBR primarily carries applications in real-time apps, such as voice communications and video conferencing. These applications require a guaranteed minimum transmission rate to ensure the quality of real-time apps.

[0075] Non-GBR refers to a communication scenario in which the channel resources used by users do not have a guaranteed minimum transmission rate. This means that there is no guaranteed minimum transmission rate when using channel resources, and there is no clear lower limit on the minimum transmission rate of the channel resources used by users within a certain period of time. Non-GBR is mainly used in non-real-time applications, such as file transfers and database queries.

[0076] In combination with the above introduction, this application will introduce a situation where two USIM cards are provided in the target terminal, and the target terminal accesses the first operator network and the second operator network respectively through the two USIM cards.

[0077] It should be noted that the solution provided in this application can be applied to situations where there are two or more USIM cards in the target terminal. In actual application, it should be adjusted appropriately according to the specific situation and is not limited here.

[0078] The following describes the data transmission method in this application. After the target terminal is started, it connects to the first operator network and the second operator network respectively through two USIM cards. The target terminal is connected to the first operator network through 5G, and the target terminal is connected to the second operator network through 5G. Figure 3 , an embodiment of the data transmission method in the embodiment of the present application includes:

[0079] S110. Obtain a first network quality parameter value and a second network quality parameter value;

[0080] The first network quality parameter value is obtained by measuring the data transmission of the target terminal through the first operator network, and the second network quality parameter value is obtained by measuring the data transmission of the target terminal through the second operator network. The first operator network here corresponds to the first USIM card set in the target terminal, and the second operator network corresponds to the second USIM card set in the target terminal.

[0081] Specifically, since the current 5G network has become popular and common dual-cellular terminals are dual-5G terminal devices, in the embodiment of the present application, after the target terminal is turned on, the first operator network and the second operator network are activated at the same time, and the first operator network and the second operator network are both connected with 5G.

[0082] Based on the above scenario, the network quality parameter may include synchronization signal reference signal received power (SS-RSRP).

[0083] Furthermore, when the embodiment of the present application is applied to a scenario where more than two USIM cards are provided in the target terminal, the network quality parameter value corresponding to each USIM card is obtained.

[0084] It is understandable that, since the USIM cards in the target terminal may be of the same operator in actual use, the first operator network and the second operator network here are only used to distinguish different USIM cards and are not limited to being networks of different operators.

[0085] S120. Determine whether the first network quality parameter value is greater than the second network quality parameter value;

[0086] Furthermore, when the embodiment of the present application is applied to a scenario in which more than two USIM cards (operator networks) are set in the target terminal, this step is to select the operator network with the largest network quality parameter value among multiple operator networks, and perform similar operations to the first operator network in step S130 on the operator network with the largest network quality parameter value, and perform similar operations to the second operator network in step S130 on the operator network other than the operator network with the largest network quality parameter value. There is no restriction here.

[0087] If yes, go to step S130;

[0088] If not, execute step S140.

[0089] S130: Set the first operator network as the target network and the second operator network as the alternative network;

[0090] When the first network quality parameter value is greater than the second network quality parameter value, the first operator network is used as the target network and the second operator network is used as the alternative network.

[0091] Furthermore, when the embodiment of the present application is applied to a scenario in which more than two USIM cards (operator networks) are set in the target terminal, this step is to select the operator network with the largest network quality parameter value among multiple operator networks, and use the operator network with the largest network quality parameter value as the target network, and use the operator network other than the one with the largest network quality parameter value as the alternative network. There is no restriction here.

[0092] S140: Set the first operator network as the candidate network and the second operator network as the target network;

[0093] When the first network quality parameter value is less than or equal to the second network quality parameter value, the second operator network is used as the target network and the first operator network is used as the alternative network.

[0094] S150, obtaining a first transmission rate;

[0095] The first transmission rate is an average transmission rate of data transmitted by the target terminal through the target network and the alternative network during the first period. In practical applications, the data transmission of the target terminal is preferentially transmitted through the target network.

[0096] Specifically, the instantaneous transmission rate of data transmitted by the target terminal through the target network and the alternative network in the first time period is measured, and the average transmission rate of the target terminal in the first time period is obtained by averaging the data using a sliding filter.

[0097] Optionally, the average transmission rate of the target terminal measured by other devices may also be directly obtained, which is not limited here.

[0098] For example, when the target terminal is connected to all accessed operator networks through 5G at the same time, the first transmission rate is collected intermittently, and the specific intermittent time is not limited here.

[0099] It is understandable that the description of the method for obtaining the first transmission rate here is only an example. In actual application, it should be set in combination with specific application scenarios and is not limited here.

[0100] S160. When the first transmission rate is equal to the preset transmission rate, close the connection between the target terminal and the alternative network;

[0101] The preset transmission rate is the transmission rate at which the target terminal transmits data through the target network.

[0102] That is, when the channel capacity of the target network can support the current data transmission, the connection between the target terminal and the alternative network is closed.

[0103] Specifically, in order to eliminate the impact of jitter generated during data transmission on network switching, the connection between the target terminal and the alternative network can be closed after the target terminal stably transmits data through the target network and the alternative network for a first period of time.

[0104] Exemplarily, closing the connection between the target terminal and the alternative network includes switching the alternative network to a radio resource control idle (RRC-idle) state, in which the alternative network stops sending data packets, such as heartbeat packets and probe packets.

[0105] Exemplarily, the first duration of stable data transmission may be that the instantaneous transmission rates collected during the first duration are all within the target range, or that the first transmission rates collected multiple times during the first duration are all less than the channel capacity of the target network. There is no limitation here.

[0106] It is understandable that the description of the first duration of stable data transmission here is only an example. In actual application, it should be set in combination with specific application scenarios and is not limited here.

[0107] In an embodiment of the present application, the signal strength of the operator network that the target 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 the data transmission of the target terminal through the first operator network, and the second network quality parameter value is obtained by measuring the target terminal through the second operator network. The operator network with the strongest signal is selected as the target network, and the other operator networks are selected as alternative networks. After the target network can provide the network bandwidth required for data transmission and can operate stably for a first period of time, the connection between the target terminal and the alternative network is closed, thereby ensuring the normal data transmission of the target terminal while reducing redundant network connections, thereby reducing the power consumption of the target terminal and improving the battery life of the target terminal.

[0108] S170. When the first transmission rate is greater than the preset transmission rate, transmit data between the target terminal and the alternative at the target transmission rate, and transmit data between the target terminal and the target network at the preset transmission rate.

[0109] The target transmission rate is the difference between the first transmission rate and the preset transmission rate, and the preset transmission rate is the transmission rate at which the target terminal transmits data through the target network.

[0110] That is, when the channel capacity of the target network is insufficient to support the current network transmission, the multi-link scheduling solution is as follows:

[0111] Data is transmitted from the target network first, and the target congestion algorithm is used to control the congestion of data transmission from the target terminal through the target network. The target congestion algorithm is used to optimize the target network so that the preset transmission rate is as close as possible to the maximum transmission rate that the target network can provide.

[0112] Part of the data that cannot be carried by the target network is transmitted through the alternative network, and the transmission rate of the alternative network is the difference between the first transmission rate and the preset transmission rate (target transmission rate).

[0113] Furthermore, when the embodiment of the present application is applied to a scenario where more than two USIM cards (operator networks) are provided in the target terminal, multiple alternative networks can jointly output the target transmission rate.

[0114] In some possible scenarios, the target transmission rate can be evenly distributed to multiple candidate networks.

[0115] In some better options, multiple alternative networks can also be sorted by transmission priority according to the network quality parameter values ​​of the alternative networks, and the alternative network with the highest priority among the alternative networks can be used for data transmission first. There is no restriction here.

[0116] In an embodiment of the present application, when the target network cannot fully carry all data transmissions of the target terminal, data transmission between the target terminal and the alternative network is retained to ensure that the data transmission of the target terminal can proceed normally, thereby improving the reliability of the data transmission of the target terminal.

[0117] above Figure 3 The data transmission method provided in this application is for the case where the target terminal is in the startup state. Figure 4 In the data transmission method provided in an embodiment of the present application, the target terminal is provided with at least two USIM cards, and the connection between the target terminal and the target network is a 5G connection, and the connection between the target terminal and the alternative network is a 5G connection.

[0118] S210, obtaining a second transmission rate;

[0119] Among them, the second transmission rate is the data transmission rate of the alternative network in the second time period, the second transmission rate is the data transmission rate when the target terminal and the alternative network are connected through 4G, and the second time period is after the first time period.

[0120] Specifically, since in the solution provided in this application, the base station accessed by the target terminal is the same during the switching of 4G and 5G links, the SS-RSRP value of the alternative network and the SS-SINR value of the alternative network can be collected to estimate the transmission rate of the alternative network when the connection between the target terminal and the alternative network is a 4G connection.

[0121] In a possible implementation, the connection between the target terminal and the alternative network can be quickly switched from a 5G connection to a 4G connection by setting a window time, and then quickly switched back to a 5G connection. When the connection between the target terminal and the alternative network is in a 4G state, the second transmission rate can be directly measured and obtained.

[0122] It is understandable that the description of the method for obtaining the second transmission rate here is only an example. In actual application, it should be set in combination with specific application scenarios and is not limited here.

[0123] S220. When the second transmission rate is greater than the product of the target transmission rate and the first parameter, switch the connection between the target terminal and the alternative network to a 4G connection;

[0124] Among them, the first parameter is a natural number greater than 1. The first parameter can be a parameter set by technicians according to actual usage requirements. For example, the first parameter is 1.5 or 2, and there is no limitation here.

[0125] Specifically, since the first parameter is 1.5, when the second transmission rate is greater than the product of the target transmission rate and the first parameter, the rate at which the target terminal transmits data to the terminal of the alternative network is much lower than the transmission rate that the 4G connection of the alternative network can carry. Based on the same terminal device, the power consumption of the 5G connection is 20% to 30% greater than that of the 4G connection. The solution provided in the embodiment of the present application can promptly switch the connection between the target terminal and the alternative network to a 4G connection.

[0126] S230. When the first channel capacity is less than or equal to the product of the target transmission rate and the first parameter, maintain the connection between the target terminal and the alternative network as a 5G connection.

[0127] In the embodiment of the present application, full consideration is given to the fact that the power consumption of the target terminal when connected to the network via 5G is greater than the power consumption of the target terminal when connected to the network via 4G. The connection between the target terminal and the network is switched from 5G to 4G in a timely manner, thereby reducing the power consumption of the target terminal during use and improving the battery life of the target terminal in the solution.

[0128] above Figure 5 In the data transmission method provided in the embodiment of the present application, the target terminal is provided with at least two USIM cards, and the connection between the target terminal and the target network is a 5G connection, and the connection between the target terminal and the alternative network is a 5G connection. This application also proposes another method for managing the alternative network. Figure 5 This method will be described.

[0129] S310, obtaining a first channel capacity;

[0130] Among them, the first channel capacity is the 5G channel capacity of the alternative network in the third time period, the target terminal and the target network are 5G connected in the third time period, and the target terminal and the alternative network are 5G connected in the third time period, and the third time period is after the first time period.

[0131] Specifically, the channel capacity of the alternative network can be estimated when the connection between the target terminal and the alternative network is a 5G connection by collecting the SS-RSRP value and the SS-SINR value of the alternative network.

[0132] S320, obtaining a third transmission rate;

[0133] The third transmission rate is an average transmission rate at which the target terminal transmits data through the alternative network during the third time period.

[0134] S330: When the product of the first channel capacity and the second parameter is greater than the third transmission rate, switch the connection between the target terminal and the alternative network to a 4G connection;

[0135] Among them, the second parameter is a natural number less than 1 and greater than 0. The second parameter can be a parameter set by technicians according to actual usage requirements. For example, the second parameter is 0.1, and there is no limitation here.

[0136] Specifically, since the second parameter is 0.1, when the capacity of the first channel is greater than the product of the target transmission rate and the second parameter, the rate at which the target terminal transmits data to the terminal of the alternative network is much lower than the transmission data that the 5G connection of the alternative network can carry. Based on the same terminal device, the power consumption of the 5G connection is 20% to 30% greater than that of the 4G connection. The connection between the target terminal and the alternative network can be switched to a 5G connection in a timely manner, and there is no restriction here.

[0137] S340. When the product of the first channel capacity and the second parameter is less than or equal to the third transmission rate, maintain the connection between the target terminal and the alternative network as a 5G connection.

[0138] In an embodiment of the present application, another approach to the network management method between the target terminal and the alternative network is provided when the target terminal is simultaneously connected to the target network and the alternative network via 5G, thereby improving the flexibility of the solution.

[0139] The following combination Figure 6 In the data transmission method provided in the embodiment of the present application, a case is described in which the target terminal is provided with at least two USIM cards and the target terminal is only connected to the target network.

[0140] S410, obtaining quality information of the target network;

[0141] The quality information of the target network may include the signal quality of the target network and / or the transmission rate of the target network, etc., which are not limited here.

[0142] Specifically, the signal quality of the target network may include the SS-RSRP of the target network and / or the SS-SINR of the target network, which is not limited here.

[0143] It is understandable that the description of the quality information of the target network here is only an example. In actual application, it should be set in combination with actual conditions and is not limited here.

[0144] S420. When the quality information of the target network meets a preset condition, activate the connection between the target terminal and the alternative network;

[0145] In the solution provided in this application, there are different situations in which the connection between the target terminal and the alternative network is activated, based on the different preset conditions that the quality information of the target network needs to meet. The following are analyzed separately:

[0146] A. The quality information of the target network includes the signal quality of the target network, and the preset condition includes a decrease in the signal quality of the target network;

[0147] Exemplarily, the signal quality of the target network may be the SS-RSRP value of the target network.

[0148] When the SS-RSRP value of the target network decreases, it indicates that the carrying capacity of the target network decreases. The channel capacity of the target network is estimated based on the SS-RSRP value or the SS-SINR value of the target network.

[0149] If the channel capacity of the target network is less than the product of the data transmission volume of the target terminal and the third parameter, the connection between the target terminal and the alternative network is activated so that the connection between the target terminal and the alternative network is a 4G connection.

[0150] The third parameter may be 1.5 or 2, which is not limited here.

[0151] Furthermore, in order to eliminate misjudgments caused by network jitter, the state in which the available channel capacity of the target network is less than the product of the data transmission volume of the target terminal and the third parameter can be maintained for a second period of time, and then the connection between the target terminal and the alternative network can be activated. There is no restriction here.

[0152] In an embodiment of the present application, when the carrying capacity of the target network cannot meet the data transmission needs of the target terminal, the 4G connection of the alternative network is activated first, and then the connection between the target terminal and the alternative network is further switched from the 4G connection, thereby avoiding the redundancy of data transmission capacity that may be caused by directly activating the 5G connection between the target terminal and the alternative network, and improving the flexibility of the solution.

[0153] B. The quality information of the target network includes the transmission rate of the target network and the signal quality of the target network. The preset conditions include that the signal quality of the target network does not change and the transmission rate of the target network decreases.

[0154] Exemplarily, the signal quality of the target network may be the SS-RSRP value of the target network.

[0155] Specifically, when the SS-RSRP value of the target network does not change and the transmission rate of the target network decreases, it is usually a scene with a large number of people. In this scenario, the 5G link will be congested only after the 4G link is congested. In order to more efficiently improve the data transmission rate of the target terminal, the connection between the target terminal and the alternative network can be activated, and the connection between the target terminal and the alternative network is a 5G connection.

[0156] The SS-RSRP value of the target network does not change, and the scenario where the transmission rate of the target network decreases may be a concert or a subway.

[0157] In the embodiments of this application, a specific description is provided for the situation where the target network cannot carry the data transmission of the target terminal. Based on the actual situation that 4G link congestion occurs before 5G network congestion, a customized design is implemented in the scenario where the network signal quality is good but the network transmission quality deteriorates. The connection between the target terminal and the alternative network is directly activated and switched to the 5G connection. While improving the flexibility of the solution, it also improves the practicality of the solution and the network stability of the target terminal.

[0158] S430: When the quality information of the target network does not meet the preset condition, keep the connection between the target terminal and the alternative network disconnected.

[0159] Specifically, when the SS-RSRP value of the target network does not decrease and the transmission rate of the target network does not decrease, it is considered that the quality information of the target network does not meet the preset conditions, and the connection between the target terminal and the alternative network remains disconnected.

[0160] In an embodiment of the present application, it is proposed that when the target terminal is connected to the target network only via a 5G network, whether to activate the connection between the target terminal and the alternative network can be determined based on whether the quality information of the target network meets preset conditions. This allows the connection between the target terminal and the alternative network to be flexibly switched based on the network connection status, thereby improving the flexibility of the solution, ensuring that the target terminal in the solution can switch the network status in real time according to demand, and also improving the reliability of the data transmission of the target terminal in the solution.

[0161] The following combination Figure 7 In the data transmission method provided in an embodiment of the present application, the target terminal is provided with at least two USIM cards, and the connection between the target terminal and the target network is a 5G connection, and the connection between the target terminal and the alternative network is a 4G connection.

[0162] S510, obtaining quality information of the candidate network;

[0163] The quality information of the candidate network includes quality information of the candidate network, or a transmission rate of the candidate network.

[0164] Specifically, the signal quality of the candidate network includes a reference signal receiving power (RSRP) and a signal to interference plus noise ratio (SINR) of the candidate network.

[0165] It is understandable that the description of the quality information of the candidate network here is only an example. In actual application, it should be set in combination with actual conditions and is not limited here.

[0166] S520: When the quality information of the candidate network meets the target condition, adjust the candidate network to the target state;

[0167] In the solution provided in this application, different target conditions need to be met by the quality information of the candidate network, and different target states are correspondingly provided. The following is an analysis of each of them:

[0168] Case 1: the quality information of the candidate network includes the transmission rate of the candidate network, the target condition includes the transmission rate of the candidate network being 0, and the target state includes no connection between the target terminal and the candidate network;

[0169] Since the transmission rate of the alternative network can be directly collected from other devices during the specific implementation process, based on the solution provided in this application, the data transmission of the target terminal is preferentially transmitted through the target terminal. Therefore, when the transmission rate of the alternative network is 0, the target network can carry all data transmissions of the target terminal and cut off the connection between the target terminal and the alternative network (switch the connection between the target terminal and the alternative network to the RRC-idle state).

[0170] Specifically, in order to avoid fluctuations caused by unstable network jitter, when the transmission rate of the alternative network is 0 and maintains the first period of time, it is considered that the quality information of the alternative network meets the target conditions, and the connection between the target terminal and the alternative network is cut off (the connection between the target terminal and the alternative network is switched to the RRC-idle state).

[0171] Furthermore, when the embodiment of the present application is applied to a scenario where more than two USIM cards (operator networks) are installed in the target terminal, quality information of multiple alternative networks can be collected. When the transmission rate of any alternative network is 0, the connection between the target terminal and the alternative network is cut off. There is no restriction here.

[0172] In the embodiment of the present application, since in the solution provided in the present application, the data transmission of the target terminal is preferentially transmitted through the target network, when the transmission rate of the alternative network is 0, the target network can carry all the data transmission of the target terminal. In this case, cutting off the data transmission between the target terminal and the alternative network can greatly save the energy consumption of the target terminal, while ensuring the data transmission efficiency of the target terminal, and improving the battery life of the target terminal.

[0173] Case 2: When the quality information of the candidate network includes the RSRP and SINR of the candidate network, the target condition includes that the transmission rate of the candidate network is 0, and the target state includes that there is no connection between the target terminal and the candidate network;

[0174] Because in a specific implementation process, when the collected quality information of the candidate network is the RSRP and SINR of the candidate network.

[0175] A mapping curve between the RSRP of the candidate network and the uplink rate of the candidate network, and a mapping curve between the SINR of the candidate network and the downlink rate of the candidate network can be fitted according to the collected RSRP value of the candidate network and the measured value of the SINR of the candidate network.

[0176] Then, the table is looked up to obtain the transmission rate of the alternative network, which is not restricted here.

[0177] Based on the solution provided in the present application, the data transmission of the target terminal is transmitted through the target terminal first. Therefore, when the transmission rate of the alternative network is 0, the target network can carry all the data transmission of the target terminal and cut off the connection between the target terminal and the alternative network (switch the connection between the target terminal and the alternative network to the RRC-idle state).

[0178] Specifically, in order to avoid fluctuations caused by unstable network jitter, when the transmission rate of the alternative network is 0 and maintains the first period of time, it is considered that the quality information of the alternative network meets the target conditions, and the connection between the target terminal and the alternative network is cut off (the connection between the target terminal and the alternative network is switched to the RRC-idle state).

[0179] Furthermore, when the embodiment of the present application is applied to a scenario where more than two USIM cards (operator networks) are installed in the target terminal, quality information of multiple alternative networks can be collected. When the transmission rate of any alternative network is 0, the connection between the target terminal and the alternative network is cut off. There is no restriction here.

[0180] Case 3: When the quality information of the alternative network is the signal quality of the alternative network, the target condition includes that the signal quality of the alternative network is degraded, and the target state includes that the connection between the target terminal and the alternative network is a 5G connection.

[0181] Among them, the signal quality of the alternative network is specifically the received signal strength indication (RSSI) of the carrier of the alternative network. When the RSSI of the alternative network decreases, it means that the data transmission capacity of the alternative network carrying the target terminal is reduced. The connection between the target terminal and the alternative network can be switched from a 4G connection to a 5G connection to improve the stability of the data transmission of the target terminal.

[0182] Furthermore, when the embodiment of the present application is applied to a scenario where more than two USIM cards (operator networks) are set in the target terminal, quality information of multiple alternative networks can be collected. When the RSSI of any of the alternative networks drops, the connection between the target terminal and the alternative network is switched from a 4G connection to a 5G connection. There is no restriction here.

[0183] In an embodiment of the present application, when the signal quality of the alternative network decreases, in order to maintain the data transmission stability of the target terminal, the data transmission between the target terminal and the alternative network is switched from a 4G connection to a 5G connection, thereby improving the stability of the data transmission of the target terminal.

[0184] S530: When the quality information of the candidate network does not meet the target condition, maintain the connection between the candidate network and the target terminal as a 4G connection.

[0185] When the quality information of the candidate network does not fluctuate significantly, it can be considered that the quality information of the candidate network does not meet the target condition.

[0186] In an embodiment of the present application, a management solution for the target terminal and the alternative network is provided when the connection between the target terminal and the target network is a 5G connection and the connection between the target terminal and the alternative network is a 4G connection. This improves the flexibility of the solution while ensuring the data transmission stability of the target terminal.

[0187] The following combination Figure 8 In the data transmission method provided in an embodiment of the present application, the target terminal is provided with at least two USIM cards, and the connection between the target terminal and the target network is a 5G connection, and the connection between the target terminal and the alternative network is a 5G connection. The switching between the target network and the alternative network is explained.

[0188] S610: Obtain a third network quality parameter value and a fourth network quality parameter value;

[0189] The third network quality parameter value is obtained by measuring data transmission performed by the target terminal through the target network during the fourth time period, and the fourth network quality parameter is obtained by measuring data transmission performed by the target terminal through the alternative network during the fourth time period.

[0190] Specifically, the network quality parameter value includes an SS-RSRP value, which is not limited here.

[0191] It is understandable that the description of the network quality parameter values ​​here is only an example. In actual application, they should be set in combination with specific application scenarios and are not limited here.

[0192] S620: Determine whether the fourth network quality parameter value is greater than the third network quality parameter value;

[0193] Specifically, due to network stability reasons, temporary network fluctuations may occur, causing the fourth network quality parameter value to be greater than the third network quality parameter value. In order to avoid misjudgment caused by network fluctuations, the present application proposes that the fourth network quality parameter value is greater than the third network quality parameter value. Alternatively, the fourth network quality parameter value is greater than the sum of the third network quality parameter and the fourth parameter.

[0194] The fourth parameter may be a hysteresis value of network fluctuation, for example, 3dB or 5dB, which is not limited here.

[0195] Furthermore, when the embodiment of the present application is applied to a scenario in which more than two USIM cards (operator networks) are set in the target terminal, this step is to select the operator network with the largest network quality parameter value among multiple operator networks, and perform similar operations on the target network in step S630 on the operator network with the largest network quality parameter value, and perform similar operations on the alternative network in step S630 on the operator network other than the operator network with the largest network quality parameter value. There is no restriction here.

[0196] If yes, go to step S630;

[0197] If not, execute step S640.

[0198] S630: Swap the target network and the operator networks corresponding to the candidate network to obtain an updated target network and an updated candidate network;

[0199] Exemplarily, the target network corresponds to USIM card 1 , USIM card 1 corresponds to operator network 1 , the alternative network corresponds to USIM card 2 , and USIM card 2 corresponds to operator network 2 .

[0200] When the third network quality parameter value corresponding to USIM card 1 is less than or equal to the fourth network quality parameter value corresponding to USIM card 2, USIM card 2 is used as the updated target network and USIM card 1 is used as the updated alternative network. There is no restriction here.

[0201] S640: Maintain the current target network and the alternative network.

[0202] When the fourth network quality parameter value is less than or equal to the third network quality parameter value, the current target network and the candidate network are maintained.

[0203] In an embodiment of the present application, when the target network and the alternative network are both in 5G state, it is provided to determine whether it is necessary to switch the target network and the alternative network according to the current network situation, so as to maximize the utilization of network resources, improve data transmission efficiency, and enable the target terminal to transmit data through as few network connections as possible, thereby improving the power consumption of the target terminal.

[0204] The following is an introduction to the data transmission device provided by this application. Figure 9 , Figure 9 This is a schematic diagram of an embodiment of a data transmission device in an embodiment of the present application. The data transmission device 20 includes:

[0205] An acquiring unit 210 is configured to acquire a first network quality parameter value and a second network quality parameter value, wherein the first network quality parameter value is obtained by measuring data transmission performed by a target terminal through a first operator network, and the second network quality parameter value is obtained by measuring data transmission performed by a target terminal through a second operator network;

[0206] The processing unit 220 is configured to use the first operator network as the target network and the second operator network as the alternative network when the first network quality parameter value is greater than the second network quality parameter value;

[0207] 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 target terminal transmits data through the target network and the alternative network during the first time period;

[0208] The processing unit 220 is further configured to close the connection between the target terminal and the alternative network after a first period of time when the first transmission rate is equal to a preset transmission rate, where the preset transmission rate is the transmission rate at which the target terminal transmits data through the target network.

[0209] In an embodiment of the present application, the signal strength of the operator network that the target 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 the data transmission of the target terminal through the first operator network, and the second network quality parameter value is obtained by measuring the target terminal through the second operator network. The operator network with the strongest signal is selected as the target network, and the other operator networks are selected as alternative networks. After the target network can provide the network bandwidth required for data transmission and can operate stably for a first period of time, the connection between the target terminal and the alternative network is closed, thereby ensuring the normal data transmission of the target terminal while reducing redundant network connections, thereby reducing the power consumption of the target terminal and improving the battery life of the target terminal.

[0210] Optionally, the processing unit 220 is further configured to transmit data between the target terminal and the alternative network at a target transmission rate when the first transmission rate is greater than a preset transmission rate, where the target transmission rate is a difference between the first transmission rate and the preset transmission rate.

[0211] In an embodiment of the present application, when the target network cannot fully carry all data transmissions of the target terminal, data transmission between the target terminal and the alternative network is retained to ensure that the data transmission of the target terminal can proceed normally, thereby improving the reliability of the data transmission of the target terminal.

[0212] Optionally, the acquiring unit 210 is further configured to acquire a second transmission rate, where the second transmission rate is a transmission rate of the candidate network in the second time period;

[0213] The processing unit 220 is further configured to switch the connection between the target terminal and the alternative network to a 4G connection when the second transmission rate is greater than the product of the target transmission rate and a first parameter, where the first parameter is a natural number greater than 1.

[0214] In the embodiment of the present application, full consideration is given to the fact that the power consumption of the target terminal when connected to the network via 5G is greater than the power consumption of the target terminal when connected to the network via 4G. The connection between the target terminal and the network is switched from 5G to 4G in a timely manner, thereby reducing the power consumption of the target terminal during use and improving the battery life of the target terminal in the solution.

[0215] Optionally, the acquiring unit 210 is further configured to, when the target terminal is connected to the alternative network and the connection between the target terminal and the alternative network is a 5G connection, acquire a second channel capacity, where the second channel capacity is the 5G channel capacity of the alternative network in the third time period;

[0216] The acquiring unit 210 is further configured to acquire a third transmission rate, where the third transmission rate is an average transmission rate at which the target terminal transmits data through the alternative network during a third time period;

[0217] The processing unit 220 is further configured to switch the connection between the target terminal and the alternative network to a 4G connection when the product of the first channel capacity and the second parameter is greater than the third transmission rate, where the second parameter is a natural number greater than 0 and less than 1.

[0218] In an embodiment of the present application, another approach to the network management method between the target terminal and the alternative network is provided when the target terminal is simultaneously connected to the target network and the alternative network via 5G, thereby improving the flexibility of the solution.

[0219] Optionally, when the connection between the target terminal and the alternative network is closed, the acquiring unit 210 is further configured to acquire quality information of the target network;

[0220] The processing unit 220 is further configured to activate the connection between the target terminal and the alternative network when the quality information of the target network meets a preset condition.

[0221] In an embodiment of the present application, it is proposed that when the target terminal is connected to the target network only via a 5G network, whether to activate the connection between the target terminal and the alternative network can be determined based on whether the quality information of the target network meets preset conditions. This allows the connection between the target terminal and the alternative network to be flexibly switched based on the network connection status, thereby improving the flexibility of the solution, ensuring that the target terminal in the solution can switch the network status in real time according to demand, and also improving the reliability of the data transmission of the target terminal in the solution.

[0222] Optionally, the quality information of the target network includes a signal quality of the target network, and the preset condition includes a decrease in the signal quality of the target network;

[0223] The processing unit 220 is specifically configured to activate a connection between the target terminal and the alternative network when the signal quality of the target network degrades, where the connection between the target terminal and the alternative network is a 4G connection.

[0224] In an embodiment of the present application, when the carrying capacity of the target network cannot meet the data transmission needs of the target terminal, the 4G connection of the alternative network is activated first, and then the connection between the target terminal and the alternative network is further switched from the 4G connection, thereby avoiding the redundancy of data transmission capacity that may be caused by directly activating the 5G connection between the target terminal and the alternative network, and improving the flexibility of the solution.

[0225] Optionally, the quality information of the target network includes a transmission rate of the target network and a signal quality of the target network, and the preset condition includes that the signal quality of the target network does not change and the transmission rate of the target network decreases;

[0226] The processing unit 220 is specifically used to activate the connection between the target terminal and the alternative network when the signal quality of the target network has not changed and the transmission rate of the target network has decreased. The connection between the target terminal and the alternative network is a 5G connection.

[0227] In the embodiments of this application, a specific description is provided for the situation where the target network cannot carry the data transmission of the target terminal. Based on the actual situation that 4G link congestion occurs before 5G network congestion, a customized design is implemented in the scenario where the network signal quality is good but the network transmission quality deteriorates. The connection between the target terminal and the alternative network is directly activated and switched to the 5G connection. While improving the flexibility of the solution, it also improves the practicality of the solution and the network stability of the target terminal.

[0228] Optionally, the acquiring unit 210 is further configured to acquire quality information of the alternative network when the target terminal is connected to the alternative network and the connection between the target terminal and the alternative network is a 4G connection;

[0229] The processing unit 220 is further configured to adjust the candidate network to a target state when the quality information of the candidate network meets the target condition.

[0230] In an embodiment of the present application, a management solution for the target terminal and the alternative network is provided when the connection between the target terminal and the target network is a 5G connection and the connection between the target terminal and the alternative network is a 4G connection. This improves the flexibility of the solution while ensuring the data transmission stability of the target terminal.

[0231] Optionally, the quality information of the alternative network includes a transmission rate of the alternative network, the target state includes no connection between the target terminal and the alternative network, and the target condition includes that the transmission rate of the alternative network is 0;

[0232] The processing unit 220 is specifically configured to close the connection between the target terminal and the alternative network when the transmission rate of the alternative network is 0.

[0233] In the embodiment of the present application, since in the solution provided in the present application, the data transmission of the target terminal is preferentially transmitted through the target network, when the transmission rate of the alternative network is 0, the target network can carry all the data transmission of the target terminal. In this case, cutting off the data transmission between the target terminal and the alternative network can greatly save the energy consumption of the target terminal, while ensuring the data transmission efficiency of the target terminal, and improving the battery life of the target terminal.

[0234] Optionally, the quality information of the alternative network includes a signal quality of the alternative network, the target state includes that the connection between the target terminal and the alternative network is a 5G connection, and the target condition includes that the signal quality of the alternative network is degraded;

[0235] The processing unit 220 is specifically configured to switch the connection between the target terminal and the alternative network to a 5G connection when the signal quality of the alternative network deteriorates.

[0236] In an embodiment of the present application, when the signal quality of the alternative network decreases, in order to maintain the data transmission stability of the target terminal, the data transmission between the target terminal and the alternative network is switched from a 4G connection to a 5G connection, thereby improving the stability of the data transmission of the target terminal.

[0237] Optionally, the acquiring unit 210 is further configured to, when the target terminal is connected to the alternative network, and the connection between the target terminal and the alternative network is a 5G connection, acquire a third network quality parameter value and a fourth network quality parameter value, where the third network quality parameter value is the signal quality of the target network during the third time period, and the fourth network quality parameter value is the signal quality of the alternative network during the third time period;

[0238] The processing unit 220 is further configured to, when the fourth network quality parameter value is better than the third network quality parameter value, swap the operator networks corresponding to the target network and the candidate network to obtain an updated target network and an updated candidate network.

[0239] In an embodiment of the present application, when the target network and the alternative network are both in 5G state, it is provided to determine whether it is necessary to switch the target network and the alternative network according to the current network situation, so as to maximize the utilization of network resources, improve data transmission efficiency, and enable the target terminal to transmit data through as few network connections as possible, thereby improving the power consumption of the target terminal.

[0240] The entrance and exit position determination device provided in this application can be used for terminal equipment, 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. In the embodiment of this application, the terminal device is a smartphone as an example for explanation:

[0241] Figure 10 The block diagram shows a partial structure of a smart phone related to the terminal device provided in the embodiment of the present application. Figure 10 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. Those skilled in the art will appreciate that Figure 10The structure of the smartphone shown in the figure does not constitute a limitation on the smartphone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0242] The following combination Figure 10 A detailed introduction to the various components of a smartphone:

[0243] The RF circuit 410 can be used to receive and send signals during information transmission or calls. In particular, after receiving the downlink information from the base station, it is sent to the processor 480 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 410 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 410 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to the global system of mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, short messaging service (SMS), etc.

[0244] 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.). In addition, 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.

[0245] The input unit 430 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the smartphone. Specifically, the input unit 430 may include a touch panel 431 and other input devices 432. The touch panel 431, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by the user using any suitable object or accessory such as a finger, stylus, etc. on or near the touch panel 431) and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 431 may include two parts: a touch detection device and a touch controller. Among them, 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. In addition, the touch panel 431 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 431, the input unit 430 may further include other input devices 432. Specifically, 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.

[0246] The display unit 440 can be used to display information input by the user or information provided to the user and various menus of the smartphone. The display unit 440 may include a display panel 441. Optionally, the display panel 441 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 431 may cover the display panel 441. When the touch panel 431 detects a touch operation on or near it, it is transmitted to the processor 480 to determine the type of touch event. Subsequently, the processor 480 provides a corresponding visual output on the display panel 441 according to the type of touch event. Although in Figure 10 In the embodiment, the touch panel 431 and the display panel 441 are used as two independent components to realize the input and output functions of the smartphone, but in some embodiments, the touch panel 431 and the display panel 441 can be integrated to realize the input and output functions of the smartphone.

[0247] The smartphone may also include at least one sensor 450, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 441 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 441 and / or the backlight when the smartphone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the smartphone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the smartphone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be described here.

[0248] Audio circuit 460, speaker 461, and microphone 462 provide an audio interface between the user and the smartphone. Audio circuit 460 converts received audio data into electrical signals and transmits them to speaker 461, where they are converted into sound signals for output. Microphone 462, on the other hand, converts collected sound signals into electrical signals, which are then received by audio circuit 460 and converted into audio data. The audio data is then output to processor 480 for processing, then sent to, for example, another smartphone via RF circuit 410, or stored in memory 420 for further processing.

[0249] WiFi is a short-range wireless transmission technology. Smartphones can help users send and receive emails, browse the web, and access streaming media through the WiFi module 470. It provides users with wireless broadband Internet access. Figure 10 A WiFi module 470 is shown, but it is understandable that it is not an essential component of the smartphone and can be omitted as needed without changing the essence of the invention.

[0250] Processor 480 is the control center of the smartphone, connecting all components of the smartphone using various interfaces and circuits. By running or executing software programs and / or modules stored in memory 420 and accessing data stored in memory 420, it executes various smartphone functions and processes data, thereby providing overall smartphone monitoring. Optionally, processor 480 may include one or more processing units; alternatively, processor 480 may integrate an application processor and a modem processor, with the application processor primarily handling the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 480.

[0251] The smartphone also includes a power supply 490 (such as a battery) for supplying power to various components. Optionally, 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.

[0252] Although not shown, the smartphone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.

[0253] The steps performed by the terminal device in the above embodiment can be based on the Figure 10 The terminal device structure shown.

[0254] A computer-readable storage medium is also provided in an embodiment of the present application. The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the methods described in the aforementioned embodiments.

[0255] An embodiment of the present application also provides a computer program product including a program, which, when executed on a computer, enables the computer to execute the methods described in the aforementioned embodiments.

[0256] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0257] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0258] 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.

[0259] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0260] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0261] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A data transmission method, characterized in that: include: Obtain a first network quality parameter value and a second network quality parameter value, wherein the first network quality parameter value is obtained by measuring data transmission performed by a target terminal through a first operator network, and the second network quality parameter value is obtained by measuring data transmission performed by the target terminal through a second operator network; When the first network quality parameter value is greater than the second network quality parameter value, the first operator network is used as the target network and the second operator network is used as the alternative network; Acquire a first transmission rate, where the first transmission rate is an average transmission rate at which the target terminal transmits data through the target network and the alternative network during a first time period; When the first transmission rate is equal to a preset transmission rate, the connection between the target terminal and the alternative network is closed after a first period of time, and the preset transmission rate is a transmission rate at which the target terminal transmits data through the target network.

2. The method according to claim 1, characterized in that The method further comprises: When the first transmission rate is greater than the preset transmission rate, data is transmitted between the target terminal and the alternative network at a target transmission rate, where the target transmission rate is a difference between the first transmission rate and the preset transmission rate.

3. The method according to claim 2, characterized in that The method further comprises: Acquire a second transmission rate, where the second transmission rate is a transmission rate of the candidate network in a second time period; When the second transmission rate is greater than the product of the target transmission rate and a first parameter, the connection between the target terminal and the alternative network is switched to a 4G connection, where the first parameter is a natural number greater than 1.

4. The method according to claim 2, characterized in that The method further comprises: When the target terminal is connected to the alternative network, and the connection between the target terminal and the alternative network is a 5G connection, obtaining a first channel capacity, where the first channel capacity is the 5G channel capacity of the alternative network in a third time period; Obtaining a third transmission rate, where the third transmission rate is an average transmission rate at which the target terminal transmits data through the alternative network during a third time period; When the product of the first channel capacity and a second parameter is greater than the third transmission rate, the connection between the target terminal and the alternative network is switched to a 4G connection, where the second parameter is a natural number greater than 0 and less than 1.

5. The method according to any one of claims 1 to 4, characterized in that: When the connection between the target terminal and the alternative network is closed, the method further includes: Acquiring quality information of the target network; When the quality information of the target network meets a preset condition, the connection between the target terminal and the alternative network is activated.

6. The method according to claim 5, characterized in that The quality information of the target network includes the signal quality of the target network, and the preset condition includes a decrease in the signal quality of the target network; When the quality information of the target network meets a preset condition, activating the connection between the target terminal and the alternative network includes: When the signal quality of the target network decreases, the connection between the target terminal and the alternative network is activated, and the connection between the target terminal and the alternative network is a 4G connection.

7. The method according to claim 5, characterized in that The quality information of the target network includes a transmission rate of the target network and a signal quality of the target network, and the preset condition includes that the signal quality of the target network does not change and the transmission rate of the target network decreases; When the quality information of the target network meets a preset condition, activating the connection between the target terminal and the alternative network includes: When the signal quality of the target network does not change and the transmission rate of the target network decreases, the connection between the target terminal and the alternative network is activated, and the connection between the target terminal and the alternative network is a 5G connection.

8. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: When the target terminal is connected to the alternative network, and the connection between the target terminal and the alternative network is a 4G connection, obtaining quality information of the alternative network; When the quality information of the candidate network meets the target condition, the candidate network is adjusted to a target state.

9. The method according to claim 8, characterized in that The quality information of the alternative network includes a transmission rate of the alternative network, the target state includes no connection between the target terminal and the alternative network, and the target condition includes the transmission rate of the alternative network being 0; When the quality information of the candidate network meets the target condition, adjusting the candidate network to the target state includes: When the transmission rate of the alternative network is 0, closing the connection between the target terminal and the alternative network.

10. The method according to claim 8, characterized in that The quality information of the alternative network includes a signal quality of the alternative network, the target state includes that the connection between the target terminal and the alternative network is a 5G connection, and the target condition includes that the signal quality of the alternative network is degraded; When the quality information of the candidate network meets the target condition, adjusting the candidate network to the target state includes: When the signal quality of the alternative network decreases, the connection between the target terminal and the alternative network is switched to a 5G connection.

11. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: When the target terminal is connected to the alternative network, and the connection between the target terminal and the alternative network is a 5G connection, obtaining a third network quality parameter value and a fourth network quality parameter value, the third network quality parameter value being the signal quality of the target network in a third time period, and the fourth network quality parameter value being the signal quality of the alternative network in the third time period; When the fourth network quality parameter value is better than the third network quality parameter value, the operator networks corresponding to the target network and the candidate network are swapped to obtain an updated target network and an updated candidate network.

12. A data transmission device, characterized in that: include: An acquiring unit, configured to acquire a first network quality parameter value and a second network quality parameter value, wherein the first network quality parameter value is obtained by measuring data transmission performed by a target terminal through a first operator network, and the second network quality parameter value is obtained by measuring data transmission performed by the target terminal through a second operator network; a processing unit, configured to, when the first network quality parameter value is greater than the second network quality parameter value, use the first operator network as a target network and the second operator network as an alternative network; The acquiring unit is further configured to acquire a first transmission rate, where the first transmission rate is an average transmission rate at which the target terminal transmits data through the target network and the alternative network during a first time period; The processing unit is further configured to close the connection between the target terminal and the alternative network after a first period of time when the first transmission rate is equal to a preset transmission rate, wherein the preset transmission rate is a transmission rate at which the target terminal transmits data through the target network.

13. A computer device, characterized in that: include: Memory, processor, and bus system; Wherein, the memory is used to store programs; The processor is configured to execute the program in the memory, and the processor is configured to execute the method according to any one of claims 1 to 11 according to 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.

14. A computer-readable storage medium comprising instructions, which, when executed on a computer, causes the computer to perform the method according to any one of claims 1 to 11.

15. A computer program product comprising a computer program, characterized in that The computer program is used by a processor to execute the method according to any one of claims 1 to 11.