CN106254235B - Load sharing method and equipment - Google Patents

Load sharing method and equipment Download PDF

Info

Publication number
CN106254235B
CN106254235B CN201610601030.7A CN201610601030A CN106254235B CN 106254235 B CN106254235 B CN 106254235B CN 201610601030 A CN201610601030 A CN 201610601030A CN 106254235 B CN106254235 B CN 106254235B
Authority
CN
China
Prior art keywords
terminal
address
service
application server
forwarding rule
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
CN201610601030.7A
Other languages
Chinese (zh)
Other versions
CN106254235A (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
Original Assignee
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 Huawei Technologies Co Ltd filed Critical 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

Images

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 a load sharing method and equipment thereof, which are used for dynamically realizing the load sharing of user flows. The method of the embodiment of the invention comprises the following steps: the invention arranges the data flow control surface, when the terminal is on line, the service arrangement is carried out through the data flow control surface, the forwarding rule is issued to the router, the router is indicated to send the data message of the terminal to the target data surface, and meanwhile, the communication configuration information of the terminal predefined service is determined and sent to the target data surface. After the subsequent data message reaches the router, the router executes the strategy routing to forward the data message to the corresponding target data plane for service processing, so that the strategy routing generated by different terminals is different, and the data plane forwarded by the router is different, thereby realizing load sharing. Meanwhile, the same type of data messages of different users can be forwarded to different application server instances, so that load sharing can be realized among the application server instances.

Description

Load sharing method and equipment
Technical Field
The invention relates to the field of communication and the field of internet, in particular to a load sharing method and equipment thereof.
Background
With the rapid development of network and pipeline technologies, the application of the internet is diversified, and the service of wireless network bandwidth is explosively increased. For example, with the rapid development of internet + in the application software on the existing PC, the mobile application requirements in the life and work of people are high, and the application is also wide. More and more mobile applications in different industries are required, and various chat software, taxi-taking software, shopping software, education software, videos and the like are all moved to mobile phones from the original PC terminal.
Pipeline business is being seized by the internet in end-to-end field, and mobile operator only does the pipeline, and pipeline business has the outbreak to increase, and the profit is lower and lower more and more to a lot of businesses are used to replace by the internet, remove also trying to do various applications in the pipeline field, occupy the internet application on the one hand, promote transmission efficiency on the other hand, so various applications just then appear, various accelerators, various optimization, the buffer memory, the video, the direct integrated third party APP of gateway etc.. In addition, various Network deployment, networking and application architectures appear, Software Defined Networks (SDN) and Multi-Service edge routers (MSE) appear, and cloud application and development are easier to deploy services.
The more mobile applications, the more routing and load sharing of different services will occur. In the prior art, a method for sharing service load based on policy routing is adopted to separate different links.
However, policy routing is a mechanism for performing routing selection according to a policy formulated by a user, and belongs to a static configuration mode, after a gateway or other equipment routes to a router, forwarding by a general router can only be according to configuration, and intelligent forwarding cannot be realized, so that load sharing cannot be performed according to configuration and service content.
Disclosure of Invention
The embodiment of the invention provides a load sharing method and equipment thereof, which can dynamically realize the load sharing of user flows.
In a first aspect, an embodiment of the present invention provides a method for load sharing, where the method includes:
a service flow control plane (workflow controller) receives an online request of a terminal, wherein the online request carries terminal information, and the terminal information comprises an IP address of the terminal and network subscription information of the terminal; the service flow control surface performs service arrangement according to the IP address of the terminal to generate a forwarding rule, and the forwarding rule indicates a target data surface when the data message of the terminal is forwarded; the service flow control surface determines a predefined service of the terminal according to the network subscription information of the terminal, and determines communication configuration information of an application server (inline service) associated with the predefined service; the service flow control plane sends the forwarding rule to the router, so that the router sends the data message to a target data plane when receiving the data message of the terminal; and the service flow control plane sends the communication configuration information of the application server to the target data plane, so that the target data plane sends the data message to the corresponding application server according to the communication configuration information of the application server.
The invention arranges the data flow control surface, when the terminal is on line, the control surface arranges the service, sends the forwarding rule to the router, instructs the router to send the data message of the terminal to the target data surface, and generates the communication configuration information of the terminal predefined service to the target data surface. After the subsequent data message reaches the router, the router executes the strategy routing to forward the data message to the corresponding target data plane for service processing, so that the strategy routing generated by different terminals is different, and the data plane forwarded by the router is different, thereby realizing load sharing. Meanwhile, the target data plane performs a service according to the communication configuration information of the predefined service transmitted by the control plane, and the same type of data messages of different users can be forwarded to different application server instances (inline service instances), so that load sharing can be realized among the inline services.
Optionally, the predefined service of the terminal includes at least one; the service flow control plane determines the communication configuration information of the application server with predefined service association, and comprises the following steps: the service flow control plane determines communication configuration information of application servers associated with each predefined service of the terminal, wherein the communication configuration information comprises IP addresses, ports, communication modes of application server instances, flow sequence of data messages in the application servers and the like.
Optionally, the forwarding rule includes an IP address of the terminal and an IP address of the target data plane, and the router is instructed to send the data packet of the IP address of the terminal to the IP address of the target data plane when receiving the data packet of the IP address of the terminal.
Optionally, the forwarding rule may also include an IP address field to which the IP address of the terminal belongs, and an IP address of the target data plane; the forwarding rule is further configured to instruct the terminal to forward the data packet sent by the terminal in the IP address field to which the IP address of the terminal belongs to the IP address of the target data plane.
In a second aspect, an embodiment of the present invention provides a method for load sharing, including:
the router receives a forwarding rule of the terminal sent by the service flow control surface, wherein the forwarding rule is generated by arranging services by the service flow control surface according to the IP address of the terminal and is used for indicating a target data surface when the data message of the terminal is forwarded; the router issues a strategy route according to the forwarding rule; and the router receives the data message of the terminal and forwards the data message to a target data plane according to the strategy route.
In the embodiment of the invention, the router generates the strategy route according to the forwarding rule issued by the data flow control surface, and after the subsequent message reaches the router, the router selects the route to forward to the corresponding data surface for service processing, so that the strategy routes generated by different users are different, and the router forwards to the data surface is different, thereby realizing load sharing.
Optionally, the forwarding rule includes an IP address of the terminal and an IP address of the target data plane.
Optionally, the forwarding rule includes an IP address field to which the IP address of the terminal belongs and an IP address of the target data plane; and when the router receives the data message sent by the terminal in the IP address field to which the IP address of the terminal belongs, the router forwards the data message sent by the terminal in the IP address field to the target data plane.
In a third aspect, an embodiment of the present invention provides a load sharing method, including:
the data plane receives communication configuration information of an application server related to a predefined service of the terminal, which is sent by the service flow control plane; a data plane receives a data message of a terminal; and the data plane determines a predefined service matched with the data message, and transmits the data message to the corresponding application server according to the communication configuration information of the application server associated with the predefined service.
In the embodiment of the invention, when the Service flow control plane configures the communication configuration information of the application server for the predefined Service, the Service flow control plane can control the corresponding relation between the terminal and the specific application server (Inline Service) instance, and can flexibly and dynamically adjust the corresponding relation according to the actual condition of the Service, thereby realizing load sharing among a plurality of Inline Service instances of the same type.
Optionally, the communication configuration information of the application server associated with the predefined service includes communication configuration information of the application server associated with each predefined service of the terminal, and the communication configuration information includes an IP address, a port, a communication mode of the application server, a flow sequence of the data packet in each application server, and the like.
In a fourth aspect, an embodiment of the present invention further provides a control plane device, which specifically implements the functions corresponding to the load sharing method provided in the first aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software programs by hardware. The hardware and software include one or more unit modules corresponding to the above functions, which may be software and/or hardware.
In one possible design, the control plane apparatus includes:
the receiving unit is used for receiving an online request of the terminal, wherein the online request carries terminal information, and the terminal information comprises an IP address of the terminal and network subscription information of the terminal;
a forwarding rule generating unit, configured to perform service arrangement according to the IP address of the terminal, and generate a forwarding rule indicating a target data plane when the data packet of the terminal is forwarded;
the communication configuration information generating unit is used for determining the predefined service of the terminal according to the network subscription information of the terminal and determining the communication configuration information of the application server related to the predefined service;
the sending unit is used for sending the forwarding rule to the router so that the router sends the data message to a target data plane when receiving the data message of the terminal;
and the sending unit is further configured to send the communication configuration information of the application server to the target data plane, so that the target data plane sends the data packet to the corresponding application server according to the communication configuration information of the application server.
In addition, each unit module in the control plane device further performs all or part of the steps performed by the data flow control plane in the load sharing method provided in the first aspect.
In a possible design, in a fifth aspect, an embodiment of the present invention provides a control plane device, where the control plane device may be a server, and the control plane device includes:
a transceiver, a processor and a memory connected to each other; the memory is configured to store program code, and the processor calls the program code in the memory to perform the steps performed by the control plane device of the first aspect.
In a sixth aspect, an embodiment of the present invention further provides a router, which specifically implements the functions corresponding to the load sharing method provided in the second aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software programs by hardware. The hardware and software include one or more unit modules corresponding to the above functions, which may be software and/or hardware.
In one possible design, the control plane apparatus includes:
a receiving unit, configured to receive a forwarding rule of the terminal sent by the traffic control plane, where the forwarding rule is generated by the traffic control plane performing service arrangement according to an IP address of the terminal and is used to indicate a target data plane when a data packet of the terminal is forwarded;
the processing unit is used for issuing the strategy route according to the forwarding rule;
a receiving unit, which is also used for receiving the data message of the terminal,
and the sending unit is used for forwarding the data message to the target data plane according to the strategy route.
In a possible design, in a seventh aspect, a router provided in an embodiment of the present invention includes:
a transceiver, a processor and a memory connected to each other; the memory is used for storing program codes, and the processor calls the program codes in the memory to execute the steps executed by the router in the second aspect.
In an eighth aspect, an embodiment of the present invention further provides a data plane device, which specifically implements the functions corresponding to the load sharing method provided in the third aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software programs by hardware. The hardware and software include one or more unit modules corresponding to the above functions, which may be software and/or hardware.
In one possible design, the data plane apparatus includes: the method comprises the following steps:
a receiving unit, configured to receive communication configuration information of an application server associated with a predefined service of a terminal, which is sent by a service flow control plane;
the receiving unit is also used for receiving the data message of the terminal;
the processing unit is used for determining the predefined service matched with the data message;
and the sending unit is used for sending the data message to the corresponding application server according to the communication configuration information of the application server associated with the predefined service.
In a possible design, in a ninth aspect, an embodiment of the present invention provides a router, including:
a transceiver, a processor and a memory connected to each other; the memory is used for storing program codes, and the processor calls the program codes in the memory to execute the steps executed by the data plane in the third aspect.
According to the technical scheme, the embodiment of the invention has the following advantages:
in the embodiment of the invention, the router selects the route to be forwarded to the corresponding data plane for service processing, so that the strategy routes generated by different users are different, and the strategy routes forwarded by the router to the data plane are different, thereby realizing load sharing.
Drawings
Fig. 1 is a networking load sharing diagram according to an embodiment of the present invention;
fig. 2 is an information interaction flowchart of a load sharing method in an embodiment of the present invention;
fig. 3 is a hardware structure diagram of a control plane device or a data plane device according to an embodiment of the present invention;
fig. 4 is a functional block diagram of a control plane device according to an embodiment of the present invention;
FIG. 5 is a functional block diagram of a data plane device according to an embodiment of the present invention;
FIG. 6 is a diagram of a hardware configuration of a router in an embodiment of the present invention;
fig. 7 is a functional block diagram of a router according to an embodiment of the present invention.
Detailed Description
The method, server and router for load sharing according to the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
As shown in fig. 1, in the embodiment of the present invention, a Service flow (workflow) is deployed behind a Gateway (GW), and then the gateway serves as a control plane of a Service orchestration system, the control plane determines Service orchestration, and then issues a routing forwarding rule to a router, the router generates a policy route according to the forwarding rule, after a data packet of a subsequent user (terminal user) reaches the router, the router forwards the packet according to the policy route issued last time, and forwards the packet to a corresponding workflow data plane for further analysis and Service, and forwards the packet to a corresponding inline Service (third party application Server or application Server) for Service according to the analysis and the decision, and after the Service is completed, sends the data packet to a Service Provider Server (SP Server).
The application server in the embodiment of the present invention may include various types, for example: the system comprises a security protection server, a video optimization server, a multimedia processing server, a file processing server and the like, wherein the security protection server, the video optimization server, the multimedia processing server and the file processing server can be Third-party applications (Third APPs), such as: the video optimization server can be Skyfire socket, the multimedia processing server can be Openwave, and the file processing server can be OpenWRT security protection.
Each application server may be multi-instance, and load balancing may be achieved by deploying multiple instances.
The embodiment of the invention also sends the communication configuration information of the application server associated with the predefined service of the user to the data plane through the control plane, wherein the communication configuration information comprises the communication address IP, the port number, the communication mode, the flow sequence and the like of the application server through which the data message of each predefined service of the terminal needs to flow.
For example: the application servers through which the data messages of a certain predefined service need to flow are: when the data message of the terminal user comes, the data plane performs each service according to the communication configuration information of the application server issued by the data flow control plane, for example: security protection, video optimization, multimedia processing, file processing, etc. are done one after another according to the choreographed service.
It should be noted that fig. 1 is only a schematic networking schematic diagram, in practical applications, different networking modes may exist, and the present invention does not limit a specific networking mode.
The load sharing method in the embodiment of the present invention is described in detail below with reference to fig. 2.
Step 201 and 203 are the flow of the user network access data flow control plane:
201. a gateway receives an online request of a terminal user;
the on-line request carries subscription information (or network parameters) of the UE, such as an International Mobile Subscriber Identity (IMSI).
202. The gateway allocates an IP address to the terminal; for example: the gateway assigns the end user an IP address of 192.168.100.100.
203. The gateway sends an online request to a service flow control plane of the terminal user, and the service flow control plane receives the online request of the terminal;
the on-line request carries terminal information, wherein the terminal information comprises an IP address distributed to a terminal by a gateway and network subscription information of the terminal, after receiving the on-line request, a service flow control plane performs service arrangement, issues a forwarding rule to a router, and issues application server communication configuration information to a target data plane, and the method is realized by specifically executing the following steps:
204. the service flow control surface performs service arrangement according to the IP address of the terminal to generate a forwarding rule;
the service flow control surface makes a decision according to the IP address of the terminal, and indicates a target data surface when the data message of the terminal is forwarded by issuing a forwarding rule to the router, so that the data messages of different terminals can be forwarded to different data surfaces when coming.
The service flow control plane decides what path to send to the router, the decision is the forwarding rule sent to the router, and the forwarding rule at least comprises the IP address of the terminal and the IP address of the target data plane.
205. The service flow control plane sends the forwarding rule to the router;
206. the router issues a policy route according to the forwarding rule;
the router generates a corresponding policy route according to a forwarding rule issued by the service flow control surface, and when the router receives a data message of the terminal (including an uplink data message of the terminal or a data message of a service provider server (SP server) downlink to the terminal), the router can be matched with the policy route and sends the data message of the terminal to a corresponding target data surface.
207. The service flow control surface determines the predefined service of the terminal according to the network subscription information of the terminal and determines the communication configuration information of an application server related to the predefined service of the terminal;
besides issuing the forwarding rule to the router, the service flow control plane also determines the predefined services of the terminal according to the network subscription information of the terminal and determines the communication configuration information of the application server related to the predefined services.
Specifically, the control plane stores predefined service templates of multiple terminals (i.e. terminal users), where the predefined service templates store types of services to be performed by each terminal, for example: the terminal A can be used for web page, firewall and video service; the terminal B can be used for webpage and video service.
And the service flow control surface determines the predefined service of the terminal from the stored predefined service template according to the network subscription information of the terminal.
And then configuring the communication information of the application servers associated with the predefined services according to the predefined services.
Specifically, a communication address IP, a port number, a communication mode, a flow sequence, and the like of the application server are configured for each predefined service, where the communication mode includes TCP, UDP, SCTP, ICAP, and the like.
For example: when the terminal A is in video service, the application server needing to flow is set as follows: the method comprises the steps of safety protection, video optimization, multimedia processing and file processing, and sets an IP address, a port number and a communication mode of each application server needing to flow through.
208. The service flow control plane sends the communication configuration information of the application server to a target data plane;
and the service flow control plane sends the communication configuration information of the application server associated with the predefined service to the target data plane, and when the target data plane receives the data message of the terminal, the data message is analyzed to be served in one application server according to the communication configuration information of the application server associated with the predefined service.
209. The user is successfully online, and the service flow control plane returns an online successful response to the gateway;
and after the service flow control surface issues the forwarding rule to the router and issues the communication configuration information of the application server associated with the predefined service to the target data surface, the service flow control surface returns a response message of successful on-line of the user to the gateway.
2010. The gateway returns a response of successful user attachment to the terminal;
2011. and the terminal sends the user data message access service and sends the data message to the gateway, wherein the data message is the uplink data message of the terminal.
2012. And the router receives the data message of the terminal sent by the gateway, matches the data message with the policy route in the step 206, forwards the data message according to the matched route forwarding table, and sends the data message to a target data plane for decision making.
2013. After receiving the data packet, the target data plane performs seven-layer parsing to determine a predefined service matched with the data packet, and according to the communication configuration information of the application server associated with the predefined service received in step 208, if it is found that a service needs to be performed on an application server (inline service), the data packet is sent to the corresponding application server, and the services are performed next to each other on one application server.
When the data packet determined by the data plane belongs to the video service exemplified in step 207, the data plane performs each service according to the communication configuration information of the application server issued by the data flow control plane, and security protection, video optimization, multimedia processing, file processing, and the like are performed one by one according to the arranged services.
Specifically, after the service is done on one application server, the target data plane is returned, and then the service is done on another application server.
Step 2014-step 2015 is that the target data plane sends the data message to the application server 1 for service, and after the service is completed, the data message returns to the target data plane.
Step 2016-step 2017, the target data plane sends the data message to the application server 2 for service, and after the service is finished, the data message returns to the target data plane.
2018. And after the target data plane finishes the service on the corresponding application server according to the communication configuration information of the application server associated with the predefined service, sending the data message to the router, and sending the data message to a service provider server (SP server) by the router.
Step 2019-step 2014: on the contrary, the processing of the data packet from the service provider server to the terminal in the downlink direction is opposite to the processing in the uplink direction, as shown in fig. 2, the data packet returned by the service provider server is first sent to the router, and is matched to the policy routing in step 206 (at this time, the data packet received by the router is the service packet from the server to the terminal in the downlink direction), and the data packet is forwarded according to the matched routing forwarding table, and is sent to the target data plane for decision making. And the target data plane decides whether to make an inline service according to the communication configuration information of the associated application server, if so, makes a service on the corresponding application server, returns to the router after the service is made, and the router sends the data message to the terminal.
In the prior art, after a gateway or other devices route to a router, general routing forwarding can only be forwarding according to configuration, and intelligent forwarding cannot be realized, so that the routing cannot share load. The embodiment of the invention indicates the router to route after the service arrangement is carried out on the service flow control surface, the router generates the strategy route, and the router selects the route to forward to the corresponding data surface to carry out service processing after the subsequent message reaches the router, so that the strategy routes generated by different users are different, and the router forwards to the data surface is different, thereby realizing load sharing. Road surface
In addition, when the Service flow control plane configures the communication configuration information of the application server for the predefined Service, the Service flow control plane can control the corresponding relationship between the terminal and a specific application server (Inline Service) instance, and can flexibly and dynamically adjust the corresponding relationship according to the actual condition of the Service, so that the load sharing can be realized among a plurality of Inline Service instances of the same type.
In the embodiment shown in fig. 2, when the service flow control plane issues the forwarding rule to the router, the forwarding rule is generated for a single terminal, and the source IP address (terminal IP address) of the forwarding rule only includes the IP of the single terminal.
Optionally, in the embodiment of the present invention, the service flow control plane may not only issue a single IP address to the policy routing to implement load sharing, but also issue a domain address, that is, a band mask is used as load sharing. The forwarding rule includes an IP address field to which the IP address of the terminal belongs and an IP address of the target data plane, and is used to instruct the data packet sent by the terminal in the IP address field to which the IP address of the terminal belongs to be forwarded to the same target data plane. For example: the IP address of the terminal sending the online request is 192.168.100.100, and when the service flow control plane issues the forwarding rule, the source IP address is 192.168.0.0/16, which means that the IP addresses of the terminal users beginning with 192.168 are all forwarded to the same target data plane.
The above is a description of an embodiment of a method in the embodiment of the present invention, and a control plane device, a router, and a data plane device in the embodiment of the present invention are described below.
Specifically, fig. 3 is a schematic diagram of a hardware structure of a control plane device or a data plane device according to an embodiment of the present invention, and in practical application, the control plane device and the data plane device may be servers. The server 300 may have a large difference due to different configurations or performances, and may include one or more processors (CPUs) 322 (e.g., one or more processors) and a memory 330, where the memory 330 is used for storing one or more storage applications 342 or data 344 and one or more operating systems 341, such as Windows server, Mac OS XTM, unix, linux, FreeBSDTM, and the like. The program stored in memory 330 may include one or more modules (not shown), each of which may include a sequence of instruction operations for a control plane device. Further, processor 322 may be in communication with memory 330 to execute a series of instruction operations in memory 330 on server 300.
The server 300 also includes one or more transceivers 350, which may be wired or wireless network interfaces.
Depending on the specific functions that the processor can perform, the hardware structure may be the control plane device shown in the above method embodiment, or may be a data plane device.
Specifically, if the device is a control plane device, all or part of the steps performed by the data flow control plane (workflow controller) in the method embodiment shown in fig. 2 are performed, specifically refer to the method embodiment section.
Specifically, if the data plane device is a data plane device, all or part of the steps performed by the target data plane in the method embodiment shown in fig. 2 are performed, specifically refer to the method embodiment section.
From the structural point of view of functional modules, the functions of the control plane device or the data plane device in the embodiments of the present invention may also be implemented by an application-specific integrated circuit (ASIC), or a Programmable Logic Device (PLD). The PLD may be a Complex Programmable Logic Device (CPLD), an FPGA, a General Array Logic (GAL), or any combination thereof.
In a possible implementation manner, a schematic diagram of a functional module of a control plane device in the embodiment of the present invention is shown in fig. 4, and includes:
a receiving unit 401, configured to receive an online request of a terminal, where the online request carries terminal information, and the terminal information includes an IP address of the terminal and network subscription information of the terminal;
a forwarding rule generating unit 402, configured to perform service arrangement according to the IP address of the terminal, and generate a forwarding rule, where the forwarding rule indicates a target data plane when the data packet of the terminal is forwarded;
a communication configuration information generating unit 403, configured to determine a predefined service of the terminal according to the network subscription information of the terminal, and determine communication configuration information of an application server associated with the predefined service;
a sending unit 404, configured to send the forwarding rule to a router, so that when receiving a data packet of the terminal, the router sends the data packet to the target data plane;
the sending unit 404 is further configured to send the communication configuration information of the application server to the target data plane, so that the target data plane sends the data packet to a corresponding application server according to the communication configuration information of the application server.
In some specific implementations, the predefined service of the terminal includes at least one; the communication configuration information generating unit 403 is specifically configured to determine communication configuration information of an application server associated with each predefined service of the terminal, where the communication configuration information includes an IP address, a port, and a communication mode of the application server.
In some specific implementations, the forwarding rule generating unit 402 is specifically configured to perform service arrangement according to the IP address of the terminal, and generate a forwarding rule, where the forwarding rule includes the IP address of the terminal and an IP address of a target data plane, and the forwarding rule indicates the target data plane when the data packet of the terminal is forwarded;
in some specific implementations, the forwarding rule generating unit is specifically configured to perform service arrangement according to the IP address of the terminal, and generate a forwarding rule, where the forwarding rule includes an IP address field to which the IP address of the terminal belongs and an IP address of a target data plane, and the forwarding rule indicates the target data plane when the data packet of the terminal is forwarded, and is further configured to indicate that the data packet sent by the terminal in the IP address field to which the IP address of the terminal belongs is forwarded to the target data plane.
The information interaction among the functional units in fig. 4 refers to the steps performed by the service flow control plane in the method embodiment, which are not described herein again.
In a possible implementation manner, a schematic diagram of functional modules of the data plane device in the embodiment of the present invention is shown in fig. 5, and includes:
a receiving unit 501, configured to receive communication configuration information of an application server associated with a predefined service of a terminal, sent by a service flow control plane; the terminal is also used for receiving the data message of the terminal;
a processing unit 502, configured to determine a predefined service matched with the data packet;
a sending unit 503, configured to send the data packet to a corresponding application server according to the communication configuration information of the application server associated with the predefined service.
Please refer to the steps executed on the target data plane in the method embodiment for information interaction between the functional units in fig. 5, which is not described herein again.
Fig. 6 is a schematic hardware structure diagram of a router according to an embodiment of the present invention, where the router may include at least one network interface or other communication interface, at least one receiver 601, at least one transmitter 602, at least one processor 603, and a memory 604, so as to implement connection communication between these devices, and implement communication connection with at least one other network element through at least one network interface (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, and so on.
The memory 604 may include a read-only memory and a Random Access Memory (RAM), and may provide instructions and data to the processor 603, and a portion of the memory 604 may include a high-speed Random Access Memory (RAM) or a non-volatile memory (non-volatile memory).
The memory 604 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof:
and (3) operating instructions: including various operational instructions for performing various operations.
Operating the system: including various system programs for implementing various basic services and for handling hardware-based tasks.
In the embodiment of the present invention, the processor 603 performs all or part of the steps performed by the router in the embodiment shown in fig. 2 by calling the operation instructions stored in the memory 604 (the operation instructions may be stored in an operating system).
In a possible implementation manner, a schematic diagram of a functional module of a router in the embodiment of the present invention is shown in fig. 7, and includes:
a receiving unit 701, configured to receive a forwarding rule of a terminal sent by a service flow control plane, where the forwarding rule is generated by performing service arrangement on the service flow control plane according to an IP address of the terminal, and is used to indicate a target data plane when a data packet of the terminal is forwarded;
a processing unit 702, configured to issue a policy route according to the forwarding rule;
the receiving unit 701 is further configured to receive a data packet of the terminal,
a sending unit 703, configured to forward the data packet to the target data plane according to the policy routing.
Please refer to the steps executed by the router in the method embodiment for information interaction between the functional units in fig. 7, which is not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (18)

1. A method of load sharing, the method comprising:
a service flow control surface receives an online request of a terminal, wherein the online request carries terminal information, and the terminal information comprises an IP address of the terminal and network subscription information of the terminal;
the service flow control surface performs service arrangement according to the IP address of the terminal to generate a forwarding rule, and the forwarding rule indicates a target data surface when the data message of the terminal is forwarded;
the service flow control surface determines a predefined service of the terminal according to the network subscription information of the terminal, and determines communication configuration information of an application server associated with the predefined service, wherein the predefined service of the terminal comprises at least one;
the service flow control plane sends the forwarding rule to a router, so that the router sends a data message to the target data plane when receiving the data message of the terminal;
and the service flow control plane sends the communication configuration information of the application server to the target data plane, so that the target data plane sends the data message to the corresponding application server according to the communication configuration information of the application server.
2. The method of claim 1, wherein:
the service flow control surface determines the communication configuration information of the application server associated with the predefined service, including:
and the service flow control surface determines the communication configuration information of the application server associated with each predefined service of the terminal, wherein the communication configuration information comprises the IP address, the port and the communication mode of the application server.
3. The method according to claim 1 or 2, characterized in that:
the forwarding rule includes an IP address of the terminal and an IP address of the target data plane.
4. The method according to claim 1 or 2, characterized in that:
the forwarding rule comprises an IP address field to which the IP address of the terminal belongs and the IP address of the target data plane;
the forwarding rule is further configured to instruct the data packet sent by the terminal in the IP address field to which the IP address of the terminal belongs to be forwarded to the target data plane.
5. A method of load sharing, comprising:
the router receives a forwarding rule of the terminal sent by a service flow control surface, wherein the forwarding rule is generated by arranging services by the service flow control surface according to an IP address of the terminal and is used for indicating a target data surface when a data message of the terminal is forwarded;
the router issues a policy route according to the forwarding rule;
and the router receives the data message of the terminal, and forwards the data message to the target data plane according to the strategy route, so that the target data plane sends the data message to a corresponding application server according to the communication configuration information of the application server.
6. The method of claim 5, wherein:
the forwarding rule includes an IP address of the terminal and an IP address of the target data plane.
7. The method of claim 5, wherein:
the forwarding rule comprises an IP address field to which the IP address of the terminal belongs and the IP address of the target data plane;
the method further comprises the following steps:
and when the router receives the data message sent by the terminal in the IP address field to which the IP address of the terminal belongs, forwarding the data message sent by the terminal in the IP address field to the target data plane.
8. A method of load sharing, comprising:
the data plane receives communication configuration information of an application server related to a predefined service of a terminal, which is sent by a service flow control plane, wherein the predefined service of the terminal comprises at least one;
the data plane receives a data message of the terminal forwarded by the router, the data message is forwarded to the data plane by the router according to a forwarding rule, and the forwarding rule is generated after a service flow control plane performs service arrangement according to the IP address of the terminal;
and the data plane determines a predefined service matched with the data message, and sends the data message to a corresponding application server according to the communication configuration information of the application server associated with the predefined service.
9. The method of claim 8, wherein:
the communication configuration information of the application server associated with the predefined service comprises the communication configuration information of the application server associated with each predefined service of the terminal, and the communication configuration information comprises an IP address, a port and a communication mode of the application server.
10. A control plane apparatus, comprising:
a receiving unit, configured to receive an online request of a terminal, where the online request carries terminal information, and the terminal information includes an IP address of the terminal and network subscription information of the terminal;
a forwarding rule generating unit, configured to perform service arrangement according to the IP address of the terminal, and generate a forwarding rule, where the forwarding rule indicates a target data plane when the data packet of the terminal is forwarded;
a communication configuration information generating unit, configured to determine, according to the network subscription information of the terminal, a predefined service of the terminal, and determine communication configuration information of an application server associated with the predefined service, where the predefined service of the terminal includes at least one;
a sending unit, configured to send the forwarding rule to a router, so that the router sends a data packet to the target data plane when receiving the data packet of the terminal;
the sending unit is further configured to send the communication configuration information of the application server to the target data plane, so that the target data plane sends the data packet to a corresponding application server according to the communication configuration information of the application server.
11. The control surface apparatus of claim 10, characterized in that:
the communication configuration information generating unit is specifically configured to determine communication configuration information of an application server associated with each predefined service of the terminal, where the communication configuration information includes an IP address, a port, and a communication mode of the application server.
12. The control plane device of claim 10 or 11, characterized in that:
the forwarding rule generating unit is specifically configured to perform service arrangement according to the IP address of the terminal, and generate a forwarding rule, where the forwarding rule includes the IP address of the terminal and an IP address of a target data plane, and the forwarding rule indicates the target data plane when the data packet of the terminal is forwarded.
13. The control plane device of claim 10 or 11, characterized in that:
the forwarding rule generating unit is specifically configured to perform service arrangement according to the IP address of the terminal, and generate a forwarding rule, where the forwarding rule includes an IP address field to which the IP address of the terminal belongs and an IP address of a target data plane, and the forwarding rule indicates the target data plane when the data packet of the terminal is forwarded, and is also configured to indicate that the data packet sent by the terminal in the IP address field to which the IP address of the terminal belongs is forwarded to the target data plane.
14. A router, comprising:
a receiving unit, configured to receive a forwarding rule of a terminal sent by a service flow control plane, where the forwarding rule is generated by performing service arrangement on the service flow control plane according to an IP address of the terminal, and is used to indicate a target data plane when a data packet of the terminal is forwarded;
the processing unit is used for issuing a policy route according to the forwarding rule;
the receiving unit is further configured to receive a data packet of the terminal;
and the sending unit is used for forwarding the data message to the target data plane according to the policy routing so that the target data plane sends the data message to a corresponding application server according to the communication configuration information of the application server.
15. The router of claim 14, wherein:
the forwarding rule received by the receiving unit includes an IP address of a terminal and an IP address of a target data plane.
16. The router of claim 14, wherein:
the forwarding rule received by the receiving unit comprises an IP address field to which the IP address of the terminal belongs and the IP address of the target data plane;
the sending unit is further configured to forward the data packet sent by the terminal in the IP address field to the target data plane when receiving the data packet sent by the terminal in the IP address field to which the IP address of the terminal belongs.
17. A data plane device, comprising:
a receiving unit, configured to receive communication configuration information of an application server associated with a predefined service of a terminal, where the communication configuration information is sent by a service flow control plane, and the predefined service of the terminal includes at least one service;
the receiving unit is further configured to receive a data packet of the terminal forwarded by the router, where the data packet is forwarded to the data plane by the router according to a forwarding rule, and the forwarding rule is generated after a service flow control plane performs service arrangement according to the IP address of the terminal;
the processing unit is used for determining the predefined service matched with the data message;
and the sending unit is used for sending the data message to the corresponding application server according to the communication configuration information of the application server associated with the predefined service.
18. The data plane device of claim 17, wherein:
the communication configuration information of the application server associated with the predefined service comprises the communication configuration information of the application server associated with each predefined service of the terminal, and the communication configuration information comprises an IP address, a port and a communication mode of the application server.
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 CN106254235A (en) 2016-12-21
CN106254235B true 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)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254235B (en) * 2016-07-27 2020-02-14 上海华为技术有限公司 Load sharing method and equipment
CN108632161B (en) * 2017-03-20 2022-04-12 中兴通讯股份有限公司 Virtual network function and method for realizing service processing
CN109257222B (en) * 2018-09-27 2019-11-15 中国联合网络通信有限公司广东省分公司 A kind of metropolitan area network framework based on arranging service device
CN111352724B (en) * 2018-12-24 2023-03-21 中国电信股份有限公司 Method and device for realizing security resource selection
CN110753006A (en) * 2019-09-17 2020-02-04 优刻得科技股份有限公司 Data processing method and device and electronic equipment
WO2021128089A1 (en) * 2019-12-25 2021-07-01 华为技术有限公司 Forwarding device, network card, and message forwarding method
CN112804154A (en) * 2021-01-04 2021-05-14 北京金山云网络技术有限公司 Message processing method and device, electronic equipment and medium
CN114500358B (en) * 2022-02-14 2023-10-24 西藏创煌信息科技有限公司 Gateway message distribution method, device, equipment and storage medium
CN115866092B (en) * 2022-11-24 2024-06-18 中国联合网络通信集团有限公司 Data forwarding method, device, equipment and storage medium
CN117278620A (en) * 2023-09-21 2023-12-22 中科驭数(北京)科技有限公司 Configuration method and system of data plane forwarding rule of DPU

Citations (3)

* 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

Family Cites Families (6)

* 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
WO2015138678A1 (en) * 2014-03-13 2015-09-17 Jpmorgan Chase Bank, N.A. Systems and methods for intelligent workload routing
WO2016012924A1 (en) * 2014-07-21 2016-01-28 Telefonaktiebolaget L M Ericsson (Publ) 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 (3)

* 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

Also Published As

Publication number Publication date
WO2018019157A1 (en) 2018-02-01
CN106254235A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN106254235B (en) Load sharing method and equipment
US9167501B2 (en) Implementing a 3G packet core in a cloud computer with openflow data and control planes
EP3140964B1 (en) Implementing a 3g packet core in a cloud computer with openflow data and control planes
US10135956B2 (en) Hardware-based packet forwarding for the transport layer
EP4224815A1 (en) Forwarding entry generation method, controller, and network device
EP2750343B1 (en) Dynamic network device processing using external components
US20160080253A1 (en) Service routing system, device, and method
CN111246453B (en) Data transmission method, user plane network element and control plane network element
CA2847103A1 (en) Implementing a 3g packet core in a cloud computer with openflow data and control planes
EP3758294B1 (en) Link configuration method and controller
CN104394080A (en) Method and device for achieving function of security group
EP3091708B1 (en) Processing rule modification method and apparatus
US11362933B2 (en) Methods and systems for sending packets through a plurality of tunnels
US9467370B2 (en) Method and system for network traffic steering based on dynamic routing
KR102058082B1 (en) Software-defined networking apparatus based on service profile learning
CN106789650B (en) Wide area network acceleration method and device based on IP
US11463404B2 (en) Quarantined communications processing at a network edge
US10826825B2 (en) Access network system, and data packet processing method and apparatus
EP4340318A1 (en) Routing obtaining method and apparatus, storage medium, and electronic apparatus
WO2022068484A1 (en) Service chain address pool slicing method, device and system
Hollingsworth et al. {P4EC}: Enabling Terabit Edge Computing in Enterprise 4G {LTE}
US20240291760A1 (en) Global visibility for virtual private network (vpn) conditions for routing optimizations
US11258720B2 (en) Flow-based isolation in a service network implemented over a software-defined network
EP3996350A1 (en) Backup service function notification and synchronization
JP6711786B2 (en) Communication system and communication method

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