WO2011075899A1 - Method, apparatus and system for implementing multiple web application requests scheduling - Google Patents

Method, apparatus and system for implementing multiple web application requests scheduling Download PDF

Info

Publication number
WO2011075899A1
WO2011075899A1 PCT/CN2009/075977 CN2009075977W WO2011075899A1 WO 2011075899 A1 WO2011075899 A1 WO 2011075899A1 CN 2009075977 W CN2009075977 W CN 2009075977W WO 2011075899 A1 WO2011075899 A1 WO 2011075899A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
web server
web
domain name
load balancing
Prior art date
Application number
PCT/CN2009/075977
Other languages
French (fr)
Chinese (zh)
Inventor
陈普
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN200980118720.5A priority Critical patent/CN102217247B/en
Priority to PCT/CN2009/075977 priority patent/WO2011075899A1/en
Publication of WO2011075899A1 publication Critical patent/WO2011075899A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, device, and system for implementing multi-web application request scheduling.
  • the user terminal side mainly refers to a user browser such as IE, Fi refox, and the like.
  • the server side includes: Doma in Name Server (DNS), Load Balance Server (LBS), Web Server (Web Server).
  • DNS Domain Name Server
  • LBS Load Balance Server
  • Web Server Web Server
  • the ⁇ S is configured to receive a DNS request of the user browser, select an LBS server according to a specific algorithm, and return an IP address of the selected LBS server to the user browser.
  • the LBS server is configured to receive an HTTP request of the user browser, select a web server for the user browser according to a specific algorithm, and forward the HTTP request to the web server.
  • the web server is configured to process an HTTP request of the user browser, and return an HTTP processing response to the user browser after the processing is completed.
  • the specific algorithm includes: a Round Robin Scheduling algorithm, a Weighing Round-Robin Scheduling algorithm, and a source address dispersion.
  • Source Hashing Scheduling algorithm dynamic feedback load balancing algorithm, etc.
  • the embodiment of the invention provides a method, a device and a system for implementing multi-web application request scheduling, which can simultaneously process application requests of a large number of web sites.
  • a method for implementing multi-web application request scheduling including:
  • An apparatus for implementing multi-web application request scheduling includes:
  • a first request receiving unit configured to receive a domain name resolution request sent by the domain name server, and a first allocation unit, configured to allocate at least one load balancing server to the domain name server according to the domain name resolution request;
  • a second request receiving unit configured to receive an allocation web server process request sent by a load balancing server served by the domain name server;
  • a second allocation unit configured to allocate, according to the allocating a web server process request, at least one web server process to the load balancing server, so that the load balancing server can send an HTTP request of the user terminal to the web server process.
  • a system for implementing multi-web application request scheduling comprising: a domain name server, a management control unit, at least one load balancing server, and at least one web server;
  • the domain name server is configured to send a domain name resolution request to the management control unit, and determine, from the load balancing server allocated by the management control unit, a load balancing server served thereto; a management control unit, configured to allocate at least one load balancing server to the domain name server according to the domain name resolution request of the domain name server; receive an allocation web server process request sent by the load balancing server serving the domain name server, for the load
  • the equalization server allocates at least one web server process
  • the load balancing server is configured to select a web server process from the web server process allocated by the management control unit, and send the HTTP request of the user terminal to the selected web server process;
  • the web server is configured to process an HTTP request of the user terminal.
  • the management control unit performs scheduling management on the load balancing server according to the domain name resolution request of the domain name server, that is, from multiple load balancing servers.
  • the domain name server selects a load balancing server capable of serving the domain name server; at the same time, the management control unit performs scheduling management on the web server process according to the request of the web server process of the load balancing server selected by the domain name server, That is, a web server process capable of processing an HTTP request of the user terminal is selected for the load balancing server from a plurality of web server processes. Therefore, with the embodiment of the present invention, it is not necessary to manually configure the correspondence between the domain name requested by the user terminal and the Web server on the load balancing server, so that the application requests of a large number of Web sites can be simultaneously processed.
  • FIG. 1 is a flowchart of a method for implementing multi-web application request scheduling according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an apparatus for implementing multi-web application request scheduling according to an embodiment of the present invention
  • FIG. 3 is a first structural diagram of an apparatus for implementing multi-web application request scheduling according to an embodiment of the present invention
  • FIG. 4 is a second structural diagram of an apparatus for implementing multi-web application request scheduling according to an embodiment of the present invention
  • FIG. 5 is a third structural diagram of an apparatus for implementing multi-web application request scheduling according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a system for implementing multi-web application request scheduling according to an embodiment of the present invention.
  • the concept of "massive” refers to 10,000, 100,000 or even more.
  • the embodiments of the present invention can also be applied to the prior art scenarios to achieve better results.
  • the method for implementing multi-Web application request scheduling in the embodiment of the present invention includes the following steps:
  • the management control unit receives the domain name resolution request (DNS request) sent by the domain name server.
  • DNS request domain name resolution request
  • the domain name requested by the user terminal may be carried in the DNS request to facilitate the domain name resolution by the management control unit.
  • IP address information of the active address may be further included in the ⁇ S request, so that the domain name server determines the user terminal to which the domain name resolution request is sent.
  • Step 12 The management control unit allocates at least one load balancing server to the domain name server according to the domain name resolution request.
  • the number of load balancing servers may be 100 or more.
  • the management control unit can actively monitor the load data and the running status of each load balancing server in real time according to the information reported by each load balancing server, and then select a load balancing server capable of providing services for the domain name server.
  • the load data may include CPU usage, memory usage, bandwidth usage, and the like of each load balancing server.
  • the management control unit may select according to a load balancing algorithm. For example, the management control unit may select at least one load balancing server with the lowest load according to the load condition of each load balancing server in the system, and set the IP address of the load balancing server. And the load information is stored in the load balancing server list, and then the load balancing server list is sent to the domain name server, so that the domain name server selects the load balancing server according to the load information of each load balancing server.
  • the load information may include a weight of the selected load balancing server.
  • the domain name server may directly select the load balancing server according to the weight.
  • the load information may include a load condition of the selected load balancing server.
  • the domain name server calculates the weight of each load balancing server according to the load condition, and then selects the load balancing server according to the weight.
  • the load information may also include the weight and load of the load balancing server selected by the management control unit, and the domain name server may still directly select the load balancing server according to the weight.
  • the domain name server queries the management control unit for information about the load balancing server that can be provided to the service, and the domain name server may also save the load balancing server. List.
  • the management control unit may further parse the domain name requested by the user terminal after receiving the domain name resolution request. Since the mapping between the domain name requested by the user terminal and the web server needs to be cached on the load balancing server, after the management control unit parses a certain domain name A requested by the user terminal, when the user terminal requests the same domain name again, The mapping between the domain name A and the web server has been previously cached. Therefore, after the management control unit parses the domain name A again, the load balancing server can no longer cache the correspondence between the domain name A and the web server. relationship. Therefore, this eliminates the need to store a large number of domain names and Web server correspondences on the load balancing server, thereby saving storage space.
  • Step 1 3 The management control unit receives an allocation web server process request sent by a load balancing server served by the domain name server.
  • the load balancing server selected by the domain name server After receiving the HTTP request from the user terminal, the load balancing server selected by the domain name server analyzes the URL in the HTTP request (Un i form Res ource Loca tor , unified resource setting) The bit) information, and the actual domain name requested by the user terminal is obtained according to the HOST information in the URL (the Hos t header information of the H ttp protocol). Then, the load balancing server sends the actual domain name to the management control unit in the request of the distribution web server process.
  • Step 14 The management control unit allocates at least one web server process to the load balancing server according to the request for allocating a web server process, so that the load balancing server sends an HTTP request of the user terminal to the web server. process.
  • the domain name is an identifier of the Web site, and a domain name can only uniquely correspond to one Web site. Therefore, after receiving the request of the Web server process, the management control unit may first use the actual The domain name is an index, and the Web site information corresponding to the actual domain name requested by the user terminal in the request for allocating the Web server process is obtained according to the correspondence between the domain name and the Web site information stored in the management control unit. Then, based on the Web site information, it is determined whether there is a Web server process serving the Web site.
  • the management control unit allocates at least one web server process to the domain name server according to the corresponding relationship between the stored web server process and the web site.
  • the management control unit re-allocates at least one web server process to the web site.
  • the management control unit may select, by all the web server host systems in the system, a web server host system with the lowest load and the number of available web server processes is not zero, and request the web server host system to allocate the web site. Web server process.
  • each web server host system may have multiple (100 or more) web server processes running therein.
  • Each web server process listens on a different port.
  • Each load balancing server forwards the HTTP request of the user terminal for each web server process. Therefore, each web server process can be uniquely identified by simply obtaining the IP address of the web server host system and the port number of the internal web server process.
  • the management control unit allocates a web server to the selected load balancing server.
  • the process of providing the IP address of the web server host system capable of serving the selected load balancing server and the port number of the internal web server process to the load balancing server selected by the domain name server provides a service.
  • the management control unit may allocate one or more web server processes to the selected load balancing server
  • the load balancing server selected by the domain name server may select a web server process according to a load balancing algorithm. Then, the selected load balancing server may forward the HTTP request of the user terminal to the HTTP address, the CGI (Common Gateway Interface), or other manner according to the IP address of the selected Web server host system and the port number of the internal Web server process. Web server process.
  • CGI Common Gateway Interface
  • the management control unit performs scheduling management on the load balancing server according to the domain name resolution request of the domain name server, that is, from multiple load balancing servers. Selecting, for the domain name server, a load balancing server capable of serving the domain name server; and simultaneously scheduling, by the management control unit, the web server process according to the request of the web server process of the load balancing server selected by the domain name server Management, that is, selecting a web server process capable of processing an HTTP request of the user terminal for the load balancing server from a plurality of web server processes. Therefore, with the embodiment of the present invention, it is not necessary to manually configure the correspondence between the domain name requested by the user terminal and the Web server on the load balancing server, so that the application requests of a large number of Web sites can be simultaneously processed.
  • the management control unit can also perform the following processing while processing an application request of a large number of Web sites:
  • the management scheduling unit will start more (a certain number) of load balancing servers. If the total load of all load balancing servers is low (eg, the overall load is less than 40%), the management scheduling unit will stop a certain number of load balancing servers.
  • the specific implementation manner may be: when the load balancing server is insufficient, the management scheduling unit allocates the load balancing server as the load balancing server to be allocated to the domain name server when the load balancing server is allocated to the domain name server; At the time of the server, when the management scheduling unit allocates the load balancing server for the domain name server, the domain name server will not be allocated the load balancing that is to be stopped.
  • the management scheduling unit allocates the load balancing server for the domain name server, the domain name server will not be allocated the load balancing that is to be stopped.
  • some load balancing servers do not process HTTP requests for a long time, to determine that these load balancing services require a stop, they can be stopped by shutting down, etc.
  • the IP address of the load balancing device that needs to be stopped may be allocated by the management control unit to other load balancing servers.
  • the management control unit allocates, it generally selects a load balancing server with a lower load for allocation. In this way, the user terminal can be prevented from continuously sending HTTP requests to the load balancing server that has stopped.
  • the management scheduling unit calculates the overall load level after counting the load of each web server host system. If the overall load exceeds the set maximum value, the management dispatch unit will launch one or more new web server host systems. If the overall load is below the set minimum value, the management scheduling unit stops one or more web server host systems that control the low load, and transfers the web server processes running on these web server host systems to other web server host systems. .
  • the mode of transfer may be: for all Web server processes serving the Web site on the Web server host system that need to be stopped, the management control unit will start a new Web server process on other Web server host systems, and start a new one. The number of web server processes is the same as the web server process that needs to be stopped.
  • the new Web server process that is started will serve the Web site served by the Web server process that needs to be stopped. Then, the management control unit sets all the web server processes on the web server host system that need to be stopped to not receive the new request state. If the web server host systems that need to be stopped are not processed by the web request for a period of time, such as 1 minute, the web server host system can be shut down, such as shutdown, standby, and the like.
  • the management control unit can also control the life cycle of each web server process.
  • each web server process can serve at most one Web site (but does not necessarily have to serve a Web site).
  • Each Web site does not have only one Web server process to serve it, but a Web site.
  • the management scheduling unit controls a Web server process to serve the Web site.
  • the management control unit controls a new Web server process to serve the Web site.
  • a Web site reaches a certain amount of data, it can be assigned the number of Web server processes by the amount of traffic per second / 50 + 1 of a Web site.
  • the life cycle of the Web server process itself may also be changed.
  • the management scheduling unit may control the web server process to load the web site, which leads to the web server.
  • the process state is changed to "serving for the X site", and when the X site traffic is reduced, the management scheduling unit may control the web server process to stop the service, wherein the stop mode may be to kill the process or other means.
  • the energy saving effect is achieved by using the method described in the embodiment of the present invention.
  • the management control unit may also adjust The processing status of each web server process improves processing efficiency. Specifically, the management control unit may first acquire current load information of each web server process, and then, according to the current load information, when the current load of the web server process is greater than or equal to a first preset threshold, Determining the web server process service when the utilization of the web server process is high to a certain extent Whether the web site still has other web server processes for the service.
  • assigning a web server process to the web site if yes, reassigning the web server process when the current load of the other web server processes is greater than or equal to a second predetermined threshold, when the other web
  • the weight of the Web server process served by the Web site is adjusted as a reference for the load balancing server to select a Web server process that processes the HTTP request of the user terminal.
  • the first preset threshold value indicates a degree of utilization of a certain web server process
  • the second preset threshold value indicates a degree of utilization of a certain web server process is low
  • the first preset width is The value and the second preset threshold may be set by the system operation state monitoring personnel according to the actual operation of the system.
  • the first preset threshold may be 70%
  • the second preset threshold may be 40%. .
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • an embodiment of the present invention further provides an apparatus for implementing multi-web application request scheduling, including:
  • a first request receiving unit 31 configured to receive a domain name resolution request sent by a domain name server
  • a first allocating unit 32 configured to allocate at least one load balancing server to the domain name server according to the domain name resolution request
  • 33 The method for receiving a web server process sent by the load balancing server serving the domain name server
  • the second allocating unit 34 configured to allocate at least one web to the load balancing server according to the request of the web server process
  • the server process causes the load balancing server to send an HTTP request of the user terminal to the web server process.
  • the first distribution receiving unit 32 includes: a selection module 321 configured to select at least one load balancing with the lowest load according to load conditions of each load balancing server in the system.
  • the second allocation unit 34 includes: a request parsing module 341, configured to acquire web site information corresponding to the actual domain name requested by the user terminal in the request of the web server process; and a determining module 342, configured to use the webpage according to the webpage
  • the site information determines whether there is a web server process serving the web site;
  • the distribution module 343 is configured to: when there is a web server process serving the web site, according to the corresponding relationship between the stored web server process and the web site
  • the domain name server allocates at least one web server process; when there is no web server process serving the web site, selecting a web server host system for loading the web site, and requesting the web server host system to be
  • the Web site assigns a web server process.
  • the allocation module may select a web server host system with the lowest load and the number of available web server processes is not zero from all the web server host systems in the system, and request the The web server host system allocates a web server process for the web site.
  • the load balancing server can be scheduled and managed according to the domain name resolution request of the domain name server, that is, the domain name server can be selected for the domain name server from multiple load balancing servers.
  • the web server process is scheduled and managed, that is, the plurality of web server processes are selected for the load balancing server to be able to process the user terminal.
  • Web server process for HTTP requests it is not necessary to manually configure the correspondence between the domain name requested by the user terminal and the Web server on the load balancing server, so that the application requests of a large number of Web sites can be simultaneously processed.
  • the domain name resolution request may include a domain name requested by the user terminal, an IP address of the user terminal, and the like.
  • the device and the web server are configured to save the storage space.
  • the device may further include: a domain name resolution unit 35, configured to parse the domain name requested by the user terminal carried in the domain name resolution request.
  • the apparatus may further include: a control unit 36, configured to increase or decrease load balancing of services according to a total load degree of each load balancing server in the system.
  • the apparatus in the embodiment of the present invention may further include: an information acquiring unit 37, configured to acquire current load information of each web server process;
  • the determining unit 38 is configured to determine, according to the current load information, whether the web site served by the web server process has other web servers served when the current load of the web server process is greater than or equal to the first preset threshold a third allocation unit 39, configured to: when the determination result of the determining unit is negative, allocate a web server process to the web site; when the determining result of the determining unit 38 is yes, if the other web If the current load of the server process is greater than or equal to the second preset threshold, the web server process is re-allocated, and if the current load of the other web server process is less than the second preset threshold, the web service of the web site is adjusted.
  • the weight of the server process is adjusted.
  • the meanings of the first preset threshold and the second preset threshold are the same as those in the method embodiment, and may be set by the system operation state monitoring personnel according to actual operating conditions of the system, for example, the first pre- The set value can be 70%, and the second preset value can be 40%.
  • an embodiment of the present invention further provides a system for implementing multi-web application request scheduling.
  • the system includes: a domain name server 41, a management control unit 42, at least one load balancing server 43, and at least one web server 44.
  • the domain name server 41 is configured to send a domain name resolution request to the management control unit, and determine a load balancing server served by the management control unit for the load balancing server allocated thereto.
  • the management control unit 42 is configured to use, according to the domain name resolution request of the domain name server, the domain
  • the name server allocates at least one load balancing server; receiving an allocation web server process request sent by the load balancing server serving the domain name server to allocate at least one for the load balancing server
  • the web server process wherein the actual domain name requested by the user terminal is carried in the request for allocating a web server process.
  • the load balancing server 43 is configured to select a web server process from the web server process allocated by the management control unit, and send the HTTP request of the user terminal to the selected web server process.
  • the web server 44 is configured to process an HTTP request of the user terminal.
  • the interface between the management control unit and the domain name server is an F1 interface
  • the interface between the management control unit and the load balancing server is an F2 interface
  • the interface between the management control unit and each web server is F. 3 interface.
  • the management control unit allocates at least one load balancing server to the domain name server, select at least one load balancing server with the lowest load according to the load condition of each load balancing server in the system, and select the at least one selected one.
  • the IP address and load information of the load balancing server are stored in the load balancing server list, and the load balancing server list is sent to the domain name server, and the domain name management server is further configured to save the load balancing server list.
  • the domain name resolution request may include a domain name requested by the user terminal, an IP address of the user terminal, and the like. Therefore, the management control unit is further configured to parse the domain name requested by the user terminal according to the domain name resolution request. This eliminates the need to store a large number of domain names and Web server correspondences on the load balancing server, thereby saving storage space.
  • the management control unit is further configured to increase or decrease the number of load balancing servers of the service according to the total load degree of each load balancing server in the system; or according to the web server host system of each web server in the system.
  • the web server host system may further include a management agent unit (not shown), which is mainly used to manage the web server process, such as starting a web server process, controlling the web server process to load, uninstalling the application, and killing the web. a server process or the like; and the management agent unit is further used as a communication intermediary between the management control unit and each web server process: to each web server The process forwards the scheduling task of the management control unit, and reports the load status of the web server process to the management control unit.
  • the interface between the management agent unit and each web server process is a T1 interface.
  • the management control unit may acquire or directly obtain current load information of the web server process in each web server host system through the management agent unit in the web server host system. And the management control unit may determine, according to the current load information, whether the web site served by the web server process has other services when the current load of the web server process is greater than or equal to a first preset threshold. Web server process; if not, assigning a web server process to the web site; if yes, reassigning the web server process when the current load of the other web server processes is greater than or equal to a second predetermined threshold When the current load of the other web server process is less than the second preset threshold, the weight of the web server process served by the web site is adjusted.
  • the meanings of the first preset threshold and the second preset threshold are the same as those in the method embodiment, and may be set by the system operation state monitoring personnel according to actual operating conditions of the system, for example, the first pre- The set value can be 70%, and the second preset value can be 40%.
  • the management control unit performs scheduling management on the load balancing server according to the domain name resolution request of the domain name server, that is, from multiple load balancing servers. Selecting, for the domain name server, a load balancing server capable of serving the domain name server; and simultaneously scheduling, by the management control unit, the web server process according to the request of the web server process of the load balancing server selected by the domain name server Management, that is, selecting a web server process capable of processing an HTTP request of the user terminal for the load balancing server from a plurality of web server processes. Therefore, with the embodiment of the present invention, it is not necessary to manually configure the correspondence between the domain name requested by the user terminal and the Web server on the load balancing server, so that the application requests of a large number of Web sites can be simultaneously processed.
  • the method, device, and system for implementing multi-web application request scheduling do not need to manually configure a domain name and a web server requested by a user terminal on a load balancing server. Correspondence, so that it can process application requests of a large number of Web sites at the same time.

Abstract

A method, an apparatus and a system for implementing multiple Web application requests scheduling are disclosed by the embodiments of the present invention, which relate to the field of communication technology and are invented for processing application requests for plenty of Web sites simultaneously. The method of the present invention comprises: receiving a domain name resolution request sent from a domain name server; assigning at least one load balance server for the domain name server according to the domain name resolution request; receiving a request for assigning Web server processes sent from the load balance server which serves the domain name server; assigning at least one Web server process for the load balance server according to the request for assigning Web server processes, so that the load balance server sends an HTTP request of a user terminal to the Web server process. The embodiments of the present invention are mainly applied in a distribution network.

Description

实现多 Web应用请求调度的方法、 装置及系统 技术领域  Method, device and system for realizing multi-web application request scheduling
本发明涉及通信技术领域, 尤其涉及一种实现多 Web应用请求调度的方法、 装置及系统。  The present invention relates to the field of communications technologies, and in particular, to a method, device, and system for implementing multi-web application request scheduling.
背景技术 Background technique
在现有技术中, 基于 HTTP ( Hyper text Transfer Protocol , 超文本传输协 议)协议构建大规模 Web网站的技术已经非常成熟。  In the prior art, the technology for building a large-scale Web site based on the HTTP (Hypertext Transfer Protocol) protocol is very mature.
在现有技术中构建的大规模 Web 网站的逻辑架中, 用户终端侧主要是指用 户浏览器, 如 IE、 Fi refox等。在服务器侧包括: 域名解析服务器( Doma in Name Sys tem, DNS )、 负载均衡服务器( Load Ba lance Server , LBS )、 Web Server ( Web 服务器)。 其中, 所述匪 S用于接收用户浏览器的 DNS请求, 根据特定的算法选 择 LBS服务器, 并将选择的 LBS服务器的 IP地址返回给所述用户浏览器。 所述 LBS服务器, 用于接收所述用户浏览器的 HTTP请求, 根据特定的算法为所述用 户浏览器选择 Web服务器,并将所述 HTTP请求转发给所述 Web服务器。所述 Web 服务器, 用于处理所述用户浏览器的 HTTP请求, 并在处理完成后, 向所述用户 浏览器返回 HTTP处理响应。  In the logical framework of a large-scale Web site constructed in the prior art, the user terminal side mainly refers to a user browser such as IE, Fi refox, and the like. On the server side, it includes: Doma in Name Server (DNS), Load Balance Server (LBS), Web Server (Web Server). The 匪 S is configured to receive a DNS request of the user browser, select an LBS server according to a specific algorithm, and return an IP address of the selected LBS server to the user browser. The LBS server is configured to receive an HTTP request of the user browser, select a web server for the user browser according to a specific algorithm, and forward the HTTP request to the web server. The web server is configured to process an HTTP request of the user browser, and return an HTTP processing response to the user browser after the processing is completed.
其中,上述特定的算法包括:轮叫调度(或轮询)(Round Robin Schedul ing ) 算法、 力口权轮叫 (或轮询)调度 ( We i ghted Round-Robin Schedul ing )算法、 源地址散列调度(Source Hashing Schedul ing ) 算法、 动态反馈负载均衡算法 等。  The specific algorithm includes: a Round Robin Scheduling algorithm, a Weighing Round-Robin Scheduling algorithm, and a source address dispersion. Source Hashing Scheduling algorithm, dynamic feedback load balancing algorithm, etc.
但是, 在实现本发明的过程中, 发明人发现:  However, in the process of implementing the present invention, the inventors discovered that:
由于 Web站点是运行于 Web服务器之上的, 而利用现有技术中的逻辑架构 只能服务于有限的几个 Web 站点。 当有大量(一万、 十万、 甚至更多) 的 Web 站点共同运行于包含若干个 Web服务器的 Web服务器平台之上时, 利用现有的 架构艮难共同部署大量应用。 发明内容 Since Web sites run on top of Web servers, leveraging existing logical architectures can only serve a limited number of Web sites. When a large number of (10,000, 100,000, or even more) Web sites run together on a Web server platform that includes several Web servers, it is difficult to deploy a large number of applications together with existing architectures. Summary of the invention
本发明实施例提供了一种实现多 Web应用请求调度的方法、 装置及系统, 能够同时处理大量 Web站点的应用请求。  The embodiment of the invention provides a method, a device and a system for implementing multi-web application request scheduling, which can simultaneously process application requests of a large number of web sites.
本发明实施例釆用如下技术方案:  The embodiment of the invention uses the following technical solutions:
一种实现多 Web应用请求调度的方法, 包括:  A method for implementing multi-web application request scheduling, including:
接收由域名服务器发送的域名解析请求;  Receiving a domain name resolution request sent by the domain name server;
根据所述域名解析请求为所述域名服务器分配至少一个负载均衡服务器; 接收为所述域名服务器服务的负载均衡服务器发送的分配 Web服务器进程 请求;  Allocating at least one load balancing server to the domain name server according to the domain name resolution request; receiving an allocation web server process request sent by a load balancing server serving the domain name server;
根据所述分配 Web服务器进程请求, 为所述负载均衡服务器分配至少一个 Web服务器进程, 使得所述负载均衡服务器将所述用户终端的 HTTP请求发送给 所述 Web服务器进程。  And assigning, according to the allocating the web server process request, the load balancing server to the at least one web server process, so that the load balancing server sends the HTTP request of the user terminal to the web server process.
一种实现多 Web应用请求调度的装置, 包括:  An apparatus for implementing multi-web application request scheduling includes:
第一请求接收单元, 用于接收由域名服务器发送的域名解析请求; 第一分配单元, 用于根据所述域名解析请求为所述域名服务器分配至少一 个负载均衡服务器;  a first request receiving unit, configured to receive a domain name resolution request sent by the domain name server, and a first allocation unit, configured to allocate at least one load balancing server to the domain name server according to the domain name resolution request;
第二请求接收单元, 用于接收为所述域名服务器服务的负载均衡服务器发 送的分配 Web服务器进程请求;  a second request receiving unit, configured to receive an allocation web server process request sent by a load balancing server served by the domain name server;
第二分配单元, 用于根据所述分配 Web服务器进程请求, 为所述负载均衡 服务器分配至少一个 Web服务器进程, 使得所述负载均衡服务器能够将所述用 户终端的 HTTP请求发送给所述 Web服务器进程。  a second allocation unit, configured to allocate, according to the allocating a web server process request, at least one web server process to the load balancing server, so that the load balancing server can send an HTTP request of the user terminal to the web server process.
一种实现多 Web应用请求调度的系统, 包括: 域名服务器, 管理控制单元, 至少一个负载均衡服务器以及至少一个 Web服务器;  A system for implementing multi-web application request scheduling, comprising: a domain name server, a management control unit, at least one load balancing server, and at least one web server;
其中, 所述域名服务器, 用于向所述管理控制单元发送域名解析请求, 并 从所述管理控制单元为其分配的负载均衡服务器中确定为其服务的负载均衡服 务器; 管理控制单元, 用于根据所述域名服务器的域名解析请求为所述域名服务 器分配至少一个负载均衡服务器; 接收为所述域名服务器服务的负载均衡服务 器发送的分配 Web服务器进程请求, 为所述负载均衡服务器分配至少一个 Web 服务器进程; The domain name server is configured to send a domain name resolution request to the management control unit, and determine, from the load balancing server allocated by the management control unit, a load balancing server served thereto; a management control unit, configured to allocate at least one load balancing server to the domain name server according to the domain name resolution request of the domain name server; receive an allocation web server process request sent by the load balancing server serving the domain name server, for the load The equalization server allocates at least one web server process;
所述负载均衡服务器, 用于从所述管理控制单元为其分配的 Web服务器进 程中选择 Web服务器进程, 将所述用户终端的 HTTP请求发送给选择的 Web服务 器进程;  The load balancing server is configured to select a web server process from the web server process allocated by the management control unit, and send the HTTP request of the user terminal to the selected web server process;
所述 Web服务器, 用于处理所述用户终端的 HTTP请求。  The web server is configured to process an HTTP request of the user terminal.
本发明实施例所述的实现多 Web应用请求调度的方法、 装置及系统, 由管 理控制单元根据域名服务器的域名解析请求, 对负载均衡服务器进行调度管理, 即从多个负载均衡服务器中为所述域名服务器选择能够为域名服务器提供服务 的负载均衡服务器; 同时, 由所述管理控制单元根据由所述域名服务器所选择 的负载均衡服务器的分配 Web服务器进程请求, 对 Web服务器进程进行调度管 理, 即从多个 Web服务器进程中为所述负载均衡服务器选择能够处理用户终端 的 HTTP请求的 Web服务器进程。 因此, 利用本发明实施例, 无需在负载均衡服 务器上手动配置用户终端请求的域名和 Web服务器的对应关系, 从而能够同时 处理大量 Web站点的应用请求。  The method, device and system for implementing multi-web application request scheduling according to embodiments of the present invention, the management control unit performs scheduling management on the load balancing server according to the domain name resolution request of the domain name server, that is, from multiple load balancing servers. The domain name server selects a load balancing server capable of serving the domain name server; at the same time, the management control unit performs scheduling management on the web server process according to the request of the web server process of the load balancing server selected by the domain name server, That is, a web server process capable of processing an HTTP request of the user terminal is selected for the load balancing server from a plurality of web server processes. Therefore, with the embodiment of the present invention, it is not necessary to manually configure the correspondence between the domain name requested by the user terminal and the Web server on the load balancing server, so that the application requests of a large number of Web sites can be simultaneously processed.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例描述中所需 要使用的附图作一简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following drawings will be briefly described, and the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图 1为本发明实施例实现多 Web应用请求调度的方法的流程图;  FIG. 1 is a flowchart of a method for implementing multi-web application request scheduling according to an embodiment of the present invention;
图 2为本发明实施例实现多 Web应用请求调度的装置的示意图;  2 is a schematic diagram of an apparatus for implementing multi-web application request scheduling according to an embodiment of the present invention;
图 3为本发明实施例实现多 Web应用请求调度的装置的第一结构图; 图 4为本发明实施例实现多 Web应用请求调度的装置的第二结构图; 图 5为本发明实施例实现多 Web应用请求调度的装置的第三结构图; 图 6为本发明实施例实现多 Web应用请求调度的系统的示意图。 FIG. 3 is a first structural diagram of an apparatus for implementing multi-web application request scheduling according to an embodiment of the present invention; FIG. 4 is a second structural diagram of an apparatus for implementing multi-web application request scheduling according to an embodiment of the present invention; FIG. 5 is a third structural diagram of an apparatus for implementing multi-web application request scheduling according to an embodiment of the present invention; FIG. 6 is a schematic diagram of a system for implementing multi-web application request scheduling according to an embodiment of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail with reference to the accompanying drawings. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative work are within the scope of the present invention.
需要说明的是, 在本发明实施例中, "大量" 的概念是指一万、 十万甚至更 多。 当然, 本发明实施例亦可应用于现有技术的场景之中, 从而达到更好的效 果。  It should be noted that in the embodiment of the present invention, the concept of "massive" refers to 10,000, 100,000 or even more. Of course, the embodiments of the present invention can also be applied to the prior art scenarios to achieve better results.
为能够同时处理大量 Web站点的应用请求, 如图 1所示, 本发明实施例实 现多 Web应用请求调度的方法包括如下步骤:  For the application request that can process a large number of Web sites at the same time, as shown in FIG. 1 , the method for implementing multi-Web application request scheduling in the embodiment of the present invention includes the following steps:
步骤 11、管理控制单元接收由域名服务器发送的域名解析请求(DNS请求)。 其中, 在所述 DNS请求中, 可携带用户终端请求的域名, 以方便所述管理 控制单元进行域名解析。 此外, 在所述匪 S请求中还可包括有源地址的 I P地址 信息, 以使得所述域名服务器确定向其发送所述域名解析请求的用户终端。  Step 11. The management control unit receives the domain name resolution request (DNS request) sent by the domain name server. The domain name requested by the user terminal may be carried in the DNS request to facilitate the domain name resolution by the management control unit. In addition, the IP address information of the active address may be further included in the 匪S request, so that the domain name server determines the user terminal to which the domain name resolution request is sent.
步骤 12、 所述管理控制单元根据所述域名解析请求为所述域名服务器分配 至少一个负载均衡月良务器。  Step 12: The management control unit allocates at least one load balancing server to the domain name server according to the domain name resolution request.
在实际系统中, 所述负载均衡服务器的数量可能有 100个甚至更多。 所述 管理控制单元可主动实时监控或者根据各负载均衡服务器上报的信息实时监控 各负载均衡服务器的负载数据与运行状况, 然后选择能够为所述域名服务器提 供服务的负载均衡服务器。其中所述负载数据可以包括各负载均衡服务器的 CPU 使用率, 内存使用率, 带宽使用率等等。  In an actual system, the number of load balancing servers may be 100 or more. The management control unit can actively monitor the load data and the running status of each load balancing server in real time according to the information reported by each load balancing server, and then select a load balancing server capable of providing services for the domain name server. The load data may include CPU usage, memory usage, bandwidth usage, and the like of each load balancing server.
在选择负载均衡服务器时, 所述管理控制单元可以根据负载均衡算法进行 选择。 例如所述管理控制单元可以根据系统中各负载均衡服务器的负载情况, 选择负载最低的至少一个负载均衡服务器, 并将所述负载均衡服务器的 IP地址 和负载信息存储在负载均衡服务器列表中, 然后向所述域名服务器发送所述负 载均衡服务器列表, 使得所述域名服务器根据各负载均衡服务器的负载信息选 择负载均衡服务器。 When the load balancing server is selected, the management control unit may select according to a load balancing algorithm. For example, the management control unit may select at least one load balancing server with the lowest load according to the load condition of each load balancing server in the system, and set the IP address of the load balancing server. And the load information is stored in the load balancing server list, and then the load balancing server list is sent to the domain name server, so that the domain name server selects the load balancing server according to the load information of each load balancing server.
其中, 所述负载信息可包括选择的负载均衡服务器的权重, 此时, 所述域 名服务器可直接根据所述权重选择负载均衡服务器。 或者所述负载信息可包括 选择的负载均衡服务器的负载情况。 当所述负载信息包括选择的负载均衡服务 器的负载情况时, 由所述域名服务器根据所述负载情况计算出各负载均衡服务 器的权重, 然后再根据所述权重选择负载均衡服务器。 或者所述负载信息还可 同时包括由所述管理控制单元选择的负载均衡服务器的权重和负载情况, 此时 所述域名服务器仍可直接根据所述权重选择负载均衡服务器。  The load information may include a weight of the selected load balancing server. At this time, the domain name server may directly select the load balancing server according to the weight. Or the load information may include a load condition of the selected load balancing server. When the load information includes the load condition of the selected load balancing server, the domain name server calculates the weight of each load balancing server according to the load condition, and then selects the load balancing server according to the weight. Or the load information may also include the weight and load of the load balancing server selected by the management control unit, and the domain name server may still directly select the load balancing server according to the weight.
此外, 为了避免每次接收到用户终端的 DNS请求后, 都要由所述域名服务 器向管理控制单元查询能够提供给服务的负载均衡服务器的信息, 所述域名服 务器还可保存所述负载均衡服务器列表。  In addition, in order to avoid that after receiving the DNS request of the user terminal, the domain name server queries the management control unit for information about the load balancing server that can be provided to the service, and the domain name server may also save the load balancing server. List.
并且, 当所述域名解析请求中携带用户终端请求的域名时, 所述管理控制 单元还可在收到所述域名解析请求后对所述用户终端所请求的域名进行解析。 由于在负载均衡服务器上需要緩存用户终端请求的域名和 Web服务器的对应关 系, 当所述管理控制单元对用户终端请求的某个域名 A进行解析后, 再次有用 户终端请求相同的域名时, 由于之前已经緩存过该域名 A和 Web服务器之间的 对应关系, 因此, 在所述管理控制单元再次对该域名 A进行解析后, 负载均衡 服务器可以不再緩存该域名 A和 Web服务器之间的对应关系。 因此, 这就使得 负载均衡服务器上不必存储大量的域名和 Web服务器的对应关系, 从而节省存 储空间。  And, when the domain name resolution request carries the domain name requested by the user terminal, the management control unit may further parse the domain name requested by the user terminal after receiving the domain name resolution request. Since the mapping between the domain name requested by the user terminal and the web server needs to be cached on the load balancing server, after the management control unit parses a certain domain name A requested by the user terminal, when the user terminal requests the same domain name again, The mapping between the domain name A and the web server has been previously cached. Therefore, after the management control unit parses the domain name A again, the load balancing server can no longer cache the correspondence between the domain name A and the web server. relationship. Therefore, this eliminates the need to store a large number of domain names and Web server correspondences on the load balancing server, thereby saving storage space.
步骤 1 3、 所述管理控制单元接收为所述域名服务器服务的负载均衡服务器 发送的分配 Web服务器进程请求。  Step 1 3: The management control unit receives an allocation web server process request sent by a load balancing server served by the domain name server.
由所述域名服务器选择的负载均衡服务器在接收到用户终端的 HTTP 请求 后, 将分析所述 HTTP请求中的 URL ( Un i form Res ource Loca tor , 统一资源定 位符)信息, 并根据 URL中 HOST信息 (H t t p协议的 Hos t头信息)获取用户终 端所请求的实际域名。 然后, 所述负载均衡服务器会将所述实际域名携带在所 述分配 Web服务器进程请求中发送给所述管理控制单元。 After receiving the HTTP request from the user terminal, the load balancing server selected by the domain name server analyzes the URL in the HTTP request (Un i form Res ource Loca tor , unified resource setting) The bit) information, and the actual domain name requested by the user terminal is obtained according to the HOST information in the URL (the Hos t header information of the H ttp protocol). Then, the load balancing server sends the actual domain name to the management control unit in the request of the distribution web server process.
步骤 14、 所述管理控制单元根据所述分配 Web服务器进程请求, 为所述负 载均衡服务器分配至少一个 Web服务器进程, 使得所述负载均衡服务器将所述 用户终端的 HTTP请求发送给所述 Web服务器进程。  Step 14: The management control unit allocates at least one web server process to the load balancing server according to the request for allocating a web server process, so that the load balancing server sends an HTTP request of the user terminal to the web server. process.
在具体应用中, 域名是 Web 站点的标识, 并且一个域名只能唯一的对应于 一个 Web站点, 因此, 所述管理控制单元在收到所述分配 Web服务器进程请求 后, 可首先以所述实际域名为索引, 根据在所述管理控制单元中存储的域名与 Web站点信息的对应关系获取与所述分配 Web服务器进程请求中所述用户终端请 求的实际域名对应的 Web站点信息。 然后, 根据所述 Web站点信息判断是否存 在为所述 Web站点服务的 Web服务器进程。  In a specific application, the domain name is an identifier of the Web site, and a domain name can only uniquely correspond to one Web site. Therefore, after receiving the request of the Web server process, the management control unit may first use the actual The domain name is an index, and the Web site information corresponding to the actual domain name requested by the user terminal in the request for allocating the Web server process is obtained according to the correspondence between the domain name and the Web site information stored in the management control unit. Then, based on the Web site information, it is determined whether there is a Web server process serving the Web site.
当存在为所述 Web站点服务的 Web服务器进程时, 所述管理控制单元根据 存储的 Web服务器进程与 Web站点的对应关系为所述域名服务器分配至少一个 Web服务器进程。 当不存在为所述 Web站点服务的 Web服务器进程时, 所述管理 控制单元重新为所述 Web站点分配至少一个 Web Λ良务器进程。 此时, 所述管理 控制单元可由系统中所有的 Web服务器主机系统中选取负载最低且可用 Web服 务器进程数量不为零的 Web服务器主机系统, 并请求所述 Web服务器主机系统 为所述 Web站点分配 Web服务器进程。  When there is a web server process serving the web site, the management control unit allocates at least one web server process to the domain name server according to the corresponding relationship between the stored web server process and the web site. When there is no web server process serving the web site, the management control unit re-allocates at least one web server process to the web site. At this time, the management control unit may select, by all the web server host systems in the system, a web server host system with the lowest load and the number of available web server processes is not zero, and request the web server host system to allocate the web site. Web server process.
需要说明的是, 在实际系统中, 可能会存在多个 Web服务器, 即 Web服务 器主机系统, 而每个 Web服务器主机系统中又可能运行有多个(1 00甚至更多) Web服务器进程, 其中的每个 Web服务器进程监听不同的端口。各个负载均衡服 务器在转发用户终端的 HTTP请求时, 是针对各 Web服务器进程转发的。 因此, 只要获取 Web服务器主机系统的 IP地址以及内部 Web服务器进程的端口号就能 唯一标识每个 Web服务器进程。  It should be noted that in an actual system, there may be multiple web servers, that is, a web server host system, and each web server host system may have multiple (100 or more) web server processes running therein. Each web server process listens on a different port. Each load balancing server forwards the HTTP request of the user terminal for each web server process. Therefore, each web server process can be uniquely identified by simply obtaining the IP address of the web server host system and the port number of the internal web server process.
因此, 所述管理控制单元为所述选择的负载均衡服务器分配 Web服务器进 程的过程, 就是将能够为所述选择的负载均衡服务器提供服务的 Web服务器主 机系统的 IP地址以及内部 Web服务器进程的端口号提供给所述由域名服务器选 择的负载均衡服务器提供服务的过程。 Therefore, the management control unit allocates a web server to the selected load balancing server. The process of providing the IP address of the web server host system capable of serving the selected load balancing server and the port number of the internal web server process to the load balancing server selected by the domain name server provides a service.
由于所述管理控制单元可能为所述选择的负载均衡服务器分配一个或多个 Web服务器进程, 因此, 由所述域名服务器选择的负载均衡服务器可根据负载均 衡算法选择一个 Web服务器进程。 然后所述选择的负载均衡服务器可根据选择 的 Web服务器主机系统的 IP地址以及内部 Web服务器进程的端口号 ,通过 HTTP、 CGI (公共网关界面)或者其他方式将用户终端的 HTTP请求转发给所述 Web服 务器进程。  Since the management control unit may allocate one or more web server processes to the selected load balancing server, the load balancing server selected by the domain name server may select a web server process according to a load balancing algorithm. Then, the selected load balancing server may forward the HTTP request of the user terminal to the HTTP address, the CGI (Common Gateway Interface), or other manner according to the IP address of the selected Web server host system and the port number of the internal Web server process. Web server process.
由上可以看出, 本发明实施例所述的实现多 Web应用请求调度的方法, 由 管理控制单元根据域名服务器的域名解析请求, 对负载均衡服务器进行调度管 理, 即从多个负载均衡服务器中为所述域名服务器选择能够为域名服务器提供 服务的负载均衡服务器; 同时, 由所述管理控制单元根据由所述域名服务器所 选择的负载均衡服务器的分配 Web服务器进程请求, 对 Web服务器进程进行调 度管理, 即从多个 Web服务器进程中为所述负载均衡服务器选择能够处理用户 终端的 HTTP请求的 Web服务器进程。 因此, 利用本发明实施例, 无需在负载均 衡服务器上手动配置用户终端请求的域名和 Web服务器的对应关系, 从而能够 同时处理大量 Web站点的应用请求。  It can be seen that, in the method for implementing multi-web application request scheduling according to the embodiment of the present invention, the management control unit performs scheduling management on the load balancing server according to the domain name resolution request of the domain name server, that is, from multiple load balancing servers. Selecting, for the domain name server, a load balancing server capable of serving the domain name server; and simultaneously scheduling, by the management control unit, the web server process according to the request of the web server process of the load balancing server selected by the domain name server Management, that is, selecting a web server process capable of processing an HTTP request of the user terminal for the load balancing server from a plurality of web server processes. Therefore, with the embodiment of the present invention, it is not necessary to manually configure the correspondence between the domain name requested by the user terminal and the Web server on the load balancing server, so that the application requests of a large number of Web sites can be simultaneously processed.
考虑到节能特性, 在处理大量 Web 站点的应用请求的同时, 所述管理控制 单元还可进行如下处理:  Considering the energy saving feature, the management control unit can also perform the following processing while processing an application request of a large number of Web sites:
( 1 )、 对系统中的负载均衡服务器进行节能调度, 即根据系统中各负载均 衡服务器的总负载程度, 增加或减少服务的负载均衡服务器的数量。  (1) Perform energy-saving scheduling on the load balancing server in the system, that is, increase or decrease the number of service load balancing servers according to the total load of the servers in each load balancing system.
在此过程中, 如果所有的负载均衡服务器的总负载程度比较高 (如总体负 载超过 70% ), 管理调度单元将启动更多 (一定数量) 的负载均衡服务器。 如果 所有的负载均衡服务器的总负载程度较低(如总体负载低于 40% ), 管理调度单 元将停止一定数量负载均衡服务器。 具体实现方式可以是: 负载均衡服务器不够时, 管理调度单元在为所述域 名服务器分配负载均衡服务器时, 将新增负载均衡服务器作为待分配给域名服 务器的负载均衡服务器; 负载过剩需要停止负载均衡服务器时, 管理调度单元 在为所述域名服务器分配负载均衡服务器时, 将不会给域名服务器分配这些准 备停止的负载均衡。 当某些负载均衡服务器在很长一段时间内没有处理 HTTP请 求时, 确定这些负载均衡服务需要停止器, 那么就可以通过关机等方式停止。 In this process, if the total load of all load balancing servers is high (such as the overall load exceeds 70%), the management scheduling unit will start more (a certain number) of load balancing servers. If the total load of all load balancing servers is low (eg, the overall load is less than 40%), the management scheduling unit will stop a certain number of load balancing servers. The specific implementation manner may be: when the load balancing server is insufficient, the management scheduling unit allocates the load balancing server as the load balancing server to be allocated to the domain name server when the load balancing server is allocated to the domain name server; At the time of the server, when the management scheduling unit allocates the load balancing server for the domain name server, the domain name server will not be allocated the load balancing that is to be stopped. When some load balancing servers do not process HTTP requests for a long time, to determine that these load balancing services require a stop, they can be stopped by shutting down, etc.
此外, 所述需要停止的负载均衡 Λ良务器的 IP地址, 可由所述管理控制单元 分配给其他的负载均衡服务器。 而所述管理控制单元在分配时, 一般是选择负 载较低的负载均衡服务器进行分配。 这样, 可防止用户终端不断的将 HTTP请求 发给已经停止的负载均衡服务器。  In addition, the IP address of the load balancing device that needs to be stopped may be allocated by the management control unit to other load balancing servers. When the management control unit allocates, it generally selects a load balancing server with a lower load for allocation. In this way, the user terminal can be prevented from continuously sending HTTP requests to the load balancing server that has stopped.
( 2 )、 根据系统中各 Web服务器主机系统的总负载程度, 增加或减少服务 的 Web服务器主机系统的数量。  (2) Increase or decrease the number of Web server host systems for services according to the total load of each Web server host system in the system.
在具体实现过程中, 所述管理调度单元在统计各 Web服务器主机系统负载 后将计算出整体的负载程度。 如果整体负载超过设定的最高值, 则管理调度单 元将启动一个或多个新的 Web服务器主机系统。 如果整体负载低于设定的最低 值, 则管理调度单元将控制低负载的一个或多个 Web服务器主机系统停止, 并 将这些 Web 服务器主机系统上运行的 Web服务器进程转移至其他 Web服务器主 机系统。 其中转移的方式可以是, 对于需要停止的 Web服务器主机系统上的所 有为 Web站点服务的 Web服务器进程, 所述管理控制单元将在其他 Web服务器 主机系统上启动新的 Web服务器进程, 启动的新的 Web服务器进程数量与需要 停止的 Web服务器进程一致。而启动的新的 Web服务器进程将为需要停止的 Web 服务器进程所服务的 Web站点服务。 然后, 所述管理控制单元再将需要停止的 Web服务器主机系统上所有的 Web 服务器进程置为不接收新请求状态。 如果需 要停止的各 Web服务器主机系统在一段时间内如 1分钟, 已经没有 Web请求处 理, 则该 Web 服务器主机系统可以关闭, 如关机、 待机等。  In a specific implementation process, the management scheduling unit calculates the overall load level after counting the load of each web server host system. If the overall load exceeds the set maximum value, the management dispatch unit will launch one or more new web server host systems. If the overall load is below the set minimum value, the management scheduling unit stops one or more web server host systems that control the low load, and transfers the web server processes running on these web server host systems to other web server host systems. . The mode of transfer may be: for all Web server processes serving the Web site on the Web server host system that need to be stopped, the management control unit will start a new Web server process on other Web server host systems, and start a new one. The number of web server processes is the same as the web server process that needs to be stopped. The new Web server process that is started will serve the Web site served by the Web server process that needs to be stopped. Then, the management control unit sets all the web server processes on the web server host system that need to be stopped to not receive the new request state. If the web server host systems that need to be stopped are not processed by the web request for a period of time, such as 1 minute, the web server host system can be shut down, such as shutdown, standby, and the like.
( 3 )、 所述管理控制单元还可控制各 Web服务器进程的生命周期。 在具体应用中, 每个 Web服务器进程最多能为一个 Web站点服务(但并非 指一定要为一个 Web站点服务), 每个 Web站点也并非仅有一个 Web服务器进程 为其服务, 但一个 Web站点刚被部署时可以是没有 Web服务器进程为其服务的。 当某个 Web 站点刚产生访问时,管理调度单元会控制一个 Web服务器进程为该 Web站点服务。 当所述 Web站点的访问量增加到一定数量时, 所述管理控制单元 会控制新的 Web服务器进程来为该 Web站点服务。 当某个 Web站点的访问量达 到某种规定的数据, 可按某个 Web 站点的每秒访问量 / 50 + 1 来取整的方式为 其分配 Web服务器进程的数量。 (3) The management control unit can also control the life cycle of each web server process. In a specific application, each web server process can serve at most one Web site (but does not necessarily have to serve a Web site). Each Web site does not have only one Web server process to serve it, but a Web site. When deployed, there can be no web server processes serving it. When a Web site just generates an access, the management scheduling unit controls a Web server process to serve the Web site. When the amount of access of the Web site increases to a certain amount, the management control unit controls a new Web server process to serve the Web site. When a Web site reaches a certain amount of data, it can be assigned the number of Web server processes by the amount of traffic per second / 50 + 1 of a Web site.
例如某个 Web站点的每秒访问量为 1时,将有一个 Web服务器进程为该 Web 站点服务; 当每秒访问量增加为 50时, 启动两个 Web服务器进程。 而当该 Web 站点的访问量级别减少时, 管理控制单元也将减少 Web服务器进程的数量。  For example, when a Web site has 1 visit per second, there will be one Web server process serving the Web site; when the number of visits per second is increased to 50, two Web server processes are started. And when the traffic level of the Web site is reduced, the Management Control Unit will also reduce the number of Web server processes.
基于以上所描述的, 根据 Web站点需要的 Web服务器进程数量的变化, Web 服务器进程自身的生命周期也有可能被改变。 Web服务器进程启动时可以并不为 任何 Web 站点服务, 而当某个 Web站点需要增加 Web服务器进程为其服务时, 管理调度单元可能控制这个 Web服务器进程来加载这个 Web站点,这就导致 Web 服务器进程状态转为 "为 X站点服务", 而当 X站点访问量减少, 管理调度单元 可能控制这个 Web服务器进程停止服务, 其中停止方式可以是杀掉该进程或者 其他方式。  Based on the above, depending on the number of Web server processes required by the Web site, the life cycle of the Web server process itself may also be changed. When the web server process starts, it can not serve any web site. When a web site needs to increase the web server process to serve it, the management scheduling unit may control the web server process to load the web site, which leads to the web server. The process state is changed to "serving for the X site", and when the X site traffic is reduced, the management scheduling unit may control the web server process to stop the service, wherein the stop mode may be to kill the process or other means.
通过以上几种处理方式, 利用本发明实施例所述的方法, 达到了节能的效 果。  Through the above several processing methods, the energy saving effect is achieved by using the method described in the embodiment of the present invention.
此外, 在本发明实施例所述的方法中, 当某个 Web服务器进程的负担过重, 例如每秒需处理大量的请求或者所有 Web服务器进程都在工作中, 所述管理控 制单元还可调节各 Web服务器进程的处理状态, 提高处理效率。 具体是, 所述 管理控制单元可首先获取所述各 Web服务器进程的当前负载信息, 然后根据所 述当前负载信息, 当所述 Web服务器进程的当前负载大于等于第一预设阔值也 即该 Web服务器进程的利用率高到一定程度时, 确定所述 Web服务器进程服务 的 Web站点是否还有服务的其他 Web服务器进程。 若没有, 则为所述 Web站点 分配 Web服务器进程; 若有, 则当所述其他 Web 服务器进程的当前负载均大于 等于第二预设阔值时, 重新分配 Web服务器进程, 当所述其他 Web服务器进程 的当前负载小于第二预设阔值时, 调整为所述 Web站点服务的 Web 服务器进程 的权重, 以作为负载均衡服务器选择处理用户终端 HTTP请求的 Web服务器进程 的参考。 In addition, in the method of the embodiment of the present invention, when the burden of a certain web server process is too heavy, for example, a large number of requests are processed every second or all web server processes are in operation, the management control unit may also adjust The processing status of each web server process improves processing efficiency. Specifically, the management control unit may first acquire current load information of each web server process, and then, according to the current load information, when the current load of the web server process is greater than or equal to a first preset threshold, Determining the web server process service when the utilization of the web server process is high to a certain extent Whether the web site still has other web server processes for the service. If not, assigning a web server process to the web site; if yes, reassigning the web server process when the current load of the other web server processes is greater than or equal to a second predetermined threshold, when the other web When the current load of the server process is less than the second preset threshold, the weight of the Web server process served by the Web site is adjusted as a reference for the load balancing server to select a Web server process that processes the HTTP request of the user terminal.
其中, 所述第一预设阔值表示某个 Web服务器进程利用率高的程度, 所述 第二预设阔值表示某个 Web服务器进程利用率低的程度; 并且所述第一预设阔 值和第二预设阔值, 可根据系统实际运行情况, 由系统运行状态监测人员自行 设定, 例如所述第一预设阔值可为 70% , 第二预设阔值可为 40%。  The first preset threshold value indicates a degree of utilization of a certain web server process, and the second preset threshold value indicates a degree of utilization of a certain web server process is low; and the first preset width is The value and the second preset threshold may be set by the system operation state monitoring personnel according to the actual operation of the system. For example, the first preset threshold may be 70%, and the second preset threshold may be 40%. .
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于一计算 机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆体(Read-Only Memory, ROM )或随机存储记忆体 ( Random Acces s Memory , RAM )等。  A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. In execution, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
如图 2所示, 本发明实施例还提供了一种实现多 Web应用请求调度的装置, 包括:  As shown in FIG. 2, an embodiment of the present invention further provides an apparatus for implementing multi-web application request scheduling, including:
第一请求接收单元 31 , 用于接收由域名服务器发送的域名解析请求; 第一 分配单元 32 , 用于根据所述域名解析请求为所述域名服务器分配至少一个负载 均衡服务器; 第二请求接收单元 33 , 用于接收为所述域名服务器服务的负载均 衡服务器发送的分配 Web服务器进程请求; 第二分配单元 34 , 用于根据所述分 配 Web服务器进程请求, 为所述负载均衡服务器分配至少一个 Web服务器进程, 使得所述负载均衡服务器将所述用户终端的 HTTP请求发送给所述 Web服务器进 程。  a first request receiving unit 31, configured to receive a domain name resolution request sent by a domain name server; a first allocating unit 32, configured to allocate at least one load balancing server to the domain name server according to the domain name resolution request; 33. The method for receiving a web server process sent by the load balancing server serving the domain name server; the second allocating unit 34, configured to allocate at least one web to the load balancing server according to the request of the web server process The server process causes the load balancing server to send an HTTP request of the user terminal to the web server process.
其中, 如图 3所示, 所述第一分配接收单元 32包括: 选择模块 321 , 用于 根据系统中各负载均衡服务器的负载情况, 选择负载最低的至少一个负载均衡 服务器; 存储模块 322 , 用于将选择的所述至少一个负载均衡服务器的 IP地址 以及对应的权重存储在负载均衡服务器列表中; 发送模块 323 , 用于向所述域名 服务器发送所述负载均衡服务器列表, 使得所述域名服务器根据所述负载均衡 服务器列表中的负载均衡服务器的权重选择负载均衡服务器。 As shown in FIG. 3, the first distribution receiving unit 32 includes: a selection module 321 configured to select at least one load balancing with the lowest load according to load conditions of each load balancing server in the system. a storage module 322, configured to store the selected IP address of the at least one load balancing server and the corresponding weight in the load balancing server list, and send a module 323, configured to send the load balancing server to the domain name server a list, such that the domain name server selects a load balancing server according to a weight of a load balancing server in the load balancing server list.
所述第二分配单元 34 包括: 请求解析模块 341 , 用于获取与所述分配 Web 服务器进程请求中所述用户终端请求的实际域名对应的 Web 站点信息; 判断模 块 342 ,用于根据所述 Web站点信息判断是否存在为所述 Web站点服务的 Web服 务器进程;分配模块 343 ,用于当存在为所述 Web站点服务的 Web服务器进程时, 根据存储的 Web服务器进程与 Web站点的对应关系为所述域名服务器分配至少 一个 Web服务器进程; 当不存在为所述 Web站点服务的 Web服务器进程时, 选 择用来加载所述 Web站点的 Web服务器主机系统, 并请求所述 Web服务器主机 系统为所述 Web站点分配 Web Λ良务器进程。  The second allocation unit 34 includes: a request parsing module 341, configured to acquire web site information corresponding to the actual domain name requested by the user terminal in the request of the web server process; and a determining module 342, configured to use the webpage according to the webpage The site information determines whether there is a web server process serving the web site; the distribution module 343 is configured to: when there is a web server process serving the web site, according to the corresponding relationship between the stored web server process and the web site The domain name server allocates at least one web server process; when there is no web server process serving the web site, selecting a web server host system for loading the web site, and requesting the web server host system to be The Web site assigns a web server process.
在选择加载所述 Web站点的 Web服务器主机系统时, 所述分配模块可从系 统中所有的 Web服务器主机系统中选取负载最低且可用 Web服务器进程数量不 为零的 Web服务器主机系统, 并请求所述 Web服务器主机系统为所述 Web站点 分配 Web服务器进程。  When the web server host system of the web site is selected, the allocation module may select a web server host system with the lowest load and the number of available web server processes is not zero from all the web server host systems in the system, and request the The web server host system allocates a web server process for the web site.
由上可以看出, 利用本发明实施例的装置, 可根据域名服务器的域名解析 请求, 对负载均衡服务器调度管理, 即从多个负载均衡服务器中为所述域名服 务器选择能够为域名服务器提供服务的负载均衡服务器; 同时, 根据所述选择 的负载均衡服务器的分配 Web服务器进程请求, 对 Web服务器进程进行调度管 理, 即从多个 Web服务器进程中为所述负载均衡服务器选择能够处理用户终端 的 HTTP请求的 Web服务器进程。 因此, 利用本发明实施例, 无需在负载均衡服 务器上手动配置用户终端请求的域名和 Web服务器的对应关系, 从而能够同时 处理大量 Web站点的应用请求。  It can be seen that, by using the device of the embodiment of the present invention, the load balancing server can be scheduled and managed according to the domain name resolution request of the domain name server, that is, the domain name server can be selected for the domain name server from multiple load balancing servers. At the same time, according to the selected web server process request of the selected load balancing server, the web server process is scheduled and managed, that is, the plurality of web server processes are selected for the load balancing server to be able to process the user terminal. Web server process for HTTP requests. Therefore, with the embodiment of the present invention, it is not necessary to manually configure the correspondence between the domain name requested by the user terminal and the Web server on the load balancing server, so that the application requests of a large number of Web sites can be simultaneously processed.
此外, 在所述域名解析请求中可包括有用户终端请求的域名, 以及所述用 户终端的 IP地址等。 如图 4所示, 为使得负载均衡服务器上不必存储大量的域 名和 Web服务器的对应关系, 从而节省存储空间, 所述装置还可包括: 域名解 析单元 35 , 用于对携带在所述域名解析请求中的所述用户终端请求的域名进行 解析。 In addition, the domain name resolution request may include a domain name requested by the user terminal, an IP address of the user terminal, and the like. As shown in Figure 4, in order to make it unnecessary to store a large number of domains on the load balancing server The device and the web server are configured to save the storage space. The device may further include: a domain name resolution unit 35, configured to parse the domain name requested by the user terminal carried in the domain name resolution request.
为了能够达到节能的效果, 如图 4 所示, 本发明实施例所述的装置还可包 括: 控制单元 36 , 用于根据系统中各负载均衡服务器的总负载程度, 增加或减 少服务的负载均衡服务器的数量; 或者根据系统中各 Web主机系统的总负载程 度, 增加或减少服务的 Web主机系统的数量。  In order to achieve the energy saving effect, as shown in FIG. 4, the apparatus according to the embodiment of the present invention may further include: a control unit 36, configured to increase or decrease load balancing of services according to a total load degree of each load balancing server in the system. The number of servers; or the number of web hosting systems that increase or decrease the service based on the total load of each web host system in the system.
或者, 如图 5所示, 为了提高各 Web服务器处理进程的处理效率, 本发明 实施例所述的装置还可包括: 信息获取单元 37 , 用于获取所述各 Web服务器进 程的当前负载信息; 判断单元 38 , 用于根据所述当前负载信息, 当所述 Web服 务器进程的当前负载大于等于第一预设阔值时, 确定所述 Web服务器进程服务 的 Web站点是否还有服务的其他 Web服务器进程; 第三分配单元 39 , 用于当所 述判断单元的判断结果为否时, 为所述 Web站点分配 Web服务器进程; 当所述 判断单元 38的判断结果为是时, 若所述其他 Web服务器进程的当前负载均大于 等于第二预设阔值, 则重新分配 Web服务器进程, 若所述其他 Web服务器进程 的当前负载小于第二预设阔值, 则调整为所述 Web站点服务的 Web 服务器进程 的权重。  Or, as shown in FIG. 5, in order to improve the processing efficiency of each web server processing process, the apparatus in the embodiment of the present invention may further include: an information acquiring unit 37, configured to acquire current load information of each web server process; The determining unit 38 is configured to determine, according to the current load information, whether the web site served by the web server process has other web servers served when the current load of the web server process is greater than or equal to the first preset threshold a third allocation unit 39, configured to: when the determination result of the determining unit is negative, allocate a web server process to the web site; when the determining result of the determining unit 38 is yes, if the other web If the current load of the server process is greater than or equal to the second preset threshold, the web server process is re-allocated, and if the current load of the other web server process is less than the second preset threshold, the web service of the web site is adjusted. The weight of the server process.
其中, 所述第一预设阔值和第二预设阔值的意义与方法实施例中的相同, 可根据系统实际运行情况, 由系统运行状态监测人员自行设定, 例如所述第一 预设阔值可为 70% , 第二预设阔值可为 40%。  The meanings of the first preset threshold and the second preset threshold are the same as those in the method embodiment, and may be set by the system operation state monitoring personnel according to actual operating conditions of the system, for example, the first pre- The set value can be 70%, and the second preset value can be 40%.
此外, 本发明实施例还提供了一种实现多 Web应用请求调度的系统。  In addition, an embodiment of the present invention further provides a system for implementing multi-web application request scheduling.
如图 6所示, 所述系统包括: 域名服务器 41 , 管理控制单元 42 , 至少一个 负载均衡服务器 43以及至少一个 Web服务器 44。  As shown in FIG. 6, the system includes: a domain name server 41, a management control unit 42, at least one load balancing server 43, and at least one web server 44.
其中, 所述域名服务器 41 , 用于向所述管理控制单元发送域名解析请求, 并从所述管理控制单元为其分配的负载均衡服务器中确定为其服务的负载均衡 服务器。 管理控制单元 42 , 用于根据所述域名服务器的域名解析请求为所述域 名服务器分配至少一个负载均衡服务器; 接收为所述域名服务器服务的负载均 衡服务器发送的分配 Web服务器进程请求为所述负载均衡服务器分配至少一个The domain name server 41 is configured to send a domain name resolution request to the management control unit, and determine a load balancing server served by the management control unit for the load balancing server allocated thereto. The management control unit 42 is configured to use, according to the domain name resolution request of the domain name server, the domain The name server allocates at least one load balancing server; receiving an allocation web server process request sent by the load balancing server serving the domain name server to allocate at least one for the load balancing server
Web服务器进程; 其中, 在所述分配 Web服务器进程请求中携带所述用户终端请 求的实际域名。 所述负载均衡服务器 43 , 用于从所述管理控制单元为其分配的 Web服务器进程中选择 Web服务器进程, 将所述用户终端的 HTTP请求发送给选 择的 Web服务器进程。所述 Web服务器 44 ,用于处理所述用户终端的 HTTP请求。 The web server process; wherein the actual domain name requested by the user terminal is carried in the request for allocating a web server process. The load balancing server 43 is configured to select a web server process from the web server process allocated by the management control unit, and send the HTTP request of the user terminal to the selected web server process. The web server 44 is configured to process an HTTP request of the user terminal.
其中, 所述管理控制单元和域名服务器之间的接口为 F1接口, 所述管理控 制单元和负载均衡服务器之间的接口为 F2接口, 所述管理控制单元和各 Web服 务器之间的接口为 F 3接口。  The interface between the management control unit and the domain name server is an F1 interface, and the interface between the management control unit and the load balancing server is an F2 interface, and the interface between the management control unit and each web server is F. 3 interface.
另外, 所述管理控制单元在为所述域名服务器分配至少一个负载均衡服务 器时, 根据系统中各负载均衡服务器的负载情况, 选择负载最低的至少一个负 载均衡服务器, 并将选择的所述至少一个负载均衡服务器的 IP地址和负载信息 存储在负载均衡服务器列表中, 并向所述域名服务器发送所述负载均衡服务器 列表, 而所述域名管理服务器还用于保存所述负载均衡服务器列表。  In addition, when the management control unit allocates at least one load balancing server to the domain name server, select at least one load balancing server with the lowest load according to the load condition of each load balancing server in the system, and select the at least one selected one. The IP address and load information of the load balancing server are stored in the load balancing server list, and the load balancing server list is sent to the domain name server, and the domain name management server is further configured to save the load balancing server list.
并且, 在所述域名解析请求中可包括有用户终端请求的域名以及所述用户 终端的 IP地址等。 因此, 所述管理控制单元还用于根据所述域名解析请求对所 述用户终端请求的域名进行解析。 使得负载均衡服务器上不必存储大量的域名 和 Web服务器的对应关系, 从而节省存储空间。  Moreover, the domain name resolution request may include a domain name requested by the user terminal, an IP address of the user terminal, and the like. Therefore, the management control unit is further configured to parse the domain name requested by the user terminal according to the domain name resolution request. This eliminates the need to store a large number of domain names and Web server correspondences on the load balancing server, thereby saving storage space.
为了达到节能的效果, 所述管理控制单元还用于根据系统中各负载均衡服 务器的总负载程度, 增加或减少服务的负载均衡服务器的数量; 或者根据系统 中各 Web服务器的 Web服务器主机系统的总负载程度, 增加或减少服务的 Web 服务器主机系统的数量。  In order to achieve the effect of energy saving, the management control unit is further configured to increase or decrease the number of load balancing servers of the service according to the total load degree of each load balancing server in the system; or according to the web server host system of each web server in the system. The total load level, the number of web server host systems that increase or decrease the service.
其中, 在所述 Web服务器主机系统中, 还可包括管理代理单元(未图示), 主要用来管理 Web服务器进程, 如启动 Web服务器进程, 控制 Web服务器进程 加载、 卸载应用, 杀死该 Web服务器进程等; 并且所述管理代理单元还用于作 为所述管理控制单元和各 Web服务器进程之间的通讯中介: 向各 Web服务器进 程转发所述管理控制单元的调度任务, 以及将 Web服务器进程的负载状况上报 给所述管理控制单元。 所述管理代理单元和各 Web服务器进程之间的接口为 T1 接口。 The web server host system may further include a management agent unit (not shown), which is mainly used to manage the web server process, such as starting a web server process, controlling the web server process to load, uninstalling the application, and killing the web. a server process or the like; and the management agent unit is further used as a communication intermediary between the management control unit and each web server process: to each web server The process forwards the scheduling task of the management control unit, and reports the load status of the web server process to the management control unit. The interface between the management agent unit and each web server process is a T1 interface.
因此, 为了提高各 Web服务器处理进程的处理效率, 所述管理控制单元可 通过所述 Web服务器主机系统中的管理代理单元获取或者直接获取各 Web服务 器主机系统中的 Web服务器进程的当前负载信息。 并且, 所述管理控制单元可 根据所述当前负载信息, 当所述 Web服务器进程的当前负载大于等于第一预设 阔值时, 确定所述 Web服务器进程服务的 Web站点是否还有服务的其他 Web服 务器进程; 若没有, 则为所述 Web站点分配 Web服务器进程; 若有, 则当所述 其他 Web 服务器进程的当前负载均大于等于第二预设阔值时, 重新分配 Web服 务器进程, 当所述其他 Web 服务器进程的当前负载小于第二预设阔值时, 调整 为所述 Web站点服务的 Web 服务器进程的权重。  Therefore, in order to improve the processing efficiency of each web server processing process, the management control unit may acquire or directly obtain current load information of the web server process in each web server host system through the management agent unit in the web server host system. And the management control unit may determine, according to the current load information, whether the web site served by the web server process has other services when the current load of the web server process is greater than or equal to a first preset threshold. Web server process; if not, assigning a web server process to the web site; if yes, reassigning the web server process when the current load of the other web server processes is greater than or equal to a second predetermined threshold When the current load of the other web server process is less than the second preset threshold, the weight of the web server process served by the web site is adjusted.
其中, 所述第一预设阔值和第二预设阔值的意义与方法实施例中的相同, 可根据系统实际运行情况, 由系统运行状态监测人员自行设定, 例如所述第一 预设阔值可为 70% , 第二预设阔值可为 40%。  The meanings of the first preset threshold and the second preset threshold are the same as those in the method embodiment, and may be set by the system operation state monitoring personnel according to actual operating conditions of the system, for example, the first pre- The set value can be 70%, and the second preset value can be 40%.
由上可以看出, 本发明实施例所述的实现多 Web应用请求调度的系统, 由 管理控制单元根据域名服务器的域名解析请求, 对负载均衡服务器进行调度管 理, 即从多个负载均衡服务器中为所述域名服务器选择能够为域名服务器提供 服务的负载均衡服务器; 同时, 由所述管理控制单元根据由所述域名服务器所 选择的负载均衡服务器的分配 Web服务器进程请求, 对 Web服务器进程进行调 度管理, 即从多个 Web服务器进程中为所述负载均衡服务器选择能够处理用户 终端的 HTTP请求的 Web服务器进程。 因此, 利用本发明实施例, 无需在负载均 衡服务器上手动配置用户终端请求的域名和 Web服务器的对应关系, 从而能够 同时处理大量 Web站点的应用请求。  As can be seen from the above, in the system for implementing multi-web application request scheduling according to the embodiment of the present invention, the management control unit performs scheduling management on the load balancing server according to the domain name resolution request of the domain name server, that is, from multiple load balancing servers. Selecting, for the domain name server, a load balancing server capable of serving the domain name server; and simultaneously scheduling, by the management control unit, the web server process according to the request of the web server process of the load balancing server selected by the domain name server Management, that is, selecting a web server process capable of processing an HTTP request of the user terminal for the load balancing server from a plurality of web server processes. Therefore, with the embodiment of the present invention, it is not necessary to manually configure the correspondence between the domain name requested by the user terminal and the Web server on the load balancing server, so that the application requests of a large number of Web sites can be simultaneously processed.
综上所述, 本发明实施例所述的实现多 Web应用请求调度的方法、 装置及 系统, 无需在负载均衡服务器上手动配置用户终端请求的域名和 Web服务器的 对应关系, 从而能够同时处理大量 Web站点的应用请求。 In summary, the method, device, and system for implementing multi-web application request scheduling according to embodiments of the present invention do not need to manually configure a domain name and a web server requested by a user terminal on a load balancing server. Correspondence, so that it can process application requests of a large number of Web sites at the same time.
并且, 由于能够对负载均衡服务器和 Web服务器主机系统的状态进行管理, 从而达到了节能的效果。  Moreover, since the state of the load balancing server and the web server host system can be managed, energy saving effects are achieved.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于 此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到 变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应 以所述权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims

权 利 要求 书 Claim
1、 一种实现多 Web应用请求调度的方法, 其特征在于, 所述方法包括: 接收由域名服务器发送的域名解析请求;  A method for implementing a multi-web application request scheduling, the method comprising: receiving a domain name resolution request sent by a domain name server;
根据所述域名解析请求为所述域名服务器分配至少一个负载均衡服务器; 接收为所述域名服务器服务的负载均衡服务器发送的分配 Web服务器进程 请求;  Allocating at least one load balancing server to the domain name server according to the domain name resolution request; receiving an allocation web server process request sent by a load balancing server serving the domain name server;
根据所述分配 Web服务器进程请求, 为所述负载均衡服务器分配至少一个 Web服务器进程, 使得所述负载均衡服务器将所述用户终端的 HTTP请求发送给 所述 Web服务器进程。  And assigning, according to the allocating the web server process request, the load balancing server to the at least one web server process, so that the load balancing server sends the HTTP request of the user terminal to the web server process.
2、 根据权利要求 1所述的方法, 其特征在于, 在所述接收由域名服务器发 送的域名解析请求后, 所述方法还包括:  The method according to claim 1, wherein after the receiving the domain name resolution request sent by the domain name server, the method further includes:
对携带在所述域名解析请求中的所述用户终端请求的域名进行解析。  Parsing the domain name requested by the user terminal carried in the domain name resolution request.
3、 根据权利要求 1所述的方法, 其特征在于, 为所述域名服务器分配至少 一个负载均衡服务器包括:  3. The method according to claim 1, wherein allocating at least one load balancing server to the domain name server comprises:
根据系统中各负载均衡服务器的负载情况, 选择负载最低的至少一个负载 均衡服务器, 并将选择的所述至少一个负载均衡服务器的 IP地址和负载信息存 储在负载均衡服务器列表中;  Selecting at least one load balancing server with the lowest load according to the load condition of each load balancing server in the system, and storing the selected IP address and load information of the at least one load balancing server in the load balancing server list;
向所述域名服务器发送所述负载均衡服务器列表, 使得所述域名服务器根 据所述负载均衡服务器列表中的负载均衡服务器的负载信息选择负载均衡服务 器。  Sending the load balancing server list to the domain name server, so that the domain name server selects a load balancing server according to load information of the load balancing server in the load balancing server list.
4、 根据权利要求 3所述的方法, 其特征在于, 所述方法还包括: 所述域名服务器保存所述负载均衡服务器列表。  The method according to claim 3, wherein the method further comprises: the domain name server saving the load balancing server list.
5、 根据权利要求 1所述的方法, 其特征在于, 根据所述分配 Web服务器进 程请求, 为所述域名服务器分配至少一个 Web服务器进程包括:  The method according to claim 1, wherein the assigning the at least one web server process to the domain name server according to the allocating a web server process request comprises:
获取与所述分配 Web服务器进程请求中所述用户终端请求的实际域名对应 的 Web站点信息; 根据所述 Web站点信息判断是否存在为所述 Web站点服务的 Web服务器进 程; Obtaining web site information corresponding to the actual domain name requested by the user terminal in the request for allocating the web server process; Determining, according to the web site information, whether there is a web server process serving the web site;
当存在为所述 Web站点服务的 Web服务器进程时, 根据存储的 Web服务器 进程与 Web站点的对应关系为所述域名服务器分配至少一个 Web服务器进程; 当不存在为所述 Web站点 Λ良务的 Web 务器进程时, 重新为所述 Web站点 分配至少一个 Web服务器进程。  When there is a web server process serving the web site, assigning at least one web server process to the domain name server according to the corresponding relationship between the stored web server process and the web site; when there is no service for the web site When the web server process, reassign at least one web server process to the web site.
6、 根据权利要求 5所述的方法, 其特征在于, 当不存在为所述 Web站点服 务的 Web服务器进程时, 重新为所述 Web站点分配至少一个 Web服务器进程包 括:  6. The method according to claim 5, wherein when there is no web server process serving the web site, re-assigning at least one web server process to the web site comprises:
选择用来加载所述 Web站点的 Web服务器主机系统, 并请求所述 Web服务 器主机系统为所述 Web站点分配 Web服务器进程。  A web server host system for loading the web site is selected, and the web server host system is requested to allocate a web server process for the web site.
7、 根据权利要求 6所述的方法, 其特征在于, 所述选择用来加载所述 Web 站点的 Web服务器主机系统包括:  7. The method according to claim 6, wherein the selecting a web server host system for loading the web site comprises:
从所有的 Web服务器主机系统中选取负载最低且可用 Web服务器进程数量 不为零的 Web服务器主机系统。  Select the Web server host system with the lowest load and the number of available Web server processes is not zero from all Web server host systems.
8、 根据权利要求 1-7任一所述的方法, 其特征在于, 所述方法还包括: 根据各负载均衡服务器的总负载程度, 增加或减少服务的负载均衡服务器 的数量。  The method according to any one of claims 1-7, wherein the method further comprises: increasing or decreasing the number of load balancing servers of the service according to the total load level of each load balancing server.
9、 根据权利要求 1-7任一所述的方法, 其特征在于, 所述方法还包括: 根据各 Web服务器主机系统的总负载程度, 增加或减少服务的 Web服务器 主机系统的数量。  The method according to any one of claims 1-7, wherein the method further comprises: increasing or decreasing the number of served web server host systems according to the total load level of each web server host system.
1 0、 根据权利要求 1-7任一所述的方法, 其特征在于, 所述方法还包括: 获取各 Web服务器主机系统中的 Web服务器进程的当前负载信息; 根据所述当前负载信息, 当所述 Web服务器进程的当前负载大于等于第一 预设阔值时, 确定所述 Web服务器进程所服务的 Web站点是否还有服务的其他 Web服务器进程; 若没有, 则为所述 Web站点分配 Web服务器进程; The method according to any one of claims 1 to 7, wherein the method further comprises: acquiring current load information of a web server process in each web server host system; according to the current load information, When the current load of the web server process is greater than or equal to the first preset threshold, determining whether the web server served by the web server process has other web server processes served; If not, assign a web server process to the web site;
若有, 则当所述其他 Web服务器进程的当前负载均大于等于第二预设阔值 时, 重新分配 Web服务器进程, 当所述其他 Web 服务器进程的当前负载小于第 二预设阔值时, 调整为所述 Web站点服务的 Web服务器进程的权重。  If yes, when the current load of the other web server processes is greater than or equal to the second preset threshold, the web server process is re-allocated, when the current load of the other web server processes is less than the second preset threshold, Adjust the weight of the web server process served for the web site.
1 1、 一种实现多 Web应用请求调度的装置, 其特征在于, 包括:  1 1. A device for implementing multi-web application request scheduling, which is characterized in that:
第一请求接收单元, 用于接收由域名服务器发送的域名解析请求; 第一分配单元, 用于根据所述域名解析请求为所述域名服务器分配至少一 个负载均衡服务器;  a first request receiving unit, configured to receive a domain name resolution request sent by the domain name server, and a first allocation unit, configured to allocate at least one load balancing server to the domain name server according to the domain name resolution request;
第二请求接收单元, 用于接收为所述域名服务器服务的负载均衡服务器发 送的分配 Web服务器进程请求;  a second request receiving unit, configured to receive an allocation web server process request sent by a load balancing server served by the domain name server;
第二分配单元, 用于根据所述分配 Web服务器进程请求, 为所述负载均衡 服务器分配至少一个 Web服务器进程, 使得所述负载均衡服务器将所述用户终 端的 HTTP请求发送给所述 Web服务器进程。  a second allocation unit, configured to allocate, according to the allocating a web server process request, at least one web server process to the load balancing server, so that the load balancing server sends an HTTP request of the user terminal to the web server process .
12、 根据权利要求 1 1所述的装置, 其特征在于, 所述第一分配单元包括: 选择模块, 用于根据各负载均衡服务器的负载情况, 选择负载最低的至少 一个负载均衡服务器;  The device according to claim 1 , wherein the first allocating unit comprises: a selecting module, configured to select at least one load balancing server with the lowest load according to load conditions of each load balancing server;
存储模块, 用于将选择的所述至少一个负载均衡服务器的 IP地址和负载信 息存储在负载均衡服务器列表中;  a storage module, configured to store the selected IP address and load information of the at least one load balancing server in a load balancing server list;
发送模块, 用于向所述域名服务器发送所述负载均衡服务器列表, 使得所 述域名服务器根据所述负载均衡服务器列表中的负载均衡服务器的负载信息选 择负载均衡服务器。  And a sending module, configured to send the load balancing server list to the domain name server, so that the domain name server selects a load balancing server according to load information of the load balancing server in the load balancing server list.
1 3、 根据权利要求 1 1所述的装置, 其特征在于, 所述第二分配单元包括: 请求解析模块, 用于获取与所述分配 Web服务器进程请求中所述用户终端 请求的实际域名对应的 Web站点信息;  The device according to claim 11, wherein the second allocating unit comprises: a request parsing module, configured to acquire, corresponding to an actual domain name requested by the user terminal in the request of the allocating web server process Web site information;
判断模块, 用于根据所述 Web站点信息判断是否存在为所述 Web站点服务 的 Web服务器进程; 分配模块, 用于当存在为所述 Web站点服务的 Web服务器进程时, 根据存 储的 Web服务器进程与 Web站点的对应关系为所述域名服务器分配至少一个 Web 服务器进程; 当不存在为所述 Web站点服务的 Web服务器进程时, 重新为所述 Web站点分配至少一个 Web服务器进程。 a determining module, configured to determine, according to the web site information, whether there is a web server process serving the web site; An allocation module, configured to allocate at least one web server process to the domain name server according to a corresponding relationship between the stored web server process and the web site when there is a web server process serving the web site; when not present for the web server When the web server process of the site service is re-allocated at least one web server process for the web site.
14、 根据权利要求 1 3所述的装置, 其特征在于, 当不存在为所述 Web站点 服务的 Web服务器进程时, 所述分配模块具体用于从所有的 Web服务器主机系 统中选取负载最低且可用 Web服务器进程数量不为零的 Web服务器主机系统, 并请求所述 Web服务器主机系统为所述 Web站点分配 Web服务器进程。  The device according to claim 13, wherein when there is no web server process serving the web site, the allocating module is specifically configured to select the lowest load from all web server host systems. A web server host system with a non-zero number of web server processes is available, and the web server host system is requested to allocate a web server process to the web site.
15、 根据权利要求 1 1-14任一所述的装置, 其特征在于, 所述装置还包括: 域名解析单元, 用于对携带在所述域名解析请求中的所述用户终端请求的 域名进行解析。  The device according to any one of claims 1 to 14, wherein the device further comprises: a domain name resolution unit, configured to perform a domain name requested by the user terminal carried in the domain name resolution request Analysis.
16、 根据权利要求 1 1-14任一所述的装置, 其特征在于, 所述装置还包括: 控制单元, 用于根据各负载均衡服务器的总负载程度, 增加或减少服务的 负载均衡服务器的数量; 或者根据各 Web服务器主机系统的总负载程度, 增加 或减少服务的 Web服务器主机系统的数量。  The device according to any one of claims 1 to 14, wherein the device further comprises: a control unit, configured to increase or decrease a service load balancing server according to a total load degree of each load balancing server; Quantity; or increase or decrease the number of served web server host systems based on the total load of each web server host system.
17、 根据权利要求 1 1-14任一所述的装置, 其特征在于, 所述装置还包括: 信息获取单元, 用于获取各 Web服务器主机系统中的 Web服务器进程的当 前负载信息;  The device according to any one of claims 1 to 14, wherein the device further comprises: an information acquiring unit, configured to acquire current load information of a web server process in each web server host system;
判断单元, 用于根据所述当前负载信息, 当所述 Web服务器进程的当前负 载大于等于第一预设阔值时, 判断所述 Web服务器进程服务的 Web站点是否还 有服务的其他 Web服务器进程;  a determining unit, configured to determine, according to the current load information, when the current load of the web server process is greater than or equal to a first preset threshold, determining whether the web server served by the web server process has other web server processes served ;
第三分配单元, 用于当所述判断单元的判断结果为否时, 为所述 Web站点 分配 Web服务器进程; 当所述判断单元的判断结果为是时, 若所述其他 Web服 务器进程的当前负载均大于等于第二预设阔值, 则重新分配 Web服务器进程, 若所述其他 Web服务器进程的当前负载小于第二预设阔值, 则调整为所述 Web 站点服务的 Web服务器进程的权重。 a third allocation unit, configured to: when the determination result of the determining unit is negative, allocate a web server process to the web site; when the determining result of the judging unit is yes, if the other web server process is current If the load is greater than or equal to the second preset threshold, the web server process is re-allocated, and if the current load of the other web server process is less than the second preset threshold, the weight of the web server process served by the web site is adjusted. .
18、 一种实现多 Web应用请求调度的系统, 其特征在于, 所述系统包括: 域名服务器, 管理控制单元, 至少一个负载均衡服务器以及至少一个 Web服务 器; 18. A system for implementing multi-web application request scheduling, the system comprising: a domain name server, a management control unit, at least one load balancing server, and at least one web server;
其中, 所述域名服务器, 用于向所述管理控制单元发送域名解析请求, 并 从所述管理控制单元为其分配的负载均衡服务器中确定为其服务的负载均衡服 务器;  The domain name server is configured to send a domain name resolution request to the management control unit, and determine, from the load balancing server allocated by the management control unit, a load balancing server served thereby;
管理控制单元, 用于根据所述域名服务器的域名解析请求为所述域名服务 器分配至少一个负载均衡服务器; 接收为所述域名服务器服务的负载均衡服务 器发送的分配 Web服务器进程请求, 为所述负载均衡服务器分配至少一个 Web 服务器进程;  a management control unit, configured to allocate at least one load balancing server to the domain name server according to the domain name resolution request of the domain name server; receive an allocation web server process request sent by the load balancing server serving the domain name server, for the load The equalization server allocates at least one web server process;
所述负载均衡服务器, 用于从所述管理控制单元为其分配的 Web服务器进 程中选择 Web服务器进程, 将所述用户终端的 HTTP请求发送给选择的 Web服务 器进程;  The load balancing server is configured to select a web server process from the web server process allocated by the management control unit, and send the HTTP request of the user terminal to the selected web server process;
所述 Web服务器, 用于处理所述用户终端的 HTTP请求。  The web server is configured to process an HTTP request of the user terminal.
19、 根据权利要求 18所述的系统, 其特征在于, 所述管理控制单元在为所 述域名服务器分配至少一个负载均衡服务器时, 根据系统中各负载均衡服务器 的负载情况, 选择负载最低的至少一个负载均衡服务器, 并将选择的所述至少 一个负载均衡服务器的 IP地址和负载信息存储在负载均衡服务器列表中, 将所 述负载均衡服务器列表发送给所述域名管理服务器;  The system according to claim 18, wherein the management control unit selects at least one load balancing server for the domain name server, and selects at least the lowest load according to the load condition of each load balancing server in the system. a load balancing server, and storing the selected IP address and load information of the at least one load balancing server in a load balancing server list, and sending the load balancing server list to the domain name management server;
所述域名管理服务器还用于保存所述负载均衡服务器列表。  The domain name management server is further configured to save the load balancing server list.
20、 根据权利要求 18或 19所述的系统, 其特征在于, 所述管理控制单元, 还用于对携带在所述域名解析请求中的所述用户终端请求的域名进行解析。  The system according to claim 18 or 19, wherein the management control unit is further configured to parse a domain name requested by the user terminal carried in the domain name resolution request.
21、 根据权利要求 18或 19所述的系统, 其特征在于, 所述管理控制单元 还用于, 获取各 Web服务器主机系统中的 Web服务器进程的当前负载信息; 当 所述 Web服务器进程的当前负载大于等于第一预设阔值时, 确定所述 Web服务 器进程服务的 Web站点是否还有服务的其他 Web服务器进程; 若没有, 则为所 述 Web站点分配 Web服务器进程; 若有, 则当所述其他 Web服务器进程的当前 负载均大于等于第二预设阈值时,重新分配 Web服务器进程, 当所述其他 Web服 务器进程的当前负载小于第二预设阈值时, 调整为所述 Web站点服务的 Web服 务器进程的权重。 The system according to claim 18 or 19, wherein the management control unit is further configured to: acquire current load information of a web server process in each web server host system; when the current web server process is current When the load is greater than or equal to the first preset threshold, determine whether the Web server served by the Web server process has other Web server processes that serve; if not, then The web site allocates a web server process; if yes, when the current load of the other web server processes is greater than or equal to a second preset threshold, the web server process is reassigned, when the current load of the other web server processes is less than the first When the threshold is preset, the weight of the web server process served by the web site is adjusted.
PCT/CN2009/075977 2009-12-24 2009-12-24 Method, apparatus and system for implementing multiple web application requests scheduling WO2011075899A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200980118720.5A CN102217247B (en) 2009-12-24 2009-12-24 Method, apparatus and system for implementing multiple web application requests scheduling
PCT/CN2009/075977 WO2011075899A1 (en) 2009-12-24 2009-12-24 Method, apparatus and system for implementing multiple web application requests scheduling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2009/075977 WO2011075899A1 (en) 2009-12-24 2009-12-24 Method, apparatus and system for implementing multiple web application requests scheduling

Publications (1)

Publication Number Publication Date
WO2011075899A1 true WO2011075899A1 (en) 2011-06-30

Family

ID=44194916

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/075977 WO2011075899A1 (en) 2009-12-24 2009-12-24 Method, apparatus and system for implementing multiple web application requests scheduling

Country Status (2)

Country Link
CN (1) CN102217247B (en)
WO (1) WO2011075899A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105939371A (en) * 2015-11-24 2016-09-14 中国银联股份有限公司 Load balancing method and load balancing system for cloud computing

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312629B (en) * 2012-03-09 2018-02-27 深圳市腾讯计算机系统有限公司 A kind of CDN flow allocation methods, equipment and system
CN103826101A (en) * 2014-02-17 2014-05-28 宁波公众信息产业有限公司 Cloud video intelligent service system
CN103873590B (en) * 2014-04-01 2017-04-26 北京奇立软件技术有限公司 Accessing method of webpage IM and webpage browser
CN106953926A (en) * 2017-03-31 2017-07-14 北京奇艺世纪科技有限公司 A kind of method for routing and device
CN113138893A (en) * 2021-03-26 2021-07-20 河北航天信息技术有限公司 Method for solving problem of Java Web application report 500Internal Error
CN115379027B (en) * 2022-04-27 2023-08-01 国家计算机网络与信息安全管理中心 DNS message resolution improvement method, device, improvement equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516831A (en) * 2001-03-29 2004-07-28 国际商业机器公司 Wordload management of stateful program entities
EP1566940A1 (en) * 2004-02-20 2005-08-24 Alcatel Alsthom Compagnie Generale D'electricite A method, a service system, and a computer software product of self-organizing distributing services in a computing network
CN1755634A (en) * 2004-09-29 2006-04-05 国际商业机器公司 Method, system for supporting a large number of intermittently used application clusters
CN101431532A (en) * 2008-12-15 2009-05-13 中国电信股份有限公司 Content routing method, load balancing equipment and resource management equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101111078A (en) * 2007-08-21 2008-01-23 华为技术有限公司 Method for implementing load equalization in pool district and core network node

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516831A (en) * 2001-03-29 2004-07-28 国际商业机器公司 Wordload management of stateful program entities
EP1566940A1 (en) * 2004-02-20 2005-08-24 Alcatel Alsthom Compagnie Generale D'electricite A method, a service system, and a computer software product of self-organizing distributing services in a computing network
CN1755634A (en) * 2004-09-29 2006-04-05 国际商业机器公司 Method, system for supporting a large number of intermittently used application clusters
CN101431532A (en) * 2008-12-15 2009-05-13 中国电信股份有限公司 Content routing method, load balancing equipment and resource management equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105939371A (en) * 2015-11-24 2016-09-14 中国银联股份有限公司 Load balancing method and load balancing system for cloud computing

Also Published As

Publication number Publication date
CN102217247A (en) 2011-10-12
CN102217247B (en) 2013-09-11

Similar Documents

Publication Publication Date Title
WO2011075899A1 (en) Method, apparatus and system for implementing multiple web application requests scheduling
US10951733B2 (en) Route selection method and system, network acceleration node, and network acceleration system
CN109274707B (en) Load scheduling method and device
EP3244589B1 (en) Method and system for guaranteeing resource utilization rate of website using content distribution network
US9122537B2 (en) Balancing server load according to availability of physical resources based on the detection of out-of-sequence packets
US9154549B2 (en) Dynamic server farms
JP5901024B2 (en) Dynamic binding used for content delivery
JP5301032B2 (en) Method, apparatus and system for controlling access point
WO2016074323A1 (en) Http scheduling system and method of content delivery network
CN102480469B (en) Based on the method for the load dispatch of balancing energy and device in a kind of SIP service cluster
JP4984169B2 (en) Load distribution program, load distribution method, load distribution apparatus, and system including the same
CN102045321B (en) Flow control method and system for software downloading
WO2013091395A1 (en) Public network address allocation method, device and system
CN111464649B (en) Access request source returning method and device
US10404603B2 (en) System and method of providing increased data optimization based on traffic priority on connection
WO2011140900A1 (en) Method, device and system for group-based flow control
EP4007215A1 (en) Method for preheating resource file, and central management system
CN101076978A (en) Directed pppoe session initiation over switched ethernet
JP2005182641A (en) Dynamic load distribution system and dynamic load distribution method
WO2021120633A1 (en) Load balancing method and related device
CN102012836A (en) Process survival control method and device
WO2023284259A1 (en) Address allocation method, address allocation system, and computer-readable storage medium
JP2002259354A (en) Network system and load distributing method
JP2001202318A (en) Data distribution system
KR20160025926A (en) Apparatus and method for balancing load to virtual application server

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200980118720.5

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09852449

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09852449

Country of ref document: EP

Kind code of ref document: A1