Data transmission method and apparatus, device, and storage medium
By selecting the USIM card with the strongest signal in the cellular terminal as the primary network and disconnecting the backup network connection after stable operation, the problem of high power consumption of multi-5G module terminals is solved, and performance and battery life are improved.
Patent Information
- Application Number
- PCT/CN2025/082046
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-26
- Filing Date
- 2025-03-12
- Publication Date
- 2025-10-02
AI Technical Summary
When multiple 5G modules are integrated into a cellular terminal for redundant or aggregated transmission, high power consumption occurs, causing the terminal to heat up and shorten battery life.
By obtaining the network signal strength corresponding to each USIM card, the USIM card with the strongest signal is selected as the primary network, and the other USIM cards are used as backup networks. After the primary network has been running stably for a period of time, the backup network connection is disconnected to reduce redundant network connections and reduce power consumption.
While ensuring normal data transmission, it reduces terminal power consumption and improves terminal performance and battery life.
Smart Images

Figure CN2025082046_02102025_PF_FP_ABST
Abstract
Description
Data transmission method, device, equipment and storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 26, 2024, with application number 2024103624547 and application name “A method, device, equipment and storage medium for data transmission”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of communications, and in particular to data transmission technology. Background Art
[0003] With the continuous advancement of science and technology, more and more technologies rely on wireless networks. 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 screen freezes during live streaming, significantly impacting the user experience.
[0004] To address this issue, multiple cellular networks can be bundled and used. In the scenario of Internet live broadcast, two to three 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.
[0005] However, integrating multiple 5G modules into cellular terminals, whether using redundant transmission or aggregated transmission, 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
[0006] Embodiments of the present application provide a data transmission method, apparatus, device, and storage medium for reducing the power consumption of a terminal with multiple communication modules to improve the performance and battery life of the terminal.
[0007] In view of this, a first aspect of the present application provides a data transmission method, which is performed by a computer device, comprising:
[0008] Obtaining a first network quality parameter value and a second network quality parameter value, where the first network quality parameter value is obtained by measuring first data transmission performed by the terminal through the first network, and the second network quality parameter value is obtained by measuring second data transmission performed by the terminal through the second network;
[0009] When the first network quality parameter value is greater than the second network quality parameter value, the first network is used as the primary network and the second network is used as the backup network;
[0010] Obtaining a first transmission rate, where the first transmission rate is an average transmission rate at which the terminal transmits data through the primary network and / or the backup network during a first time period;
[0011] When the first transmission rate meets a reference condition, the connection between the terminal and the backup network is disconnected after a first period of time, where the reference condition is determined according to a transmission rate at which the terminal transmits data through the primary network.
[0012] A second aspect of the present application provides a data transmission device, including:
[0013] An acquiring unit, configured to acquire a first network quality parameter value and a second network quality parameter value, where the first network quality parameter value is obtained by measuring a first data transmission performed by the terminal through the first network, and the second network quality parameter value is obtained by measuring a second data transmission performed by the terminal through the second network;
[0014] a processing unit, configured to use the first network as a primary network and the second network as a backup network when the first network quality parameter value is greater than the second network quality parameter value;
[0015] 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 terminal transmits data through the primary network and / or the backup network during a first time period;
[0016] The processing unit is further configured to disconnect the terminal from the backup network after a first period of time when the first transmission rate meets a reference condition, where the reference condition is determined based on a transmission rate at which the terminal transmits data through the primary network.
[0017] A third aspect of the present application provides a computer device, comprising: a memory, a processor, and a bus system;
[0018] Wherein, the memory is used to store programs;
[0019] 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;
[0020] The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.
[0021] 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.
[0022] 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.
[0023] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0024] In the solution provided in the embodiment of the present application, the signal strength of the network currently accessible to the terminal is determined by obtaining a first network quality parameter value and a second network quality parameter value, wherein the first network quality parameter value is obtained by measuring a first data transmission performed by the terminal through the first network, and the second network quality parameter value is obtained by measuring a second data transmission performed by the terminal through the second network. The network with the strongest signal is selected as the primary network, and the other networks are selected as backup networks. After the primary network can provide the network bandwidth required for data transmission and can operate stably for a first period of time, the connection between the terminal and the backup network is disconnected. This ensures normal data transmission of the terminal while reducing redundant network connections, thereby reducing the power consumption of the terminal and improving the terminal's battery life. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] FIG1 is a schematic diagram of aggregate transmission of multiple network terminals in an embodiment of the present application;
[0026] FIG2 is a schematic diagram of an architecture of a communication system according to an embodiment of the present application;
[0027] FIG3 is a flow chart of a method for data transmission according to an embodiment of the present application;
[0028] FIG4 is another schematic flow chart of a method for data transmission according to an embodiment of the present application;
[0029] FIG5 is another schematic flow chart of a method for data transmission according to an embodiment of the present application;
[0030] FIG6 is another schematic flow chart of a method for data transmission according to an embodiment of the present application;
[0031] FIG7 is another schematic flow chart of a method for data transmission according to an embodiment of the present application;
[0032] FIG8 is another schematic flow chart of a method for data transmission according to an embodiment of the present application;
[0033] FIG9 is a schematic structural diagram of a device for data transmission according to an embodiment of the present application;
[0034] FIG10 is a schematic structural diagram of a terminal device in an embodiment of the present application. DETAILED DESCRIPTION
[0035] 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 data 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.
[0036] 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.
[0037] In related technologies, multiple cellular networks can be bundled together to ensure stable network performance of cellular terminals. Specifically, 2 to 3 5G modules are integrated in the cellular terminal, and USIM cards of different operators can be inserted into different 5G modules. Then, the network performance stability of the cellular terminal can be improved through redundant transmission or aggregated transmission.
[0038] In the aggregate transmission mode, different data packets of a service are allocated to different networks for transmission according to the network quality of different network links.
[0039] As can be seen from Figure 1, for the live data stream, the live broadcast APP will divide it into multiple data packets (data packet 1, data packet 2, data packet 3, data packet 4), and distribute the multiple data packets through the multi-network transmission APP. For example, the multi-network transmission APP distributes data packet 1 and data packet 3 to the first network (5G) transmission, and the multi-network transmission APP distributes data packet 2 and data packet 4 to the second network (WiFi) transmission. The multi-network transmission gateway aggregates the multiple data packets (data packet 1, data packet 2, data packet 3, data packet 4) in the cloud, restores them to the original live data stream, and then transmits them to the live broadcast server for subsequent processing.
[0040] In the aggregated transmission solution, although the capacity of the two networks can be fully utilized to provide greater network bandwidth for the business, during the data transmission process, the capacity of both networks will not be continuously occupied. Therefore, network connection redundancy will occur, which will cause the terminal to generate greater power consumption, which in turn will cause the terminal to heat up, resulting in performance degradation and shortened battery life.
[0041] In order to solve the above problem, the present application proposes the following solution: when at least two USIM cards are provided in the terminal, the signal strength of the network corresponding to each USIM card is obtained, and the USIM card with the strongest network signal is selected as the main USIM card, and the remaining USIM cards are used as backup USIM cards. After the main USIM card can provide the network bandwidth that meets the business needs and runs in a stable state for a period of time, the connection between the terminal and the network corresponding to the backup USIM card is disconnected. While ensuring the normal data transmission of the terminal, redundant network connections are reduced, thereby reducing the power consumption of the terminal and improving the performance and battery life of the terminal.
[0042] The method provided in this application is applied to a communication system as shown in FIG2 . Please refer to FIG2 , which is a schematic diagram of the architecture of a communication system in an embodiment of this 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 smartphone, tablet computer, laptop computer, PDA, personal computer, smart TV, smart watch, vehicle-mounted device, wearable device, etc., but is not limited thereto. The terminal device and the server can be directly or indirectly connected by wired or wireless communication, and this application does not limit this. The number of servers and terminal devices is also not limited. The solution provided in this application can be completed independently by the terminal device, can be completed independently by the server, or can be completed by the terminal device and the server in cooperation. This application does not make any specific limitations on this.
[0043] When the method provided in this application is performed by a terminal device, the terminal device is configured to perform the following operations:
[0044] Obtaining a first network quality parameter value and a second network quality parameter value, where the first network quality parameter value is obtained by measuring first data transmission performed by the terminal through the first network, and the second network quality parameter value is obtained by measuring second data transmission performed by the terminal through the second network;
[0045] When the first network quality parameter value is greater than the second network quality parameter value, the first network is used as the primary network and the second network is used as the backup network;
[0046] Obtaining a first transmission rate, where the first transmission rate is a transmission rate at which the terminal performs data transmission through the first network and / or the second network during a first time period;
[0047] When the first transmission rate meets a reference condition, the connection between the terminal and the backup network is disconnected after a first period of time, where the reference condition is determined according to a transmission rate at which the terminal transmits data through the primary network.
[0048] Since this application involves some professional terms, these professional terms will be introduced below.
[0049] Quick UDP Internet Connection (QUIC) uses the User Datagram Protocol (UDP) to establish a connection between two endpoints and supports multiplexing. QUIC provides network security protection equivalent to the Secure Sockets Layer (SSL) / Transport Layer Security (TLS) layer, reducing latency during data transmission and connection establishment, bidirectionally controlling bandwidth to avoid network congestion, and improving web page delivery speeds.
[0050] The UDP protocol, like the Transmission Control Protocol (TCP), is used to process data packets. In the Open Systems Interconnection (OSI) model, both reside in the transport layer, above the Internet Protocol (IP). UDP is a connectionless transport layer protocol in the OSI model. It is primarily used in 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. UDP is suitable for multiple applications running on the same device.
[0051] Multi-path QUIC (MP-QUIC) is the industry's leading multi-network infrastructure. It provides fundamental functionality such as packet encapsulation, packet loss recovery, buffer management, and multi-path management. MP-QUIC is a multi-path version of single-path QUIC. QUIC is primarily designed to address practical TCP issues, such as header blocking, inefficient congestion control, disconnection due to IP / port changes, three-way handshake overhead, and inefficient out-of-band control.
[0052] 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.
[0053] The QoS class identify (QCI) is used to measure the forwarding behavior (e.g., packet loss rate, packet delay budget) of a specific packet provided to the Standard Delay Formation (SDF) packet. It applies to both guaranteed bit rate (GBR) and non-GBR forwarding and is used to specify the control bearer-level packet forwarding method defined within the access node (e.g., scheduling weight, admission threshold, queue management threshold, and link layer protocol configuration).
[0054] 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.
[0055] 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.
[0056] In combination with the above introduction, this application will introduce a situation where two USIM cards are provided in the terminal, and the terminal accesses the first network and the second network respectively through the two USIM cards.
[0057] 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 terminal. In actual application, it should be adjusted appropriately according to the specific situation and is not limited here.
[0058] The following describes the data transmission method in this application. After the terminal is started, when the terminal accesses the first network and the second network respectively through two USIM cards, the terminal is connected to the first network via 5G, and the terminal is connected to the second network via 5G. Referring to Figure 3, an embodiment of the data transmission method in this application includes:
[0059] S110. Obtain a first network quality parameter value and a second network quality parameter value;
[0060] The first network quality parameter value is obtained by measuring first data transmission performed by the terminal through a first network, and the second network quality parameter value is obtained by measuring second data transmission performed by the terminal through a second network. The first network here may correspond to a first USIM card set in the terminal, and the second network may correspond to a second USIM card set in the terminal.
[0061] 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, the first network and the second network are activated at the same time after the terminal is turned on, and both the first network and the second network are connected with 5G.
[0062] Based on the above scenarios, network quality parameters may include synchronization reference signal received power (SS-RSRP), which is the power value of the synchronization reference signal received by the terminal, specifically the linear average value of the power at the receiving end of the cell downlink carrying secondary synchronization signal (Secondary Synchronization Signals) within the synchronization signal block (Synchronization Signal / PBCH Block, SSB) measurement configuration period.
[0063] Furthermore, when the embodiment of the present application is applied to a scenario where more than two USIM cards are provided in a terminal, a network quality parameter value corresponding to each USIM card is obtained.
[0064] It can be understood that since the USIM cards in the terminal may be of the same operator in actual use, the first network and the second network here are only used to distinguish different USIM cards and are not limited to being networks of different operators, that is, the first network and the second network can belong to the same operator or different operators.
[0065] S120. Determine whether the first network quality parameter value is greater than the second network quality parameter value;
[0066] Furthermore, when the embodiment of the present application is applied to a scenario in which more than two USIM cards (operator networks) are provided in the terminal, this step is to select the network with the largest network quality parameter value among multiple networks, and perform similar operations to the first network in step S130 on the network with the largest network quality parameter value, and perform similar operations to the second network in step S130 on the network other than the network with the largest network quality parameter value. There is no restriction here.
[0067] If yes, execute step S130;
[0068] If not, go to step S140.
[0069] S130: Use the first network as the primary network and the second network as the backup network;
[0070] When the value of the first network quality parameter is greater than the value of the second network quality parameter, the first network is used as the primary network and the second network is used as the backup network. The use priority of the primary network is higher than the use priority of the backup network. That is, when the terminal needs to transmit data, the primary network will be used for data transmission first. If the primary network cannot provide the network bandwidth required for data transmission, the backup network will be used for data transmission. In other words, the primary network is the network that is primarily responsible for executing data transmission tasks on the terminal, and the backup network is the network that is secondary responsible for executing data transmission tasks on the terminal.
[0071] Furthermore, when the embodiment of the present application is applied to a scenario in which more than two USIM cards are set in the terminal, the step is to select the network with the largest network quality parameter value among multiple networks, and use the network with the largest network quality parameter value as the main network, and use other networks except the network with the largest network quality parameter value as backup networks. There is no restriction here.
[0072] S140: Use the first network as a backup network and the second network as a primary network;
[0073] When the first network quality parameter value is less than or equal to the second network quality parameter value, the second network is used as the primary network and the first network is used as the backup network.
[0074] S150, obtaining a first transmission rate;
[0075] Among them, the first transmission rate is the average transmission rate of the terminal for data transmission through the main network and / or the backup network during the first time period. In actual applications, the terminal here transmits data through the main network and / or the backup network, which can be understood as performing data transmission when the terminal simultaneously turns on the network switch corresponding to the main network (that is, the network switch of the USIM card corresponding to the main network) and the network switch corresponding to the backup network (that is, the network switch of the USIM card corresponding to the backup network). In this case, the terminal gives priority to transmitting data through the main network. When the main network cannot meet the data transmission requirements of the business, such as when the main network cannot provide the network bandwidth required for data transmission, the backup network is used to assist in data transmission.
[0076] Specifically, the instantaneous transmission rate of data transmitted by the terminal through the primary network and / or the backup network during the first time period is measured. For example, the amount of data transmitted by the terminal in each time unit (e.g., 1ms) during the first time period is obtained. Then, the ratio of the data transmission amount to the duration corresponding to the time unit is calculated to obtain the instantaneous transmission rate corresponding to the time unit. Furthermore, a sliding filter is used to average the instantaneous transmission rates of each time unit in the first time period to obtain the average transmission rate of the terminal during the first time period.
[0077] Optionally, the average transmission rate of the terminal measured by other devices may also be directly obtained, which is not limited here.
[0078] For example, when the terminal is connected to all access networks through 5G at the same time, the first transmission rate is collected intermittently, and the specific intermittent time is not limited here.
[0079] 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.
[0080] S160. When the first transmission rate meets the reference condition, disconnect the terminal from the backup network.
[0081] The reference condition can be determined based on the transmission rate at which the terminal transmits data through the primary network. Specifically, the transmission rate at which the terminal transmits data through the primary network can be used as the reference transmission rate, and then the reference condition can be set based on the reference transmission rate. For example, the reference condition can be set to be equal to the reference transmission rate. For another example, the reference condition can be set to be within a reference rate interval, where the reference rate interval can be, for example, [reference transmission rate, reference transmission rate + first floating rate], or [reference transmission rate - second floating rate, reference transmission rate + third floating rate]. The first floating rate, second floating rate, and third floating rate can all be set according to actual application requirements, and the embodiments of the present application do not specifically limit this.
[0082] That is, when the channel capacity of the primary network can support the current data transmission, the connection between the terminal and the backup network is disconnected. Disconnecting the connection between the terminal and the backup network here can mean shutting down the connection between the terminal and the backup network, or temporarily interrupting the connection between the terminal and the backup network, such as disconnecting the connection between the terminal and the backup network for a preset period of time and then reconnecting.
[0083] Specifically, in order to eliminate the impact of jitter generated during data transmission on network switching, the terminal can be disconnected from the backup network after stably transmitting data through the primary network and / or the backup network for a first period of time.
[0084] Exemplarily, disconnecting the terminal from the standby network includes switching the standby network to a radio resource control idle (RRC-idle) state, in which the standby network stops sending data packets, such as heartbeat packets and probe packets.
[0085] Exemplarily, the first period of stable data transmission can be that the instantaneous transmission rates collected in the first period are all within the target range, or the first transmission rates collected multiple times in the first period are all less than the channel capacity of the main network. There is no limitation here.
[0086] 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.
[0087] In an embodiment of the present application, the signal strength of the network that the terminal can currently access is determined by obtaining a first network quality parameter value and a second network quality parameter value, wherein the first network quality parameter value is obtained by measuring a first data transmission performed by the terminal through a first network, and the second network quality parameter value is obtained by measuring a second data transmission performed by the terminal through a second network. The network with the strongest signal is selected as the primary network, and the other networks are selected as backup networks. After the primary network can provide the network bandwidth required for data transmission and can operate stably for a first period of time, the connection between the terminal and the backup network is disconnected. This ensures normal data transmission of the terminal while reducing redundant network connections, thereby reducing the power consumption of the terminal and improving the terminal's battery life.
[0088] S170: When the first transmission rate does not meet the reference condition, enable the terminal to transmit data through the backup network at the differential transmission rate and transmit data through the primary network at the reference transmission rate.
[0089] The differential transmission rate is the difference between the first transmission rate and the reference transmission rate. The reference transmission rate is the transmission rate at which the terminal transmits data via the primary network. If the reference condition is set equal to the reference transmission rate, the first transmission rate may not meet the reference condition because the first transmission rate is greater than the reference transmission rate. If the reference condition is set within a reference rate range, the first transmission rate may not meet the reference condition because the first transmission rate exceeds the reference rate range.
[0090] That is, when the channel capacity of the primary network is insufficient to support current network transmission, the multi-link scheduling solution is as follows:
[0091] Data is transmitted preferentially from the primary network, and the target congestion algorithm is used to control congestion of data transmission from terminals through the primary network. The target congestion algorithm is used to optimize the primary network so that the reference transmission rate is as close as possible to the maximum transmission rate that the primary network can provide.
[0092] Part of the data that cannot be carried by the primary network is transmitted through the backup network, and the transmission rate of the backup network is the difference between the first transmission rate and the reference transmission rate (difference transmission rate).
[0093] Furthermore, when the embodiment of the present application is applied to a scenario where more than two USIM cards are provided in a terminal, the multiple backup networks may jointly output the differential transmission rate.
[0094] In some possible scenarios, the difference transmission rate can be evenly distributed to multiple backup networks.
[0095] In some better options, multiple backup networks can be sorted by transmission priority according to the network quality parameter value of the backup network, and the backup network with the highest priority among the backup networks is used for data transmission first. There is no restriction here.
[0096] In an embodiment of the present application, when the primary network cannot fully carry all data transmissions of the terminal, data transmission between the terminal and the backup network is retained to ensure that the data transmission of the terminal can proceed normally, thereby improving the reliability of the data transmission of the terminal.
[0097] The above Figure 3 illustrates the data transmission method provided by this application when the terminal is in the startup state. The following describes the data transmission method provided by the embodiment of this application in conjunction with Figure 4, where the terminal is provided with at least two USIM cards, and the connection between the terminal and the primary network is a 5G connection, and the connection between the terminal and the backup network is a 5G connection.
[0098] S210, obtaining a second transmission rate;
[0099] Among them, the second transmission rate is the data transmission rate of the backup network in the second time period, the second transmission rate is the data transmission rate when the terminal and the backup network are connected through 5G, and the second time period is after the first time period.
[0100] Specifically, since in the solution provided in this application, the base station accessed by the terminal is the same during the switching of 4G and 5G links, the SS-RSRP value of the backup network and the SS-SINR value of the backup network can be collected to estimate the transmission rate of the backup network when the connection between the terminal and the backup network is a 5G connection.
[0101] In a possible implementation, the connection between the terminal and the backup 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 terminal and the backup network is in a 4G state, the second transmission rate can be directly measured and obtained.
[0102] 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.
[0103] S220: When the second transmission rate is greater than the product of the difference transmission rate and the first parameter, switch the connection between the terminal and the backup network to a 4G connection;
[0104] Among them, the first parameter is greater than 1, and 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.
[0105] Specifically, since the first parameter is 1.5, when the second transmission rate is greater than the product of the difference transmission rate and the first parameter, the rate at which the terminal transmits data to the terminal of the backup network is much lower than the transmission rate that the 4G connection of the backup network can carry. 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 terminal and the backup network to a 4G connection.
[0106] S230. When the first channel capacity is less than or equal to the product of the differential transmission rate and the first parameter, maintain the connection between the terminal and the backup network as a 5G connection.
[0107] In the embodiment of the present application, taking into full consideration that the power consumption of the terminal when connected to the network via 5G is greater than the power consumption of the terminal when connected to the network via 4G, the connection between the terminal and the backup network is switched from 5G to 4G in a timely manner, thereby reducing the power consumption of the terminal during use and improving the battery life of the terminal in the solution.
[0108] The above Figure 5 illustrates the situation in which, in the data transmission method provided in an embodiment of the present application, the terminal is provided with at least two USIM cards, and the connection between the terminal and the target network is a 5G connection, and the connection between the terminal and the backup network is a 5G connection. The present application also proposes another method for managing the backup network, which is described below in conjunction with Figure 5.
[0109] S310, obtaining a first channel capacity;
[0110] Among them, the first channel capacity is the 5G channel capacity of the backup network in the third time period, the terminal and the main network are 5G connected in the third time period, and the terminal and the backup network are 5G connected in the third time period, and the third time period is after the first time period.
[0111] Specifically, the SS-RSRP value and the SS-SINR value of the backup network can be collected to estimate the channel capacity of the backup network when the connection between the terminal and the backup network is a 5G connection.
[0112] S320, obtaining a third transmission rate;
[0113] The third transmission rate is an average transmission rate at which the terminal transmits data through the backup network during the third time period.
[0114] 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 terminal and the backup network to a 4G connection;
[0115] Among them, the second parameter is 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.
[0116] Specifically, since the second parameter is 0.1, when the product of the first channel capacity and the second parameter is greater than the third transmission rate, the rate at which the terminal transmits data to the terminal of the backup network is much lower than the transmission data that the 5G connection of the backup network can carry. 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 terminal and the backup network can be switched to a 5G connection in a timely manner, and there is no restriction here.
[0117] 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 terminal and the backup network as a 5G connection.
[0118] In an embodiment of the present application, another approach to the network management method between the terminal and the backup network is provided when the terminal is simultaneously connected to the primary network and the backup network via 5G, thereby improving the flexibility of the solution.
[0119] 6 , the method for data transmission provided in an embodiment of the present application is described below in which the terminal is provided with at least two USIM cards and the terminal is connected only to the primary network.
[0120] S410, obtaining quality information of the primary network;
[0121] The quality information of the primary network may include the signal quality of the primary network and / or the transmission rate of the primary network, etc., which are not limited here.
[0122] Specifically, the signal quality of the primary network may include the SS-RSRP of the primary network and / or the SS-SINR of the primary network, which is not limited here.
[0123] It is understandable that the description of the quality information of the primary network here is only an example. In actual applications, it should be set in combination with actual conditions and is not limited here.
[0124] S420. When the quality information of the primary network meets a preset condition, activate the connection between the terminal and the backup network;
[0125] In the solution provided in this application, the connection between the activation terminal and the backup network has different situations, which are analyzed separately below:
[0126] A. The quality information of the primary network includes the signal quality of the primary network, and the preset condition includes a degradation of the signal quality of the primary network;
[0127] Exemplarily, the signal quality of the primary network may be the SS-RSRP value of the primary network.
[0128] When the SS-RSRP value of the primary network decreases, it indicates that the carrying capacity of the primary network decreases. The channel capacity of the primary network is estimated based on the SS-RSRP value or the SS-SINR value of the primary network.
[0129] If the channel capacity of the primary network is less than the product of the data transmission volume of the terminal and the third parameter, the connection between the terminal and the backup network is activated, so that the connection between the terminal and the backup network is a 4G connection.
[0130] The third parameter may be greater than 1, such as 1.5 or 2, and is not limited here.
[0131] Furthermore, in order to eliminate misjudgments caused by network jitter, the connection between the terminal and the backup network can be activated after the available channel capacity of the main network is less than the product of the terminal's data transmission volume and the third parameter for a second period of time. There is no restriction here.
[0132] In an embodiment of the present application, when the carrying capacity of the primary network cannot meet the data transmission needs of the terminal, the 4G connection of the backup network is activated first, and then the connection between the terminal and the backup network is further switched from the 4G connection, thereby avoiding the redundancy of data transmission capacity caused by directly activating the 5G connection between the terminal and the backup network, and improving the flexibility of the solution.
[0133] B. The quality information of the primary network includes the transmission rate of the primary network and the signal quality of the primary network. The preset conditions include that the signal quality of the primary network does not change and the transmission rate of the primary network decreases.
[0134] Exemplarily, the signal quality of the primary network may be the SS-RSRP value of the primary network.
[0135] Specifically, when the SS-RSRP value of the primary network does not change and the transmission rate of the primary 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 terminal, the connection between the terminal and the backup network can be activated, and the connection between the terminal and the backup network is a 5G connection.
[0136] The SS-RSRP value of the primary network does not change, and the scenario where the transmission rate of the primary network decreases may be a concert or a subway.
[0137] In the embodiments of this application, a specific description is provided for the situation where the primary network cannot carry the terminal's data transmission. Based on the fact 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. This directly activates the connection between the terminal and the backup network and switches to the 5G connection. This improves the flexibility of the solution while also enhancing its practicality and the terminal's network stability.
[0138] S430: When the quality information of the primary network does not meet a preset condition, the connection between the terminal and the backup network is kept disconnected.
[0139] Specifically, when the SS-RSRP value of the primary network does not decrease and the transmission rate of the primary network does not decrease, it is considered that the quality information of the primary network does not meet the preset condition, and the connection between the terminal and the backup network remains disconnected.
[0140] In an embodiment of the present application, when a terminal is connected only to the primary network via a 5G network, it is proposed that whether to activate the connection between the terminal and the backup network can be determined based on whether the quality information of the primary network meets preset conditions. This allows the connection between the terminal and the backup network to be flexibly switched based on the network connection status, improving the flexibility of the solution, ensuring that the terminal in the solution can switch network status in real time according to demand, and also improving the reliability of data transmission of the terminal in the solution.
[0141] Below, with reference to FIG7 , the method for data transmission provided in an embodiment of the present application is described in which the terminal is provided with at least two USIM cards, the connection between the terminal and the primary network is a 5G connection, and the connection between the terminal and the backup network is a 4G connection.
[0142] S510, obtaining quality information of the backup network;
[0143] The quality information of the backup network includes quality information of the backup network, or a transmission rate of the backup network.
[0144] Specifically, the signal quality of the standby network includes a reference signal receiving power (RSRP) and a signal to interference plus noise ratio (SINR) of the standby network.
[0145] It is understandable that the description of the quality information of the backup network here is only an example. In actual applications, it should be set in combination with actual conditions and is not limited here.
[0146] S520: When the quality information of the backup network meets the target condition, adjust the backup network to the target state;
[0147] In the solution provided in this application, different target conditions need to be met by the quality information of the backup network, and different target states are correspondingly provided. The following is an analysis of each of them:
[0148] Case 1: The quality information of the backup network includes the transmission rate of the backup network, the target condition includes the transmission rate of the backup network being 0, and the target state includes no connection between the terminal and the backup network;
[0149] Since the transmission rate of the backup 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 terminal is preferentially transmitted through the main network. Therefore, when the transmission rate of the backup network is 0, the main network can carry all data transmissions of the terminal and cut off the connection between the terminal and the backup network (switch the connection between the terminal and the backup network to the RRC-idle state).
[0150] Specifically, in order to avoid fluctuations caused by unstable network jitter, when the transmission rate of the backup network is 0 and maintains the first period of time, it is considered that the quality information of the backup network meets the target conditions, and the connection between the terminal and the backup network is cut off (the connection between the terminal and the backup network is switched to the RRC-idle state).
[0151] 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 terminal, quality information of multiple backup networks can be collected. When the transmission rate of any backup network is 0, the connection between the terminal and the backup network is cut off. There is no restriction here.
[0152] In an embodiment of the present application, since in the solution provided in the present application, the data transmission of the terminal is preferentially transmitted through the primary network, when the transmission rate of the backup network is 0, the primary network can carry all the data transmission of the terminal. In this case, cutting off the data transmission between the terminal and the backup network can greatly save the energy consumption of the terminal, while ensuring the data transmission efficiency of the terminal, and improving the terminal's battery life.
[0153] Case 2: When the quality information of the backup network includes the RSRP and SINR of the backup network, the target condition includes that the transmission rate of the backup network is 0, and the target state includes that there is no connection between the terminal and the backup network;
[0154] In a specific implementation process, when the collected quality information of the backup network is the RSRP and SINR of the backup network.
[0155] A mapping curve between the RSRP of the backup network and the uplink rate of the backup network, and a mapping curve between the SINR of the backup network and the downlink rate of the backup network can be fitted based on the collected RSRP value of the backup network and the measured value of the SINR of the backup network.
[0156] Then, the table is looked up to obtain the transmission rate of the backup network, which is not restricted here.
[0157] Based on the solution provided in this application, the data transmission of the terminal is preferentially transmitted through the primary network. Therefore, when the transmission rate of the backup network is 0, the primary network can carry all the data transmission of the terminal and cut off the connection between the terminal and the backup network (switch the connection between the terminal and the backup network to the RRC-idle state).
[0158] Specifically, in order to avoid fluctuations caused by unstable network jitter, when the transmission rate of the backup network is 0 and maintains the first period of time, it is considered that the quality information of the backup network meets the target conditions, and the connection between the terminal and the backup network is cut off (the connection between the terminal and the backup network is switched to the RRC-idle state).
[0159] 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 terminal, quality information of multiple backup networks can be collected. When the transmission rate of any backup network is 0, the connection between the terminal and the backup network is cut off. There is no restriction here.
[0160] Case 3: When the quality information of the backup network is the signal quality of the backup network, the target condition includes that the signal quality of the backup network is degraded, and the target state includes that the connection between the terminal and the backup network is a 5G connection.
[0161] Among them, the signal quality of the backup network is specifically the received signal strength indication (RSSI) of the backup network's carrier. When the RSSI of the backup network decreases, it means that the data transmission capacity of the terminal carried by the backup network has decreased. The stability of the terminal's data transmission can be improved by switching the connection between the terminal and the backup network from a 4G connection to a 5G connection.
[0162] 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 terminal, quality information of multiple backup networks can be collected. When the RSSI of any of the backup networks drops, the connection between the terminal and the backup network is switched from a 4G connection to a 5G connection. There is no restriction here.
[0163] In an embodiment of the present application, when the signal quality of the backup network decreases, in order to maintain the data transmission stability of the terminal, the data transmission between the terminal and the backup network is switched from a 4G connection to a 5G connection, thereby improving the stability of the data transmission of the terminal.
[0164] S530: When the quality information of the backup network does not meet the target condition, maintain the connection between the backup network and the terminal as a 4G connection.
[0165] When the quality information of the backup network does not fluctuate significantly, it can be considered that the quality information of the backup network does not meet the target condition.
[0166] In an embodiment of the present application, a management solution between the terminal and the backup network is provided when the connection between the terminal and the primary network is a 5G connection and the connection between the terminal and the backup network is a 4G connection, which improves the flexibility of the solution while ensuring the data transmission stability of the terminal.
[0167] Below, in conjunction with Figure 8, in the data transmission method provided in an embodiment of the present application, the terminal is provided with at least two USIM cards, and the connection between the terminal and the primary network is a 5G connection, and the connection between the terminal and the backup network is a 5G connection, the switching between the primary network and the backup network is explained.
[0168] S610: Obtain a third network quality parameter value and a fourth network quality parameter value;
[0169] Among them, the third network quality parameter value is obtained by measuring the third data transmission performed by the terminal through the main network in the fourth time period, and the fourth network quality parameter is obtained by measuring the fourth data transmission performed by the terminal through the backup network in the fourth time period. The specific acquisition method of the third network quality parameter value and the fourth network quality parameter is similar to the first network quality parameter value and the second network quality parameter, and will not be repeated here.
[0170] Specifically, the network quality parameter value includes an SS-RSRP value, which is not limited here.
[0171] 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.
[0172] S620: Determine whether the fourth network quality parameter value is greater than the third network quality parameter value;
[0173] 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.
[0174] The fourth parameter may be a hysteresis value of network fluctuation, for example, 3dB or 5dB, which is not limited here.
[0175] 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 terminal, this step is to select the network with the largest network quality parameter value among multiple networks, and perform similar operations as the main network in step S630 on the network with the largest network quality parameter value, and perform similar operations as the backup network in step S630 on other networks except the network with the largest network quality parameter value. There is no restriction here.
[0176] If yes, go to step S630;
[0177] If not, execute step S640.
[0178] S630: Swap the network serving as the primary network with the network serving as the backup network to obtain an updated primary network and an updated backup network;
[0179] Exemplarily, the primary network corresponds to USIM card 1 , USIM card 1 corresponds to operator network 1 , the backup network corresponds to USIM card 2 , and USIM card 2 corresponds to operator network 2 .
[0180] 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 primary network and USIM card 1 is used as the updated backup network. There is no restriction here.
[0181] S640: Maintain the current primary network and backup network.
[0182] When the fourth network quality parameter value is less than or equal to the third network quality parameter value, the current primary network and backup network are maintained.
[0183] In an embodiment of the present application, when the primary network and the backup network are both in 5G state, it is provided to determine whether it is necessary to switch the primary network and the backup network according to the current network situation, so as to maximize the utilization of network resources, improve data transmission efficiency, and enable the terminal to transmit data through as few network connections as possible, thereby improving the power consumption of the terminal.
[0184] The following describes the data transmission device provided by the present application. Please refer to FIG9 , which is a schematic diagram of an embodiment of the data transmission device in the present application. The data transmission device 20 includes:
[0185] An acquiring unit 210 is configured to acquire a first network quality parameter value and a second network quality parameter value, where the first network quality parameter value is obtained by measuring a first data transmission performed by the terminal through the first network, and the second network quality parameter value is obtained by measuring a second data transmission performed by the terminal through the second network;
[0186] The processing unit 220 is configured to use the first network as a primary network and the second network as a backup network when the first network quality parameter value is greater than the second network quality parameter value;
[0187] The acquiring unit 210 is further configured to acquire a first transmission rate, where the first transmission rate is an average transmission rate at which the terminal transmits data through the primary network and / or the backup network during a first period of time;
[0188] The processing unit 220 is further configured to disconnect the terminal from the backup network after a first period of time when the first transmission rate meets a reference condition, where the reference condition is determined based on a transmission rate at which the terminal transmits data through the primary network.
[0189] In an embodiment of the present application, the signal strength of the network that the terminal can currently access is determined by obtaining a first network quality parameter value and a second network quality parameter value, wherein the first network quality parameter value is obtained by measuring a first data transmission performed by the terminal through a first network, and the second network quality parameter value is obtained by measuring a second data transmission performed by the terminal through a second network. The network with the strongest signal is selected as the primary network, and the other networks are selected as backup networks. After the primary network can provide the network bandwidth required for data transmission and can operate stably for a first period of time, the connection between the terminal and the backup network is disconnected. This ensures normal data transmission of the terminal while reducing redundant network connections, thereby reducing power consumption of the terminal and improving the terminal's battery life.
[0190] Optionally, the processing unit 220 is also used to enable the terminal to transmit data through the backup network at a differential transmission rate when the first transmission rate does not meet the reference condition. The differential transmission rate is the difference between the first transmission rate and the reference transmission rate, and the reference transmission rate is the transmission rate at which the terminal transmits data through the main network.
[0191] In an embodiment of the present application, when the primary network cannot fully carry all data transmissions of the terminal, data transmission between the terminal and the backup network is retained to ensure that the data transmission of the terminal can proceed normally, thereby improving the reliability of the data transmission of the terminal.
[0192] Optionally, the connection between the terminal and the backup network is a 5G connection;
[0193] The acquiring unit 210 is further configured to acquire a second transmission rate, where the second transmission rate is a transmission rate of the standby network in the second time period;
[0194] The processing unit 220 is further configured to switch the connection between the terminal and the backup network to a 4G connection when the second transmission rate is greater than the product of the difference transmission rate and the first parameter, and the first parameter is greater than 1.
[0195] In the embodiment of the present application, full consideration is given to the fact that the power consumption of the terminal when connected to the network via 5G is greater than the power consumption of the terminal when connected to the network via 4G. The connection between the terminal and the network is switched from 5G to 4G in a timely manner, thereby reducing the power consumption of the terminal during use and improving the battery life of the terminal in the solution.
[0196] Optionally, the acquiring unit 210 is further configured to, when the terminal is connected to the backup network and the connection between the terminal and the backup network is a 5G connection, acquire a first channel capacity, where the first channel capacity is the 5G channel capacity of the backup network in the third time period;
[0197] The acquiring unit 210 is further configured to acquire a third transmission rate, where the third transmission rate is an average transmission rate of data transmitted by the terminal through the backup network during a third time period;
[0198] The processing unit 220 is further configured to switch the connection between the terminal and the backup network to a 4G connection when the product of the first channel capacity and the second parameter is greater than the third transmission rate, and the second parameter is greater than 0 and less than 1.
[0199] In an embodiment of the present application, another approach to the network management method between the terminal and the backup network is provided when the terminal is simultaneously connected to the primary network and the backup network via 5G, thereby improving the flexibility of the solution.
[0200] Optionally, when the connection between the terminal and the backup network is disconnected, the acquiring unit 210 is further configured to acquire quality information of the primary network;
[0201] The processing unit 220 is further configured to activate the connection between the terminal and the backup network when the quality information of the primary network meets a preset condition.
[0202] In an embodiment of the present application, when a terminal is connected only to the primary network via a 5G network, it is proposed that whether to activate the connection between the terminal and the backup network can be determined based on whether the quality information of the primary network meets preset conditions. This allows the connection between the terminal and the backup network to be flexibly switched based on the network connection status, improving the flexibility of the solution, ensuring that the terminal in the solution can switch network status in real time according to demand, and also improving the reliability of data transmission of the terminal in the solution.
[0203] Optionally, the quality information of the primary network includes signal quality of the primary network, and the preset condition includes degradation of signal quality of the primary network;
[0204] The processing unit 220 is specifically configured to activate the connection between the terminal and the backup network when the signal quality of the primary network degrades, where the connection between the terminal and the backup network is a 4G connection.
[0205] In an embodiment of the present application, when the carrying capacity of the primary network cannot meet the data transmission needs of the terminal, the 4G connection of the backup network is activated first, and then the connection between the terminal and the backup 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 terminal and the backup network, and improving the flexibility of the solution.
[0206] Optionally, the quality information of the primary network includes a transmission rate of the primary network and a signal quality of the primary network, and the preset condition includes that the signal quality of the primary network does not change and the transmission rate of the primary network decreases;
[0207] The processing unit 220 is specifically used to activate the connection between the terminal and the backup network when the signal quality of the primary network does not change and the transmission rate of the primary network decreases. The connection between the terminal and the backup network is a 5G connection.
[0208] In the embodiments of this application, a specific description is provided for the situation where the primary network cannot carry the terminal's data transmission. Based on the fact 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. This directly activates the connection between the terminal and the backup network and switches to the 5G connection. This improves the flexibility of the solution while also enhancing its practicality and the terminal's network stability.
[0209] Optionally, the acquiring unit 210 is further configured to acquire quality information of the backup network when the terminal is connected to the backup network and the connection between the terminal and the backup network is a 4G connection;
[0210] The processing unit 220 is further configured to adjust the standby network to a target state when the quality information of the standby network meets the target condition.
[0211] In an embodiment of the present application, a management solution between the terminal and the backup network is provided when the connection between the terminal and the primary network is a 5G connection and the connection between the terminal and the backup network is a 4G connection, which improves the flexibility of the solution while ensuring the data transmission stability of the terminal.
[0212] Optionally, the quality information of the backup network includes a transmission rate of the backup network, the target state includes no connection between the terminal and the backup network, and the target condition includes that the transmission rate of the backup network is 0;
[0213] The processing unit 220 is specifically configured to disconnect the terminal from the backup network when the transmission rate of the backup network is 0.
[0214] In an embodiment of the present application, since in the solution provided in the present application, the data transmission of the terminal is preferentially transmitted through the primary network, when the transmission rate of the backup network is 0, the primary network can carry all the data transmission of the terminal. In this case, cutting off the data transmission between the terminal and the backup network can greatly save the energy consumption of the terminal, while ensuring the data transmission efficiency of the terminal, and improving the terminal's battery life.
[0215] Optionally, the quality information of the backup network includes signal quality of the backup network, the target state includes that the connection between the terminal and the backup network is a 5G connection, and the target condition includes that the signal quality of the backup network is degraded;
[0216] The processing unit 220 is specifically configured to switch the connection between the terminal and the backup network to a 5G connection when the signal quality of the backup network deteriorates.
[0217] In an embodiment of the present application, when the signal quality of the backup network decreases, in order to maintain the data transmission stability of the terminal, the data transmission between the terminal and the backup network is switched from a 4G connection to a 5G connection, thereby improving the stability of the data transmission of the terminal.
[0218] Optionally, the acquiring unit 210 is further configured to, when the terminal is connected to the backup network and the connection between the terminal and the backup 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 obtained by measuring a third data transmission performed by the terminal through the primary network during a fourth time period, and the fourth network quality parameter value is obtained by measuring a fourth data transmission performed by the terminal through the backup network during the fourth time period;
[0219] 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 network serving as the primary network with the network serving as the backup network to obtain an updated primary network and an updated backup network.
[0220] In an embodiment of the present application, when the primary network and the backup network are both in 5G state, it is provided to determine whether it is necessary to switch the primary network and the backup network according to the current network situation, so as to maximize the utilization of network resources, improve data transmission efficiency, and enable the terminal to transmit data through as few network connections as possible, thereby improving the power consumption of the terminal.
[0221] The data transmission device provided in this application can be used in a terminal device. Please refer to Figure 10. For the sake of convenience, only the parts related to the embodiment of this application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of this application. In the embodiment of this application, the terminal device is a smartphone as an example for explanation:
[0222] FIG10 is a block diagram showing a partial structure of a smartphone related to a terminal device provided in an embodiment of the present application. Referring to FIG10 , 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. It will be understood by those skilled in the art that the smartphone structure shown in FIG10 does not constitute a limitation on the smartphone, and may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0223] The following is a detailed introduction to the various components of a smartphone with reference to FIG10 :
[0224] 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.
[0225] 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.
[0226] 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.
[0227] 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, the touch panel 431 and the display panel 441 are used as two independent components to implement the input and output functions of the smartphone, in some embodiments, the touch panel 431 and the display panel 441 can be integrated to implement the input and output functions of the smartphone.
[0228] 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.
[0229] 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.
[0230] WiFi is a short-range wireless transmission technology. Smartphones use WiFi module 470 to help users send and receive emails, browse the web, and access streaming media, providing wireless broadband internet access. Although FIG10 illustrates WiFi module 470, it is understood that it is not a required component of a smartphone and can be omitted as needed without changing the essence of the invention.
[0231] 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.
[0232] 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.
[0233] Although not shown, the smartphone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0234] The steps executed by the terminal device in the above embodiment may be based on the terminal device structure shown in FIG10 .
[0235] 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.
[0236] 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.
[0237] 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.
[0238] 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.
[0239] 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.
[0240] 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.
[0241] 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.
[0242] 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, performed by a computer device, comprising: Obtaining a first network quality parameter value and a second network quality parameter value, where the first network quality parameter value is obtained by measuring first data transmission performed by the terminal through the first network, and the second network quality parameter value is obtained by measuring second data transmission performed by the terminal through the second network; When the first network quality parameter value is greater than the second network quality parameter value, the first network is used as a primary network and the second network is used as a backup network; Acquire a first transmission rate, where the first transmission rate is an average transmission rate at which the terminal transmits data through the primary network and / or the backup network during a first time period; When the first transmission rate meets a reference condition, the connection between the terminal and the backup network is disconnected after a first period of time, and the reference condition is determined according to the transmission rate of data transmission by the terminal through the primary network.
2. The method according to claim 1, further comprising: When the first transmission rate does not meet the reference condition, the terminal transmits data through the backup network at a differential transmission rate, where the differential transmission rate is the difference between the first transmission rate and the reference transmission rate, and the reference transmission rate is the transmission rate at which the terminal transmits data through the primary network.
3. The method according to claim 2, wherein the connection between the terminal and the backup network is a 5G connection, and the method further comprises: Acquire a second transmission rate, where the second transmission rate is a transmission rate of the backup network in a second time period; When the second transmission rate is greater than the product of the difference transmission rate and a first parameter, the connection between the terminal and the backup network is switched to a 4G connection, and the first parameter is greater than 1.
4. The method according to claim 2 or 3, further comprising: When the terminal is connected to the backup network, and the connection between the terminal and the backup network is a 5G connection, obtaining a first channel capacity, where the first channel capacity is the 5G channel capacity of the backup network in a third time period; Acquire a third transmission rate, where the third transmission rate is an average transmission rate at which the terminal transmits data through the backup network during the 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 terminal and the backup network is switched to a 4G connection, and the second parameter is greater than 0 and less than 1.
5. The method according to any one of claims 1 to 4, wherein when the connection between the terminal and the backup network is disconnected, the method further comprises: Acquiring quality information of the primary network; When the quality information of the primary network meets a preset condition, the connection between the terminal and the backup network is activated.
6. The method according to claim 5, wherein the quality information of the primary network comprises the signal quality of the primary network, and the preset condition comprises a decrease in the signal quality of the primary network; When the quality information of the primary network meets a preset condition, activating the connection between the terminal and the backup network includes: When the signal quality of the primary network decreases, the connection between the terminal and the backup network is activated, and the connection between the terminal and the backup network is a 4G connection.
7. The method according to claim 5, wherein the quality information of the primary network includes a transmission rate of the primary network and a signal quality of the primary network, and the preset condition includes that the signal quality of the primary network does not change and the transmission rate of the primary network decreases; When the quality information of the primary network meets a preset condition, activating the connection between the terminal and the backup network includes: When the signal quality of the primary network does not change and the transmission rate of the primary network decreases, the connection between the terminal and the backup network is activated, and the connection between the terminal and the backup network is a 5G connection.
8. The method according to any one of claims 1 to 7, further comprising: When the terminal is connected to the backup network, and the connection between the terminal and the backup network is a 4G connection, obtaining quality information of the backup network; When the quality information of the backup network meets the target condition, the backup network is adjusted to a target state.
9. The method according to claim 8, wherein the quality information of the backup network includes a transmission rate of the backup network, the target state includes no connection between the terminal and the backup network, and the target condition includes the transmission rate of the backup network being 0; When the quality information of the backup network meets the target condition, adjusting the backup network to the target state includes: When the transmission rate of the backup network is 0, the connection between the terminal and the backup network is disconnected.
10. The method according to claim 8 or 9, wherein the quality information of the backup network includes the signal quality of the backup network, the target state includes the connection between the terminal and the backup network being a 5G connection, and the target condition includes the signal quality of the backup network being degraded; When the quality information of the backup network meets the target condition, adjusting the backup network to the target state includes: When the signal quality of the backup network deteriorates, the connection between the terminal and the backup network is switched to a 5G connection.
11. The method according to any one of claims 1 to 10, further comprising: When the terminal is connected to the backup network, and the connection between the terminal and the backup network is a 5G connection, obtaining a third network quality parameter value and a fourth network quality parameter value, where the third network quality parameter value is obtained by measuring a third data transmission performed by the terminal through the primary network during a fourth time period, and the fourth network quality parameter value is obtained by measuring a fourth data transmission performed by the terminal through the backup network during the fourth time period; When the fourth network quality parameter value is better than the third network quality parameter value, the network serving as the primary network and the network serving as the backup network are swapped to obtain an updated primary network and an updated backup network.
12. A data transmission device, comprising: an acquiring unit, configured to acquire a first network quality parameter value and a second network quality parameter value, where the first network quality parameter value is obtained by measuring a first data transmission performed by a terminal through a first network, and the second network quality parameter value is obtained by measuring a second data transmission performed by the terminal through a second network; 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 network as a primary network and the second network as a backup 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 terminal transmits data through the primary network and / or the backup network during a first time period; The processing unit is further configured to disconnect the terminal from the backup network after a first period of time when the first transmission rate meets a reference condition, wherein the reference condition is determined based on the transmission rate at which the terminal transmits data through the primary network.
13. A computer device comprising: 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, wherein the method according to any one of claims 1 to 11 is executed by a processor.
Citation Information
Patent Citations
Network accessing method and terminal equipment
CN109661016A
Method, terminal and base station for reducing coexistence interference of multiple networks
CN109743737A
File transmission method and device, storage medium and electronic equipment
CN111278051A
Network control method and device and storage medium
CN112004253A
WiFi network switching method and device, terminal and storage medium
CN112351461A