CN114598656B - Load balancing method and system applied to delivery service platform - Google Patents
Load balancing method and system applied to delivery service platform Download PDFInfo
- Publication number
- CN114598656B CN114598656B CN202210495740.1A CN202210495740A CN114598656B CN 114598656 B CN114598656 B CN 114598656B CN 202210495740 A CN202210495740 A CN 202210495740A CN 114598656 B CN114598656 B CN 114598656B
- Authority
- CN
- China
- Prior art keywords
- load
- strategy
- load balancing
- service platform
- delivery service
- 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
Links
- 238000012384 transportation and delivery Methods 0.000 title claims abstract description 78
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000007726 management method Methods 0.000 claims abstract description 41
- 238000012545 processing Methods 0.000 claims abstract description 30
- 238000004364 calculation method Methods 0.000 claims abstract description 21
- 230000001960 triggered effect Effects 0.000 claims abstract description 8
- 238000012544 monitoring process Methods 0.000 claims description 15
- 238000004458 analytical method Methods 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 7
- 230000007246 mechanism Effects 0.000 abstract description 9
- 238000012423 maintenance Methods 0.000 abstract description 7
- 230000006870 function Effects 0.000 description 6
- 238000005259 measurement Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000006872 improvement Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 244000035744 Hura crepitans Species 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000013439 planning Methods 0.000 description 1
- 230000026676 system process Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Abstract
The application discloses a load balancing method and a system applied to a delivery service platform, wherein a central management server is arranged on the delivery service platform, a plurality of load distribution user terminals are established, and a load balancing trigger strategy is configured; triggering a load balancing triggering strategy; after the load balancing triggering strategy is triggered, load balancing is carried out on the data processing requirement of the delivery service platform based on the started virtual computing environment; and the plurality of load distribution user terminals delay to close the virtual computing environment after the task is finished. By the scheme, the calculation load is distributed to the terminal calculation environment to be executed, so that the pressure of the operation and maintenance side server is reduced, the cost consumption is reduced, the service providing capacity and the service data processing efficiency are improved, and the operation mechanism of the delivery service platform is perfected.
Description
Technical Field
The application belongs to the technical field of delivery service, and particularly relates to a load balancing method and system applied to a delivery service platform.
Background
The delivery service platform generally provides various types of services related to cargo delivery business processing for company members, including but not limited to authority management, contract transfer, cargo customs declaration, business tax control, product import and export, spot cargo delivery, warehouse management, market intelligent analysis and the like, platform service items relate to a very wide range, according to historical data statistics, a platform only has one-side annual delivery volume of futures reaching the million level, and the platform function execution times related to the whole delivery flow corresponding to the delivery volume are more huge, for example, one-time delivery service means that a large number of warehouse transfers, contract delivery, product planning, market data prediction and other functions are executed behind, and how to execute various operations of the number is a huge problem for the delivery service platform. In the prior art, a delivery service platform constructs a virtual machine cluster in a server cluster mode, and different virtual machines in the virtual machine cluster cooperate to realize various functions of the delivery service platform according to software and hardware configuration combination conditions. Under special conditions of platform iteration, commercial activity development, social hotspot event outbreak and the like, a delivery service platform can face a large number of temporary client operation requests, and the condition of request loss caused by limited processing capacity can be caused, and finally the loss of clients and platforms is caused.
In the prior art, in order to solve the above problems, a service platform operation and maintenance party usually solves the problem of ultrahigh server load by adding temporary functional servers, increasing the software and hardware configuration of the servers, and shunting operation requests, however, a redundant standby server or a high-end configuration usually means higher capital cost and more complex maintenance cost, and how to handle operation requests with large data volume under a cost-controlled condition is an industrial problem.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a load balancing method and system applied to a delivery service platform.
Specifically, the load balancing method applied to the delivery service platform claimed in the present application includes the steps of:
s100, a central management server is arranged on a delivery service platform, a plurality of load distribution user terminals are built, and a load balancing trigger strategy is configured; the load distribution user terminal is a user terminal with a load distribution module, and a load balancing triggering strategy is configured in the load distribution module; the central management server configures a load balancing exit strategy;
s110, under the condition that a load balancing triggering strategy is triggered, a load distribution module starts a virtual computing environment in a load distribution user terminal background, and informs a central management server of the starting state, and the central management server establishes a starting state table; the virtual computing environment is independent from the local operating system environment of the load distribution user terminal;
s120, the central management server distributes calculation tasks based on the starting state table, transmits task data to a plurality of load distribution user terminals, performs load balancing on data processing requirements of the delivery service platform based on the starting virtual calculation environment, and the distributed task terminals in the plurality of load distribution user terminals provide terminal calculation power;
and S130, the central management server monitors the load balancing exit strategy, responds to the trigger of the load balancing exit strategy, deletes the starting equipment in the starting state table, and informs the plurality of load distribution user terminals to close the virtual computing environment, wherein the plurality of load distribution user terminals delay to close the virtual computing environment after the task is finished.
Wherein, the load shunt trigger strategy is one of the following strategies or a combination thereof: manually triggering a distribution strategy, triggering the distribution strategy based on an event that the attention degree nearby in the internet in a specified range is analyzed by a web crawler and exceeds a threshold value, triggering the distribution strategy based on hot content pushed by a cooperation platform, and triggering the distribution strategy by monitoring that the data request quantity received by a delivery service platform exceeds the threshold value; the load distribution exit strategy is one of the following strategies or a combination thereof: manually quitting the shunting strategy, quitting the shunting strategy based on the fact that the attention degree of the internet which is nearby in the designated range is lower than a threshold value event through network crawler analysis, and quitting the shunting strategy when the data request quantity received by the monitoring delivery service platform is lower than the threshold value;
the virtual computing environment and the local operating system environment of the load distribution user terminal are specifically represented as follows: the virtual computing environment is at least configured to open up an independent fixed storage space in an original storage space of the load sharing user terminal, occupy a fixed-size running memory during running, use a fixed CPU occupancy rate during running, and use a fixed-size transmission bandwidth during running;
the load distribution module is an independent desktop program, or a browser plug-in program, or a service program.
The load distribution user terminal with the load distribution module is provided with a distribution authority account, and the distribution authority account obtains the contribution value of the delivery service platform by taking the configuration condition of the virtual computing environment, the running time of the virtual computing environment and the task processing capacity of the virtual computing environment as measurement.
Further, the load balancing method applied to the delivery service platform claimed in the present application includes:
the port configuration module is used for setting a central management server on the delivery service platform, constructing a plurality of load distribution user terminals and configuring a load balancing trigger strategy; the load distribution user terminal is a user terminal with a load distribution module, and a load balancing triggering strategy is configured in the load distribution module; the central management server configures a load balancing exit strategy;
the load balancing triggering module is used for starting the virtual computing environment at a background of the load shunting user terminal and informing the starting state to the central management server under the condition that the load balancing triggering strategy is triggered, and the central management server establishes a starting state table; the virtual computing environment is independent from the local operating system environment of the load distribution user terminal;
the central management server distributes calculation tasks based on the starting state table, transmits task data to the plurality of load distribution user terminals, performs load balancing on data processing requirements of the delivery service platform based on the starting virtual calculation environment, and the distributed task terminals in the plurality of load distribution user terminals provide terminal calculation power;
and the central management server monitors the load balancing exit strategy, responds to the trigger of the load balancing exit strategy, deletes the starting equipment in the starting state table, and informs the plurality of load distribution user terminals to close the virtual computing environment, wherein the plurality of load distribution user terminals delay to close the virtual computing environment after the task is finished.
Wherein, the load shunt trigger strategy is one of the following strategies or a combination thereof: manually triggering a distribution strategy, triggering the distribution strategy based on an event that the attention degree nearby in the internet in a specified range is analyzed by a web crawler and exceeds a threshold value, triggering the distribution strategy based on hot content pushed by a cooperation platform, and triggering the distribution strategy by monitoring that the data request quantity received by a delivery service platform exceeds the threshold value; the load distribution exit strategy is one of the following strategies or a combination thereof: manually quitting the shunting strategy, quitting the shunting strategy based on the fact that the attention degree of the internet which is nearby in the designated range is lower than a threshold value event through network crawler analysis, and quitting the shunting strategy when the data request quantity received by the monitoring delivery service platform is lower than the threshold value;
the virtual computing environment and the local operating system environment of the load distribution user terminal are specifically represented as follows: the virtual computing environment is at least configured to open up an independent fixed storage space in an original storage space of the load distribution user terminal, occupy a fixed-size running memory during running, use a fixed CPU occupancy rate during running and use a fixed-size transmission bandwidth during running;
the load distribution module is an independent desktop program, or a browser plug-in program, or a service program.
The load distribution user terminal with the load distribution module is provided with a distribution authority account, and the distribution authority account obtains the contribution value of the delivery service platform by taking the configuration condition of the virtual computing environment, the running time of the virtual computing environment and the task processing capacity of the virtual computing environment as measurement.
Firstly, a central management server is arranged on a delivery service platform, a plurality of load distribution user terminals are constructed, and a load balancing trigger strategy is configured; triggering a load balancing triggering strategy; after the load balancing triggering strategy is triggered, load balancing is carried out on the data processing requirement of the delivery service platform based on the started virtual computing environment; and the plurality of load distribution user terminals delay to close the virtual computing environment after the task is finished. Through the technical scheme of the method and the device, (1) a load balancing user terminal triggering strategy and a server quitting strategy which accord with delivery related business rules of a delivery service platform are set, and the calculation load is distributed to a terminal calculation environment to be executed, so that the pressure of an operation and maintenance side server is reduced, the cost consumption is saved, and the service providing capacity and the business data processing efficiency are improved; (2) the scheme that the terminal provides the computing module of the load-balanced virtual computing environment is provided, the specific implementation mode of the computing module responsible for service distribution is provided, an incentive mechanism for the terminal to implement service processing is provided, the improvement of platform processing capacity is further promoted, and the platform mechanism is perfected.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It should be clear that the drawings in the following description are only intended to illustrate some embodiments of the present application, and that for a person skilled in the art, it is possible to derive from these drawings, without inventive effort, technical features, connections or even method steps not mentioned in the other drawings.
Fig. 1 is a flowchart of a load balancing method applied to a delivery service platform according to an embodiment of the present invention;
fig. 2 is a structural diagram of a load balancing method applied to a delivery service platform according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, and "a" and "an" typically include at least two, but do not exclude the presence of at least one.
It should be understood that although the terms first, second, third, etc. may be used to describe XXX in the embodiments of the present application, these XXX should not be limited to these terms. These terms are only used to distinguish XXX from each other. For example, a first XXX may also be referred to as a second XXX, and similarly, a second XXX may also be referred to as a first XXX, without departing from the scope of embodiments of the present application.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a monitoring", depending on the context. Similarly, the phrase "if it is determined" or "if it is monitored (a stated condition or event)" may be interpreted as "when determining" or "in response to determining" or "when monitoring (a stated condition or event)" or "in response to monitoring (a stated condition or event)", depending on the context.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
The first embodiment is as follows: as shown in fig. 1, to solve the problems in the prior art, the present invention provides a load balancing method applied to a delivery service platform, which specifically includes the following steps:
s100, a central management server is arranged on a delivery service platform, a plurality of load distribution user terminals are built, and a load balancing trigger strategy is configured; the load distribution user terminal is a user terminal with a load distribution module. A load balancing triggering strategy is configured in the load shunting module; the central management server configures a load balancing exit strategy;
for example, the delivery service platform is a B/S architecture, the user terminal logs in a website where the server is located, logs in and accesses each function module of the delivery service platform by using the account a, the delivery service platform sends a load distribution configuration request to a user group corresponding to an account meeting requirements, the request may include an online protocol signed by the user, and when the user allows to configure the load distribution module, the server side pushes and installs a plug-in required by the virtual computing environment to a browser where the client side is located. For another example, the delivery service platform is a C/S architecture, the user accesses the platform function through a download platform APP, the delivery service platform sends a load distribution configuration request to a user group corresponding to a satisfactory account, the server side pushes and installs a platform APP plug-in required by the virtual computing environment to the client, or the server pushes an independent virtual computing environment application program to the client. Besides the above situation, the load splitting module may also be a background service program or the like.
The load splitting module includes a plurality of load splitting trigger strategies or a combination thereof, specifically, the following strategies: 1, manually triggering a shunting strategy: when a server administrator or maintenance personnel manually triggers load distribution, executing a subsequent distribution step; 2, setting a simple search engine, performing crawler analysis on internet data, for example, analyzing financial related events occurring in the north China in the near day, and if the access amount of a user to the events exceeds a set threshold number, such as a million clicks, clicking based on an analysis result, and executing a subsequent shunting step; receiving hot spot finance related events pushed by the cooperation platform, and determining whether to execute a subsequent shunting step or not according to a plurality of analysis dimensions, such as transfer capacity and click rate, of the cooperation platform on the hot spot events; and 4, monitoring the data request quantity received by the delivery service platform, and executing a subsequent shunting step if the function execution requests received by the delivery service platform exceed the threshold quantity. Correspondingly, the load splitting exit strategy is one of the following strategies or a combination thereof: manually quitting the shunting strategy, quitting the shunting strategy based on the fact that the attention degree of the internet which is nearby in the designated range is lower than a threshold value event through network crawler analysis, and quitting the shunting strategy when the data request quantity received by the monitoring delivery service platform is lower than the threshold value;
s110, under the condition that a load balancing triggering strategy is triggered, a load distribution module starts a virtual computing environment in a load distribution user terminal background, and informs a central management server of the starting state, and the central management server establishes a starting state table; the virtual computing environment is independent from the local operating system environment of the load distribution user terminal;
the load distribution module where the virtual computing environment is located can realize that the environments are mutually independent based on a sandbox mechanism under the condition of a browser plug-in, specifically, the plug-in can be a Figma plug-in, the virtual computing environment is isolated from a running system process, the virtual computing environment is used for executing a distribution task, the distribution task is an independent execution environment, and the running of an external program cannot be influenced by the execution of an internal program. For another example, when the load sharing module where the virtual computing environment is located is a background service program, it is ensured that the variable data accessed by the background service program is only the internal variable data of the background service program, and the variable data is not acquired from the system global, and the address content accessed by the background service program is a fixed address in the range of the storage address allocated to the background service program. In addition, the mutual independence of the environments can be realized through an agent mechanism, an isolated program running context environment is constructed through an agent module, an access request in the program is intercepted, and corresponding processing is carried out in an agent mode.
Further, to ensure that the virtual computing environment is independent of the local operating system environment of the load sharing user terminal, the virtual computing environment is at least configured to open up an independent fixed storage space in the original storage space of the load sharing user terminal, occupy a fixed size of the operating memory during operation, use a fixed CPU occupancy rate during operation, and use a transmission bandwidth of a certain size during execution. The allocation of the fixed resources can be dynamically implemented based on the device configuration situation, for example, when the Figma load splitting plug-in is instantiated, the memory space and the storage space are applied according to one percent of the resource proportion, and the CPU utilization rate and the occupied bandwidth are monitored and limited during the calculation when the plug-in runs, so that the plug-in cannot affect the execution of other local programs, and the safety of the executed data is also ensured. Similarly, the allocation of the fixed resources may be performed based on the characteristics of the devices, for example, some devices have better performance of display cards and CPUs, and tasks such as big data analysis and parallel computation have higher processing efficiency, so that more computing resources may be allocated to the plug-ins; some devices have large storage space, excellent transmission module performance and large bandwidth, and have high execution efficiency on tasks such as data exchange and data storage, and more storage resources can be allocated to the plug-in.
S120, the central management server distributes calculation tasks based on the starting state table, transmits task data to a plurality of load distribution user terminals, performs load balancing on data processing requirements of the delivery service platform based on the starting virtual calculation environment, and the distributed task terminals in the plurality of load distribution user terminals provide terminal calculation power;
and traversing the equipment terminals in the starting state table by the central management server, splitting the task in a fine granularity mode, encrypting the task data and then sending the encrypted task data to each equipment terminal, wherein the encryption mode can be symmetric encryption, asymmetric encryption and the like. After receiving the encrypted task data, the virtual computing environment performs task processing based on task requirements, where the task may be, but is not limited to: caching user requests, printing a time stamp on each request data, encrypting and transmitting an integral request to a server when the caching quantity reaches a threshold value, and processing the requests one by the server based on the time stamps; 2, acquiring historical data for analysis based on a server, analyzing and predicting the near transaction amount, and displaying the near transaction amount to a requesting user; and 3, storing the overflow data of the less important server. The task is a better task condition, and besides the task, various different types of tasks can be executed according to requirements.
And S130, the central management server monitors the load balancing exit strategy, responds to the trigger of the load balancing exit strategy, deletes the starting equipment in the starting state table, and informs the plurality of load distribution user terminals to close the virtual computing environment, wherein the plurality of load distribution user terminals delay to close the virtual computing environment after the task is finished.
The load distribution user terminal with the load distribution module is provided with a distribution authority account, and the distribution authority account obtains the contribution value of the delivery service platform by taking the configuration condition of the virtual computing environment, the running time of the virtual computing environment and the task processing capacity of the virtual computing environment as measurement.
Example two: referring to fig. 2, the present application provides a load balancing method applied to a delivery service platform, including:
the port configuration module is used for setting a central management server on the delivery service platform, constructing a plurality of load distribution user terminals and configuring a load balancing trigger strategy; the load distribution user terminal is a user terminal with a load distribution module, and a load balancing triggering strategy is configured in the load distribution module; the central management server configures a load balancing exit strategy;
the load balancing triggering module is used for starting the virtual computing environment at a background of the load shunting user terminal and informing the starting state to the central management server under the condition that the load balancing triggering strategy is triggered, and the central management server establishes a starting state table; the virtual computing environment is independent from the local operating system environment of the load distribution user terminal;
the central management server distributes calculation tasks based on the starting state table, transmits task data to the plurality of load distribution user terminals, performs load balancing on data processing requirements of the delivery service platform based on the starting virtual calculation environment, and the distributed task terminals in the plurality of load distribution user terminals provide terminal calculation power;
and the central management server monitors the load balancing exit strategy, responds to the triggering of the load balancing exit strategy, deletes the starting equipment in the starting state table, and informs the plurality of load distribution user terminals to close the virtual computing environment, wherein the plurality of load distribution user terminals delay to close the virtual computing environment after the task is finished.
Wherein, the load shunt trigger strategy is one of the following strategies or a combination thereof: manually triggering a distribution strategy, triggering the distribution strategy based on an event that the attention degree nearby in the internet in a specified range is analyzed by a web crawler and exceeds a threshold value, triggering the distribution strategy based on hot content pushed by a cooperation platform, and triggering the distribution strategy by monitoring that the data request quantity received by a delivery service platform exceeds the threshold value; the load distribution exit strategy is one of the following strategies or a combination thereof: manually quitting the shunting strategy, quitting the shunting strategy based on the fact that the attention degree of the internet which is nearby in the designated range is lower than a threshold value event through network crawler analysis, and quitting the shunting strategy when the data request quantity received by the monitoring delivery service platform is lower than the threshold value;
the virtual computing environment and the local operating system environment of the load distribution user terminal are specifically represented as follows: the virtual computing environment is at least configured to open up an independent fixed storage space in an original storage space of the load distribution user terminal, occupy a fixed-size running memory during running, use a fixed CPU occupancy rate during running and use a fixed-size transmission bandwidth during running;
the load distribution module is an independent desktop program, or a browser plug-in program, or a service program.
The load distribution user terminal with the load distribution module is provided with a distribution authority account, and the distribution authority account obtains the contribution value of the delivery service platform by taking the configuration condition of the virtual computing environment, the running time of the virtual computing environment and the task processing capacity of the virtual computing environment as measurement.
According to the technical scheme of the method and the device, the load balancing user terminal triggering strategy and the server quitting strategy which accord with the delivery related business rule of the delivery service platform are set, and the calculation load is distributed to the terminal calculation environment to be executed, so that the pressure of an operation and maintenance side server is reduced, the cost consumption is saved, and the service providing capacity and the business data processing efficiency are improved; (2) the scheme that the terminal provides the computing module of the load-balanced virtual computing environment is provided, the specific implementation mode of the computing module responsible for service distribution is provided, an incentive mechanism for the terminal to implement service processing is provided, the improvement of platform processing capacity is further promoted, and the platform mechanism is perfected.
According to the technical scheme of the method and the device, the load balancing user terminal triggering strategy and the server quitting strategy which accord with the delivery related business rule of the delivery service platform are set, and the calculation load is distributed to the terminal calculation environment to be executed, so that the pressure of an operation and maintenance side server is reduced, the cost consumption is saved, and the service providing capacity and the business data processing efficiency are improved; (2) the scheme that the terminal provides the computing module of the load-balanced virtual computing environment is provided, the specific implementation mode of the computing module responsible for service distribution is provided, an incentive mechanism for the terminal to implement service processing is provided, the improvement of platform processing capacity is further promoted, and the platform mechanism is perfected.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
The foregoing description shows and describes several preferred embodiments of the invention, but as aforementioned, it is to be understood that the invention is not limited to the forms disclosed herein, but is not to be construed as excluding other embodiments and is capable of use in various other combinations, modifications, and environments and is capable of changes within the scope of the inventive concept as expressed herein, commensurate with the above teachings, or the skill or knowledge of the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (8)
1. The load balancing method applied to the delivery service platform is characterized by comprising the following steps:
s100, a central management server is arranged on a delivery service platform, a plurality of load distribution user terminals are built, and a load balancing trigger strategy is configured; the load distribution user terminal is a user terminal with a load distribution module, and a load balancing triggering strategy is configured in the load distribution module; the central management server configures a load balancing exit strategy;
s110, under the condition that a load balancing triggering strategy is triggered, a load distribution module starts a virtual computing environment in a load distribution user terminal background, and informs a central management server of the starting state, and the central management server establishes a starting state table; the virtual computing environment is independent from the local operating system environment of the load distribution user terminal;
s120, the central management server distributes calculation tasks based on the starting state table, transmits task data to a plurality of load distribution user terminals, performs load balancing on data processing requirements of the delivery service platform based on the started virtual calculation environment, and distributed task terminals in the plurality of load distribution user terminals provide terminal calculation power;
s130, the central management server monitors a load balancing exit strategy, responds to the triggering of the load balancing exit strategy, deletes the starting equipment in the starting state table, and informs a plurality of load distribution user terminals to close the virtual computing environment, and the plurality of load distribution user terminals delay to close the virtual computing environment after the task is finished;
the virtual computing environment and the local operating system environment of the load sharing user terminal are specifically represented as follows: the virtual computing environment is at least configured to open up an independent fixed storage space in an original storage space of the load sharing user terminal, occupy a fixed-size running memory during running, use a fixed CPU occupancy rate during running, and use a fixed-size transmission bandwidth during running; the allocation of fixed resources is based on device characteristics.
2. The load balancing method applied to the delivery service platform according to claim 1, wherein the load offloading trigger policy is one or a combination of the following policies: manually triggering a distribution strategy, triggering the distribution strategy based on an event that the attention degree nearby in the internet in a specified range is analyzed by a web crawler and exceeds a threshold value, triggering the distribution strategy based on hot content pushed by a cooperation platform, and triggering the distribution strategy by monitoring that the data request quantity received by a delivery service platform exceeds the threshold value; the load distribution exit strategy is one of the following strategies or a combination thereof: the method comprises the steps of manually exiting the shunting strategy, exiting the shunting strategy based on the fact that the attention degree of the internet which is about to occur in the designated range is lower than a threshold value through network crawler analysis, and exiting the shunting strategy when the data request quantity received by the monitoring delivery service platform is lower than the threshold value.
3. The method as claimed in claim 1, wherein the load distribution module is a separate desktop program, a browser plug-in program, or a service program.
4. The load balancing method applied to the delivery service platform as claimed in any one of claims 1 to 3, wherein the load offloading user terminal deploying the load offloading module has an offloading authority account, and the offloading authority account obtains the contribution value of the delivery service platform by taking the configuration condition of the virtual computing environment, the running time of the virtual computing environment, and the task processing amount of the virtual computing environment as measures.
5. Load balancing system for delivery service platform, its characterized in that includes:
the port configuration module is used for setting a central management server on the delivery service platform, constructing a plurality of load distribution user terminals and configuring a load balancing trigger strategy; the load distribution user terminal is a user terminal with a load distribution module, and a load balancing triggering strategy is configured in the load distribution module; the central management server configures a load balancing exit strategy;
the load balancing triggering module is used for starting the virtual computing environment at a background of the load shunting user terminal and informing the starting state to the central management server under the condition that the load balancing triggering strategy is triggered, and the central management server establishes a starting state table; the virtual computing environment is independent from the local operating system environment of the load distribution user terminal;
the central management server distributes calculation tasks based on the starting state table, transmits task data to the plurality of load distribution user terminals, performs load balancing on data processing requirements of the delivery service platform based on the starting virtual calculation environment, and the distributed task terminals in the plurality of load distribution user terminals provide terminal calculation power;
the central management server monitors a load balancing exit strategy, responds to the triggering of the load balancing exit strategy, deletes the starting equipment in the starting state table, and informs the plurality of load distribution user terminals to close the virtual computing environment, and the plurality of load distribution user terminals delay to close the virtual computing environment after the task is finished;
the virtual computing environment and the local operating system environment of the load distribution user terminal are specifically represented as follows: the virtual computing environment is at least configured to open up an independent fixed storage space in an original storage space of the load distribution user terminal, occupy a fixed-size running memory during running, use a fixed CPU occupancy rate during running and use a fixed-size transmission bandwidth during running; the allocation of fixed resources is based on device characteristics.
6. The load balancing system applied to the delivery service platform as claimed in claim 5, wherein the load offloading trigger policy is one or a combination of the following policies: manually triggering a distribution strategy, triggering the distribution strategy based on an event that the attention degree nearby in the internet in a specified range is analyzed by a web crawler and exceeds a threshold value, triggering the distribution strategy based on hot content pushed by a cooperation platform, and triggering the distribution strategy by monitoring that the data request quantity received by a delivery service platform exceeds the threshold value; the load distribution exit strategy is one of the following strategies or a combination thereof: the method comprises the steps of manually exiting the shunting strategy, exiting the shunting strategy based on the fact that the attention degree of the internet which is about to occur in the designated range is lower than a threshold value through network crawler analysis, and exiting the shunting strategy when the data request quantity received by the monitoring delivery service platform is lower than the threshold value.
7. The load balancing system applied to the delivery service platform as claimed in claim 5, wherein the load distribution module is a stand-alone desktop program, a browser plug-in program, or a service program.
8. The load balancing system applied to the delivery service platform according to any one of claims 5 to 7, wherein the load splitting user terminal deploying the load splitting module has a splitting authority account, and the splitting authority account obtains the contribution value of the delivery service platform by taking the configuration condition of the virtual computing environment, the running time of the virtual computing environment, and the task processing amount of the virtual computing environment as measures.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210495740.1A CN114598656B (en) | 2022-05-09 | 2022-05-09 | Load balancing method and system applied to delivery service platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210495740.1A CN114598656B (en) | 2022-05-09 | 2022-05-09 | Load balancing method and system applied to delivery service platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114598656A CN114598656A (en) | 2022-06-07 |
CN114598656B true CN114598656B (en) | 2022-07-29 |
Family
ID=81813363
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210495740.1A Active CN114598656B (en) | 2022-05-09 | 2022-05-09 | Load balancing method and system applied to delivery service platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114598656B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117742843A (en) * | 2024-02-20 | 2024-03-22 | 张家港保税数据科技有限公司 | Method and system for generating delivery service business form |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112954012A (en) * | 2021-01-27 | 2021-06-11 | 北京计算机技术及应用研究所 | Cloud task scheduling method based on improved simulated annealing algorithm of load |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9231886B2 (en) * | 2005-03-16 | 2016-01-05 | Adaptive Computing Enterprises, Inc. | Simple integration of an on-demand compute environment |
CN104023068B (en) * | 2014-06-13 | 2017-12-15 | 北京信诺瑞得软件系统有限公司 | A kind of method that Passive Mode elastic calculation scheduling of resource is realized in load balancing |
CN105262839B (en) * | 2015-11-03 | 2019-03-05 | 国云科技股份有限公司 | The remote entry method of designated terminal under a kind of load-sharing mode |
CN107135250A (en) * | 2017-04-13 | 2017-09-05 | 华北水利水电大学 | A kind of SiteServer LBS and mechanism towards cloud computing |
US11157505B2 (en) * | 2017-10-18 | 2021-10-26 | Comake, Inc. | Dynamic presentation of searchable contextual actions and data |
-
2022
- 2022-05-09 CN CN202210495740.1A patent/CN114598656B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112954012A (en) * | 2021-01-27 | 2021-06-11 | 北京计算机技术及应用研究所 | Cloud task scheduling method based on improved simulated annealing algorithm of load |
Also Published As
Publication number | Publication date |
---|---|
CN114598656A (en) | 2022-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10812409B2 (en) | Network multi-tenancy for cloud based enterprise resource planning solutions | |
US10447594B2 (en) | Ensuring predictable and quantifiable networking performance | |
US7523454B2 (en) | Apparatus and method for routing a transaction to a partitioned server | |
US10158541B2 (en) | Group server performance correction via actions to server subset | |
US8190593B1 (en) | Dynamic request throttling | |
US9781012B2 (en) | Behavior monitoring and compliance for multi-tenant resources | |
US20150278066A1 (en) | Cloud computing benchmarking | |
US10868773B2 (en) | Distributed multi-tenant network real-time model for cloud based enterprise resource planning solutions | |
US20140304713A1 (en) | Method and apparatus for distributed processing tasks | |
Adhikary et al. | Quality of service aware cloud resource provisioning for social multimedia services and applications | |
Han et al. | Analysing virtual machine usage in cloud computing | |
CN112579304A (en) | Resource scheduling method, device, equipment and medium based on distributed platform | |
CN114598656B (en) | Load balancing method and system applied to delivery service platform | |
Qu et al. | Mitigating impact of short‐term overload on multi‐cloud web applications through geographical load balancing | |
Sousa et al. | Predictive elastic replication for multi‐tenant databases in the cloud | |
US10310932B2 (en) | Using a concentration risk of a computing resource to define affinity and anti-affinity workloads | |
Mazzucco et al. | Squeezing out the cloud via profit-maximizing resource allocation policies | |
CN105357239A (en) | Method and device for providing service, and method and device for acquiring service | |
CN113315825A (en) | Distributed request processing method, device, equipment and storage medium | |
CN111343290A (en) | Cloud platform system with load balancing function | |
Lin et al. | Resource allocation in cloud virtual machines based on empirical service traces | |
CN112363831B (en) | Wind control processing method and device, computer equipment and storage medium | |
US11886932B1 (en) | Managing resource instances | |
Lee et al. | Development of an optimal load balancing algorithm based on ANFIS modeling for the clustering web-server | |
KR102429840B1 (en) | Private cloud computing security customized recommendation system |
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 | ||
CP03 | Change of name, title or address |
Address after: Room 219, petrochemical trading building, Zhangjiagang Free Trade Zone, Suzhou, Jiangsu 215600 Patentee after: Zhangjiagang Bonded Data Technology Co.,Ltd. Country or region after: China Address before: Room 219, petrochemical trading building, Zhangjiagang Free Trade Zone, Suzhou, Jiangsu 215600 Patentee before: Zhangjiagang Bonded Technology Group Electronic Commerce Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |