CN107659509A - Control application traffic application method, device, readable storage medium storing program for executing and terminal device - Google Patents

Control application traffic application method, device, readable storage medium storing program for executing and terminal device Download PDF

Info

Publication number
CN107659509A
CN107659509A CN201710776144.XA CN201710776144A CN107659509A CN 107659509 A CN107659509 A CN 107659509A CN 201710776144 A CN201710776144 A CN 201710776144A CN 107659509 A CN107659509 A CN 107659509A
Authority
CN
China
Prior art keywords
application
transmitted
file
terminal device
transmission
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.)
Granted
Application number
CN201710776144.XA
Other languages
Chinese (zh)
Other versions
CN107659509B (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.)
Meizu Technology Co Ltd
Original Assignee
Meizu 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710776144.XA priority Critical patent/CN107659509B/en
Publication of CN107659509A publication Critical patent/CN107659509A/en
Application granted granted Critical
Publication of CN107659509B publication Critical patent/CN107659509B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/04Registration at HLR or HSS [Home Subscriber Server]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/622Queue service order
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/6245Modifications to standard FIFO or LIFO

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

One kind control application traffic application method includes:Judge the terminal device applies whether the file size to be transmitted under mobile data network exceedes preset value;When the file size to be transmitted exceedes the preset value, judge whether the application is the white list application for having opened free traffic service;If the file size to be transmitted is white list application not less than the preset value or the application, the file to be transmitted is transmitted with First Speed;Otherwise the file to be transmitted is transmitted with second speed.Present invention also offers one kind control application traffic use device, terminal device and readable storage medium storing program for executing.Present invention control application traffic application method, device, terminal device and readable storage medium storing program for executing pass through to more than preset value and be not that white list applies transmitted carry out flow control, being advantageous to avoid that the too fast consumption of mobile data network flow may be caused because file to be transmitted is larger.

Description

Control application traffic application method, device, readable storage medium storing program for executing and terminal device
Technical field
The present invention relates to data processing field, more particularly to a kind of control application traffic application method, device, readable storage Medium and terminal device.
Background technology
Terminal device (such as mobile phone, tablet personal computer) is usually mounted with different application programs, to meet that user is different Demand.However, the application in terminal device is networked under mobile data network sometimes, (some applications can be uploaded or downloaded The video or file of larger capacity), the so mobile data flow of the consumption user of meeting rapid, high volume, use to user is brought Certain inconvenience.
The content of the invention
In view of the foregoing, it is necessary to provide it is a kind of under mobile data network carry out flow control method, apparatus, can Read storage medium and terminal device.
One kind control application traffic application method, applied to terminal device, the control application traffic application method includes:
Judge the terminal device applies whether the file size to be transmitted under mobile data network exceedes preset value;
When the file size to be transmitted exceedes the preset value, judge whether the application is to have opened free flow The white list application of service;
If the file size to be transmitted is white list application not less than the preset value or the application, institute is utilized State mobile data network and the file to be transmitted is transmitted with First Speed;
If the application using mobile data network transmission file size exceed the preset value and it is described application not It is white list application, the file to be transmitted is transmitted with second speed using the mobile data network, the second speed is big In or equal to 0, and it is less than the First Speed.
Further, it is described to judge to be applied to transmit under mobile data network in the control application traffic application method The size of file also includes before whether exceeding preset value:
Obtain each application for being intended to perform transmission operation in the terminal device;
Each application memory for transmitting operation will be intended to perform in the terminal device in transmission queue, wherein the transmission queue It also stored for the size of each application file to be transmitted;
The transmission for performing corresponding application from the transmission queue according to transmission rule operates.
Further, it is described to be transmitted according to transmission rule from described in queue in the control application traffic application method Performing the transmission operation of corresponding application includes:
The application that corresponding transmission file is minimum in the transmission queue is selected to perform;Or
According to first-in first-out from it is described transmission queue in select it is most advanced come application execution.
Further, the control application traffic application method also includes:
If the application using mobile data network transmission file size exceed the preset value and it is described application not It is white list application, then exports prompt message, whether continues to download with prompting;
When execution does not continue to download, the application is added into limitation and used in the blacklist of data traffic.
One kind control application traffic use device, applied to terminal device, the control application traffic use device includes:
Whether judging unit, the size for judging to be applied to file to be transmitted under mobile network exceed preset value;
The judging unit, it is described pre- for exceeding in the size applied to file to be transmitted under the mobile network If also judge whether the application is the white list application for having opened free traffic service during value;
Adjustment unit, for being that white list is applied or the file size to be transmitted is default not less than described in the application During value, the file to be transmitted is transmitted with First Speed using the mobile data network;
The adjustment unit, it is additionally operable in the application using the file size of mobile data network transmission more than described pre- If the value and application is not white list application, the text to be transmitted is transmitted with second speed using the mobile data network Part, the second speed is more than or equal to 0, and is less than the First Speed.
Further, in the control application traffic use device, the control application traffic use device also includes:
Acquiring unit, for obtaining each application for being intended to perform transmission operation in the terminal device;
Queue unit, for that will be intended to perform each application memory of transmission operation in the terminal device in transmission queue, its Described in transmission queue also stored for the size of each application file to be transmitted;
Execution unit, the transmission for performing corresponding application from the transmission queue according to transmission rule operate.
Further, in the control application traffic use device, the execution unit also includes:
Perform and the minimum application execution of file is transmitted in the transmission queue;Or
According to first-in first-out from it is described transmission queue in select it is most advanced come application execution.
Further, the control application traffic use device also includes:
Tip element, for the application using mobile data network transmission file size exceed the preset value and Whether the application exports prompt message when not being white list application, continue to download with prompting;
Permission unit, the blacklist for using data traffic is limited for the application being added when performing and not continuing to download It is interior.
A kind of readable storage medium storing program for executing, is stored thereon with computer program, and the computer program is processed when performing and realized Following steps:
Judge the terminal device applies whether the file size to be transmitted under mobile data network exceedes preset value;
When the file size to be transmitted exceedes the preset value, judge whether the application is to have opened free flow The white list application of service;
If the file size to be transmitted is white list application not less than the preset value or the application, institute is utilized State mobile data network and the file to be transmitted is transmitted with First Speed;
If the application using mobile data network transmission file size exceed the preset value and it is described application not It is white list application, the file to be transmitted is transmitted with second speed using the mobile data network, the second speed is big In or equal to 0, and it is less than the First Speed.
A kind of terminal device, including memory and processor, the memory storage are some by the computing device Program, following steps are realized during the computing device described program:
Judge the terminal device applies whether the file size to be transmitted under mobile data network exceedes preset value;
When the file size to be transmitted exceedes the preset value, judge whether the application is to have opened free flow The white list application of service;
If the file size to be transmitted is white list application not less than the preset value or the application, institute is utilized State mobile data network and the file to be transmitted is transmitted with First Speed;
If the application using mobile data network transmission file size exceed the preset value and it is described application not It is white list application, the file to be transmitted is transmitted with second speed using the mobile data network, the second speed is big In or equal to 0, and it is less than the First Speed.
Above-mentioned control flow application method, device, terminal device and readable storage medium storing program for executing be not by more than preset value and being White list applies transmitted carry out flow control, is advantageous to avoid that mobile data network may be caused because file to be transmitted is larger The too fast consumption of network flow.In addition, above-mentioned control flow application method, device, terminal device and readable storage medium storing program for executing also include Application corresponding to being selected according to transmission rule performs transmission operation, such as according to first in first out or file size to be transmitted Carry out application corresponding to prioritizing selection to perform transmission operation.In addition, above-mentioned control flow application method, device, terminal device and Readable storage medium storing program for executing can also limit for the application more than preset value and not in white list, export prompt message, and It can be added into blacklist, further the flow of each application can be controlled, be advantageous to avoid to there may be user and do not know The application of feelings consumes excessive mobile data flow, and then provides more preferable Consumer's Experience.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart for the method that the control application traffic of first embodiment provided by the invention uses.
Fig. 2 is the flow chart for the method that the control application traffic of second embodiment provided by the invention uses.
Fig. 3 is the flow chart for the method that the control application traffic of 3rd embodiment provided by the invention uses.
Fig. 4 is the block diagram of the terminal device of fourth embodiment provided by the invention.
Fig. 5 is the schematic diagram of the better embodiment of the control flow use device in Fig. 4.
Main element symbol description
Specific examples below will combine above-mentioned accompanying drawing and further illustrate the present invention.
Specific embodiment
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention Applying example, the present invention will be described in detail.It should be noted that in the case where not conflicting, embodiments herein and embodiment In feature can be mutually combined.
Elaborate many details in the following description to facilitate a thorough understanding of the present invention, described embodiment only Only it is part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill The every other embodiment that personnel are obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention The implication that technical staff is generally understood that is identical.Term used in the description of the invention herein is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Embodiment one
Referring to Fig. 1, the schematic flow diagram for the control flow application method that the embodiment of the present invention one provides.Methods described should For in terminal device, the terminal device can be the terminal that mobile phone, tablet personal computer etc. have data processing function.Such as Fig. 1 Shown, the control flow application method may include following steps:
Step S100, judge the terminal device applies whether the file size to be transmitted under mobile data network exceedes Preset value.When the file size to be transmitted exceedes the preset value, step S102 is performed;When the file size to be transmitted During not less than the preset value, step S104 is performed.
It is to be appreciated that the mobile data network includes but is not limited to the data networks such as 2G, 3G, 4G or 5G, Yong Hutong It may be produced when crossing the mobile data network transmission file (including but not limited to upper transmitting file and/or download file) certain Expense.Thus, the size of the file (including but is not limited to audio file and/or video file) to be transmitted may have influence on The height of expense.In present embodiment, the file to be transmitted can be the file transmitted, also can be the text having not been transmitted Part.When the file to be transmitted is the file transmitted, the file size to be transmitted can be the text transmitted The length for the part do not transmitted in part;When the file to be transmitted is the file not transmitted, the file size to be transmitted is The length of its file.In another embodiment, when the terminal enters the mobile data network by Wi-Fi wireless networks When, the file size to be transmitted can be the file to be transmitted when entering the mobile data network by Wi-Fi wireless networks In the length of file do not transmitted.
The terminal device can be the digital processing device for having operating system, and the terminal device can be provided with some Using (Application, application program), to enrich the application of the terminal device, strengthen its practicality.This embodiment party In formula, the terminal device can be provided with the first application, the second application and the 3rd application.It is to be appreciated that first application Transmission operation can be performed to the first file to be transmitted, second application can perform transmission behaviour to the second file to be transmitted Make, the 3rd application can perform transmission operation to the 3rd file to be transmitted.
In present embodiment, the transmission, which operates, includes upload operation and down operation, described in the terminal device execution The size of the file to be transmitted can be obtained during transmission operation.In one embodiment, the first application of the terminal device, the Two applications and the 3rd application will perform upload operation (as described in will be stored in the file to be transmitted being stored in the terminal device File to be transmitted in terminal device uploads onto the server), the terminal device can transmit the size of the file to be transmitted To the server, to cause the server to distribute corresponding memory space according to the size of the file to be transmitted; In another embodiment, the first application, the second application and the 3rd application of the terminal device can be from being stored in server The file to be transmitted is obtained, to perform down operation, the terminal device can obtain the corresponding institute transmitted by the server The information of the size of file to be transmitted is stated, corresponding memory space is distributed with information according to the file size to be transmitted.
In present embodiment, preset value can be set in the terminal device, and can be by the size of the file to be transmitted and institute State preset value to be compared, to adjust the transmission file to be transmitted according to the file size to be transmitted and the preset value Speed, and then reduce under the mobile data network expense caused by transmission as far as possible.For example, in one embodiment, The first corresponding file size to be transmitted of first application can exceed the preset value, now, the in the terminal device One application can enter step S102 when performing transmission operation;The second corresponding file size to be transmitted of second application can not More than the preset value, now, step S104 can be entered when the second application performs transmission operation in the terminal device;Described The 3rd corresponding file size to be transmitted of three applications can exceed the preset value, now, the 3rd application in the terminal device It can enter step S102 when performing transmission operation.
Step S102, judge whether the application is the white list application for having opened free traffic service.When the application During to have opened the application of the white list of free traffic service, step S104 is performed;When the application is not to have opened free flow During the white list application of service, step S106 is performed.
In present embodiment, the terminal device may include white list list of application, and the white list list of application can wrap One or more white list applications are included (as may include first application, the 3rd application in the white list list of application Do not lie in the white list list of application), wherein, in the white list list of application application expression can not pair or reduce it Perform to transmit to operate and be controlled into the flow consumed, is transmitted when it performs transmission operation with higher speed (as entirely Speed transmission).In present embodiment, when the file size to be transmitted exceedes the preset value, the terminal device can also be sentenced Whether the disconnected application is the white list application for having opened free traffic service.
For example, when the described first application performs the transmission to the described first file to be transmitted and operated, due to described the One application is white list application, and the terminal device is that can determine whether that first application should for the white list of free traffic service With now, the terminal device can perform step S104;Described in being performed when the described 3rd application to the described 3rd file to be transmitted During transmission operation, because the described 3rd application not can perform step S106 in the white list list of application, the terminal device.
Step S104, the file is transmitted with First Speed using the mobile data network.
In present embodiment, if the file size to be transmitted is white list not less than the preset value or the application Using, the application can transmit the file to be transmitted under the mobile data network with the First Speed, wherein, it is described First Speed can be half of full speed or full speed etc..For example, because the described second application is to the described second text to be transmitted When part performs the transmission operation, because the described second transmission file size is no more than the preset value, the terminal device can Second file to be transmitted is transmitted with the First Speed using the mobile data network.Further, since described first should With the white list application for free traffic service, the terminal device is also using the mobile data network with the described first speed Degree transmits first file to be transmitted.
Step S106, the file is transmitted with second speed using the mobile data network.
In present embodiment, if the application exceedes the preset value using the file size of mobile data network transmission And the application is not white list application, the application can be under the mobile data network with described in second speed transmission File to be transmitted, wherein, the second speed is more than or equal to 0, and is less than the First Speed.For example, the described 3rd is to be passed Defeated file size exceedes the preset value, and the 3rd application is not belonging to the white list application, therefore, the terminal device The 3rd file to be transmitted is transmitted with the second speed using the mobile data network.
In another embodiment, may also include before step S100 judge the terminal device whether by Wi-Fi without Gauze network etc. is not the network transformation of charge on traffic to the mobile data network;When the terminal device is by non-charge on traffic When network transformation is the mobile data network, due to the terminal device, in the non-charge on traffic network, transmission speed can Can be higher, because file to be transmitted is larger the consumption for switching to mobile data network flow may be caused too fast to reduce, it is described Terminal device can utilize the mobile data network to transmit the file to be transmitted with third speed, wherein, the third speed Can be no more than the speed transmitted under non-charge on traffic network.Afterwards, the step S100 can be performed again.
Above-mentioned control flow application method passes through to not being more than preset value and not that white list applies transmitted carry out flow Control, the too fast consumption of mobile data network flow may be caused because file to be transmitted is larger by advantageously reducing.
Embodiment two
Referring to Fig. 2, the schematic flow diagram for the control flow application method that the embodiment of the present invention two provides.Methods described should For in terminal device, the terminal device can be the terminal that mobile phone, tablet personal computer etc. have data processing function.Such as Fig. 2 Shown, the control flow application method may include following steps:
Step S200, obtain each application for being intended to perform transmission operation in the terminal device.
In present embodiment, each application can be simultaneously or according to time order and function order come to operating system in the terminal device Request performs transmission operation.Therefore, respectively apply when the operating system request to the terminal device is transmitted operation, it is described Terminal device can obtain the application for being intended to perform transmission operation.
Step S202, it will be intended to perform each application memory of transmission operation in the terminal device in transmission queue.
It can include in the terminal device in the transmission queue comprising transmission queue and be intended to perform answering for transmission operation With.In present embodiment, the mark that the terminal device can be intended to perform the application of file transmission is stored in the transmission queue Interior, the transmission queue also stored for each application file size to be transmitted.For example, the terminal device can be to be passed by described first The first length corresponding to defeated file is stored in the transmission queue, can also be by the corresponding to the described second file to be transmitted Two length are stored in the transmission queue, can be also stored in the 3rd length corresponding to the 3rd file to be transmitted described Transmit in queue.
In one embodiment, first length is more than second length, and second length is more than the described 3rd Length.
Step S204, the transmission for performing corresponding application from the transmission queue according to transmission rule operate.
It is preferred that the transmission rule includes but is not limited to:Select corresponding transmission file minimum in the transmission queue Using execution;According to first-in first-out from it is described transmission queue in select it is most advanced come application execution.
In one embodiment, the terminal device can select corresponding transmission file is minimum to answer from described transmit in queue With execution.For example, when the described first application, the second application and the 3rd application memory are in the transmission queue, due to described First length is more than second length and second length is more than the 3rd length, and the terminal device may be selected corresponding The 3rd minimum application of file is transmitted to perform.
In another embodiment, the terminal device can also select according to first-in first-out from the transmission queue Most advanced next application performs.For example, in the very first time, first application memory is in the transmission queue;At second Between when, second application memory is in the transmission queue;In three time, the 3rd application memory is in the transmission team Row, and the very first time earlier than second time, and the second time is earlier than the 3rd time.Therefore, it is described according to the transmission rule Most advanced the first next application may be selected to perform in terminal device, the transmission behaviour of the first file to be transmitted as described in executable correspond to Make.
Step S206, judge the terminal device applies whether the file size to be transmitted under mobile data network exceedes Preset value.When the file size to be transmitted exceedes the preset value, step S208 is performed;When the file size to be transmitted During not less than the preset value, step S210 is performed.
Step S206 is consistent with step S100 in embodiment one in the present embodiment, referring specifically to step in embodiment one S100 associated description, herein without repeating.
Step S208, judge whether the application is the white list application for having opened free traffic service.When the application During to have opened the application of the white list of free traffic service, step S210 is performed;When the application is not to have opened free flow During the white list application of service, step S212 is performed.
Step S208 is consistent with step S102 in embodiment one in the present embodiment, referring specifically to step in embodiment one S102 associated description, herein without repeating.
Step S210, the file is transmitted with First Speed using the mobile data network.
Step S210 is consistent with step S104 in embodiment one in the present embodiment, referring specifically to step in embodiment one S104 associated description, herein without repeating.
Step S212, the file is transmitted with second speed using the mobile data network.
Step S212 is consistent with step S106 in embodiment one in the present embodiment, referring specifically to step in embodiment one S106 associated description, herein without repeating.
The control flow application method that the present embodiment provides, in addition to the technique effect with embodiment one, in addition to Application corresponding to being selected according to transmission rule performs transmission operation, such as according to first in first out or file size to be transmitted Carry out application corresponding to prioritizing selection to perform transmission operation, and then more preferable Consumer's Experience is provided.
Embodiment three
Referring to Fig. 3, the schematic flow diagram for the control flow application method that the embodiment of the present invention three provides.Methods described should For in terminal device, the terminal device can be the terminal that mobile phone, tablet personal computer etc. have data processing function.Such as Fig. 3 Shown, the control flow application method may include following steps:
Step S300, judge the terminal device applies whether the file size to be transmitted under mobile data network exceedes Preset value.When the file size to be transmitted exceedes the preset value, step S302 is performed;When the file size to be transmitted During not less than the preset value, step S304 is performed.
Step S300 is consistent with step S100 in embodiment one in the present embodiment, referring specifically to step in embodiment one S100 associated description, herein without repeating.
Step S302, judge whether the application is the white list application for having opened free traffic service.When the application During to have opened the application of the white list of free traffic service, step S304 is performed;When the application is not to have opened free flow During the white list application of service, step S306 is performed.
Step S302 is consistent with step S102 in embodiment one in the present embodiment, referring specifically to step in embodiment one S102 associated description, herein without repeating.
Step S304, the file is transmitted with First Speed using the mobile data network.
Step S304 is consistent with step S104 in embodiment one in the present embodiment, referring specifically to step in embodiment one S104 associated description, herein without repeating.
Step S306, the file is transmitted with second speed using the mobile data network.
Step S306 is consistent with step S106 in embodiment one in the present embodiment, referring specifically to step in embodiment one S106 associated description, herein without repeating.
Step S308, prompt message is exported, the application is added into limitation uses in the blacklist of data traffic.
It is to be appreciated that when file size to be transmitted exceedes the application corresponding to the preset value and the file to be transmitted When not being white list application, the terminal device transmits the text to be transmitted using the mobile data network with second speed Part, now, the exportable prompt message of terminal device, to prompt the user whether to continue to download, user can be also prompted consumption to be present The larger application of flow.For example, the 3rd file size to be transmitted exceedes the preset value, and the 3rd application is not belonging to The white list application, therefore, the terminal device can utilize the mobile data network with described in second speed transmission 3rd file to be transmitted, now, the exportable corresponding prompt message of the terminal device.
It is to be appreciated that the terminal device can also include blacklist list of application, the blacklist list of application can wrap Application (such as forbidding it to use data traffic) containing limitation using data traffic.In present embodiment, the 3rd text to be transmitted Part size exceedes the preset value, and the 3rd application is not belonging to the white list application, and therefore, the terminal device can profit The 3rd file to be transmitted is transmitted with the second speed with the mobile data network, now, the terminal device can be defeated Go out corresponding prompt message, and when execution does not continue to download, the application is added limitation and uses data by the terminal device In the blacklist of flow, will it is described 3rd application pipe off.
The control flow application method that the present embodiment provides, can also be right in addition to the technique effect with embodiment one Limited in the application more than preset value and not in white list, export prompt message, and can be added into blacklist, Further the flow of each application can be controlled, be advantageous to avoid there may be the excessive shifting of the unwitting application consumption of user Dynamic data traffic, and then more preferable Consumer's Experience is provided.
Example IV
Referring to Fig. 4, its be one embodiment of the invention in, there is provided the electronic equipment using the various embodiments described above knot Structure schematic diagram.As shown in figure 4, terminal device 40 may include to control flow use device 50.The terminal device 40 can be hand Machine, tablet personal computer, computer etc. have the electronic equipment of data processing function.The control flow use device 50 can basis The size of file to be transmitted, whether it is white list application to control it to use mobile data, so as to the use for the terminal device Family provides more preferable usage experience.
The terminal device 40 be it is a kind of can according to the instruction for being previously set or storing, it is automatic carry out numerical computations and/ Or the equipment of information processing, its hardware include but is not limited to microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), number Word processing device (Digital Signal Processor, DSP), embedded device etc..
The terminal device 40 may be, but not limited to, any one can with user by keyboard, mouse, remote control, touch The mode such as template or voice-operated device carries out the electronic product of man-machine interaction, for example, tablet personal computer, smart mobile phone, individual digital help Manage (Personal Digital Assistant, PDA), game machine, intellectual Wearable etc..
Network residing for the terminal device 40 includes, but are not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN, virtual Dedicated network (Virtual Private Network, VPN) etc., such as described terminal device 40 can input/output interface 407 access Internet, wide area network, Metropolitan Area Network (MAN), LAN, VPN.
Described memory 405 can be different type storage device or computer-readable recording medium, for storing respectively Class data.For example, it may be the internal memory of terminal device 40, can also be the storage card that can be external in the terminal device 50, such as dodge Deposit, SM cards (Smart Media Card, smart media card), SD card (Secure Digital Card, safe digital card) etc.. Memory 405 is used to store Various types of data, for example, that is installed in the terminal device 40 includes the application program of information processing (Applications) information such as the data, set using above- mentioned information processing method, obtained.
The processor 401 is used for all kinds of softwares for performing installation in the exchange method and the terminal device 40, Such as operating system, messaging software etc..The processor 401 is including but not limited to processor (Central Processing Unit, CPU), micro-control unit (Micro Controller Unit, MCU) etc. refers to for interpretive machine Order and the device of the data in processing computer software, can include one or more microprocessor, digital processing unit.Institute State display screen 403 can be touch-screen etc. other be used for display picture equipment.
In the present embodiment, the display screen 403 is a display screen with touch function, and then is provided for the operation of user It is convenient.The memory 405 can be stored with some program codes, to be performed by the processor 401, and then realize the control The function of flow use device 50.
As shown in figure 5, the control flow use device 50 that the terminal device 40 includes can include one or more Module/unit, one or more of modules can be stored in the memory 405 of terminal device 40 and may be configured to Performed by one or more processors (the present embodiment is a processor 401), to complete the present invention.Mould alleged by the present invention Block/unit is the program segment for completing a specific function, than implementation procedure of the program more suitable for description software within a processor.
It is understood that each embodiment in corresponding above-mentioned control flow application method, control flow use device 50 Part or all in each functional module shown in Fig. 5 can be included, the function of each module will introduced in detail below.Need It is noted that identical noun related terms and its specific explanation in each embodiment of the method for generation report above It is readily applicable to the following function introduction to each module.For the sake of saving space and avoiding repetition, just repeat no more herein.
As shown in figure 5, the control flow use device 50 may include judging unit 501, adjustment unit 503, obtain list Member 505, queue unit 507, execution unit 509, Tip element 511 and permission unit 513.Unit alleged by the present invention refers to one Kind can be processed performed by equipment and can complete the series of computation machine program segment of fixing function, and it is stored in storage and set In standby.
In several embodiments provided by the present invention, it should be understood that disclosed exchange method and device, Ke Yitong Other modes are crossed to realize.For example, the embodiment of message informing processing unit described above is only schematical, example Such as, the division of the module, only a kind of division of logic function, can there is other dividing mode when actually realizing.
In addition, each functional module in each embodiment of the present invention can be integrated in same treatment module, can also That modules are individually physically present, can also two or more modules be integrated in equal modules.Above-mentioned integrated mould Block can both be realized in the form of hardware, can also be realized in the form of hardware adds software function module.
The judging unit 501 can be used for judge the terminal device 40 to apply the text to be transmitted under mobile data network Whether part size exceedes preset value.When the file size to be transmitted exceedes the preset value, the judging unit 501 may be used also For judging whether the application is the white list application of having opened free traffic service.
The adjustment unit 503 is used to apply for white list in the application or the file size to be transmitted is not less than institute When stating preset value, the file is transmitted with First Speed using the mobile data network;The adjustment unit 503 can also be in institute State using using mobile data network transmission file size exceed the preset value and it is described application be not white list application when, The file is transmitted with second speed using the mobile data network.
It is to be appreciated that the mobile data network includes but is not limited to the data networks such as 2G, 3G, 4G or 5G, Yong Hutong It may be produced when crossing the mobile data network transmission file (including but not limited to upper transmitting file and/or download file) certain Expense.Thus, the size of the file (including but is not limited to audio file and/or video file) to be transmitted may have influence on The height of expense.In present embodiment, the file to be transmitted can be the file transmitted, also can be the text having not been transmitted Part.When the file to be transmitted is the file transmitted, the file size to be transmitted can be the text transmitted The length for the part do not transmitted in part;When the file to be transmitted is the file not transmitted, the file size to be transmitted is The length of its file.
In present embodiment, the terminal device 40 can be provided with the first application, the second application and the 3rd application.It can manage Xie Di, first application can perform transmission operation to the first file to be transmitted, and second application can be to be passed to second Defeated file performs transmission operation, and the 3rd application can perform transmission operation to the 3rd file to be transmitted.
In present embodiment, the transmission operation may include upload operation and down operation, and the terminal device 40 performs The size of the file to be transmitted can be obtained during the transmission operation.In one embodiment, the first of the terminal device 40 Upload operation is performed to the file to be transmitted that is stored in the terminal device 40 (as will using, the second application and the 3rd application The file to be transmitted being stored in the terminal device 40 uploads onto the server), the terminal device 40 can will be described to be transmitted The size of file is transmitted to the server, to cause the server to be distributed pair according to the size of the file to be transmitted The memory space answered;In another embodiment, the first application, the second application and the 3rd application of the terminal device 40 can be from It is stored in server and obtains the file to be transmitted, to perform down operation, the terminal device 40 can be obtained by the clothes Be engaged in device transmission the correspondence file to be transmitted size information, distributed with the information according to the file size to be transmitted Corresponding memory space.
In present embodiment, the judging unit 501 can be set preset value, and can by the size of the file to be transmitted with The preset value is compared, to adjust the transmission text to be transmitted according to the file size to be transmitted and the preset value The speed of part, and then the expense caused by transmission under the mobile data network is reduced as far as possible.For example, in an embodiment In, the first corresponding file size to be transmitted of first application can exceed the preset value, now, the judging unit 501 can also judge whether first application is the white list application for having opened free traffic service.
In present embodiment, the terminal device 40 may include white list list of application, and the white list list of application can Including the application of one or more white lists, (as may include first application in the white list list of application, the described 3rd should With not lying in the white list list of application), wherein, application expression in the white list list of application can not pair or reduce It is performed to transmit to operate and is controlled into the flow consumed, and it is transmitted (such as when performing transmission operation with higher speed Full speed transfer).In present embodiment, when the file size to be transmitted exceedes the preset value, the judging unit 501 is also It can determine whether the application is the white list application for having opened free traffic service.
For example, when the described first application performs the transmission to the described first file to be transmitted and operated, due to described the One application is white list application, and the judging unit 501 is that can determine whether white list of first application for free traffic service Using now, the adjustment unit 503 transmits first text to be transmitted using the mobile data network with First Speed Part;When the described 3rd application performs the transmission to the described 3rd file to be transmitted to be operated, because the described 3rd application does not exist The white list list of application, the adjustment unit 503 transmit the described 3rd using the mobile data network with second speed File to be transmitted.In present embodiment, the First Speed can be at full speed or full speed half etc., the second speed More than or equal to 0, and it is less than the First Speed.
In one embodiment, the acquiring unit 505 is used to obtain is intended to perform transmission operation in the terminal device Each application.
In present embodiment, each application can be simultaneously or according to time order and function order come to operating system in the terminal device Request performs transmission operation.Therefore, respectively apply when the operating system request to the terminal device is transmitted operation, it is described Acquiring unit 505 can obtain the application for being intended to perform transmission operation.
The queue unit 507 is used to be intended to perform in the terminal device each application memory for transmitting operation in transmission team Row.
It can include in the terminal device in the transmission queue comprising transmission queue and be intended to perform answering for transmission operation With.In present embodiment, the mark that the queue unit 507 can be intended to perform the application of file transmission is stored in the transmission team In row, the transmission queue also stored for each application file size to be transmitted.For example, the queue unit 507 can be by described The first length corresponding to one file to be transmitted is stored in the transmission queue, can also be right by the described second file institute to be transmitted The second length answered is stored in the transmission queue, can also be stored the 3rd length corresponding to the 3rd file to be transmitted In in the transmission queue.
In one embodiment, first length is more than second length, and second length is more than the described 3rd Length.
The transmission that the execution unit 509 is used to perform corresponding application from the transmission queue according to transmission rule is grasped Make.
It is preferred that the transmission rule includes but is not limited to:Select corresponding transmission file minimum in the transmission queue Using execution;According to first-in first-out from it is described transmission queue in select it is most advanced come application execution.
In one embodiment, the execution unit 509 can select corresponding transmission file minimum from the transmission queue Application perform.For example, when the described first application, the second application and the 3rd application memory are in the transmission queue, due to First length is more than second length and second length is more than the 3rd length, and the terminal device may be selected The 3rd minimum application of corresponding transmission file performs.
In another embodiment, the execution unit 509 also can be according to first-in first-out from the transmission queue Most advanced next application is selected to perform.For example, in the very first time, first application memory is in the transmission queue; During two time, second application memory is in the transmission queue;In three time, the 3rd application memory is in the biography Defeated queue, and the very first time, earlier than second time, and the second time is earlier than the 3rd time.Therefore, according to the transmission rule, Most advanced the first next application may be selected to perform in the execution unit 509, the first file to be transmitted as described in executable correspond to Transmission operation.
It is to be appreciated that when file size to be transmitted exceedes the application corresponding to the preset value and the file to be transmitted When not being white list application, the terminal device transmits the text to be transmitted using the mobile data network with second speed Part, now, the 511 exportable prompt message of Tip element, to prompt the user whether to continue to download, can also user be prompted to exist Consume the larger application of flow.For example, the 3rd file size to be transmitted exceedes the preset value, and the 3rd application does not belong to In the white list application, therefore, the Tip element 511 can be transmitted using the mobile data network with the second speed 3rd file to be transmitted, now, the exportable corresponding prompt message of the Tip element 511.
It is to be appreciated that the terminal device can also include blacklist list of application, the blacklist list of application can wrap Application (such as forbidding it to use data traffic) containing limitation using data traffic.In present embodiment, the 3rd text to be transmitted Part size exceedes the preset value, and the 3rd application is not belonging to the white list application, and therefore, the terminal device can profit The 3rd file to be transmitted is transmitted with the second speed with the mobile data network, now, the terminal device can be defeated Go out corresponding prompt message, and when execution does not continue to download, the application is added limitation and uses number by the permission unit 513 According in the blacklist of flow, will the 3rd application pipe off.
Above-mentioned control flow use device passes through to not being more than preset value and not that white list applies transmitted carry out flow Control, is advantageous to avoid that the too fast consumption of mobile data network flow may be caused because file to be transmitted is larger.It is in addition, above-mentioned Control flow use device also include being selected according to transmission rule corresponding to application perform transmission and operate, such as according to advanced elder generation Go out or file size to be transmitted etc. carrys out application corresponding to prioritizing selection to perform transmission operation.In addition, above-mentioned control flow makes It can also be limited with device for the application more than preset value and not in white list, export prompt message, and can be by it Add in blacklist, further the flow of each application can be controlled, be advantageous to avoid to there may be user is unwitting should With consuming excessive mobile data flow, and then provide more preferable Consumer's Experience.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit requires rather than described above limits, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as to the involved claim of limitation.This Outside, it is clear that the word of " comprising " one is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in system claims is multiple Unit or system can also be realized by same unit or system by software or hardware.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although reference The present invention is described in detail for preferred embodiment, it will be understood by those within the art that, can be to the present invention's Technical scheme is modified or equivalent substitution, without departing from the spirit and scope of technical solution of the present invention.

Claims (10)

1. one kind control application traffic application method, applied to terminal device, it is characterised in that the control application traffic uses Method includes:
Judge the terminal device applies whether the file size to be transmitted under mobile data network exceedes preset value;
When the file size to be transmitted exceedes the preset value, judge whether the application is to have opened free traffic service White list application;
If the file size to be transmitted is white list application not less than the preset value or the application, the shifting is utilized Dynamic data network transmits the file to be transmitted with First Speed;
If it is not white that the file size that the application is transmitted using mobile data network, which exceedes the preset value and the application, List application, the file to be transmitted is transmitted with second speed using the mobile data network, the second speed be more than or Equal to 0, and it is less than the First Speed.
2. control application traffic application method as claimed in claim 1, it is characterised in that the judgement is applied to mobile data Whether the size of file is transmitted under network also includes before more than preset value:
Obtain each application for being intended to perform transmission operation in the terminal device;
Each application memory for transmitting operation will be intended to perform in the terminal device in transmission queue, wherein the transmission queue is also deposited The size of each application file to be transmitted is stored up;
The transmission for performing corresponding application from the transmission queue according to transmission rule operates.
3. control application traffic application method as claimed in claim 2, it is characterised in that it is described according to transmission rule from described The transmission operation of corresponding application is performed in transmission queue to be included:
The application that corresponding transmission file is minimum in the transmission queue is selected to perform;Or
According to first-in first-out from it is described transmission queue in select it is most advanced come application execution.
4. control application traffic application method as claimed in claim 1, it is characterised in that the control application traffic user Method also includes:
If it is not white that the file size that the application is transmitted using mobile data network, which exceedes the preset value and the application, Whether list application, then export prompt message, continue to download with prompting;
When execution does not continue to download, the application is added into limitation and used in the blacklist of data traffic.
5. one kind control application traffic use device, applied to terminal device, it is characterised in that the control application traffic uses Device includes:
Whether judging unit, the size for judging to be applied to file to be transmitted under mobile network exceed preset value;
The judging unit, for exceeding the preset value in the size applied to file to be transmitted under the mobile network When also judge it is described application whether be the white list application for having opened free traffic service;
Adjustment unit, for being that white list is applied or the file size to be transmitted is not less than the preset value in the application When, the file to be transmitted is transmitted with First Speed using the mobile data network;
The adjustment unit, it is additionally operable to exceed the preset value using the file size of mobile data network transmission in the application And the application is not white list application, the file to be transmitted, institute are transmitted with second speed using the mobile data network Second speed is stated more than or equal to 0, and is less than the First Speed.
6. control application traffic use device as claimed in claim 5, it is characterised in that the control application traffic uses dress Putting also includes:
Acquiring unit, for obtaining each application for being intended to perform transmission operation in the terminal device;
Queue unit, for each application memory by being intended to perform transmission operation in the terminal device in transmission queue, wherein institute State the size that transmission queue also stored for each application file to be transmitted;
Execution unit, the transmission for performing corresponding application from the transmission queue according to transmission rule operate.
7. control application traffic use device as claimed in claim 5, it is characterised in that the execution unit also includes:
Perform and the minimum application execution of file is transmitted in the transmission queue;Or
According to first-in first-out from it is described transmission queue in select it is most advanced come application execution.
8. control application traffic use device as claimed in claim 5, it is characterised in that the control application traffic uses dress Putting also includes:
Tip element, for exceeding the preset value and described using the file size of mobile data network transmission in the application Prompt message is exported using when not being white list application, whether continues to download with prompting;
Permission unit, used for the application to be added into limitation when performing and not continuing to download in the blacklist of data traffic.
9. a kind of readable storage medium storing program for executing, is stored thereon with computer program, it is characterised in that the computer program is processed to be held The step of control application traffic application method as any one of claim 1-4 is realized during row.
10. a kind of terminal device, including memory and processor, some journeys by the computing device of the memory storage Sequence, it is characterised in that the control application as any one of claim 1-4 is realized during the computing device described program The step of flow application method.
CN201710776144.XA 2017-08-31 2017-08-31 Application flow use control method and device, readable storage medium and terminal equipment Active CN107659509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710776144.XA CN107659509B (en) 2017-08-31 2017-08-31 Application flow use control method and device, readable storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710776144.XA CN107659509B (en) 2017-08-31 2017-08-31 Application flow use control method and device, readable storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN107659509A true CN107659509A (en) 2018-02-02
CN107659509B CN107659509B (en) 2021-03-16

Family

ID=61129116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710776144.XA Active CN107659509B (en) 2017-08-31 2017-08-31 Application flow use control method and device, readable storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN107659509B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377203A (en) * 2018-02-11 2018-08-07 中国联合网络通信集团有限公司 Differentiation flow service providing method based on order business and device
CN110708747A (en) * 2019-09-18 2020-01-17 Tcl移动通信科技(宁波)有限公司 Data transmission rate adjusting method, system, storage medium and mobile terminal
CN113225738A (en) * 2021-07-08 2021-08-06 智道网联科技(北京)有限公司 Flow control method and device of vehicle-mounted terminal
CN114745572A (en) * 2022-04-14 2022-07-12 中国联合网络通信集团有限公司 Video cache control method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140362686A1 (en) * 2013-06-07 2014-12-11 Brocade Communications Systems, Inc. Techniques for end-to-end network bandwidth optimization using software defined networking
CN104967624A (en) * 2015-06-30 2015-10-07 北京奇虎科技有限公司 Flow-free platform based network accessing method, mobile terminal and system
CN105101138A (en) * 2014-05-23 2015-11-25 宇龙计算机通信科技(深圳)有限公司 Method and system for controlling traffic, and terminal
CN105978962A (en) * 2016-05-09 2016-09-28 珠海市魅族科技有限公司 Download task control method and device
CN106657153A (en) * 2017-02-07 2017-05-10 深圳市金立通信设备有限公司 Network data downloading method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140362686A1 (en) * 2013-06-07 2014-12-11 Brocade Communications Systems, Inc. Techniques for end-to-end network bandwidth optimization using software defined networking
CN105101138A (en) * 2014-05-23 2015-11-25 宇龙计算机通信科技(深圳)有限公司 Method and system for controlling traffic, and terminal
CN104967624A (en) * 2015-06-30 2015-10-07 北京奇虎科技有限公司 Flow-free platform based network accessing method, mobile terminal and system
CN105978962A (en) * 2016-05-09 2016-09-28 珠海市魅族科技有限公司 Download task control method and device
CN106657153A (en) * 2017-02-07 2017-05-10 深圳市金立通信设备有限公司 Network data downloading method and terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377203A (en) * 2018-02-11 2018-08-07 中国联合网络通信集团有限公司 Differentiation flow service providing method based on order business and device
CN110708747A (en) * 2019-09-18 2020-01-17 Tcl移动通信科技(宁波)有限公司 Data transmission rate adjusting method, system, storage medium and mobile terminal
CN113225738A (en) * 2021-07-08 2021-08-06 智道网联科技(北京)有限公司 Flow control method and device of vehicle-mounted terminal
CN114745572A (en) * 2022-04-14 2022-07-12 中国联合网络通信集团有限公司 Video cache control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN107659509B (en) 2021-03-16

Similar Documents

Publication Publication Date Title
CN107659509A (en) Control application traffic application method, device, readable storage medium storing program for executing and terminal device
CN103513749B (en) More cluster processing systems and its operating method
CN106649482A (en) Information push method and device
CN108540568B (en) Computing capacity sharing method and intelligent equipment
CN104717684B (en) The method and apparatus that a kind of WIFI mode virtuals coexist
CN108900770A (en) A kind of method, apparatus, smartwatch and the mobile terminal of the rotation of control camera
CN108696594A (en) A kind of the big data traffic load equalization methods and device of market surpervision block chain
CN107515948A (en) Method for page jump, device and readable storage medium storing program for executing
CN107241416A (en) The management method and terminal device in shared cabin
CN103064736A (en) Device and method for task processing
CN106095556A (en) A kind of method and system controlling terminal processes
CN107484190A (en) Method for connecting network, mobile terminal and computer-readable recording medium
CN110266582A (en) A kind of information push method, system, server and communication terminal
CN107329650A (en) Exchange method, interactive device, terminal device and computer-readable recording medium
CN107368255B (en) Unlocking method, mobile terminal and computer readable storage medium
CN114496195A (en) Medical resource scheduling method based on knowledge graph and related equipment thereof
CN106933725A (en) The display methods and device of application icon
CN107102706A (en) Machine frame system and its method and non-transitory computer-readable medium for controlling fan
CN110650546A (en) File transmission method, device, storage medium and terminal
CN114115840B (en) Variable jump method and device for nuclear power station DCS system application software
CN106453649A (en) File transmission method and device
CN107844245A (en) Computation processing method, device, terminal device and computer-readable recording medium
CN104345862B (en) A kind of information processing method and electronic equipment
CN110351374A (en) A kind of file dispositions method, device and equipment
CN113179325A (en) Multi-terminal collaborative interaction method and device, gateway box and medium

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