CN116915717B - Throughput distribution method and device, storage medium and electronic equipment - Google Patents

Throughput distribution method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN116915717B
CN116915717B CN202311156037.9A CN202311156037A CN116915717B CN 116915717 B CN116915717 B CN 116915717B CN 202311156037 A CN202311156037 A CN 202311156037A CN 116915717 B CN116915717 B CN 116915717B
Authority
CN
China
Prior art keywords
throughput
equipment
mode
application
level
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
CN202311156037.9A
Other languages
Chinese (zh)
Other versions
CN116915717A (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.)
TCL Communication Technology Chengdu Ltd
Original Assignee
TCL Communication Technology Chengdu 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 TCL Communication Technology Chengdu Ltd filed Critical TCL Communication Technology Chengdu Ltd
Priority to CN202311156037.9A priority Critical patent/CN116915717B/en
Publication of CN116915717A publication Critical patent/CN116915717A/en
Application granted granted Critical
Publication of CN116915717B publication Critical patent/CN116915717B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0888Throughput
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a throughput distribution method, a throughput distribution device, a storage medium and electronic equipment, and relates to the technical field of communication, wherein the method comprises the following steps: determining whether to start an intelligent allocation mode according to whether the network state of the equipment meets a preset weak network condition; if the intelligent allocation mode is confirmed to be started, detecting the equipment use state of the equipment and throughput use data of the application in the equipment; performing mode classification according to the equipment use state and the throughput use data to obtain a mode grade corresponding to the intelligent allocation mode; and carrying out throughput distribution on the application in the equipment according to the mode level. The method and the device can effectively give consideration to the rationality of use management and control and throughput distribution of the application in the lifting equipment, and promote user experience.

Description

Throughput distribution method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a throughput allocation method, an apparatus, a storage medium, and an electronic device.
Background
Along with the continuous richness of applications in intelligent devices such as mobile phones, various applications such as short video applications, chat applications and social applications in the devices are continuous richness, a great amount of application processes exist in the background operation or the front cloud of the applications in the process of using the applications by users, and throughput is occupied.
In the case of weak networks with poor network conditions, if some unimportant or unnecessary applications continue to occupy throughput, the use of the important or necessary applications can be affected, thereby resulting in a poor use experience for the user. In the related mode at present, schemes for closing unimportant application processes according to the importance of the application and the like exist, but throughput and network conditions are not considered in the schemes, so that the use management and control of the application in the equipment are not reasonable enough, and the throughput distribution of the application in the equipment is more unreasonable.
Disclosure of Invention
The embodiment of the application provides a scheme, which can effectively consider the rationality of the use management and control and throughput distribution of the application in the lifting equipment and promote the user experience.
The embodiment of the application provides the following technical scheme:
according to one embodiment of the present application, a throughput allocation method includes: determining whether to start an intelligent allocation mode according to whether the network state of the equipment meets a preset weak network condition; if the intelligent allocation mode is confirmed to be started, detecting the equipment use state of the equipment and throughput use data of the application in the equipment; performing mode classification according to the equipment use state and the throughput use data to obtain a mode grade corresponding to the intelligent allocation mode; and carrying out throughput distribution on the application in the equipment according to the mode level.
In some embodiments of the present application, before determining whether to start the intelligent allocation mode according to whether the network state of the device meets the preset weak network condition, the method further includes: if the maximum allocable throughput exceeding the first time length in the equipment is smaller than a first threshold value and the network performance parameter detected by the equipment is higher than a first quality standard, the equipment meets a first weak network condition; and if the maximum distributable throughput exceeding the second duration in the equipment is smaller than a second threshold and the network performance parameter detected by the equipment is lower than a second quality standard, the equipment meets a second weak network condition, and the preset weak network condition comprises the first weak network condition and the second weak network condition.
In some embodiments of the present application, the performing mode classification according to the device usage status and the throughput usage data to obtain a mode level corresponding to the intelligent allocation mode includes: if the use state of the equipment is use and the current maximum distributable throughput in the equipment is greater than the minimum running required throughput of the target application, the mode grade is a first grade; if the use state of the equipment is use and the current maximum distributable throughput in the equipment is smaller than or equal to the minimum running required throughput of the target application, the mode grade is a second grade; if the equipment use state is unused, the mode grade is a third grade; and from the first level to the third level, the throughput limit of the application to be limited is enhanced in sequence.
In some embodiments of the present application, the allocating throughput to the application in the device according to the mode level includes: if the mode level is the first level, distributing target throughput to the target application from the current maximum distributable throughput, wherein the target throughput is greater than or equal to the minimum running required throughput of the target application; if the mode level is the second level, the current maximum allocable throughput is allocated to the target application; and if the mode level is the third level, limiting the distribution throughput to the application which is not in the preset white list.
In some embodiments of the present application, the method further comprises one of the following: if the device is detected to switch the cell, the intelligent allocation mode in the device is released; and if the condition of the preset weak network is not met in the equipment, the intelligent allocation mode in the equipment is released.
In some embodiments of the present application, the determining whether to start the intelligent allocation mode according to whether the network state of the device meets a preset weak network condition includes: if the network state of the equipment meets the preset weak network condition, playing the starting confirmation information; and determining whether to start the intelligent distribution mode according to the received user feedback information.
In some embodiments of the present application, after the performing mode classification according to the device usage status and the throughput usage data, obtaining a mode classification corresponding to the intelligent allocation mode, the method further includes: acquiring an application use state of an application in the equipment; according to the application use state of the application in the equipment, the mode level is adjusted to obtain an adjusted mode level; and carrying out throughput distribution on the application in the equipment according to the adjusted mode level.
According to one embodiment of the present application, a throughput allocation apparatus, the apparatus comprises: the determining module is used for determining whether to start an intelligent distribution mode according to whether the network state of the equipment meets the preset weak network condition; the detection module is used for detecting the equipment use state of the equipment and the throughput use data of the application in the equipment if the intelligent allocation mode is confirmed to be started; the grading module is used for carrying out mode grading according to the equipment use state and the throughput use data to obtain a mode grade corresponding to the intelligent distribution mode; and the distribution module is used for distributing the throughput of the application in the equipment according to the mode level.
According to another embodiment of the present application, a storage medium has stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method described in the embodiments of the present application.
According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and the processor reads the computer program stored in the memory to execute the method according to the embodiment of the application.
According to another embodiment of the present application, a computer program product or computer program includes computer instructions stored in a computer readable storage medium. The computer instructions are read from the computer-readable storage medium by a processor of a computer device, and executed by the processor, cause the computer device to perform the methods provided in the various alternative implementations described in the embodiments of the present application.
In the embodiment of the application, whether to start an intelligent allocation mode is determined according to whether the network state of the equipment meets the preset weak network condition; if the intelligent allocation mode is confirmed to be started, detecting the equipment use state of the equipment and throughput use data of the application in the equipment; performing mode classification according to the equipment use state and the throughput use data to obtain a mode grade corresponding to the intelligent allocation mode; and carrying out throughput distribution on the application in the equipment according to the mode level.
The beneficial effects of this application are: in this way, the intelligent distribution mode is started according to the preset weak network condition, the intelligent distribution mode is further subjected to mode classification according to the equipment use state and the throughput use data, the throughput distribution is carried out on the application in the equipment according to the mode grade, the reasonable distribution of the throughput of the application in the equipment under the preset weak network condition can be effectively ensured, the reasonable use of the application in the equipment can be reasonably managed and controlled in a throughput distribution mode, the use management and control of the application in the equipment and the rationality of the throughput distribution are effectively considered, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a flow chart of a throughput allocation method according to one embodiment of the present application.
FIG. 2 illustrates an intelligent allocation pattern initiation flow chart according to one embodiment of the present application.
Fig. 3 illustrates a throughput allocation flow diagram according to one embodiment of the present application.
Fig. 4 shows a block diagram of a throughput-distribution apparatus according to one embodiment of the present application.
Fig. 5 shows a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The present disclosure is further described in detail below with reference to the drawings and examples. It should be understood that the examples provided herein are merely illustrative of the present disclosure and are not intended to limit the present disclosure. In addition, the embodiments provided below are some of the embodiments for implementing the present disclosure, and not all of the embodiments for implementing the present disclosure, and the technical solutions described in the embodiments of the present disclosure may be implemented in any combination without conflict.
It should be noted that, in the embodiments of the present disclosure, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a method or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such method or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other related elements (e.g., a step in a method or a unit in an apparatus, e.g., a unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.) in a method or apparatus comprising the element.
For example, the throughput allocation method provided by the embodiment of the present disclosure includes a series of steps, but the throughput allocation method provided by the embodiment of the present disclosure is not limited to the described steps, and similarly, the throughput allocation apparatus provided by the embodiment of the present disclosure includes a series of units, but the apparatus provided by the embodiment of the present disclosure is not limited to including the explicitly described units, and may also include units that are required to be set when acquiring related information or performing processing based on the information.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure.
Fig. 1 schematically shows a flow chart of a throughput allocation method according to one embodiment of the present application. The execution subject of the throughput allocation method can be any device for installing an application, such as a television, a computer, a mobile phone, a smart watch, a vehicle-mounted device and the like.
As shown in fig. 1, the throughput allocation method may include steps S110 to S140.
Step S110, determining whether to start an intelligent allocation mode according to whether the network state of the equipment meets the preset weak network condition; step S120, if the intelligent allocation mode is confirmed to be started, detecting the equipment use state of the equipment and the throughput use data of the application in the equipment; step S130, carrying out mode classification according to the equipment use state and the throughput use data to obtain a mode class corresponding to the intelligent allocation mode; and step S140, carrying out throughput distribution on the application in the equipment according to the mode level.
The preset weak network condition is a preset weak network scene used for judging whether the equipment is designated or not, and the network state of the detection equipment can judge whether the network state of the equipment meets the preset weak network condition or not; whether to start the intelligent distribution mode can be further determined according to whether the network state of the equipment meets the preset weak network condition.
Specifically, if the network state of the device meets the preset weak network condition, it may be determined to start the intelligent allocation mode, and if the network state of the device does not meet the preset weak network condition, it may be determined to not start the intelligent allocation mode. The intelligent allocation mode is a mode started when the preset weak network condition is met and used for carrying out throughput allocation on the application in the equipment, wherein the intelligent allocation mode started when the preset weak network condition is met is removed from the equipment, and the throughput allocation is carried out in other scenes by adopting a conventional throughput allocation mode.
If the intelligent allocation mode is confirmed to be started, detecting the equipment use state of the equipment and throughput use data of the application in the equipment; and carrying out mode classification according to the equipment use state and the throughput use data to obtain a mode grade corresponding to the intelligent allocation mode. And according to different mode levels, the throughput distribution can be carried out on the equipment by applying distribution strategies corresponding to the mode levels.
In this way, based on the steps S110 to S140, the intelligent allocation mode is started according to the preset weak network condition, the intelligent allocation mode is further subjected to mode classification according to the equipment use state and the throughput use data, the throughput allocation is performed on the application in the equipment according to the mode grade, the throughput reasonable allocation of the application in the equipment under the preset weak network condition can be effectively ensured, the reasonable use of the application in the equipment can be reasonably managed and controlled through the throughput allocation mode, the use management and control of the application in the equipment and the rationality of the throughput allocation are effectively considered, and the user experience is improved.
Further alternative embodiments of the steps performed in the throughput allocation under the embodiment of fig. 1 are described below.
In an embodiment, the determining whether to start the intelligent allocation mode according to whether the network state of the device meets a preset weak network condition may specifically include: if the network state of the equipment meets the preset weak network condition, an intelligent allocation mode can be determined to be started; if the network state of the device does not meet the preset weak network condition, it can be determined that the intelligent allocation mode is not started.
Further, in an embodiment, the determining whether to start the intelligent allocation mode according to whether the network state of the device meets a preset weak network condition includes: if the network state of the equipment meets the preset weak network condition, playing the starting confirmation information, and determining whether to start the intelligent distribution mode according to the received user feedback information. Furthermore, the intelligent distribution mode is started according to user confirmation under the condition of weak network.
In one embodiment, before determining whether to start the intelligent allocation mode according to whether the network state of the device meets the preset weak network condition, the method further includes: if the maximum allocable throughput exceeding the first time length in the equipment is smaller than a first threshold value and the network performance parameter detected by the equipment is higher than a first quality standard, the equipment meets a first weak network condition; and if the maximum distributable throughput exceeding the second duration in the equipment is smaller than a second threshold and the network performance parameter detected by the equipment is lower than a second quality standard, the equipment meets a second weak network condition, and the preset weak network condition comprises the first weak network condition and the second weak network condition.
In this embodiment, two kinds of weak network conditions are set, that is, the preset weak network conditions include a first weak network condition and a second weak network condition, and the applicant finds that the intelligent allocation mode of the present application is started when the two kinds of weak network conditions are satisfied, so that the rationality of use management and control and throughput allocation applied in the device can be further effectively considered.
In a first manner, if the maximum allocable throughput of the device exceeding the first time length is less than a first threshold and the network performance parameter detected by the device is higher than a first quality criterion, the device satisfies a first weak network condition. In this way, when the network performance parameter is higher than the first quality standard, it indicates that the network quality detected by the device is better, but the maximum allocable throughput exceeding the first time length in the device is smaller than the first threshold, and the throughput level of the device is judged to be lower than the first level, at this time, it is also judged that the device meets the first weak network condition, and further, the intelligent allocation mode is triggered and started. The first duration, the first threshold value and the first quality standard may be preset according to actual situations. The maximum allocable throughput is the throughput of the maximum allocable device in the cell, and the network performance parameters may include one or more of parameters reflecting network performance, such as Reference Signal Received Power (RSRP) and signal to noise ratio.
In the second mode, if the maximum allocable throughput exceeding the second duration in the device is smaller than the second threshold and the network performance parameter detected by the device is lower than the second quality standard, the device meets a second weak network condition. In the method, the fact that the network performance parameter is lower than the second quality standard indicates that the network quality detected by the equipment is poor, meanwhile, the maximum allocable throughput exceeding the second duration in the equipment is smaller than a second threshold value, the throughput level of the equipment is judged to be lower than the second level, at the moment, the equipment is also judged to meet the second weak network condition, and further, the intelligent allocation mode is triggered to start. The second duration, the second threshold and the second quality standard may be preset according to actual situations. The maximum allocable throughput is the throughput of the maximum allocable device in the cell, and the network performance parameters may include one or more of parameters reflecting network performance, such as Reference Signal Received Power (RSRP) and signal to noise ratio.
Specifically, referring to fig. 2, in one embodiment, determining whether to activate the intelligent distribution mode may include steps S210 to S250.
In step S210, system monitoring is started.
In step S220, network throughput is detected. Specifically, the maximum allocable throughput in the device is detected.
In step S230, it is determined whether the throughput level is low. Specifically, it is determined whether the maximum allocatable throughput (T0) exceeding the first time period is smaller than the first threshold (thresh 1), or whether the maximum allocatable throughput (T0) exceeding the second time period is smaller than the second threshold (thresh 2). If yes, go to step S240, otherwise go to step S220. The first time length can be counted by setting a timer alpha, and the second time length can be counted by setting a timer beta.
In step S240, it is determined whether the network quality is good. Specifically, it is determined whether the network performance parameter is higher than a first quality standard or whether the network performance parameter is lower than a second quality standard. Wherein the network performance parameter is higher than the first quality criterion "yes". Whether the network performance parameter is below the second quality criterion "no".
If yes, the device meets a first weak network condition A. If it is determined in step S230 that the maximum allocable throughput exceeding the first time period is less than the first threshold, in step S240, it is determined that the network performance parameter detected by the device is higher than the first quality standard, and it is determined that the device satisfies the first weak network condition.
If not, the device meets a second weak network condition B. If it is determined in step S230 that the maximum allocable throughput exceeding the second duration is less than the second threshold, in step S240, it is determined that the network performance parameter detected by the device is lower than the second quality standard, and it is determined that the device meets the second weak network condition.
In step S250, intelligent allocation is enabled. Specifically, if the device meets the first weak network condition or the second weak network condition, it is determined to start the intelligent allocation mode.
In an embodiment, the performing mode classification according to the device usage status and the throughput usage data to obtain a mode level corresponding to the intelligent allocation mode may specifically include: if the use state of the equipment is use and the current maximum distributable throughput in the equipment is greater than the minimum running required throughput of the target application, the mode grade is a first grade; if the use state of the equipment is use and the current maximum distributable throughput in the equipment is smaller than or equal to the minimum running required throughput of the target application, the mode grade is a second grade; if the equipment use state is unused, the mode grade is a third grade; and from the first level to the third level, the throughput limit of the application to be limited is enhanced in sequence.
If the device usage status is in use (e.g., not on screen) and the current maximum assignable throughput in the device is greater than the minimum required throughput for running the target application, the mode level is determined to be the first level. If the device usage status is in use (e.g., not on screen) and the current maximum assignable throughput in the device is less than or equal to the minimum required throughput for running the target application, the mode level is determined to be the second level. If the device usage status is unused (e.g., off screen), the mode level is determined to be a third level.
Where the current maximum allocable throughput is the throughput that is the maximum allocable to the device in the cell that performs this step is detected. The minimum required throughput for the target application may be an empirical value calculated from a daily operational state history database of the target application.
In this embodiment, the intelligent allocation level is divided into the first level to the third level, and throughput limitation of the application to be limited is sequentially enhanced from the first level to the third level, so that throughput allocation can be performed in an effective mode-division level, and the throughput allocation rationality is further improved. The application to be limited in the first level is other applications except the target application in the equipment; the application to be restricted at the second level is another application than the target application in the device. The applications to be restricted under the second level are applications not in the preset whitelist or applications in the preset blacklist.
It is to be appreciated that in other embodiments, the intelligent distribution model may be partitioned into other numbers of multiple pattern levels.
In one embodiment, the allocating throughput to the application in the device according to the mode level may specifically include: if the mode level is the first level, distributing target throughput to the target application from the current maximum distributable throughput, wherein the target throughput is greater than or equal to the minimum running required throughput of the target application; if the mode level is the second level, the current maximum allocable throughput is allocated to the target application; and if the mode level is the third level, limiting the distribution throughput to the application which is not in the preset white list.
Specifically, if the mode level is the first level, the target throughput is allocated to the target application from the current maximum allocable throughput T0, and the target throughput is greater than or equal to the minimum required throughput for running the target application. In one embodiment, if the mode level is a first level, such as T0> c×t1 (e.g., T0 is greater than 1.25 times T1 or more), the target throughput=b×t0, where c×b=1, and other applications in the device other than the target application may allocate the remaining throughput according to the situation. If the mode level is the first level, for example, c×t1> T0> T1, and the target throughput=t1, other applications in the device other than the target application may allocate the remaining throughput according to the situation. Where T1 is the minimum required throughput for the target application to run.
If the mode level is the second level, the current maximum allocable throughput T0 is fully allocated to the target application, and other applications outside the target application in the device do not allocate throughput. The target application may be an application in the device that is currently being used by the user in the foreground.
If the mode level is the third level, the allocation throughput is limited to be applied to the preset white list, namely, the allocation throughput is only applied to the white list, and the allocation throughput is not allocated to the preset white list when the mode level is not the third level, so that the application in the preset white list under the condition of weak network is ensured.
In one embodiment, after the performing mode classification according to the device usage status and the throughput usage data, obtaining a mode level corresponding to the intelligent allocation mode, the method further includes: acquiring an application use state of an application in the equipment; according to the application use state of the application in the equipment, the mode level is adjusted to obtain an adjusted mode level; and carrying out throughput distribution on the application in the equipment according to the adjusted mode level.
For example, according to the foregoing embodiment, the determined mode level of the intelligent allocation mode in the device is the third level, but the device does not currently use the application located in the preset whitelist, but uses other applications outside the preset whitelist, and then the mode level is adjusted to the mode level (e.g., the second level or the first level) of the other applications without limiting the application. In this way, by further adjusting the mode level, the throughput allocation reliability is further improved.
Further, in one embodiment, the method further comprises one of the following ways: if the device is detected to switch the cell, the intelligent allocation mode in the device is released; and if the condition of the preset weak network is not met in the equipment, the intelligent allocation mode in the equipment is released.
If the device is detected to switch the cell, the cell reselection is usually performed after the neighbor cell signal is better than the current cell according to the 3gpp protocol requirement, so that the intelligent allocation mode can be released at the first time after the cell reselection occurs. And then, continuously judging whether the network state in the equipment meets the preset weak network condition or not so as to determine whether to restart the intelligent allocation mode.
And if the fact that the preset weak network condition is not met in the equipment is detected, for example, the first weak network condition is not met in the equipment and the second weak network condition is not met in the equipment, the intelligent allocation mode in the equipment is released.
And releasing the intelligent allocation mode in the equipment, and carrying out throughput allocation in the equipment according to a mode of taking care of all applications, so as to ensure the use of all the applications.
Specifically, referring to fig. 3, in one embodiment, mode classification is performed according to the device usage status and the throughput usage data, so as to obtain a mode level corresponding to the intelligent allocation mode, and throughput allocation is performed on the application in the device according to the mode level, which may specifically include steps S310 to S370.
In step S310, it is determined whether the device is in the off-screen state, if so, the process proceeds to step S320, and if not, the process proceeds to step S330.
Specifically, in the embodiment, if the device is in the screen-off state, the device is judged to be in the unused state (screen-off), and the mode level is determined to be the third level, and the process proceeds to step S320. If the device is not in the screen-off state, the device is judged to be in the use state (not in the screen-off state), and the process proceeds to step S330.
In step S320, mode three is entered. Specifically, if the mode level is the third level, allocation of throughput to applications not in the preset whitelist is restricted.
In step S330, the current maximum allocable throughput and the minimum required throughput for operation are detected. Where the minimum required throughput for operation may be obtained from the database 1.
In step S340, it is determined whether the current maximum allocable throughput is higher than the minimum required for operation. If yes, go to step S350, if no, go to step S360.
Specifically, if the current maximum allocable throughput in the device is greater than the minimum required throughput for running the target application, the mode level is the first level, and then step S350 is performed; if the current maximum allocable throughput in the device is less than or equal to the minimum required throughput for running the target application, the mode level is the second level, and then step S360 is entered.
In step S350, mode one is entered. Specifically, if the mode level is the first level, a target throughput is allocated to the target application from the current maximum allocable throughput, where the target throughput is greater than or equal to a minimum required throughput for running the target application.
In step S360, mode two is entered. Specifically, if the mode level is the second level, the current maximum allocable throughput is allocated to the target application.
In step S370, the intelligent allocation is completed.
In order to facilitate better implementation of the throughput distribution method provided by the embodiment of the application, the embodiment of the application also provides a throughput distribution device based on the throughput distribution method. Where the meaning of the terms is the same as in the throughput allocation method described above, specific implementation details may be referred to in the description of the method embodiments. Fig. 4 shows a block diagram of a throughput-distribution apparatus according to one embodiment of the present application.
As shown in fig. 4, the throughput allocating apparatus 400 may include: the determining module 410 may be configured to determine whether to start the intelligent allocation mode according to whether the network status of the device meets a preset weak network condition; the detection module 420 may be configured to detect a device usage status of the device and throughput usage data of an application in the device if the intelligent allocation mode is acknowledged to be activated; the grading module 430 may be configured to perform mode grading according to the device usage status and the throughput usage data, so as to obtain a mode grade corresponding to the intelligent allocation mode; the allocation module 440 may be configured to allocate throughput for the applications in the device according to the pattern level.
In some embodiments of the present application, before determining whether to start the intelligent allocation mode according to whether the network state of the device meets a preset weak network condition, the apparatus further includes a determining module configured to: if the maximum allocable throughput exceeding the first time length in the equipment is smaller than a first threshold value and the network performance parameter detected by the equipment is higher than a first quality standard, the equipment meets a first weak network condition; and if the maximum distributable throughput exceeding the second duration in the equipment is smaller than a second threshold and the network performance parameter detected by the equipment is lower than a second quality standard, the equipment meets a second weak network condition, and the preset weak network condition comprises the first weak network condition and the second weak network condition.
In some embodiments of the present application, the ranking module 430 may be configured to: if the use state of the equipment is use and the current maximum distributable throughput in the equipment is greater than the minimum running required throughput of the target application, the mode grade is a first grade; if the use state of the equipment is use and the current maximum distributable throughput in the equipment is smaller than or equal to the minimum running required throughput of the target application, the mode grade is a second grade; if the equipment use state is unused, the mode grade is a third grade; and from the first level to the third level, the throughput limit of the application to be limited is enhanced in sequence.
In some embodiments of the present application, the allocation module 440 may be configured to: if the mode level is the first level, distributing target throughput to the target application from the current maximum distributable throughput, wherein the target throughput is greater than or equal to the minimum running required throughput of the target application; if the mode level is the second level, the current maximum allocable throughput is allocated to the target application; and if the mode level is the third level, limiting the distribution throughput to the application which is not in the preset white list.
In some embodiments of the present application, the apparatus further comprises a release mode for implementing one of the following: if the device is detected to switch the cell, the intelligent allocation mode in the device is released; and if the condition of the preset weak network is not met in the equipment, the intelligent allocation mode in the equipment is released.
In some embodiments of the present application, the determining module 410 may be configured to: if the network state of the equipment meets the preset weak network condition, playing the starting confirmation information; and determining whether to start the intelligent distribution mode according to the received user feedback information.
In some embodiments of the present application, after the performing mode classification according to the device usage status and the throughput usage data, to obtain a mode class corresponding to the intelligent allocation mode, the apparatus further includes an adjustment module configured to: acquiring an application use state of an application in the equipment; according to the application use state of the application in the equipment, the mode level is adjusted to obtain an adjusted mode level; and carrying out throughput distribution on the application in the equipment according to the adjusted mode level.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, in accordance with embodiments of the present application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In addition, the embodiment of the application further provides an electronic device, as shown in fig. 5, and fig. 5 shows a block diagram of the electronic device according to an embodiment of the application, specifically:
The electronic device may include one or more processing cores 'processors 501, one or more computer-readable storage media's memory 502, a power supply 503, and an input unit 504, among other components. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 5 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the processor 501 is a control center of the electronic device, and connects various parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 502, and calling data stored in the memory 502, thereby performing overall monitoring of the electronic device. Optionally, processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user pages, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 501.
The memory 502 may be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by executing the software programs and modules stored in the memory 502. The memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device, etc. In addition, memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 502 may also include a memory controller to provide access to the memory 502 by the processor 501.
The electronic device further comprises a power supply 503 for powering the various components, preferably the power supply 503 is logically connected to the processor 501 via a power management system, whereby the functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 503 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further comprise an input unit 504, which input unit 504 may be used for receiving input digital or character information and for generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 501 in the electronic device loads executable files corresponding to the processes of one or more computer programs into the memory 502 according to the following instructions, and the processor 501 executes the computer programs stored in the memory 502, so as to implement the functions in the foregoing embodiments of the present application, where the processor 501 may perform the following steps:
determining whether to start an intelligent allocation mode according to whether the network state of the equipment meets a preset weak network condition; if the intelligent allocation mode is confirmed to be started, detecting the equipment use state of the equipment and throughput use data of the application in the equipment; performing mode classification according to the equipment use state and the throughput use data to obtain a mode grade corresponding to the intelligent allocation mode; and carrying out throughput distribution on the application in the equipment according to the mode level.
In some embodiments of the present application, before determining whether to start the intelligent allocation mode according to whether the network state of the device meets the preset weak network condition, the method further includes: if the maximum allocable throughput exceeding the first time length in the equipment is smaller than a first threshold value and the network performance parameter detected by the equipment is higher than a first quality standard, the equipment meets a first weak network condition; and if the maximum distributable throughput exceeding the second duration in the equipment is smaller than a second threshold and the network performance parameter detected by the equipment is lower than a second quality standard, the equipment meets a second weak network condition, and the preset weak network condition comprises the first weak network condition and the second weak network condition.
In some embodiments of the present application, the performing mode classification according to the device usage status and the throughput usage data to obtain a mode level corresponding to the intelligent allocation mode includes: if the use state of the equipment is use and the current maximum distributable throughput in the equipment is greater than the minimum running required throughput of the target application, the mode grade is a first grade; if the use state of the equipment is use and the current maximum distributable throughput in the equipment is smaller than or equal to the minimum running required throughput of the target application, the mode grade is a second grade; if the equipment use state is unused, the mode grade is a third grade; and from the first level to the third level, the throughput limit of the application to be limited is enhanced in sequence.
In some embodiments of the present application, the allocating throughput to the application in the device according to the mode level includes: if the mode level is the first level, distributing target throughput to the target application from the current maximum distributable throughput, wherein the target throughput is greater than or equal to the minimum running required throughput of the target application; if the mode level is the second level, the current maximum allocable throughput is allocated to the target application; and if the mode level is the third level, limiting the distribution throughput to the application which is not in the preset white list.
In some embodiments of the present application, one of the following ways is also included: if the device is detected to switch the cell, the intelligent allocation mode in the device is released; and if the condition of the preset weak network is not met in the equipment, the intelligent allocation mode in the equipment is released.
In some embodiments of the present application, the determining whether to start the intelligent allocation mode according to whether the network state of the device meets a preset weak network condition includes: if the network state of the equipment meets the preset weak network condition, playing the starting confirmation information; and determining whether to start the intelligent distribution mode according to the received user feedback information.
In some embodiments of the present application, after performing mode classification according to the device usage status and the throughput usage data, obtaining a mode class corresponding to the intelligent allocation mode, the method further includes: acquiring an application use state of an application in the equipment; according to the application use state of the application in the equipment, the mode level is adjusted to obtain an adjusted mode level; and carrying out throughput distribution on the application in the equipment according to the adjusted mode level.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present embodiments also provide a storage medium having stored therein a computer program that can be loaded by a processor to perform the steps of any of the methods provided by the embodiments of the present application.
Wherein the storage medium may be a computer-readable storage medium, the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the computer program stored in the storage medium may perform any of the steps in the method provided in the embodiment of the present application, the beneficial effects that can be achieved by the method provided in the embodiment of the present application may be achieved, which are detailed in the previous embodiments and are not described herein.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains.
It will be understood that the present application is not limited to the embodiments that have been described above and shown in the drawings, but that various modifications and changes can be made without departing from the scope thereof.

Claims (9)

1. A method of throughput allocation, comprising:
determining whether to start an intelligent allocation mode according to whether the network state of the equipment meets a preset weak network condition;
if the intelligent allocation mode is confirmed to be started, detecting the equipment use state of the equipment and throughput use data of the application in the equipment;
Performing mode classification according to the equipment use state and the throughput use data to obtain a mode grade corresponding to the intelligent allocation mode;
performing throughput distribution on the application in the equipment according to the mode level;
the step of carrying out mode classification according to the equipment use state and the throughput use data to obtain the mode grade corresponding to the intelligent allocation mode comprises the following steps: if the use state of the equipment is use and the current maximum distributable throughput in the equipment is greater than the minimum running required throughput of the target application, the mode grade is a first grade; if the use state of the equipment is use and the current maximum distributable throughput in the equipment is smaller than or equal to the minimum running required throughput of the target application, the mode grade is a second grade; if the equipment use state is unused, the mode grade is a third grade; and from the first level to the third level, the throughput limit of the application to be limited is enhanced in sequence.
2. The method of claim 1, further comprising, before determining whether to initiate the intelligent distribution mode based on whether the network state of the device satisfies a preset weak network condition:
If the maximum allocable throughput exceeding the first time length in the equipment is smaller than a first threshold value and the network performance parameter detected by the equipment is higher than a first quality standard, the equipment meets a first weak network condition;
and if the maximum distributable throughput exceeding the second duration in the equipment is smaller than a second threshold and the network performance parameter detected by the equipment is lower than a second quality standard, the equipment meets a second weak network condition, and the preset weak network condition comprises the first weak network condition and the second weak network condition.
3. The method of claim 1, wherein said assigning throughput to applications in the device according to the pattern level comprises:
if the mode level is the first level, distributing target throughput to the target application from the current maximum distributable throughput, wherein the target throughput is greater than or equal to the minimum running required throughput of the target application;
if the mode level is the second level, the current maximum allocable throughput is allocated to the target application;
and if the mode level is the third level, limiting the distribution throughput to the application which is not in the preset white list.
4. The method of claim 1, further comprising one of the following:
if the device is detected to switch the cell, the intelligent allocation mode in the device is released;
and if the condition of the preset weak network is not met in the equipment, the intelligent allocation mode in the equipment is released.
5. The method of claim 1, wherein determining whether to initiate the intelligent distribution mode based on whether the network status of the device satisfies a preset weak network condition comprises:
if the network state of the equipment meets the preset weak network condition, playing the starting confirmation information;
and determining whether to start the intelligent distribution mode according to the received user feedback information.
6. The method of claim 1, wherein after said pattern classification based on said device usage status and said throughput usage data, obtaining a pattern classification corresponding to said intelligent allocation pattern, said method further comprises:
acquiring an application use state of an application in the equipment;
according to the application use state of the application in the equipment, the mode level is adjusted to obtain an adjusted mode level;
and carrying out throughput distribution on the application in the equipment according to the adjusted mode level.
7. A throughput-distributing apparatus, comprising:
the determining module is used for determining whether to start an intelligent distribution mode according to whether the network state of the equipment meets the preset weak network condition;
the detection module is used for detecting the equipment use state of the equipment and the throughput use data of the application in the equipment if the intelligent allocation mode is confirmed to be started;
the grading module is used for carrying out mode grading according to the equipment use state and the throughput use data to obtain a mode grade corresponding to the intelligent distribution mode; the step of carrying out mode classification according to the equipment use state and the throughput use data to obtain the mode grade corresponding to the intelligent allocation mode comprises the following steps: if the use state of the equipment is use and the current maximum distributable throughput in the equipment is greater than the minimum running required throughput of the target application, the mode grade is a first grade; if the use state of the equipment is use and the current maximum distributable throughput in the equipment is smaller than or equal to the minimum running required throughput of the target application, the mode grade is a second grade; if the equipment use state is unused, the mode grade is a third grade; from the first level to the third level, throughput limitation of the application to be limited is enhanced in sequence;
And the distribution module is used for distributing the throughput of the application in the equipment according to the mode level.
8. A storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method of any of claims 1 to 6.
9. An electronic device, comprising: a memory storing a computer program; a processor reading a computer program stored in a memory to perform the method of any one of claims 1 to 6.
CN202311156037.9A 2023-09-08 2023-09-08 Throughput distribution method and device, storage medium and electronic equipment Active CN116915717B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311156037.9A CN116915717B (en) 2023-09-08 2023-09-08 Throughput distribution method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311156037.9A CN116915717B (en) 2023-09-08 2023-09-08 Throughput distribution method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN116915717A CN116915717A (en) 2023-10-20
CN116915717B true CN116915717B (en) 2024-01-23

Family

ID=88360535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311156037.9A Active CN116915717B (en) 2023-09-08 2023-09-08 Throughput distribution method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116915717B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451315A (en) * 2015-11-02 2016-03-30 江苏科技大学 Serial energy acquisition method with characteristic of throughput maximization
CN112910799A (en) * 2021-01-15 2021-06-04 苏州浪潮智能科技有限公司 Network data processing method, system, medium and equipment
CN114679416A (en) * 2022-02-10 2022-06-28 达闼机器人股份有限公司 Robot communication method, system, equipment and storage medium
CN115175245A (en) * 2022-06-27 2022-10-11 山东浪潮科学研究院有限公司 Method, device and equipment for adjusting data throughput and storage medium
CN115701003A (en) * 2022-10-31 2023-02-07 Oppo广东移动通信有限公司 Antenna switching method and device, storage medium and electronic equipment
WO2023024815A1 (en) * 2021-08-23 2023-03-02 Oppo广东移动通信有限公司 Wireless network communication method and related apparatus
CN116578410A (en) * 2023-04-13 2023-08-11 天津中科曙光存储科技有限公司 Resource management method, device, computer equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11012288B2 (en) * 2019-05-14 2021-05-18 Vmware, Inc. Congestion avoidance in a slice-based network
US20230038198A1 (en) * 2021-08-03 2023-02-09 At&T Intellectual Property I, L.P. Dynamic wireless network throughput adjustment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451315A (en) * 2015-11-02 2016-03-30 江苏科技大学 Serial energy acquisition method with characteristic of throughput maximization
CN112910799A (en) * 2021-01-15 2021-06-04 苏州浪潮智能科技有限公司 Network data processing method, system, medium and equipment
WO2023024815A1 (en) * 2021-08-23 2023-03-02 Oppo广东移动通信有限公司 Wireless network communication method and related apparatus
CN114679416A (en) * 2022-02-10 2022-06-28 达闼机器人股份有限公司 Robot communication method, system, equipment and storage medium
CN115175245A (en) * 2022-06-27 2022-10-11 山东浪潮科学研究院有限公司 Method, device and equipment for adjusting data throughput and storage medium
CN115701003A (en) * 2022-10-31 2023-02-07 Oppo广东移动通信有限公司 Antenna switching method and device, storage medium and electronic equipment
CN116578410A (en) * 2023-04-13 2023-08-11 天津中科曙光存储科技有限公司 Resource management method, device, computer equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Gemini: Divide-and-Conquer for Practical Learning-Based Internet Congestion Control;Wenzheng Yang et.al;《IEEE INFOCOM 2023 - IEEE Conference on Computer Communications》;全文 *
多信道无线Mesh网络负载均衡路由算法研究;陈锦源;魏文红;;计算机工程与应用(19);全文 *
陈锦源 ; 魏文红 ; .多信道无线Mesh网络负载均衡路由算法研究.计算机工程与应用.2009,(19),全文. *

Also Published As

Publication number Publication date
CN116915717A (en) 2023-10-20

Similar Documents

Publication Publication Date Title
EP3825852B1 (en) Occupation control method and apparatus for camera application
CN107479951B (en) Process control method and device, storage medium and electronic equipment
CN109888889B (en) Charging control method and device, storage medium and electronic equipment
US11628360B2 (en) Method and apparatus for controlling game applications
CN106022108A (en) Synchronous management method and terminal device
CN115220912A (en) Method and device for configuring system resources, electronic equipment and storage medium
CN115277577B (en) Data processing method, apparatus, computer device, and computer readable storage medium
CN114189482A (en) Control method, device and system for cluster resources
CN110933178B (en) Method for adjusting node configuration in cluster system and server
CN109428950B (en) Automatic scheduling method and system for IP address pool
CN112752319A (en) Network switching method, device, terminal and storage medium
CN116915717B (en) Throughput distribution method and device, storage medium and electronic equipment
CN114647550A (en) Process control method, device, storage medium and electronic equipment
CN117527721A (en) Content distribution network bandwidth control method, device, equipment and storage medium
CN112214288B (en) Pod scheduling method, device, equipment and medium based on Kubernetes cluster
CN113867927A (en) Resource allocation method, device, electronic equipment and storage medium
CN109358961B (en) Resource scheduling method and device with storage function
CN110609598A (en) Data scanning method, mobile terminal and non-volatile computer-readable storage medium
CN114880042A (en) Application starting method and device, electronic equipment and computer readable storage medium
CN114597967A (en) Method and device for distributing output power of power supply, storage medium and equipment
CN116743755A (en) Resource scheduling method, computer equipment and storage medium of customer service scene
CN111078405B (en) Memory allocation method and device, storage medium and electronic equipment
CN110851286A (en) Thread management method and device, electronic equipment and storage medium
CN114416326A (en) Big data control method, device, control system and readable storage medium
CN111176848A (en) Processing method, device and equipment of cluster task and storage 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