CN101252540B - Method for allocating network flow based on external policy server interaction - Google Patents

Method for allocating network flow based on external policy server interaction Download PDF

Info

Publication number
CN101252540B
CN101252540B CN200810103457XA CN200810103457A CN101252540B CN 101252540 B CN101252540 B CN 101252540B CN 200810103457X A CN200810103457X A CN 200810103457XA CN 200810103457 A CN200810103457 A CN 200810103457A CN 101252540 B CN101252540 B CN 101252540B
Authority
CN
China
Prior art keywords
policy server
load
external policy
request
server
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
CN200810103457XA
Other languages
Chinese (zh)
Other versions
CN101252540A (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.)
Beijing Huayao Technology Co., Ltd
Original Assignee
ARRAY NETWORKS (BEIJING) Inc
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 ARRAY NETWORKS (BEIJING) Inc filed Critical ARRAY NETWORKS (BEIJING) Inc
Priority to CN200810103457XA priority Critical patent/CN101252540B/en
Publication of CN101252540A publication Critical patent/CN101252540A/en
Application granted granted Critical
Publication of CN101252540B publication Critical patent/CN101252540B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a network flow distribution method based on the external strategy server interaction. The method includes the following steps that firstly, a Web API interface is arranged on a load balancing apparatus; secondly, a terminal client sends a request to the load balancing apparatus; thirdly, the request of the terminal client is packaged in a data packet through the Web API interface by the load balancing apparatus and then forwarded to the external strategy server; fourthly, the data packet is resolved by the external strategy server, the original request of the externalstrategy server is revised according to the need of the terminal client and then the revised data packet is returned to the load balancing apparatus; fifthly, the load balancing apparatus selects a suitable background server according to the information of the external strategy server and transmits the revised request of the terminal client to the background server; sixthly, the background serverresponds; lastly, the load balancing apparatus forwards the response from the background server to the request to the terminal client. The network flow distribution method of the invention can integrate the special strategy scheme of the primary client into the algorithm of load balancing and ensure the distribution of the network flow to be fully adaptive to the special application program of the primary client.

Description

A kind of method for allocating network flow based on external policy server interaction
Technical field
The present invention relates to a kind of method for allocating network flow, particularly about a kind of method for allocating network flow based on external policy server interaction.
Background technology
Method for allocating network flow is also referred to as the load balancing strategy, is a kind ofly in traffic management client's data traffic average mark to be flow to method on a plurality of background servers, and the method helps to make full use of the function of all background servers.But along with rapid development of Internet, traditional load-balancing device can not satisfy the load balancing demand of current a lot of application services, and this mainly is owing to following reasons:
1, the application of L 1 customer (referring to buy the client of working load balancing equipment, is large enterprise units such as operator and website mostly) has certain complexity and particularity.Often exist effectively a kind of and algorithm targetedly, but this algorithm does not have versatility, so load-balancing device manufacturer is difficult in the general algorithm of realization on the load-balancing device for a concrete application.Contain different variable data in the request such as some terminal client (client of L 1 customer), but the content of being asked may be the same, if can rewrite original request this time, making and rewriting later request is the same resource of visit, just can from high-speed cache, read, thereby improve access speed.
2, the request faced of L 1 customer is very dynamic, and its rule also often changes, and this variation L 1 customer self is very clear, knows also how this upgrades processing.But traditional load balancing strategy is pre-set, can not be at once according to the variation of L 1 customer and own custom strategies satisfies the specific demand of L 1 customer.
In sum, current load-balancing device should provide a kind of effective and efficient manner that the special decision scheme of L 1 customer is fused in the algorithm of load balancing strategy.
Summary of the invention
At the problems referred to above, the purpose of this invention is to provide and a kind ofly can be fused to method for allocating network flow in the load balancing policing algorithm to the special decision scheme of L 1 customer based on external policy server interaction.
For achieving the above object, the present invention takes following technical scheme: a kind of method for allocating network flow based on external policy server interaction, and it may further comprise the steps: 1) a Web api interface that is connected by communication protocol with external policy server is set on load-balancing device; 2) terminal client transmit a request to load-balancing device; 3) load-balancing device is encapsulated in the request of the terminal client mode according to the communication protocol that sets in advance in the packet by the Web api interface, then packet is forwarded to external policy server; 4) external policy server is resolved packet according to the mode of the communications protocol that sets in advance, and the raw requests of terminal client need be rewritten based on oneself, then revised packet is sent to load-balancing device, realizes communicating by letter between load-balancing device and the external policy server; 5) load-balancing device is selected suitable background server in conjunction with the information of the external policy server received, and the request of the terminal client that will revise through external policy server is passed on the described background server; 6) background server is made response; 7) load-balancing device is transmitted to terminal client with background server to the response of described request.
The communication mode of described external policy server and load-balancing device comprises the communication mode that all are programmed and realize by Socket.
The communication mode of described Socket programming is one of HTTP, SNMP, SUN-RPC, CORBA and Web service protocol mode.
Described Web service agreement is one of SOAP and XML-RPC.
The present invention is owing to take above technical scheme, have the following advantages: 1, owing to the load balancing strategy of the inventive method with L 1 customer oneself taken into account, so this load balancing strategy has satisfied the specific demand of these L 1 customers self, can realize load balancing targetedly.2, owing to the load balancing strategy of the inventive method with operator or website or the like L 1 customer oneself taken into account, in case variation has taken place in the application service of operator or website or the like L 1 customer oneself, the strategic server that they can change oneself very easily adapts to variation, thereby finds the load balancing strategy of fast adaptation.
Description of drawings
Fig. 1 is an implementation procedure schematic diagram of the present invention
Embodiment
Below in conjunction with drawings and Examples the present invention is described in detail.
As shown in Figure 1, the present invention is in the application scenarios by traditional load-balancing device, background server and terminal client, increased by one group of external policy server, a Web api interface that is connected by communication protocol with external policy server has been set on load-balancing device simultaneously.
May further comprise the steps during the inventive method operation:
1, terminal client transmit a request on the load-balancing device;
2, Web api interface (the Application Program Interface of load-balancing device by defining, application programming interfaces), the request of the terminal client mode according to the communication protocol that sets in advance is encapsulated in the packet, then packet is forwarded to external policy server.
3, external policy server is resolved packet according to the mode of above-mentioned communication protocol, and the raw requests of terminal client need be rewritten based on self, then revised packet is sent to load-balancing device, realizes communicating by letter between load-balancing device and the external policy server.Externally in the packet that strategic server returns, also comprise the information that the assistant load balancing equipment carries out load balancing, give the load balancing strategy that external policy server is carried out the decision-making power of a part of load balancing with regard to having realized like this.
The mode of the communication protocol of carrying out between load-balancing device and the external policy server, support to use all communication modes of programming and realizing by Socket, include but not limited to the mode of HTTP (HTML (Hypertext Markup Language)), SNMP (Simple Network Management Protocol), SUN-RPC (SUN remote procedure call protocol), CORBA (common object request broker architecture) and Web service agreement, Web service agreement comprises SOAP (Simple Object Access Protocol), XML-RPC (XML remote procedure call protocol) etc. again.
4, load-balancing device goes out suitable background server in conjunction with the Information Selection of external policy server, and the request of the terminal client that will revise through external policy server is passed on this background server.
5, background server is made response.
6, load-balancing device is transmitted to terminal client with background server to this request responding.
By above-mentioned steps as can be seen, the inventive method can be fused to the special decision scheme of L 1 customer self in the load balancing strategy by external policy server, makes the distribution of network traffics can fully adapt to the particular application of L 1 customer.

Claims (4)

1. method for allocating network flow based on external policy server interaction, it may further comprise the steps:
1) a Web api interface that is connected by communication protocol with external policy server is set on load-balancing device;
2) terminal client transmit a request to load-balancing device;
3) load-balancing device is encapsulated in the request of the terminal client mode according to the communication protocol that sets in advance in the packet by the Web api interface, then packet is forwarded to external policy server;
4) external policy server is resolved packet according to the mode of the communications protocol that sets in advance, and the raw requests of terminal client need be rewritten based on oneself, then revised packet is sent to load-balancing device, realizes communicating by letter between load-balancing device and the external policy server;
5) load-balancing device is selected suitable background server in conjunction with the information of the external policy server received, and the request of the terminal client that will revise through external policy server is passed on the described background server;
6) background server is made response;
7) load-balancing device is transmitted to terminal client with background server to the response of described request.
2. a kind of according to claim 1 method for allocating network flow based on external policy server interaction, it is characterized in that: the communication mode of described external policy server and load-balancing device comprises the communication mode that all are programmed and realize by Socket.
3. as a kind of method for allocating network flow based on external policy server interaction as described in the claim 2, it is characterized in that: the communication mode of described Socket programming is one of HTTP, SNMP, SUN remote procedure call protocol, common object request broker architecture and Web service protocol mode.
4. as a kind of method for allocating network flow based on external policy server interaction as described in the claim 3, it is characterized in that: described Web service agreement is one of Simple Object Access Protocol and XML remote procedure call protocol.
CN200810103457XA 2008-04-07 2008-04-07 Method for allocating network flow based on external policy server interaction Active CN101252540B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810103457XA CN101252540B (en) 2008-04-07 2008-04-07 Method for allocating network flow based on external policy server interaction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810103457XA CN101252540B (en) 2008-04-07 2008-04-07 Method for allocating network flow based on external policy server interaction

Publications (2)

Publication Number Publication Date
CN101252540A CN101252540A (en) 2008-08-27
CN101252540B true CN101252540B (en) 2010-07-07

Family

ID=39955733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810103457XA Active CN101252540B (en) 2008-04-07 2008-04-07 Method for allocating network flow based on external policy server interaction

Country Status (1)

Country Link
CN (1) CN101252540B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631139B (en) * 2009-05-19 2012-11-14 华耀(中国)科技有限公司 Load balancing software architecture based on multi-core platform and method therefor
CN101556720B (en) * 2009-05-21 2011-11-30 中国建设银行股份有限公司 Selling method of retail networks and system thereof
CN101656723A (en) * 2009-09-21 2010-02-24 中兴通讯股份有限公司 A multimedia conference capacity-expanding system, realization method and WEB server
CN102394889A (en) * 2011-11-15 2012-03-28 迈普通信技术股份有限公司 Network server access method and access system
CN103166985B (en) * 2011-12-09 2018-02-27 上海盛大网络发展有限公司 A kind of GSLB dispatching method, data transmission method, apparatus and system
CN103945000B (en) * 2014-05-05 2017-06-13 科大讯飞股份有限公司 A kind of load-balancing method and load equalizer
CN110706430A (en) * 2018-07-10 2020-01-17 北京京东尚科信息技术有限公司 Automatic calling method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863202A (en) * 2005-10-18 2006-11-15 华为技术有限公司 Method for improving load balance apparatus and servicer processing performance
CN101009662A (en) * 2007-01-31 2007-08-01 杭州华为三康技术有限公司 Message processing method, system and device based on the load balance technology
CN101030946A (en) * 2007-04-12 2007-09-05 华为技术有限公司 Method and system for realizing data service

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863202A (en) * 2005-10-18 2006-11-15 华为技术有限公司 Method for improving load balance apparatus and servicer processing performance
CN101009662A (en) * 2007-01-31 2007-08-01 杭州华为三康技术有限公司 Message processing method, system and device based on the load balance technology
CN101030946A (en) * 2007-04-12 2007-09-05 华为技术有限公司 Method and system for realizing data service

Also Published As

Publication number Publication date
CN101252540A (en) 2008-08-27

Similar Documents

Publication Publication Date Title
CN101252540B (en) Method for allocating network flow based on external policy server interaction
US7120662B2 (en) Conductor gateway prioritization parameters
US8238243B2 (en) System and method for network optimization by managing low priority data transfers
CN105122741B (en) The business chain control method and device of Business Stream
CN105022832B (en) Method, mobile terminal and the download server that APP application securities are downloaded
WO2019205191A1 (en) Webpage loading method, webpage loading system, and server
CN102065142A (en) File downloading based scheduling method and system for content delivery network (CDN)
CN106487538B (en) Service acceleration method, strategy control platform and system
US20180091631A1 (en) Systems and methods for writing prioritized http/2 data to a socket buffer
CN108234149A (en) Network request management method and device
CN101714926B (en) Method, device and system for managing network equipment
CN102984203B (en) The raising method of buffer memory device utilization rate, Apparatus and system of based on cloud computing
JPWO2013183649A1 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
CN107979644A (en) Prevent packet method for down loading, electronic equipment, the storage medium of high concurrent
US20120278445A1 (en) Load balancing system
CN1631018B (en) Method and apparatus to retrieve information in a network
CN107135091A (en) A kind of application quality index mapping method, server and client side
CN106878036A (en) Method, management server and system for improving efficiency of network resources
CN108092919A (en) A kind of method and system of dynamically distributes terminal device flow
US20200145796A1 (en) Dynamic provision of application related sponsored data connectivity
Khondoker et al. Service orientation paradigm in future network architectures
CN107666444A (en) A kind of method and system of data traffic route
CN105814853A (en) Method, device and system for improving qos
CN107154942A (en) A kind of method that automation services are provided by third-party server
CN110493829B (en) WEB interface request self-adaptive feedback method based on wireless link state

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
C56 Change in the name or address of the patentee

Owner name: HUAYAO (CHINA) TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: ARRAY NETWORKS (BEIJING), INC.

CP03 Change of name, title or address

Address after: 100125 Beijing city Chaoyang District Liangmaqiao Road No. 40 building 10 room 1001-1017 twenty-first Century

Patentee after: Array Networks (Beijing), Inc.

Address before: 100016 Beijing Chaoyang District Xiao Yun Lu 26, Eagle building, A2308

Patentee before: Array Networks (Beijing), Inc.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100125 Beijing city Chaoyang District Liangmaqiao Road No. 40 building 10 room 1001-1017 twenty-first Century

Patentee after: Beijing Huayao Technology Co., Ltd

Address before: 100125 Beijing city Chaoyang District Liangmaqiao Road No. 40 building 10 room 1001-1017 twenty-first Century

Patentee before: Huayao (China) Technology Co., Ltd.