CN109451538B - Data flow control method and terminal thereof - Google Patents

Data flow control method and terminal thereof Download PDF

Info

Publication number
CN109451538B
CN109451538B CN201811645117.XA CN201811645117A CN109451538B CN 109451538 B CN109451538 B CN 109451538B CN 201811645117 A CN201811645117 A CN 201811645117A CN 109451538 B CN109451538 B CN 109451538B
Authority
CN
China
Prior art keywords
network
data transmission
data
application
flow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811645117.XA
Other languages
Chinese (zh)
Other versions
CN109451538A (en
Inventor
徐强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201811645117.XA priority Critical patent/CN109451538B/en
Publication of CN109451538A publication Critical patent/CN109451538A/en
Application granted granted Critical
Publication of CN109451538B publication Critical patent/CN109451538B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention aims to provide a data flow control method and a terminal thereof, wherein the method comprises the following steps: judging whether the application currently carrying out data transmission is a directional flow application corresponding to a client identification module in user equipment; and if the application for data transmission is the directed flow application, switching the network mode for data transmission to the data network of the client identification module corresponding to the directed flow application for data transmission. According to the data flow control method and the terminal thereof, the actions of manually switching the data flow and the WIFI can be completely automated, so that a user can feel the mobile data flow without perception, and the high speed, flow-free and convenience are brought.

Description

Data flow control method and terminal thereof
Technical Field
The present invention relates to the field of computers, and in particular, to a data flow control method and a terminal thereof.
Background
The current market has been emerging with mobile traffic internet packages, which are cheaper, and more importantly, internet packages often have directional APPs (applications) that are popular APPs and are free of streaming. However, most people do not want to change the phone numbers, so that many users of dual-SIM (Subscriber Identity Module) cards or multi-SIM mobile phones have. Often, when a multi-SIM-card user uses a dedicated directional APP, the SIM card needs to be manually switched to achieve flow-free. In addition, most of the time of some users is data transmission by using public WIFI (WIreless-Fidelity), which sometimes has a slow transmission speed, and if these users use directional APP, if they want to use 4G traffic without streaming for fast data transmission, it is very inconvenient to manually turn off WIFI. Due to the fact that multiple persons may use or signal WIFI, the experience of the 4G network is better than that of using WIFI. The price of traffic is really cheaper now, and many times the speed requirement is higher, but for the case of not very large data volume, users are more inclined to use data traffic rather than WIFI. Only because the data traffic is worried about exceeding the package limit or the subsequent traffic is not enough due to large traffic consumption in a short time, the data traffic and the WIFI can be switched back and forth frequently.
Disclosure of Invention
The invention aims to provide a data flow control method and a terminal thereof, which aim to solve the problem of mutual switching between data flow and WIFI.
The invention provides a data flow control method, which comprises the following steps:
judging whether the application currently carrying out data transmission is a directional flow application corresponding to a client identification module in user equipment;
and if the application for data transmission is the directed flow application, switching the network mode for data transmission to the data network of the client identification module corresponding to the directed flow application for data transmission.
Further, when the method of the present invention switches the network mode of the current data transmission to the data network of the client identification module corresponding to the directional traffic application for data transmission, the method further includes:
and if the current network mode for data transmission is to use the Wi-Fi network for data transmission, closing the data transmission of the Wi-Fi network.
Further, the method of the present invention further comprises:
if the application for data transmission at present is not the directional flow application, triggering a network connection application in user equipment to acquire network information of a target Wi-Fi network, and switching a network mode for data transmission at present to perform data transmission with the target Wi-Fi network based on the network information.
Further, the method of the present invention further comprises:
after the data transmission is carried out by the target Wi-Fi network, when the network transmission parameter of the target Wi-Fi network does not accord with the preset parameter standard, the current network mode for carrying out the data transmission is switched to the data transmission by the data network.
Further, the method of the present invention further comprises:
and if the target Wi-Fi network is unavailable or operation prohibition is triggered, switching the network mode of data transmission to the data network for data transmission.
Further, in the method of the present invention, the ue includes at least two of the client identity modules;
switching a network mode of currently performing data transmission to perform data transmission by the data network, including:
and switching the network mode for data transmission to the data network of the client identification module with the largest residual flow for data transmission.
Further, the method of the present invention further comprises:
and when the residual flow of the customer identification module with the maximum residual flow is lower than a first preset residual flow threshold value, or when the consumption speed of the residual flow of the customer identification module with the maximum residual flow exceeds a preset flow consumption speed threshold value, sending notification information to the user equipment.
Further, the method of the present invention further comprises:
when the residual flow of the client identification module with the largest residual flow is lower than a second preset residual flow threshold value, triggering a network connection application in user equipment to acquire network information of a target Wi-Fi network, and switching a network mode for currently performing data transmission to perform data transmission by using the target Wi-Fi network based on the network information; wherein the first preset residual flow threshold is greater than the second preset residual flow threshold.
Further, before switching the network mode currently performing data transmission to the data network using the subscriber identity module with the largest remaining traffic for data transmission, the method of the present invention further includes:
querying the residual flow of each customer identification module;
and when the residual flow of each customer identification module is lower than a third preset residual flow threshold value, keeping the current network mode for data transmission as that for data transmission by using the target Wi-Fi network.
Further, the method of the present invention further comprises:
if the application performing data transmission currently is the directional flow application, when the application pushes popularization resources to a user, a network connection application in user equipment is triggered to acquire network information of a target Wi-Fi network, and a network mode performing data transmission currently is switched to perform data transmission with the target Wi-Fi network based on the network information.
Further, the method of the present invention further comprises:
and when the application finishes pushing the popularization resources to the user, switching the network mode for data transmission at present to a data network of the client identification module corresponding to the directional flow application for data transmission.
The present invention also provides a computer-readable storage medium storing instructions for performing the method according to the present invention.
The present invention also provides a terminal, comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the operations of the method according to the invention.
According to the data flow control method and the terminal thereof, actions of manually switching data flow and WIFI can be completely automated, so that a user can feel high speed, free of flow and convenient due to the fact that the user feels no mobile data flow.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a schematic flow chart of a data traffic control method according to a first embodiment of the present invention;
fig. 2 is a schematic flow chart of a data traffic control method according to a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a data flow control device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data flow control device according to a fourth embodiment of the present invention.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present invention is described in further detail below with reference to the attached drawing figures.
Fig. 1 is a schematic flow chart of a data traffic control method according to a first embodiment of the present invention, and as shown in fig. 1, the data traffic control method according to the first embodiment of the present invention includes:
step S101, judging whether the application currently carrying out data transmission is the directional flow application corresponding to the client identification module in the user equipment.
The directional traffic Application is an Application (APP) designated by a communication service provider for performing traffic control, such as a directional traffic-free APP and a directional preferential traffic APP. The user equipment can obtain internet package information from the server side to determine which APPs belong to the directional flow-free APPs and determine which communication service providers are respectively targeted by the directional flow-free APPs. Since communication service providers often use Subscriber Identity Modules (SIMs) to distinguish services, they can know which SIM card a certain APP is directed to exempt from streaming by obtaining internet package information. When detecting that a certain APP is carrying out data transmission, detecting whether the APP is a directional flow-free APP and which SIM card the directional flow-free service is bound with according to the Internet package information.
And step S102, if the current application for data transmission is the directional flow application, switching the current network mode for data transmission to the data network of the client identification module corresponding to the directional flow application for data transmission.
When detecting that the APP performing data transmission is a directional flow-free APP, switching a network mode currently performing data transmission to a SIM card bound by the directional flow-free APP to perform data transmission in a mobile data network of the SIM card providing a directional flow-free service.
By the data flow control method provided by the embodiment of the invention, the data flow can be automatically switched to the directional flow-free mobile data network for high-speed data transmission under the condition that a user does not sense the data flow, so that convenience and better network experience are brought to the user.
Fig. 2 is a schematic flow chart of a data traffic control method according to a second embodiment of the present invention, and as shown in fig. 2, the data traffic control method according to the second embodiment of the present invention includes:
step S201, determining whether the application currently performing data transmission is a directional traffic application corresponding to the client identification module in the user equipment.
Step S202, if the current data transmission application is the directional traffic application, switching the current data transmission network mode to the data network of the client identification module corresponding to the directional traffic application for data transmission.
In an embodiment of the present invention, when the network mode currently performing data transmission is switched to the data network of the client identification module corresponding to the directional traffic application for data transmission, if the network mode currently performing data transmission is data transmission performed by using a Wi-Fi network, the data transmission of the Wi-Fi network is turned off.
For example, if the APP currently consuming traffic is a directional flow-free APP and the network mode in which the user equipment performs data transmission is that the Wi-Fi network performs data transmission, the data transmission of the Wi-Fi network is turned off, and the network mode in which the data transmission is currently performed is switched to the mobile data network of the SIM card corresponding to the directional flow-free APP to perform data transmission. Wherein, turning off the Wi-Fi network can comprise: and controlling data to be transmitted without passing through a Wi-Fi network in the Wi-Fi function starting state, or acquiring the Wi-Fi function permission and directly closing the Wi-Fi function.
Step S203, if the application performing data transmission currently is not the directional flow application, triggering a network connection application in the user equipment to acquire network information of a target Wi-Fi network, and switching the network mode performing data transmission currently to perform data transmission with the target Wi-Fi network based on the network information.
If the APP consuming the current flow is not directional flow-free, data transmission is still carried out through the Wi-Fi network, so that package flow consumption is avoided. In addition to data transmission with the Wi-Fi network to which the user equipment is historically connected, other Wi-Fi networks may be attempted to connect. For example, if the APP currently consuming traffic is not a directional flow-free APP, the user equipment is triggered to start the network connection application. The network connection application requests network information of a target Wi-Fi network, such as network information of an identifier, a password, signal strength, a geographical position and the like of the target Wi-Fi network, from a server, switches a current network mode to a Wi-Fi mode, and accesses the target Wi-Fi network through the acquired network information to perform data transmission. When a user is in a mobile state, the Wi-Fi network can be switched according to the geographical position through the network connection application, at the moment, the network information of the nearby Wi-Fi network is acquired by requesting the cloud end, and the Wi-Fi network is accessed to the target Wi-Fi network according to the network information, so that automatic switching is performed under the condition that the user does not sense, the flow consumption is avoided, the seamless connection of data transmission is ensured, and the stability and the usability of network signals are guaranteed.
And step S204, after the data transmission is carried out by the target Wi-Fi network, when the network transmission parameter of the target Wi-Fi network does not accord with the preset parameter standard, the current network mode for carrying out the data transmission is switched to carry out the data transmission by the data network.
The preset parameters may include transmission speed, signal strength, geographical location, and other parameters. After switching to the target Wi-Fi network according to step S203, the user equipment may obtain Wi-Fi network transmission parameters, such as transmission speed, signal strength, and geographic position, of the current Wi-Fi network for data transmission by reading system information or other network monitoring methods, compare the Wi-Fi network transmission parameters with preset parameter standards, such as transmission speed, signal strength, and geographic position, and if the network transmission parameters do not meet the preset parameter standards, for example, are lower than a preset transmission speed threshold, a signal strength threshold, and exceed a distance threshold, it indicates that the target Wi-Fi network cannot provide a stable data transmission signal, at this time, switch the current network mode to the mobile data network of the SIM card, so as to ensure the stability of the network.
And step S205, if the target Wi-Fi network is not available or the operation is prohibited, switching the network mode of the current data transmission to the data transmission by the data network.
When the mobile data network of the SIM card is connected with the target Wi-Fi network and the network connection application finds that the target Wi-Fi network is unavailable, the current network mode is switched to the mobile data network of the SIM card. Or when the mobile terminal is connected with the target Wi-Fi network, the user triggers the operation of forbidding the connection with the Wi-Fi network, and then the current network mode is switched to the mobile data network of the SIM card, so that the stability of the network is ensured.
In an embodiment of the present invention, the user equipment includes at least two of the client identification modules. In step S204 and step S205, switching the network mode currently performing data transmission to the data network for data transmission includes:
and switching the network mode for data transmission to the data network of the client identification module with the largest residual flow for data transmission.
For example, the user equipment is dual-card dual-standby, and is provided with a SIM card 1 and a SIM card 2. At this time, the user equipment may obtain the remaining package flow of all the SIM cards by reading system information or by short message query. Because the APP at this moment is not directional flow-free and consumes flow, the residual flows of the SIM card 1 and the SIM card 2 can be compared, and the SIM card with the most residual flow is selected for data communication, so that flow consumption is avoided and network stability is ensured under the condition that a user does not sense the APP. Since the SIM card with the most remaining traffic is always selected for data communication, the consumed traffic can be evenly distributed among the SIM cards. Besides dual card dual standby, the user equipment may also have more SIM cards, and the number of the SIM modules is not limited by the present invention.
In an embodiment of the present invention, when the remaining traffic of the subscriber identity module with the largest remaining traffic is lower than a first preset remaining traffic threshold, or when the consumption rate of the remaining traffic of the subscriber identity module with the largest remaining traffic exceeds a preset traffic consumption rate threshold, sending notification information to the user equipment.
For example, when the remaining flow of the SIM card is lower than the first preset threshold, it indicates that the SIM card is consumed too much, and at this time, a notification message is sent to alert the user. In addition, when the flow consumption speed of the SIM card exceeds the preset flow consumption speed threshold, it indicates that the flow consumption of the SIM card is too fast, and the user may be watching a video or downloading a large file using the flow, and at this time, a notification message is sent to alert the user.
In an embodiment of the present invention, when the remaining traffic of the subscriber identity module with the largest remaining traffic is lower than a second preset remaining traffic threshold, triggering a network connection application in user equipment to obtain network information of a target Wi-Fi network, and switching a network mode currently performing data transmission to perform data transmission with the target Wi-Fi network based on the network information; wherein the first preset residual flow threshold is greater than the second preset residual flow threshold.
For example, when the remaining traffic of the SIM card with the largest remaining traffic is lower than the second preset remaining traffic threshold, it indicates that the traffic of all SIM cards in the user equipment is not enough, at this time, the mobile data network is abandoned, and the network connection application in the user equipment is triggered to search and connect to the target Wi-Fi network for data transmission, so that network switching is also realized without awareness of the user.
In an embodiment of the present invention, before switching a network mode currently performing data transmission to the data network using the subscriber identity module with the largest remaining traffic for data transmission, the method further includes:
querying the residual flow of each customer identification module;
and when the residual flow of each customer identification module is lower than a third preset residual flow threshold value, keeping the current network mode for data transmission as that for data transmission by using the target Wi-Fi network.
And the third preset residual flow threshold value is smaller than the second preset residual flow threshold value. For example, before switching to the data network of the SIM card in steps S204 and S205, the remaining traffic of each SIM card may be obtained first, and if the remaining traffic of all the SIM cards is lower than the third preset remaining traffic threshold, it is indicated that the data network of the SIM card is turned on again, and extra traffic consumption cost is likely to be generated, at this time, the data network of the SIM card is turned off, and only the Wi-Fi network is turned on, so as to avoid generating traffic cost.
In an embodiment of the present invention, if the current application performing data transmission is the directional traffic application, when the application pushes a promotion resource to a user, a network connection application in user equipment is triggered to obtain network information of a target Wi-Fi network, and a network mode of the current data transmission is switched to the target Wi-Fi network for data transmission based on the network information. And when the application finishes pushing the popularization resources to the user, switching the network mode for data transmission at present to a data network of the client identification module corresponding to the directional flow application for data transmission.
Wherein the promotion resources comprise advertisement data and the like. When the user uses the directional streaming-free APP, the server of the communication service provider may push advertisement data to the user equipment, and the user equipment may download the advertisement data in real time and play the advertisement data, or download the advertisement data in a background and play the advertisement data when triggered. The situation of downloading advertisement data in real time and playing the advertisement data can bring bad experience to users besides consuming flow. In the case that advertisement data is downloaded in the background and played when triggered, it is difficult for the user to know that the traffic is consumed at the moment. Therefore, whether the targeted streaming-free APP downloads promotion resources such as advertisement data can be automatically detected, and if the promotion resources are downloaded, the network connection application is triggered to be switched to the target Wi-Fi network, so that traffic consumption caused by the promotion resources is avoided. And when detecting that the download of the popularization resource is finished, switching back to a data network of the SIM card corresponding to the directional stream-free APP for data transmission. And similarly, under the condition that the user does not sense, the method helps the user to switch, and ensures the stability of the network on the premise of avoiding flow consumption.
Fig. 3 is a schematic structural diagram of a data flow control device according to a third embodiment of the present invention, and as shown in fig. 3, the data flow control device according to the third embodiment of the present invention includes: a judging module 31 and a first switching module 32.
The determining module 31 is configured to determine whether the application currently performing data transmission is a directional traffic application corresponding to the client identification module in the user equipment.
The first switching module 32 is configured to, if the application currently performing data transmission is the directional traffic application, switch a network mode currently performing data transmission to a data network of the client identification module corresponding to the directional traffic application for data transmission.
The data flow control device in the third embodiment of the present invention is an implementation device of the method in the first embodiment of the present invention, and the principle is the same as that in the first embodiment, and is not described herein again.
Fig. 4 is a schematic structural diagram of a data flow control device according to a fourth embodiment of the present invention, and as shown in fig. 4, the data flow control device according to the fourth embodiment of the present invention includes: a judging module 31, a first switching module 32 and a second switching module 41.
The judging module 31 is configured to judge whether an application currently performing data transmission is a directional traffic application corresponding to a client identification module in the user equipment;
the first switching module 32 is configured to, if the application currently performing data transmission is the directional traffic application, switch the network mode currently performing data transmission to a data network of the client identification module corresponding to the directional traffic application for data transmission.
The first switching module 32 is also configured to: and when the current network mode for data transmission is switched to the data network of the client identification module corresponding to the directional flow application for data transmission, if the current network mode for data transmission is the Wi-Fi network for data transmission, closing the data transmission of the Wi-Fi network.
The second switching module 41 is configured to: if the application performing data transmission currently is not the directional flow application, triggering a network connection application in the user equipment to acquire network information of a target Wi-Fi network, and switching a network mode performing data transmission currently to perform data transmission with the target Wi-Fi network based on the network information.
The second switching module 32 is further configured to: after the data transmission is carried out by the target Wi-Fi network, when the network transmission parameter of the target Wi-Fi network does not accord with the preset parameter standard, the current network mode for carrying out the data transmission is switched to the data transmission by the data network.
The first switching module 32 is also configured to: and if the target Wi-Fi network is unavailable or operation prohibition is triggered, switching the network mode of data transmission to the data network for data transmission.
In an embodiment of the present invention, the user equipment includes at least two of the client identification modules. The second switching module 32 is further configured to: and switching the network mode for data transmission to the data network of the client identification module with the largest residual flow for data transmission.
In an embodiment of the present invention, the ue includes at least two of the subscriber identity modules. The second switching module 32 is further configured to: and when the residual flow of the subscriber identification module with the largest residual flow is lower than a first preset residual flow threshold value, or when the consumption speed of the residual flow of the subscriber identification module with the largest residual flow exceeds a preset flow consumption speed threshold value, sending notification information to the user equipment.
In an embodiment of the present invention, the user equipment includes at least two of the client identification modules. The second switching module 41 is further configured to: when the residual flow of the client identification module with the largest residual flow is lower than a second preset residual flow threshold value, triggering a network connection application in user equipment to acquire network information of a target Wi-Fi network, and switching a network mode for currently performing data transmission to perform data transmission by using the target Wi-Fi network based on the network information; wherein the first preset residual flow threshold is greater than the second preset residual flow threshold.
In an embodiment of the present invention, the user equipment includes at least two of the client identification modules. Before switching the network mode currently performing data transmission to the data network with the subscriber identity module with the largest remaining traffic, the second switching module 41 is further configured to: querying the residual flow of each customer identification module; and when the residual flow of each customer identification module is lower than a third preset residual flow threshold value, keeping the current network mode for data transmission as that for data transmission by using the target Wi-Fi network.
In an embodiment of the present invention, the second switching module 41 is further configured to: if the application performing data transmission currently is the directional flow application, when the application pushes popularization resources to a user, a network connection application in user equipment is triggered to acquire network information of a target Wi-Fi network, and a network mode performing data transmission currently is switched to perform data transmission with the target Wi-Fi network based on the network information.
In an embodiment of the present invention, the first switching module 32 is further configured to: and when the application finishes pushing the popularization resources to the user, switching the network mode for data transmission at present to a data network of the client identification module corresponding to the directional flow application for data transmission.
The data flow control device in the fourth embodiment of the present invention is an implementation device of the method in the second embodiment of the present invention, and the principle is the same as that in the second embodiment, which is not described herein again.
The embodiment of the present invention further provides a computer-readable storage medium, which stores instructions that are executed according to the method described in the first embodiment or the second embodiment of the present invention.
The invention provides a terminal, comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the operations of the method as described in either embodiment one or embodiment two of the present invention.
In a typical configuration of the invention, the terminal, the device serving the network, and the trusted party each include one or more processors (e.g., central Processing Units (CPUs)), input/output interfaces, network interfaces, and memory.
The Memory may include volatile Memory in a computer readable medium, random Access Memory (RAM), and/or non-volatile Memory such as Read-Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase Change RAM (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read-Only Memory (EEPROM), flash Memory or other Memory technology, compact Disc Read-Only Memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
The terminal includes, but is not limited to, any electronic product capable of performing human-computer interaction with a user (e.g., human-computer interaction through a touch panel), for example, a mobile electronic product such as a smart phone and a tablet computer, where the mobile electronic product may employ any operating system, such as an android operating system, an iOS operating system, and the like. The server includes an electronic device capable of automatically performing numerical calculation and information processing according to a preset or stored instruction, and hardware thereof includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like. The server includes but is not limited to a computer, a network host, a single network server, multiple network server sets or a cloud of multiple servers; here, the Cloud is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual supercomputer consisting of a collection of loosely coupled computers. Including, but not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless Ad Hoc network (Ad Hoc network), etc. Preferably, the terminal and the server may be programs running on a device formed by integrating the terminal, the server, or the terminal and the server through a network.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
It should be noted that the present invention may be implemented in software and/or in a combination of software and hardware, for example, as an Application Specific Integrated Circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present invention may be executed by a processor to implement the steps or functions described above. Also, the software programs (including associated data structures) of the present invention can be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Further, some of the steps or functions of the present invention may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present invention can be applied as a computer program product, such as computer program instructions, which when executed by a computer, can invoke or provide the method and/or technical solution according to the present invention through the operation of the computer. Program instructions which invoke the methods of the present invention may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the invention herein comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or solution according to embodiments of the invention as described above.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (9)

1. A method for controlling data traffic, comprising:
judging whether the application currently carrying out data transmission is a directional flow application corresponding to a client identification module in user equipment;
if the application for data transmission is the directional flow application, switching the network mode for data transmission to the data network of the client identification module corresponding to the directional flow application for data transmission;
when the network mode currently performing data transmission is switched to the data network applying the corresponding client identification module with the directional flow for data transmission, the method further includes: if the current network mode for data transmission is to use the Wi-Fi network for data transmission, the data transmission of the Wi-Fi network is closed;
if the current application for data transmission is not the directional flow application, triggering a network connection application in user equipment to acquire network information of a target Wi-Fi network, and switching a network mode for data transmission to the target Wi-Fi network for data transmission based on the network information;
the method further comprises the following steps:
if the application performing data transmission currently is the directional flow application, when the application pushes popularization resources to a user, triggering a network connection application in user equipment to acquire network information of a target Wi-Fi network, and switching a network mode performing data transmission currently to perform data transmission by using the target Wi-Fi network based on the network information;
the method further comprises the following steps:
and when the application finishes pushing promotion resources to the user, switching the network mode currently carrying out data transmission into the data network of the client identification module corresponding to the directional flow application for carrying out data transmission.
2. The method of claim 1, further comprising:
after the data transmission is carried out by the target Wi-Fi network, when the network transmission parameter of the target Wi-Fi network does not accord with the preset parameter standard, the current network mode for carrying out the data transmission is switched to the data transmission by the data network.
3. The method of claim 1, further comprising:
and if the target Wi-Fi network is unavailable or operation prohibition is triggered, switching the network mode of data transmission to the data network for data transmission.
4. A method according to claim 2 or 3, wherein the user equipment comprises at least two of the subscriber identity modules;
switching the current network mode for data transmission to the data network for data transmission, including: and switching the network mode for data transmission to the data network of the client identification module with the largest residual flow for data transmission.
5. The method of claim 4, further comprising:
and when the residual flow of the customer identification module with the maximum residual flow is lower than a first preset residual flow threshold value, or when the consumption speed of the residual flow of the customer identification module with the maximum residual flow exceeds a preset flow consumption speed threshold value, sending notification information to the user equipment.
6. The method of claim 5, further comprising:
when the residual flow of the customer identification module with the largest residual flow is lower than a second preset residual flow threshold value, triggering a network connection application in user equipment to acquire network information of a target Wi-Fi network, and switching a current network mode for data transmission to the target Wi-Fi network for data transmission based on the network information; wherein the first preset residual flow threshold is greater than the second preset residual flow threshold.
7. The method of claim 4, further comprising, before switching the network mode of data transmission to the data network with the subscriber identity module having the most traffic remaining, the following steps:
querying the residual flow of each customer identification module;
and when the residual flow of each customer identification module is lower than a third preset residual flow threshold value, keeping the current network mode for data transmission as that for data transmission by using the target Wi-Fi network.
8. A computer-readable storage medium storing instructions for performing the method of any one of claims 1 to 7.
9. A data traffic control terminal, comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the operations of the method of any of claims 1 to 7.
CN201811645117.XA 2018-12-29 2018-12-29 Data flow control method and terminal thereof Active CN109451538B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811645117.XA CN109451538B (en) 2018-12-29 2018-12-29 Data flow control method and terminal thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811645117.XA CN109451538B (en) 2018-12-29 2018-12-29 Data flow control method and terminal thereof

Publications (2)

Publication Number Publication Date
CN109451538A CN109451538A (en) 2019-03-08
CN109451538B true CN109451538B (en) 2023-04-18

Family

ID=65539910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811645117.XA Active CN109451538B (en) 2018-12-29 2018-12-29 Data flow control method and terminal thereof

Country Status (1)

Country Link
CN (1) CN109451538B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110149644A (en) * 2019-04-02 2019-08-20 努比亚技术有限公司 Terminal communication control method, terminal device and computer readable storage medium
CN110072228A (en) * 2019-04-29 2019-07-30 努比亚技术有限公司 A kind of method for switching network, terminal and computer readable storage medium
CN111526491B (en) * 2020-04-01 2021-12-28 北京小米移动软件有限公司 Network management and control method, device and storage medium
CN112398746A (en) * 2020-10-12 2021-02-23 联通智网科技有限公司 Flow control method, flow control device, server and storage medium
CN112637800B (en) * 2020-12-15 2022-11-29 中国联合网络通信集团有限公司 User identification card switching method, device and system and intelligent terminal
CN113286341B (en) * 2021-05-20 2022-07-05 绍兴文理学院元培学院 Method, system, terminal and storage medium for automatically switching network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764101A (en) * 2016-04-28 2016-07-13 乐视控股(北京)有限公司 Method for switching network route of mobile terminal and mobile terminal
CN107708168A (en) * 2017-11-23 2018-02-16 广东欧珀移动通信有限公司 SIM card switching method, mobile terminal and computer-readable recording medium
CN108391025A (en) * 2018-01-30 2018-08-10 努比亚技术有限公司 A kind of network access management method, mobile terminal and computer readable storage medium
CN108769980A (en) * 2018-05-14 2018-11-06 中国联合网络通信集团有限公司 Data channel switching method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929787A (en) * 2013-01-11 2014-07-16 电信科学技术研究院 Method, device and system for switching of heterogeneous networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764101A (en) * 2016-04-28 2016-07-13 乐视控股(北京)有限公司 Method for switching network route of mobile terminal and mobile terminal
CN107708168A (en) * 2017-11-23 2018-02-16 广东欧珀移动通信有限公司 SIM card switching method, mobile terminal and computer-readable recording medium
CN108391025A (en) * 2018-01-30 2018-08-10 努比亚技术有限公司 A kind of network access management method, mobile terminal and computer readable storage medium
CN108769980A (en) * 2018-05-14 2018-11-06 中国联合网络通信集团有限公司 Data channel switching method and terminal

Also Published As

Publication number Publication date
CN109451538A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN109451538B (en) Data flow control method and terminal thereof
EP2795992B1 (en) Method and apparatus for emulating a plurality of subscriptions
EP2807553B1 (en) Managing data transfers over network connections based on priority and a data usage plan
RU2602091C2 (en) Multichannel communication terminal
KR101822605B1 (en) Mobile network operator identification
US10897704B2 (en) Method of connecting a terminal device to network, a terminal device and a non-transitory computer readable storage medium
WO2016180182A1 (en) Service package recommendation method and device
CN105359562B (en) Control device, control method, communication system, and computer-readable storage medium
CN107182098B (en) Method and equipment for realizing switching of user equipment between wireless access points
CN110809255B (en) Card information activation method and device and storage medium
CN106658568B (en) Method and equipment for providing available wireless access point information
CN104619045A (en) Access control method and device for mobile terminal
US10809382B2 (en) Transmitting GPS correction data through emergency alert system
CN109246658B (en) Method and equipment for transmitting no-flow data
CN107832142B (en) Resource allocation method and equipment for application program
KR101538503B1 (en) Method for connecting wireless LAN using strength of signal
WO2016049008A1 (en) Communication method, apparatus, and system
TWI748438B (en) Content display method, device and electronic equipment
CN111132132A (en) Traffic management method and device and terminal equipment
CN109275125B (en) Resource sharing method, device, equipment and storage medium
CN110771113B (en) Brushing amount terminal detection method and device
US9420466B2 (en) Method and apparatus for secure element management
CN108419238A (en) A kind of method and device of detection rogue AP
CN108990039B (en) Data transmission method and related device
KR102060030B1 (en) Radio resource determination method and apparatus, and service server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant