CN101697633B - IP adaptation-based load balancing method and system thereof - Google Patents

IP adaptation-based load balancing method and system thereof Download PDF

Info

Publication number
CN101697633B
CN101697633B CN2009103095229A CN200910309522A CN101697633B CN 101697633 B CN101697633 B CN 101697633B CN 2009103095229 A CN2009103095229 A CN 2009103095229A CN 200910309522 A CN200910309522 A CN 200910309522A CN 101697633 B CN101697633 B CN 101697633B
Authority
CN
China
Prior art keywords
real server
server unit
unit
portable terminal
adaptive
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2009103095229A
Other languages
Chinese (zh)
Other versions
CN101697633A (en
Inventor
郭金发
李卫东
梁朝晖
曹军
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Iwncomm Co Ltd
Original Assignee
China Iwncomm Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Iwncomm Co Ltd filed Critical China Iwncomm Co Ltd
Priority to CN2009103095229A priority Critical patent/CN101697633B/en
Publication of CN101697633A publication Critical patent/CN101697633A/en
Application granted granted Critical
Publication of CN101697633B publication Critical patent/CN101697633B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to an IP adaptation-based load balancing method and a system thereof. The method comprises the following steps that: 1) a mobile terminal roams in a foreign network and initiates a connecting request message to an IP adaptive front-end service unit; 2) after receiving the connecting request message, the IP adaptive front-end service unit transmits a request message to a real server unit; 3) after receiving the request message, the real server unit directly returns a connecting response message carrying an address of the real server unit to the mobile terminal and creates a tunnel from the real server unit to the mobile terminal; and 4) after receiving the connecting response message, the mobile terminal acquires the address of the real server unit and creates the tunnel from the mobile terminal to the real server unit. The method and the system can overcome the service bottleneck of a single-server network, ensure the high quality, high throughput rate and high performance of network services, lighten the burden of the IP adaptive front-end service unit and be applied to various application network services of an IP layer and above.

Description

A kind of based on adaptive load-balancing method of IP and system thereof
Invention field
The invention belongs to the network security technology field, relate to a kind of based on adaptive load-balancing method of IP and system thereof.
Background technology
The computer nowadays network, because simplicity, ease of manageability and the ease for maintenance of client or server model are adopted in a large number, the IP adaptive network is continued to use this kind model too.Along with the develop rapidly of Internet, bring great challenge for the network bandwidth and server.From development of internet technology, the growth of the network bandwidth is far above the growth of processor speed and internal storage access speed.The reason that 10Gigabit Ethernet, 100Gigabit Ethernet are difficult to make its throughput reach 1Gb/s on server is the poor efficiency of protocol stack (TCP/IP) and operating system, and the poor efficiency of processor.This needs a kind of technology can make the service of IP adaptive network can comply with the growth requirement of Internet, break the application of client/server naive model, make full use of resources such as operating system and processor, the network service of high-throughput is provided, realizes the load balancing of IP adaptive network service.
Summary of the invention
There is following defective in the scheme of existing load balancing:
First kind of defective in existing load balancing scheme, can not realize the IP adaptive network;
Second kind of defective in existing load balancing scheme, can not realize secure tunnel communication.
In order to solve existing above-mentioned technical problem in the background technology, the invention provides a kind of based on adaptive load-balancing method of IP and system thereof.
Technical solution of the present invention is: the invention provides a kind ofly based on the adaptive load-balancing method of IP, its special character is: this method may further comprise the steps:
1) mobile terminal roaming is initiated connection request message to field network to IP adaptive front-end service unit;
2) after IP adaptive front-end service unit is received connection request message from portable terminal, the message that sends a request message is given the real server unit;
3) after the request message message was received in the real server unit, the connection response message that the real server unit will have the real server element address directly returned to portable terminal, and created the tunnel from the real server unit to portable terminal;
4) after portable terminal is received the connection response message of sending from the real server unit, obtain the address of real server unit, and create tunnel from portable terminal to the real server unit.
Above-mentioned steps 2) concrete steps are as follows:
2.1) after IP adaptive front-end service unit is received connection request message from portable terminal, select a real server according to the destination address hash;
2.2) after true server unit is selected, carry out the reorganization of IP bag, the request message message is encapsulated in another IP bag;
2.3) IP adaptive front-end service unit is transmitted to selected real server unit to packaged IP bag.
Above-mentioned steps 3) concrete steps are as follows:
3.1) the real server unit carries out deblocking after receiving the IP bag that transmits from IP adaptive front-end service unit, obtains the message before the IP adaptive front-end service unit package;
3.2) the real server unit finds that the destination address of former message is the external address of IP adaptive front-end service unit, begins to handle connection request;
3.3) the real server unit directly returns to portable terminal according to the connection response message that routing table will have the real server element address; Simultaneously, the tunnel of establishment from the real server unit to portable terminal.
Above-mentioned steps 4) comprises also that afterwards the step 5) portable terminal communicates by tunnel and real server unit.
Above-mentioned steps 5) also comprises the ruuning situation of step 6) IP adaptive front-end service unit real time monitoring real server unit afterwards, change the destination address hash table, adjust scheduling strategy.
A kind of based on the adaptive SiteServer LBS of IP, its special character is: comprise the portable terminal that sends connection request and set up the tunnel and communicate with the real server unit to IP adaptive front-end service unit based on the adaptive SiteServer LBS of IP, the connection request that mobile terminal receive sends and this connection request is transmitted to selection the real server unit IP adaptive front-end service unit and receive connection request that IP adaptive front-end service unit transmits and with this connection request corresponding issue portable terminal and and portable terminal set up the real server unit in tunnel.
The invention provides a kind of IP tunnel that utilizes and between real server and portable terminal, set up a tunnel, reach the purpose of multi-mobile-terminal to the IP adaptive load balancing of server, can solve Single-Server network service bottleneck, the high-quality that can guarantee the network service, high throughput rate and high performance, can alleviate IP adaptive front-end service unit burden, applicable to IP layer and above types of applications network service based on adaptive load-balancing method of IP and system thereof.Concrete advantage is as follows:
1) can solve the bottleneck that Single-Server becomes the network service.The present invention makes the IP adaptive network balanced to the load realization of Single-Server, and having solved Single-Server becomes the bottleneck that network is served.
Description of drawings
2) high-quality, high-throughput and the high-performance of network service.The present invention can make many webservers form a group, has guaranteed high-quality, high-throughput and the high-performance of network service.
3) can avoid the single-point performance of network service to become bottle-neck of network communication.Data communication of the present invention is to finish in the tunnel, without IP adaptive front-end service unit, compares like product, has alleviated the burden of IP adaptive front-end service unit, avoids the single-point performance of network service to become bottle-neck of network communication.
4) scope of application is wide.The present invention is suitable for IP layer and above types of applications network service, and simultaneously, the present invention can on-the-fly modify the IP strategy, in time avoids the influence of non-movable real server unit to portable terminal, and the scope of application is quite wide.
Fig. 1 is the adaptive load balancing system network of an IP topological structure schematic diagram;
Embodiment
Fig. 2 is an IP adaptive front-end server frame structure schematic diagram;
Fig. 3 is the structural representation based on the adaptive load-balancing method of IP of the present invention;
The application schematic diagram of this law provide based on the adaptive load-balancing method of IP is provided Fig. 4.
Referring to Fig. 1 and Fig. 2, theoretical foundation of the present invention is, is exactly one of important means that solves Single-Server network service bottleneck based on the adaptive load-balancing method of IP, wherein in the drawings, Ipafs (IP Adaptive Forward Server), i.e. IP adaptive front-end server (front-end processor); Real Server, the promptly actual real server of service to the client user (backend machine) that provide; HB (HeartBeat), i.e. heartbeat service processes.IP adaptive load balancing method is by IP tunnel (IP tunneling) an IP message to be encapsulated in another IP message, thereby make that target is that the data message of an IP address can be packed and be forwarded to another IP address, reaches a kind of method of the purpose of load balancing.Utilize IP tunneling to give a back-end server of Dynamic Selection with the request message encapsulate forwarded, response message can directly return to the client from back-end server.The principle of utilizing IP tunnel is with the network service composition on one group of server and the virtual network service of customer service.
Referring to Fig. 3 and Fig. 4, the invention provides a kind ofly based on the adaptive load-balancing method of IP, this method may further comprise the steps:
1) mobile terminal roaming is initiated the connection request message of common socket to field network to IP adaptive front-end service unit;
Figure DEST_PATH_GDA0000068118290000041
2) receive common socket connection request message when IP adaptive front-end service unit, select a real server unit according to the destination address hash from portable terminal;
3) after true server unit is selected, the front end services unit carries out the reorganization of IP bag, and request message is encapsulated in another IP bag, promptly adds the LAN IP of IP adaptive front-end service unit before former IP packet header;
The net IP of office Public network IP ?
4) message is transmitted, and IP adaptive front-end service unit is transmitted to selected real server unit to just packaged IP bag;
5) the real server unit is received after IP adaptive front-end service unit is transmitted next IP bag and is carried out deblocking, recovers the preceding message of IP adaptive front-end service unit package:
Public network IP ?
6) the real server unit finds that the destination address of former Bao Wen is a public network IP, and promptly the external address of IP adaptive front-end service unit begins to handle connection response, carries the IP address of real server unit;
7) the real server unit directly returns to portable terminal to the response message that carries its IP address according to routing table;
8) real server cell response portable terminal the time, create tunnel from the real server unit to portable terminal;
Figure DEST_PATH_GDA0000068118290000051
9) portable terminal, receive the connection response bag of sending from the real server unit after, unpack the address of extracting the real server unit, create tunnel from portable terminal to the real server unit;
10) portable terminal is by the tunnel, and real server unit direct and that IP adaptive front-end service unit is selected communicates.
11) at system's run duration, the ruuning situation of IP adaptive front-end service unit real time monitoring real server unit changes the destination address hash table, adjusts scheduling strategy.
The present invention is providing based on IP in the adaptive load-balancing method, also provide a kind of based on the adaptive SiteServer LBS of IP, this system comprises the portable terminal that sends connection request and set up the tunnel and communicate with the real server unit to IP adaptive front-end service unit, the connection request that mobile terminal receive sends and this connection request is transmitted to selection the real server unit IP adaptive front-end service unit and receive connection request that IP adaptive front-end service unit transmits and with this connection request corresponding issue portable terminal and and portable terminal set up the real server unit in tunnel.

Claims (4)

1. one kind based on the adaptive load-balancing method of IP, and it is characterized in that: this method may further comprise the steps:
1) mobile terminal roaming is initiated connection request message to field network to IP adaptive front-end service unit;
2) after IP adaptive front-end service unit is received connection request message from portable terminal, the message that sends a request message is given the real server unit:
2.1) after IP adaptive front-end service unit is received connection request message from portable terminal, select a real server according to the destination address hash;
2.2) after true server unit is selected, carry out the reorganization of IP bag, the request message message is encapsulated in another IP bag;
2.3) IP adaptive front-end service unit is transmitted to selected real server unit to packaged IP bag;
3) after the request message message was received in the real server unit, the connection response message that the real server unit will have the real server element address directly returned to portable terminal, and created the tunnel from the real server unit to portable terminal:
3.1) the real server unit carries out deblocking after receiving the IP bag that transmits from IP adaptive front-end service unit, obtains the message before the IP adaptive front-end service unit package;
3.2) the real server unit finds that the destination address of former message is the external address of IP adaptive front-end service unit, begins to handle connection request;
3.3) the real server unit directly returns to portable terminal according to the connection response message that routing table will have the real server element address; Simultaneously, the tunnel of establishment from the real server unit to portable terminal;
4) after portable terminal is received the connection response message of sending from the real server unit, obtain the address of real server unit, and create tunnel from portable terminal to the real server unit.
2. according to claim 1 based on the adaptive load-balancing method of IP, it is characterized in that: comprise that also the step 5) portable terminal communicates by tunnel and real server unit after the described step 4);
3. according to claim 2 based on the adaptive load-balancing method of IP, it is characterized in that: the ruuning situation that also comprises the described IP adaptive front-end of step 6) service unit real time monitoring real server unit after the described step 5), change the destination address hash table, adjust scheduling strategy.
4. one kind based on the adaptive SiteServer LBS of IP, it is characterized in that: described based on the adaptive SiteServer LBS of IP comprise to IP adaptive front-end service unit send connection request and the IP adaptive front-end service unit of the real server unit setting up tunnel and the portable terminal that communicates, connection request that mobile terminal receive sends and this connection request is transmitted to selection with the real server unit and receive connection request that IP adaptive front-end service unit transmits and with this connection request corresponding issue portable terminal and and portable terminal set up the real server unit in tunnel.
CN2009103095229A 2009-11-10 2009-11-10 IP adaptation-based load balancing method and system thereof Active CN101697633B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009103095229A CN101697633B (en) 2009-11-10 2009-11-10 IP adaptation-based load balancing method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009103095229A CN101697633B (en) 2009-11-10 2009-11-10 IP adaptation-based load balancing method and system thereof

Publications (2)

Publication Number Publication Date
CN101697633A CN101697633A (en) 2010-04-21
CN101697633B true CN101697633B (en) 2011-12-28

Family

ID=42142689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009103095229A Active CN101697633B (en) 2009-11-10 2009-11-10 IP adaptation-based load balancing method and system thereof

Country Status (1)

Country Link
CN (1) CN101697633B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899671B (en) * 2017-02-23 2019-09-03 江苏徐工信息技术股份有限公司 A kind of method that virtual link realizes cluster server respond request
CN113824642B (en) * 2018-03-09 2023-02-03 华为技术有限公司 Method for sending message, network equipment and computer readable storage medium
CN110620802B (en) * 2018-06-20 2021-04-09 华为技术有限公司 Load balancing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1403934A (en) * 2001-09-06 2003-03-19 华为技术有限公司 Load balancing method and equipment for convective medium server
CN1906903A (en) * 2004-01-30 2007-01-31 京瓷株式会社 Mobile body communication system, mobile body communcation method, and mobile body communication base station device
CN1972311A (en) * 2006-12-08 2007-05-30 华中科技大学 A stream media server system based on cluster balanced load
KR20070121326A (en) * 2006-06-22 2007-12-27 이학주 Ip adapter for transferring contents to portable device and method of transferring contents using the same
CN101133594A (en) * 2005-07-28 2008-02-27 中兴通讯股份有限公司 IP network self-adapting flow-control equipment, system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1403934A (en) * 2001-09-06 2003-03-19 华为技术有限公司 Load balancing method and equipment for convective medium server
CN1906903A (en) * 2004-01-30 2007-01-31 京瓷株式会社 Mobile body communication system, mobile body communcation method, and mobile body communication base station device
CN101133594A (en) * 2005-07-28 2008-02-27 中兴通讯股份有限公司 IP network self-adapting flow-control equipment, system and method
KR20070121326A (en) * 2006-06-22 2007-12-27 이학주 Ip adapter for transferring contents to portable device and method of transferring contents using the same
WO2007148901A1 (en) * 2006-06-22 2007-12-27 Ga Jeong Shin Contents transmitting ipadaptor transmitting contents to portable device and contents transmittesfgmethod usesjgthe ipadaptor
CN1972311A (en) * 2006-12-08 2007-05-30 华中科技大学 A stream media server system based on cluster balanced load

Also Published As

Publication number Publication date
CN101697633A (en) 2010-04-21

Similar Documents

Publication Publication Date Title
CN102769869B (en) Message rapid forwarding system of control and provisioning of wireless access point
CN100486197C (en) A broadcasting method and access controller for wireless LAN address resolution protocol
CN105657865B (en) A kind of data relay transmission method, system and the UE for having relay function
CN103685009B (en) Data packet processing method and system as well as controller
JP5230799B2 (en) Method, apparatus and system for equalizing flow capacity
EP2858313B1 (en) Method, device, and system for routing function activation and data transmission
CN104125191B (en) Processing method, equipment and the system of point-to-point protocol based on Ethernet
CN102970227A (en) Method and device for achieving virtual extensible local area network (VXLAN) message transmitting in application specific integrated circuit (ASIC)
EP3133797B1 (en) Message forwarding method, system, and relay agent device
CN104135446B (en) System and methods of the IPv4 to IPv6 transition is realized based on SDN
CN110300081A (en) A kind of method and apparatus of data transmission
WO2016062142A1 (en) Method, apparatus and system for converged transmission of packets
CN101808014B (en) Thin AP architecture-based network management scheme and system thereof
CN103763750B (en) Method for fast achieving packet forwarding in wireless ad hoc network of TDMA protocol
CN102625417B (en) A kind of system and method realizing the binding of multi-standard wireless terminal
WO2021008591A1 (en) Data transmission method, device, and system
CN105933246A (en) Core network system based on SDN and application method of the core network system
CN101697633B (en) IP adaptation-based load balancing method and system thereof
CN101150481A (en) Method and device for WLAN and LAN intercommunication
CN102984070A (en) Method for realizing data forwarding through unnumbered interface of Ethernet
EP3301964B1 (en) Wireless network function configuration method and wireless network node
CN103795627B (en) Three layers of local retransmission method and equipment
WO2014121606A1 (en) Service processing method and related device
CN105262682A (en) Software defined network for power data communication and traffic grooming method thereof
EP3506716B1 (en) Methods for packet exchange and related devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant