Method and apparatus for handover of cellular data

By identifying the target application of the non-working traffic card in the mobile terminal and automatically switching to cellular data when the traffic statistics reach the threshold, the problem of users forgetting to switch traffic cards is solved, reducing resource waste and charges.

CN116074808BActive Publication Date: 2025-10-10BEIJING TOPSEC NETWORK SECURITY TECH +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211689893.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-27
Publication Date
2025-10-10
Estimated Expiration
2042-12-27

AI Technical Summary

Technical Problem

When using a multi-mode mobile terminal, users tend to forget to switch to cellular data with a low-cost or free traffic card, resulting in a waste of traffic card package resources.

Method used

By identifying the target application corresponding to the first traffic card in the non-working state in the mobile terminal, and automatically switching to the cellular data using the first traffic card when the traffic statistics reach a threshold.

Benefits of technology

It reduces the extra charges caused by users forgetting or failing to switch to cellular data in time, and reduces the waste of traffic card resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116074808B_ABST
    Figure CN116074808B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of terminals, and provides a switching method and device for cellular data. The method is applied to a mobile terminal supporting at least two traffic cards, and comprises the following steps: identifying target applications corresponding to a first traffic card in a non-working state from each application opened by the mobile terminal; determining that the traffic statistics of each target application reaches a threshold value, and switching the mobile terminal to use the cellular data of the first traffic card. The switching method for cellular data provided by the embodiment of the application avoids the problem that additional charges of data communication services are caused due to the fact that a user forgets to switch or does not switch the cellular data in time, and reduces the waste of traffic card resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a cellular data switching method and device. Background Art

[0002] With the development of mobile communication technology and the popularization of smart mobile terminals, mobile terminals are playing an increasingly important role in users' lives. Users can engage in social activities through various applications on their mobile terminals. While applications bring convenience to users' lives, they also consume a large amount of data traffic. In view of this, operators have introduced dedicated data plans based on general data plans to enrich the variety of data plans. Dedicated data plans can only be used in specific applications and have certain restrictions. However, dedicated data plans are generally cheaper than general data plans.

[0003] Existing multi-mode mobile terminals, such as dual-SIM dual-standby, are widely used. Different data SIM cards support different free data applications. When using the cellular data of one data SIM card, if you enable the free data application supported by that card, there will be no charge or a lower charge. However, if you enable the free data application supported by another data SIM card at the same time, you will incur a charge. However, when using the terminal, users often forget to switch to the cellular data of the corresponding low-cost or free data SIM card, resulting in a waste of data SIM package resources and unnecessary losses. Summary of the Invention

[0004] The present application aims to solve at least one of the technical problems existing in the related art. To this end, the present application proposes a cellular data switching method that can switch cellular data in a timely manner and reduce resource waste.

[0005] The present application also proposes a cellular data switching device.

[0006] The present application also provides an electronic device.

[0007] The present application also provides a computer-readable storage medium.

[0008] A cellular data switching method according to an embodiment of the first aspect of the present application is applied to a mobile terminal supporting at least two data cards, including:

[0009] identifying target applications corresponding to the first traffic card in a non-working state from among the applications opened on the mobile terminal;

[0010] It is determined that the traffic statistics of each target application reaches a threshold, and the mobile terminal is switched to cellular data using the first traffic card.

[0011] The cellular data switching method provided in the embodiment of the present application identifies the target applications corresponding to the first traffic card in a non-working state from the applications opened by the mobile terminal, so that when it is detected that the traffic statistics of each target application reach a threshold, the mobile terminal is switched to the cellular data using the first traffic card. In this way, when the user frequently uses the target applications corresponding to the first traffic card in a non-working state, the method can automatically switch to the cellular data of the first traffic card, thereby avoiding the problem of additional charges for data communication services caused by the user forgetting to switch or failing to switch cellular data in time, and reducing the waste of traffic card resources.

[0012] According to one embodiment of the present application, determining that traffic statistics for each target application reaches a threshold, and switching the mobile terminal to cellular data using the first traffic card, includes:

[0013] Determining that the mobile terminal uses cellular data to access a network, and performing traffic statistics on each of the target applications;

[0014] It is determined that the traffic statistics of each target application reaches a threshold, and the mobile terminal is switched to cellular data using the first traffic card.

[0015] According to one embodiment of the present application, determining that traffic statistics for each target application reaches a threshold, and switching the mobile terminal to cellular data using the first traffic card, includes:

[0016] Determining that traffic statistics for each target application reach a threshold, and obtaining, from each application, associated applications corresponding to the second traffic card in working state;

[0017] It is determined that the traffic statistics of each associated application do not reach a preset value, and the cellular data used by the mobile terminal is switched from the cellular data of the second traffic card to the cellular data of the first traffic card.

[0018] According to one embodiment of the present application, it further includes:

[0019] Determine that the traffic statistics of each associated application reaches the preset value, and continue to use the cellular data of the second traffic card.

[0020] According to an embodiment of the present application, the traffic statistics include collecting statistics on an average rate at which traffic is generated by any of the target applications within a first preset time period;

[0021] The determining whether the traffic statistics of each target application reaches a threshold includes:

[0022] The average rate at which traffic generated by any of the target applications during the first preset time period reaches a preset rate, and it is determined that traffic statistics for each of the target applications reach a threshold.

[0023] According to one embodiment of the present application, the traffic statistics include statistics of total traffic used by any of the target applications in a second preset time period;

[0024] The determining that the traffic statistics of each of the target applications reaches a threshold value includes:

[0025] The total traffic generated by any of the target applications in the second preset time period reaches a preset traffic, and it is determined that the traffic statistics of each of the target applications reaches a threshold value.

[0026] According to one embodiment of the present application, the traffic statistics include statistics of total time length of traffic generated by any of the target applications in a third preset time period;

[0027] The determining that the traffic statistics of each of the target applications reaches a threshold value includes:

[0028] The total time length of traffic generated by any of the target applications in the third preset time period reaches a preset time length, and it is determined that the traffic statistics of each of the target applications reaches a threshold value.

[0029] The switching device for cellular data according to the second aspect of the embodiments of the present application is applied to a mobile terminal supporting at least two traffic cards, and includes:

[0030] A target application acquisition module is configured to identify each target application corresponding to a first traffic card in a non-working state from applications opened by the mobile terminal;

[0031] A cellular data switching module is configured to determine that traffic statistics of each of the target applications reaches a threshold value, and switch the mobile terminal to use cellular data of the first traffic card.

[0032] The electronic device according to the third aspect of the embodiments of the present application includes a processor and a memory storing a computer program, and the processor implements the switching method for cellular data according to any of the above embodiments when executing the computer program.

[0033] The computer readable storage medium according to the fourth aspect of the embodiments of the present application stores a computer program, and the computer program is executed by a processor to implement the switching method for cellular data according to any of the above embodiments.

[0034] The computer program product according to the fifth aspect of the embodiments of the present application includes: the computer program is executed by a processor to implement the switching method for cellular data according to any of the above embodiments.

[0035] The one or more technical solutions in the embodiments of the present application at least have one of the following technical effects:

[0036] By identifying each target application corresponding to the first traffic card in a non-working state from each application opened by the mobile terminal, the mobile terminal is switched to use the cellular data of the first traffic card when it is detected that the traffic statistics of each target application reaches a threshold, so that when the user frequently uses each target application corresponding to the first traffic card in a non-working state, the cellular data of the first traffic card can be automatically switched to, avoiding the problem of additional charges of data communication services caused by the user forgetting to switch or not switching the cellular data in time, and reducing the waste of traffic card resources. BRIEF DESCRIPTION OF DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor.

[0038] Figure 1 is a flowchart of the cellular data switching method provided by the embodiment of the application;

[0039] Figure 2 is a flowchart of the cellular data switching method of Figure 1 further refining the judgment of whether the traffic statistics of each target application reaches a threshold;

[0040] Figure 3 is a flowchart of the cellular data switching method of Figure 1 further refining the switching of cellular data;

[0041] Figure 4 is a structural schematic diagram of the cellular data switching device provided by the embodiment of the application;

[0042] Figure 5 is a structural schematic diagram of the electronic device provided by the embodiment of the application. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solutions and advantages of the application more clear, the technical solutions in the application will be described clearly and completely in the following with the drawings in the embodiments of the application. Obviously, the described embodiments are some embodiments of the application, not all embodiments. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the application.

[0044] In the following, the cellular data switching method and device provided by the embodiment of the application will be described and explained in detail through several specific embodiments.

[0045] In one embodiment, a cellular data switching method is provided, which is applied to a mobile terminal that supports at least two data SIM cards and is used to switch cellular data. The mobile terminal may be a mobile phone, a laptop computer, or the like.

[0046] like Figure 1 As shown, a cellular data switching method provided in this embodiment includes:

[0047] Step 101, identifying target applications corresponding to the first traffic card in an inactive state from among the applications opened on the mobile terminal;

[0048] Step 102: Determine whether the traffic statistics of each target application reaches a threshold, and switch the mobile terminal to cellular data using the first traffic card.

[0049] By identifying the target applications corresponding to the first traffic card in a non-working state from the applications opened by the mobile terminal, and when it is detected that the traffic statistics of each target application reach a threshold, the mobile terminal is switched to the cellular data using the first traffic card. In this way, when the user frequently uses the target applications corresponding to the first traffic card in a non-working state, it can automatically switch to the cellular data of the first traffic card, avoiding the problem of additional charges for data communication services caused by the user forgetting to switch or failing to switch to cellular data in time, and reducing the waste of traffic card resources.

[0050] In one embodiment, the mobile terminal pre-stores the correspondence between each traffic card and the free traffic application supported by the traffic card. For example, the traffic card of operator A provides an exclusive traffic package, supports free traffic services for app-1, app-2, and app-3, and the traffic of other applications is charged with universal traffic. The traffic card of operator B provides an exclusive traffic package, supports free traffic services for app-5 and app-6, and the traffic of other apps is charged with universal traffic. In this way, assuming that a user considers economics and personal usage habits, he can pre-set app-1, app-2, and app-3 in the mobile terminal to give priority to cellular data A of the traffic card of operator A; app-5, app-6, and app-7 give priority to cellular data B of the traffic card of operator B. Then it can be concluded that the applications associated with cellular data A and cellular data B are as follows:

[0051]

[0052] In this way, you can set the traffic card of operator A to correspond to applications app-1, app-2, and app-3, and the traffic card of operator B to correspond to applications app-4, app-5, and app-6.

[0053] During the process of turning on the mobile terminal, a data card that is not in operation can be marked as the first data card, while a data card that is in operation can be marked as the second data card. During the process of turning on the mobile terminal, each open application of the mobile terminal can be obtained and then identified to detect whether there are target applications corresponding to the inactive first data card among the open applications of the mobile terminal. If not, there is no need to switch to cellular data. If so, traffic statistics are collected for each target application.

[0054] For example, assuming that among the applications opened by the mobile terminal, there are three applications, app-5, app-6, and app-7, and these three applications correspond to the traffic card of operator B, and the traffic card of operator B is in a non-working state, then the three applications app-5, app-6, and app-7 can be marked as target applications, and traffic statistics can be performed on the three target applications app-5, app-6, and app-7.

[0055] Among them, the starting time for traffic statistics of each target application can be after each cellular data switch. For example, after each cellular data switch, all traffic statistics are set to 0, and then a new round of traffic statistics is started. For example, assuming that the cellular data of the traffic card of operator A is used after the switch, and the traffic card of operator B is in a non-working state, then when switching to the cellular data of the traffic card of operator A, all traffic statistics are set to 0. At the same time, starting from the cellular data of the traffic card switched to operator A, traffic statistics are performed for each target application corresponding to the traffic card of operator B that is not in a working state within a period of time.

[0056] Considering that the mobile terminal may use wireless access, such as WIFI access, and WIFI access does not incur charges when using any application. Therefore, after identifying each target application, it is possible to first detect whether the mobile terminal is currently using cellular data to access the network. If the mobile terminal uses a wireless network to access the network, there is no need to switch to cellular data; if the mobile terminal uses cellular data to access the network, the traffic statistics of each target application are collected, so that when the traffic statistics of each target application reach a threshold, the mobile terminal is switched to cellular data using the first traffic card.

[0057] In order to make the switching of cellular data more in line with actual needs and improve the accuracy of the switching timing of cellular data, in one embodiment, the traffic statistics of each target application can be at least one of the following three: counting the average rate at which any target application generates traffic within a first preset time period, counting the total traffic used by any target application within a second preset time period, and counting the total duration for which any target application generates traffic within a third preset time period.

[0058] Specifically, such as Figure 2 As shown, after determining each target application, traffic statistics for each target application can be turned on to execute step 201: counting the average rate at which any target application generates traffic within the first preset time period; step 202: counting the total traffic used by any target application within the second preset time period. And step 203: counting the total duration for any target application to generate traffic within the third preset time period. Among them, if the average rate at which any target application generates traffic within the first preset time period reaches the preset rate, it can be determined that the traffic statistics for each target application reaches the threshold, at which point the cellular data switching stage can be entered. Alternatively, if the total traffic used by any target application within the second preset time period reaches the preset traffic, it can be determined that the traffic statistics for each target application reaches the threshold, at which point the cellular data switching stage can be entered. Alternatively,

[0059] If the total traffic used by any target application in the second preset period reaches the preset traffic, it can be determined that the traffic statistics of each target application have reached the threshold, and the cellular data switch can be started.

[0060] stage.

[0061] The first preset period, the second preset period, and the third preset period may be the same period, and the duration of the first preset period, the second preset period, and the third preset period may be set according to actual conditions.

[0062] For example, assume that the first traffic card currently in a non-working state is a traffic card of operator B, and the target applications corresponding to the traffic card of operator B are app-5, app-6, and app-,

[0063] 7, when the mobile terminal starts to use at least one of app-5, app-6, and app-7, traffic statistics are performed. Assume that there are the following three statistical results:

[0064] Scenario 1:

[0065]

[0066] Since the average rate of app-5 in the first preset time period reaches the preset rate, it can be determined that the traffic statistics of each target application reaches the threshold.

[0067] Scenario 2:

[0068]

[0069]

[0070] Since the total traffic generated by app-5 in the second time period exceeds the preset traffic, it can be determined that the traffic statistics of each target application reaches the threshold.

[0071] Scenario 3:

[0072]

[0073] Since the total duration for which app-7 generates traffic in the third time period exceeds the preset duration, it can be determined that the traffic statistics for each target application reaches the threshold.

[0074] After determining that the traffic statistics of each target application reach the threshold, the cellular data switching stage can be entered, such as directly switching the cellular data used by the mobile terminal from the cellular data of the second traffic card in working state to the cellular data of the first traffic card.

[0075] To further improve the accuracy of cellular data switching, in one embodiment, Figure 3 As shown, determining that the traffic statistics of each target application reaches a threshold, and switching the mobile terminal to cellular data using the first traffic card, includes:

[0076] Step 301: Determine whether the traffic statistics of each target application reaches a threshold, and obtain, from each application, associated applications corresponding to the second traffic card in working state;

[0077] Step 302: Determine that the traffic statistics of each associated application do not reach a preset value, and switch the cellular data used by the mobile terminal from the cellular data of the second traffic card to the cellular data of the first traffic card.

[0078] In one embodiment, after determining that the traffic statistics of each target application reaches a threshold, the associated applications corresponding to the second traffic card in working state can be identified from the applications opened on the mobile terminal.

[0079] If the second traffic card is a traffic card of operator A, and its corresponding applications are app-1, app-2, and app-3, then after determining that the traffic statistics of each target application have reached the threshold, identify whether there is at least one application among app-1, app-2, and app-3 among the applications opened by the mobile terminal. If at least one application among app-1, app-2, and app-3 does not exist among the applications opened by the mobile terminal, the cellular data used by the mobile terminal will be directly switched from the cellular data of the second traffic card to the cellular data of the first traffic card. If at least one application among app-1, app-2, and app-3 is identified, the identified application will be marked as an associated application corresponding to the second traffic card.

[0080] After acquiring each associated application, traffic statistics are performed on each associated application. The starting time for traffic statistics of each associated application is the same as the actual time for traffic statistics of the target application. For example, assuming that the cellular data of the traffic card of operator A is used after switching, and the traffic card of operator B is in a non-working state, then when switching to the cellular data of the traffic card of operator A, all traffic statistics are set to 0. At the same time, starting from the switching to the cellular data of the traffic card of operator A, traffic statistics are performed for each associated application corresponding to the traffic card of operator A in a working state within a period of time.

[0081] Among them, the traffic statistics of each associated application can be at least one of the following three: counting the average rate at which any associated application generates traffic within the first preset time period, counting the total traffic used by any associated application within the second preset time period, and counting the total duration for which any associated application generates traffic within the third preset time period.

[0082] Specifically, after obtaining each associated application, the average rate at which any target application generates traffic within the first preset time period can be counted; the total traffic used by any associated application within the second preset time period can be counted; and the total duration for any associated application to generate traffic within the third preset time period can be counted.

[0083] Among them, if the average rate at which each associated application generates traffic within the first preset time period does not exceed the average rate, it is determined that the traffic statistics of each associated application do not reach the preset value. At this time, the cellular data used by the mobile terminal can be switched from the cellular data of the second traffic card to the cellular data of the first traffic card.

[0084] Alternatively, if the total duration of traffic generated by each associated application within the second preset time period does not exceed the preset duration, it is determined that the traffic statistics of each associated application have not reached the preset value. In this case, the cellular data used by the mobile terminal can be switched from the cellular data of the second data card to the cellular data of the first data card.

[0085] Alternatively, if the total traffic used by each associated application during the third preset time period does not exceed the preset traffic, it is determined that the traffic statistics of each associated application have not reached the preset value. In this case, the cellular data used by the mobile terminal can be switched from the cellular data of the second traffic card to the cellular data of the first traffic card.

[0086] Alternatively, if the average rate of traffic generated by each associated application during the first preset time period does not exceed the average rate, and the total duration of traffic generated by each associated application during the second preset time period does not exceed the preset duration, and the total traffic used by each associated application during the third preset time period does not exceed the preset traffic, then it is determined that the traffic statistics for each associated application have not reached the preset value. In this case, the cellular data used by the mobile terminal can be switched from the cellular data of the second data card to the cellular data of the first data card.

[0087] In one embodiment, if it is determined that the traffic statistics of each associated application have reached a preset value, the cellular data is not switched and the cellular data of the second traffic card is used.

[0088] The cellular data switching device provided in the present application is described below. The cellular data switching device described below and the cellular data switching method described above can be referenced to each other.

[0089] In one embodiment, if Figure 4 As shown, a cellular data switching device is provided, which is applied to a mobile terminal supporting at least two traffic cards, including:

[0090] The target application acquisition module 210 is configured to identify target applications corresponding to the first traffic card in an inactive state from among the applications opened by the mobile terminal;

[0091] The cellular data switching module 220 is configured to determine whether the traffic statistics of each target application reaches a threshold value and switch the mobile terminal to the cellular data using the first traffic card.

[0092] By identifying the target applications corresponding to the first traffic card in a non-working state from the applications opened by the mobile terminal, and when it is detected that the traffic statistics of each target application reach a threshold, the mobile terminal is switched to the cellular data using the first traffic card. In this way, when the user frequently uses the target applications corresponding to the first traffic card in a non-working state, it can automatically switch to the cellular data of the first traffic card, avoiding the problem of additional charges for data communication services caused by the user forgetting to switch or failing to switch to cellular data in time, and reducing the waste of traffic card resources.

[0093] In one embodiment, the cellular data switching module 220 is specifically configured to:

[0094] Determining that the mobile terminal uses cellular data to access a network, and performing traffic statistics on each of the target applications;

[0095] It is determined that the traffic statistics of each target application reaches a threshold, and the mobile terminal is switched to cellular data using the first traffic card.

[0096] In one embodiment, the cellular data switching module 220 is specifically configured to:

[0097] Determining that traffic statistics for each target application reach a threshold, and obtaining, from each application, associated applications corresponding to the second traffic card in working state;

[0098] It is determined that the traffic statistics of each associated application do not reach a preset value, and the cellular data used by the mobile terminal is switched from the cellular data of the second traffic card to the cellular data of the first traffic card.

[0099] In one embodiment, the cellular data switching module 220 is further configured to:

[0100] Determine that the traffic statistics of each associated application reaches the preset value, and continue to use the cellular data of the second traffic card.

[0101] In one embodiment, the traffic statistics include collecting statistics on an average rate of traffic generated by any of the target applications within a first preset time period;

[0102] The cellular data switching module 220 is specifically used for:

[0103] The average rate at which traffic generated by any of the target applications during the first preset time period reaches a preset rate, and it is determined that traffic statistics for each of the target applications reach a threshold.

[0104] In one embodiment, the traffic statistics include counting the total traffic used by any of the target applications within the second preset time period;

[0105] The cellular data switching module 220 is specifically used for:

[0106] The total traffic generated by any of the target applications within the second preset time period reaches the preset traffic, and it is determined that the traffic statistics of each of the target applications reaches a threshold.

[0107] In one embodiment, the traffic statistics include counting the total duration of traffic generated by any target application within a third preset time period;

[0108] The cellular data switching module 220 is specifically used for:

[0109] The total duration of traffic generated by any of the target applications within the third preset time period reaches the preset duration, and it is determined that the traffic statistics of each of the target applications reaches a threshold.

[0110] Figure 5 An example of a physical structure diagram of an electronic device is shown below. Figure 5As shown, the electronic device can include a mobile terminal supporting at least two traffic cards, comprising: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 complete mutual communication through the communication bus 840. The processor 810 can call the computer program in the memory 830 to execute the handover method of cellular data, for example, comprising:

[0111] From each of the applications opened by the mobile terminal, identify each target application corresponding to the first traffic card in the non-working state;

[0112] Determine that the traffic statistics of each target application reaches a threshold, and switch the mobile terminal to use the cellular data of the first traffic card.

[0113] In addition, the logical instructions in the memory 830 described above can be implemented in the form of a software function unit and sold or used as an independent product, which can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the parts that contribute to the prior art or parts of the technical solutions can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the embodiments of the method of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.

[0114] On the other hand, the embodiments of the present application also provide a storage medium applied to a mobile terminal supporting at least two traffic cards. The storage medium includes a computer program, the computer program can be stored on a non-transitory computer readable storage medium, and the computer program is executed by the processor, the computer can execute the handover method of cellular data provided by each of the above embodiments, for example, comprising:

[0115] From each of the applications opened by the mobile terminal, identify each target application corresponding to the first traffic card in the non-working state;

[0116] Determine that the traffic statistics of each target application reaches a threshold, and switch the mobile terminal to use the cellular data of the first traffic card.

[0117] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.

[0118] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A cellular data switching method, characterized in that: Applicable to mobile terminals that support at least two data cards, including: identifying target applications corresponding to the first traffic card in a non-working state from among the applications opened on the mobile terminal; Determining that the traffic statistics of each target application reaches a threshold, switching the mobile terminal to cellular data using the first traffic card; Determining that traffic statistics for each target application reaches a threshold, and switching the mobile terminal to cellular data using the first traffic card, includes: Determining that traffic statistics for each target application reach a threshold, and obtaining, from each application, associated applications corresponding to the second traffic card in working state; Perform traffic statistics on each of the associated applications from the time of switching to the cellular data of the second traffic card to the current time, determine that the traffic statistics of each of the associated applications have not reached a preset value, and switch the cellular data used by the mobile terminal from the cellular data of the second traffic card to the cellular data of the first traffic card.

2. The cellular data switching method according to claim 1, wherein: Determining that traffic statistics for each target application reaches a threshold, and switching the mobile terminal to cellular data using the first traffic card, includes: Determining that the mobile terminal uses cellular data to access a network, and performing traffic statistics on each of the target applications; It is determined that the traffic statistics of each target application reaches a threshold, and the mobile terminal is switched to cellular data using the first traffic card.

3. The cellular data switching method according to claim 1, wherein: Also includes: Determine that the traffic statistics of each associated application reaches the preset value, and continue to use the cellular data of the second traffic card.

4. The cellular data switching method according to any one of claims 1 to 3, characterized in that: The traffic statistics include collecting statistics on an average rate of traffic generated by any target application within a first preset time period; The determining whether the traffic statistics of each target application reaches a threshold includes: The average rate at which traffic generated by any of the target applications during the first preset time period reaches a preset rate, and it is determined that traffic statistics for each of the target applications reach a threshold.

5. The cellular data switching method according to any one of claims 1 to 3, characterized in that: The traffic statistics include counting the total traffic used by any target application within a second preset time period; The determining whether the traffic statistics of each target application reaches a threshold includes: The total traffic generated by any of the target applications within the second preset time period reaches the preset traffic, and it is determined that the traffic statistics of each of the target applications reaches a threshold.

6. The cellular data switching method according to any one of claims 1 to 3, characterized in that: The traffic statistics include counting the total duration of traffic generated by any target application within a third preset time period; The determining whether the traffic statistics of each target application reaches a threshold includes: The total duration of traffic generated by any of the target applications within the third preset time period reaches the preset duration, and it is determined that the traffic statistics of each of the target applications reaches a threshold.

7. A cellular data switching device, characterized in that: Applicable to mobile terminals that support at least two data cards, including: a target application acquisition module, configured to identify target applications corresponding to the first traffic card in a non-working state from applications opened by the mobile terminal; a cellular data switching module, configured to determine that the traffic statistics of each target application reaches a threshold value, and switch the mobile terminal to the cellular data using the first traffic card; The cellular data switching module is specifically used for: Determining that traffic statistics for each target application reach a threshold, and obtaining associated applications corresponding to the second traffic card in working state from each target application; Perform traffic statistics on each of the associated applications from the time of switching to the cellular data of the second traffic card to the current time, determine that the traffic statistics of each of the associated applications have not reached a preset value, and switch the cellular data used by the mobile terminal from the cellular data of the second traffic card to the cellular data of the first traffic card.

8. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the cellular data switching method according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the cellular data switching method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • SIM card switching method, mobile terminal and computer readable storage medium

    CN107708168A

  • Control method and device of multi-card mobile terminal, storage medium and computer equipment

    CN110557817A