Data transmission method and device, storage medium and electronic equipment

By selecting an appropriate data transmission mode based on the communication link quality of the smart card in the client, the problem of underutilization of the dual-card data service communication mode is solved, and the data transmission quality is improved.

CN121486883APending Publication Date: 2026-02-06SHENZHEN TENCENT INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411072569.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2026-02-06

AI Technical Summary

Technical Problem

In existing technologies, the dual-SIM data communication mode fails to fully leverage its advantages and cannot improve data transmission quality.

Method used

By determining the communication link quality of the smart card in the client, the most suitable target data transmission mode is selected, including using the first smart card alone, using the second smart card alone, or using the communication link of both smart cards simultaneously for data transmission.

Benefits of technology

It improves the quality of data interaction between the client and the server, maximizing the communication advantages of dual-SIM dual-pass and dual-SIM data service communication modes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121486883A_ABST
    Figure CN121486883A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission method and device, a storage medium and electronic equipment, and belongs to the technical field of data interaction. The method is applied to a client, the client is dual-card dual-pass, a configured first smart card and a configured second smart card are both in a data service communication mode, and the method comprises the steps that a first quality parameter is determined, and the first quality parameter indicates the quality of a communication link of the first smart card; determining a target data transmission mode based on the first quality parameter, wherein the target data transmission mode comprises a first transmission mode, a second transmission mode or a third transmission mode; based on the target data transmission mode, carrying out data bidirectional interaction with a server; the first transmission mode is a mode of only using a communication link of the first smart card, the second transmission mode is a mode of only using a communication link of the second smart card, and the third transmission mode is a mode of simultaneously using the communication link of the first smart card and the communication link of the second smart card. According to the embodiment of the invention, the data transmission quality between the client and the server is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data interaction technology, and in particular to a data transmission method, apparatus, storage medium, and electronic device. Background Technology

[0002] With the development of next-generation mobile cellular communication technology, the DSDA communication architecture has been proposed. DSDA stands for Dual-Sim Dual-Active, a technology that allows a user device to communicate simultaneously using two different smart cards. Furthermore, with the further improvement of the DSDA communication architecture, it now supports not only primary and secondary SIM data communication modes, but also dual-SIM data communication modes. In primary-secondary SIM data communication mode, only one SIM card is in data communication mode, while the other is in voice communication mode. However, in dual-SIM data communication mode, the two smart cards do not have a primary / secondary distinction and can both be in data communication mode simultaneously.

[0003] However, the data communication solutions of related technologies do not make reasonable use of the dual-SIM data service communication mode, nor can they fully leverage the advantages of the dual-SIM data service communication mode to improve data transmission quality. Summary of the Invention

[0004] This application provides a data transmission method, apparatus, storage medium, and electronic device that can determine a reasonable target data transmission mode for the client in dual-SIM dual-pass and dual-SIM data service communication mode, thereby fully utilizing the advantages of the dual-SIM data service communication mode itself, improving the data interaction quality between the client and the server, and improving the data transmission quality between the client and the server.

[0005] According to one aspect of the embodiments of this application, a data transmission method is provided, the method being applied to a client, the client being in a dual-SIM dual-pass state, and both the first smart card and the second smart card configured in the client being in data service communication mode, the method comprising:

[0006] A first quality parameter is determined, which indicates the quality of the communication link of the first smart card;

[0007] Based on the first quality parameter, a target data transmission mode is determined, wherein the target data transmission mode includes a first transmission mode, a second transmission mode, or a third transmission mode.

[0008] Based on the target data transmission mode, bidirectional data interaction is performed with the server;

[0009] The first transmission mode is a data transmission mode that uses only the communication link of the first smart card, the second transmission mode is a data transmission mode that uses only the communication link of the second smart card, and the third transmission mode is a data transmission mode that uses both the communication links of the first smart card and the communication links of the second smart card.

[0010] According to one aspect of the embodiments of this application, a data transmission device is provided. The data transmission device is applied to a client, the client is in a dual-SIM dual-pass state, and both the first smart card and the second smart card configured in the client are in data service communication mode. The data transmission device includes:

[0011] A quality quantification module is used to determine a first quality parameter, which indicates the quality of the communication link of the first smart card;

[0012] The transmission control module is used to perform the following operations:

[0013] Based on the first quality parameter, a target data transmission mode is determined, wherein the target data transmission mode includes a first transmission mode, a second transmission mode, or a third transmission mode.

[0014] Based on the target data transmission mode, bidirectional data interaction is performed with the server;

[0015] The first transmission mode is a data transmission mode that uses only the communication link of the first smart card, the second transmission mode is a data transmission mode that uses only the communication link of the second smart card, and the third transmission mode is a data transmission mode that uses both the communication links of the first smart card and the communication links of the second smart card.

[0016] According to one aspect of the embodiments of this application, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one instruction, at least one program, code set or instruction set, the at least one instruction, the at least one program, the code set or instruction set being loaded and executed by the processor to implement the above-described data transmission method.

[0017] According to one aspect of the embodiments of this application, a computer-readable storage medium is provided, wherein the storage medium stores at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the above-described data transmission method.

[0018] According to one aspect of this application, a computer program product is provided, the computer program product 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 the processor executes the computer instructions, causing the computer device to perform the data transmission method described above.

[0019] The technical solution provided in this application can bring the following beneficial effects:

[0020] This application proposes a data transmission method, apparatus, storage medium, and electronic device. The data transmission method allows the client to select the most suitable target data transmission mode for bidirectional data transmission with the server based on the communication link quality of the smart card. Specifically, this application can switch the most suitable data transmission mode (target data transmission mode) based on the real-time communication link quality. This application supports three transmission modes as the target data transmission mode: a first transmission mode, a second transmission mode, and a third transmission mode. The first transmission mode uses only the communication link of the first smart card; the second transmission mode uses only the communication link of the second smart card; and the third transmission mode uses both the communication links of the first and second smart cards simultaneously. Clearly, this application fully leverages the communication advantages of dual-SIM dual-pass and dual-SIM data service communication modes, maximizing the data interaction quality between the client and server, and improving the data transmission quality between the client and server. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 This is a schematic diagram of the operating environment of a data transmission method provided in one embodiment of this application;

[0023] Figure 2 This is a flowchart of a data transmission method provided in one embodiment of this application;

[0024] Figure 3 This is a schematic diagram of the process for determining the first quality parameter under the 4G-LTE standard provided in one embodiment of this application;

[0025] Figure 4This is a schematic diagram of the process for determining the first quality parameter under the 5G-NR standard provided in one embodiment of this application;

[0026] Figure 5 This is a schematic flowchart of a method for determining a target data transmission mode according to an embodiment of this application;

[0027] Figure 6 This is a schematic flowchart of a transmission mode switching method provided in one embodiment of this application;

[0028] Figure 7 This is a schematic diagram of a transmission mode message provided in one embodiment of this application;

[0029] Figure 8 This is a schematic diagram of a transmission mode switching framework in a game scene provided in one embodiment of this application;

[0030] Figure 9 This is a schematic diagram of the transmission mode switching process in a game scene provided in one embodiment of this application;

[0031] Figure 10 This is a block diagram of a data transmission apparatus provided in one embodiment of this application;

[0032] Figure 11 This is a structural block diagram of a computer device provided in one embodiment of this application. Detailed Implementation

[0033] Before introducing the method embodiments provided in this application, a brief introduction will be given to the relevant terms or nouns that may be involved in the method embodiments of this application, so as to facilitate the understanding of those skilled in the art.

[0034] Cloud technology refers to a hosting technology that unifies hardware, software, and network resources within a wide area network (WAN) or local area network (LAN) to achieve data computation, storage, processing, and sharing. Cloud technology is a collective term for network technology, information technology, integration technology, management platform technology, and application technology applied based on the cloud computing business model. It can form resource pools, be used on demand, and is flexible and convenient. Cloud computing technology will become a crucial support. Backend services of technical network systems require substantial computing and storage resources, such as video websites, image websites, and many portal websites. With the rapid development and application of the internet industry, every item may have its own identification mark in the future, requiring transmission to backend systems for logical processing. Data at different levels will be processed separately, and various industry data will require robust system support, which can only be achieved through cloud computing.

[0035] Before describing the specific embodiments of this application, the relevant technical background related to the embodiments of this application will be introduced to facilitate understanding by those skilled in the art.

[0036] With the development of next-generation mobile cellular communication technology, the DSDA communication architecture has been proposed. DSDA stands for Dual-Sim Dual-Active, a technology that allows a user device to communicate simultaneously using two different smart cards. Furthermore, with the further improvement of the DSDA communication architecture, it now supports not only primary and secondary SIM data communication modes, but also dual-SIM data communication modes. In primary-secondary SIM data communication mode, only one SIM card is in data communication mode, while the other is in voice communication mode. However, in dual-SIM data communication mode, the two smart cards do not have a primary / secondary distinction and can both be in data communication mode simultaneously.

[0037] Data communication mode and voice communication mode are completely different communication modes, using different underlying technologies. Simply put, in data communication mode, users can access various data from the internet, while in voice communication mode, users can make phone calls. Before the advent of dual-SIM data communication mode, although users could use smart terminals with dual-SIM dual-pass capability, these smart terminals only supported primary and secondary SIM data communication modes. If a user used SIM 1 to make a call, then only SIM 2 could be used for internet access, or vice versa. Only one SIM card in the smart terminal could be used for internet access at a time; the SIM card used for internet access was in data communication mode, while the other SIM card was used for phone calls; the SIM card used for phone calls was in voice communication mode.

[0038] With the further development of the DSDA communication architecture, the latest technical standards have supported dual-SIM data service communication mode. However, the dual-SIM data service communication mode is a relatively new concept and is completely different from the primary and secondary SIM data service communication mode. The technical solutions for the problems in the primary and secondary SIM data service communication mode are difficult to apply to the dual-SIM data service communication mode. Therefore, how to use the dual-SIM data service communication mode in actual data transmission to maximize its communication advantages remains a challenge for related technologies, and no solution has yet been proposed to implement the dual-SIM data service communication mode in actual data communication.

[0039] In view of this, embodiments of this application provide a data transmission method that allows the client to select the most suitable target data transmission mode for bidirectional data transmission with the server based on the communication link quality of the smart card. Embodiments of this application fully leverage the communication advantages of dual-SIM dual-pass and dual-SIM data service communication modes, maximizing the improvement of data interaction quality between the client and server, and enhancing the data transmission quality between the client and server.

[0040] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings. It should be noted that all data used in the embodiments of this application have been thoroughly examined before use. With authorization from the relevant parties.

[0041] Please refer to Figure 1 This diagram illustrates the operating environment of a data transmission method according to an embodiment of this application. The operating environment may include a terminal 10 and a server 20.

[0042] Terminal 10 includes, but is not limited to, mobile phones, computers, smart voice interaction devices, smart home appliances, in-vehicle terminals, game consoles, e-book readers, multimedia playback devices, wearable devices, and other electronic devices. A client application can be installed on terminal 10. This client is in a dual-SIM dual-standby state, and both the first and second smart cards configured in the client are in data service communication mode.

[0043] The terminal 10 may include two card slots, each capable of holding one UICC (Universal Integrated Circuit Card). UICC is a general term for various smart cards, such as SIM (Subscriber Identity Module), USIM (Universal Subscriber Identity Module), UIM (User Identity Module), and RUIM (Removable User Identity Module). The terminal supports DSDA mode. In this dual-SIM dual-pass (DSDA) mode, both smart cards are not designated as primary or secondary; both are in data communication mode, not voice communication mode. The client in the terminal 10 can interact with the server based on the communication links of the first and second smart cards.

[0044] In this application embodiment, the aforementioned application can be any service that relies on data transmission or an application that provides data transmission services, implemented based on the data transmission method mentioned in this application embodiment. Typically, the application is a game application. Of course, besides game applications, other types of applications can also provide services based on data transmission. For example, news applications, social applications, interactive entertainment applications, browser applications, shopping applications, content sharing applications, virtual reality (VR) applications, augmented reality (AR) applications, etc., are not limited in this application embodiment.

[0045] Server 20 provides background services to the clients of applications in terminal 10 and engages in bidirectional data interaction with terminal 10. For example, server 20 can be the background server of the aforementioned applications. Server 20 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Optionally, server 20 can simultaneously provide background services to applications in multiple terminals 10.

[0046] Optionally, terminal 10 and server 20 can communicate with each other via network 30. Terminal 10 and server 20 can be directly or indirectly connected via wired or wireless communication, which is not limited herein.

[0047] Please refer to Figure 2 The diagram illustrates a flowchart of a data transmission method according to an embodiment of this application. This method can be applied to a computer device, which refers to an electronic device capable of data computation and processing. For example, the entity executing each step may be... Figure 1 The client in the operating environment shown is in a dual-SIM dual-pass state, and both the first and second smart cards configured in the client are in data service communication mode. The method includes:

[0048] Step S201. Determine a first quality parameter, wherein the first quality parameter indicates the quality of the communication link of the first smart card.

[0049] This application does not limit the first smart card; it can be any of the two smart cards configured for the client. The other smart card, different from the first smart card, is referred to as the second smart card. This application does not limit the timing of determining the first quality parameter. For example, the first quality parameter can be determined in real time, at preset intervals, or in response to certain specific events, such as packet loss or transmission lag. Of course, this application does not limit the length of the preset interval or the detection method for the specific event, and this does not constitute an obstacle to implementation.

[0050] This application does not limit the method for determining the first quality parameter, and it can be set according to different communication standards. In an exemplary embodiment, an indicator parameter for quantifying the quality of the communication link can be determined based on the communication standard corresponding to the communication link of the first smart card; and the first quality parameter is determined based on the indicator parameter. Determining the indicator parameter for quantifying the quality of the communication link based on the communication standard corresponding to the communication link of the first smart card allows this application embodiment to accurately quantify the quality of the communication link of the first smart card under multiple communication standards, thereby enabling this application embodiment to support scenarios corresponding to multiple communication standards, expanding the applicability of this application embodiment, and also enabling this application embodiment to still be implemented in the case of complex communication standards or a mixture of multiple communication standards.

[0051] In one exemplary embodiment, the determination of the index parameters for quantifying the quality of the communication link based on the communication standard corresponding to the communication link of the first smart card includes: when the communication standard corresponding to the communication link of the first smart card is the 4G-LTE standard, both the 4G reference signal received power and the 4G reference signal received quality are determined as the index parameters; when the communication standard corresponding to the communication link of the first smart card is the 5G-NR standard, both the 5G secondary synchronization reference signal received power and the signal-to-interference-plus-noise ratio of the 5G secondary synchronization single-stream signal are determined as the index parameters.

[0052] 4G-LTE refers to fourth-generation mobile communication technology, proposed by the 3GPP organization, and is a wireless communication standard. 4G-LTE networks employ various advanced technologies, such as orthogonal frequency division multiplexing (OFDM) and multiple-input multiple-output (MIMO), to improve data transmission speed, spectrum utilization, and network stability. 3GPP (The 3rd Generation Partnership Project) is an international communications technology organization dedicated to developing and maintaining global wireless communication standards.

[0053] The 4G reference signal received power (RSRP) is a crucial parameter in 4G-LTE (Long Term Evolution) networks, used to measure the power level of the reference signal received by the User Equipment (UE). RSRP is used for downlink transmission in 4G-LTE networks, allowing the UE to assess channel quality, perform synchronization, and decode. RSRP is measured in dBm (decibel-milliwatts), reflecting the signal strength received by the UE. A higher RSRP value indicates better signal strength and stronger network coverage. This parameter is essential for network planning, optimization, and performance evaluation.

[0054] 4G Reference Signal Receiving Quality (RSRQ) is another important parameter in 4G-LTE networks, used to measure the quality of the reference signal received by the User Equipment (UE). Unlike RSRP, which measures the signal power level, RSRQ measures signal quality, specifically the signal-to-noise ratio. RSRQ values ​​are measured in dB (decibels) and reflect the signal-to-noise ratio (SNR). RSRQ measurements help assess the quality of the wireless communication link because they take into account the impact of signal strength and background noise. A high RSRQ value indicates better signal quality and a higher SNR, which is typically associated with better data transmission rates and lower error rates.

[0055] The 5G-NR standard is a radio access technology standard for 5G networks, developed by the 3GPP organization. 5G-NR aims to support several key characteristics of 5G networks, including higher data transmission rates, lower latency, higher connection density, and better spectrum efficiency.

[0056] The received power of the 5G secondary synchronization reference signal is SS-RSRP, short for SS Reference Signal Received Power, an important reference signal measurement indicator. This indicator measures the power level of the synchronization signal (SS) received by the user equipment (UE). A high SS-RSRP value indicates better signal quality. The signal-to-noise ratio (SNR) of the 5G secondary synchronization single-stream signal is SS-SINR, short for SS Signal-to-Noise and Interference Ratio, a measure of signal quality. It reflects the signal-to-noise ratio (SNR) and signal-to-interference ratio (SIR) of the synchronization signal (SS) received by the user equipment (UE). A high SS-SINR value indicates better signal quality.

[0057] The performance parameters corresponding to the 4G-LTE standard and the 5G-NR standard can both be obtained by the client by parsing the data in the modem. The modem is used to establish and maintain the communication links corresponding to the first smart card and the second smart card respectively. The method of obtaining the performance parameters corresponding to the 4G-LTE standard and the 5G-NR standard does not constitute an implementation obstacle, and will not be elaborated here.

[0058] For example, when the communication standard corresponding to the communication link of the first smart card is the 4G-LTE standard, the first quality parameter is determined based on the lower of the first communication quality indicated by the 4G reference signal received power and the second communication quality indicated by the 4G reference signal received quality.

[0059] Both the first and second communication qualities can be categorized into three levels: high, medium, and low. The lower of the first and second communication qualities is used as the first quality parameter. To divide the first communication quality into three levels, a first threshold and a second threshold can be set. If the 4G reference signal receiving power of the communication link of the first smart card is less than the first threshold, the first communication quality is determined to be low quality; if the 4G reference signal receiving power of the communication link of the first smart card is greater than the second threshold, the first communication quality is determined to be high quality; otherwise, the first communication quality is medium quality.

[0060] To classify the second communication quality into three levels, a third threshold and a fourth threshold can be set. If the 4G reference signal reception quality of the communication link of the first smart card is less than the third threshold, the second communication quality is determined to be low quality; if the 4G reference signal reception quality of the communication link of the first smart card is greater than the fourth threshold, the second communication quality is determined to be high quality; otherwise, the second communication quality is medium quality.

[0061] The first quality parameter is the lower of the first and second communication quality. Please refer to... Figure 3 This diagram illustrates the process of determining the first quality parameter under the 4G-LTE standard. Threshold1 represents the first threshold, Threshold2 represents the second threshold, and these are the threshold values ​​for the 4G-LTE communication link strength index RSRP (4G Reference Signal Received Power), respectively. Threshold3 represents the third threshold, and Threshold4 represents the fourth threshold, and these are the threshold values ​​for the 4G-LTE communication link index RSRQ (4G Reference Signal Received Quality), respectively. When RSRP is greater than Threshold2 and RSRQ is greater than Threshold4, both the first and second communication qualities are of high quality, and the first quality parameter also indicates high quality. When RSRP is less than Threshold1 and RSRQ is less than Threshold3, both the first and second communication qualities are of low quality, and the first quality parameter also indicates low quality. When RSRP is between Threshold1 and Threshold2 and RSRQ is between Threshold3 and Threshold4, both the first and second communication qualities are of medium quality, and the first quality parameter also indicates medium quality. In other cases, the first and second communication quality do not match. For example, the first communication quality indicates high quality, and the second communication quality indicates low quality. In this case, the first quality parameter matches the lower one, therefore the first quality parameter indicates low quality. Alternatively, if the first communication quality indicates medium quality, and the second communication quality indicates high quality, in this case, the first quality parameter matches the lower one, therefore the first quality parameter indicates medium quality.

[0062] In an exemplary embodiment, when the communication standard corresponding to the communication link of the first smart card is the 5G-NR standard, the first quality parameter is determined based on the lower of the third communication quality indicated by the received power of the 5G secondary synchronization reference signal and the fourth communication quality indicated by the signal-to-interference-plus-noise ratio of the 5G secondary synchronization single stream signal.

[0063] Both the third and fourth communication quality can be divided into three levels: high, medium, and low. The lower of the three communication quality levels is used as the first quality parameter. To further divide the third communication quality into three levels, a fifth threshold and a sixth threshold can be set. If the 5G secondary synchronization reference signal received by the communication link of the first smart card is less than the fifth threshold, the third communication quality is determined to be low quality; if the 5G secondary synchronization reference signal received by the communication link of the first smart card is greater than the sixth threshold, the third communication quality is determined to be high quality; otherwise, the third communication quality is medium quality.

[0064] To classify the fourth communication quality into three levels, a seventh threshold and an eighth threshold can be set. If the signal-to-interference-plus-noise ratio (SNR) of the 5G secondary synchronous single-stream signal in the communication link of the first smart card is less than the seventh threshold, the fourth communication quality is determined to be low quality. If the SNR of the 5G secondary synchronous single-stream signal in the communication link of the first smart card is greater than the eighth threshold, the fourth communication quality is determined to be high quality. Otherwise, the fourth communication quality is medium quality.

[0065] The first quality parameter is the lower of the third and fourth communication quality parameters. Please refer to [reference needed]. Figure 4This diagram illustrates the process of determining the first quality parameter under the 5G-NR standard. Threshold5 represents the fifth threshold, Threshold6 represents the sixth threshold, and these are the threshold values ​​for the 5G-NR communication link strength index SS-RSRP (5G Secondary Synchronization Reference Signal Received Power), respectively. Threshold7 represents the seventh threshold, and Threshold8 represents the eighth threshold, and these are the threshold values ​​for the 5G-NR communication link index SS-SINR (5G Secondary Synchronization Single Stream Signal Interference-Noise Ratio), respectively. When SS-RSRP is greater than Threshold6 and SS-SINR is greater than Threshold8, both the third and fourth communication quality are high quality, and the first quality parameter also indicates high quality. When SS-RSRP is less than Threshold5 and SS-SINR is less than Threshold7, both the third and fourth communication quality are low quality, and the first quality parameter also indicates low quality. When SS-RSRP is between Threshold5 and Threshold6 and SS-SINR is between Threshold7 and Threshold8, both the third and fourth communication quality are medium quality, and the first quality parameter also indicates medium quality. In other cases, the third and fourth communication quality do not match; for example, the third communication quality indicates high quality, and the fourth communication quality indicates low quality. In this case, the first quality parameter matches the lower one, therefore the first quality parameter indicates low quality. Alternatively, if the third communication quality indicates medium quality, and the fourth communication quality indicates high quality, in this case, the first quality parameter matches the lower one, therefore the first quality parameter indicates medium quality.

[0066] S202. Based on the first quality parameter mentioned above, determine the target data transmission mode, which includes a first transmission mode, a second transmission mode, or a third transmission mode; based on the target data transmission mode, perform bidirectional data interaction with the server.

[0067] In this embodiment, the client is in a dual-SIM dual-pass state, and both the first and second smart cards configured in the client are in data service communication mode. This means that both the first and second smart cards have the ability to access the internet simultaneously, and each can transmit data without affecting the other. Therefore, this embodiment can use a first transmission mode, a second transmission mode, or a third transmission mode for data transmission between the client and the server. It only requires selecting the most suitable mode from the three based on a first quality parameter. Specifically, the first transmission mode uses only the communication link of the first smart card, the second transmission mode uses only the communication link of the second smart card, and the third transmission mode uses both the communication links of the first and second smart cards simultaneously.

[0068] In this application embodiment, both the 4G-LTE and 5G-NR networks are cellular networks. When the client is in dual-SIM dual-pass mode, both types of networks can be accessed to establish a communication link. The client can choose the communication link corresponding to one smart card or the communication links corresponding to each of the two smart cards for data service transmission. In the third transmission mode, the two communication links established by the client can transmit the same service data simultaneously. The two communication links can complement each other to reduce data frame retransmission and improve data transmission reliability. Taking a game scenario with low latency requirements as an example, especially when the coverage of a certain cellular network connected to the client is weak, transmitting the same game data through two communication links, or switching to the communication link with higher link quality in a timely manner, can greatly improve the reliability of game data transmission, enhance the game experience, and reduce the power consumption of the client during data processing. This application embodiment can determine the target data transmission mode based on the first quality parameter to select a suitable transmission mode to improve the reliability of data transmission and achieve the goal of improving the game experience.

[0069] Selecting the appropriate target data transmission mode based on the primary quality parameter is crucial for improving data transmission reliability. Please refer to [reference needed]. Figure 5 This illustration shows a flowchart of the target data transmission mode determination method in an embodiment of this application. The determination of the target data transmission mode based on the aforementioned first quality parameter includes:

[0070] S501. When the first quality parameter indicates that the communication link of the first smart card is of high quality, the first transmission mode is determined as the target data transmission mode.

[0071] If the communication link of the first smart card is of high quality, single-link data transmission can be used. In the first transmission mode, only the communication link of the first smart card is used to transmit data.

[0072] S502. If the first quality parameter indicates that the communication link of the first smart card is not at a high quality, a second quality parameter is determined, wherein the second quality parameter indicates the quality of the communication link of the second smart card.

[0073] If the communication link quality of the first smart card is not high, then the communication link quality of the second smart card needs to be considered for a comprehensive evaluation.

[0074] S503. When the second quality parameter indicates that the communication link of the second smart card is at a high quality, the second transmission mode is determined as the target data transmission mode.

[0075] If the communication link of the second smart card is of high quality, single-link data transmission can still be used. In the second transmission mode, only the communication link of the second smart card is used to transmit data.

[0076] S504. If the second quality parameter indicates that the communication link of the second smart card is not in a high quality state, the third transmission mode is determined as the target data transmission mode.

[0077] If the communication link quality between the first smart card and the second smart card is not high, data can be transmitted through dual links, thereby improving the data transmission quality in weak network or congested environments.

[0078] If the target data transmission mode is inconsistent with the transmission mode currently being used by the client, then a transmission mode switch is required. That is, the bidirectional data interaction with the server based on the target data transmission mode includes: switching the current transmission mode to the target data transmission mode when the current transmission mode is inconsistent with the target data transmission mode; and using the target data transmission mode to perform bidirectional data interaction with the server. Here, the current transmission mode is the data transmission mode currently being executed by the client.

[0079] Please refer to Figure 6 The diagram illustrates a flow chart of the transmission mode switching method in an embodiment of this application. Switching the current transmission mode to the target data transmission mode includes:

[0080] S601. Determine the target communication link corresponding to the above target data transmission mode.

[0081] Specifically, when the target data transmission mode is the first transmission mode, the communication link corresponding to the first smart card is determined as the target communication link; when the target data transmission mode is the second transmission mode, the communication link corresponding to the second smart card is determined as the target communication link; when the target data transmission mode is the third transmission mode, both the communication link corresponding to the first smart card and the communication link corresponding to the second smart card are determined as the target communication link.

[0082] S602. Based on the above target data transmission mode, determine the transmission mode message, which is used to indicate the transmission mode used by the server after switching the transmission mode.

[0083] This application embodiment can configure a first identifier and a second identifier based on the aforementioned target data transmission mode. The first identifier is used to indicate whether the server uses the communication link corresponding to the first smart card to transmit data after switching transmission modes, and the second identifier is used to indicate whether the server uses the communication link corresponding to the second smart card to transmit data after switching transmission modes. The transmission mode message is generated based on a preset message header, the first identifier, the second identifier, and a preset message tail. Please refer to... Figure 7 The diagram illustrates a transmission mode message. The header and trailer are pre-agreed data between the client and server, ensuring that the server can identify the transmission mode indication message from the header and trailer upon receipt. The specific data for the header and trailer is not limited; it only requires agreement between the client and server. Therefore, in this embodiment, they are also referred to as preset message headers and preset message trailers. If the Cellular link 1 flag is 0, it indicates that the target transmission mode does not require the use of the communication link corresponding to the first smart card; otherwise, it indicates that the target transmission mode requires the use of the communication link corresponding to the first smart card. If the Cellular link 2 flag is 0, it indicates that the target transmission mode does not require the use of the communication link corresponding to the second smart card; otherwise, it indicates that the target transmission mode requires the use of the communication link corresponding to the second smart card.

[0084] S603. Using the target communication link, the transmission mode message is sent to the server, triggering the server to perform data interaction with the client based on the target communication link.

[0085] The client sends a transmission mode message to the server using the target communication link, and the server uses the target communication link to interact with the client. This ensures that both the client and the server naturally use the target communication link instead of other communication links that do not correspond to the target data transmission mode, thus naturally completing the switching of transmission modes.

[0086] This application fully leverages the advantages of dual-SIM dual-pass dual-data service communication mode. When the quality of an ongoing communication link is low, a suitable target data transmission mode can be selected promptly. Data transmission quality is ensured through transmission mode switching. This approach can be applied to services with low latency requirements, scenarios with weak network coverage, or service congestion. The transmission mode selection result is carried in a custom transmission mode message, achieving natural communication link switching. In this application embodiment, the client can independently detect the quality of two communication links, thereby determining whether it is in a weak network environment or experiencing service congestion, and automatically triggering communication link switching.

[0087] The embodiments of this application are applicable to low-latency services. Taking game services as an example, the embodiments of this application can ensure that the reliability of game data transmission in low-latency game services can be adaptively optimized to meet service quality requirements. Especially in scenarios where one of the communication links is of low quality, such as in scenarios with weak wireless signal coverage or congestion, it can adaptively switch to a high-quality communication link or transmit the same game data on two communication links at the same time, thereby improving the reliability of game data transmission.

[0088] Please refer to Figure 8 The diagram illustrates the transmission mode switching framework in a game scenario. The game client tests the quality of the communication link. If the communication link (Cellular1) of the first smart card is of good quality, it uses Cellular1 to send data; if the communication link (Cellular2) of the second smart card is of good quality, it uses Cellular2 to send data; otherwise, it uses both Cellular1 and Cellular2 to send data.

[0089] Please refer to Figure 9 This diagram illustrates the transmission mode switching process in a game scenario. If the client is using Cellular1 to transmit game data, it can use Cellular1 for bidirectional data interaction with the server. When the target data transmission mode is the second transmission mode, it's necessary to switch the current data transmission communication link from Cellular1 to Cellular2. This is done by sending a transmission mode message to the server using Cellular1, and the server using Cellular1 as specified in the transmission mode message to transmit data to the client, thus achieving the transmission mode switch. When the target data transmission mode is the third transmission mode, it's necessary to switch the current data transmission communication link to both Cellular1 and Cellular2. This is done by sending a transmission mode message to the server using both Cellular1 and Cellular2, and the server using both Cellular1 as specified in the transmission mode message to transmit data to the client, thus achieving the transmission mode switch.

[0090] The following are embodiments of the apparatus of this application, which can be used to execute embodiments of the method of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method of this application.

[0091] Please refer to Figure 10 This diagram illustrates a block diagram of a data transmission apparatus according to an embodiment of this application. The apparatus has the function of implementing the aforementioned data transmission method; this function can be implemented in hardware or by hardware executing corresponding software. The apparatus is applied to a client, which is in a dual-SIM dual-pass state, and both the first and second smart cards configured in the client are in data service communication mode. The apparatus may include:

[0092] The quality quantification module 1001 is used to determine a first quality parameter, which indicates the quality of the communication link of the first smart card.

[0093] Transmission control module 1002 is used to perform the following operations:

[0094] Based on the first quality parameter mentioned above, a target data transmission mode is determined, which includes a first transmission mode, a second transmission mode, or a third transmission mode.

[0095] Based on the aforementioned target data transmission mode, bidirectional data interaction is performed with the server.

[0096] The first transmission mode is a data transmission mode that uses only the communication link of the first smart card, the second transmission mode is a data transmission mode that uses only the communication link of the second smart card, and the third transmission mode is a data transmission mode that uses both the communication links of the first smart card and the second smart card simultaneously.

[0097] In one embodiment, the transmission control module 1002 is configured to perform the following operations:

[0098] When the first quality parameter indicates that the communication link of the first smart card is at a high quality, the first transmission mode is determined as the target data transmission mode.

[0099] If the first quality parameter indicates that the communication link of the first smart card is not at a high quality, a second quality parameter is determined, wherein the second quality parameter indicates the quality of the communication link of the second smart card.

[0100] When the second quality parameter indicates that the communication link of the second smart card is at a high quality, the second transmission mode is determined as the target data transmission mode.

[0101] If the second quality parameter indicates that the communication link of the second smart card is not in a high-quality state, the third transmission mode will be determined as the target data transmission mode.

[0102] In one embodiment, the transmission control module 1002 is configured to perform the following operations:

[0103] If the current transmission mode is inconsistent with the target data transmission mode, the current transmission mode will be switched to the target data transmission mode.

[0104] Using the target data transmission mode described above, perform bidirectional data interaction with the server described above;

[0105] The aforementioned current transmission mode refers to the data transmission mode currently being executed by the aforementioned client.

[0106] In one embodiment, the transmission control module 1002 is configured to perform the following operations:

[0107] Determine the target communication link corresponding to the above target data transmission mode;

[0108] Based on the above target data transmission mode, a transmission mode message is determined. The above transmission mode message is used to indicate the transmission mode used by the above server after switching the transmission mode.

[0109] Using the aforementioned target communication link, the aforementioned transmission mode message is sent to the aforementioned server, triggering the aforementioned server to perform data interaction with the aforementioned client based on the aforementioned target communication link.

[0110] In one embodiment, the transmission control module 1002 is configured to perform the following operations:

[0111] When the target data transmission mode is the first transmission mode, the communication link corresponding to the first smart card is determined as the target communication link.

[0112] When the target data transmission mode is the second transmission mode, the communication link corresponding to the second smart card is determined as the target communication link.

[0113] When the target data transmission mode is the third transmission mode, the communication link corresponding to the first smart card and the communication link corresponding to the second smart card are both determined as the target communication link.

[0114] In one embodiment, the transmission control module 1002 is configured to perform the following operations:

[0115] Based on the above target data transmission mode, a first identifier and a second identifier are configured. The first identifier is used to indicate whether the server uses the communication link corresponding to the first smart card to transmit data after switching the transmission mode. The second identifier is used to indicate whether the server uses the communication link corresponding to the second smart card to transmit data after switching the transmission mode.

[0116] The aforementioned transmission mode message is generated based on the preset message header, the aforementioned first identifier, the aforementioned second identifier, and the preset message tail.

[0117] In one embodiment, the quality quantification module 1001 is configured to perform the following operations:

[0118] Based on the communication standard corresponding to the communication link of the first smart card mentioned above, the indicator parameters used to quantify the quality of the communication link are determined.

[0119] Based on the above-mentioned index parameters, the first quality parameter is determined.

[0120] In one embodiment, the quality quantification module 1001 is configured to perform the following operations:

[0121] When the communication standard corresponding to the communication link of the first smart card is the 4G-LTE standard, the 4G reference signal receiving power and the 4G reference signal receiving quality are both determined to be the above-mentioned index parameters.

[0122] When the communication standard corresponding to the communication link of the first smart card is the 5G-NR standard, the received power of the 5G secondary synchronization reference signal and the signal-to-interference-plus-noise ratio of the 5G secondary synchronization single stream signal are both determined to be the above-mentioned index parameters.

[0123] In one embodiment, the quality quantification module 1001 is configured to perform the following operations:

[0124] When the communication standard corresponding to the communication link of the first smart card is the 4G-LTE standard, the first quality parameter is determined based on the lower of the first communication quality indicated by the 4G reference signal received power and the second communication quality indicated by the 4G reference signal received quality.

[0125] When the communication standard corresponding to the communication link of the first smart card is the 5G-NR standard, the first quality parameter is determined based on the lower of the third communication quality indicated by the received power of the 5G secondary synchronization reference signal and the fourth communication quality indicated by the signal-to-interference-plus-noise ratio of the 5G secondary synchronization single stream signal.

[0126] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0127] Please refer to Figure 11 This document illustrates a structural block diagram of a computer device provided in one embodiment of this application, used to perform the aforementioned data transmission method. Specifically:

[0128] Computer device 1100 includes a central processing unit (CPU) 1111, a system memory 1104 including random access memory (RAM) 1102 and read-only memory (ROM) 1103, and a system bus 1105 connecting the system memory 1104 and the CPU 1111. Computer device 1100 also includes a basic input / output system (I / O system) 1106 that facilitates information transfer between various devices within the computer, and a mass storage device 1107 for storing the operating system 1113, application programs 1114, and other program modules 1115.

[0129] The basic input / output system 1106 includes a display 1108 for displaying information and an input device 1109 for user input, such as a mouse or keyboard. Both the display 1108 and the input device 1109 are connected to the central processing unit 1111 via an input / output controller 1110 connected to the system bus 1105. The basic input / output system 1106 may also include the input / output controller 1110 for receiving and processing input from multiple other devices such as a keyboard, mouse, or electronic stylus. Similarly, the input / output controller 1110 also provides output to a display screen, printer, or other types of output devices.

[0130] Mass storage device 1107 is connected to central processing unit 1111 via a mass storage controller (not shown) connected to system bus 1105. Mass storage device 1107 and its associated computer-readable media provide non-volatile storage for computer device 1100. That is, mass storage device 1107 may include computer-readable media (not shown) such as hard disk or CD-ROM (Compact Disc Read-Only Memory) drive.

[0131] Without loss of generality, computer-readable media can include computer storage media and communication media. Computer storage media includes volatile and non-volatile, removable and non-removable media implemented using any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes RAM, ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash memory or other solid-state storage technologies, CD-ROM, DVD (Digital Video Disc) or other optical storage, magnetic tape cassettes, magnetic tape, disk storage, or other magnetic storage devices. Of course, those skilled in the art will recognize that computer storage media are not limited to the above-mentioned types. The system memory 1104 and mass storage device 1107 described above can be collectively referred to as memory.

[0132] According to various embodiments of this application, the computer device 1100 can also be connected to a remote computer on a network, such as the Internet. That is, the computer device 1100 can be connected to the network 1112 via the network interface unit 1111 connected to the system bus 1105, or the network interface unit 1111 can be used to connect to other types of networks or remote computer systems (not shown).

[0133] The aforementioned memory also includes a computer program stored in the memory and configured to be executed by one or more processors to implement the aforementioned data transmission method.

[0134] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one instruction, at least one program, a code set, or an instruction set. When executed by a processor, the at least one instruction, the at least one program, the code set, or the instruction set implements the data transmission method. The method is applied to a client, which is in a dual-SIM dual-pass state, and both the first smart card and the second smart card configured in the client are in data service communication mode. The method includes:

[0135] A first quality parameter is determined, wherein the first quality parameter indicates the quality of the communication link of the first smart card;

[0136] Based on the first quality parameter mentioned above, a target data transmission mode is determined, which includes a first transmission mode, a second transmission mode, or a third transmission mode.

[0137] Based on the aforementioned target data transmission mode, bidirectional data interaction is performed with the server.

[0138] The first transmission mode is a data transmission mode that uses only the communication link of the first smart card, the second transmission mode is a data transmission mode that uses only the communication link of the second smart card, and the third transmission mode is a data transmission mode that uses both the communication links of the first smart card and the second smart card simultaneously.

[0139] In one embodiment, determining the target data transmission mode based on the first quality parameter includes:

[0140] When the first quality parameter indicates that the communication link of the first smart card is at a high quality, the first transmission mode is determined as the target data transmission mode.

[0141] If the first quality parameter indicates that the communication link of the first smart card is not at a high quality, a second quality parameter is determined, wherein the second quality parameter indicates the quality of the communication link of the second smart card.

[0142] When the second quality parameter indicates that the communication link of the second smart card is at a high quality, the second transmission mode is determined as the target data transmission mode.

[0143] If the second quality parameter indicates that the communication link of the second smart card is not in a high-quality state, the third transmission mode will be determined as the target data transmission mode.

[0144] In one exemplary implementation, the bidirectional data interaction with the server based on the target data transmission mode includes:

[0145] If the current transmission mode is inconsistent with the target data transmission mode, the current transmission mode will be switched to the target data transmission mode.

[0146] Using the target data transmission mode described above, perform bidirectional data interaction with the server described above;

[0147] The aforementioned current transmission mode refers to the data transmission mode currently being executed by the aforementioned client.

[0148] In one exemplary embodiment, switching the current transmission mode to the target data transmission mode includes:

[0149] Determine the target communication link corresponding to the above target data transmission mode;

[0150] Based on the above target data transmission mode, a transmission mode message is determined. The above transmission mode message is used to indicate the transmission mode used by the above server after switching the transmission mode.

[0151] Using the aforementioned target communication link, the aforementioned transmission mode message is sent to the aforementioned server, triggering the aforementioned server to perform data interaction with the aforementioned client based on the aforementioned target communication link.

[0152] In one exemplary embodiment, determining the target communication link corresponding to the target data transmission mode includes:

[0153] When the target data transmission mode is the first transmission mode, the communication link corresponding to the first smart card is determined as the target communication link.

[0154] When the target data transmission mode is the second transmission mode, the communication link corresponding to the second smart card is determined as the target communication link.

[0155] When the target data transmission mode is the third transmission mode, the communication link corresponding to the first smart card and the communication link corresponding to the second smart card are both determined as the target communication link.

[0156] In one exemplary implementation, the above-mentioned determination of the transmission mode message based on the target data transmission mode includes:

[0157] Based on the above target data transmission mode, a first identifier and a second identifier are configured. The first identifier is used to indicate whether the server uses the communication link corresponding to the first smart card to transmit data after switching the transmission mode. The second identifier is used to indicate whether the server uses the communication link corresponding to the second smart card to transmit data after switching the transmission mode.

[0158] The aforementioned transmission mode message is generated based on the preset message header, the aforementioned first identifier, the aforementioned second identifier, and the preset message tail.

[0159] In one exemplary implementation, determining the first quality parameter includes:

[0160] Based on the communication standard corresponding to the communication link of the first smart card mentioned above, the indicator parameters used to quantify the quality of the communication link are determined.

[0161] Based on the above-mentioned index parameters, the first quality parameter is determined.

[0162] In one exemplary embodiment, the communication standard corresponding to the communication link based on the first smart card determines the index parameters used to quantify the quality of the communication link, including:

[0163] When the communication standard corresponding to the communication link of the first smart card is the 4G-LTE standard, the 4G reference signal receiving power and the 4G reference signal receiving quality are both determined to be the above-mentioned index parameters.

[0164] When the communication standard corresponding to the communication link of the first smart card is the 5G-NR standard, the received power of the 5G secondary synchronization reference signal and the signal-to-interference-plus-noise ratio of the 5G secondary synchronization single stream signal are both determined to be the above-mentioned index parameters.

[0165] In one exemplary embodiment, determining the first quality parameter based on the aforementioned index parameters includes:

[0166] When the communication standard corresponding to the communication link of the first smart card is the 4G-LTE standard, the first quality parameter is determined based on the lower of the first communication quality indicated by the 4G reference signal received power and the second communication quality indicated by the 4G reference signal received quality.

[0167] When the communication standard corresponding to the communication link of the first smart card is the 5G-NR standard, the first quality parameter is determined based on the lower of the third communication quality indicated by the received power of the 5G secondary synchronization reference signal and the fourth communication quality indicated by the signal-to-interference-plus-noise ratio of the 5G secondary synchronization single stream signal.

[0168] Optionally, the computer-readable storage medium may include: ROM (Read Only Memory), RAM (Random Access Memory), SSD (Solid State Drives), or optical disc, etc. The random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0169] In an exemplary embodiment, a computer program product or computer program is also provided, which includes 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 data transmission method described above.

[0170] It should be understood that "multiple" as used herein refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. Furthermore, the step numbers described herein are merely illustrative of one possible execution order. In some other embodiments, the steps may not be executed in numerical order, such as two steps with different numbers being executed simultaneously, or two steps with different numbers being executed in the reverse order of the illustration. This application does not limit this.

[0171] In addition, in the specific embodiments of this application, data such as user information are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0172] The above are merely exemplary embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application shall be included within the protection scope of this application.

Claims

1. A data transmission method, characterized in that, The method is applied to a client, which is in a dual-SIM dual-pass state, and both the first smart card and the second smart card configured in the client are in data service communication mode. The method includes: A first quality parameter is determined, which indicates the quality of the communication link of the first smart card; Based on the first quality parameter, a target data transmission mode is determined, wherein the target data transmission mode includes a first transmission mode, a second transmission mode, or a third transmission mode. Based on the target data transmission mode, bidirectional data interaction is performed with the server; The first transmission mode is a data transmission mode that uses only the communication link of the first smart card, the second transmission mode is a data transmission mode that uses only the communication link of the second smart card, and the third transmission mode is a data transmission mode that uses both the communication links of the first smart card and the communication links of the second smart card.

2. The method according to claim 1, characterized in that, Determining the target data transmission mode based on the first quality parameter includes: When the first quality parameter indicates that the communication link of the first smart card is at a high quality, the first transmission mode is determined as the target data transmission mode; If the first quality parameter indicates that the communication link of the first smart card is not at a high quality, a second quality parameter is determined, wherein the second quality parameter indicates the quality of the communication link of the second smart card. When the second quality parameter indicates that the communication link of the second smart card is at a high quality, the second transmission mode is determined as the target data transmission mode; If the second quality parameter indicates that the communication link of the second smart card is not in a high-quality state, the third transmission mode is determined as the target data transmission mode.

3. The method according to claim 1 or 2, characterized in that, The bidirectional data interaction with the server based on the target data transmission mode includes: If the current transmission mode is inconsistent with the target data transmission mode, the current transmission mode will be switched to the target data transmission mode. Using the target data transmission mode, perform bidirectional data interaction with the server; The current transmission mode is the data transmission mode that the client is currently executing.

4. The method according to claim 3, characterized in that, Switching the current transmission mode to the target data transmission mode includes: Determine the target communication link corresponding to the target data transmission mode; Based on the target data transmission mode, a transmission mode message is determined, which is used to indicate the transmission mode used by the server after switching transmission modes. Using the target communication link, the transmission mode message is sent to the server, triggering the server to perform data interaction with the client based on the target communication link.

5. The method according to claim 4, characterized in that, Determining the target communication link corresponding to the target data transmission mode includes: When the target data transmission mode is the first transmission mode, the communication link corresponding to the first smart card is determined as the target communication link; When the target data transmission mode is the second transmission mode, the communication link corresponding to the second smart card is determined as the target communication link; When the target data transmission mode is the third transmission mode, the communication link corresponding to the first smart card and the communication link corresponding to the second smart card are both determined as the target communication link.

6. The method according to claim 4, characterized in that, The step of determining the transmission mode message based on the target data transmission mode includes: Based on the target data transmission mode, a first identifier and a second identifier are configured. The first identifier is used to indicate whether the server uses the communication link corresponding to the first smart card to transmit data after switching the transmission mode. The second identifier is used to indicate whether the server uses the communication link corresponding to the second smart card to transmit data after switching the transmission mode. The transmission mode message is generated based on the preset message header, the first identifier, the second identifier, and the preset message tail.

7. The method according to claim 2, characterized in that, Determining the first quality parameter includes: Based on the communication standard corresponding to the communication link of the first smart card, determine the index parameters used to quantify the quality of the communication link. Based on the aforementioned index parameters, the first quality parameter is determined.

8. The method according to claim 7, characterized in that, The communication standard corresponding to the communication link based on the first smart card determines the index parameters used to quantify the quality of the communication link, including: When the communication standard corresponding to the communication link of the first smart card is the 4G-LTE standard, the 4G reference signal receiving power and the 4G reference signal receiving quality are both determined as the index parameters. When the communication standard corresponding to the communication link of the first smart card is the 5G-NR standard, the received power of the 5G secondary synchronization reference signal and the signal-to-interference-plus-noise ratio of the 5G secondary synchronization single stream signal are both determined as the index parameters.

9. The method according to claim 8, characterized in that, Determining the first quality parameter based on the index parameters includes: When the communication standard corresponding to the communication link of the first smart card is the 4G-LTE standard, the first quality parameter is determined based on the lower of the first communication quality indicated by the 4G reference signal received power and the second communication quality indicated by the 4G reference signal received quality. When the communication standard corresponding to the communication link of the first smart card is the 5G-NR standard, the first quality parameter is determined based on the lower of the third communication quality indicated by the received power of the 5G secondary synchronization reference signal and the fourth communication quality indicated by the signal-to-interference-plus-noise ratio of the 5G secondary synchronization single stream signal.

10. A data transmission device, characterized in that, The data transmission device is applied to a client, which is in a dual-SIM dual-pass state, and both the first smart card and the second smart card configured in the client are in data service communication mode. The data transmission device includes: A quality quantification module is used to determine a first quality parameter, which indicates the quality of the communication link of the first smart card; The transmission control module is used to perform the following operations: Based on the first quality parameter, a target data transmission mode is determined, wherein the target data transmission mode includes a first transmission mode, a second transmission mode, or a third transmission mode. Based on the target data transmission mode, bidirectional data interaction is performed with the server; The first transmission mode is a data transmission mode that uses only the communication link of the first smart card, the second transmission mode is a data transmission mode that uses only the communication link of the second smart card, and the third transmission mode is a data transmission mode that uses both the communication links of the first smart card and the communication links of the second smart card.

11. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one instruction, at least one program, a code set, or an instruction set, the at least one instruction, the at least one program, the code set, or the instruction set being loaded and executed by the processor to implement the data transmission method as described in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the data transmission method as described in any one of claims 1 to 9.

13. A computer program product, characterized in that, The computer program product includes computer instructions, the processor of the computer device reads the computer instructions, and the processor of the computer device executes the computer instructions to implement the data transmission method as described in any one of claims 1 to 9.