Data transmission method and device, equipment and storage medium

By selecting the network parameters and target operating modes in electronic devices in electronic devices, intelligent selecting SIM cards, transmitting corresponding business data, solving the problem of cumbersome operation of SIM cards in existing technologies, improving the user experience and satisfaction The ability of users to diversify.

CN119364319AInactive Publication Date: 2025-01-24REALME MOBILE TELECOMM SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310915401.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-24
Publication Date
2025-01-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In a multi-card environment, the selection of SIM cards for existing electronic devices is complicated and the user experience is poor, making it difficult to meet the diverse needs of users.

Method used

By in the target operating mode of electronic equipment, according to the selection strategies of the network parameters and target operating modes of each SIM card, the first SIM card and the second SIM card are intelligently selected, and the application business data and the application business data and the application business data of the target operation mode and Application business data that does not belong to the target operating mode.

Benefits of technology

It realizes the intelligence, personalization and diversified selection of SIM cards, simplifies user operations and meets the diverse needs of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119364319A_ABST
    Figure CN119364319A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data transmission method and device, equipment and a storage medium, and the data transmission method can comprise the steps: determining a first SIM card from a plurality of SIM cards according to network parameters corresponding to each SIM card and a selection strategy corresponding to a target operation mode under the condition that electronic equipment is in a target operation mode; transmitting service data of the first application belonging to the target operation mode through the first SIM card; and transmitting service data of a second application not belonging to the target operation mode through a second SIM card, wherein the second SIM card is other SIM cards different from the first SIM card in the plurality of SIM cards. By implementing the method, the selection of the SIM card can be more intelligent, personalized and diversified, the user operation is simplified, and the diversified requirements of the user can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] At present, electronic devices with multiple Subscriber Identity Modules (SIM cards) usually set one of the SIM cards as the primary card, and the other SIM cards are set as secondary cards. When the electronic device makes a call or surfs the Internet, the primary card is selected by default to carry network services, and any secondary card can be manually selected to carry network services. The operation is cumbersome and the user experience is poor. Summary of the invention

[0003] The embodiments of the present application provide a data transmission method, apparatus, device and storage medium, which can make the selection of SIM cards more intelligent, personalized and diversified, simplify user operations, and help meet the diverse needs of users.

[0004] A first aspect of an embodiment of the present application provides a data transmission method, the method being applicable to an electronic device, the electronic device comprising a plurality of subscriber identity module SIM cards, the method comprising:

[0005] When the electronic device is in a target operation mode, determining a first SIM card from the plurality of subscriber identity module SIM cards according to network parameters corresponding to each of the SIM cards and a selection strategy corresponding to the target operation mode, wherein the selection strategy corresponding to the target operation mode refers to a method of selecting a SIM card for an application related to a user demand corresponding to the target operation mode;

[0006] transmitting service data of a first application belonging to the target operation mode through the first SIM card;

[0007] The service data of a second application that does not belong to the target operation mode is transmitted through a second SIM card, where the second SIM card is another SIM card among the multiple subscriber identity module SIM cards that is different from the first SIM card.

[0008] A second aspect of an embodiment of the present application provides a data transmission device, the device being on an electronic device, the electronic device including a plurality of SIM cards, the device comprising:

[0009] a card selection unit, configured to determine, when the electronic device is in a target operation mode, a first SIM card from the plurality of SIM cards according to network parameters corresponding to each of the SIM cards and a selection strategy corresponding to the target operation mode, wherein the selection strategy corresponding to the target operation mode refers to a method of selecting a SIM card for an application related to a user demand corresponding to the target operation mode;

[0010] a data transmission unit, configured to transmit service data of a first application belonging to the target operation mode through the first SIM card; and to transmit service data of a second application not belonging to the target operation mode through a second SIM card, wherein the second SIM card is another SIM card among the multiple SIM cards different from the first SIM card.

[0011] A third aspect of the embodiments of the present application provides an electronic device,

[0012] A memory storing executable program code;

[0013] and a processor coupled to the memory;

[0014] The processor calls the executable program code stored in the memory, and when the executable program code is executed by the processor, the processor implements the method described in the first aspect of the embodiment of the present application.

[0015] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium having executable program code stored thereon. When the executable program code is executed by a processor, the method described in the first aspect of the embodiment of the present application is implemented.

[0016] A fifth aspect of an embodiment of the present application discloses a computer program product. When the computer program product runs on a computer, the computer executes the method described in the first aspect of the embodiment of the present application.

[0017] A sixth aspect of an embodiment of the present application discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes the method described in the first aspect of the embodiment of the present application.

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

[0019] In an embodiment of the present application, when the electronic device is in a target operation mode, a first SIM card is determined from multiple SIM cards according to network parameters corresponding to each SIM card and a selection strategy corresponding to the target operation mode; service data of a first application belonging to the target operation mode is transmitted through the first SIM card; service data of a second application not belonging to the target operation mode is transmitted through the second SIM card, and the second SIM card is another SIM card among the multiple SIM cards different from the first SIM card.

[0020] By implementing this method, for the target operation mode of the electronic device, a corresponding SIM card can be selected according to the selection strategy corresponding to the target operation mode, and then the business data of the application belonging to the target operation mode can be handed over to the selected SIM card for transmission, which can make the selection of SIM card more intelligent, personalized and diversified, simplify user operations, and help meet the diverse needs of users. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments and the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and other drawings can be obtained based on these drawings.

[0022] Figure 1A It is a scenario diagram of the data transmission method disclosed in the embodiment of the present application;

[0023] Figure 1B It is a structural block diagram of an electronic device 10 disclosed in an embodiment of the present application;

[0024] Figure 2 It is a flowchart of the data transmission method disclosed in the embodiment of the present application;

[0025] Figure 3 is another flowchart of the data transmission method disclosed in the embodiment of the present application;

[0026] Figure 4 It is a hardware diagram of the data transmission device disclosed in the embodiment of the present application;

[0027] Figure 5 It is a structural diagram of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0028] The embodiments of the present application provide a data transmission method, apparatus, device and storage medium, which can make the selection of SIM cards more intelligent, personalized and diversified, simplify user operations, and help meet the diverse needs of users.

[0029] In order to make the technical personnel in the technical field better understand the scheme of the present application, the technical scheme in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, not all of the embodiments. Based on the embodiments in the present application, they should all fall within the scope of protection of the present application.

[0030] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. For example, the first SIM card and the second SIM card are used to distinguish different SIM cards, and the order thereof is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference.

[0031] It should be noted that, in this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0032] See also Figure 1A , Figure 1A It is a scenario diagram of the data transmission method disclosed in the embodiment of this application. Figure 1A The illustrated scenario includes an electronic device 10 .

[0033] Among them, the electronic device 10 may include general handheld screen electronic devices, such as mobile phones, smart phones, portable terminals, terminals, personal digital assistants (PDA), portable multimedia players (Personal Media Player, PMP) devices, laptop computers, notebooks (Note Pad), wireless broadband (Wireless Broadband, Wibro) terminals, tablet computers (Personal Computer, PC), smart PCs, sales terminals (Point of Sales, POS) and car computers, etc.

[0034] The electronic device 10 may also include a wearable device. A wearable device is a portable electronic device that can be worn directly on the user or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but can also realize powerful intelligent functions through software support, data interaction, and cloud server interaction, such as: computing function, positioning function, and alarm function. At the same time, they can also connect to mobile phones and various terminals. Wearable devices may include but are not limited to watches supported by wrists (such as watches, wrists, etc.), shoes supported by feet (such as shoes, socks or other products worn on the legs), glasses supported by the head (such as glasses, helmets, headbands, etc.), and various non-mainstream product forms such as smart clothing, school bags, crutches, accessories, etc.

[0035] The structure of the electronic device 10 is first described below:

[0036] In applying for the present technical solution, the electronic device 10 may include multiple subscriber identity modules (SIM cards), and the multiple SIM cards may be physical SIM cards or virtual SIM cards, which is not limited in the embodiments of the present application.

[0037] The electronic device 10 may include one or more transceiver modules, which is not limited in the present embodiment. The transceiver module is used to implement the transmission and reception of service data corresponding to the SIM card on the electronic device 10.

[0038] When the electronic device 10 includes multiple transceiver modules, different transceiver modules work completely independently. Each of the multiple transceiver modules corresponds to one SIM card among the multiple SIM cards.

[0039] Each transceiver module may include a transmitting unit and a receiving unit. The transmitting unit is used to send the uplink service data corresponding to the SIM card, and the receiving unit is used to receive the downlink service data corresponding to the SIM card. The transmitting unit includes a power amplifier, a duplexer / surface acoustic filter, a switch, and a coupler; the receiving unit includes a low noise amplifier, a duplexer / surface acoustic filter, and a switch.

[0040] Each transceiver module can also interact with the RF transceiver and the front-end switch switching module. Among them, the RF transceiver is used for modulation and demodulation of RF signals. The front-end switch switching module is used to realize the flexible switching of the antennas of each SIM card to find a better spatial radiation path and achieve the best transmission performance. The number of antennas of each SIM card can be 2, 4 or more, and this application does not limit the number of antennas of each SIM card.

[0041] For example, the electronic device 10 is an electronic device supporting dual SIM dual access, and the electronic device 10 may include a SIM card 1 and a SIM card 2. Figure 1B , Figure 1B 1 is a block diagram of an electronic device 10 disclosed in an embodiment of the present application. Figure 1B As shown, SIM card 1 corresponds to the first transceiver module, antenna 1 and antenna 2; SIM card 2 corresponds to the second transceiver module, antenna 3 and antenna 4. The first transceiver module includes a first transmitting unit and a first receiving unit, and the second transceiver module includes a second transmitting unit and a second receiving unit. The first transceiver module is used to send and receive service data corresponding to SIM card 1, and the second transceiver module is used to send and receive service data corresponding to SIM card 2.

[0042] When the electronic device 10 is in the target operation mode, a first SIM card can be determined from multiple SIM cards according to the network parameters corresponding to each SIM card and the selection strategy corresponding to the target operation mode; the service data of the first application belonging to the target operation mode is transmitted through the first SIM card; and the service data of the second application not belonging to the target operation mode is transmitted through a second SIM card different from the first SIM card.

[0043] By implementing this method, for the target operation mode of the electronic device, a corresponding SIM card can be selected according to the selection strategy corresponding to the target operation mode, and then the business data of the application belonging to the target operation mode can be handed over to the selected SIM card for transmission, which can make the selection of SIM card more intelligent, personalized and diversified, simplify user operations, and help meet the diverse needs of users.

[0044] The technical solution of the present application is further described below in conjunction with specific embodiments.

[0045] See also Figure 2 , Figure 2 FIG. 1 is a flowchart of the data transmission method disclosed in the embodiment of the present application. Figure 2 The data transmission method shown may include the following steps:

[0046] 201. When the electronic device is in a target operation mode, determine a first SIM card from multiple SIM cards according to network parameters corresponding to each SIM card and a selection strategy corresponding to the target operation mode.

[0047] In the embodiment of the present application, the electronic device may pre-set at least one target operation mode and a selection strategy corresponding to each target operation mode. The target operation mode may refer to an operation mode that meets the personalized card cutting needs of the user, and the target operation mode currently in which the electronic device is located may be selected from at least one target operation mode pre-set by the electronic device according to the user's needs.

[0048] In some embodiments, the target operation mode of the electronic device may be triggered by a user operation. Optionally, the user operation may include but is not limited to a touch operation, a voice operation, and a gesture operation.

[0049] Exemplarily, the target operation modes preset by the electronic device include operation mode 1 and operation mode 2, operation mode 1 is triggered by the first gesture operation, and operation mode 2 is triggered by the second gesture operation. When the electronic device detects the first gesture operation, the electronic device is controlled to be in operation mode 1, and when the electronic device detects the second gesture operation, the electronic device is controlled to be in operation mode 2.

[0050] In some embodiments, the target operation mode may be triggered by starting a first application belonging to the target operation mode, wherein the first application belonging to the target operation mode may refer to an application related to a user demand corresponding to the target operation mode.

[0051] In the embodiment of the present application, user requirements may include but are not limited to requirements regarding real-time performance, traffic price, or traffic size.

[0052] Exemplarily, the target operating modes pre-set for the electronic device include operating mode 1 and operating mode 2, applications belonging to operating mode 1 include application 1, and applications belonging to operating mode 2 include application 2. When the electronic device starts application 1, the electronic device is controlled to be in operating mode 1, and when the electronic device starts application 1, the electronic device is controlled to be in operating mode 2.

[0053] In some embodiments, the target operating mode may include but is not limited to any of the following: an instant interactive mode for real-time requirements, a safe traffic mode for traffic size requirements, a traffic saving mode for traffic cost requirements, etc.

[0054] Among them, the real-time interaction mode refers to an operation mode that requires timely feedback response to the user's interaction, such as game mode, video call mode, etc.

[0055] Safe traffic mode refers to an operating mode in which business data is transmitted through a SIM card with sufficient traffic. In safe traffic mode, the probability of the SIM card's traffic usage exceeding the package traffic can be reduced.

[0056] The SIM card with sufficient traffic may refer to a SIM card with the largest remaining traffic among multiple SIM cards of the electronic device, or may refer to a SIM card with a remaining traffic greater than a specified traffic threshold among multiple SIM cards of the electronic device.

[0057] Traffic saving mode refers to an operating mode in which business data is transmitted through a SIM card with low traffic charges. In traffic saving mode, the traffic usage fee can be reduced.

[0058] The SIM card with low traffic fee may refer to a SIM card with the lowest traffic fee among multiple SIM cards of the electronic device, or may refer to a SIM card with a traffic fee less than or equal to a fee threshold among multiple SIM cards of the electronic device.

[0059] The selection strategy corresponding to the target operation mode may refer to a method of selecting a SIM card for an application related to a user requirement corresponding to the target operation mode.

[0060] The network parameters may refer to parameters related to user requirements corresponding to the target operation mode.

[0061] For example, if the user demand is about real-time, the network parameters may include network latency and / or the number of real-time applications corresponding to the business data being transmitted; if the user demand is about traffic price, the network parameters include traffic fee; if the user demand is about traffic size, the network parameters include remaining traffic.

[0062] When the target operation mode is the real-time interactive mode, the network parameters may include network latency and / or the number of real-time applications corresponding to the business data being transmitted.

[0063] Network latency refers to the time it takes for a message or packet to be transmitted from one end of the network to the other.

[0064] The method for obtaining the number of real-time applications corresponding to the business data being transmitted may be: determining an application set corresponding to the business data being transmitted, and determining the number of real-time applications according to the application set. Real-time applications refer to applications with high real-time requirements, such as online games, instant messaging applications, etc.

[0065] When the network parameters include network delay, the selection strategy corresponding to the instant interaction mode includes selecting a SIM card with the lowest network delay among multiple SIM cards. Determining the first SIM card from the multiple SIM cards according to the network parameters corresponding to each SIM card and the selection strategy corresponding to the target operation mode may include:

[0066] According to the network delays corresponding to the various SIM cards, a SIM card with the lowest network delay is selected from the multiple SIM cards as the first SIM card; the network delay corresponding to the second SIM card is greater than the network delay corresponding to the first SIM card.

[0067] By implementing this method, a SIM card with the lowest latency is selected as the first SIM card corresponding to the instant interaction mode, which can ensure the transmission rate of service data and thus facilitate timely response to user interaction operations.

[0068] When the network parameters include the number of corresponding real-time applications, the selection strategy corresponding to the instant interaction mode includes selecting a SIM card with the least number of corresponding real-time applications from multiple SIM cards. Determining the first SIM card from multiple SIM cards according to the network parameters corresponding to each SIM card and the selection strategy corresponding to the target operation mode may include:

[0069] According to the number of real-time applications corresponding to each SIM card, a SIM card with the least number of corresponding real-time applications is selected from multiple SIM cards as the first SIM card; the number of real-time applications corresponding to the second SIM card is greater than that corresponding to the first SIM card.

[0070] By implementing this method, the SIM card corresponding to the least number of real-time applications is selected as the first SIM card corresponding to the instant interaction mode, which can ensure the transmission bandwidth of service data and thus facilitate timely response to user interaction operations.

[0071] When the network parameters include network latency and the number of corresponding real-time applications, the selection strategy corresponding to the instant interaction mode includes selecting a SIM card with the largest real-time score among multiple SIM cards. Determining the first SIM card from multiple SIM cards according to the network parameters corresponding to each SIM card and the selection strategy corresponding to the target operation mode may include:

[0072] Determine the real-time score corresponding to each SIM card according to the network delay corresponding to each SIM card and the number of real-time applications;

[0073] A SIM card with the largest real-time score is selected from the multiple SIM cards as the first SIM card; and the real-time score corresponding to the second SIM card is smaller than the real-time score corresponding to the first SIM card.

[0074] The target SIM card is any SIM card of an electronic device. The following takes the target SIM card as an example to illustrate the calculation process of the real-time score corresponding to the SIM card:

[0075] Determine a target delay interval in which the network delay corresponding to the target SIM card is located from a plurality of preset delay intervals, and use a score corresponding to the target delay interval as a first score;

[0076] Determine a target quantity interval in which the number of real-time applications corresponding to each SIM card is located from a plurality of preset quantity intervals, and use the score corresponding to the target quantity interval as the second score;

[0077] The first score and the second score are weighted and summed to obtain a real-time score corresponding to the target SIM card.

[0078] Through the implementation of the present application, when selecting the first SIM card corresponding to the instant interaction mode, the network delay and the number of corresponding real-time applications are comprehensively considered, so that the transmission rate and transmission bandwidth of the service data can be guaranteed at the same time, which is conducive to timely responding to the user's interactive operations.

[0079] When the target operating mode includes a safe traffic mode, the network parameters may include a residual traffic.

[0080] In some embodiments, the selection strategy corresponding to the safety traffic mode includes selecting a SIM card with the largest remaining traffic among multiple SIM cards.

[0081] Further, determining the first SIM card from the plurality of SIM cards according to the network parameters corresponding to each SIM card and the selection strategy corresponding to the target operation mode may include:

[0082] According to the remaining traffic of each SIM card, a SIM card with the largest remaining traffic is selected from multiple SIM cards as the first SIM card; the remaining traffic corresponding to the second SIM card is less than the remaining traffic corresponding to the first SIM card.

[0083] In some embodiments, the selection strategy corresponding to the safety traffic mode includes selecting a SIM card among multiple SIM cards whose remaining traffic is greater than a traffic threshold.

[0084] Further, determining the first SIM card from the plurality of SIM cards according to the network parameters corresponding to each SIM card and the selection strategy corresponding to the target operation mode may include:

[0085] According to the remaining traffic of each SIM card, a SIM card with remaining traffic greater than a traffic threshold is selected from multiple SIM cards as the first SIM card; and the remaining traffic corresponding to the second SIM card is less than or equal to the traffic threshold.

[0086] The remaining traffic of the SIM card can be obtained by sending a traffic acquisition request to the server of the corresponding operator.

[0087] By implementing the method, a SIM card with a larger remaining flow is selected as the first SIM card corresponding to the safe flow mode, so that the flow of the first SIM card can be guaranteed.

[0088] When the target operating mode includes a traffic cost saving mode, the network parameters may include traffic costs.

[0089] In some embodiments, the selection strategy corresponding to the traffic cost saving mode includes selecting a SIM card with the lowest traffic cost among multiple SIM cards.

[0090] Further, determining the first SIM card from the plurality of SIM cards according to the network parameters corresponding to each SIM card and the selection strategy corresponding to the target operation mode may include:

[0091] According to the traffic charges corresponding to each SIM card, a SIM card with the lowest traffic charge is selected from multiple SIM cards as the first SIM card; the traffic charge corresponding to the second SIM card is greater than the traffic charge corresponding to the first SIM card.

[0092] In some embodiments, the selection strategy corresponding to the traffic cost saving mode includes selecting a SIM card whose traffic cost is less than or equal to a cost threshold among multiple SIM cards.

[0093] Further, determining the first SIM card from the plurality of SIM cards according to the network parameters corresponding to each SIM card and the selection strategy corresponding to the target operation mode may include:

[0094] According to the traffic charges corresponding to each SIM card, a SIM card whose traffic charge is less than or equal to a charge threshold is selected from multiple SIM cards as the first SIM card; the traffic charge corresponding to the second SIM card is greater than the charge threshold.

[0095] 202. Transmit service data of a first application belonging to a target operation mode through a first SIM card.

[0096] In some embodiments, the electronic device may pre-store an application identification set corresponding to the target operation mode, and the application identification set may include at least one application identification. The application identification is used to uniquely identify an application, and the application identification may include but is not limited to at least one of the following: numbers, letters, and special characters.

[0097] In some embodiments, the application identification set corresponding to the target operating mode can be set by the electronic device or by the user, which is not limited in the embodiments of the present application.

[0098] It is understandable that, when the application identification set corresponding to the target operation mode is set by the user, the electronic device can output a setting interface corresponding to each target operation mode for the user to set the application belonging to the target operation mode.

[0099] In some embodiments, before step 202, the first application belonging to each target operating mode may also be determined according to the application identification set corresponding to each target operating mode.

[0100] In some embodiments, the first application belonging to the real-time interaction mode may include an application with relatively high real-time requirements, such as an online game or an instant messaging application.

[0101] In some embodiments, the first application belonging to the safe traffic mode can be an application whose traffic consumption per unit time is greater than a traffic threshold, such as a short video application, an online game application, or a video playback application.

[0102] In some embodiments, the first application belonging to the traffic saving mode may also be an application whose traffic consumption per unit time is greater than a traffic threshold.

[0103] In some embodiments, the first SIM card may correspond to the first transceiver module, and transmitting the service data of the first application belonging to the target operation mode through the first SIM card may include: transmitting the service data of the first application belonging to the target operation mode through the first transceiver module corresponding to the first SIM card.

[0104] 203. Transmit service data of a second application that does not belong to the target operation mode through a second SIM card, where the second SIM card is another SIM card among the multiple SIM cards that is different from the first SIM card.

[0105] It can be understood that the service data of the second application can be transmitted by any SIM card except the first SIM card.

[0106] Exemplarily, the electronic device includes two SIM cards, namely SIM card 1 and SIM card 2. SIM card 1 is a first SIM card, and the second SIM card is SIM card 2.

[0107] Exemplarily, the electronic device includes three SIM cards, namely SIM card 1, SIM card 2 and SIM card 3. SIM card 1 is the first SIM card, and the second SIM card is SIM card 2 or SIM card 3.

[0108] In some embodiments, when the electronic device is not in the target operation mode, it can also determine whether any application belongs to the free-flow application corresponding to the designated SIM card when starting any application. If it does, the business data of the application is transmitted through the designated SIM card.

[0109] In some embodiments, the electronic device may include at least one free-traffic SIM card. A free-traffic SIM card refers to a SIM card that does not deduct traffic charges when transmitting business data of certain applications. These applications that use the free-traffic SIM card to transmit business data and do not incur traffic charges are the free-traffic applications corresponding to the free-traffic SIM card.

[0110] Among them, each free-flow SIM card may correspond to a free-flow application identification set, and the free-flow application identification set may include at least one application identification, and one application identification uniquely identifies one free-flow application.

[0111] Determining whether any of the above-mentioned applications belongs to the free-flow application corresponding to the designated SIM card may include: searching for the application identifier of any of the above-mentioned applications in the free-flow application identifier set of each free-flow SIM card; if found, the free-flow SIM card corresponding to the free-flow application identifier set containing the application identifier of any of the above-mentioned applications is used as the designated SIM card; otherwise, it is determined that any of the above-mentioned applications does not belong to the free-flow application.

[0112] By implementing this method, when the electronic device is not in the target operating mode, the transmission of the service data of the free-flow application can be automatically handed over to the corresponding SIM card for execution, without the user having to manually switch the card, and the user's experience is better.

[0113] Through the implementation methods of the present application, for the target operating mode of the electronic device, a corresponding SIM card can be selected according to the selection strategy corresponding to the target operating mode, and then the business data of the application belonging to the target operating mode can be handed over to the selected SIM card for transmission, which can make the selection of SIM card more intelligent, personalized and diversified, simplify user operations, and help meet the diverse needs of users.

[0114] See also Figure 3 , Figure 3 FIG. 1 is another flowchart of the data transmission method disclosed in the embodiment of the present application. Figure 3 The data transmission method shown may include the following steps:

[0115] 301. When the electronic device is in an instant interaction mode, select a SIM card with the lowest network delay from multiple SIM cards as a first SIM card according to the network delays corresponding to the respective SIM cards.

[0116] For a detailed description of step 301, see Figure 2 The description below step 201 is not repeated here.

[0117] 302. Determine a third application that is transmitting service data through the first SIM card.

[0118] 303. Transmit service data of a third application through a second SIM card; wherein the second SIM card is another SIM card among multiple SIM cards that is different from the first SIM card.

[0119] Among them, the third application is an application that does not belong to the instant interaction mode.

[0120] It is understandable that after determining the first SIM card in the instant interaction mode, all the service data being transmitted by the first SIM card can be transmitted to other SIM cards, which can effectively alleviate the data transmission pressure of the first SIM card and further help to ensure the real-time performance of the first application.

[0121] In some embodiments, after step 303, the application set that is transmitting service data through the first SIM card may also be determined; if a fourth application with a bandwidth occupancy rate greater than a specified threshold exists in the application set, the service data of the fourth application is transmitted through the second SIM card.

[0122] Among them, the third application is an application that does not belong to the instant interaction mode.

[0123] By implementing this method, after determining the first SIM card in the instant interaction mode, the service data of applications with high bandwidth occupancy can be switched to other SIM cards for transmission, thereby achieving the purpose of quickly alleviating the data transmission pressure of the first SIM card.

[0124] In some embodiments, after step 303, a third application that is transmitting service data through the first SIM card may be determined; if there is a background running application among the third applications, the service data of the background running application is transmitted through the second SIM card.

[0125] By implementing this method, after determining the first SIM card in the instant interaction mode, the business data of the background running application that is transmitting business data through the first SIM card can be switched to other SIM cards for transmission, thereby alleviating the data transmission pressure of the first SIM card without the user's perception.

[0126] 304. Transmit service data of a first application in an instant interaction mode through a first SIM card.

[0127] 305. Transmit service data of a second application that does not belong to the instant interaction mode through the second SIM card.

[0128] The second application may refer to an application that does not belong to the real-time interaction mode and is started by the electronic device after the real-time interaction mode is started.

[0129] Through the implementation of the present application, when the electronic device is in the instant interaction mode, the first SIM card with the lowest network delay can be determined from the multiple SIM cards of the electronic device, and the subsequent transmission of the business data of the application corresponding to the instant interaction mode is realized through the first SIM card, and the transmission of the business data of the application not corresponding to the instant interaction mode is realized through other SIM cards, which is conducive to ensuring the real-time performance of the application corresponding to the instant interaction mode. Furthermore, after determining the first SIM card, all the business data being transmitted by the first SIM card can be switched to other SIM cards for transmission, which effectively alleviates the data transmission pressure of the first SIM card and further improves the real-time performance of the application corresponding to the instant interaction mode.

[0130] See also Figure 4 , Figure 4 It is a hardware diagram of the data transmission device disclosed in the embodiment of this application. Figure 4 The data transmission device shown may include a card selection unit 401 and a data transmission unit 402; wherein:

[0131] a card selection unit 401, configured to determine, when the electronic device is in a target operation mode, a first SIM card from a plurality of SIM cards according to network parameters corresponding to each SIM card and a selection strategy corresponding to the target operation mode, wherein the selection strategy corresponding to the target operation mode refers to a method for selecting a SIM card for an application related to a user demand corresponding to the target operation mode;

[0132] The data transmission unit 402 is used to transmit the service data of the first application belonging to the target operation mode through the first SIM card; and transmit the service data of the second application not belonging to the target operation mode through the second SIM card, where the second SIM card is another SIM card among the multiple SIM cards different from the first SIM card.

[0133] In some embodiments, the target operation mode includes an instant interaction mode, the network parameter includes a network delay, and the selection strategy corresponding to the instant interaction mode includes selecting a SIM card having the lowest network delay among the multiple SIM cards;

[0134] The card selection unit 401 is used to determine the first SIM card from multiple SIM cards according to the network parameters corresponding to each SIM card and the selection strategy corresponding to the target operation mode. The method may specifically include: the card selection unit 401 is used to select a SIM card with the lowest network delay from multiple SIM cards as the first SIM card according to the network delay corresponding to each SIM card;

[0135] The network delay corresponding to the second SIM card is greater than the network delay corresponding to the first SIM card.

[0136] In some embodiments, the target operation mode includes an instant interaction mode, the network parameter includes the number of real-time applications corresponding to the service data being transmitted, and the selection strategy corresponding to the instant interaction mode includes selecting a SIM card having the least number of corresponding real-time applications among the multiple SIM cards;

[0137] The card selection unit 401 is used to determine the first SIM card from multiple SIM cards according to the network parameters corresponding to each SIM card and the selection strategy corresponding to the target operation mode. The method may specifically include: the card selection unit 401 is used to select a SIM card with the least number of corresponding real-time applications from the multiple SIM cards as the first SIM card according to the number of real-time applications corresponding to each SIM card;

[0138] The number of real-time applications corresponding to the second SIM card is greater than the number of real-time applications corresponding to the first SIM card.

[0139] In some embodiments, the target operation mode includes a safe traffic mode, the network parameter includes the remaining traffic, and the selection strategy corresponding to the safe traffic mode includes selecting a SIM card with the largest remaining traffic among the multiple SIM cards;

[0140] The card selection unit 401 is used to determine the first SIM card from multiple SIM cards according to the network parameters corresponding to each SIM card and the selection strategy corresponding to the target operation mode. Specifically, the card selection unit 401 is used to select a SIM card with the largest remaining flow from the multiple SIM cards as the first SIM card according to the remaining flow of each SIM card;

[0141] The remaining traffic corresponding to the second SIM card is less than the remaining traffic corresponding to the first SIM card.

[0142] In some embodiments, the target operating mode includes a traffic cost saving mode, the network parameter includes a traffic cost, and the selection strategy corresponding to the traffic cost saving mode includes selecting a SIM card with the lowest traffic cost;

[0143] The card selection unit 401 is used to determine the first SIM card from multiple SIM cards according to the network parameters corresponding to each SIM card and the selection strategy corresponding to the target operation mode. The method may specifically include: the card selection unit 401 is used to select a SIM card with the lowest traffic fee from multiple SIM cards as the first SIM card according to the traffic fees corresponding to each SIM card;

[0144] The traffic fee corresponding to the second SIM card is greater than the traffic fee corresponding to the first SIM card.

[0145] In some embodiments, the data transmission unit 402 is further used to determine a third application that is transmitting service data through the first SIM card before transmitting service data of the first application belonging to the target operation mode through the first SIM card; and to transmit service data of the third application through the second SIM card.

[0146] In some embodiments, the data transmission unit 402 is further used to determine an application set corresponding to the first SIM card before transmitting the business data of the first application belonging to the target operation mode through the first SIM card, the application set including the application identifier of the application that is transmitting the business data through the first SIM card; if the application set includes the application identifier of a fourth application whose bandwidth occupancy rate is greater than a specified threshold, the business data of the fourth application is transmitted through the second SIM card.

[0147] In some embodiments, the electronic device includes a plurality of transceiver modules, each of the plurality of transceiver modules corresponds to a SIM card in a plurality of SIM cards;

[0148] The method in which the data transmission unit 402 transmits the service data of the first application belonging to the target operation mode through the first SIM card may specifically include:

[0149] The data transmission unit 402 is used to transmit the service data of the first application belonging to the target operation mode through the first transceiver module corresponding to the first SIM card.

[0150] See also Figure 5 , Figure 5 FIG. 1 is a structural diagram of an electronic device disclosed in an embodiment of the present application. Figure 5 The electronic devices shown may include:

[0151] Components include a processor 510 , a memory 520 , a display unit 530 , an input unit 540 , a sensor 550 , an audio circuit 560 , and the like.

[0152] The processor 510 is the control center of the electronic device, which uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 520, and calling data stored in the memory 520, so as to monitor the electronic device as a whole. Optionally, the processor 510 may include one or more processing units; optionally, the processor 510 may integrate an application processor, which mainly processes operating devices, user interfaces, and application programs, etc. Of course, other processors may also be included, which are not listed here one by one.

[0153] The memory 520 can be used to store software programs and modules. The processor 510 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 520. The memory 520 can mainly include a program storage area and a data storage area, wherein the program storage area can store operating devices, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the memory 520 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0154] The display unit 530 can be used to display information input by the user or information provided to the user and various menus of the electronic device. The display unit 530 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel may cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 510 to determine the type of touch event. Subsequently, the processor 510 provides a corresponding visual output on the display panel according to the type of touch event. Among them, the touch panel and the display panel are not in contact with each other. Figure 5 The touch panel and the display panel can be used as two independent components to realize the input and output functions of the electronic device, or the touch panel and the display panel can be integrated to realize the input and output functions of the electronic device.

[0155] The input unit 540 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the input unit 540 may include a touch panel and other input devices. A touch panel, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by a user using any suitable object or accessory such as a finger, stylus, etc. on or near the touch panel), and drive the corresponding connection device according to a pre-set program. In addition, a variety of types such as resistive, capacitive, infrared, and surface acoustic waves can be used to implement the touch panel. In addition to the touch panel, the input unit 540 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of function keys (such as volume control keys, switch keys, etc.), trackballs, joysticks, etc.

[0156] The electronic device may also include at least one sensor 550, such as a magnetometer, a gyroscope sensor, a motion sensor, and other sensors. Specifically, the magnetometer is used to determine the orientation of the electronic device, and the gyroscope sensor can be used to determine the motion posture of the electronic device. It can be used for anti-shake shooting, and can also be used for navigation and somatosensory game scenes. As a type of motion sensor, the acceleration sensor can detect the magnitude of acceleration in all directions, and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the electronic device, such as horizontal and vertical screen switching, related games, magnetometer posture calibration, etc.; As for other sensors that the electronic device can also be configured with, such as pressure gauges, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0157] The audio circuit 560 may include a speaker and a microphone, and may provide an audio interface between a user and an electronic device. The audio circuit 560 may transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 560 and converted into audio data, and then the audio data is output to the processor 510 for processing, and then sent to another electronic device through the video circuit, or the audio data is output to the memory 520 for further processing.

[0158] Although not shown, the electronic device may further include a power supply and a camera. Optionally, the camera may be located at the front or rear of the electronic device, which is not limited in the present embodiment.

[0159] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0160] In the embodiment of the present application, the processor 510 also has the following functions:

[0161] When the electronic device is in a target operation mode, determining a first SIM card from multiple SIM cards according to network parameters corresponding to each SIM card and a selection strategy corresponding to the target operation mode; wherein the selection strategy corresponding to the target operation mode refers to a method of selecting a SIM card for an application related to a user demand corresponding to the target operation mode;

[0162] transmitting service data of a first application belonging to a target operation mode through a first SIM card;

[0163] The service data of the second application that does not belong to the target operation mode is transmitted through the second SIM card, and the second SIM card is another SIM card among the multiple SIM cards different from the first SIM card.

[0164] In an embodiment of the present application, the target operation mode includes an instant interaction mode, the network parameter includes a network delay, and the selection strategy corresponding to the instant interaction mode includes selecting a SIM card having the lowest network delay among multiple SIM cards;

[0165] The processor 510 also has the following functions:

[0166] According to the network delays corresponding to the various SIM cards, a SIM card with the lowest network delay is selected from the multiple SIM cards as the first SIM card;

[0167] The network delay corresponding to the second SIM card is greater than the network delay corresponding to the first SIM card.

[0168] In an embodiment of the present application, the target operation mode includes an instant interaction mode, the network parameter includes the number of real-time applications corresponding to the service data being transmitted, and the selection strategy corresponding to the instant interaction mode includes selecting a SIM card having the least number of corresponding real-time applications among multiple SIM cards;

[0169] The processor 510 also has the following functions:

[0170] According to the number of real-time applications corresponding to each SIM card, selecting a SIM card having the least number of corresponding real-time applications from the multiple SIM cards as the first SIM card;

[0171] The number of real-time applications corresponding to the second SIM card is greater than the number of real-time applications corresponding to the first SIM card.

[0172] In an embodiment of the present application, the target operation mode includes a safe traffic mode, the network parameter includes a remaining traffic, and the selection strategy corresponding to the safe traffic mode includes selecting a SIM card with the largest remaining traffic among multiple SIM cards;

[0173] The processor 510 also has the following functions:

[0174] According to the remaining traffic of each SIM card, a SIM card with the largest remaining traffic is selected from the multiple SIM cards as the first SIM card;

[0175] The remaining traffic corresponding to the second SIM card is less than the remaining traffic corresponding to the first SIM card.

[0176] In an embodiment of the present application, the target operation mode includes a traffic cost saving mode, the network parameter includes a traffic cost, and the selection strategy corresponding to the traffic cost saving mode includes selecting a SIM card with the lowest traffic cost among multiple SIM cards;

[0177] The processor 510 also has the following functions:

[0178] According to the traffic charges corresponding to each SIM card, a SIM card with the lowest traffic charge is selected from the multiple SIM cards as the first SIM card;

[0179] The traffic fee corresponding to the second SIM card is greater than the traffic fee corresponding to the first SIM card.

[0180] In the embodiment of the present application, the processor 510 also has the following functions:

[0181] A third application that is transmitting service data via the first SIM card;

[0182] The service data of the third application is transmitted through the second SIM card.

[0183] In the embodiment of the present application, the processor 510 also has the following functions:

[0184] Determine an application set corresponding to the first SIM card, where the application set includes an application identifier of an application that is transmitting service data through the first SIM card;

[0185] If the application set includes the application identifier of a fourth application whose bandwidth occupancy rate is greater than a specified threshold, the service data of the fourth application is transmitted through the second SIM card.

[0186] In an embodiment of the present application, the electronic device includes a plurality of transceiver modules, each of the plurality of transceiver modules corresponds to a SIM card in a plurality of subscriber identity module SIM cards;

[0187] The processor 510 also has the following functions:

[0188] The service data of the first application belonging to the target operation mode is transmitted through the first transceiver module corresponding to the first SIM card.

[0189] The application embodiment discloses a computer-readable storage medium on which executable program code is stored. When the executable program code is executed by a processor, the method described in the electronic device in the embodiment of the application is implemented.

[0190] The embodiment of the present application discloses a computer program product. When the computer program product is executed on a computer, the computer implements the method described in the electronic device in the embodiment of the present application.

[0191] The embodiment of the present application discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer implements the method described in the electronic device in the embodiment of the present application.

[0192] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium, storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0193] It should be understood that "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" or "in some embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The above description of each embodiment tends to emphasize the differences between the various embodiments, and the same or similarities can be referenced to each other. For the sake of brevity, this article will not repeat them.

[0194] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist at the same time, and object B exists alone.

[0195] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0196] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple modules or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.

[0197] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed on multiple network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0198] In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be a separate unit, or two or more modules may be integrated into one unit; the above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0199] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.

[0200] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0201] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0202] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0203] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0204] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A data transmission method, characterized in that: The method is applicable to an electronic device, wherein the electronic device comprises a plurality of subscriber identification module (SIM) cards, and the method comprises: When the electronic device is in a target operation mode, determining a first SIM card from the multiple subscriber identity module SIM cards according to network parameters corresponding to each of the SIM cards and a selection strategy corresponding to the target operation mode, wherein the selection strategy corresponding to the target operation mode refers to a method of selecting a SIM card for an application related to a user demand corresponding to the target operation mode; transmitting service data of a first application belonging to the target operation mode through the first SIM card; The service data of a second application that does not belong to the target operation mode is transmitted through a second SIM card, where the second SIM card is another SIM card among the multiple subscriber identity module SIM cards that is different from the first SIM card.

2. The method according to claim 1, characterized in that The target operation mode includes an instant interaction mode, the network parameter includes a network delay, and the selection strategy corresponding to the instant interaction mode includes selecting a SIM card with the lowest network delay among the multiple subscriber identity module SIM cards; The determining the first SIM card from the plurality of subscriber identity module SIM cards according to the network parameters corresponding to each of the SIM cards and the selection strategy corresponding to the target operation mode comprises: According to the network delays corresponding to the SIM cards, selecting a SIM card with the lowest network delay from the multiple subscriber identity module SIM cards as the first SIM card; The network delay corresponding to the second SIM card is greater than the network delay corresponding to the first SIM card.

3. The method according to claim 1, characterized in that The target operation mode includes an instant interaction mode, the network parameter includes the number of real-time applications corresponding to the service data being transmitted, and the selection strategy corresponding to the instant interaction mode includes selecting a SIM card having the least number of corresponding real-time applications among the multiple subscriber identity module SIM cards; The determining the first SIM card from the plurality of subscriber identity module SIM cards according to the network parameters corresponding to each of the SIM cards and the selection strategy corresponding to the target operation mode comprises: According to the number of real-time applications corresponding to each of the SIM cards, selecting a SIM card having the least number of corresponding real-time applications from the plurality of subscriber identity module SIM cards as the first SIM card; The number of real-time applications corresponding to the second SIM card is greater than the number of real-time applications corresponding to the first SIM card.

4. The method according to claim 1, characterized in that: The target operation mode includes a safe traffic mode, the network parameter includes a remaining traffic, and the selection strategy corresponding to the safe traffic mode includes selecting a SIM card with the largest remaining traffic among the multiple subscriber identity module SIM cards; determining the first SIM card from the multiple subscriber identity module SIM cards according to the network parameters corresponding to each of the SIM cards and the selection strategy corresponding to the target operation mode, includes: According to the remaining traffic of each of the SIM cards, selecting a SIM card with the largest remaining traffic from the multiple subscriber identity module SIM cards as the first SIM card; The remaining traffic corresponding to the second SIM card is less than the remaining traffic corresponding to the first SIM card.

5. The method according to claim 1, characterized in that The target operation mode includes a traffic cost saving mode, the network parameter includes a traffic cost, and the selection strategy corresponding to the traffic cost saving mode includes selecting a SIM card with the lowest traffic cost among the multiple subscriber identity modules SIMs; The determining the first SIM card from the plurality of subscriber identity module SIM cards according to the network parameters corresponding to each of the SIM cards and the selection strategy corresponding to the target operation mode comprises: According to the traffic charges corresponding to the SIM cards, a SIM card with the lowest traffic charge is selected from the plurality of subscriber identity module SIM cards as the first SIM card; The traffic fee corresponding to the second SIM card is greater than the traffic fee corresponding to the first SIM card.

6. The method according to claim 2, characterized in that Before transmitting the service data of the first application belonging to the target operation mode through the first SIM card, the method further includes: determining a third application that is transmitting service data through the first SIM card; The service data of the third application is transmitted through the second SIM card.

7. The method according to claim 2, characterized in that Before transmitting the service data of the first application belonging to the target operation mode through the first SIM card, the method further includes: Determine an application set corresponding to the first SIM card, where the application set includes an application identifier of an application that is transmitting service data through the first SIM card; If the application set includes an application identifier of a fourth application whose bandwidth occupancy rate is greater than a specified threshold, the service data of the fourth application is transmitted through the second SIM card.

8. The method according to any one of claims 1 to 7, characterized in that: The electronic device comprises a plurality of transceiver modules, each of the plurality of transceiver modules corresponds to one of the plurality of subscriber identity module SIM cards; The transmitting, through the first SIM card, the service data of the first application belonging to the target operation mode includes: The service data of the first application belonging to the target operation mode is transmitted through the first transceiver module corresponding to the first SIM card.

9. A data transmission device, characterized in that: The device is on an electronic device, the electronic device includes a plurality of SIM cards, and the device includes: a card selection unit, configured to determine, when the electronic device is in a target operation mode, a first SIM card from the plurality of SIM cards according to network parameters corresponding to each of the SIM cards and a selection strategy corresponding to the target operation mode, wherein the selection strategy corresponding to the target operation mode refers to a method of selecting a SIM card for an application related to a user demand corresponding to the target operation mode; a data transmission unit, configured to transmit service data of a first application belonging to the target operation mode through the first SIM card; and to transmit service data of a second application not belonging to the target operation mode through a second SIM card, wherein the second SIM card is another SIM card among the multiple SIM cards different from the first SIM card.

10. An electronic device, characterized in that: include: A memory storing executable program code; and a processor coupled to the memory; The processor calls the executable program code stored in the memory, and when the executable program code is executed by the processor, the processor implements the method according to any one of claims 1 to 8.

11. A computer-readable storage medium having executable program code stored thereon, characterized in that: When the executable program code is executed by a processor, the method according to any one of claims 1 to 8 is implemented.