Nothing Special   »   [go: up one dir, main page]

CN1466067A - Network station service system with load balance ability and service method thereof - Google Patents

Network station service system with load balance ability and service method thereof Download PDF

Info

Publication number
CN1466067A
CN1466067A CNA021403929A CN02140392A CN1466067A CN 1466067 A CN1466067 A CN 1466067A CN A021403929 A CNA021403929 A CN A021403929A CN 02140392 A CN02140392 A CN 02140392A CN 1466067 A CN1466067 A CN 1466067A
Authority
CN
China
Prior art keywords
server
station
website
situation
linked
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA021403929A
Other languages
Chinese (zh)
Inventor
林光信
温世仁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNA021403929A priority Critical patent/CN1466067A/en
Publication of CN1466067A publication Critical patent/CN1466067A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention is a kind of web serving system and the method which has load balancing capability. It applies to the server group and the group serves for a special web, it can provide a joining with load balancing to the user end, so the user can connect with the special web more quickly and more efficiently. The character lies in that it presets a set of space coordinate parameter on each server; by this it displays the position of each server, so each serve can judge the instance between it and the other servers. When any server receives the joining request, if the server is full loaded, it inquires the load state of the other server according to the distance by the longitude and latitude data until finding a loadable server and the server is connected to the user and realizes the purpose of load balancing.

Description

Website service system and method for servicing thereof with load balance ability
Invention field
The present invention relates to a kind of computer networking technology, particularly have and relate to a kind of website service system and method for servicing thereof with load balance ability, it is applicable to a server farm, and this server farm is in order to serve a specific website, can provide the website of a load balance to link to client station, and allow client station be linked to this specific website more fast and effectively.
Background of invention
Master-slave mode (Client-Server) website service system can allow the user see through a client station and be linked to any station server in the server farm, the service function of using this server to provide by this is for example for browsing the content of the website that this server provides.
Yet, the shortcoming of the framework of known master-slave mode website service system is simultaneously the website to be sent when linking request in same website as the client station of a myriad of, just will cause the server of this website to reduce because of linking the excessive data rate that makes of load, even and make server temporarily stop, make client station can't be linked to this specific website effectively.
Summary of the invention
In order to overcome the deficiencies in the prior art, fundamental purpose of the present invention is to be to provide a kind of website service system and method for servicing thereof with load balance ability, it can provide the website of load balance to link to client station, can allow client station be linked to the specific website that this website service system is served more fast and effectively.
The principal feature of website service system of the present invention and method of servicing thereof is each station server in the server farm is all presetted one group of exclusive volume coordinate parameter, it for example is longitude and latitude, the geographic position that shows each station server place by this is in order to allow each station server all can judge distance between itself and other each station server by these a little longitude and latitude data.
In addition, a load state detecting module also is set in each station server, is a fully loaded situation or is a undercapacity situation in order to the present binding load state of server under measuring.
When practical application, when any station server in the server farm receives website that client station sends when linking request, if this server is fully loaded situation, then just according to the longitude and latitude data of Servers-all, inquire after the load state of other each station server in regular turn according to the distance distance, till finding a load state to be the server of undercapacity situation, and the server of this undercapacity situation is linked to client station, reaches the order ground of servo load balance.
Description of drawings
Essence technology contents of the present invention and embodiment have disclosed in detail with graphic mode and have been drawn in the middle of the appended accompanying drawing of this instructions.These accompanying drawing content Descriptions are as follows:
Fig. 1 is a system architecture synoptic diagram, wherein shows the basic system architecture of website service of the present invention system;
Fig. 2 A and 2B are geometric representation, and it is in order to illustrate the ultimate principle of longitude and latitude spacing method of the present invention;
Fig. 3 is a process flow diagram, wherein shows the basic procedure step of the method for servicing that website service of the present invention system is performed.
Embodiment
Below be conjunction with figs., describe one of website service system of the present invention and method of servicing thereof embodiment in detail.
Please at first consult Fig. 1, when practical application, website service system of the present invention (as the part that frame of broken lines comprised of label 100 indications) is collocation to a network system, for example be internet (Internet) 10, be linked to the specific website that website service of the present invention system 100 is provided in order to allow one or more client station 20 can see through internet 10.
Website service of the present invention system 100 comprises many servers that link mutually (among Fig. 1, be that example explains for example) with 5 station servers 110,120,130,140,150, and wherein each station server 110,120,130,140,150 is installed in different geographic position respectively, for example for be placed in the Taibei, Hsinchu, the platform respectively, Tai Nan and Kaohsiung; And each station server 110,120,130,140,150 is all in order to providing an identical specific website, that is client station 20 can be linked to those server 110,120,130,140,150 wherein any station servers and browses Webpage material in this specific website.
Principal feature of the present invention promptly is wherein each station server 110,120,130,140,150 is all presetted one group of exclusive volume coordinate parameter, in order to show the geographic position at each station server 110,120,130,140,150 place.In present embodiment, for example represent the geographic position at each station server 110,120,130,140,150 place with longitude and latitude.
Suppose (α 1, β 1) longitude and latitude in geographic position at representative server 110 places; (α 2, β 2) longitude and latitude in geographic position at representative server 120 places; (α 3, β 3) longitude and latitude in geographic position at representative server 130 places; (α 4, β 4) longitude and latitude in geographic position at representative server 140 places; (α 5, β 5) longitude and latitude in geographic position at representative server 150 places.
Shown in Fig. 2 A, suppose that (X, Y Z) represent geographic position on the earth surface, and order ground ball center is that (O, O O), and make that X-Y plane is the equatorial plane to the rectangular coordinate initial point with three-dimensional cartesian coordinate system system; And suppose that the earth is a sphere body, and its radius is R; Then on the earth surface longitude and latitude be (α, geographic position P β) (wherein α represents longitude, and with east longitude for being negative value on the occasion of, west longitude; β represents latitude, and with north latitude for being negative value on the occasion of, south latitude), its three-dimensional rectangular coordinate value is:
X=R?cosβ?cosα
Y=R?cosβ?sinα
Z=R?sinβ
Follow shown in Fig. 2 B again, suppose lip-deep two the geographic position P of the earth 1And P 2Longitude and latitude be respectively (α 1, β 1) and (α 2, β 2), these two geographic position P then 1And P 2Between spherical distance D 12Can try to achieve according to the basis vector theorem: D 12 = 2 πR · θ 2 π = R · θ = R cos - 1 [ cos β 1 cos β 2 cos ( α 1 - α 2 ) + sin β 1 sin β 2 ] Below will claim this formula to be " longitude and latitude spacing formula ".
In addition, each station server 110,120,130,140,150 in the website service of the present invention system 100 is provided with a load state detection module (its label is respectively 111,121,131,141,151), and its server 110,120,130,140,150 present binding load states that can detect under it respectively are a fully loaded situation or are a undercapacity situation; If the undercapacity situation, it is online that the server 110,120,130,140,150 under then representing still can be accepted new client at present; If fully loaded situation, it is online to represent that then it can't accept new client at present.
The process flow diagram of Fig. 3 shows the basic procedure step of the method for servicing of website service of the present invention system.
As shown in the figure, at first carrying out an initialize routine in initial step S0, in order to the volume coordinate parameter with the geographic position at each station server 110,120,130,140,150 place in the website service of the present invention system 100, for example is its longitude and latitude (α 1, β 1), (α 2, β 2), (α 3, β 3), (α 4, β 4), (α 5, β 5), be set to each station server 110,120,130,140,150 respectively, and these a little longitude and latitude data can be other server and take.In addition, and a load state detecting module 111,121,131,141,151 is set respectively in each station server 110,120,130,140,150, be a fully loaded situation or be a undercapacity situation in order to the present binding load state of detecting respectively under it of server.These a little longitude and latitude data and load state can be 110,120,130,140,150 of all servers and take.
Then in step S2, client station 20 sends the wherein station server in the website binding request website service extremely of the present invention system 100, for example is server 110, is linked to the website that this server 110 is provided in order to request.
Then promptly carry out step S3, this server 110 is at first consulted the load state detection module 111 under it, so that to understand its present binding load state be a fully loaded situation or be a undercapacity situation.
If this server 110 is the undercapacity situation, then skip to step S21, the website that the client station 20 that makes an immediate response is sent links request, and its website of serving is linked to client station 20.
If this server 110 then skips to step S3 for fully loaded situation; Wherein promptly according to the longitude and latitude (α of aforesaid longitude and latitude spacing formula and each station server 110,120,130,140,150 1, β 1), (α 2, β 2), (α 3, β 3), (α 4, β 4), (α 5, β 5), calculate and find out the nearest server between the server 110 (being assumed to be server 120) therewith; That is at first calculate D 12, D 13, D 14, D 15Value, again from wherein finding out minimum value, can find out the nearest server between the server 110 therewith.
Then promptly carry out step S4, at first consult the load state detection module 121 under the server 120 of this vicinity, so that to understand these server 120 present binding load states be a fully loaded situation or be a undercapacity situation; If the undercapacity situation then skips to program step S41; Otherwise, if fully loaded situation then skips to program step S5.
In step S41, the website that client station 20 is sent links request then the so far contiguous server 120 of binding, that is contiguous thus server 120 is responsible for providing website service work to client station 20.
In step S5, check whether this server 120 is last station server (that is distance service device 110 server farthest); If not, then program is skipped to step S6, client station 20 is sent an overload message, inform that by this present all servers 110,120,130,140,150 of client user are fully loaded situation, therefore can't link request in its website of being sent of success response; If otherwise, after then server 120 being got rid of, then program is skipped back to step S3, find out time near server again, and repeat step S4 to S5.
If this nearest server 120 also is fully loaded situation at present, then then in step S3, find out again and book server 110 between the inferior near server (being assumed to be server 130) of distance.If these distance time near server 130 undercapacity situations, the website of then client station 20 being sent links request then links server 130 so far; If time near server 130 of this distance also is fully loaded situation at present, then then find out again and book server 110 between the near server of distance the 3rd, till finding a load state to be the server of undercapacity situation.
But also be fully loaded situation if inquire after a last station server (that is distance service device 110 server farthest) always, then client station 20 is sent an overload message in step S6, inform that by this present all servers 110,120,130,140,150 of user are fully loaded situation, therefore can't link request in its website of being sent of success response.
Combine it, the invention provides a kind of website service system and method for servicing thereof of novelty, its principal feature is each station server in the server farm is all presetted one group of exclusive volume coordinate parameter, it for example is longitude and latitude, the geographic position that shows each station server place whereby is in order to allow each station server all can be judged distance between itself and other each station server by these longitude and latitude data.In addition, a load state detection module also is set in each station server, is a fully loaded situation or is a undercapacity situation in order to the present binding load state of server under detecting.When practical application, when any station server in the server farm receives website that client station sends when linking request, if this server is fully loaded situation, then just according to the longitude and latitude data of Servers-all, inquire after the load state of other each station server in regular turn according to the distance distance, till finding a load state to be the server of undercapacity situation, and the server of this undercapacity situation is linked to client station, reach the order ground of servo load balance whereby.
The above is preferred embodiment of the present invention only, is not in order to limit the scope of essence technology contents of the present invention.Essence technology contents of the present invention broadly is defined in the claim scope.Any technology entity or method that other people are finished if be identical or be a kind of change of equivalence with the definien of claim institute, all will be regarded as being covered by among this scope of patent protection.

Claims (5)

1. website service method with load balance ability, it is applicable to a server farm, and this server farm comprises multiple servers, and wherein each station server all can provide an identical specific website, in order to allow a client station can be linked to this specific website;
It is characterized in that this website service system service method comprises following steps at least:
(1) with in one group of volume coordinate parameter setting each station server to this server farm; Wherein the volume coordinate parameter under each station server is promptly represented the geographic position at this server place;
(2) the present binding load state of each station server that detects in this server farm is a fully loaded situation or is a undercapacity situation;
(3) any station server in this server farm receives a website that this client station sends when linking request, if the present binding load state of this server is fully loaded situation, then according to the volume coordinate parameter data of the Servers-all in this server farm, far and near and inquire after the load state of other each station server in regular turn according to distance, till the server of inquiring after a undercapacity situation or distance server farthest are also for fully loaded situation; And
(4) if inquire after the server of a undercapacity situation, then the server with this undercapacity situation is linked to this client station, from reaching the order ground of servo load balance.
2. website service method as claimed in claim 1 is characterized in that in step (1), and the volume coordinate parameter under each station server is the longitude and latitude in the geographic position at this server place.
3. website service system with load balance ability, it is in order to serving a specific website, and it is outwards to be linked to a network system, be linked to this specific website in order to allow a client station see through this network system;
This website service system comprises:
Many the servers that link each other, and wherein each station server all can provide an identical specific website, and presetted one group of volume coordinate parameter; Wherein the volume coordinate parameter under each station server is promptly represented the geographic position at this server place;
It is characterized in that,
Any station server in this server farm receives a website that this client station sends when linking request, if the present binding load state of this server is fully loaded situation, then according to the volume coordinate parameter data of the Servers-all in this server farm, far and near and inquire after the load state of other each station server in regular turn according to distance, till the server of inquiring after a undercapacity situation or distance server farthest are also for fully loaded situation; If inquire after the server of a undercapacity situation, then the server with this undercapacity situation is linked to this client station, thereby reaches the order ground of servo load balance.
4. website service system with load balance ability in order to serving a specific website, and outwards is linked to a network system, be linked to this specific website in order to allow a client station see through this network system;
(a) server farm, it comprises many servers that link each other, and wherein each station server all can provide an identical specific website, and has presetted one group of volume coordinate parameter; Wherein the volume coordinate parameter under each station server is promptly represented the geographic position at this server place; And
(b) at least one client station, it can be linked to any station server in this server farm;
It is characterized in that,
Any station server in this server farm receives a website that this client station sends when linking request, if the present binding load state of this server is fully loaded situation, then according to the volume coordinate parameter data of the Servers-all in this server farm, far and near and inquire after the load state of other each station server in regular turn according to distance, until inquire after one link server that load state is the undercapacity situation or distance server farthest also for fully loaded situation till; If inquiring after a binding load state is the server of undercapacity situation, then this server is linked to this client station.
5. as claim 3 or 4 described website service systems, it is characterized in that the volume coordinate parameter under each station server in the server is the longitude and latitude in the geographic position at this server place.
CNA021403929A 2002-07-02 2002-07-02 Network station service system with load balance ability and service method thereof Pending CN1466067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA021403929A CN1466067A (en) 2002-07-02 2002-07-02 Network station service system with load balance ability and service method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA021403929A CN1466067A (en) 2002-07-02 2002-07-02 Network station service system with load balance ability and service method thereof

Publications (1)

Publication Number Publication Date
CN1466067A true CN1466067A (en) 2004-01-07

Family

ID=34147559

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA021403929A Pending CN1466067A (en) 2002-07-02 2002-07-02 Network station service system with load balance ability and service method thereof

Country Status (1)

Country Link
CN (1) CN1466067A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079884B (en) * 2007-03-27 2010-11-10 腾讯科技(深圳)有限公司 A method, system and device for client login to service server
CN102063327A (en) * 2010-12-15 2011-05-18 中国科学院深圳先进技术研究院 Application service scheduling method with power consumption consciousness for data center

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079884B (en) * 2007-03-27 2010-11-10 腾讯科技(深圳)有限公司 A method, system and device for client login to service server
CN102063327A (en) * 2010-12-15 2011-05-18 中国科学院深圳先进技术研究院 Application service scheduling method with power consumption consciousness for data center
CN102063327B (en) * 2010-12-15 2013-07-24 中国科学院深圳先进技术研究院 Application service scheduling method with power consumption consciousness for data center

Similar Documents

Publication Publication Date Title
US20070233813A1 (en) Systems and methods for submitting data from a WML-based browser
US9866612B2 (en) Server-based browser system
CN1830192B (en) Method and system for asynchronously processing requests
EP1021021A2 (en) Method and apparatus for providing awareness-triggered push
JP2001507826A (en) Computer system for locating and displaying local resources
US20030195925A1 (en) Mobile information unit, service downloading server and service downloading system
WO2008157064A1 (en) Systems and methods for providing desktop or application remoting to a web browser
US7657591B2 (en) Dispatching client requests to appropriate server-side methods
CN1466067A (en) Network station service system with load balance ability and service method thereof
US7085807B2 (en) System and method for providing links to available services over a local network by a thin portal service configured to access imaging data stored in a personal imaging repository
CN109462659A (en) Embedded device remote access control system, method and storage medium
CN112882895B (en) Health check method, device, computer system and readable storage medium
US9928572B1 (en) Label orientation
Watson et al. Local Area Mobile Computing on Stock Hardware and Mostly Stock Software.
CN102236555A (en) Traffic information display method and system
WO2012082133A1 (en) Route a service
CN114819674B (en) Gravity center correction method and device for container loading, electronic equipment and storage medium
US7668930B2 (en) Web service distribution system over the World Wide Web using web services description language (WSDL) standard including implementation for uniformly generating all fault conditions in WSDL message format
CN1734449A (en) Vector computer graphics service method and system
Xin-qing et al. A new mechanism for robots control based on player/stage
Peng et al. The application of multi-agent and CORBA in mobile-GPS system
CN103399953A (en) Method and system for online display of mass data
Zhang et al. A context-aware framework supporting complex ubiquitous scenarios with augmented reality enabled
Wang et al. ISEE: Internet-based simulations for earthquake engineering, Part II: The application protocol approach
CN110458912B (en) Vehicle icon processing method and device

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication