CN106254235A - A kind of method of load sharing and equipment thereof - Google Patents

A kind of method of load sharing and equipment thereof Download PDF

Info

Publication number
CN106254235A
CN106254235A CN201610601030.7A CN201610601030A CN106254235A CN 106254235 A CN106254235 A CN 106254235A CN 201610601030 A CN201610601030 A CN 201610601030A CN 106254235 A CN106254235 A CN 106254235A
Authority
CN
China
Prior art keywords
terminal
address
application server
target data
data message
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.)
Granted
Application number
CN201610601030.7A
Other languages
Chinese (zh)
Other versions
CN106254235B (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.)
Huawei Technologies Co Ltd
Shanghai Huawei Technologies Co Ltd
Original Assignee
Shanghai Huawei Technologies 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 Shanghai Huawei Technologies Co Ltd filed Critical Shanghai Huawei Technologies Co Ltd
Priority to CN201610601030.7A priority Critical patent/CN106254235B/en
Publication of CN106254235A publication Critical patent/CN106254235A/en
Priority to PCT/CN2017/093403 priority patent/WO2018019157A1/en
Application granted granted Critical
Publication of CN106254235B publication Critical patent/CN106254235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses method and the equipment thereof of a kind of load sharing, for the load sharing of dynamic implement user stream.The method of the embodiment of the present invention includes: the present invention is by disposing data flow con-trol face, when terminal is reached the standard grade, arranging service is carried out by data flow con-trol face, issue forwarding rule to router, the data message of terminal is sent to target data face by instruction router, meanwhile, determine that terminal predefines the communication configuration information of business, send it to target data face.Subsequent datagrams Wonder is to after router, data message forwarding is carried out Business Processing to corresponding target data face by router implementation strategy route, the policybased routing that so different terminals generates is different, and the data surface that router is forwarded to is the most different, thus realizes load sharing.Meanwhile, the same class data message of different user can be forwarded to different application server instance such that it is able to realizes load sharing between each application server instance.

Description

A kind of method of load sharing and equipment thereof
Technical field
The present invention relates to the communications field and internet arena, be specifically related to method and the equipment thereof of a kind of load sharing.
Background technology
Along with developing rapidly of network and pipe technology, the Internet+application variation, the business of wireless network bandwidth is quick-fried The growth of fried formula.Ratio application software on PC as in the previous, along with the Internet+develop rapidly, moves in people's live and work Application requires the highest, applies the most extensive.The application in terms of movement of the different industries also requires that and more comes many, and various chats are soft Part, software of calling a taxi, software of doing shopping, education software, video etc., all move on to apply mobile phone from original PC end.
Pipeline business is captured being interconnected net in end-to-end field, and mobile operator only does pipeline, and pipeline business has quick-fried Sending out and increase, profit is more and more lower, and a lot of business is interconnected net application and replaces, mobile pipeline field also try to do various On the one hand application, seizes internet, applications, and additionally aspect promotes efficiency of transmission, so various application the most and then occurs, various adds Speed device, various optimizations, caching, video, gateway is directly integrated third party's APP application etc..The most various network designs, networking, should Occur with framework, and software defined network (English: Software Defined Network, it is called for short: SDN), multiservice edge road By device, (English: Multi Service Engine, is called for short: MSE) multi-service concept appearance, the application of cloud and development are easier to portion Administration's business.
Mobile solution is the most, route different business and load sharing also occurs as soon as.Prior art uses based on plan The method of the sharing business load slightly routeing, by difference link separately.
But policybased routing is the mechanism that a kind of strategy formulated according to user is routed, and belongs to a kind of static state After configuration mode, gateway or other equipment are routed on router, it can only be to forward, no according to configuration that general router forwards Intelligence can be realized forward, so can not accomplish that adding business tine again according to configuration carries out load sharing.
Summary of the invention
Embodiments provide method and the equipment thereof of a kind of load sharing, it is possible to the load of dynamic implement user stream Share.
First aspect, a kind of method embodiments providing load sharing, the method includes:
Business Stream chain of command (workflow controller) receives the request of reaching the standard grade of terminal, carries end in the request of reaching the standard grade Client information, end message includes the IP address of terminal and the network contraction information of terminal;Business Stream chain of command is according to the IP of terminal Address carries out arranging service, generates and forwards rule, forwards the target data face during data message forwarding of rule instruction terminal;Industry Business flow control face, according to the network contraction information of terminal, determines the predefined business of terminal, determines answering of predefined business association Communication configuration information with server (inline service);Forwarding rule is sent to router by Business Stream chain of command, with Make router when receiving the data message of terminal, data message is sent to target data face;Business Stream chain of command will The communication configuration information of application server is sent to target data face, so that target data face is according to the communication of application server Data message is sent to corresponding application server by configuration information.
The present invention, by disposing data flow con-trol face, when terminal is reached the standard grade, carries out arranging service by chain of command, issues and turns Send out rule to send the data message of terminal to target data face to router, instruction router, meanwhile, generate terminal and predefine The communication configuration information of business is to target data face.Subsequent datagrams Wonder is to after router, and router implementation strategy route will Data message forwarding carries out Business Processing to corresponding target data face, and the policybased routing that such different terminals generates is different, The data surface that router is forwarded to is the most different, thus realizes load sharing.Meanwhile, target data face issues according to chain of command The communication configuration information of predefined business does business, and the same class data message of different user can be forwarded to different application clothes Business device example (inline service example) such that it is able to realize load sharing between each inline service.
Optionally, the predefined business of terminal includes at least one;Business Stream chain of command determines predefined business association The communication configuration information of application server includes: Business Stream chain of command determines the application of the predefined business association of each of terminal The communication configuration information of server, communication configuration information include the IP address of each application server instance, port, communication mode, Data message each application server flow through order etc..
Optionally, forwarding rule to include the IP address of terminal and the IP address in target data face, instruction router should When receiving the data message of IP address of terminal, it is sent to the IP address in described target data face.
Optionally, forward in rule the IP address field belonging to IP address that can also include terminal, and target data face IP address;Rule is forwarded to be additionally operable to the data message forwarding indicating the terminal in the IP address field belonging to IP address of terminal to send IP address to described target data face.
Second aspect, a kind of method embodiments providing load sharing, including:
Router receives the forwarding rule of the terminal that Business Stream chain of command sends, and forwarding rule is by Business Stream chain of command root Arranging service generation is carried out, target data face during for indicating the data message forwarding of terminal according to the IP address of terminal;Route Device is according to forwarding rule distributing policy route;Router receives the data message of terminal, is turned by data message according to policybased routing Send to target data face.
In the embodiment of the present invention, the forwarding rule generation strategy route that router issues according to data flow con-trol face, follow-up After message arrives router, router selects routing forwarding to carry out Business Processing to corresponding data surface, and such different user is raw The policybased routing become is different, and it is the most different that router is forwarded to data surface, thus realizes load sharing.
Optionally, rule is forwarded to include the IP address of terminal and the IP address in target data face.
Optionally, rule is forwarded to include the IP address field belonging to IP address of terminal, and the IP address in target data face; When the data message that the terminal in the IP address field belonging to router receives the IP address of terminal sends, by IP address field Terminal send data message forwarding to target data face.
The third aspect, a kind of method embodiments providing load sharing, including:
The communication of the application server that data surface receives the predefined business association of the terminal that Business Stream chain of command sends is joined Confidence ceases;Data surface receives the data message of terminal;Data surface determines the predefined business that data message mates, according to predefined Data message is sent to corresponding application server by the communication configuration information of the application server of business association.
In the embodiment of the present invention, Business Stream chain of command is giving predefined business configuration application server communication configuration information Time, the corresponding relation between terminal and concrete application server (Inline Service) example can be controlled, it is possible to according to Corresponding relation is carried out the most dynamically adjusting by the practical situation of business such that it is able at multiple inline sevice of same type Load sharing is realized in the middle of example.
Optionally, the communication configuration information of the application server of predefined business association includes that each of terminal predefines The communication configuration information of the application server of business association, communication configuration information includes the IP address of application server, port, leads to Letter mode and data message flow through order etc. at each application server.
Fourth aspect, the embodiment of the present invention also provides for a kind of chain of command entity, implements corresponding to above-mentioned first aspect The function of the load share method provided.Described function can be realized by hardware, it is also possible to performed the softest by hardware Part program realizes.Hardware and software includes one or more unit module corresponding with above-mentioned functions, and described unit module can To be software and/or hardware.
In a kind of possible design, described chain of command entity includes:
Receiving unit, for receiving the request of reaching the standard grade of terminal, carried terminal information in the request of reaching the standard grade, end message includes end The IP address of end and the network contraction information of terminal;
Forward rule generating unit, for carrying out arranging service according to the IP address of terminal, generate and forward rule, forward rule Then indicate the target data face during data message forwarding of terminal;
Communication configuration information signal generating unit, for the network contraction information according to terminal, determines the predefined business of terminal, Determine the communication configuration information of the application server of predefined business association;
Transmitting element, for being sent to router by forwarding rule, so that router is receiving the datagram of terminal Wen Shi, sends data message to target data face;
Transmitting element, is additionally operable to the communication configuration information of application server is sent to target data face, so that target Data message is sent to corresponding application server by data surface according to the communication configuration information of application server.
Additionally, each unit module in this chain of command entity also performs the number in the load share method that first aspect provides According to all or part of step performed by flow control face.
In a kind of possible design, at the 5th aspect, embodiments provide a kind of chain of command entity, this chain of command Entity can be server, including:
Interconnective transceiver, processor and memorizer;Memorizer is used for storing program code, and processor calls storage Program code in device, to perform the step performed by the chain of command entity in above-mentioned first aspect.
6th aspect, the embodiment of the present invention also provides for a kind of router, implements and provide corresponding to above-mentioned second aspect The function of load share method.Described function can be realized by hardware, it is also possible to performs corresponding software journey by hardware Sequence realizes.Hardware and software includes one or more unit module corresponding with above-mentioned functions, and described unit module can be Software and/or hardware.
In a kind of possible design, described chain of command entity includes:
Receiving unit, for receiving the forwarding rule of the terminal that Business Stream chain of command sends, forwarding rule is by Business Stream Chain of command carries out arranging service generation according to the IP address of terminal, target data during for indicating the data message forwarding of terminal Face;
Processing unit, for according to forwarding rule distributing policy route;
Receive unit, be additionally operable to receive the data message of terminal,
Transmitting element, for according to policybased routing by data message forwarding to target data face.
In a kind of possible design, at the 7th aspect, the router that the embodiment of the present invention provides, including:
Interconnective transceiver, processor and memorizer;Memorizer is used for storing program code, and processor calls storage Program code in device, to perform the step performed by the router in above-mentioned second aspect.
Eighth aspect, the embodiment of the present invention also provides for a kind of data surface entity, implements corresponding to the above-mentioned third aspect The function of the load share method provided.Described function can be realized by hardware, it is also possible to performed the softest by hardware Part program realizes.Hardware and software includes one or more unit module corresponding with above-mentioned functions, and described unit module can To be software and/or hardware.
In a kind of possible design, described data surface entity includes: including:
Receive unit, for receiving the application server of the predefined business association of the terminal that Business Stream chain of command sends Communication configuration information;
Receive unit, be additionally operable to receive the data message of terminal;
Processing unit, for determining the predefined business that data message mates;
Transmitting element, data message is sent out by the communication configuration information for the application server according to predefined business association Deliver to the application server of correspondence.
In a kind of possible design, at the 9th aspect, the router that the embodiment of the present invention provides, including:
Interconnective transceiver, processor and memorizer;Memorizer is used for storing program code, and processor calls storage Program code in device, to perform the step performed by the data surface in the above-mentioned third aspect.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
In the embodiment of the present invention, router selects routing forwarding to carry out Business Processing to corresponding data surface, so different The policybased routing that user generates is different, device be forwarded to data surface the most different, thus realize load sharing.
Accompanying drawing explanation
Fig. 1 is a kind of networking load sharing figure in the embodiment of the present invention;
Fig. 2 is the information interaction diagrams of the load share method in the embodiment of the present invention;
Fig. 3 is chain of command entity or a kind of hardware structure diagram of data surface entity in the embodiment of the present invention;
Fig. 4 is a kind of functional module structure figure of chain of command entity in the embodiment of the present invention;
Fig. 5 is a kind of functional module structure figure of data surface entity in the embodiment of the present invention;
Fig. 6 is a kind of hardware structure diagram of router in the embodiment of the present invention;
Fig. 7 is a kind of functional module structure figure of router in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings method, server and the router of the load sharing in the embodiment of the present invention is situated between in detail Continue.
As it is shown in figure 1, the embodiment of the present invention is at gateway, (English: gateway, is called for short: GW) dispose Business Stream below (workflow) do the chain of command of arranging service system after, after this chain of command determines arranging service, issue routing forwarding rule On router, router is according to forwarding rule generation strategy route, and the data message of subsequent user (terminal use) arrives road After device, the policybased routing that router issued according to the last time carries out message forwarding, is forwarded to the workflow data surface of correspondence On carry out the parsing of deeper a layer and do business, and according to resolve and decision-making after be forwarded to correspondence inline service Do business on (third-party application server or application server), after finishing business, then data message is sent to servicing offer Business's server (English: Service Provider Server, it is called for short: SP server).
Application server in the embodiment of the present invention can include multiple, such as: security protection service device, video optimized clothes Business device, multi-media processing server and document processing server etc. are wherein, security protection service device, video optimized server, many Media processing server and document processing server can be third-party application (Third APP), such as: video optimized service Device can be Skyfire Rocket, and multi-media processing server can be that Openwave, document processing server can be OpenWRT security protection.
Each application server can be many examples, can realize load balancing by disposing multiple examples.
The embodiment of the present invention issues, also by chain of command, the communication configuration that user predefines the application server of business association Information is to data surface, and this communication configuration information includes what the data message needs of the predefined business of each of this terminal flowed through The mailing address IP of application server, port numbers, communication mode, flow through order etc..
Such as: the application server that the data message needs of certain predefined business flow through is: security protection video is excellent Change multi-media processing file process, then, when the data message of terminal use comes when, data surface is according to data flow con-trol The application server communication configuration information that face issues does each business, such as: security protection, video optimized, multi-media processing, literary composition Part process etc. are close to one by one according to the business of layout to be done.
It should be noted that Fig. 1 is a kind of simple networking schematic diagram, in actual applications, different groups can be there is Net mode, concrete networking mode is not limited by the present invention.
Below in conjunction with Fig. 2, the load share method in the embodiment of the present invention is described in detail.
Step 201-203 is the flow process in user-network access data flow con-trol face:
201, gateway receives the request of reaching the standard grade of terminal use;
This request of reaching the standard grade carries the CAMEL-Subscription-Information (or network parameter) of UE, such as international mobile subscriber identity (English: International Mobile Subscriber Identification Number, is called for short: IMSI).
202, gateway is to terminal distribution IP address;Such as: gateway distributes IP address to terminal use and is 192.168.100.100。
203, the request of reaching the standard grade of this terminal use of gateway sends to Business Stream chain of command, and Business Stream chain of command receives terminal The request of reaching the standard grade;
Carried terminal information in this request of reaching the standard grade, including the gateway IP address to terminal distribution and the network label of terminal About information, after Business Stream chain of command receives this request of reaching the standard grade, chain of command carries out arranging service, issues forwarding rule to router Then, and issue application server communication configuration information to target data face, realize especially by performing following steps:
204, Business Stream chain of command carries out arranging service according to the IP address of terminal, generates and forwards rule;
Business Stream chain of command carries out decision-making according to the IP address of terminal, indicates end by issuing forwarding rule to router Target data face during the data message forwarding held, so that can be forwarded to difference when that the data message of different terminals coming Data surface on.
Business Stream chain of command decision-making issues what path and is, to router, this decision-making, the forwarding being handed down to router Rule, at least includes the IP address of terminal and the IP address in target data face in this this forwarding rule.
205, forwarding rule is sent to router by Business Stream chain of command;
206, router forwards rule distributing policy route according to described;
The forwarding rule that router issues according to Business Stream chain of command, generates corresponding policybased routing, when router receives Data message to this terminal (includes the data message of terminal uplink, or service provider server (SP server) goes downwards to The data message of terminal) time, this policybased routing can be matched, the data message of terminal is sent to corresponding target data Face.
207, Business Stream chain of command is according to the network contraction information of terminal, determines the predefined business of terminal, determines terminal The communication configuration information of application server of predefined business association;
Business Stream chain of command is in addition to issuing and forwarding rule to router, always according to the network contraction information of terminal, really Determine the predefined business of terminal, and determine the communication configuration information of the application server of these predefined business association.
Concrete, chain of command stores the predefined service template of multiple terminal (namely terminal use), this predefines Service template saves the type of each terminal business to be done, such as: A terminal can do webpage, fire wall, video industry Business;B terminal can do webpage, video traffic.
Business Stream chain of command, according to the network contraction information of terminal, determines this terminal from the predefined service template of storage Predefined business.
Afterwards, according to this predefined business, the communication information of these application servers associated by predefined business is configured.
Concrete, it is the mailing address IP for each predefined business configuration application server, port numbers, communication party Formula, flow through order etc., wherein communication mode includes the modes such as TCP, UDP, SCTP, ICAP.
Such as: when A terminal does video traffic, set need the application server that flows through as: security protection video is excellent Change multi-media processing file process, and set need flow through the IP address of each application server, port numbers, communication Mode.
208, the communication configuration information of application server is sent to target data face by Business Stream chain of command;
The communication configuration information of the application server of predefined business association is sent to target data by Business Stream chain of command Face, when target data face receives the data message of terminal, by resolving this data message according to predefined business association The communication configuration information of application server in application server one by one, do business.
209, user reaches the standard grade successfully, and Business Stream chain of command successful respond of reaching the standard grade returns to gateway;
Business Stream chain of command issue forwarding rule to router, issue the application server communication of predefined business association After configuration information is to target data face, returns user and reach the standard grade successful respond message to gateway.
2010, user is adhered to successful respond and returns to terminal by gateway;
2011, terminal sends user data message access service, and data message is sent gateway, and this data message is terminal Uplink data messages.
2012, router receives the data message of the terminal that gateway sends, and matches the described strategy road in step 206 By, forward according to the route forwarding table matched, data message is sent to target data face, carries out decision-making.
2013, after target data face receives data message, carry out seven layers of parsing, determine what described data message was mated Predefined business, according to the communication configuration information of the application server of the predefined business association received in step 208, finds to need Do business on application server to be arrived (inline service), then by data message transmission to corresponding application server, One by one by doing business on application server.
Then when data surface determine come data message be belonging in step 207 citing video traffic time, data surface according to The application server communication configuration information that data flow con-trol face issues does each business, at security protection, video optimized, multimedia Reason, file process etc. are close to one by one according to the business of layout to be done.
Concrete, be on an application server, finish business after, return to target data face, then to ensuing another Business is done on individual application server.
Step 2014-step 2015 is that data message transmission is done business to application server 1 by target data face, finishes After business, again return to target data face.
Step 2016-step 2017 is that data message transmission is done business to application server 2 by target data face, finishes After business, again return to target data face.
2018, accordingly should according to the communication configuration information of the application server of predefined business association in target data face After finishing business on server, data message is sent to router, router data message is delivered to service provider Server (SP server).
Step 2019-step 2014: contrary, service provider server go downwards to the data message of terminal with up Process contrary, as in figure 2 it is shown, the data message that service provider server returns first issues router, match step 206 In described policybased routing (data message that now router receives is the service message that server comes downwards to terminal), according to The route forwarding table matched forwards, and is sent by data message and carries out decision-making to target data face.Target data face is again Communication configuration information decision-making inline the to be service of the application server according to association, if it is desired, then arrive phase Doing business on the application server answered, after finishing business, return router, data message is sent to terminal by router again.
In the prior art, after gateway or other equipment are routed on router, general routing forwarding can only be according to Configuration forwards, it is impossible to realizes intelligence and forwards, so route can not accomplish load sharing.The embodiment of the present invention is at Business Stream chain of command Carry out indicating after arranging service router by, router generation strategy route, and after subsequent packet arrives router, router selects Routing is carried out Business Processing by the data surface being forwarded to correspondence, and the policybased routing that such different user generates is different, device turn It is dealt into data surface the most different, thus realizes load sharing.Road
It addition, by Business Stream chain of command when giving predefined business configuration application server communication configuration information, can control Corresponding relation between terminal processed and concrete application server (Inline Service) example, it is possible to according to the reality of business Corresponding relation is carried out the most dynamically adjusting by situation such that it is able to real in the middle of multiple inline sevice examples of same type Existing load sharing.
In embodiment shown in Fig. 2, when Business Stream chain of command issues forwarding rule to router, it is raw for single terminal The forwarding rule become, forwards the IP only comprising single terminal in the source IP address (IP address of terminal) of rule.
Optionally, in the embodiment of the present invention, Business Stream chain of command not only can issue single IP address to policybased routing Realizing load sharing, and can also issue regional address, namely band mask is as load sharing.Rule is forwarded to include end The IP address field belonging to IP address of end, and the IP address in target data face, for indicating the ground of the IP belonging to IP address of terminal The data message forwarding that terminal in the section of location sends is to same target data face.Such as: send the IP of the terminal of the request of reaching the standard grade Address is 192.168.100.100, and when Business Stream chain of command issues forwarding rule, source IP address is 192.168.0.0/16 side Formula, represents and is all forwarded on same target data face with the end user IP addresses of 192.168 beginnings.
It is above the introduction that the embodiment of the method in the embodiment of the present invention is carried out, below to the control in the embodiment of the present invention Face processed entity, router, data surface entity are introduced.
Concrete, it is a kind of chain of command entity of providing of the embodiment of the present invention or data surface entity hardware configuration shows at Fig. 3 Being intended to, in actual applications, chain of command entity and data surface entity can be server.This server 300 can be because of configuration or property Energy is different and produces bigger difference, can include that one or more processors are (English: central processing Units, is called for short: CPU) 322 (such as, one or more processors) and memorizer 330, and memorizer 330 is for storage one Individual or more than one storage application program 342 or data 344, stores one or more operating system 341, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..It is stored in the journey of memorizer 330 Sequence can include one or more modules (diagram do not mark), each module can include in chain of command equipment be Row command operating.Further, processor 322 can communicate with memorizer 330, performs memorizer 330 on server 300 In a series of command operatings.
Server 300 also includes one or more transceivers 350, and this transceiver can be that wired or wireless network connects Mouthful.
Different according to the concrete function that processor can perform, this hardware configuration can be shown in said method embodiment Chain of command entity, it is also possible to data surface entity.
Concrete, if chain of command entity, then perform the data flow con-trol face in the embodiment of the method shown in above-mentioned Fig. 2 All or part of step performed by (workflow controller), specifically refers to embodiment of the method part.
Concrete, if data surface entity, then perform the target data face institute in the embodiment of the method shown in above-mentioned Fig. 2 The all or part of step performed, specifically refers to embodiment of the method part.
For functional module structure angle, chain of command entity in the embodiment of the present invention or data surface entity are had Function can also pass through special IC (English: application-specific integrated circuit, be called for short: ASIC) realize, or PLD (English: programmable logic device, it is called for short: PLD) realize.Above-mentioned PLD can be CPLD (English: complex programmable logic device, be called for short: CPLD), FPGA, GAL (English: generic array logic, GAL) or its combination in any it is called for short:.
In a kind of possible implementation, the high-level schematic functional block diagram of chain of command entity such as Fig. 4 institute in the embodiment of the present invention Show, including:
Receive unit 401, for receiving the reaching the standard grade request of terminal, described in reach the standard grade ask in carried terminal information, described end Client information includes the IP address of described terminal and the network contraction information of described terminal;
Forward rule generating unit 402, for carrying out arranging service according to the IP address of described terminal, generate and forward rule Then, target data face during the described data message forwarding forwarding rule to indicate described terminal;
Communication configuration information signal generating unit 403, for the network contraction information according to described terminal, determines described terminal Predefined business, determines the communication configuration information of the application server of described predefined business association;
Transmitting element 404, for being sent to router by described forwarding rule, so that described router is receiving When stating the data message of terminal, described data message is sent to described target data face;
Described transmitting element 404, is additionally operable to the communication configuration information of described application server is sent to described number of targets According to face, so that described data message is sent extremely by described target data face according to the communication configuration information of described application server Corresponding application server.
In the enforcement that some are concrete, the predefined business of described terminal includes at least one;Described communication configuration information Signal generating unit 403, specifically for determining the communication configuration of the application server of the predefined business association of each of described terminal Information, described communication configuration information includes IP address, port and the communication mode of application server.
In the enforcement that some are concrete, described forwarding rule generating unit 402, specifically for the IP ground according to described terminal Location carries out arranging service, generates and forwards rule, and described forwarding rule includes the IP address of terminal and the IP ground in target data face Location, described forwarding rule indicates the target data face during data message forwarding of described terminal;
In the enforcement that some are concrete, described forwarding rule generating unit, specifically for the IP address according to described terminal Carrying out arranging service, generate and forward rule, described forwarding rule includes the IP address field belonging to IP address of terminal, and target The IP address of data surface, described forwarding rule indicates the target data face during data message forwarding of described terminal, is additionally operable to refer to Show the data message forwarding extremely described target data face that the terminal in the IP address field belonging to IP address of described terminal sends.
In Fig. 4, information between each functional unit refers to the step in embodiment of the method performed by Business Stream chain of command alternately Suddenly, here is omitted.
In a kind of possible implementation, the high-level schematic functional block diagram of data surface entity such as Fig. 5 institute in the embodiment of the present invention Show, including:
Receive unit 501, for receiving the application service of the predefined business association of the terminal that Business Stream chain of command sends The communication configuration information of device;It is additionally operable to receive the data message of described terminal;
Processing unit 502, for determining the predefined business that described data message mates;
Transmitting element 503, is used for the communication configuration information of the application server according to described predefined business association by institute State data message to send to corresponding application server.
In Fig. 5, information between each functional unit refers to the step in embodiment of the method performed by target data face alternately Suddenly, here is omitted.
Fig. 6 is the hardware architecture diagram of a kind of router that the embodiment of the present invention provides, and router can include at least one Individual network interface or other communication interface, at least one receptor 601, at least one transmitter 602, at least one processor 603 and memorizer 604, to realize the connection communication between these devices, by least one network interface (can be wired or Person is wireless) realize the communication connection between at least one other network element, it is possible to use the Internet, wide area network, LAN, metropolitan area Net etc..
Memorizer 604 can include read only memory and random access memory, and provides instruction sum to processor 603 According to, a part for memorizer 604 can also include comprising high-speed random access memory (RAM, Random Access Memory), it is also possible to also include non-labile memorizer (non-volatile memory).
Memorizer 604 stores following element, executable module or data structure, or their subset, or Their superset:
Operational order: include various operational order, is used for realizing various operation.
Operating system: include various system program, is used for realizing various basic business and processing hardware based task.
In embodiments of the present invention, processor 603 is by calling operational order (this operational order of memorizer 604 storage It is storable in operating system), perform all or part of step performed by router in the embodiment shown in Fig. 2.
In a kind of possible implementation, in the embodiment of the present invention, the high-level schematic functional block diagram of router is as it is shown in fig. 7, wrap Include:
Receive unit 701, for receive Business Stream chain of command send terminal forwarding rule, described forwarding rule be by Described Business Stream chain of command carries out arranging service generation according to the IP address of terminal, for indicating the data message of described terminal to turn Target data face when sending out;
Processing unit 702, for forwarding rule distributing policy route according to described;
Described reception unit 701, is additionally operable to receive the data message of described terminal,
Transmitting element 703, is used for described data message forwarding to described target data face according to described policybased routing.
In Fig. 7, information between each functional unit refers to the step in embodiment of the method performed by router alternately, this Place repeats no more.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the system of foregoing description, The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method are permissible Realize by another way.Such as, device embodiment described above is only schematically, such as, and described unit Dividing, be only a kind of logic function and divide, actual can have other dividing mode, the most multiple unit or assembly when realizing Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part that in other words prior art contributed or this technical scheme completely or partially can be with the form of software product Embodying, this computer software product is stored in a storage medium, including some instructions with so that a computer Equipment (can be personal computer, server, or the network equipment etc.) performs the complete of method described in each embodiment of the present invention Portion or part steps.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, above example only in order to technical scheme to be described, is not intended to limit;Although with reference to front State embodiment the present invention has been described in detail, it will be understood by those within the art that: it still can be to front State the technical scheme described in each embodiment to modify, or wherein portion of techniques feature is carried out equivalent;And these Amendment or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (18)

1. the method for a load sharing, it is characterised in that described method includes:
Business Stream chain of command receive terminal reaching the standard grade request, described in reach the standard grade ask in carried terminal information, described terminating packet Include the IP address of described terminal and the network contraction information of described terminal;
Described Business Stream chain of command carries out arranging service according to the IP address of described terminal, generates and forwards rule, and described forwarding is advised Then indicate the target data face during data message forwarding of described terminal;
Described Business Stream chain of command, according to the network contraction information of described terminal, determines the predefined business of described terminal, determines The communication configuration information of the application server of described predefined business association;
Described forwarding rule is sent to router by described Business Stream chain of command, so that described router is receiving described end During the data message held, described data message is sent to described target data face;
The communication configuration information of described application server is sent to described target data face by described Business Stream chain of command, so that Described data message is sent to corresponding application by described target data face according to the communication configuration information of described application server Server.
Method the most according to claim 1, it is characterised in that:
The predefined business of described terminal includes at least one;
Described Business Stream chain of command determines that the communication configuration information of the application server of described predefined business association includes:
Described Business Stream chain of command determines the communication configuration of the application server of the predefined business association of each of described terminal Information, described communication configuration information includes IP address, port and the communication mode of application server.
Method the most according to claim 1 and 2, it is characterised in that:
Described forwarding rule includes the IP address of terminal and the IP address in target data face.
Method the most according to claim 1 and 2, it is characterised in that:
Described forwarding rule includes the IP address field belonging to IP address of terminal, and the IP address in target data face;
Described forwarding rule is additionally operable to the datagram indicating the terminal in the IP address field belonging to IP address of described terminal to send Literary composition is forwarded to described target data face.
5. the method for a load sharing, it is characterised in that including:
Router receives the forwarding rule of the terminal that Business Stream chain of command sends, and described forwarding rule is to be controlled by described Business Stream Face carries out arranging service generation according to the IP address of terminal, target data during for indicating the data message forwarding of described terminal Face;
Described router forwards rule distributing policy route according to described;
Described router receives the data message of described terminal, according to described policybased routing by described data message forwarding to described Target data face.
Method the most according to claim 5, it is characterised in that:
Described forwarding rule includes the IP address of terminal and the IP address in target data face.
Method the most according to claim 5, it is characterised in that:
Described forwarding rule includes the IP address field belonging to IP address of terminal, and the IP address in target data face;
Described method also includes:
When the data message that the terminal in the IP address field belonging to described router receives the IP address of described terminal sends, Data message forwarding terminal in described IP address field sent is to described target data face.
8. the method for a load sharing, it is characterised in that including:
Data surface receives the communication configuration letter of the application server of the predefined business association of the terminal that Business Stream chain of command sends Breath;
Described data surface receives the data message of described terminal;
Described data surface determines the predefined business that described data message mates, and takes according to the application of described predefined business association Described data message is sent to corresponding application server by the communication configuration information of business device.
Method the most according to claim 8, it is characterised in that:
The communication configuration information of the application server of described predefined business association includes that each of described terminal predefines industry The communication configuration information of the application server of business association, described communication configuration information includes the IP address of application server, port And communication mode.
10. a chain of command entity, it is characterised in that including:
Receive unit, for receiving the reaching the standard grade request of terminal, described in reach the standard grade ask in carried terminal information, described terminating packet Include the IP address of described terminal and the network contraction information of described terminal;
Forward rule generating unit, for carrying out arranging service according to the IP address of described terminal, generate and forward rule, described turn Send out the target data face during data message forwarding of the rule described terminal of instruction;
Communication configuration information signal generating unit, for the network contraction information according to described terminal, determines the predefined of described terminal Business, determines the communication configuration information of the application server of described predefined business association;
Transmitting element, for being sent to router by described forwarding rule, so that described router is receiving described terminal Data message time, described data message is sent to described target data face;
Described transmitting element, is additionally operable to be sent to the communication configuration information of described application server described target data face, with Described data message is sent to accordingly by described target data face according to the communication configuration information of described application server Application server.
11. chain of command entities according to claim 10, it is characterised in that:
The predefined business of described terminal includes at least one;
Described communication configuration information signal generating unit, specifically for determining the application of the predefined business association of each of described terminal The communication configuration information of server, described communication configuration information includes IP address, port and the communication mode of application server.
12. according to the chain of command entity described in claim 10 or 11, it is characterised in that:
Described forwarding rule generating unit, carries out arranging service specifically for the IP address according to described terminal, generates and forwards rule Then, described forwarding rule includes the IP address of terminal and the IP address in target data face, and described forwarding rule indicates described end Target data face during the data message forwarding held.
13. according to the chain of command entity described in claim 10 or 11, it is characterised in that:
Described forwarding rule generating unit, carries out arranging service specifically for the IP address according to described terminal, generates and forwards rule Then, described forwarding rule includes the IP address field belonging to IP address of terminal, and the IP address in target data face, described forwarding Rule indicates the target data face during data message forwarding of described terminal, is additionally operable to indicate belonging to the IP address of described terminal The data message forwarding that terminal in IP address field sends is to described target data face.
14. 1 kinds of routers, it is characterised in that including:
Receiving unit, for receiving the forwarding rule of the terminal that Business Stream chain of command sends, described forwarding rule is by described industry Business flow control face carries out arranging service generation according to the IP address of terminal, during for indicating the data message forwarding of described terminal Target data face;
Processing unit, for forwarding rule distributing policy route according to described;
Described reception unit, is additionally operable to receive the data message of described terminal;
Transmitting element, is used for described data message forwarding to described target data face according to described policybased routing.
15. routers according to claim 14, it is characterised in that:
The described forwarding rule that described reception unit receives includes the IP address of terminal and the IP address in target data face.
16. methods according to claim 14, it is characterised in that:
The described forwarding rule that described reception unit receives includes the IP address field belonging to IP address of terminal, and target data The IP address in face;
Described transmitting element, is additionally operable to the number when the terminal in the IP address field belonging to IP address receiving described terminal sends During according to message, the data message forwarding terminal in described IP address field sent is to described target data face.
17. 1 kinds of data surface entities, it is characterised in that including:
Receive unit, for receiving the communication of the application server of the predefined business association of the terminal that Business Stream chain of command sends Configuration information;
Described reception unit, is additionally operable to receive the data message of described terminal;
Processing unit, for determining the predefined business that described data message mates;
Transmitting element, is used for the communication configuration information of the application server according to described predefined business association by described datagram Literary composition sends to corresponding application server.
18. data surface entities according to claim 17, it is characterised in that:
The communication configuration information of the application server of described predefined business association includes that each of described terminal predefines industry The communication configuration information of the application server of business association, described communication configuration information includes the IP address of application server, port And communication mode.
CN201610601030.7A 2016-07-27 2016-07-27 Load sharing method and equipment Active CN106254235B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610601030.7A CN106254235B (en) 2016-07-27 2016-07-27 Load sharing method and equipment
PCT/CN2017/093403 WO2018019157A1 (en) 2016-07-27 2017-07-18 Load sharing method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610601030.7A CN106254235B (en) 2016-07-27 2016-07-27 Load sharing method and equipment

Publications (2)

Publication Number Publication Date
CN106254235A true CN106254235A (en) 2016-12-21
CN106254235B CN106254235B (en) 2020-02-14

Family

ID=57603920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610601030.7A Active CN106254235B (en) 2016-07-27 2016-07-27 Load sharing method and equipment

Country Status (2)

Country Link
CN (1) CN106254235B (en)
WO (1) WO2018019157A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018019157A1 (en) * 2016-07-27 2018-02-01 华为技术有限公司 Load sharing method and device thereof
WO2018171322A1 (en) * 2017-03-20 2018-09-27 中兴通讯股份有限公司 Virtual network function and method for implementing service processing thereof, and storage medium
CN109257222A (en) * 2018-09-27 2019-01-22 中国联合网络通信有限公司广东省分公司 A kind of metropolitan area network framework based on arranging service device
CN110753006A (en) * 2019-09-17 2020-02-04 优刻得科技股份有限公司 Data processing method and device and electronic equipment
CN111352724A (en) * 2018-12-24 2020-06-30 中国电信股份有限公司 Method and device for realizing security resource selection
CN112804154A (en) * 2021-01-04 2021-05-14 北京金山云网络技术有限公司 Message processing method and device, electronic equipment and medium
CN113383531A (en) * 2019-12-25 2021-09-10 华为技术有限公司 Forwarding equipment, network card and message forwarding method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500358B (en) * 2022-02-14 2023-10-24 西藏创煌信息科技有限公司 Gateway message distribution method, device, equipment and storage medium
CN115866092A (en) * 2022-11-24 2023-03-28 中国联合网络通信集团有限公司 Data forwarding method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585357A (en) * 2003-08-19 2005-02-23 华为技术有限公司 Method for selecting server in network
CN101577936A (en) * 2008-05-09 2009-11-11 华为技术有限公司 Method, system and equipment for controlling service forwarding in communication system
CN101677324A (en) * 2008-09-17 2010-03-24 华为技术有限公司 Business management method, terminal, network system and related equipment
US20150263985A1 (en) * 2014-03-13 2015-09-17 Jpmorgan Chase Bank, N.A. Systems and methods for intelligent workload routing

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516610B (en) * 2012-06-18 2017-12-15 华为技术有限公司 Method for processing business, equipment and system
CN103269280B (en) * 2013-04-23 2017-12-15 华为技术有限公司 The method, apparatus and system commenced business in network
CN106716925B (en) * 2014-07-21 2020-05-29 瑞典爱立信有限公司 System and method for assigning multi-instance services in a provider network
CN105515985A (en) * 2015-11-27 2016-04-20 华为技术有限公司 Service message transmission control method, device and system
CN106254235B (en) * 2016-07-27 2020-02-14 上海华为技术有限公司 Load sharing method and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585357A (en) * 2003-08-19 2005-02-23 华为技术有限公司 Method for selecting server in network
CN101577936A (en) * 2008-05-09 2009-11-11 华为技术有限公司 Method, system and equipment for controlling service forwarding in communication system
CN101677324A (en) * 2008-09-17 2010-03-24 华为技术有限公司 Business management method, terminal, network system and related equipment
US20150263985A1 (en) * 2014-03-13 2015-09-17 Jpmorgan Chase Bank, N.A. Systems and methods for intelligent workload routing

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018019157A1 (en) * 2016-07-27 2018-02-01 华为技术有限公司 Load sharing method and device thereof
WO2018171322A1 (en) * 2017-03-20 2018-09-27 中兴通讯股份有限公司 Virtual network function and method for implementing service processing thereof, and storage medium
CN109257222A (en) * 2018-09-27 2019-01-22 中国联合网络通信有限公司广东省分公司 A kind of metropolitan area network framework based on arranging service device
CN109257222B (en) * 2018-09-27 2019-11-15 中国联合网络通信有限公司广东省分公司 A kind of metropolitan area network framework based on arranging service device
CN111352724A (en) * 2018-12-24 2020-06-30 中国电信股份有限公司 Method and device for realizing security resource selection
CN110753006A (en) * 2019-09-17 2020-02-04 优刻得科技股份有限公司 Data processing method and device and electronic equipment
CN113383531A (en) * 2019-12-25 2021-09-10 华为技术有限公司 Forwarding equipment, network card and message forwarding method
CN113383531B (en) * 2019-12-25 2022-10-11 华为技术有限公司 Forwarding equipment, network card and message forwarding method
CN112804154A (en) * 2021-01-04 2021-05-14 北京金山云网络技术有限公司 Message processing method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN106254235B (en) 2020-02-14
WO2018019157A1 (en) 2018-02-01

Similar Documents

Publication Publication Date Title
CN106254235A (en) A kind of method of load sharing and equipment thereof
CN102301663B (en) Message processing method and associated devices
CN102783099B (en) The method and apparatus of service control transmission
US8036230B2 (en) System and method for providing single IP tunnel
CN101789904A (en) Method and equipment for controlling flow
EP4033731A1 (en) Service processing method, device, and system
CN110290093A (en) The SD-WAN network architecture and network-building method, message forwarding method
EP3151477B1 (en) Fast path content delivery over metro access networks
CN105122741A (en) Method and apparatus for controlling service chain of service flow
EP1738541B1 (en) Device and method for routeing a unit of data in a network
CN105681198A (en) Business chain processing method, device and system
US20230015193A1 (en) System and method for adding routing paths in a network
CN106850432A (en) A kind of method and device of message forwarding
EP3151478A1 (en) Content caching in metro access networks
CN107070790A (en) A kind of route learning method and routing device
CN102571375A (en) Multicast forwarding method and device as well as network device
Baggan et al. A comprehensive analysis and experimental evaluation of routing information protocol: An elucidation
CN102170394B (en) Method and apparatus for message forwarding
CN107534648A (en) For supporting the mechanism of operator's auxiliary parent's control
EP3155772B1 (en) A new instant messaging(im) routing method and router
CN109246016A (en) Message processing method and device across VXLAN
CN107409047A (en) Encrypt the coordinate packet delivering of session
CN103391251B (en) A kind of method and apparatus reducing redundant flow in PBB network
WO2022068484A1 (en) Service chain address pool slicing method, device and system
CN101686265B (en) Network equipment, network system and method for establishing data communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant