Data link management method and device and electronic equipment

By monitoring the target application on the terminal device and switching to the second SIM card network for redundant data transmission, the problem of lag in the application under the dual-card dual-pass function is solved, and the operation efficiency and user experience of the application are improved.

CN119497255APending Publication Date: 2025-02-21BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311023383.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-14
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

When supporting dual-slot and dual-pass functions on terminal devices, there are problems such as lag, which reduces the operation efficiency and user experience of the application, especially when applications that require large traffic, such as gaming applications.

Method used

When the terminal device has dual data link provision capability, listen to the target application in the foreground to determine whether the currently used network is the first SIM card network. If so, obtain the second SIM card network and establish the data link. Redundant data transmission processing is performed through two data links.

Benefits of technology

Through redundant data transmission processing, the data transmission delay is reduced, the phenomenon of lag is avoided, and the operation efficiency and user experience of the target application are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119497255A_ABST
    Figure CN119497255A_ABST
Patent Text Reader

Abstract

The invention relates to a data link management method and device and electronic equipment, and the method comprises the steps: monitoring a target application located at a foreground on terminal equipment under the condition that the terminal equipment has dual data link providing capability; the target application is in a dual data link enabling state; determining whether a first network currently used in the terminal equipment is a first SIM card network; under the condition that the first network is the first SIM card network, acquiring a second SIM card network in the terminal equipment; according to the embodiment of the invention, the data link of the second SIM card network is established, and redundant data transmission processing is performed on the target application through the two data links, so that a data receiver can process the data received on the two data links firstly, the data transmission delay is reduced, the jamming phenomenon is avoided, and the operation efficiency and the use experience of the target application are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a data link management method, device and electronic device. Background Art

[0002] At present, some terminal devices support dual-card dual-pass function, that is, two SIM cards can be set on the terminal device to support dual connection on the two SIM cards. For example, support data connection of the first SIM card and data connection of the second SIM card; support voice call of the first SIM card and receiving / rejecting calls or call waiting of the second SIM card; support data connection of the first SIM card and voice call of the second SIM card.

[0003] In the above solution, dual connections are used for data of different applications. When one of the SIM cards runs an application that requires large traffic, such as a game application, it is easy to experience lag and the like, which reduces the operating efficiency and user experience of the application. Summary of the invention

[0004] The present disclosure provides a data link management method, device and electronic device.

[0005] According to a first aspect of an embodiment of the present disclosure, a data link management method is provided, the method comprising: when a terminal device has a dual data link providing capability, monitoring a target application in the foreground on the terminal device; the target application is in a dual data link enabled state; determining whether a first network currently used in the terminal device is a first SIM card network; when the first network is the first SIM card network, acquiring a second SIM card network in the terminal device; establishing a data link of the second SIM card network, and performing redundant data transmission processing on the target application through two data links.

[0006] In one embodiment of the present disclosure, before determining whether the first network currently used in the terminal device is the first SIM card network, the method also includes: determining whether the target application has a stuck phenomenon; if the target application has a stuck phenomenon, evaluating the data link of the first network to determine whether the first network has a weak field phenomenon; if the first network does not have a weak field phenomenon, performing data transmission processing on the target application based on the data link of the first network.

[0007] In one embodiment of the present disclosure, the data link of the first network is evaluated and processed to determine whether the first network has a weak field phenomenon, including: obtaining signal measurement parameters of the data link of the first network within a specified time window, and / or, data transmission parameters of the target application within a specified time window; based on the signal measurement parameters and / or the data transmission parameters, the data link of the first network is evaluated and processed to determine whether the first network has a weak field phenomenon.

[0008] In one embodiment of the present disclosure, the signal measurement parameters include at least one of the following: reference signal reception power, reference signal reception quality and signal-to-noise ratio SNR; the data transmission parameters include at least one of the following: uplink and downlink rates, data packet throughput and connection service quality.

[0009] In one embodiment of the present disclosure, the method further includes: when the first network is a WIFI network, obtaining a target SIM card network in the terminal device; the target SIM card network is the first SIM card network or the second SIM card network; establishing a data link of the target SIM card network, and performing redundant data transmission processing on the target application through two data links.

[0010] In one embodiment of the present disclosure, before establishing the data link of the second SIM card network, the method further includes: acquiring current environmental parameters of the terminal device and environmental parameter requirements of the dual data link; determining whether the current environmental parameters meet the environmental parameter requirements; and stopping establishing the data link of the second SIM card network if the current environmental parameters do not meet the environmental parameter requirements.

[0011] In one embodiment of the present disclosure, the current environmental parameter includes at least one of the following: the power level of the terminal device, the ambient temperature of the terminal device, and whether the terminal device is in a dual-SIM dual-channel DSDA mode.

[0012] According to a second aspect of an embodiment of the present disclosure, a data link management device is also provided, the device comprising: a monitoring module, used to monitor a target application in the foreground on the terminal device when the terminal device has a dual data link providing capability; the target application is in a dual data link enabled state; a first determination module, used to determine whether the first network currently used in the terminal device is a first SIM card network; a first acquisition module, used to acquire a second SIM card network in the terminal device when the first network is the first SIM card network; a first establishment module, used to establish a data link of the second SIM card network, and perform redundant data transmission processing on the target application through two data links.

[0013] According to a third aspect of an embodiment of the present disclosure, there is also provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to: implement the steps of the data link management method as described above.

[0014] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is also provided. When instructions in the storage medium are executed by a processor, the processor is enabled to execute the data link management method as described above.

[0015] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0016] The invention discloses a method for monitoring a target application in the foreground on a terminal device when the terminal device has the capability of providing dual data links; the target application is in a dual data link enabled state; determining whether the first network currently used in the terminal device is a first SIM card network; obtaining a second SIM card network in the terminal device when the first network is the first SIM card network; establishing a data link of the second SIM card network, and performing redundant data transmission processing on the target application through two data links, so that a data receiver can process the data first received on the two data links, thereby reducing data transmission delay, avoiding jamming, and improving the operation efficiency and user experience of the target application.

[0017] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0019] Figure 1 A flowchart of a data link management method according to an embodiment of the present disclosure;

[0020] Figure 2 A flowchart of a data link management method according to an embodiment of the present disclosure;

[0021] Figure 3 A schematic diagram of the structure of a data link management device according to an embodiment of the present disclosure;

[0022] Figure 4 The figure is a structural block diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0023] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0025] At present, some terminal devices support dual-card dual-pass function, that is, two SIM cards can be set on the terminal device to support dual connection on the two SIM cards. For example, support data connection of the first SIM card and data connection of the second SIM card; support voice call of the first SIM card and receiving / rejecting calls or call waiting of the second SIM card; support data connection of the first SIM card and voice call of the second SIM card.

[0026] In the above solution, dual connections are used for data of different applications. When one of the SIM cards runs an application that requires large traffic, such as a game application, it is easy to experience lag and the like, which reduces the operating efficiency and user experience of the application.

[0027] Figure 1 The flowchart of a data link management method of an embodiment of the present disclosure is as follows. It should be noted that the data link management method of the present embodiment can be applied to a data link management device, which can be configured in an electronic device so that the electronic device can perform a data link management function. The data link management device can be, for example, an operating system in an electronic device, or a system framework in an operating system.

[0028] The electronic device may be any device with computing capabilities, such as a personal computer (PC), a mobile terminal, a server, etc. The mobile terminal may be, for example, a vehicle-mounted device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, or other hardware device with various operating systems, touch screens, and / or display screens. The following embodiments are described by taking the operating system in the terminal device as an example.

[0029] like Figure 1 As shown, the method comprises the following steps:

[0030] Step 101 : When the terminal device has the capability of providing dual data links, monitor the target application in the foreground of the terminal device; the target application is in a dual data link enabled state.

[0031] In the disclosed embodiment, the terminal device has the dual data link providing capability, which means that the terminal device supports dual SIM dual active (DSDA) and supports dual data links under DSDA. The dual data link refers to two data links. The data link is, for example, at least one of the following: a data link of a wireless fidelity (WIFI) network, a data link of a subscriber identity module (SIM) card network, etc.

[0032] The operating system of the terminal device is provided with a system framework, and the system framework is provided with a capability providing module, a first software development kit, and a second software development kit. The capability providing module may be, for example, MiuiTelephony, which may provide dual data link capability. The first software development kit is provided by the operating system, and is provided with a plurality of interfaces, which interact with the capability providing module through the plurality of interfaces to determine whether the terminal device has the dual data link providing capability, whether the terminal device provides the dual data link capability, whether the terminal device is registered with a certain network, whether a certain network of the terminal device is available, and whether the terminal device is currently in DSDA mode.

[0033] The second software development kit is provided by the application accelerator, and is used to determine whether the terminal device has the dual data link providing capability, whether the terminal device provides the dual data link capability, whether the terminal device is registered with a certain network, whether a certain network of the terminal device is available, and whether the terminal device is currently in DSDA mode, etc., by calling the interface in the first software development kit. The application accelerator is used to perform flow acceleration processing or application layer redundant data packet processing on the target application, that is, the application accelerator transmits and processes the data of the target application through the data link provided by the terminal device to realize the flow acceleration function.

[0034] In the embodiment of the present disclosure, when the terminal device has the ability to provide dual data links, it can indicate which applications can provide dual data link capabilities through white lists, black lists, etc., that is, indicate which applications are in a dual data link enabled state. Among them, taking the white list as an example, the white list may include the identification of all applications in a dual data link enabled state. Among them, in order to ensure the operating efficiency of applications that require large traffic and reduce the data transmission delay of applications that require large traffic, applications that require large traffic can be set to be in a dual data link enabled state. Among them, applications that require large traffic, such as video applications, game applications, etc., can be set according to actual needs.

[0035] In the embodiment of the present disclosure, the process of the operating system in the terminal device executing step 101 may, for example, be: when the terminal device has the capability to provide dual data links, monitor the application in the foreground; determine whether the application in the foreground is in a dual data link enabled state; if the application in the foreground is in a dual data link enabled state, use the application in the foreground as the target application.

[0036] In addition, when the target application is not in the foreground, or the application in the foreground is not the target application, the operating system in the terminal device can perform data transmission processing based on the data link of the first network.

[0037] Step 102: Determine whether the first network currently used in the terminal device is the first SIM card network.

[0038] In the embodiment of the present disclosure, before step 102, the operating system in the terminal device can determine whether the target application has a stuck phenomenon and whether the first network has a weak field phenomenon; and then determine whether it is necessary to add a data link. Correspondingly. Before step 102, the operating system in the terminal device can also perform the following process: determine whether the target application has a stuck phenomenon; if the target application has a stuck phenomenon, evaluate the data link of the first network to determine whether the first network has a weak field phenomenon; if the first network does not have a weak field phenomenon, perform data transmission processing on the target application based on the data link of the first network.

[0039] Wherein, when the first network has a weak field phenomenon, it means that the first network is difficult to meet the data transmission requirements of the target application, and may miss data packets or delay the transmission of data packets during the operation of the target application, resulting in jamming and other phenomena, so it is necessary to add a network to assist in data transmission. Therefore, when the first network has a weak field phenomenon, the operating system in the terminal device can continue to execute step 103 and subsequent steps.

[0040] In an embodiment of the present disclosure, the process by which the operating system in the terminal device determines whether a target application has a stuck phenomenon may, for example, be to determine the latency of the target application; when the latency is greater than or equal to a preset latency threshold, determine that the target application has a stuck phenomenon; when the latency is less than the preset latency threshold, determine that the target application does not have a stuck phenomenon.

[0041] In addition, as an alternative to the above solution, the operating system in the terminal device can also perform the following process to determine whether the target application has a lag phenomenon: obtain the display time of each image in the interface of the target application; when the display time of a certain image is greater than or equal to a preset time threshold, determine that the target application has a lag phenomenon.

[0042] In other examples, whether a jamming phenomenon exists may also be determined by using data transmission parameters. For example, a transmission threshold is set for the data transmission parameter. If the current data transmission parameter exceeds or falls below the transmission threshold, it is considered that a jamming phenomenon occurs. Otherwise, it is considered that no jamming phenomenon occurs. The data transmission parameters may include at least one of the following: uplink and downlink rates, data packet throughput, and connection service quality. The uplink and downlink rates may refer to data packet transmission rates.

[0043] In the embodiment of the present disclosure, the process of evaluating and processing the data link of the first network by the operating system in the terminal device may, for example, be to obtain signal measurement parameters of the data link of the first network within a specified time window, and / or data transmission parameters of the target application within a specified time window; based on the signal measurement parameters and / or data transmission parameters, the data link of the first network is evaluated and processed to determine whether a weak field phenomenon exists in the first network.

[0044] In the disclosed embodiment, the signal measurement parameter may include at least one of the following: Reference Signal Receiving Power (RSRP), Reference Signal Received Quality (RSRQ), and Signal to Noise ratio (SNR). The data transmission parameter includes at least one of the following: uplink and downlink rate, data packet throughput, and connection service quality. Among them, the uplink and downlink rate may refer to the data packet transmission rate.

[0045] Step 103: when the first network is the first SIM card network, obtain the second SIM card network in the terminal device.

[0046] In the embodiment of the present disclosure, when the terminal device has the capability of providing dual data links, two SIM cards are provided in the terminal device, namely, a first SIM card and a second SIM card; one SIM card can be a primary card, and the other SIM card can be a secondary card. The network corresponding to the first SIM card is the first SIM card network; the network corresponding to the second SIM card is the second SIM card network.

[0047] In the embodiment of the present disclosure, the operating system in the terminal device can also execute the following process: when the first network is a WIFI network, obtain the target SIM card network in the terminal device; the target SIM card network is the first SIM card network or the second SIM card network; establish a data link of the target SIM card network, and perform redundant data transmission processing on the target application through two data links.

[0048] Among them, when the first network is a WIFI network, a network with better performance can be selected from the first SIM card network and the second SIM card network as the target SIM card network, and a data link of the target SIM card network can be established for data transmission to avoid loss or delay of data packets of the target application and avoid freezes and the like.

[0049] Wherein, when the first network is the first SIM card network, a data link of the second SIM card network can be established for data transmission to avoid loss or delay of data packets of the target application and avoid freeze and the like.

[0050] Step 104: Establish a data link of the second SIM card network, and perform redundant data transmission processing on the target application through two data links.

[0051] In the embodiment of the present disclosure, after the operating system in the terminal device establishes the data link of the second SIM card network, for the data packets on the target application to be transmitted to the application server, the second software development kit provided by the application accelerator in the operating system can first perform User Datagram Protocol (UDP) encapsulation processing, and transmit the encapsulated UDP data packets to the application accelerator server through two data links respectively; the application accelerator server decapsulates the UDP data packets received first, and sends them to the application server corresponding to the target application.

[0052] In the data link management method of the embodiment of the present disclosure, when the terminal device has the capability of providing dual data links, the target application in the foreground on the terminal device is monitored; the target application is in a dual data link enabled state; it is determined whether the first network currently used in the terminal device is the first SIM card network; when the first network is the first SIM card network, the second SIM card network in the terminal device is acquired; a data link of the second SIM card network is established, and redundant data transmission processing is performed on the target application through the two data links, so that the data receiver can process the data first received on the two data links, thereby reducing the data transmission delay, avoiding the jamming phenomenon, and improving the operation efficiency and user experience of the target application.

[0053] Figure 2 This is a flow chart of a data link management method of another embodiment of the present disclosure. It should be noted that the data link management method of this embodiment can be applied to a data link management device, which can be configured in an electronic device so that the electronic device can perform a data link management function. The data link management device can be, for example, an operating system in an electronic device, or a system framework in an operating system.

[0054] The electronic device may be any device with computing capabilities, such as a personal computer (PC), a mobile terminal, a server, etc. The mobile terminal may be, for example, a vehicle-mounted device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, or other hardware device with various operating systems, touch screens, and / or display screens. The following embodiments are described by taking the operating system in the terminal device as an example.

[0055] like Figure 2 As shown, the method comprises the following steps:

[0056] Step 201 : When the terminal device has the capability of providing dual data links, monitor the target application in the foreground of the terminal device; the target application is in a dual data link enabled state.

[0057] Step 202: Acquire current environmental parameters of the terminal device and environmental parameter requirements of the dual data link.

[0058] In an embodiment of the present disclosure, the current environmental parameter may include at least one of the following: the power level of the terminal device, the ambient temperature of the terminal device, and whether the terminal device is in a dual-SIM dual-channel DSDA mode.

[0059] In the disclosed embodiment, the environmental parameter requirements of the dual data link may include at least one of the following: the ratio of the power of the terminal device to the total power needs to be greater than a preset ratio threshold; the ambient temperature of the terminal device needs to be less than a preset temperature threshold; the terminal device needs to be in a dual-card dual-channel DSDA mode. The preset ratio threshold may be, for example, 20%; the preset temperature threshold may be, for example, 41 degrees.

[0060] Among them, in the case of dual data links, since the two networks work together, a large amount of power of the terminal device is consumed, and more heat is generated, resulting in a significant increase in the ambient temperature. Therefore, in order to delay the working time of the terminal device and avoid the terminal device from overheating, if the current environmental parameters of the terminal device do not meet the environmental parameter requirements, the establishment of data for the second data link is stopped.

[0061] Step 203: determine whether the current environmental parameters meet the environmental parameter requirements.

[0062] In an embodiment of the present disclosure, when the current environmental parameters include the power of the terminal device, the ambient temperature of the terminal device, and whether the terminal device is in a dual-SIM dual-pass DSDA mode, the process of the operating system in the terminal device executing step 203 may, for example, be: when the ratio of the power of the terminal device to the total power is greater than a preset ratio threshold, and the ambient temperature of the terminal device is less than a preset temperature threshold, and the terminal device is in a dual-SIM dual-pass DSDA mode, determining that the current environmental parameters meet the environmental parameter requirements; when the ratio of the power of the terminal device to the total power is less than or equal to the preset ratio threshold, or the ambient temperature of the terminal device is greater than or equal to the preset temperature threshold, or the terminal device is in a dual-SIM dual-standby DSDS mode, determining that the current environmental parameters do not meet the environmental parameter requirements.

[0063] Step 204: When the current environment meets the environmental parameter requirements, determine whether the first network currently used in the terminal device is the first SIM card network.

[0064] Step 205, when the first network is the first SIM card network, obtain the second SIM card network in the terminal device; establish a data link of the second SIM card network, and perform redundant data transmission processing on the target application through two data links.

[0065] Step 206, when the first network is a WIFI network, obtain the target SIM card network in the terminal device; and establish a data link of the target SIM card network, and perform redundant data transmission processing on the target application through two data links; the target SIM card network is the first SIM card network or the second SIM card network.

[0066] In the embodiment of the present disclosure, the operating system in the terminal device may further perform the following process: when the current environment does not meet the environmental parameter requirements, stop acquiring the second SIM card network or the target SIM card network, and stop establishing the second data link.

[0067] In the data link management method of the embodiment of the present disclosure, when the terminal device has the capability of providing dual data links, the target application in the foreground of the terminal device is monitored; the target application is in the dual data link enabled state; the current environment parameters of the terminal device and the environment parameter requirements of the dual data links are obtained; it is determined whether the current environment parameters meet the environment parameter requirements; when the current environment meets the environment parameter requirements, it is determined whether the first network currently used in the terminal device is the first SIM card network; when the first network is the first SIM card network, the second SIM card network in the terminal device is obtained; a data link of the second SIM card network is established, and redundant data transmission processing is performed on the target application through two data links; when the first network is a WIFI network, the target SIM card network in the terminal device is obtained; and a data link of the target SIM card network is established, and redundant data transmission processing is performed on the target application through two data links; the target SIM card network is the first SIM card network or the second SIM card network, so that the data receiver can process the data first received on the two data links, thereby reducing the data transmission delay, avoiding the jamming phenomenon, and improving the operation efficiency and user experience of the target application.

[0068] Figure 3 The present invention is a schematic diagram of the structure of a data link management device according to an embodiment of the present invention.

[0069] like Figure 3 As shown, the data link management device may include: a monitoring module 301 , a first determining module 302 , a first acquiring module 303 and a first establishing module 304 .

[0070] Among them, the monitoring module 301 is used to monitor the target application in the foreground on the terminal device when the terminal device has the capability of providing dual data links; the target application is in a dual data link enabled state; the first determination module 302 is used to determine whether the first network currently used in the terminal device is the first SIM card network; the first acquisition module 303 is used to obtain the second SIM card network in the terminal device when the first network is the first SIM card network; the first establishment module 304 is used to establish a data link of the second SIM card network, and perform redundant data transmission processing on the target application through two data links.

[0071] In one embodiment of the present disclosure, the device also includes: a second determination module, an evaluation and processing module and a data transmission module; before the first determination module 302 determines whether the first network currently used in the terminal device is the first SIM card network, the second determination module is used to determine whether the target application has a stuck phenomenon; the evaluation and processing module is used to evaluate and process the data link of the first network when the target application has a stuck phenomenon, and determine whether the first network has a weak field phenomenon; the data transmission module is used to perform data transmission processing on the target application based on the data link of the first network when the first network does not have a weak field phenomenon.

[0072] In one embodiment of the present disclosure, the evaluation and processing module is specifically used to obtain signal measurement parameters of the data link of the first network within a specified time window, and / or data transmission parameters of the target application within a specified time window; based on the signal measurement parameters and / or the data transmission parameters, the data link of the first network is evaluated and processed to determine whether the first network has a weak field phenomenon.

[0073] In one embodiment of the present disclosure, the signal measurement parameters include at least one of the following: reference signal reception power, reference signal reception quality and signal-to-noise ratio SNR; the data transmission parameters include at least one of the following: uplink and downlink rates, data packet throughput and connection service quality.

[0074] In one embodiment of the present disclosure, the device also includes: a second acquisition module and a second establishment module; the second acquisition module is used to acquire the target SIM card network in the terminal device when the first network is a WIFI network; the target SIM card network is the first SIM card network or the second SIM card network; the second establishment module is used to establish a data link of the target SIM card network, and perform redundant data transmission processing on the target application through two data links.

[0075] In one embodiment of the present disclosure, the device also includes: a third acquisition module and a third determination module; before the first establishment module 304 establishes the data link of the second SIM card network, the third acquisition module is used to obtain the current environmental parameters of the terminal device and the environmental parameter requirements of the dual data link; the third determination module is used to determine whether the current environmental parameters meet the environmental parameter requirements; the third determination module is also used to stop establishing the data link of the second SIM card network when the current environmental parameters do not meet the environmental parameter requirements.

[0076] In one embodiment of the present disclosure, the current environmental parameter includes at least one of the following: the power level of the terminal device, the ambient temperature of the terminal device, and whether the terminal device is in a dual-SIM dual-channel DSDA mode.

[0077] In the data link management device of the embodiment of the present disclosure, when the terminal device has the capability of providing dual data links, the target application in the foreground on the terminal device is monitored; the target application is in a dual data link enabled state; it is determined whether the first network currently used in the terminal device is the first SIM card network; when the first network is the first SIM card network, the second SIM card network in the terminal device is obtained; a data link of the second SIM card network is established, and redundant data transmission processing is performed on the target application through the two data links, so that the data recipient can process the data first received on the two data links, thereby reducing data transmission delay, avoiding jamming, and improving the operating efficiency and user experience of the target application.

[0078] According to a third aspect of an embodiment of the present disclosure, there is also provided an electronic device, including: a processor; and a memory for storing instructions executable by the processor, wherein the processor is configured to: implement the data link management method as described above.

[0079] In order to implement the above embodiments, the present disclosure also proposes a storage medium.

[0080] When the instructions in the storage medium are executed by the processor, the processor is enabled to execute the data link management method as described above.

[0081] In order to implement the above embodiments, the present disclosure also provides a computer program product.

[0082] When the computer program product is executed by a processor of an electronic device, the electronic device is enabled to execute the above method.

[0083] Figure 4 The figure is a structural block diagram of an electronic device according to an exemplary embodiment. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0084] like Figure 4As shown, the electronic device 1000 includes a processor 111, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 112 or a program loaded from a memory 116 to a random access memory (RAM) 113. In the RAM 113, various programs and data required for the operation of the electronic device 1000 are also stored. The processor 111, the ROM 112, and the RAM 113 are connected to each other via a bus 114. An input / output (I / O) interface 115 is also connected to the bus 114.

[0085] The following components are connected to the I / O interface 115: a memory 116 including a hard disk, etc.; and a communication part 117 including a network interface card such as a local area network (LAN) card, a modem, etc., and the communication part 117 performs communication processing via a network such as the Internet; a drive 118 is also connected to the I / O interface 115 as needed.

[0086] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 117. When the computer program is executed by the processor 111, the above-mentioned functions defined in the method of the present disclosure are executed.

[0087] In an exemplary embodiment, a storage medium including instructions is also provided, such as a memory including instructions, and the instructions can be executed by the processor 111 of the electronic device 1000 to complete the above method. Optionally, the storage medium can be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0088] In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0089] In addition, the word "exemplary" is used herein to indicate serving as an example, instance, or diagram. Any aspect or design described as "exemplary" in this article is not necessarily understood to be advantageous compared to other aspects or designs. On the contrary, the use of the word exemplary is intended to present concepts in a specific way. As used herein, the term "or" is intended to represent an inclusive "or" rather than an exclusive "or". That is, unless otherwise specified or clear from the context, "X applies A or B" is intended to represent any one of the natural inclusive arrangements. That is, if X applies A; X applies B; or X applies both A and B, "X applies A or B" is satisfied under any of the aforementioned examples. In addition, unless otherwise specified or clearly pointed to a singular form from the context, the articles "one" and "an" as used in this application and the appended claims are generally understood to mean "one or more".

[0090] Likewise, although the present disclosure has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art after reading and understanding the specification and drawings. The present disclosure includes all such modifications and variations and is limited only by the scope of the claims. In particular, with respect to the various functions performed by the components (e.g., elements, resources, etc.) described above, unless otherwise noted, the terms used to describe such components are intended to correspond to any component (functionally equivalent) that performs the specific functions of the described components, even if the structure is not equivalent to the disclosed structure. In addition, although the specific features of the present disclosure may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations as may be desired and conducive to any given or specific application. In addition, with respect to "including", "having", "having", "having", or variations thereof used in the specific embodiments or claims, such terms are intended to be inclusive in a manner similar to the term "comprising".

[0091] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0092] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A data link management method, characterized in that: The method comprises: In the case where the terminal device has a dual data link providing capability, monitoring a target application in the foreground on the terminal device; the target application is in a dual data link enabled state; Determining whether the first network currently used in the terminal device is a first SIM card network; When the first network is a first SIM card network, obtaining a second SIM card network in the terminal device; A data link of the second SIM card network is established, and redundant data transmission processing is performed on the target application through two data links.

2. The method according to claim 1, characterized in that Before determining whether the first network currently used in the terminal device is the first SIM card network, the method further includes: Determine whether the target application has a stuck phenomenon; When the target application has a stuck phenomenon, evaluating and processing the data link of the first network to determine whether the first network has a weak field phenomenon; In the case that the first network does not have a weak field phenomenon, data transmission processing is performed on the target application based on a data link of the first network.

3. The method according to claim 2, characterized in that The evaluating and processing the data link of the first network to determine whether the first network has a weak field phenomenon includes: Acquire signal measurement parameters of a data link of the first network within a specified time window, and / or data transmission parameters of the target application within a specified time window; The data link of the first network is evaluated and processed according to the signal measurement parameter and / or the data transmission parameter to determine whether the first network has a weak field phenomenon.

4. The method according to claim 3, characterized in that The signal measurement parameter includes at least one of the following: reference signal received power, reference signal received quality, and signal-to-noise ratio SNR; The data transmission parameters include at least one of the following: uplink and downlink rates, data packet throughput, and connection service quality.

5. The method according to claim 1, characterized in that The method further comprises: When the first network is a WIFI network, obtaining a target SIM card network in the terminal device; the target SIM card network is the first SIM card network or the second SIM card network; A data link of the target SIM card network is established, and redundant data transmission processing is performed on the target application through two data links.

6. The method according to claim 1, characterized in that Before establishing the data link of the second SIM card network, the method further includes: Acquire current environmental parameters of the terminal device and environmental parameter requirements of the dual data link; Determining whether the current environmental parameters meet the environmental parameter requirements; When the current environmental parameter does not meet the environmental parameter requirement, the establishment of the data link of the second SIM card network is stopped.

7. The method according to claim 6, characterized in that The current environmental parameter includes at least one of the following: the power of the terminal device, the ambient temperature of the terminal device, and whether the terminal device is in a dual-SIM dual-channel DSDA mode.

8. A data link management device, characterized in that: The device comprises: A monitoring module, used for monitoring a target application in the foreground on the terminal device when the terminal device has a dual data link providing capability; the target application is in a dual data link enabled state; A first determination module, used to determine whether the first network currently used in the terminal device is a first SIM card network; A first acquisition module, configured to acquire a second SIM card network in the terminal device when the first network is a first SIM card network; The first establishing module is used to establish a data link of the second SIM card network, and perform redundant data transmission processing on the target application through two data links.

9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to: Implement the steps of the data link management method as described in any one of claims 1 to 7. 10 . A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor, enables the processor to perform the data link management method according to any one of claims 1 to 7.