CN110401605B - Method, device, server and terminal for distributing bandwidth in local area network - Google Patents

Method, device, server and terminal for distributing bandwidth in local area network Download PDF

Info

Publication number
CN110401605B
CN110401605B CN201910349210.4A CN201910349210A CN110401605B CN 110401605 B CN110401605 B CN 110401605B CN 201910349210 A CN201910349210 A CN 201910349210A CN 110401605 B CN110401605 B CN 110401605B
Authority
CN
China
Prior art keywords
application program
server
bandwidth
identification information
priority 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
CN201910349210.4A
Other languages
Chinese (zh)
Other versions
CN110401605A (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.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201910349210.4A priority Critical patent/CN110401605B/en
Publication of CN110401605A publication Critical patent/CN110401605A/en
Application granted granted Critical
Publication of CN110401605B publication Critical patent/CN110401605B/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/245Traffic characterised by specific attributes, e.g. priority or QoS using preemption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application discloses a method, a device, a server and a terminal for distributing bandwidth in a local area network, wherein the method comprises the following steps: receiving local area network address information corresponding to a first application program sent by the first application program corresponding to a local server; sending an identification information query request of a second application program in an operation state to a second server; receiving identification information of the second application program sent by the second server; determining a priority level of the second application program based on the identification information of the second application program; and sending the priority level of the second application program to the first application program so that the first application program executes bandwidth avoidance operation. By utilizing the technical scheme provided by the application, when the first application program insensitive to the bandwidth and the second application program sensitive to the bandwidth in the same local area network preempt the bandwidth, the first application program can avoid the bandwidth of the second application program, thereby avoiding the blocking of the second application program.

Description

Method, device, server and terminal for distributing bandwidth in local area network
Technical Field
The present application relates to the field of internet communications technologies, and in particular, to a method, an apparatus, a server, and a terminal for bandwidth allocation in a local area network.
Background
When a plurality of different terminal devices for video playing and game playing exist in the same local area network at the same time, because in the video playing process, besides local downloading, the end-to-end transmission of the video also occupies more uploading and downloading bandwidth; in this case, video playback may cause game-to-game play to be stuck and operation to be delayed due to bandwidth preemption, thereby affecting the user's game experience. In view of this situation, in a small local area network, for example, a local area network where a home or an office is located, the existing solution mainly uses third party security software, such as a computer manager, a mobile phone manager, and the like, to limit the network speed of video software to ensure that more bandwidth is reserved for games, but the bandwidth avoidance method not only depends on the third party security software, but also is difficult to set a reasonable speed limit value so as to ensure that video playing is not affected.
Therefore, it is necessary to provide a method, an apparatus, a server and a terminal for bandwidth allocation in a local area network, so that when a first application program insensitive to bandwidth and a second application program sensitive to bandwidth in the same local area network preempt bandwidth, bandwidth avoidance of the first application program to the second application program is realized, and thus, blocking of the second application program is avoided.
Disclosure of Invention
The application provides a method, a device, a server and a terminal for bandwidth allocation in a local area network, which can realize the bandwidth avoidance of a first application program to a second application program when the first application program insensitive to the bandwidth and the second application program sensitive to the bandwidth in the same local area network occupy the bandwidth, thereby avoiding the blocking of the second application program.
In one aspect, the present application provides a method for bandwidth allocation in a local area network, the method comprising:
Receiving local area network address information corresponding to a first application program sent by the first application program corresponding to a local server; the first application program is an application program with bandwidth sensitivity smaller than a first threshold value;
sending an identification information inquiry request of a second application program in an operating state to a second server, wherein the identification information inquiry request carries the local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value, and the first threshold value is smaller than the second threshold value;
receiving identification information of the second application program sent by the second server;
determining a priority level of the second application program based on the identification information of the second application program;
And sending the priority level of the second application program to the first application program so that the first application program executes bandwidth avoidance operation.
In another aspect, a method for bandwidth allocation in a local area network is provided, where the method includes:
transmitting local area network address information corresponding to a local application program to a first server corresponding to the local application program, wherein the local application program is an application program with bandwidth sensitivity smaller than a first threshold value, so that the first server transmits an identification information inquiry request of a second application program in an operating state to a second server, and the identification information inquiry request carries the local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value, and the first threshold value is smaller than the second threshold value; and determining a priority level of the second application program based on the received identification information of the second application program sent by the second server;
receiving the priority level of the second application program sent by the first server;
and executing bandwidth avoiding operation based on the priority level of the second application program.
In another aspect, a method for bandwidth allocation in a local area network is provided, where the method includes:
Receiving an identification information inquiry request of a second application program in an operation state sent by a first server, wherein the identification information inquiry request carries local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value; storing the local area network address information corresponding to a first application program in the first server, wherein the first application program corresponds to the first server, the first application program is an application program with bandwidth sensitivity smaller than a first threshold value, and the first threshold value is smaller than a second threshold value;
acquiring the identification information of the second application program corresponding to the local area network address information based on the identification information inquiry request;
Transmitting identification information of the second application program to the first server so that the first server determines the priority level of the second application program; and sending the priority level of the second application program to the first application program so that the first application program executes bandwidth avoidance operation.
In another aspect, an apparatus for bandwidth allocation in a local area network is provided, where the apparatus includes:
the local area network address information receiving module is used for receiving local area network address information corresponding to a first application program sent by the first application program corresponding to a local server; the first application program is an application program with bandwidth sensitivity smaller than a first threshold value;
The identification information inquiry request sending module is used for sending an identification information inquiry request of a second application program in an operating state to a second server, wherein the identification information inquiry request carries the local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value, and the first threshold value is smaller than the second threshold value;
the identification information receiving module is used for receiving the identification information of the second application program sent by the second server;
The priority level determining module is used for determining the priority level of the second application program based on the identification information of the second application program;
and the priority level sending module is used for sending the priority level of the second application program to the first application program so as to enable the first application program to execute bandwidth avoidance operation.
In another aspect, an apparatus for bandwidth allocation in a local area network is provided, where the apparatus includes:
The local area network address information sending module is used for sending local area network address information corresponding to a local application program to a first server corresponding to the local application program, wherein the local application program is an application program with bandwidth sensitivity smaller than a first threshold value, so that the first server sends an identification information inquiry request of a second application program in an operating state to a second server, and the identification information inquiry request carries the local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value, and the first threshold value is smaller than the second threshold value; and determining a priority level of the second application program based on the received identification information of the second application program sent by the second server;
the priority level receiving module is used for receiving the priority level of the second application program sent by the first server;
and the bandwidth avoidance operation execution module is used for executing the bandwidth avoidance operation based on the priority level of the second application program.
In another aspect, an apparatus for bandwidth allocation in a local area network is provided, where the apparatus includes: the system comprises an identification information inquiry request receiving module, a first server and a second server, wherein the identification information inquiry request receiving module is used for receiving an identification information inquiry request of a second application program in an operation state sent by the first server, and the identification information inquiry request carries local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value; storing the local area network address information corresponding to a first application program in the first server, wherein the first application program corresponds to the first server, the first application program is an application program with bandwidth sensitivity smaller than a first threshold value, and the first threshold value is smaller than a second threshold value;
the identification information acquisition module is used for acquiring the identification information of the second application program corresponding to the local area network address information based on the identification information inquiry request;
The identification information sending module is used for sending the identification information of the second application program to the first server so that the first server determines the priority level of the second application program; and sending the priority level of the second application program to the first application program so that the first application program executes bandwidth avoidance operation.
In another aspect, a system for bandwidth allocation in a local area network is provided, the system comprising a first server, a second server, and a first application,
The first server is configured to send an identification information query request of a second application program in an running state to the second server, where the identification information query request carries local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value; determining the priority level of the second application program based on the identification information of the second application program sent by the second server; sending the priority level of the second application program to the first application program;
the second server is configured to obtain, based on the identification information query request, identification information of the second application program corresponding to the local area network address information; and sending identification information of the second application program to the first server;
The first application program is used for sending the local area network address information corresponding to the first application program to a first server corresponding to the first application program; the first application program is an application program with bandwidth sensitivity smaller than a first threshold value, and the first threshold value is smaller than the second threshold value; and executing the bandwidth avoiding operation based on the priority level of the second application program.
In another aspect, a first server for bandwidth allocation in a local area network is provided, where the first server includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored, where the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement a method for bandwidth allocation in a local area network as described above.
In another aspect, a terminal for bandwidth allocation in a local area network is provided, where the terminal includes an application program, and the terminal includes a processor and a memory, where at least one instruction, at least one program, a code set, or an instruction set is stored in the memory, where the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement a method for bandwidth allocation in a local area network as described above.
In another aspect, a second server for bandwidth allocation in a local area network is provided, where the second server includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored, where the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement a method for bandwidth allocation in a local area network as described above.
In another aspect, a computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions loaded and executed by a processor to implement a method for bandwidth allocation within a local area network as described above is provided.
The method, the device, the server and the system for distributing the bandwidth in the local area network provided by the application have the following technical effects:
According to the technical scheme provided by the application, when the first application program and the second application program insensitive to the bandwidth occupy the bandwidth in the same local area network, the bandwidth of the first application program to the second application program is avoided, and the blocking of the second application program is avoided.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions and advantages of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the application, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a system provided by an embodiment of the present application;
fig. 2 is a flow chart of a method for bandwidth allocation in a lan according to an embodiment of the present application;
fig. 3 is a flowchart of another method for allocating bandwidth in a lan according to an embodiment of the present application;
fig. 4 is a flowchart of another method for allocating bandwidth in a lan according to an embodiment of the present application;
Fig. 5 is a flowchart of another method for allocating bandwidth in a lan according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an apparatus for bandwidth allocation in a lan according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another apparatus for bandwidth allocation in a lan according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of another apparatus for bandwidth allocation in a lan according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, fig. 1 is a schematic diagram of a system according to an embodiment of the present application, and as shown in fig. 1, the system may at least include a first terminal 01, a first server 02, a second server 03, and a second terminal 04.
Specifically, the first terminal 01 may include a smart phone, a tablet computer, a notebook computer, a digital assistant, a smart wearable device, an in-vehicle terminal, or other types of physical devices, or may include software running in the physical devices, for example, the first terminal 01 may include a first application program.
In particular, the first server 02 may include a server that operates independently, or a distributed server, or a server cluster that is composed of a plurality of servers. The first server 01 may comprise a network communication unit, a processor, a memory, etc. The first server 02 may provide a background service for the first terminal 01.
In particular, the second server 03 may include a server that operates independently, or a distributed server, or a server cluster that is formed by a plurality of servers. The second server 02 may comprise a network communication unit, a processor, a memory, etc. The second server 03 may provide a background service for the second terminal 04. The first server 02 and the second server 03 can interact with each other.
Specifically, the second terminal 04 may include a smart phone, a tablet computer, a notebook computer, a digital assistant, a smart wearable device, an in-vehicle terminal, or other type of physical device, or may include software running in the physical device, for example, the first terminal 04 may include a second application program.
The above system is merely one exemplary system of the present application, and in this embodiment of the present application, the first application program and the second application program may also be stored in the same terminal.
In the following, the method for bandwidth allocation in a lan based on the above system according to the present application is described, and fig. 2 is a schematic flow chart of bandwidth allocation in a lan according to an embodiment of the present application, where the method operation steps described in the examples or the flow chart are provided in this specification, but more or fewer operation steps may be included based on conventional or non-creative labor. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. When implemented in a real system or server product, the methods illustrated in the embodiments or figures may be performed sequentially or in parallel (e.g., in a parallel processor or multithreaded environment). As shown in fig. 2, the method may include:
S201: a first application program sends local area network address information corresponding to a first application program to a first server corresponding to the first application program; the first application program is an application program with bandwidth sensitivity smaller than a first threshold value;
In the embodiment of the present disclosure, the first server may provide a background service for the first application program; the lan Address information may include the router's MAC Address, MAC Address (MEDIA ACCESS Control Address), also known as lan Address (LAN ADDRESS), ethernet Address (ETHERNET ADDRESS) or physical Address (PHYSICAL ADDRESS), which is an Address used to identify the location of devices on the network.
Specifically, in the embodiment of the present disclosure, different devices in the lan may obtain the MAC address of the router through the API (in the form of 1c: fa:68: b5: e0: 28), and since the MAC addresses of the same router, the MAC addresses corresponding to the different devices are the same; in addition, the MAC address is a hardware address unique worldwide, so that multiple application scenarios of different terminal devices under the same router can be accurately identified by using the router MAC address as an identifier. Among other things, APIs (Application Programming Interface, application programming interfaces) are predefined functions that are designed to provide applications and developers the ability to access a set of routines based on certain software or hardware without having to access source code or understand the details of the internal operating mechanisms.
In the embodiment of the present disclosure, the bandwidth sensitivity may represent the sensitivity degree of the application program to the bandwidth, and in general, the bandwidth sensitivity of the application program with higher real-time requirements is higher, for example, the application program with higher bandwidth sensitivity such as real-time video, real-time game, real-time call, etc. belongs to the application program with higher bandwidth sensitivity; while others have lower bandwidth sensitivity for applications that have relatively low real-time requirements, such as applications that play multimedia files, belong to applications that have lower bandwidth sensitivity.
In the embodiment of the present disclosure, the application with the bandwidth sensitivity smaller than the first threshold refers to an application with lower bandwidth sensitivity, and the first application may include, but is not limited to, a video playing application and an audio playing application.
In this embodiment of the present disclosure, the first threshold may be set according to actual situations.
S203: the first server sends an identification information inquiry request of a second application program in an operating state to a second server, wherein the identification information inquiry request carries the local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value, and the first threshold value is smaller than the second threshold value;
In the embodiment of the present disclosure, the second server may provide a background service for the second application program.
In the embodiment of the present specification, the second application may include a separately existing application and a sub-application included in the separately existing application; an application with a bandwidth sensitivity greater than a second threshold value refers to an application with a higher bandwidth sensitivity, and the second application may include, but is not limited to, a game application, a WeChat video application, and other real-time applications, if the bandwidth is lower, the second application may be blocked, so that user experience is affected; the second application program has high requirement on the ping value, and the ping value refers to the time from the sending of data from the personal computer to the network server to the receiving of the feedback data from the server. Typically in milliseconds. When playing a network game, an operation delay is felt if the ping value is high.
In the embodiment of the present disclosure, the second threshold may be set according to actual situations.
In some embodiments, before the step of the first server sending the identification information query request of the second application program in the running state to the second server, the method may further include:
the first server obtains the address information of the second server carrying the local area network address information;
Correspondingly, the first server sending the identification information query request of the second application program in the running state to the second server includes:
And the first server sends an identification information query request of the second application program in the running state to the second server based on the address information of the second server. Therefore, the first server can send the identification information inquiry request of the second application program in the running state to the second server in the local area network where the first application program is located, and the identification information of the second application program in the running state in the local area network where the first application program is located can be acquired conveniently.
S205: the second server obtains the identification information of the second application program corresponding to the local area network address information based on the identification information inquiry request;
In practical applications, the second server may provide background services for a plurality of application programs, and in this embodiment of the present disclosure, the identifier information query request carries the lan address information, so that the identifier information of the second application program in an operating state corresponding to the lan address information may be obtained.
S207: the second server sends the identification information of the second application program to the first server;
in this embodiment of the present disclosure, the second application is an application in an operating state, where the corresponding lan address information is the same as the lan address information of the first application.
In this embodiment of the present disclosure, the identification information of the second application is a unique identification of the second application, and the identification information of the second application may include, but is not limited to, an icon and a package name of the second application.
S209: the first server determines the priority level of the second application program based on the identification information of the second application program;
in some embodiments, the first server determining the priority level of the second application program based on the identification information of the second application program may include:
S2091: the first server searches a priority level corresponding to the identification information of the second application program from an identification priority level library, wherein the identification priority level library comprises a mapping relation between the identification information of the second application program and the priority level;
In the embodiment of the present disclosure, the identification priority library may include a mapping relationship between identification information of one or more second application programs and priority levels;
in this embodiment of the present disclosure, the step S2091 may further include:
The first server presets an identification priority library comprising the mapping relation between the identification information of the second application program and the priority level.
S2092: the first server takes the priority level corresponding to the identification information of the second application program as the priority level of the second application program, so that the subsequent first application program can quickly carry out bandwidth avoidance.
In the embodiment of the present disclosure, the first server may search the priority level corresponding to the identification information of the second application from the identification priority level library, so as to quickly determine the priority level of the second application.
In this embodiment of the present disclosure, when there are a plurality of priority levels of the second application, that is, there are a plurality of second application, the first server obtains a priority level with a highest level among the plurality of priority levels. The higher the priority level of the second application, the more bandwidth the second application requires.
S2011: the first server sends the priority level of the second application program to the first application program;
In this embodiment of the present disclosure, when the priority levels of the second application program are plural, the priority level of the second application program sent by the first server to the first application program is the highest priority level among the plural priority levels.
S2013: and the first application program executes bandwidth avoidance operation based on the priority level of the second application program.
In some embodiments, the first application performing the bandwidth dodging operation based on the priority level of the second application may include:
The first application program determines a bandwidth avoidance rule corresponding to the priority level of the second application program based on the priority level of the second application program;
In this embodiment of the present disclosure, the first application may preset a mapping relationship between a priority level and a bandwidth avoidance rule, and may adjust the mapping relationship according to an actual situation, so as to implement bandwidth avoidance by the first application according to a bandwidth demand of the second application.
And the first application program executes bandwidth avoidance operation based on the bandwidth avoidance rule.
In this embodiment of the present disclosure, the first application may quickly determine a bandwidth avoidance rule based on the priority level of the second application in operation, so as to implement quick avoidance of bandwidth.
In other embodiments, the first application program is a data uploading and downloading application program, the priority level includes a first priority level, a second priority level, and a third priority level, and performing the bandwidth dodging operation by the first application program based on the priority level of the second application program includes:
The data uploading and downloading application program closes end-to-end uploading based on the first priority of the second application program;
In this embodiment of the present disclosure, when the second application is of a priority level, end-to-end download and local download are started.
The data uploading and downloading application program closes end-to-end uploading and end-to-end downloading based on the second level priority of the second application program;
In the embodiment of the present specification, when the second application program is of a second level priority, only local downloading is started.
The data upload and download application closes end-to-end upload, end-to-end download, and partial local download based on the third-class priority of the second application.
In this embodiment of the present disclosure, closing part of the local download may include only opening the local download that ensures the normal operation of the first application program, and closing other local downloads.
In this embodiment of the present disclosure, the third priority indicates that the second application is the highest priority, and at this time, the end-to-end upload and the end-to-end download are closed, and at the same time, part of the local download is closed, and only part of the local download is opened, so that the second application is avoided to the greatest extent under the condition that the normal operation of the first application is ensured.
In particular, in embodiments of the present description, the peer-to-peer download may include a P2P (peer-to-peer) download, and the local download may include an http (Hyper Text Transfer Protocol, hypertext transfer) download.
Wherein, P2P means that a user's computer can directly connect to other users' computers to exchange files without connecting to a server for browsing and downloading.
In an embodiment of the present disclosure, the method may further include:
The second application program sends running state information and local area network address information of the second application program to the second server, wherein the running state information of the second application program comprises identification information of the second application program. The second server can be enabled to acquire the running state information and the local area network address information of the second application program in the running state.
The following describes a method for allocating bandwidth in a local area network according to an embodiment of the present disclosure in connection with practical applications:
In a home local area network, there are running video APP (Application) and game APP at the same time, because the video APP occupies more uploading and downloading bandwidth in the end-to-end transmission of the video besides local downloading in the video playing process; in this case, due to bandwidth preemption, the running of the video APP may cause a stuck game in the game APP, delayed operation, and thus affect the game experience of the user.
In the embodiment of the specification, the running game APP sends game play information and local area network address information to a second server corresponding to the game APP; the running video APP sends the local area network address information corresponding to the running video APP to a first server corresponding to the video APP; the first server sends an identification information inquiry request of a second application program in an operating state to the second server, wherein the identification information inquiry request carries the local area network address information; the second server obtains the identification information of the second application program corresponding to the local area network address information based on the identification information inquiry request, namely obtains the identification information of the game APP; the second server sends identification information of a game APP to the first server; the first server determines the priority level of the game APP based on the identification information of the game APP; the first server sends the priority level of the game APP to the video APP; and the video APP executes bandwidth avoidance operation based on the priority level of the game APP.
Specifically, when the priority level of the game APP is equal, the video APP closes P2P upload;
when the priority level of the game APP is equal to the second level, the video APP closes P2P uploading and P2P downloading;
When the priority level of the game APP is three, the video APP closes the P2P uploading and the P2P downloading, and simultaneously closes part of the http downloading, and only the necessary http downloading is carried out to ensure the normal playing of the video. The following illustrates how the necessary http download is performed: for example, when a user watches a video for 5min, the user downloads the video for 1min first and then completely stops uploading and downloading, network bandwidth is not used, and when the user sees 50s, the user continues downloading, for example, the video continues downloading for 10s, so that the video playing is kept at a critical point of fast card and no card, and the maximum avoiding bandwidth is realized.
In some embodiments, the second application may include WeChat video/Voice, qq video/Voice.
According to the technical scheme provided by the embodiment of the specification, the first server corresponding to the first application program in the embodiment of the specification obtains the identification information of the second application program which is in the same local area network and in the running state with the first application program by sending the identification information query request of the second application program to the second server, and the first server determines the priority level of the second application program based on the identification information of the second application program, so that the first application program can execute corresponding bandwidth avoidance instructions according to different priority levels.
The following description describes a specific embodiment of a method for allocating bandwidth in a local area network with a first server as an execution body, and fig. 3 is a flowchart of a method for allocating bandwidth in a local area network according to an embodiment of the present application, and specifically, with reference to fig. 3, the method may include:
s301: receiving local area network address information corresponding to a first application program sent by the first application program corresponding to a local server; the first application program is an application program with bandwidth sensitivity smaller than a first threshold value;
in the embodiment of the present disclosure, the first server may provide a background service for the first application program; the local area network address information may include a MAC address of the router.
In the embodiment of the present specification, the first application may include, but is not limited to, a video playing application and an audio playing application.
In this embodiment of the present disclosure, the first threshold may be set according to actual situations.
S303: sending an identification information inquiry request of a second application program in an operating state to a second server, wherein the identification information inquiry request carries the local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value, and the first threshold value is smaller than the second threshold value;
In the embodiment of the present disclosure, the second server may provide a background service for the second application program.
In the embodiment of the present specification, the second application may include a separately existing application and a sub-application included in the separately existing application; the second application may include, but is not limited to, a gaming application, a WeChat video application, etc. applications that are sensitive to network bandwidth.
In the embodiment of the present disclosure, the second threshold may be set according to actual situations.
In an embodiment of the present disclosure, before the step of sending the identification information query request of the second application program in the running state to the second server, the method further includes:
acquiring address information of the second server carrying the local area network address information;
Correspondingly, sending the identification information query request of the second application program in the running state to the second server comprises:
And sending an identification information query request of the second application program in the running state to the second server based on the address information of the second server. Therefore, the first server can send the identification information inquiry request of the second application program in the running state to the second server in the local area network where the first application program is located, and the identification information of the second application program in the running state in the local area network where the first application program is located can be acquired conveniently.
S305: receiving identification information of the second application program sent by the second server;
in this embodiment of the present disclosure, the second application is an application in an operating state, where the corresponding lan address information is the same as the lan address information of the first application.
In this embodiment of the present disclosure, the identification information of the second application is a unique identification of the second application, and the identification information of the second application may include, but is not limited to, an icon and a package name of the second application.
S307: determining a priority level of the second application program based on the identification information of the second application program;
In an embodiment of the present disclosure, the determining, based on the identification information of the second application, the priority level of the second application may include:
searching a priority level corresponding to the identification information of the second application program from an identification priority level library, wherein the identification priority level library comprises a mapping relation between the identification information of the second application program and the priority level;
And taking the priority level corresponding to the identification information of the second application program as the priority level of the second application program.
In the embodiment of the present disclosure, the first server may search the priority level corresponding to the identification information of the second application from the identification priority level library, so as to quickly determine the priority level of the second application.
In this embodiment of the present disclosure, when there are a plurality of priority levels of the second application, that is, there are a plurality of second application, the first server obtains a priority level with a highest level among the plurality of priority levels. The higher the priority level of the second application, the more bandwidth the second application requires.
S309: and sending the priority level of the second application program to the first application program so that the first application program executes bandwidth avoidance operation.
The embodiments of the present disclosure provide a first server for bandwidth allocation in a local area network, where the first server includes a processor and a memory, where at least one instruction, at least one program, a code set, or an instruction set is stored in the memory, where the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement a method for bandwidth allocation in a local area network as described above.
The following description describes a specific embodiment of a method for allocating bandwidth in a local area network with a first application as an execution body, and fig. 4 is a flowchart of a method for allocating bandwidth in a local area network according to an embodiment of the present application, and specifically, with reference to fig. 4, the method may include:
S401: transmitting local area network address information corresponding to a local application program to a first server corresponding to the local application program, so that the first server transmits an identification information query request of a second application program in an operating state to a second server; determining a priority level of the second application program based on the received identification information of the second application program sent by the second server, wherein the identification information inquiry request carries the local area network address information, the local application program is an application program with bandwidth sensitivity smaller than a first threshold value, the second application program is an application program with bandwidth sensitivity larger than a second threshold value, and the first threshold value is smaller than the second threshold value;
in the embodiment of the present disclosure, the first server may provide a background service for a local application program; the local area network address information may include a MAC address of the router.
In the embodiment of the present specification, the first application may include, but is not limited to, a video playing application and an audio playing application.
In this embodiment of the present disclosure, the first threshold may be set according to actual situations.
In the embodiment of the present disclosure, the second server may provide a background service for the second application program. The second application may include a stand-alone application and a sub-application included in the stand-alone application; the second application may include, but is not limited to, a gaming application, a WeChat video application, etc. applications that are sensitive to network bandwidth. The second threshold may be set according to actual conditions.
S403: receiving the priority level of the second application program sent by the first server;
S405: and executing bandwidth avoiding operation based on the priority level of the second application program.
In this embodiment of the present disclosure, the performing, based on the priority level of the second application, a bandwidth dodging operation includes:
Determining a bandwidth avoidance rule corresponding to the priority level of the second application program based on the priority level of the second application program;
and executing bandwidth avoidance operation based on the bandwidth avoidance rule.
In this embodiment of the present disclosure, the first application may quickly determine a bandwidth avoidance rule based on the priority level of the second application in operation, so as to implement quick avoidance of bandwidth.
In this embodiment of the present disclosure, the local application is a data uploading and downloading application, the priority level includes a first priority level, a second priority level, and a third priority level, and performing the bandwidth avoiding operation based on the priority level of the second application may include:
Closing an end-to-end upload based on an first priority of the second application;
In this embodiment of the present disclosure, when the second application is of a priority level, end-to-end download and local download are started.
Closing end-to-end uploading and end-to-end downloading based on the second application's second level of priority;
In the embodiment of the present specification, when the second application program is of a second level priority, only local downloading is started.
Based on the third-class priority of the second application, end-to-end upload, end-to-end download, and partial local download are closed.
In this embodiment of the present disclosure, closing part of the local download may include only opening the local download that ensures the normal operation of the first application program, and closing other local downloads.
In this embodiment of the present disclosure, the third priority indicates that the second application is the highest priority, and at this time, the end-to-end upload and the end-to-end download are closed, and at the same time, part of the local download is closed, and only part of the local download is opened, so that the second application is avoided to the greatest extent under the condition that the normal operation of the first application is ensured.
Specifically, in the embodiment of the present specification, the peer-to-peer downloading may include a P2P downloading, and the local downloading may include an http downloading.
Embodiments of the present disclosure provide a terminal for bandwidth allocation in a local area network, where the terminal includes a first application, and the terminal includes a processor and a memory, where the memory stores at least one instruction, at least one section of program, a code set, or an instruction set, and the at least one instruction, the at least one section of program, the code set, or the instruction set is loaded and executed by the processor to implement a method for bandwidth allocation in a local area network as described above.
The following describes a specific embodiment of a method for bandwidth allocation in a local area network according to the present specification with a second server as an execution subject; fig. 5 is a flowchart of a method for bandwidth allocation in a local area network according to an embodiment of the present application, and specifically, with reference to fig. 5, the method may include:
s501: receiving an identification information inquiry request of a second application program in an operation state sent by a first server, wherein the identification information inquiry request carries local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value; storing the local area network address information corresponding to a first application program in the first server, wherein the first application program corresponds to the first server, the first application program is an application program with bandwidth sensitivity smaller than a first threshold value, and the first threshold value is smaller than a second threshold value;
in the embodiment of the present disclosure, the first server may provide a background service for a local application program; the local area network address information may include a MAC address of the router.
In the embodiment of the present specification, the first application may include, but is not limited to, a video playing application and an audio playing application.
In this embodiment of the present disclosure, the first threshold may be set according to actual situations.
In the embodiment of the present disclosure, the second server may provide a background service for the second application program. The second application may include a stand-alone application and a sub-application included in the stand-alone application; the second application may include, but is not limited to, a gaming application, a WeChat video application, etc. applications that are sensitive to network bandwidth. The second threshold may be set according to actual conditions.
S503: acquiring the identification information of the second application program corresponding to the local area network address information based on the identification information inquiry request;
In practical applications, the second server may provide background services for a plurality of application programs, and in this embodiment of the present disclosure, the identifier information query request carries the lan address information, so that the identifier information of the second application program in an operating state corresponding to the lan address information may be obtained.
In this embodiment of the present disclosure, the identification information of the second application is a unique identification of the second application, and the identification information of the second application may include, but is not limited to, an icon and a package name of the second application.
S505: transmitting identification information of the second application program to the first server so that the first server determines the priority level of the second application program; and sending the priority level of the second application program to the first application program so that the first application program executes bandwidth avoidance operation.
In an embodiment of the present disclosure, the method may further include:
And receiving the running state information and local area network address information of the second application program, which are sent by the second application program, wherein the running state information of the second application program comprises the identification information of the second application program. The second server can be enabled to acquire the running state information and the local area network address information of the second application program in the running state.
The embodiments of the present disclosure provide a second server for bandwidth allocation in a local area network, where the second server includes a processor and a memory, where at least one instruction, at least one program, a code set, or an instruction set is stored in the memory, where the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement a method for bandwidth allocation in a local area network as described above.
In the embodiment of the present specification, the memory may be used to store software programs and modules, and the processor executes the software programs and modules stored in the memory to perform various functional applications and data processing. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for functions, and the like; the storage data area may store data created according to the use of the device, etc. In addition, the memory 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 may also include a memory controller to provide access to the memory by the processor.
The present embodiments provide a computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions loaded and executed by a processor to implement a method for bandwidth allocation within a local area network as described above.
The embodiment of the application also provides a device for distributing bandwidth in the local area network, as shown in fig. 6, the device can include:
The local area network address information receiving module 610 may be configured to receive local area network address information corresponding to a first application program sent by the first application program corresponding to a local server; the first application program is an application program with bandwidth sensitivity smaller than a first threshold value;
the identification information query request sending module 620 may be configured to send an identification information query request of the second application program in an running state to the second server, where the identification information query request carries the lan address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value, and the first threshold value is smaller than the second threshold value;
an identification information receiving module 630, configured to receive identification information of the second application program sent by the second server;
a priority level determining module 640, configured to determine a priority level of the second application program based on the identification information of the second application program;
The priority level sending module 650 may be configured to send the priority level of the second application program to the first application program, so that the first application program performs a bandwidth avoidance operation.
In some embodiments, the priority level determination module 640 may include:
The priority level searching unit can be used for searching the priority level corresponding to the identification information of the second application program from an identification priority level library, wherein the identification priority level library comprises the mapping relation between the identification information of the second application program and the priority level;
the priority level determination unit may be configured to take a priority level corresponding to the identification information of the second application program as the priority level of the second application program.
In some embodiments, the apparatus may further comprise:
the address information acquisition module can be used for acquiring the address information of the second server carrying the local area network address information;
The identification information query request sending module may be further configured to send an identification information query request of a second application program in an operating state to the second server based on address information of the second server.
The device and method embodiments in the device embodiments described are based on the same inventive concept.
The embodiment of the application also provides a device for distributing bandwidth in the local area network, as shown in fig. 7, the device may include:
The local area network address information sending module 710 may be configured to send local area network address information corresponding to a local application to a first server corresponding to the local application, where the local application is an application with a bandwidth sensitivity smaller than a first threshold, so that the first server sends, to a second server, an identifier information query request of a second application in an running state, where the identifier information query request carries the local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value, and the first threshold value is smaller than the second threshold value; and determining a priority level of the second application program based on the received identification information of the second application program sent by the second server;
The priority level receiving module 720 may be configured to receive a priority level of the second application program sent by the first server;
the bandwidth avoidance operation execution module 730 may be configured to execute a bandwidth avoidance operation based on the priority level of the second application.
In some embodiments, the bandwidth dodging operation performing module may include:
The bandwidth avoidance rule determining unit may be configured to determine a bandwidth avoidance rule corresponding to a priority level of the second application program based on the priority level of the second application program;
the bandwidth avoidance execution unit can be used for executing bandwidth avoidance operation based on the bandwidth avoidance rule.
In some embodiments, the local application program is a data uploading and downloading application program, the priority level includes a first priority level, a second priority level and a third priority level, and the bandwidth dodging operation executing module includes:
a first execution unit configured to close an end-to-end upload based on a first priority of the second application;
a second execution unit for closing end-to-end upload and end-to-end download based on the second application's second level of priority;
And the third execution unit is used for closing end-to-end uploading, end-to-end downloading and partial local downloading based on the third-class priority of the second application program.
The device and method embodiments in the device embodiments described are based on the same inventive concept.
The embodiment of the application also provides a device for distributing bandwidth in the local area network, as shown in fig. 8, the device may include:
An identification information query request receiving module 810, configured to receive an identification information query request of a second application program in an running state sent by a first server, where the identification information query request carries local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value; storing the local area network address information corresponding to a first application program in the first server, wherein the first application program corresponds to the first server, the first application program is an application program with bandwidth sensitivity smaller than a first threshold value, and the first threshold value is smaller than a second threshold value;
An identification information obtaining module 820, configured to obtain, based on the identification information query request, identification information of the second application program corresponding to the local area network address information;
An identification information sending module 830, configured to send identification information of the second application program to the first server, so that the first server determines a priority level of the second application program; and sending the priority level of the second application program to the first application program so that the first application program executes bandwidth avoidance operation.
In some embodiments, the apparatus may further comprise:
And the running state information and local area network address information receiving module is used for receiving the running state information and local area network address information of the second application program, which are sent by the second application program, wherein the running state information of the second application program comprises the identification information of the second application program.
The device and method embodiments in the device embodiments described are based on the same inventive concept.
The application also provides a system for bandwidth allocation in a local area network, which comprises a first server, a second server and a first application program,
The first server may be configured to send an identification information query request of a second application program in an running state to a second server, where the identification information query request carries local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value; determining the priority level of the second application program based on the identification information of the second application program sent by the second server; sending the priority level of the second application program to the first application program;
the second server may be configured to obtain, based on the identification information query request, identification information of the second application program corresponding to the local area network address information; and sending identification information of the second application program to the first server;
The first application program can be used for sending the local area network address information corresponding to the first application program to a first server corresponding to the first application program; the first application program is an application program with bandwidth sensitivity smaller than a first threshold value, and the first threshold value is smaller than the second threshold value; and executing the bandwidth avoiding operation based on the priority level of the second application program.
As can be seen from the embodiments of the method, the device, the server, the terminal, the storage medium or the system for allocating bandwidth in the local area network provided by the present application, in the embodiments of the present application, the first server corresponding to the first application program in the embodiments of the present application sends an identification information query request of the second application program to the second server, so as to obtain the identification information of the second application program which is in the same local area network and is in an operating state with the first application program, and the first server determines the priority level of the second application program based on the identification information of the second application program, so that the first application program is convenient to execute corresponding bandwidth avoidance instructions according to different priority levels.
It should be noted that: the sequence of the embodiments of the present application is only for description, and does not represent the advantages and disadvantages of the embodiments. And the foregoing description has been directed to specific embodiments of this specification. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the device and server embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and references to the parts of the description of the method embodiments are only required.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the application is not intended to limit the application to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the application are intended to be included within the scope of the application.

Claims (18)

1. A method for bandwidth allocation in a local area network, the method comprising:
Receiving local area network address information corresponding to a first application program sent by the first application program corresponding to a local server; the first application program is an application program with bandwidth sensitivity smaller than a first threshold value;
sending an identification information inquiry request of a second application program in an operating state to a second server, wherein the identification information inquiry request carries the local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value, and the first threshold value is smaller than the second threshold value;
receiving identification information of the second application program sent by the second server;
determining a priority level of the second application program based on the identification information of the second application program;
Sending the priority level of the second application program to the first application program so that the first application program determines a bandwidth avoidance rule corresponding to the priority level of the second application program based on the priority level of the second application program; and executing bandwidth avoidance operation based on the bandwidth avoidance rule.
2. The method of claim 1, wherein determining the priority level of the second application based on the identification information of the second application comprises:
searching a priority level corresponding to the identification information of the second application program from an identification priority level library, wherein the identification priority level library comprises a mapping relation between the identification information of the second application program and the priority level;
And taking the priority level corresponding to the identification information of the second application program as the priority level of the second application program.
3. The method of claim 1, wherein prior to the step of sending the identification information query request of the second application program in the running state to the second server, the method further comprises:
acquiring address information of the second server carrying the local area network address information;
Correspondingly, sending the identification information query request of the second application program in the running state to the second server comprises:
And sending an identification information query request of the second application program in the running state to the second server based on the address information of the second server.
4. A method for bandwidth allocation in a local area network, the method comprising:
Transmitting local area network address information corresponding to a local application program to a first server corresponding to the local application program, so that the first server transmits an identification information query request of a second application program in an operating state to a second server; and determining a priority level of the second application program based on the received identification information of the second application program sent by the second server; the identification information inquiry request carries the local area network address information, the local application program is an application program with bandwidth sensitivity smaller than a first threshold value, the second application program is an application program with bandwidth sensitivity larger than a second threshold value, and the first threshold value is smaller than the second threshold value;
receiving the priority level of the second application program sent by the first server;
Determining a bandwidth avoidance rule corresponding to the priority level of the second application program based on the priority level of the second application program;
and executing bandwidth avoidance operation based on the bandwidth avoidance rule.
5. The method of claim 4, wherein the local application is a data upload download application, and wherein the priority level comprises a first priority, a second priority, and a third priority, the method further comprising:
Closing an end-to-end upload based on an first priority of the second application;
closing end-to-end uploading and end-to-end downloading based on the second application's second level of priority;
based on the third-class priority of the second application, end-to-end upload, end-to-end download, and partial local download are closed.
6. A method for bandwidth allocation in a local area network, the method comprising:
Receiving an identification information inquiry request of a second application program in an operation state sent by a first server, wherein the identification information inquiry request carries local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value; storing the local area network address information corresponding to a first application program in the first server, wherein the first application program corresponds to the first server, the first application program is an application program with bandwidth sensitivity smaller than a first threshold value, and the first threshold value is smaller than a second threshold value;
acquiring the identification information of the second application program corresponding to the local area network address information based on the identification information inquiry request;
Transmitting identification information of the second application program to the first server so that the first server determines the priority level of the second application program; and sending the priority level of the second application program to the first application program so that the first application program determines a bandwidth avoidance rule corresponding to the priority level of the second application program based on the priority level of the second application program; and executing bandwidth avoidance operation based on the bandwidth avoidance rule.
7. The method of claim 6, wherein the method further comprises:
and receiving the running state information and local area network address information of the second application program, which are sent by the second application program, wherein the running state information of the second application program comprises the identification information of the second application program.
8. An apparatus for bandwidth allocation in a local area network, the apparatus comprising:
the local area network address information receiving module is used for receiving local area network address information corresponding to a first application program sent by the first application program corresponding to a local server; the first application program is an application program with bandwidth sensitivity smaller than a first threshold value;
The identification information inquiry request sending module is used for sending an identification information inquiry request of a second application program in an operating state to a second server, wherein the identification information inquiry request carries the local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value, and the first threshold value is smaller than the second threshold value;
the identification information receiving module is used for receiving the identification information of the second application program sent by the second server;
The priority level determining module is used for determining the priority level of the second application program based on the identification information of the second application program;
The priority sending module is used for sending the priority of the second application program to the first application program so that the first application program determines a bandwidth avoidance rule corresponding to the priority of the second application program based on the priority of the second application program; and executing bandwidth avoidance operation based on the bandwidth avoidance rule.
9. The apparatus of claim 8, wherein the priority level determination module comprises:
a priority level searching unit, configured to search a priority level corresponding to the identification information of the second application program from an identification priority level library, where the identification priority level library includes a mapping relationship between the identification information of the second application program and the priority level;
And the priority level determining unit is used for taking the priority level corresponding to the identification information of the second application program as the priority level of the second application program.
10. The apparatus of claim 8, wherein the apparatus comprises:
the address information acquisition module is used for acquiring the address information of the second server carrying the local area network address information;
The identification information inquiry request sending module is further configured to send an identification information inquiry request of a second application program in an running state to the second server based on address information of the second server.
11. An apparatus for bandwidth allocation in a local area network, the apparatus comprising:
The local area network address information sending module is used for sending local area network address information corresponding to a local application program to a first server corresponding to the local application program, wherein the local application program is an application program with bandwidth sensitivity smaller than a first threshold value, so that the first server sends an identification information inquiry request of a second application program in an operating state to a second server, and the identification information inquiry request carries the local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value, and the first threshold value is smaller than the second threshold value; and determining a priority level of the second application program based on the received identification information of the second application program sent by the second server;
the priority level receiving module is used for receiving the priority level of the second application program sent by the first server;
The bandwidth avoidance operation execution module is used for determining a bandwidth avoidance rule corresponding to the priority level of the second application program based on the priority level of the second application program; and executing bandwidth avoidance operation based on the bandwidth avoidance rule.
12. The apparatus of claim 11, wherein the local application is a data upload and download application, the priority level comprises a first priority, a second priority, and a third priority, and the bandwidth dodging operation execution module comprises:
a first execution unit configured to close an end-to-end upload based on a first priority of the second application;
a second execution unit for closing end-to-end upload and end-to-end download based on the second application's second level of priority;
And the third execution unit is used for closing end-to-end uploading, end-to-end downloading and partial local downloading based on the third-class priority of the second application program.
13. An apparatus for bandwidth allocation in a local area network, the apparatus comprising:
The system comprises an identification information inquiry request receiving module, a first server and a second server, wherein the identification information inquiry request receiving module is used for receiving an identification information inquiry request of a second application program in an operation state sent by the first server, and the identification information inquiry request carries local area network address information; the second application program is an application program with bandwidth sensitivity larger than a second threshold value; storing the local area network address information corresponding to a first application program in the first server, wherein the first application program corresponds to the first server, the first application program is an application program with bandwidth sensitivity smaller than a first threshold value, and the first threshold value is smaller than a second threshold value;
the identification information acquisition module is used for acquiring the identification information of the second application program corresponding to the local area network address information based on the identification information inquiry request;
The identification information sending module is used for sending the identification information of the second application program to the first server so that the first server determines the priority level of the second application program, and sending the priority level of the second application program to the first application program so that the first application program determines a bandwidth avoidance rule corresponding to the priority level of the second application program based on the priority level of the second application program; and executing bandwidth avoidance operation based on the bandwidth avoidance rule.
14. The apparatus of claim 13, wherein the apparatus comprises:
And the running state information and local area network address information receiving module is used for receiving the running state information and local area network address information of the second application program, which are sent by the second application program, wherein the running state information of the second application program comprises the identification information of the second application program.
15. A first server for bandwidth allocation in a local area network, the first server comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, code set or instruction set, the at least one instruction, at least one program, code set or instruction set being loaded and executed by the processor to implement a method for bandwidth allocation in a local area network as claimed in any one of claims 1 to 3.
16. A terminal for bandwidth allocation in a local area network, the terminal comprising an application, the terminal comprising a processor and a memory, the memory storing at least one instruction, at least one program, a set of codes or a set of instructions, the at least one instruction, the at least one program, the set of codes or the set of instructions being loaded and executed by the processor to implement the method for bandwidth allocation in a local area network according to any one of claims 4 to 5.
17. A second server for bandwidth allocation in a local area network, the second server comprising a processor and a memory, the memory storing at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the method for bandwidth allocation in a local area network as claimed in any one of claims 6 to 7.
18. A computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program, the code set, or instruction set being loaded and executed by a processor to implement the method of bandwidth allocation within a local area network of any one of claims 1-3, 4-5, or 6-7.
CN201910349210.4A 2019-04-28 2019-04-28 Method, device, server and terminal for distributing bandwidth in local area network Active CN110401605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910349210.4A CN110401605B (en) 2019-04-28 2019-04-28 Method, device, server and terminal for distributing bandwidth in local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910349210.4A CN110401605B (en) 2019-04-28 2019-04-28 Method, device, server and terminal for distributing bandwidth in local area network

Publications (2)

Publication Number Publication Date
CN110401605A CN110401605A (en) 2019-11-01
CN110401605B true CN110401605B (en) 2024-05-14

Family

ID=68322938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910349210.4A Active CN110401605B (en) 2019-04-28 2019-04-28 Method, device, server and terminal for distributing bandwidth in local area network

Country Status (1)

Country Link
CN (1) CN110401605B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710411B (en) * 2022-04-07 2023-10-31 中国联合网络通信集团有限公司 Bandwidth allocation method, device, gateway and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001891A (en) * 2012-11-16 2013-03-27 杭州顺网科技股份有限公司 Method for promoting integral service quality of local area network
CN103986715A (en) * 2014-05-21 2014-08-13 海信集团有限公司 Network traffic control method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7859998B2 (en) * 2007-06-18 2010-12-28 Sharp Laboratories Of America, Inc. System and method for managing pre-emption of quality of service (QoS) allocations in a network
US10681572B2 (en) * 2017-03-30 2020-06-09 International Business Machines Corporation Dynamic bandwidth analysis for mobile devices

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001891A (en) * 2012-11-16 2013-03-27 杭州顺网科技股份有限公司 Method for promoting integral service quality of local area network
CN103986715A (en) * 2014-05-21 2014-08-13 海信集团有限公司 Network traffic control method and device

Also Published As

Publication number Publication date
CN110401605A (en) 2019-11-01

Similar Documents

Publication Publication Date Title
US10365985B2 (en) Predictive management of on-demand code execution
US9830175B1 (en) Predictive management of on-demand code execution
US9811363B1 (en) Predictive management of on-demand code execution
US10528390B2 (en) Idempotent task execution in on-demand network code execution systems
US10776091B1 (en) Logging endpoint in an on-demand code execution system
KR102541295B1 (en) Operating system customization in an on-demand networked code execution system
US10277708B2 (en) On-demand network code execution with cross-account aliases
US10437629B2 (en) Pre-triggers for code execution environments
US10203990B2 (en) On-demand network code execution with cross-account aliases
US10445140B1 (en) Serializing duration-limited task executions in an on demand code execution system
US10725826B1 (en) Serializing duration-limited task executions in an on demand code execution system
US10884787B1 (en) Execution guarantees in an on-demand network code execution system
US9928108B1 (en) Metaevent handling for on-demand code execution environments
AU2017363366B2 (en) On-demand code execution in a localized device coordinator
CN109478134B (en) Executing on-demand network code with cross-account aliases
US11119813B1 (en) Mapreduce implementation using an on-demand network code execution system
US10318347B1 (en) Virtualized tasks in an on-demand network code execution system
US9823921B2 (en) Selectively hotpatching only a selection of processes of a running instance of an application that match a selection criteria
US9363157B2 (en) Remotely controlling devices and processing asynchronous events for testing
CN110677475A (en) Micro-service processing method, device, equipment and storage medium
CN110401605B (en) Method, device, server and terminal for distributing bandwidth in local area network
CN114296953A (en) Multi-cloud heterogeneous system and task processing method
CN112269586A (en) Application upgrading method and device, storage medium and electronic equipment
US20230164115A1 (en) Api-based ad blocking and traffic management
KR20200137908A (en) Method for managing chatting rooms in portable terminal and apparatus therefore

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