CN112671672B - Application flow control method, device, equipment and readable storage medium - Google Patents

Application flow control method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN112671672B
CN112671672B CN202011492035.3A CN202011492035A CN112671672B CN 112671672 B CN112671672 B CN 112671672B CN 202011492035 A CN202011492035 A CN 202011492035A CN 112671672 B CN112671672 B CN 112671672B
Authority
CN
China
Prior art keywords
application
flow
data transmission
idle
background
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
CN202011492035.3A
Other languages
Chinese (zh)
Other versions
CN112671672A (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011492035.3A priority Critical patent/CN112671672B/en
Publication of CN112671672A publication Critical patent/CN112671672A/en
Application granted granted Critical
Publication of CN112671672B publication Critical patent/CN112671672B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application discloses an application flow control method, an application flow control device and a readable storage medium, wherein the application flow control method comprises the following steps: and acquiring first flow information of a foreground application, determining whether the foreground application is in an easy-to-clamp state or not based on the first flow information, and further acquiring second flow information and idle flow information of each background application if the foreground application is in the easy-to-clamp state, and further selecting a target application from each background application to exit based on the second flow information and the idle flow information. The application solves the technical problem of the intelligent large screen foreground application operation blocking.

Description

Application flow control method, device, equipment and readable storage medium
Technical Field
The present application relates to the field of smart home technologies, and in particular, to an application flow control method, an application flow control device, and a readable storage medium.
Background
With the rapid development of the intelligent large screen technology, the intelligent large screen can meet the requirement that a plurality of applications in the foreground and the background are simultaneously operated, when the background application occupies most of the flow, the operation of the foreground application is blocked, at present, the flow is released by manually ending the background process by a user or the background process is ended by an application APP (system manager) so as to ensure that the foreground application can be smoothly operated, however, because the user usually perceives that the flow is released by manually ending the background process when the foreground application has operated the blocking, at this moment, the interface of the foreground application is blocked, the user is difficult to rapidly end the background process by manual operation, and the problem of blocking of the operation of the foreground application is further caused to be not solved well.
Disclosure of Invention
The application mainly aims to provide an application flow control method, an application flow control device and a readable storage medium, and aims to solve the technical problem of the intelligent large-screen foreground application operation blocking in the prior art.
To achieve the above object, the present application provides an application flow control method applied to an application flow control device, the application flow control method including:
acquiring first flow information of a foreground application, and determining whether the foreground application is in an easy-to-clamp state or not based on the first flow information;
if yes, acquiring second traffic information and idle traffic information of each background application;
and selecting a target application from the background applications to exit based on the second traffic information and the idle traffic information.
The present application also provides an application flow control device, which is a virtual device, and is applied to an application flow control apparatus, the application flow control device comprising:
the determining module is used for acquiring first flow information of a foreground application and determining whether the foreground application is in an easy-to-clamp state or not based on the first flow information;
the acquisition module is used for acquiring second traffic information and idle traffic information of each background application if the second traffic information and the idle traffic information are available;
and the selecting and exiting module is used for selecting a target application from the background applications to exit based on the second traffic information and the idle traffic information.
The application also provides an application flow control device, which is entity device, comprising: the system comprises a memory, a processor and a program of the application flow control method stored on the memory and capable of running on the processor, wherein the program of the application flow control method can realize the steps of the application flow control method when being executed by the processor.
The present application also provides a readable storage medium having stored thereon a program for implementing an application flow control method, which when executed by a processor implements the steps of the application flow control method as described above.
Compared with the technical means adopted in the prior art that a user manually ends a background process to release traffic or ends the background process through an application APP to ensure that the foreground application can smoothly run, the application provides an application traffic control method, a device, equipment and a readable storage medium, wherein the foreground application is in a stuck state when the user manually ends the background process to release traffic or ends the background process through the application APP, and the background process is required to be operated in the stuck state by the user, so that the foreground application still can be in the stuck state in a period of time, the application firstly acquires first traffic information of the foreground application, determines whether the foreground application is in an easy-to-stuck state or not based on the first traffic information, further realizes early warning whether the foreground application is about to be in the stuck state or not, and further obtains second traffic information and idle traffic information of each background application based on the second traffic information and the idle traffic information, selects target applications in each background application to exit, namely, when the foreground application is easy to be in the stuck state and the background application is in the stuck state, the current application is not about to be in the stuck state, the current application is more than the current application is required to be in the stuck state when the background application is in the automatic state, the current application is not in the stuck state, the current application is about to be in the stuck state, the current state is not in the current state is realized, and the current application is about to be in the stuck state is more than the current state is released, further, the technical defect that the foreground application still is in a blocking state in a period of time is caused, so that the running smoothness of the foreground application is improved, and blocking does not occur when the foreground application runs.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a flow chart of a first embodiment of the present application for applying a flow control method;
FIG. 2 is a flow chart of a second embodiment of the present application for applying a flow control method;
fig. 3 is a schematic device structure diagram of a hardware running environment according to an embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In a first embodiment of the present application, which applies a flow control method, referring to fig. 1, the application flow control method includes:
step S10, acquiring first flow information of a foreground application, and determining whether the foreground application is in an easy-to-clamp state or not based on the first flow information;
in this embodiment, it should be noted that, the application flow control method is applied to an intelligent large screen, the foreground application is an application running in a foreground of the intelligent large screen, for example, a video type application, and the first flow information includes a data transmission speed of the foreground application, where the data transmission speed of the foreground application is a speed of uploading and downloading required by the running of the foreground application.
Acquiring first flow information of a foreground application, determining whether the foreground application is in an easy-to-clamp state or not based on the first flow information, specifically, acquiring a foreground application data transmission speed and a network bandwidth speed of the foreground application, further calculating a duty ratio of the foreground application data transmission speed in the network bandwidth speed, further acquiring a foreground application flow duty ratio, further determining whether the foreground application flow duty ratio is larger than a preset foreground application flow duty ratio threshold value, if yes, determining that the foreground application is in the easy-to-clamp state, and if not, determining that the foreground application is not in the easy-to-clamp state, wherein it is required to explain that if the foreground application is in the easy-to-clamp state, the probability of the foreground operation clamp is higher.
Additionally, in another possible embodiment, the step of obtaining the first traffic information of the foreground application and determining, based on the first traffic information, whether the foreground application is in the easy-to-get state may be further implemented by:
acquiring an application type, a foreground application data transmission speed, a background application data transmission speed and a network bandwidth speed of a foreground application, further inputting characteristic representation data composed of the application type, the foreground application data transmission speed, the background application data transmission speed and the network bandwidth speed into a preset katon assessment model, and identifying whether the foreground application is in a katon state or not, wherein the characteristic representation data comprises a characteristic representation vector, the characteristic representation vector can be obtained by splicing coding information of the application type, the foreground application data transmission speed coding information, coding information of the background application data transmission speed and the network bandwidth speed coding information, the preset katon assessment model is a pre-trained neural network model and is used for carrying out two classification on the current state of the foreground application, and the two classification types corresponding to the current state of the foreground application are a katon state type and a non-katon state type.
Further, in step S10, the first traffic information includes a foreground application data transmission speed,
the step of determining whether the foreground application is in an easy-to-click state based on the first traffic information includes:
step A10, if the data transmission speed of the foreground application is greater than a preset data transmission speed threshold, determining that the foreground application is in the Yi Kadu state; or (b)
And step a20, if the data transmission speed of the foreground application is not greater than the preset data transmission speed threshold, determining that the foreground application is not in the Yi Kadu state.
In this embodiment, it should be noted that, if the foreground application is in the easy-to-get-stuck state, the probability of the foreground application running to get stuck is higher, if the foreground application is not in the easy-to-get-stuck state, the probability of the foreground running to get stuck is lower, and the preset data transmission speed threshold is a data transmission speed threshold set based on the network bandwidth speed of the current network environment, for example, assuming that the network bandwidth speed is 100M/s, the preset data transmission speed threshold may be set to 10% of the network bandwidth speed, that is, 10M/s, and the higher the proportion of the foreground application data transmission data occupying the network bandwidth speed, the easier to run to get stuck.
Further, in step S10, the first flow information includes a data transmission speed fluctuation value,
the step of determining whether the foreground application is in an easy-to-click state based on the first traffic information includes:
step B10, if the fluctuation value of the data transmission speed is larger than a preset idle data transmission speed threshold value, judging that the foreground application is in the Yi Kadu state; or (b)
And step B20, if the data transmission speed of the foreground application is not greater than the preset data transmission speed threshold, determining that the foreground application is not in the Yi Kadu state.
In this embodiment, if the data transmission speed fluctuation value is not greater than the preset idle data transmission speed threshold, determining that the foreground application is not in the Yi Kadu state, specifically, acquiring idle traffic, where the idle traffic is an unoccupied data transmission speed in a network bandwidth speed, further calculating a preset idle data transmission speed threshold based on a product of a preset weight value and the idle traffic, and determining whether the data transmission speed fluctuation value is greater than the preset idle data transmission speed threshold, where the data transmission speed fluctuation value is a difference value between a maximum data transmission speed and a minimum data transmission speed when the foreground application performs data transmission, if yes, indicating that the maximum data transmission speed when the foreground application performs data transmission occupies more network bandwidth speed, and further determining that the foreground application is in the Yi Kadu state; if not, the maximum data transmission speed occupied by the network bandwidth speed when the foreground application performs data transmission is less, and then the foreground application is judged not to be in the Yi Kadu state.
Step S20, if yes, acquiring second traffic information and idle traffic information of each background application;
in this embodiment, it should be noted that, the second traffic information includes a background application traffic when each background application runs, where the background application traffic is a data transmission speed of uploading and downloading required when the background application runs, the idle traffic information is an idle traffic, and the idle traffic is an unoccupied data transmission speed in a network bandwidth speed.
And step S30, selecting a target application from the background applications to exit based on the second traffic information and the idle traffic information.
In this embodiment, based on the second traffic information and the idle traffic information, a target application is selected from the background applications to exit, specifically, the background application traffic is ordered to select a background application traffic to exit from the background application traffic, for example, the background application traffic may be arranged from large to small, and the background application traffic with the top three ranks is selected as the background application traffic to exit, and further, the background application traffic to exit, which is higher than the idle traffic, is taken as the target application traffic, and the target application corresponding to the target application traffic, that is, the running target application is exited, so as to release the traffic occupied by the background application and prevent the foreground application from being blocked.
Compared with the technical means adopted in the prior art that a user manually ends a background process to release traffic or ends the background process through an application APP to ensure that a foreground application can smoothly run, the embodiment of the application provides an application traffic control method, a device, equipment and a readable storage medium, wherein the foreground application is in a cartoon state when the user manually ends the background process to release traffic or ends the background process through the application APP, and the user is required to operate in the cartoon state when the background process is ended, further, the foreground application still can be in the cartoon state in a period of time, the embodiment of the application firstly acquires first traffic information of the foreground application, determines whether the foreground application is in an easy-cartoon state or not based on the first traffic information, further realizes early warning on whether the foreground application is about to be in the cartoon state or not, further, acquires second traffic information and idle traffic information of each background application, and selects a target application in each background application to exit, namely, the foreground application is in the cartoon state when the foreground application is in the cartoon state or the background application is in the cartoon state, the background application is more than the background application is in the cartoon state when the background application is in the cartoon state or the background application is about to be in the cartoon state, the foreground application is about to be in the cartoon state, further realized, and the foreground application is about to be in the cartoon state, and the cartoon state is more than the background is in the cartoon state, and the background state is realized, further, the technical defect that the foreground application still is in a blocking state in a period of time is caused, so that the running smoothness of the foreground application is improved, and blocking does not occur when the foreground application runs.
Further, referring to fig. 2, according to the first embodiment of the present application, the step of selecting, in each of the background applications, a target application for exiting based on the second traffic information and the idle traffic information includes:
step S31, acquiring a network bandwidth speed, and selecting a background application to be exited from the background applications based on the network bandwidth speed and the second traffic information;
in this embodiment, a network bandwidth speed is obtained, and based on the network bandwidth speed and the second traffic information, a background application to be logged out is selected from the background applications, specifically, the network bandwidth speed is obtained, a traffic ratio of each background application traffic in the network bandwidth speed is calculated, based on each traffic ratio, a target traffic ratio exceeding a preset traffic ratio threshold value is selected from each traffic ratio, and the background application corresponding to the target traffic ratio is used as the background application to be logged out.
Further, in step S31, the second traffic information includes at least a background application traffic,
the step of selecting a background application to be exited from among the background applications based on the network bandwidth speed and the second traffic information includes:
step S311, calculating an application flow ratio corresponding to each background application based on the network bandwidth speed and each background application flow;
in this embodiment, based on the network bandwidth speed and the background application flows, the application flow duty ratio corresponding to each background application is calculated, specifically, the ratio of each background application flow to the network bandwidth speed is calculated, and the application flow duty ratio corresponding to each background application is obtained.
Step S312, selecting the background application to be exited from the background applications based on the traffic duty ratio of each application.
In this embodiment, the background application to be logged out is selected from the background applications based on the application flow rates, specifically, a target application flow rate is selected from the application flow rates based on the application flow rates, and the background application corresponding to the target application flow rate is used as the background application to be logged out.
Step S32, based on the idle traffic information and the second traffic information, determining whether each background application to be logged out needs to be logged out or not respectively;
in this embodiment, it should be noted that the idle traffic information includes idle traffic, and the second traffic information includes at least traffic of an application to be logged out of a background application to be logged out.
And based on the idle flow information and the second flow information, determining whether each background application to be logged out needs to be logged out, specifically, comparing the flow of each application to be logged out with the idle flow to obtain a size comparison result, and based on the size comparison result, determining whether each background application to be logged out needs to be logged out.
Further, in step S32, the idle traffic information includes network idle traffic, the second traffic information includes at least an application traffic to be exited,
the step of determining whether each of the background applications to be logged out needs to be logged out based on the idle traffic information and the second traffic information includes:
step S321, if the application flow to be logged out is larger than the network idle flow, judging that the background application to be logged out corresponding to the application flow to be logged out needs to be logged out; or (b)
In this embodiment, it should be noted that, in this embodiment, the network idle traffic is traffic that is not occupied by an application.
If the application flow to be logged out is greater than the network idle flow, determining that the background application to be logged out corresponding to the application flow to be logged out needs to be logged out, specifically, if the application flow to be logged out is greater than the network idle flow, proving that the application flow to be logged out is higher, that is, the flow occupied by the background application to be logged out corresponding to the application flow to be logged out is too much, and further determining that the background application to be logged out corresponding to the application flow to be logged out needs to be logged out, so as to release the flow occupied by the background application to be logged out.
Step S322, if the application flow to be logged out is not greater than the network idle flow, determining that the background application to be logged out corresponding to the application flow to be logged out does not need to be logged out.
In this embodiment, if the application flow to be logged out is not greater than the network idle flow, it is determined that the background application to be logged out corresponding to the application flow to be logged out does not need to be logged out, specifically, if the application flow to be logged out is not greater than the network idle flow, it is proved that the application flow to be logged out is low, that is, the flow occupied by the background application to be logged out corresponding to the application flow to be logged out is low, and it is further determined that the background application to be logged out corresponding to the application flow to be logged out does not need to be logged out.
Further, in step S32, the idle traffic information includes wireless network idle traffic, the second traffic information includes at least an application traffic to be exited,
the step of determining whether each of the background applications to be logged out needs to be logged out based on the idle traffic information and the second traffic information includes:
step C10, acquiring a wireless network fluctuation value, and calculating a safety flow threshold value based on the wireless network idle flow and the wireless network fluctuation value;
in this embodiment, when the network is a wireless network, there is a high possibility that the network fluctuates, and the wireless network fluctuation value is a difference between a maximum traffic of the wireless network and a minimum traffic of the wireless network, for example, assuming that a peak value of the wireless network is 50M/sec and a trough value is 47M/sec, the wireless network fluctuation value is 3M/sec.
And acquiring a wireless network fluctuation value, calculating a safety flow threshold value based on the wireless network idle flow and the wireless network fluctuation value, specifically, acquiring the wireless network fluctuation value, calculating the difference value between the wireless network idle flow and the wireless network fluctuation value, acquiring the safety idle flow, and further calculating the product between the safety idle flow and a preset weight coefficient to acquire the safety flow threshold value.
Step C20, if the application flow to be exited is greater than the safety flow threshold, judging that the background application to be exited corresponding to the application flow to be exited needs to be exited; or (b)
In this embodiment, if the application flow to be logged out is greater than the safety flow threshold, it is determined that the background application to be logged out corresponding to the application flow to be logged out needs to be logged out, specifically, if the application flow to be logged out is greater than the safety flow threshold, it is proved that the application flow to be logged out is higher, that is, the flow occupied by the background application to be logged out corresponding to the application flow to be logged out is too much, and then it is determined that the background application to be logged out corresponding to the application flow to be logged out needs to be logged out, so as to release the flow occupied by the background application to be logged out.
And step C30, if the to-be-exited application flow is not greater than the safety flow threshold, judging that the to-be-exited background application corresponding to the to-be-exited application flow does not need to be exited.
In this embodiment, if the application flow to be logged out is not greater than the safety flow threshold, it is determined that the background application to be logged out corresponding to the application flow to be logged out does not need to be logged out, specifically, if the application flow to be logged out is not greater than the safety flow threshold, it is proved that the application flow to be logged out is low, that is, the flow occupied by the background application to be logged out corresponding to the application flow to be logged out is low, and it is further determined that the background application to be logged out corresponding to the application flow to be logged out does not need to be logged out.
It should be noted that, in this embodiment, the security flow threshold is calculated based on the wireless network idle flow and the wireless network fluctuation value, so that whether the background application to be logged out needs to be logged out is determined based on the security flow threshold, and then the network fluctuation factor is added to the determining factor for determining whether the background application to be logged out needs to be logged out, so that the determination for determining whether the background application to be logged out needs to be logged out is more accurate.
And step S33, if yes, taking the background application to be exited as the target application, and exiting the target application.
In this embodiment, if yes, the to-be-logged-out background application to be logged out is used as the target application, and a log-out command is sent to control the intelligent large screen to log out of the to-be-logged-out background application.
The embodiment provides a method for selecting a target application from among the background applications, and then the target application can be exited after the target application is selected, so that the purpose that the background application with relatively more occupied flow is closed is found out from the background applications through the second flow information and the idle flow information when the foreground application is in an easy-to-click state, and further the background application occupied flow is automatically released, so that the foreground application is not converted into a click state from a Yi Kadu state, and the technical defect that the foreground application is still in the click state for a period of time is overcome.
Referring to fig. 3, fig. 3 is a schematic device structure diagram of a hardware running environment according to an embodiment of the present application.
As shown in fig. 3, the application flow control device may include: a processor 1001, such as a CPU, a memory 1005, a communication bus 1002, and the application flow control device may be a display terminal such as a smart tv, a smart phone, or the like. Wherein a communication bus 1002 is used to enable connected communication between the processor 1001 and a memory 1005. The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the application flow control device may also include a rectangular user interface, a network interface, a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, wiFi modules, and the like. The rectangular user interface may include a Display screen (Display), an input sub-module such as a Keyboard (Keyboard), and the optional rectangular user interface may also include a standard wired interface, a wireless interface. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface).
Those skilled in the art will appreciate that the application flow control device structure shown in fig. 3 is not limiting of the application flow control device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 3, an operating system, a network communication module, and an application flow control method program may be included in a memory 1005, which is a type of computer storage medium. An operating system is a program that manages and controls the hardware and software resources of the device, supporting the execution of application flow control method programs and other software and/or programs. The network communication module is used to enable communication between components within the memory 1005 and other hardware and software in the system to which the flow control method is applied.
In the application flow control device shown in fig. 3, a processor 1001 is configured to execute an application flow control method program stored in a memory 1005, and implement the steps of the application flow control method described in any one of the above.
The specific implementation manner of the flow control device of the present application is basically the same as that of each embodiment of the flow control method, and will not be described herein.
An embodiment of the present application provides an application flow control device, where the application flow control device is applied to an application flow control apparatus, and the application flow control device includes:
the determining module is used for acquiring first flow information of a foreground application and determining whether the foreground application is in an easy-to-clamp state or not based on the first flow information;
the acquisition module is used for acquiring second traffic information and idle traffic information of each background application if the second traffic information and the idle traffic information are available;
and the selecting and exiting module is used for selecting a target application from the background applications to exit based on the second traffic information and the idle traffic information.
Optionally, the determining module is further configured to:
if the data transmission speed of the foreground application is greater than a preset data transmission speed threshold, judging that the foreground application is in the Yi Kadu state; or alternatively, the first and second heat exchangers may be,
and if the data transmission speed of the foreground application is not greater than the preset data transmission speed threshold, judging that the foreground application is not in the Yi Kadu state.
Optionally, the determining module is further configured to:
if the fluctuation value of the data transmission speed is larger than a preset idle data transmission speed threshold value, judging that the foreground application is in the Yi Kadu state; or alternatively, the first and second heat exchangers may be,
and if the data transmission speed fluctuation value is not greater than the preset idle data transmission speed threshold value, judging that the foreground application is not in the Yi Kadu state.
Optionally, the selecting and exiting module is further configured to:
acquiring network bandwidth speed, and selecting a background application to be exited from the background applications based on the network bandwidth speed and the second flow information;
based on the idle traffic information and the second traffic information, determining whether each background application to be logged out needs to be logged out or not respectively;
if yes, the background application to be logged out, which needs to be logged out, is used as the target application, and the target application is logged out.
Optionally, the selecting and exiting module is further configured to:
if the application flow to be logged out is larger than the network idle flow, judging that the background application to be logged out corresponding to the application flow to be logged out needs to be logged out; or alternatively, the first and second heat exchangers may be,
and if the to-be-logged-out application flow is not greater than the network idle flow, judging that the to-be-logged-out background application corresponding to the to-be-logged-out application flow does not need to be logged out.
Optionally, the selecting and exiting module is further configured to:
calculating the corresponding application flow ratio of each background application based on the network bandwidth speed and each background application flow;
and selecting the background application to be exited from the background applications based on the application flow duty ratio.
Optionally, the selecting and exiting module is further configured to:
acquiring a wireless network fluctuation value, and calculating a safety flow threshold value based on the wireless network idle flow and the wireless network fluctuation value;
if the application flow to be logged out is larger than the safety flow threshold, judging that the background application to be logged out corresponding to the application flow to be logged out needs to be logged out; or alternatively, the first and second heat exchangers may be,
and if the to-be-logged-out application flow is not greater than the safety flow threshold, judging that the to-be-logged-out background application corresponding to the to-be-logged-out application flow does not need to be logged out.
The specific implementation of the flow control device of the present application is basically the same as the above embodiments of the flow control method, and will not be described herein.
Embodiments of the present application provide a readable storage medium storing one or more programs that are further executable by one or more processors for implementing the steps of the application flow control method described in any one of the above.
The specific implementation manner of the readable storage medium of the present application is basically the same as that of the above embodiments of the application flow control method, and will not be repeated here.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein, or any application, directly or indirectly, within the scope of the application.

Claims (9)

1. An application flow control method, characterized in that the application flow control method comprises:
acquiring first flow information of a foreground application, and determining whether the foreground application is in an easy-to-clamp state or not based on the first flow information;
if yes, acquiring second traffic information and idle traffic information of each background application;
selecting a target application from the background applications to exit based on the second traffic information and the idle traffic information;
wherein the first traffic information includes a data transmission speed fluctuation value, and the step of determining whether the foreground application is in an easy-to-stuck state based on the first traffic information includes:
if the data transmission speed fluctuation value is larger than a preset idle data transmission speed threshold, judging that the foreground application is in the Yi Kadu state, wherein the preset idle data transmission speed threshold is the product of a preset weight value and the idle flow, and the data transmission speed fluctuation value is the difference value between the maximum data transmission speed and the minimum data transmission speed when the foreground application performs data transmission;
and if the data transmission speed fluctuation value is not greater than the preset idle data transmission speed threshold value, judging that the foreground application is not in the Yi Kadu state.
2. The application flow control method of claim 1, wherein the first flow information includes a foreground application data transmission speed, and wherein the step of determining whether the foreground application is in a stuck-ready state based on the first flow information includes:
if the data transmission speed of the foreground application is greater than a preset data transmission speed threshold, judging that the foreground application is in the Yi Kadu state; or alternatively, the first and second heat exchangers may be,
and if the data transmission speed of the foreground application is not greater than the preset data transmission speed threshold, judging that the foreground application is not in the Yi Kadu state.
3. The application flow control method as claimed in claim 1, wherein the step of selecting a target application from among the background applications to exit based on the second flow information and the idle flow information includes:
acquiring network bandwidth speed, and selecting a background application to be exited from the background applications based on the network bandwidth speed and the second flow information;
based on the idle traffic information and the second traffic information, determining whether each background application to be logged out needs to be logged out or not respectively;
if yes, the background application to be logged out, which needs to be logged out, is used as the target application, and the target application is logged out.
4. The application flow control method of claim 3, wherein the idle flow information comprises network idle flow, the second flow information comprises at least an application flow to be exited,
the step of determining whether each of the background applications to be logged out needs to be logged out based on the idle traffic information and the second traffic information includes:
if the application flow to be logged out is larger than the network idle flow, judging that the background application to be logged out corresponding to the application flow to be logged out needs to be logged out; or alternatively, the first and second heat exchangers may be,
and if the to-be-logged-out application flow is not greater than the network idle flow, judging that the to-be-logged-out background application corresponding to the to-be-logged-out application flow does not need to be logged out.
5. The application flow control method of claim 3, wherein the second flow information includes at least a background application flow,
the step of selecting a background application to be exited from among the background applications based on the network bandwidth speed and the second traffic information includes:
calculating the corresponding application flow ratio of each background application based on the network bandwidth speed and each background application flow;
and selecting the background application to be exited from the background applications based on the application flow duty ratio.
6. The application flow control method of claim 3, wherein the idle flow information comprises wireless network idle flow, the second flow information comprises at least an application flow to be exited,
the step of determining whether each of the background applications to be logged out needs to be logged out based on the idle traffic information and the second traffic information includes:
acquiring a wireless network fluctuation value, and calculating a safety flow threshold value based on the wireless network idle flow and the wireless network fluctuation value;
if the application flow to be logged out is larger than the safety flow threshold, judging that the background application to be logged out corresponding to the application flow to be logged out needs to be logged out; or alternatively, the first and second heat exchangers may be,
and if the to-be-logged-out application flow is not greater than the safety flow threshold, judging that the to-be-logged-out background application corresponding to the to-be-logged-out application flow does not need to be logged out.
7. An application flow control device, the application flow control device comprising:
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for acquiring first flow information of a foreground application and determining whether the foreground application is in an easy-to-clamp state or not based on the first flow information, wherein the first flow information comprises a data transmission speed fluctuation value;
the acquisition module is used for acquiring second traffic information and idle traffic information of each background application if the second traffic information and the idle traffic information are available;
the selecting and exiting module is used for selecting a target application from the background applications to exit based on the second traffic information and the idle traffic information;
the determining module is further configured to: if the data transmission speed fluctuation value is larger than a preset idle data transmission speed threshold, judging that the foreground application is in the Yi Kadu state, wherein the preset idle data transmission speed threshold is the product of a preset weight value and the idle flow, and the data transmission speed fluctuation value is the difference value between the maximum data transmission speed and the minimum data transmission speed when the foreground application performs data transmission;
and if the data transmission speed fluctuation value is not greater than the preset idle data transmission speed threshold value, judging that the foreground application is not in the Yi Kadu state.
8. An application flow control device, the application flow control device comprising: a memory, a processor and a program stored on the memory for implementing the application flow control method,
the memory is used for storing a program for realizing the application flow control method;
the processor is configured to execute a program for implementing the application flow control method to implement the steps of the application flow control method according to any one of claims 1 to 6.
9. A readable storage medium, wherein a program for realizing the application flow control method is stored thereon, the program for realizing the application flow control method being executed by a processor to realize the steps of the application flow control method according to any one of claims 1 to 6.
CN202011492035.3A 2020-12-16 2020-12-16 Application flow control method, device, equipment and readable storage medium Active CN112671672B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011492035.3A CN112671672B (en) 2020-12-16 2020-12-16 Application flow control method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011492035.3A CN112671672B (en) 2020-12-16 2020-12-16 Application flow control method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112671672A CN112671672A (en) 2021-04-16
CN112671672B true CN112671672B (en) 2023-12-08

Family

ID=75404359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011492035.3A Active CN112671672B (en) 2020-12-16 2020-12-16 Application flow control method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112671672B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172489A (en) * 2017-05-12 2017-09-15 深圳Tcl数字技术有限公司 TV applications software refreshing method, TV and computer-readable recording medium
WO2017166617A1 (en) * 2016-03-31 2017-10-05 乐视控股(北京)有限公司 Terminal control method and apparatus, and electronic device
CN107800651A (en) * 2017-10-31 2018-03-13 广东欧珀移动通信有限公司 Closing application program method, apparatus, storage medium and electronic equipment
CN108829444A (en) * 2018-05-29 2018-11-16 努比亚技术有限公司 A kind of method that background application is automatically closed, terminal and computer storage medium
WO2018232074A1 (en) * 2017-06-16 2018-12-20 Alibaba Group Holding Limited Method, system, and device for network control
WO2019080732A1 (en) * 2017-10-25 2019-05-02 Oppo广东移动通信有限公司 Network management method and related products
CN110032267A (en) * 2018-01-10 2019-07-19 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium
CN110825458A (en) * 2019-11-06 2020-02-21 深圳传音控股股份有限公司 Background application cleaning method and device and computer readable storage medium
CN110868693A (en) * 2019-11-20 2020-03-06 深圳传音控股股份有限公司 Application program flow control method, terminal device and storage medium
WO2020180167A1 (en) * 2019-03-07 2020-09-10 삼성전자 주식회사 Electronic device and method for controlling application thereof
WO2020233511A1 (en) * 2019-05-23 2020-11-26 腾讯科技(深圳)有限公司 Application starting method and apparatus, computer device and storage medium
CN112035249A (en) * 2020-08-24 2020-12-04 Tcl海外电子(惠州)有限公司 Application program network proportion adjusting method and device and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017166617A1 (en) * 2016-03-31 2017-10-05 乐视控股(北京)有限公司 Terminal control method and apparatus, and electronic device
CN107172489A (en) * 2017-05-12 2017-09-15 深圳Tcl数字技术有限公司 TV applications software refreshing method, TV and computer-readable recording medium
WO2018232074A1 (en) * 2017-06-16 2018-12-20 Alibaba Group Holding Limited Method, system, and device for network control
WO2019080732A1 (en) * 2017-10-25 2019-05-02 Oppo广东移动通信有限公司 Network management method and related products
CN107800651A (en) * 2017-10-31 2018-03-13 广东欧珀移动通信有限公司 Closing application program method, apparatus, storage medium and electronic equipment
CN110032267A (en) * 2018-01-10 2019-07-19 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium
CN108829444A (en) * 2018-05-29 2018-11-16 努比亚技术有限公司 A kind of method that background application is automatically closed, terminal and computer storage medium
WO2020180167A1 (en) * 2019-03-07 2020-09-10 삼성전자 주식회사 Electronic device and method for controlling application thereof
WO2020233511A1 (en) * 2019-05-23 2020-11-26 腾讯科技(深圳)有限公司 Application starting method and apparatus, computer device and storage medium
CN110825458A (en) * 2019-11-06 2020-02-21 深圳传音控股股份有限公司 Background application cleaning method and device and computer readable storage medium
CN110868693A (en) * 2019-11-20 2020-03-06 深圳传音控股股份有限公司 Application program flow control method, terminal device and storage medium
CN112035249A (en) * 2020-08-24 2020-12-04 Tcl海外电子(惠州)有限公司 Application program network proportion adjusting method and device and storage medium

Also Published As

Publication number Publication date
CN112671672A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
CN109240576B (en) Image processing method and device in game, electronic device and storage medium
US20140208328A1 (en) Method for terminal acceleration, terminal and storage medium
CN108881781B (en) Method and device for determining resolution in video call process
US20180139645A1 (en) Electronic device and traffic control method thereof
CN108337127B (en) Application performance monitoring method, system, terminal and computer readable storage medium
CN112333556B (en) Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium
CN111327865A (en) Video transmission method, device and equipment
CN110825458A (en) Background application cleaning method and device and computer readable storage medium
CN111240817A (en) Resource scheduling method, resource scheduling apparatus, and storage medium
CN112530205A (en) Airport parking apron airplane state detection method and device
CN110667593A (en) Driving reminding method, device and equipment based on deep learning and storage medium
CN103338351A (en) A method, an apparatus, and a system for monitoring video data uploading through utilizing a wireless network
CN112333502A (en) Intelligent television display method, intelligent television and computer readable storage medium
CN112671672B (en) Application flow control method, device, equipment and readable storage medium
CN109388737B (en) Method and device for sending exposure data of content item and storage medium
CN111506181A (en) Automatic equipment brightness adjusting method, device, equipment and storage medium
CN108882027B (en) Video communication method and wearable device
CN112073820B (en) Method and device for pre-starting television application program and computer readable storage medium
CN113271228B (en) Bandwidth resource scheduling method, device, equipment and computer readable storage medium
CN108307060B (en) Electronic equipment, fall protection method and related product
CN113498992A (en) Towel rack, automatic temperature adjusting method and device thereof, and storage medium
CN110784764A (en) Automatic television picture adjusting method, television and computer readable storage medium
CN117061863B (en) Frame rate control method, device and equipment
CN112702281B (en) Gesture control-based bandwidth allocation method, device and system and storage medium
CN114115657B (en) Display mode switching method, device, equipment and medium of cloud mobile phone

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