Data transmission method and electronic device

By determining the duration of the non -excitement timer of the network equipment corresponding to each SIM card in the terminal, and in a free state, the data request of the matching SIM card transmission is solved, and the problem of poor data transmission effect in dual card scenarios has achieved more efficient efficiency. Data transmission and reduce power consumption.

CN113766488BActive Publication Date: 2025-01-24VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111087837.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-16
Publication Date
2025-01-24
Estimated Expiration
2041-09-16

AI Technical Summary

Technical Problem

In dual-card scenarios, the terminal uses the network where the main card is located by default for data access, resulting in poor data transmission effect.

Method used

The terminal determines the duration of the non -excitement timer of the network device corresponding to at least two SIM cards. Under the idle state, transmit the data request to the target network device through the target SIM card. Matching SIM card.

Benefits of technology

Data transmission is transmitted by dynamic selection of non -excitement timer duration. It improves the data transmission effect of the terminal and reduces power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113766488B_ABST
    Figure CN113766488B_ABST
Patent Text Reader

Abstract

The present application discloses a data transmission method and electronic device, belonging to the field of communication technology. The method comprises: determining the duration of the inactive timer of the network device corresponding to each of at least two SIM cards in the terminal; when the terminal is in an idle state, transmitting a request for data to be transmitted to the target network device corresponding to the target SIM card through the target SIM card; wherein the request for data to be transmitted is used to request the target network device to send target data, and the target SIM card is a SIM card whose inactive timer duration among the at least two SIM cards matches the type of the request for data to be transmitted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a data transmission method and electronic device. Background Art

[0002] In the real network scenario, different base stations of different operators will configure corresponding inactive timers, that is, the timer from the connected state to the idle state (inactive timer, indicating the length of time when there is no data interaction between the network device and the terminal), to ensure that when the terminal has no data interaction, it does not occupy spectrum resources and the terminal enters the idle state, which can reduce the standby current and achieve the purpose of power saving. In the real network, the inactive timer is a network parameter configuration, which will not notify the terminal, and this parameter configuration is inconsistent for different base stations. For example, it can be 5s, 10s, 20s, 30s, etc.

[0003] After the terminal and the network device complete data interaction, they need to wait for the inactive timer of the network device to expire, and then the network device will issue a release command to instruct the terminal to enter the idle state from the connected state. However, currently, for dual-card scenarios, one card is the primary card and the other is the secondary card. The terminal uses the network where the primary card is located by default, that is, data access is maintained on the network corresponding to the primary card, which can easily lead to poor data transmission effect. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a data transmission method and an electronic device, which can solve the problem of poor data transmission effect of existing terminals.

[0005] In a first aspect, an embodiment of the present application provides a data transmission method, the method comprising:

[0006] Determine the duration of the inactive timer of the network device corresponding to each of at least two user identity authentication module SIM cards in the terminal;

[0007] When the terminal is in an idle state, transmitting a request for data to be transmitted to a target network device corresponding to the target SIM card through the target SIM card;

[0008] The request for data to be transmitted is used to request the target network device to send target data, and the target SIM card is a SIM card of the at least two SIM cards whose inactive timer duration matches the type of the request for data to be transmitted.

[0009] In a second aspect, an embodiment of the present application provides a data transmission device, the device comprising:

[0010] A duration determination module, used to determine the duration of the inactive timer of the network device corresponding to each of at least two user identity authentication module SIM cards in the terminal;

[0011] A first transmission module, configured to transmit a request for data to be transmitted to a target network device corresponding to the target SIM card through a target SIM card when the terminal is in an idle state;

[0012] The request for data to be transmitted is used to request the target network device to send target data, and the target SIM card is a SIM card of the at least two SIM cards whose inactive timer duration matches the type of the request for data to be transmitted.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0016] In the data transmission method of this embodiment, data interaction with the network device is no longer performed through a unified default SIM card, but the terminal determines the duration of the inactive timer of the network device corresponding to each of at least two user identity authentication module SIM cards in the terminal, and transmits the data request to be transmitted to the corresponding target network device through the target SIM card when the terminal is in an idle state. Since the target SIM card is the SIM card whose inactive timer duration matches the type of the data request to be transmitted among at least two SIM cards, that is, the terminal will select the SIM card whose inactive timer duration matches the type of the data request to be transmitted from at least two SIM cards to transmit the data request to be transmitted, so as to improve the data transmission effect of the terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is one of the flow charts of the data transmission method provided in the embodiment of the present application;

[0018] Figure 2 This is the second flowchart of the data transmission method provided in the embodiment of the present application;

[0019] Figure 3 This is the third flowchart of the data transmission method provided in the embodiment of the present application;

[0020] Figure 4 is a schematic diagram of a data transmission device provided in an embodiment of the present application;

[0021] Figure 5 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0022] Figure 6 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0024] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0025] The data transmission method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0026] like Figure 1 As shown, the present application provides a data transmission method of an embodiment, which is executed by a terminal, and the method includes:

[0027] Step 101: Determine the duration of the inactive timer of the network device corresponding to each of at least two user identity authentication module SIM cards in the terminal.

[0028] The network device can be a base station, etc. The inactive timer (i.e., inactive timer) is a configuration parameter on the network device side. The network device starts timing from the time when there is no data interaction with the terminal. After the inactive timer expires (i.e., the time when there is no data interaction between the network device and the terminal is taken as the starting time, after the duration of the inactive timer), the network device sends a release instruction to the terminal. After receiving the release instruction, the terminal enters the idle state from the connected state. The longer the duration of the inactive timer, the longer the duration that the terminal is in the connected state after there is no data interaction with the network device, and the more power the terminal consumes. Conversely, the shorter the duration of the inactive timer, the shorter the duration that the terminal is in the connected state after there is no data interaction with the network device, that is, the shorter the duration that the terminal enters the idle state after there is no data interaction, the shorter the terminal power consumption, and the network device will not notify the terminal of the duration of the inactive timer.

[0029] In this embodiment, the duration of the inactive timer of the corresponding network device can be estimated on the terminal side. At least two SIM (Subscriber Identity Module) cards are set in the terminal. Each SIM has a corresponding network device, that is, each SIM is connected to a corresponding network device. For example, at least two SIM cards are SIM cards of different operators, and different operators are respectively configured with corresponding network devices. Each SIM card communicates through the corresponding connected network device. In this way, the terminal can estimate the duration of the inactive timer of the network device corresponding to the at least two SIM cards respectively set, and obtain the duration of the inactive timer corresponding to the at least two SIM cards respectively.

[0030] Step 102: When the terminal is in an idle state, a request for data to be transmitted is transmitted to a target network device corresponding to the target SIM card through the target SIM card;

[0031] The target SIM card is a SIM card of the at least two SIM cards whose duration of the inactive timer matches the type of the data request to be transmitted.

[0032] The data request to be transmitted is a request that needs to be transmitted. Different data requests may request different data from the network device. The data request to be transmitted can be used to request the target network device to send the data corresponding to the data request to be transmitted, that is, the target data. For example, for a web page data request, it can be used to request the network device to send the corresponding web page data, and for a weather data request, it can be used to request the network device to send the corresponding weather data. Data requests have corresponding types. For example, according to timeliness, the types of data requests may include but are not limited to timely data request types (data requests that require timely responses from network devices, such as speed test data and game data of speed test software) and non-timely data request types (data requests that do not require timely responses, such as system-level data requests (for example, system clock synchronization data), weather data, geographic location data, link keep-alive data, etc.). According to the length, the types of data requests may include long data request types (representing requests that require continuous data interaction with the network, such as live video application data) and short data request types. In this embodiment, the types of data requests to be transmitted can be divided according to timeliness.

[0033] In the data transmission method of this embodiment, data interaction with the network device is no longer performed through a unified default SIM card, but the terminal determines the duration of the inactive timer of the network device corresponding to each of at least two user identity authentication module SIM cards in the terminal, and transmits the data request to be transmitted to the corresponding target network device through the target SIM card when the terminal is in an idle state. Since the target SIM card is the SIM card whose inactive timer duration matches the type of the data request to be transmitted among at least two SIM cards, that is, the terminal will select the SIM card whose inactive timer duration matches the type of the data request to be transmitted from at least two SIM cards to transmit the data request to be transmitted, so as to improve the data transmission effect of the terminal, and at the same time, it can reduce the power consumption of the terminal.

[0034] In one embodiment, when the type of the data request to be transmitted is a target type, the target SIM card is any SIM card in the first SIM card, the duration of the inactivation timer of the first SIM card in at least two SIM cards is less than the duration of the inactivation timer of the remaining SIM cards, the first SIM card includes the SIM card with the shortest duration of the inactivation timer, and the remaining SIM cards are SIM cards other than the first SIM card in the at least two SIM cards.

[0035] Since at least two SIM cards are provided in the terminal, as long as at least one of the SIM cards is in a connected state, the terminal device is in a connected state. If at least two SIM cards in the terminal are in an unconnected state, i.e., an idle state, it can be understood that the terminal is in an idle state. When the type of the data request to be transmitted is a target type and the terminal is in an idle state, the target SIM card with a shorter inactive timer among at least two SIM cards can be connected to the corresponding target network device, so that the target SIM card is in a connected state, and the data request to be transmitted is transmitted to the target network device corresponding to the target SIM card through the target SIM card. The above-mentioned first SIM card can be understood as a SIM card with a shorter inactive timer among at least two SIM cards, and the number of the first SIM card is at least one, that is, the data request to be transmitted can be transmitted to the corresponding target network device through any SIM card among the first SIM cards, so as to realize the use of the target SIM card with a shorter inactive timer to transmit the data request to be transmitted. It should be noted that if there is only one first SIM card, the first SIM card is the SIM card with the shortest inactivity timer among the at least two SIM cards, and the target SIM card is the SIM card with the shortest inactivity timer among the at least two SIM cards.

[0036] It should be noted that after the target network device and the terminal complete data transmission (i.e., no data transmission or no data interaction), a release instruction can be issued to the terminal after the duration of the inactive timer corresponding to the target network device itself. After the terminal receives the release instruction, it enters an idle state. Since the terminal in this embodiment infers the duration of the inactive timer of the target network device, a request for data to be transmitted is sent to the corresponding target network device through a target SIM card with a shorter inactive timer. In this way, when the target network device and the terminal complete data interaction or there is no data interaction with the terminal, the terminal can release the connection with the target network device after a shorter period of time and enter the idle state. That is, after the terminal completes data transmission, it only processes the connection state within a shorter period of time, which can solve the problem that data access is maintained in the network corresponding to the main card. If the inactive timer of the network device corresponding to the main card is longer, the terminal is in a connected state for a long time, which easily leads to high power consumption. The problem is achieved by achieving a shorter connection after the terminal and the target network device complete data transmission, that is, the request for data to be transmitted of the target type is placed on the target SIM card with a shorter inactive timer of the terminal for transmission, so as to reduce terminal power consumption.

[0037] In the data transmission method of this embodiment, the terminal can determine the duration of the inactive timer of the network device corresponding to each of the at least two user identity authentication module SIM cards in the terminal, and when the type of the data request to be transmitted is the target type and the terminal is in an idle state, the data request to be transmitted can be transmitted to the corresponding target network device through the target SIM card. Since the target SIM card is any SIM card among the at least two SIM cards whose inactive timer duration is shorter, the terminal transmits the data request to be transmitted of the target type through the SIM card among the at least two SIM cards whose inactive timer duration is shorter, thereby realizing a shorter connection of the terminal and reducing the power consumption of the terminal.

[0038] In one embodiment, when the target data type is a non-timely data request type, the target SIM card is a SIM card having the shortest duration of an inactive timer among the at least two SIM cards.

[0039] The type of data request to be transmitted may be a timely data request type or a non-timely data request type, etc. The target type may be a non-timely data request type. For non-timely data requests, the amount of data to be transmitted with the network device is small, the duration is short, and the frequency of initiation is high. Therefore, for this type of request, the SIM card with the shortest inactive timer can be used for transmission to reduce the power consumption of the terminal, save power consumption, and thus increase the standby time of the terminal.

[0040] In one embodiment, when the terminal is in an idle state, before transmitting the request for data to be transmitted to the target network device corresponding to the target SIM card through the target SIM card, the method further includes:

[0041] Get the request for data to be transmitted;

[0042] Classify the data requests to be transmitted into types, and determine the types of the data requests to be transmitted;

[0043] The type of data request to be transmitted is one of the following:

[0044] Timely data request type;

[0045] Non-timely data request type.

[0046] That is, before transmitting the data request to be transmitted to the target network device corresponding to the target SIM card through the target SIM card, it is necessary to first obtain the data request to be transmitted and classify its type. The type of the data request to be transmitted may be a timely data request type or a non-timely data request type. If the type of the data request to be transmitted is a target type (for example, a non-timely data request type) and the terminal is in an idle state, the data request to be transmitted can be transmitted to the target network device corresponding to the target SIM card through the matching target SIM card to improve the terminal data transmission effect.

[0047] It should be noted that the present application does not limit the manner in which the types of requests for data to be transmitted are classified. For example, as an example, the classification can be based on at least one of the following information: the screen status of the terminal (screen on or off), the application corresponding to the request for data to be transmitted (for example, the request for data to be transmitted is a request for a video application, a chat application, or other application), but is not limited to this.

[0048] In one embodiment, determining the duration of the inactive timer of the network device corresponding to each of at least two user identity authentication module SIM cards in the terminal includes:

[0049] Determine the duration between the first time of the second SIM card and the second time of the second SIM card as the duration of the inactive timer of the network device corresponding to the second SIM card;

[0050] The second SIM card is any one of the at least two SIM cards, the first time of the second SIM card is the time when data transmission is completed between the second SIM card and the network device corresponding to the second SIM card, and the second time of the second SIM card is the time when the second SIM card receives the release instruction sent by the network device corresponding to the second SIM card.

[0051] Among them, the release instruction sent by the target network device to the terminal can be used to instruct the terminal to enter the idle state from the connected state, and release the connection state of the target SIM card of the terminal. Any of the at least two SIM cards can determine the duration of the inactive timer of the corresponding network device through the above process of this embodiment. In this way, each of the at least two SIM cards determines the duration of the inactive timer of the corresponding network device through the above process, and the duration of the inactive timer of the network device corresponding to the at least two SIM cards can be obtained. It can be understood that the duration of at least two inactive timers is obtained, and the number is the same as the number of at least two SIM cards. It should be noted that if the network devices corresponding to different SIM cards are the same, the durations of the inactive timers corresponding to these different SIM cards can be the same. The above-mentioned time for completing data transmission can be understood as the time when there is no data transmission, and the second time of the second SIM card can be understood as the time when the second SIM card receives the release instruction sent by the network device corresponding to the second SIM card after completing the data transmission between the terminal. It should also be noted that the time for completing data transmission between the second SIM card and the network device corresponding to the second SIM card can be the time when the second SIM card of the terminal last completed data transmission between the second SIM card and the corresponding network device before transmitting the current data request to be transmitted, that is, the time when the first SIM of the terminal last completed data transmission before transmitting the current data request to be transmitted. The second time of the second SIM card can be the time when the second SIM card receives the release instruction sent by the network device corresponding to the second SIM card after the network device corresponding to the second SIM card last completed data transmission with the terminal before transmitting the current data request to be transmitted.

[0052] In this embodiment, by using the time between the time when data transmission between the SIM card and the corresponding network device is completed to the time when the SIM card receives the corresponding release instruction sent by the corresponding network device as the time of the inactive timer of the network device corresponding to the SIM card, the accuracy of the determined activation timer time can be improved.

[0053] In one embodiment, the method further includes: when the terminal is in a connected state, transmitting a request for data to be transmitted to a network device corresponding to the currently communicating SIM card through the currently communicating SIM card among the at least two SIM cards.

[0054] The terminal is in a connected state, indicating that at least one SIM card in the terminal device is currently connected to a corresponding network device, and communication is performed through the SIM card, that is, the SIM card is the currently communicating SIM card. In this case, there is no need to wake up other SIM cards to transmit the request for data to be transmitted, and data can be directly transmitted through the currently communicating SIM card, that is, the request for data to be transmitted is transmitted through the currently communicating SIM card to the network device corresponding to the currently communicating SIM card, which can improve the efficiency of data transmission.

[0055] In one embodiment, the data request to be transmitted includes a plurality of data requests within a preset time period;

[0056] Wherein, transmitting the data request to be transmitted to the target network device corresponding to the target SIM card through the target SIM card includes: transmitting the data request to be transmitted to the target network device through the target SIM card at the end time of the preset time period. It can be understood that if the type of the data request to be transmitted is a target type, then the type of each data request in the multiple data requests is a target type.

[0057] That is, in this embodiment, if Figure 2 As shown, a data transmission method is provided, comprising:

[0058] Step 201: Determine the duration of the inactivity timer of the network device corresponding to each of at least two SIM cards in the terminal.

[0059] Step 201 corresponds to step 101 and will not be described again here.

[0060] Step 202: When the terminal is in an idle state, at the end time of a preset time period, a request for data to be transmitted is transmitted to a target network device through a target SIM card.

[0061] The request for data to be transmitted is used to request the target network device to send target data, and the target SIM card is a SIM card whose inactive timer duration matches the type of the request for data to be transmitted among at least two SIM cards.

[0062] That is, the terminal can use T as the preset time period to access the network in a centralized manner. That is, the terminal can concentrate the data requests that need to be transmitted within the preset time period at the same time to communicate data with the network, which can reduce the number of times the modem is awakened, that is, the data requests are delayed and requested together at the same time. The preset time period T can be set in advance (T can be set independently according to the terminal's experience value), and the data requests within the preset time period T are uniformly sent at the end time of the preset time period T. For example, at 11:36:40, there is a weather data request that requires weather data synchronization, which only takes 1s, at 11:36:50, there is a geographic location data request that requires geographic location data (for example, GPS location data) synchronization, which takes 1s, and at 11:37:10, there is a clock synchronization data request that requires clock synchronization data, and synchronization takes 2s. These three data requests can be uniformly sent at the end time of the preset time period 11:37:10, which can save the power of two inactive timers.

[0063] That is, in this embodiment, multiple data requests within a preset time period are uniformly transmitted at the end time of the preset time period, which can reduce the number of terminal bottom layer wake-up times and save power of the terminal.

[0064] The process of the above data transmission method is described in detail below with a specific embodiment. Take the terminal setting two SIM cards and the network device as a base station as an example. Figure 3 As shown, the process of the data transmission method of this embodiment is as follows:

[0065] First, the terminal bottom layer estimates the duration of the inactive timer of the base stations corresponding to the two SIM cards respectively, and reports it to the terminal upper layer.

[0066] When the terminal bottom layer is performing data transmission, it can calculate the duration between the time when there is no data transmission (i.e., the data transmission is completed) and the time when the base station receives the release instruction sent by the base station indicating the change from the connected state to the idle state, and use it as the duration of the inactive timer of the base station predicted by the terminal, and report it to the upper layer of the terminal.

[0067] Inactive timer: It is an inactive timer on the base station side, indicating the duration of no data interaction with the terminal. When the inactive timer expires, the base station sends a release command to return the terminal from the connected state to the idle state. This inactive timer will not inform the terminal, but in this embodiment, the terminal side can infer the inactive timer of the base station by calculating the time from the data reception state to the base station sending the release command through the calculation layer 2 (L2 layer, which can be understood as the terminal bottom layer) according to the data reception state.

[0068] Secondly, the upper layer of the terminal determines the SIM card for data transmission according to the current service status, and transmits the data to be transmitted to the corresponding base station through the determined SIM card.

[0069] The upper layer of the terminal can classify the data requests to be transmitted. For example, data requests are divided into three categories: long data requests, timely data requests, and non-timely data requests. After classifying the data requests to be transmitted, it is determined that the data request to be transmitted is one of the above three categories, and then the SIM card required for communication can be selected. Because different SIM cards reside in different base stations, especially in dual-card scenarios, different operators have different configurations for inactive timers. For data requests to be transmitted, the SIM card required for communication needs to be selected.

[0070] Specifically, the terminal upper layer determines whether the terminal lower layer is currently in a connected state;

[0071] If it is already in a connected state, no matter what type of request the data to be transmitted is, the upper layer of the terminal can send the data to be transmitted directly to the currently communicating SIM, and transmit the data to be transmitted to the base station corresponding to the currently communicating SIM through the currently communicating SIM, because the data to be transmitted request at this time does not have the need to reduce the number of wake-up times.

[0072] If the device is currently in a disconnected state (idle state), and if the request for data to be transmitted is a non-timely data request type, the upper layer of the terminal will send the request for data to be transmitted to the SIM card with the shortest inactive timer of the two SIM cards, and communicate with the corresponding base station through the SIM card with the shortest time, that is, transmit the request for data to be transmitted to the base station corresponding to the SIM card with the shortest time through the SIM card with the shortest time, so as to achieve the shortest connection of the terminal. It should be noted that if the device is currently in a disconnected state, and if the request for data to be transmitted is not a non-timely data request type, the upper layer of the terminal can send the request for data to be transmitted to the default SIM card (for example, the main card) of the two SIM cards of the terminal, and transmit the request for data to be transmitted to the base station corresponding to the default SIM card through the default SIM card.

[0073] This application utilizes the terminal data transmission characteristics to calculate the duration of the inactive timer of the network configuration corresponding to at least two SIM cards. In the standby state, the non-timely data request is placed on the SIM card with a shorter inactive timer and transmitted to the corresponding base station. The data sent by the base station is received by the SIM card with a shorter inactive timer, etc., so as to achieve the shortest wake-up purpose, reduce power consumption, and reduce power consumption.

[0074] like Figure 4 As shown, a data transmission device 400 of an embodiment is provided, which can be used in a terminal, and the device 400 includes:

[0075] The duration determination module 401 is used to determine the duration of the inactive timer of the network device corresponding to each of at least two user identity authentication module SIM cards in the terminal;

[0076] The first transmission module 402 is used to transmit a request for data to be transmitted to a target network device corresponding to the target SIM card through the target SIM card when the terminal is in an idle state;

[0077] The request for data to be transmitted is used to request the target network device to send target data, and the target SIM card is a SIM card whose inactive timer duration matches the type of the request for data to be transmitted among at least two SIM cards.

[0078] In one embodiment, when the type of the data request to be transmitted is a target type, the target SIM card is any SIM card in the first SIM card, the duration of the inactivation timer of the first SIM card in at least two SIM cards is less than the duration of the inactivation timer of the remaining SIM cards, the first SIM card includes the SIM card with the shortest duration of the inactivation timer, and the remaining SIM cards are SIM cards other than the first SIM card in the at least two SIM cards.

[0079] In one embodiment, determining the duration of the inactive timer of the network device corresponding to each of at least two user identity authentication module SIM cards in the terminal includes:

[0080] Determine the duration between the first time of the second SIM card and the second time of the second SIM card as the duration of the inactive timer of the network device corresponding to the second SIM card;

[0081] The second SIM card is any one of the at least two SIM cards, the first time of the second SIM card is the time when data transmission is completed between the second SIM card and the network device corresponding to the second SIM card, and the second time of the second SIM card is the time when the second SIM card receives the release instruction sent by the network device corresponding to the second SIM card.

[0082] In one embodiment, the apparatus 400 further includes:

[0083] The second transmission module is used to transmit a request for data to be transmitted to a network device corresponding to the currently communicating SIM card through the currently communicating SIM card among the at least two SIM cards when the terminal is in a connected state.

[0084] In one embodiment, the data request to be transmitted includes a plurality of data requests within a preset time period;

[0085] The step of transmitting the data request to be transmitted to the target network device corresponding to the target SIM card through the target SIM card includes:

[0086] At the end time of the preset time period, a request for data to be transmitted is transmitted to the target network device via the target SIM card.

[0087] In one embodiment, the apparatus 400 further includes:

[0088] An acquisition module, used for acquiring the data request to be transmitted before the first transmission module transmits the data request to be transmitted to the target network device corresponding to the target SIM card through the target SIM card when the terminal is in an idle state;

[0089] A classification module, used to classify the data requests to be transmitted and determine the types of the data requests to be transmitted;

[0090] The type of data request to be transmitted is one of the following:

[0091] Timely data request type;

[0092] Non-timely data request type.

[0093] In one embodiment, when the target data type is a non-timely data request type, the target SIM card is a SIM card having the shortest duration of an inactive timer among the at least two SIM cards.

[0094] The data transmission device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0095] The data transmission device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0096] The data transmission device provided in the embodiment of the present application can implement each process implemented in the above data transmission method embodiment, for example, it can implement Figures 1 to 3 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0097] Alternatively, if Figure 5 As shown, an embodiment of the present application also provides an electronic device 500, including a processor 501, a memory 502, and a program or instruction stored in the memory 502 and executable on the processor 501. When the program or instruction is executed by the processor 501, each process of the above-mentioned data transmission method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0098] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0099] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0100] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610.

[0101] Those skilled in the art will appreciate that the electronic device 600 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0102] The processor 610 is used for the duration determination module 401 to determine the duration of the inactive timer of the network device corresponding to each of at least two user identity authentication module SIM cards in the terminal;

[0103] The radio frequency unit 601 is used to transmit a request for data to be transmitted to a target network device corresponding to the target SIM card through the target SIM card when the terminal is in an idle state;

[0104] The request for data to be transmitted is used to request the target network device to send target data, and the target SIM card is a SIM card whose inactive timer duration matches the type of the request for data to be transmitted among at least two SIM cards.

[0105] In one embodiment, when the type of the data request to be transmitted is a target type, the target SIM card is any SIM card in the first SIM card, the duration of the inactivation timer of the first SIM card in at least two SIM cards is less than the duration of the inactivation timer of the remaining SIM cards, the first SIM card includes the SIM card with the shortest duration of the inactivation timer, and the remaining SIM cards are SIM cards other than the first SIM card in the at least two SIM cards.

[0106] In one embodiment, determining the duration of the inactive timer of the network device corresponding to each of at least two user identity authentication module SIM cards in the terminal includes:

[0107] Determine the duration between the first time of the second SIM card and the second time of the second SIM card as the duration of the inactive timer of the network device corresponding to the second SIM card;

[0108] The second SIM card is any one of the at least two SIM cards, the first time of the second SIM card is the time when data transmission is completed between the second SIM card and the network device corresponding to the second SIM card, and the second time of the second SIM card is the time when the second SIM card receives the release instruction sent by the network device corresponding to the second SIM card.

[0109] In one embodiment, the radio frequency unit 601 is further used to transmit a request for data to be transmitted to a network device corresponding to the currently communicating SIM card through the currently communicating SIM card among the at least two SIM cards when the terminal is in a connected state.

[0110] In one embodiment, the data request to be transmitted includes a plurality of data requests within a preset time period;

[0111] The step of transmitting the data request to be transmitted to the target network device corresponding to the target SIM card through the target SIM card includes:

[0112] At the end time of the preset time period, a request for data to be transmitted is transmitted to the target network device via the target SIM card.

[0113] In one embodiment, the processor 610 is further configured to:

[0114] Before the radio frequency unit 601 transmits the data request to be transmitted to the target network device corresponding to the target SIM card through the target SIM card when the terminal is in an idle state, obtaining the data request to be transmitted; and

[0115] Classify the data requests to be transmitted into types, and determine the types of the data requests to be transmitted;

[0116] The type of data request to be transmitted is one of the following:

[0117] Timely data request type;

[0118] Non-timely data request type.

[0119] In one embodiment, when the target data type is a non-timely data request type, the target SIM card is a SIM card having the shortest duration of an inactive timer among the at least two SIM cards.

[0120] It should be understood that in the embodiment of the present application, the input unit 604 may include a graphics processor (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 609 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 610 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application program, and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 610.

[0121] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned data transmission method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0122] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0123] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned data transmission method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0124] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0125] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0126] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0127] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A data transmission method, characterized in that: The method comprises: Determine the duration of the inactive timer of the network device corresponding to each of at least two user identity authentication module SIM cards in the terminal; When the terminal is in an idle state, transmitting a request for data to be transmitted to a target network device corresponding to the target SIM card through the target SIM card; Among them, the request for data to be transmitted is used to request the target network device to send target data, the target SIM card is a SIM card whose inactive timer duration among the at least two SIM cards matches the type of the request for data to be transmitted, and the type of the request for data to be transmitted is one of the following: timely data request type; non-timely data request type.

2. The method according to claim 1, characterized in that In a case where the type of the request for data to be transmitted is a target type, the target SIM card is any SIM card among the first SIM cards, the duration of the inactivation timer of the first SIM card among the at least two SIM cards is shorter than the duration of the inactivation timers of the remaining SIM cards, the first SIM cards include a SIM card with the shortest duration of the inactivation timer, and the remaining SIM cards are SIM cards other than the first SIM card among the at least two SIM cards.

3. The method according to claim 1, characterized in that The determining of the duration of the inactive timer of the network device corresponding to each of the at least two user identity authentication module SIM cards in the terminal includes: Determine the duration between the first time of the second SIM card and the second time of the second SIM card as the duration of the inactive timer of the network device corresponding to the second SIM card; The second SIM card is any one of the at least two SIM cards, the first time of the second SIM card is the time when the data transmission between the second SIM card and the network device corresponding to the second SIM card is completed, and the second time of the second SIM card is the time when the second SIM card receives the release instruction sent by the network device corresponding to the second SIM card.

4. The method according to claim 1, characterized in that: The method further comprises: When the terminal is in a connected state, the request for data to be transmitted is transmitted to a network device corresponding to the currently communicating SIM card among the at least two SIM cards through the currently communicating SIM card.

5. The method according to claim 1, characterized in that The data request to be transmitted includes multiple data requests within a preset time period; The transmitting the request for data to be transmitted to the target network device corresponding to the target SIM card through the target SIM card includes: At the end time of the preset time period, the request for data to be transmitted is transmitted to the target network device through the target SIM card.

6. The method according to claim 1, characterized in that When the terminal is in an idle state, before transmitting the request for data to be transmitted to the target network device corresponding to the target SIM card through the target SIM card, the method further includes: Obtaining the request for data to be transmitted; The data requests to be transmitted are classified into types to determine the types of the data requests to be transmitted.

7. The method according to claim 2, characterized in that In the case that the target data type is a non-timely data request type, the target SIM card is a SIM card having a shortest duration of an inactive timer among the at least two SIM cards.

8. A data transmission device, characterized in that: The device comprises: A duration determination module, used to determine the duration of the inactive timer of the network device corresponding to each of at least two user identity authentication module SIM cards in the terminal; A first transmission module, configured to transmit a request for data to be transmitted to a target network device corresponding to the target SIM card through a target SIM card when the terminal is in an idle state; Among them, the request for data to be transmitted is used to request the target network device to send target data, the target SIM card is a SIM card whose inactive timer duration among the at least two SIM cards matches the type of the request for data to be transmitted, and the type of the request for data to be transmitted is one of the following: timely data request type; non-timely data request type.

9. The device according to claim 8, characterized in that In a case where the type of the request for data to be transmitted is a target type, the target SIM card is any SIM card among the first SIM cards, the duration of the inactivation timer of the first SIM card among the at least two SIM cards is shorter than the duration of the inactivation timers of the remaining SIM cards, the first SIM cards include a SIM card with the shortest duration of the inactivation timer, and the remaining SIM cards are SIM cards other than the first SIM card among the at least two SIM cards.

10. The device according to claim 8, characterized in that The determining of the duration of the inactive timer of the network device corresponding to each of the at least two user identity authentication module SIM cards in the terminal includes: Determine the duration between the first time of the second SIM card and the second time of the second SIM card as the duration of the inactive timer of the network device corresponding to the second SIM card; The second SIM card is any one of the at least two SIM cards, the first time of the second SIM card is the time when the data transmission between the second SIM card and the network device corresponding to the second SIM card is completed, and the second time of the second SIM card is the time when the second SIM card receives the release instruction sent by the network device corresponding to the second SIM card.

11. The device according to claim 8, characterized in that The device also includes: The second transmission module is used to transmit the request for data to be transmitted to a network device corresponding to the currently communicating SIM card through the currently communicating SIM card among the at least two SIM cards when the terminal is in a connected state.

12. The device according to claim 8, characterized in that The data request to be transmitted includes multiple data requests within a preset time period; The transmitting the request for data to be transmitted to the target network device corresponding to the target SIM card through the target SIM card includes: At the end time of the preset time period, the request for data to be transmitted is transmitted to the target network device through the target SIM card.

13. The device according to claim 8, characterized in that The device also includes: an acquisition module, configured to acquire the data request to be transmitted before the first transmission module transmits the data request to be transmitted to the target network device corresponding to the target SIM card through the target SIM card when the terminal is in an idle state; The classification module is used to classify the data requests to be transmitted into types and determine the types of the data requests to be transmitted.

14. The device according to claim 9, characterized in that In the case that the target data type is a non-timely data request type, the target SIM card is a SIM card having a shortest duration of an inactive timer among the at least two SIM cards.

15. An electronic device, characterized in that: It comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the data transmission method according to any one of claims 1 to 7.

16. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the data transmission method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Wireless notification area RNA updating and information processing method and device of terminal

    CN111758270A