WO2018019157A1 - Load sharing method and device thereof - Google Patents

Load sharing method and device thereof Download PDF

Info

Publication number
WO2018019157A1
WO2018019157A1 PCT/CN2017/093403 CN2017093403W WO2018019157A1 WO 2018019157 A1 WO2018019157 A1 WO 2018019157A1 CN 2017093403 W CN2017093403 W CN 2017093403W WO 2018019157 A1 WO2018019157 A1 WO 2018019157A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
address
application server
data packet
service
Prior art date
Application number
PCT/CN2017/093403
Other languages
French (fr)
Chinese (zh)
Inventor
蔡仕江
王春桃
章国梁
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2018019157A1 publication Critical patent/WO2018019157A1/en

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

Definitions

  • the present invention relates to the field of communications and the field of the Internet, and in particular to a method and device for load sharing.
  • Pipeline business is occupied by the Internet in the end-to-end field, mobile operators only do pipelines, and the pipeline business has an explosive growth, profits are getting lower and lower, and many businesses are replaced by Internet applications. Mobile is also trying to do in the pipeline field.
  • Applications on the one hand to seize the Internet application, in addition to improve transmission efficiency, so a variety of applications will follow, various accelerators, various optimization, cache, video, gateway directly integrated third-party APP applications.
  • various network deployments, networking, and application architectures appear, software-defined networks (English: Software Defined Network, SDN for short), multi-service edge routers (English: Multi Service Engine, MSE), multi-service concepts appear, cloud Application and development make it easier to deploy business.
  • the more mobile applications the more routing and load sharing of different services.
  • the prior art adopts a method of service load sharing based on policy routing to separate different links.
  • policy routing is a mechanism for routing based on policies formulated by users. It is a static configuration mode. After a gateway or other device routes to a router, the general router forwarding can only be forwarded according to the configuration, and intelligent forwarding cannot be implemented. Therefore, load sharing cannot be performed according to the configuration and business content.
  • the embodiment of the invention provides a load sharing method and a device thereof, which can dynamically implement load sharing of user flows.
  • an embodiment of the present invention provides a method for load sharing, where the method includes:
  • the service flow control device receives the online request of the terminal, and the online request carries the terminal information.
  • the terminal information includes the IP address of the terminal and the network subscription information of the terminal.
  • the service flow control plane performs service scheduling according to the IP address of the terminal, and generates and forwards the service.
  • the rule, the forwarding rule indicates the target data plane when the data packet of the terminal is forwarded;
  • the service flow control plane determines the predefined service of the terminal according to the network subscription information of the terminal, and determines the communication configuration of the inline service associated with the predefined service.
  • the traffic flow control plane sends the forwarding rule to the router, so that the router sends the data packet to the target data plane when receiving the data packet of the terminal;
  • the service flow control plane sends the communication configuration information of the application server to the target.
  • the data plane is such 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 present invention deploys a data flow control plane, and when the terminal goes online, performs service scheduling through the control plane, and sends a forwarding rule to the router, instructing the router to send the terminal data packet to the target data plane, and at the same time, generating the terminal predefined service. Communication configuration information to the target data plane. After the subsequent data packets reach the router, the router performs policy routing to forward the data packets to the corresponding target data plane for service processing. The policy routes generated by different terminals are different, and the data planes forwarded by the routers are different. Sharing.
  • the target data plane performs the service according to the communication configuration information of the predefined service delivered by the control plane, and the same type of data packet of different users can be forwarded to different application server instances (inline service instance), thereby being able to be in each inline service. Load sharing is achieved.
  • the predefined service of the terminal includes at least one type; the service flow control plane determines the communication configuration information of the application server of the predefined service association, where the service flow control plane determines the application server of each predefined service association of the terminal.
  • the communication configuration information includes an IP address, a port, a communication mode, and a flow order of the data packet in each application server of each application server instance.
  • the forwarding rule includes an IP address of the terminal and an IP address of the target data plane, and indicates that the router sends the data packet of the IP address of the receiving terminal to the IP address of the target data plane.
  • the forwarding rule may also include an IP address segment to which the IP address of the terminal belongs, and an IP address of the target data plane.
  • the forwarding rule is also used to indicate the data packet sent by the terminal in the IP address segment to which the IP address of the terminal belongs. The text is forwarded to the IP address of the target data plane.
  • an embodiment of the present invention provides a method for load sharing, including:
  • the router receives the forwarding rule of the terminal sent by the service flow control plane, and the forwarding rule is generated by the service flow control plane according to the IP address of the terminal, and is used to indicate the target data plane when the data packet of the terminal is forwarded; the router according to the forwarding rule The policy routing is delivered; the router receives the data packet of the terminal, and forwards the data packet to the target data plane according to the policy routing.
  • the router generates a policy route according to the forwarding rule sent by the data flow control plane. After the subsequent packet arrives at the router, the router selects the route and forwards the data to the corresponding data plane for service processing, so that the policy routes generated by different users are different. The router forwards to the data plane differently, thus achieving load sharing.
  • the forwarding rule includes an IP address of the terminal and an IP address of the target data plane.
  • the forwarding rule includes an IP address segment to which the IP address of the terminal belongs, and an IP address of the target data plane; when the router receives the data packet sent by the terminal in the IP address segment to which the IP address of the terminal belongs, The data packet sent by the terminal in the IP address segment is forwarded to the target data plane.
  • an embodiment of the present invention provides a method for load sharing, including:
  • the data plane receives the communication configuration information of the application server associated with the predefined service of the terminal sent by the service flow control plane; the data plane receives the data packet of the terminal; and the data plane determines the predefined service matched by the data packet, according to the predefined service association
  • the communication configuration information of the application server sends the data packet to the corresponding application server.
  • the service flow control plane can control the correspondence between the terminal and the specific application server (Inline Service) instance when configuring the application server communication configuration information for the predefined service, and can correspond to the actual situation of the service.
  • the relationship is flexibly and dynamically adjusted to enable load sharing among multiple inline sevice instances of the same type.
  • 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, and a datagram of the application server. The order in which the text flows through each application server.
  • the embodiment of the present invention further provides a control plane entity, and specifically implements a function corresponding to the load sharing method provided by the foregoing first aspect.
  • the functions may be implemented by hardware or by executing corresponding software programs through hardware.
  • the hardware and software include one or more unit modules corresponding to the functions described above, which may be software and/or hardware.
  • control plane entity includes:
  • a receiving unit configured to receive an online request of the terminal, where the online request carries the terminal information, where the terminal information includes an IP address of the terminal and network subscription information of the terminal;
  • the forwarding rule generating unit is configured to perform service scheduling 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 a predefined service of the terminal according to the network subscription information of the terminal, and determine communication configuration information of the application server associated with the predefined service
  • a sending unit configured to send a forwarding rule to the router, so that the router sends the 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 the corresponding application server according to the communication configuration information of the application server.
  • each unit module in the control plane entity also performs all or part of the steps performed by the data flow control plane in the load sharing method provided by the first aspect.
  • an embodiment of the present invention provides a control plane entity, where the control plane entity may be a server, including:
  • An interconnected transceiver, processor and memory a memory for storing program code, the processor invoking program code in the memory to perform the steps performed by the control plane entity of the first aspect above.
  • the embodiment of the present invention further provides a router, which specifically implements the function corresponding to the load sharing method provided by the foregoing second aspect.
  • the functions may be implemented by hardware or by executing corresponding software programs through hardware.
  • the hardware and software include one or more unit modules corresponding to the functions described above, which may be software and/or hardware.
  • control plane entity includes:
  • the receiving unit is configured to receive a forwarding rule of the terminal sent by the service flow control plane, where the forwarding rule is generated by the service flow control plane according to the IP address of the terminal, and is used to indicate the target data plane when the data packet of the terminal is forwarded;
  • a processing unit configured to deliver a policy route according to a forwarding rule
  • the receiving unit is further configured to receive a data packet of the terminal,
  • a sending unit configured to forward the data packet to the target data plane according to the policy routing.
  • the router provided by the embodiment of the present invention includes:
  • An interconnected transceiver, processor and memory a memory for storing program code, the processor invoking program code in the memory to perform the steps performed by the router in the second aspect above.
  • the embodiment of the present invention further provides a data plane entity, and specifically implements a function corresponding to the load sharing method provided by the foregoing third aspect.
  • the functions may be implemented by hardware or by executing corresponding software programs through hardware.
  • the hardware and software include one or more unit modules corresponding to the functions described above, which may be software and/or hardware.
  • the data plane entity includes:
  • a receiving unit configured to receive communication configuration information of an application server associated with a predefined service of the terminal sent by the service flow control plane;
  • the receiving unit is further configured to receive a data packet of the terminal
  • a processing unit configured to determine a predefined service in which the data packet matches
  • a sending unit configured to send the data packet to the corresponding application server according to the communication configuration information of the application server associated with the predefined service.
  • the router provided by the embodiment of the present invention includes:
  • An interconnected transceiver, processor and memory a memory for storing program code, the processor invoking program code in the memory to perform the steps performed by the data plane of the third aspect above.
  • the router selects a route to be forwarded to the corresponding data plane for service processing, so that the policy routes generated by different users are different, and the device forwards to the data plane is different, thereby implementing load sharing.
  • FIG. 1 is a diagram of a network load sharing diagram according to an embodiment of the present invention
  • FIG. 2 is a flow chart of information interaction of a load sharing method according to an embodiment of the present invention.
  • FIG. 3 is a hardware structural diagram of a control plane entity or a data plane entity in an embodiment of the present invention
  • FIG. 4 is a structural block diagram of a control plane entity in an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a data plane entity in an embodiment of the present invention.
  • FIG. 6 is a hardware structural diagram of a router according to an embodiment of the present invention.
  • FIG. 7 is a structural diagram of a functional module of a router according to an embodiment of the present invention.
  • the control plane of the service orchestration system is configured, and the control plane sends the route forwarding after the service is scheduled.
  • the router After the rule is sent to the router, the router generates a policy route according to the forwarding rule.
  • the router forwards the packet according to the policy route that was delivered last time, and forwards the packet to the corresponding workflow data plane. Deeper parsing and doing business, and forwarding to the corresponding inline service (third-party application server or application server) for business after parsing and decision-making, after sending the service, sending the data packet to the service provider server.
  • SP server Service Provider Server
  • the application server in the embodiment of the present invention may include various types, such as: a security protection server, a video optimization server, a multimedia processing server, and a file processing server, wherein the security protection server, the video optimization server, the multimedia processing server, and the file processing server are all It can be a third-party application (Third APP), for example, the video optimization server can be Skyfire Rocket, the multimedia processing server can be Openwave, the file processing server can be OpenWRT security protection.
  • a security protection server can be a third-party application (Third APP)
  • the video optimization server can be Skyfire Rocket
  • the multimedia processing server can be Openwave
  • the file processing server can be OpenWRT security protection.
  • Each application server can be multi-instance, and load balancing can be achieved by deploying multiple instances.
  • the communication configuration information of the application server that the user pre-defined service association is sent by the control plane includes the communication address IP, the port number, the communication mode, the flow order, and the like of the application server through which the data packet of each predefined service of the terminal needs to flow.
  • the application server through which a certain predefined service data packet needs to flow is: security protection—video optimization—multimedia processing—file processing, when the data packet of the end user comes, the data plane is controlled according to the data flow.
  • security protection video optimization—multimedia processing—file processing
  • the application server communication configuration information is delivered for each service, for example, security protection, video optimization, multimedia processing, file processing, etc., according to the arranged services.
  • FIG. 1 is only a schematic diagram of a simple networking. In actual applications, different networking modes exist. The present invention does not limit the specific networking mode.
  • Steps 201-203 are processes for the user to access the data flow control plane:
  • the gateway receives an online request of the terminal user.
  • the online request carries the subscription information (or network parameters) of the UE, such as an International Mobile Subscriber Identification Number (IMSI).
  • IMSI International Mobile Subscriber Identification Number
  • the gateway allocates an IP address to the terminal; for example, the gateway allocates an IP address to the terminal user as 192.168.100.100.
  • the gateway sends the online request to the service flow control plane, and the service flow control plane receives the online request of the terminal.
  • the online request carries the terminal information, which includes the IP address assigned by the gateway to the terminal and the network subscription information of the terminal.
  • the control plane After receiving the online request, the control plane performs service scheduling, and sends a forwarding rule to the router.
  • the application server communication configuration information is sent to the target data plane, which is implemented by performing the following steps:
  • the service flow control plane performs service scheduling according to the IP address of the terminal, and generates a forwarding rule.
  • the service flow control plane performs the decision according to the IP address of the terminal, and sends a forwarding rule to the router to indicate the target data plane when the data packet of the terminal is forwarded, so that the data packets of different terminals are forwarded to different On the data side.
  • the service flow control plane decides which path to send to the router.
  • the decision is the forwarding rule sent to the router.
  • the forwarding rule includes at least the IP address of the terminal and the IP address of the target data plane.
  • the service flow control plane sends the forwarding rule to the router.
  • the router delivers the policy route according to the forwarding rule.
  • the router generates a corresponding policy route according to the forwarding rule sent by the service flow control plane.
  • the router receives the data packet of the terminal (including the uplink data packet of the terminal, or the service provider server (SP server) downlinks to the terminal
  • the data packet can be matched to the policy route, and the data packet of the terminal is sent to the corresponding target data plane.
  • the service flow control plane determines the predefined service of the terminal according to the network subscription information of the terminal, and determines communication configuration information of the application server associated with the predefined service of the terminal.
  • the service flow control plane 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 servers associated with the predefined services.
  • control plane stores a predefined service template of multiple terminals (that is, the terminal user), where the predefined service template stores the type of service to be performed by each terminal, for example, the A terminal can be used as a webpage or a firewall.
  • video services; B terminals can do web and video services.
  • the service flow control plane determines the predefined service of the terminal from the stored predefined service template according to the network subscription information of the terminal.
  • the communication information of the application server associated with the predefined services is configured.
  • the communication address IP, the port number, the communication mode, the flow order, and the like of the application server are configured for each of the predefined services, and the communication modes include TCP, UDP, SCTP, and ICAP.
  • security protection video optimization—multimedia processing—file processing
  • IP address IP address, port number, and communication of each application server that needs to flow through. the way.
  • the service flow control plane sends the communication configuration information of the application server to the target data plane.
  • the traffic 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 packet of the terminal, parses the data packet according to the application server associated with the predefined service.
  • the communication configuration information is done in one application server.
  • the service flow control plane After the user goes online successfully, the service flow control plane returns a successful online response to the gateway;
  • the service flow control plane sends a forwarding rule to the router, and sends the application server communication configuration information associated with the predefined service to the target data plane, and then returns the user online success response message to the gateway.
  • the gateway returns a user attach success response to the terminal
  • the terminal sends a user data packet to access the service, and sends the data packet to the gateway.
  • the data packet is the uplink data packet of the terminal.
  • the router receives the data packet of the terminal sent by the gateway, matches the policy route in step 206, forwards the packet according to the matched routing table, and sends the data packet to the target data plane for decision.
  • the target data plane After receiving the data packet, the target data plane performs a seven-layer analysis to determine the predefined service matched by the data packet, and finds the need according to the communication configuration information of the application server associated with the predefined service received in step 208.
  • the service is performed on the inline service, the data packet is sent to the corresponding application server, and the service is performed on one application server.
  • the data plane performs each service according to the application server communication configuration information sent by the data flow control plane, security protection, video optimization, multimedia processing, Document processing, etc. are done one by one according to the arranged business.
  • step 2014-step 2015 the target data plane sends the data packet to the application server 1 for service, and after completing the service, returns to the target data plane.
  • Step 2016-Step 2017 is that the target data plane sends the data packet to the application server 2 for doing business, and after completing the business, returns to the target data plane.
  • the target data plane completes the service on the corresponding application server according to the communication configuration information of the application server associated with the predefined service
  • the data packet is sent to the router, and the router sends the data packet to the service provider server (SP). Server).
  • SP service provider server
  • Step 2019 - Step 2014 Conversely, the data packet of the service provider server from the downlink to the terminal is opposite to the uplink processing.
  • the data packet returned by the service provider server is first sent to the router, and the step is matched to the step.
  • the policy routing in 206 (the data packet received by the router is a service packet from the server to the terminal), and is forwarded according to the matched routing forwarding table, and the data packet is sent to the target data plane for decision. .
  • the target data plane decides whether to do the inline service according to the communication configuration information of the associated application server, and if necessary, goes to the corresponding application server to do the service, and after completing the service, returns to the router, and the router sends the data packet again.
  • the terminal the data packet returned by the service provider server is first sent to the router, and the step is matched to the step.
  • the policy routing in 206 (the data packet received by the router is a service packet from the server to the terminal), and is forwarded according to the matched routing forwarding
  • the gateway or other device is routed to the router, the general route forwarding can only be forwarded according to the configuration, and the intelligent forwarding cannot be implemented. Therefore, the route cannot be load-sharing.
  • the router routes are instructed, and the router generates a policy route. After the subsequent packets arrive at the router, the router selects the route and forwards the data to the corresponding data plane for service processing, so that the policy route generated by different users is not Similarly, the forwarding of the device to the data plane is different, thus achieving load sharing.
  • the service flow control plane configures the application server communication configuration information for the predefined service
  • the correspondence between the terminal and the specific application server (Inline Service) instance can be controlled, and the correspondence can be flexibly adjusted according to the actual situation of the service. Dynamically tuned to enable load sharing among multiple inline sevice instances of the same type.
  • the traffic flow control plane when the traffic flow control plane sends the forwarding rule to the router, it is a forwarding rule generated for a single terminal, and the source IP address (terminal IP address) of the forwarding rule includes only the IP of a single terminal.
  • the service flow control plane may not only deliver a single IP address to the policy route to implement load sharing, but also may send the area address, that is, the band mask as the load sharing.
  • the forwarding rule includes an IP address segment to which the IP address of the terminal belongs, and an IP address of the target data plane, which is used to indicate that the data packet sent by the terminal in the IP address segment to which the IP address of the terminal belongs is forwarded to the same target data plane.
  • the source IP address is 192.168.0.0/16, indicating that the IP address of the terminal user starting with 192.168 is forwarded to the same Target data surface.
  • FIG. 3 is a schematic diagram of a hardware structure of a control plane entity or a data plane entity according to an embodiment of the present invention.
  • the control plane entity and the data plane entity may be servers.
  • the server 300 may vary greatly depending on configuration or performance, and may include one or more processors (central processing units, CPU for short) 322 (eg, one or more processors) and a memory 330.
  • Memory 330 is used to store one or more storage applications 342 or data 344, storing one or more operating systems 341, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and the like.
  • the program stored in memory 330 may include one or more modules (not shown), each of which may include a series of instruction operations in the control plane device. Still further, the processor 322 can communicate with the memory 330 to perform a series of instruction operations in the memory 330 on the server 300.
  • Server 300 also includes one or more transceivers 350, which may be wired or wireless network interfaces.
  • the hardware structure may be the control plane entity shown in the above method embodiment, or may be a data plane entity.
  • control plane entity or the data plane entity in the embodiment of the present invention may also be implemented by an application-specific integrated circuit (ASIC), or programmable logic.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the above PLD can be a complex programmable logic device (English: complex programmable logic device, Abbreviation: CPLD), FPGA, general array logic (English: general array logic, abbreviation: GAL) or any combination thereof.
  • FIG. 4 a schematic diagram of a function module of a control plane entity in the embodiment of the present invention is shown in FIG. 4, and includes:
  • the receiving unit 401 is configured to receive an online request of the terminal, where the online request carries terminal information, where the terminal information includes an IP address of the terminal and network subscription information of the terminal;
  • the forwarding rule generating unit 402 is configured to perform service scheduling 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;
  • the communication configuration information generating unit 403 is configured to determine a predefined service of the terminal according to the network subscription information of the terminal, and determine communication configuration information of the application server associated with the predefined service;
  • the sending unit 404 is configured to send the forwarding rule to the router, so that the router sends the data packet to the target data plane when receiving the data packet of the terminal;
  • 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 the application configuration information according to the communication configuration information of the application server.
  • the corresponding application server 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 application configuration information according to the communication configuration information of the application server.
  • the predefined service of the terminal includes at least one type; 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.
  • the communication configuration information includes an IP address, a port, and a communication mode of the application server.
  • the forwarding rule generating unit 402 is specifically configured to perform service scheduling according to the IP address of the terminal, and generate a forwarding rule, where the forwarding rule includes an IP address of the terminal and an IP address of the target data plane.
  • the forwarding rule indicates a target data plane when the data packet of the terminal is forwarded;
  • the forwarding rule generating unit is specifically configured to perform service scheduling according to the IP address of the terminal, and generate a forwarding rule, where the forwarding rule includes an IP address segment to which the IP address of the terminal belongs, and a target.
  • the IP address of the data plane indicates the target data plane when the data packet of the terminal is forwarded, and is further used to indicate that the data packet sent by the terminal in the IP address segment to which the IP address of the terminal belongs is forwarded to The target data surface.
  • FIG. 5 a schematic diagram of a function module of a data plane entity in the embodiment of the present invention is shown in FIG. 5, and includes:
  • the receiving unit 501 is configured to receive communication configuration information of the application server of the predefined service association of the terminal that is sent by the service flow control plane, and is further configured to receive the data packet of the terminal;
  • the processing unit 502 is configured to determine a predefined service that the data packet matches
  • the sending unit 503 is configured to send the data packet to the corresponding application server according to the communication configuration information of the application server that is associated with the predefined service.
  • 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.
  • At least one network interface may be wired or Wireless
  • the memory 604 can include read-only memory and random access memory, and provides instructions and data to the processor 603.
  • a portion of the memory 604 can also include, possibly including, a high-speed random access memory (RAM), and possibly a non- Un-volatile memory.
  • RAM high-speed random access memory
  • the memory 604 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof:
  • Operation instructions include various operation instructions for implementing various operations.
  • Operating system Includes a variety of system programs for implementing various basic services and handling hardware-based tasks.
  • the processor 603 executes all or part of the steps performed by the router in the embodiment shown in FIG. 2 by calling an operation instruction stored in the memory 604 (which may be stored in the operating system).
  • FIG. 7 a schematic diagram of a function module of a router in the embodiment of the present invention is as shown in FIG. 7, and includes:
  • the receiving unit 701 is configured to receive a forwarding rule of the terminal sent by the service flow control plane, where the forwarding rule is generated by the service flow control plane according to the IP address of the terminal, and is used to indicate the data packet of the terminal.
  • Target data surface when forwarding is configured to indicate the data packet of the terminal.
  • the processing unit 702 is configured to deliver a policy route according to the forwarding rule.
  • the receiving unit 701 is further configured to receive a data packet of the terminal,
  • the sending unit 703 is configured to forward the data packet to the target data plane according to the policy routing.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the 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 standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • Including a number of instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the methods described in various embodiments of the present invention Step by step.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

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

Abstract

Disclosed are a load sharing method and a device thereof, for dynamically realizing load sharing of user flows. The method of the embodiments of the present invention comprises: in the present invention, by deploying a data flow control plane, when a terminal is online, performing service layout by means of the data flow control plane, issuing a forwarding rule to a router so as to instruct the router to send a data message of the terminal to a target data plane, and at the same time, determining communication configuration information about a predefined service of the terminal and sending same to the target data plane. After a subsequent data message reaches the router, the router executes a policy route to forward the data message to a corresponding target data plane for service processing, such that policy routes generated by different terminals are different, and data planes forwarded to by the router are also different, thereby realizing load sharing. At the same time, the same type of data messages of different users can be forwarded to different application server instances, so that load sharing can be realized between the application server instances.

Description

一种负荷分担的方法及其设备Method and device for load sharing
本申请要求于2016年7月27日提交中国专利局、申请号为201610601030.7、发明名称为“一种负荷分担的方法及其设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on July 27, 2016, the Chinese Patent Application No. 201610601030.7, entitled "A Method of Load Sharing and Its Equipment", the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本发明涉及通信领域和互联网领域,具体涉及一种负荷分担的方法及其设备。The present invention relates to the field of communications and the field of the Internet, and in particular to a method and device for load sharing.
背景技术Background technique
随着网络和管道技术的飞速发展,互联网+应用多样化,无线网络带宽的业务呈爆炸式的增长。比如之前的PC上应用软件,随着互联网+飞速发展,在人们生活和工作中移动应用要求也高,应用也很广泛。不同的行业在移动方面的应用也要求越来多,各种聊天软件,打车软件,购物软件,教育软件,视频等,都从原来的PC端移到手机上应用。With the rapid development of network and pipeline technology, Internet + applications are diversified, and the business of wireless network bandwidth is exploding. For example, the application software on the previous PC, with the rapid development of the Internet +, the mobile application requirements in people's lives and work are also high, and the application is also very extensive. Different industries also require more mobile applications. Various chat software, taxi software, shopping software, educational software, video, etc. are all moved from the original PC to the mobile phone.
管道业务在端到端领域在被互联网占领,移动运营商只做管道,而管道业务有爆发增长,利润越来越低,并且很多业务被互联网应用代替,移动在管道领域也在试着做各种应用,一方面抢占互联网应用,另外方面提升传输效率,所以各种应用就跟着出现,各种加速器,各种优化,缓存,视频,网关直接集成第三方APP应用等。另外各种网络部署、组网、应用架构出现,软件定义网络(英文:Software Defined Network,简称:SDN),多业务边缘路由器(英文:Multi Service Engine,简称:MSE)多业务概念出现、云的应用和发展更容易部署业务。Pipeline business is occupied by the Internet in the end-to-end field, mobile operators only do pipelines, and the pipeline business has an explosive growth, profits are getting lower and lower, and many businesses are replaced by Internet applications. Mobile is also trying to do in the pipeline field. Applications, on the one hand to seize the Internet application, in addition to improve transmission efficiency, so a variety of applications will follow, various accelerators, various optimization, cache, video, gateway directly integrated third-party APP applications. In addition, various network deployments, networking, and application architectures appear, software-defined networks (English: Software Defined Network, SDN for short), multi-service edge routers (English: Multi Service Engine, MSE), multi-service concepts appear, cloud Application and development make it easier to deploy business.
移动应用越多,对不同业务进行路由和负荷分担也就出现。现有技术采用基于策略路由的业务负载分担的方法,将不同链路分开。The more mobile applications, the more routing and load sharing of different services. The prior art adopts a method of service load sharing based on policy routing to separate different links.
但是策略路由是一种依据用户制定的策略进行路由选择的机制,属于一种静态的配置方式,网关或者其他设备路由到路由器上后,一般路由器转发只能是按照配置转发,不能实现智能转发,所以不能做到根据配置再加业务内容进行负荷分担。However, policy routing is a mechanism for routing based on policies formulated by users. It is a static configuration mode. After a gateway or other device routes to a router, the general router forwarding can only be forwarded according to the configuration, and intelligent forwarding cannot be implemented. Therefore, load sharing cannot be performed according to the configuration and business content.
发明内容Summary of the invention
本发明实施例提供了一种负荷分担的方法及其设备,能够动态实现用户流的负荷分担。The embodiment of the invention provides a load sharing method and a device thereof, which can dynamically implement 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:
业务流控制面(workflow controller)接收终端的上线请求,上线请求中携带终端信息,终端信息包括终端的IP地址和终端的网络签约信息;业务流控制面根据终端的IP地址进行业务编排,生成转发规则,转发规则指示终端的数据报文转发时的目标数据面;业务流控制面根据终端的网络签约信息,确定终端的预定义业务,确定预定义业务关联的应用服务器(inline service)的通信配置信息;业务流控制面将转发规则发送给路由器,以使得路由器在接收到终端的数据报文时,将数据报文发送至目标数据面;业务流控制面将应用服务器的通信配置信息发送给目标数据面,以使得目标数据面根据应用服务器的通信配置信息将数据报文发送至相应的应用服务器。 The service flow control device receives the online request of the terminal, and the online request carries the terminal information. The terminal information includes the IP address of the terminal and the network subscription information of the terminal. The service flow control plane performs service scheduling according to the IP address of the terminal, and generates and forwards the service. The rule, the forwarding rule indicates the target data plane when the data packet of the terminal is forwarded; the service flow control plane determines the predefined service of the terminal according to the network subscription information of the terminal, and determines the communication configuration of the inline service associated with the predefined service. The traffic flow control plane sends the forwarding rule to the router, so that the router sends the data packet to the target data plane when receiving the data packet of the terminal; the service flow control plane sends the communication configuration information of the application server to the target. The data plane is such that the target data plane sends the data message to the corresponding application server according to the communication configuration information of the application server.
本发明通过部署数据流控制面,当终端上线时,通过控制面进行业务编排,下发转发规则给路由器,指示路由器将终端的数据报文发送至目标数据面,同时,生成终端预定义业务的通信配置信息给目标数据面。后续数据报文达到路由器后,路由器执行策略路由将数据报文转发到对应的目标数据面进行业务处理,这样不同终端生成的策略路由不一样,路由器转发到的数据面也不一样,从而实现负荷分担。同时,目标数据面根据控制面下发的预定义业务的通信配置信息做业务,不同用户的同一类数据报文可以转发到不同的应用服务器实例(inline service实例),从而能够在各inline service之间实现负荷分担。The present invention deploys a data flow control plane, and when the terminal goes online, performs service scheduling through the control plane, and sends a forwarding rule to the router, instructing the router to send the terminal data packet to the target data plane, and at the same time, generating the terminal predefined service. Communication configuration information to the target data plane. After the subsequent data packets reach the router, the router performs policy routing to forward the data packets to the corresponding target data plane for service processing. The policy routes generated by different terminals are different, and the data planes forwarded by the routers are different. Sharing. At the same time, the target data plane performs the service according to the communication configuration information of the predefined service delivered by the control plane, and the same type of data packet of different users can be forwarded to different application server instances (inline service instance), thereby being able to be in each inline service. Load sharing is achieved.
可选的,终端的预定义业务包括至少一种;业务流控制面确定预定义业务关联的应用服务器的通信配置信息包括:业务流控制面确定终端的每一种预定义业务关联的应用服务器的通信配置信息,通信配置信息包括各应用服务器实例的IP地址、端口、通信方式、数据报文在各应用服务器的流经顺序等。Optionally, the predefined service of the terminal includes at least one type; the service flow control plane determines the communication configuration information of the application server of the predefined service association, where the service flow control plane determines the application server of each predefined service association of the terminal. The communication configuration information includes an IP address, a port, a communication mode, and a flow order of the data packet in each application server of each application server instance.
可选的,转发规则中包括终端的IP地址和目标数据面的IP地址,指示路由器将该收到终端的IP地址的数据报文时,发送给所述目标数据面的IP地址。Optionally, the forwarding rule includes an IP address of the terminal and an IP address of the target data plane, and indicates that the router sends the data packet of the IP address of the receiving terminal to the IP address of the target data plane.
可选的,转发规则中也可以包括终端的IP地址所属的IP地址段,和目标数据面的IP地址;转发规则还用于指示终端的IP地址所属的IP地址段内的终端发送的数据报文转发至所述目标数据面的IP地址。Optionally, the forwarding rule may also include an IP address segment to which the IP address of the terminal belongs, and an IP address of the target data plane. The forwarding rule is also used to indicate the data packet sent by the terminal in the IP address segment to which the IP address of the terminal belongs. The text is forwarded 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:
路由器接收业务流控制面发送的终端的转发规则,转发规则是由业务流控制面根据终端的IP地址进行业务编排生成,用于指示终端的数据报文转发时的目标数据面;路由器根据转发规则下发策略路由;路由器接收终端的数据报文,根据策略路由将数据报文转发至目标数据面。The router receives the forwarding rule of the terminal sent by the service flow control plane, and the forwarding rule is generated by the service flow control plane according to the IP address of the terminal, and is used to indicate the target data plane when the data packet of the terminal is forwarded; the router according to the forwarding rule The policy routing is delivered; the router receives the data packet of the terminal, and forwards the data packet to the target data plane according to the policy routing.
本发明实施例中,路由器根据数据流控制面下发的转发规则生成策略路由,后续报文到达路由器后,路由器选择路由转发到对应的数据面进行业务处理,这样不同用户生成的策略路由不一样,路由器转发到数据面也不一样,从而实现负荷分担。In the embodiment of the present invention, the router generates a policy route according to the forwarding rule sent by the data flow control plane. After the subsequent packet arrives at the router, the router selects the route and forwards the data to the corresponding data plane for service processing, so that the policy routes generated by different users are different. The router forwards to the data plane differently, thus achieving load sharing.
可选的,转发规则中包括终端的IP地址和目标数据面的IP地址。Optionally, the forwarding rule includes an IP address of the terminal and an IP address of the target data plane.
可选的,转发规则中包括终端的IP地址所属的IP地址段,和目标数据面的IP地址;当路由器接收到终端的IP地址所属的IP地址段内的终端发送的数据报文时,将IP地址段内的终端发送的数据报文转发至目标数据面。Optionally, the forwarding rule includes an IP address segment to which the IP address of the terminal belongs, and an IP address of the target data plane; when the router receives the data packet sent by the terminal in the IP address segment to which the IP address of the terminal belongs, The data packet sent by the terminal in the IP address segment is forwarded to the target data plane.
第三方面,本发明实施例提供了一种负荷分担的方法,包括:In a third aspect, an embodiment of the present invention provides a method for load sharing, including:
数据面接收业务流控制面发送的终端的预定义业务关联的应用服务器的通信配置信息;数据面接收终端的数据报文;数据面确定数据报文匹配的预定义业务,根据预定义业务关联的应用服务器的通信配置信息将数据报文发送至对应的应用服务器。The data plane receives the communication configuration information of the application server associated with the predefined service of the terminal sent by the service flow control plane; the data plane receives the data packet of the terminal; and the data plane determines the predefined service matched by the data packet, according to the predefined service association The communication configuration information of the application server sends the data packet to the corresponding application server.
本发明实施例中,业务流控制面在给预定义业务配置应用服务器通信配置信息时,可以控制终端和具体的应用服务器(Inline Service)实例之间的对应关系,能够根据业务的实际情况对对应关系进行灵活动态调整,从而能够在同类型的多个inline sevice实例中间实现负荷分担。In the embodiment of the present invention, the service flow control plane can control the correspondence between the terminal and the specific application server (Inline Service) instance when configuring the application server communication configuration information for the predefined service, and can correspond to the actual situation of the service. The relationship is flexibly and dynamically adjusted to enable load sharing among multiple inline sevice instances of the same type.
可选的,预定义业务关联的应用服务器的通信配置信息包括终端的每一种预定义业务关联的应用服务器的通信配置信息,通信配置信息包括应用服务器的IP地址、端口、通信方式及数据报文在各应用服务器的流经顺序等。 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, and a datagram of the application server. The order in which the text flows through each application server.
第四方面,本发明实施例还提供一种控制面实体,具体实现对应于上述第一方面提供的负荷分担方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件程序实现。硬件和软件包括一个或多个与上述功能相对应的单元模块,所述单元模块可以是软件和/或硬件。In a fourth aspect, the embodiment of the present invention further provides a control plane entity, and specifically implements a function corresponding to the load sharing method provided by the foregoing first aspect. The functions may be implemented by hardware or by executing corresponding software programs through hardware. The hardware and software include one or more unit modules corresponding to the functions described above, which may be software and/or hardware.
一种可能的设计中,所述控制面实体包括:In a possible design, the control plane entity includes:
接收单元,用于接收终端的上线请求,上线请求中携带终端信息,终端信息包括终端的IP地址和终端的网络签约信息;a receiving unit, configured to receive an online request of the terminal, where the online request carries the terminal information, where the terminal information includes an IP address of the terminal and network subscription information of the terminal;
转发规则生成单元,用于根据终端的IP地址进行业务编排,生成转发规则,转发规则指示终端的数据报文转发时的目标数据面;The forwarding rule generating unit is configured to perform service scheduling 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 a predefined service of the terminal according to the network subscription information of the terminal, and determine communication configuration information of the application server associated with the predefined service;
发送单元,用于将转发规则发送给路由器,以使得路由器在接收到终端的数据报文时,将数据报文发送至目标数据面;a sending unit, configured to send a forwarding rule to the router, so that the router sends the 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 the corresponding application server according to the communication configuration information of the application server.
此外,该控制面实体中的各单元模块还执行第一方面提供的负荷分担方法中的数据流控制面所执行的全部或部分步骤。In addition, each unit module in the control plane entity also performs all or part of the steps performed by the data flow control plane in the load sharing method provided by the first aspect.
一种可能的设计中,在第五方面,本发明实施例提供了一种控制面实体,该控制面实体可以为服务器,包括:In a possible design, in a fifth aspect, an embodiment of the present invention provides a control plane entity, where the control plane entity may be a server, including:
相互连接的收发器、处理器及存储器;存储器用于存储程序代码,处理器调用存储器中的程序代码,以执行上述第一方面中的控制面实体所执行的步骤。An interconnected transceiver, processor and memory; a memory for storing program code, the processor invoking program code in the memory to perform the steps performed by the control plane entity of the first aspect above.
第六方面,本发明实施例还提供一种路由器,具体实现对应于上述第二方面提供的负荷分担方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件程序实现。硬件和软件包括一个或多个与上述功能相对应的单元模块,所述单元模块可以是软件和/或硬件。In a sixth aspect, the embodiment of the present invention further provides a router, which specifically implements the function corresponding to the load sharing method provided by the foregoing second aspect. The functions may be implemented by hardware or by executing corresponding software programs through hardware. The hardware and software include one or more unit modules corresponding to the functions described above, which may be software and/or hardware.
一种可能的设计中,所述控制面实体包括:In a possible design, the control plane entity includes:
接收单元,用于接收业务流控制面发送的终端的转发规则,转发规则是由业务流控制面根据终端的IP地址进行业务编排生成,用于指示终端的数据报文转发时的目标数据面;The receiving unit is configured to receive a forwarding rule of the terminal sent by the service flow control plane, where the forwarding rule is generated by the service flow control plane according to the IP address of the terminal, and is used to indicate the target data plane when the data packet of the terminal is forwarded;
处理单元,用于根据转发规则下发策略路由;a processing unit, configured to deliver a policy route according to a forwarding rule;
接收单元,还用于接收终端的数据报文,The receiving unit is further configured to receive a data packet of the terminal,
发送单元,用于根据策略路由将数据报文转发至目标数据面。a sending unit, configured to forward the data packet to the target data plane according to the policy routing.
一种可能的设计中,在第七方面,本发明实施例提供的路由器,包括:In a possible design, in a seventh aspect, the router provided by the embodiment of the present invention includes:
相互连接的收发器、处理器及存储器;存储器用于存储程序代码,处理器调用存储器中的程序代码,以执行上述第二方面中的路由器所执行的步骤。An interconnected transceiver, processor and memory; a memory for storing program code, the processor invoking program code in the memory to perform the steps performed by the router in the second aspect above.
第八方面,本发明实施例还提供一种数据面实体,具体实现对应于上述第三方面提供的负荷分担方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件程序实现。硬件和软件包括一个或多个与上述功能相对应的单元模块,所述单元模块可以是软件和/或硬件。In an eighth aspect, the embodiment of the present invention further provides a data plane entity, and specifically implements a function corresponding to the load sharing method provided by the foregoing third aspect. The functions may be implemented by hardware or by executing corresponding software programs through hardware. The hardware and software include one or more unit modules corresponding to the functions described above, which may be software and/or hardware.
一种可能的设计中,所述数据面实体包括:包括: In a possible design, the data plane entity includes:
接收单元,用于接收业务流控制面发送的终端的预定义业务关联的应用服务器的通信配置信息;a receiving unit, configured to receive communication configuration information of an application server associated with a predefined service of the terminal sent by the service flow control plane;
接收单元,还用于接收终端的数据报文;The receiving unit is further configured to receive a data packet of the terminal;
处理单元,用于确定数据报文匹配的预定义业务;a processing unit, configured to determine a predefined service in which the data packet matches;
发送单元,用于根据预定义业务关联的应用服务器的通信配置信息将数据报文发送至对应的应用服务器。And a sending unit, configured to send the data packet 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, the router provided by the embodiment of the present invention includes:
相互连接的收发器、处理器及存储器;存储器用于存储程序代码,处理器调用存储器中的程序代码,以执行上述第三方面中的数据面所执行的步骤。An interconnected transceiver, processor and memory; a memory for storing program code, the processor invoking program code in the memory to perform the steps performed by the data plane of the third aspect above.
从以上技术方案可以看出,本发明实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:
本发明实施例中,路由器选择路由转发到对应的数据面进行业务处理,这样不同用户生成的策略路由不一样,由器转发到数据面也不一样,从而实现负荷分担。In the embodiment of the present invention, the router selects a route to be forwarded to the corresponding data plane for service processing, so that the policy routes generated by different users are different, and the device forwards to the data plane is different, thereby implementing load sharing.
附图说明DRAWINGS
图1为本发明实施例中一种组网负荷分担图;FIG. 1 is a diagram of a network load sharing diagram according to an embodiment of the present invention;
图2为本发明实施例中的负荷分担方法的信息交互流程图;2 is a flow chart of information interaction of a load sharing method according to an embodiment of the present invention;
图3为本发明实施例中控制面实体或数据面实体的一种硬件结构图;3 is a hardware structural diagram of a control plane entity or a data plane entity in an embodiment of the present invention;
图4为本发明实施例中控制面实体的一种功能模块结构图;4 is a structural block diagram of a control plane entity in an embodiment of the present invention;
图5为本发明实施例中数据面实体的一种功能模块结构图;5 is a structural block diagram of a data plane entity in an embodiment of the present invention;
图6为本发明实施例中路由器的一种硬件结构图;6 is a hardware structural diagram of a router according to an embodiment of the present invention;
图7为本发明实施例中路由器的一种功能模块结构图。FIG. 7 is a structural diagram of a functional module of a router according to an embodiment of the present invention.
具体实施方式detailed description
下面结合附图对本发明实施例中的负荷分担的方法、服务器及路由器进行详细介绍。The method, server and router for load sharing in the embodiment of the present invention are described in detail below with reference to the accompanying drawings.
如图1所示,本发明实施例在网关(英文:gateway,简称:GW)后面部署业务流(workflow)后做业务编排系统的控制面,该控制面把业务编排决定后,下发路由转发规则到路由器上,路由器根据转发规则生成策略路由,后续用户(终端用户)的数据报文到达路由器后,路由器根据上一次下发的策略路由进行报文转发,转发到对应的workflow数据面上进行更深一层的解析和做业务,并且根据解析和决策后转发到对应的inline service(第三方应用服务器或应用服务器)上做业务,做完业务后,再把数据报文发送至服务提供商服务器(英文:Service Provider Server,简称:SP server)。As shown in FIG. 1 , after the service flow is deployed in the gateway (English: gateway, GW for short), the control plane of the service orchestration system is configured, and the control plane sends the route forwarding after the service is scheduled. After the rule is sent to the router, the router generates a policy route according to the forwarding rule. After the data packet of the subsequent user (end user) arrives at the router, the router forwards the packet according to the policy route that was delivered last time, and forwards the packet to the corresponding workflow data plane. Deeper parsing and doing business, and forwarding to the corresponding inline service (third-party application server or application server) for business after parsing and decision-making, after sending the service, sending the data packet to the service provider server. (English: Service Provider Server, referred to as: SP server).
本发明实施例中的应用服务器可以包括多种,例如:安全防护服务器、视频优化服务器、多媒体处理服务器和文件处理服务器等,其中,安全防护服务器、视频优化服务器、多媒体处理服务器和文件处理服务器都可以是第三方应用(Third APP),例如:视频优化服务器可以是Skyfire Rocket,多媒体处理服务器可以是Openwave、文件处理服务器可以是OpenWRT安全防护。The application server in the embodiment of the present invention may include various types, such as: a security protection server, a video optimization server, a multimedia processing server, and a file processing server, wherein the security protection server, the video optimization server, the multimedia processing server, and the file processing server are all It can be a third-party application (Third APP), for example, the video optimization server can be Skyfire Rocket, the multimedia processing server can be Openwave, the file processing server can be OpenWRT security protection.
每一种应用服务器可以是多实例,可以通过部署多个实例来实现负载均衡。Each application server can be multi-instance, and load balancing can be achieved by deploying multiple instances.
本发明实施例还通过控制面下发用户预定义业务关联的应用服务器的通信配置信息给 数据面,该通信配置信息中包括该终端的每一种预定义业务的数据报文需要流经的应用服务器的通信地址IP、端口号,通信方式,流经顺序等。In the embodiment of the present invention, the communication configuration information of the application server that the user pre-defined service association is sent by the control plane The data plane includes the communication address IP, the port number, the communication mode, the flow order, and the like of the application server through which the data packet of each predefined service of the terminal needs to flow.
例如:某种预定义业务的数据报文需要流经的应用服务器为:安全防护—视频优化—多媒体处理—文件处理,则当终端用户的数据报文来的时候,数据面根据数据流控制面下发的应用服务器通信配置信息做每个业务,例如:安全防护、视频优化、多媒体处理、文件处理等按照编排的业务一个一个挨着做。For example, the application server through which a certain predefined service data packet needs to flow is: security protection—video optimization—multimedia processing—file processing, when the data packet of the end user comes, the data plane is controlled according to the data flow. The application server communication configuration information is delivered for each service, for example, security protection, video optimization, multimedia processing, file processing, etc., according to the arranged services.
需要说明的是,图1只是一种简略的组网示意图,在实际应用中,会存在不同的组网方式,本发明不对具体的组网方式做限定。It should be noted that FIG. 1 is only a schematic diagram of a simple networking. In actual applications, different networking modes exist. The present invention does not limit the specific networking mode.
下面结合图2对本发明实施例中的负荷分担方法进行详细介绍。The load sharing method in the embodiment of the present invention will be described in detail below with reference to FIG. 2 .
步骤201-203是用户入网数据流控制面的流程:Steps 201-203 are processes for the user to access the data flow control plane:
201、网关接收到终端用户的上线请求;201. The gateway receives an online request of the terminal user.
该上线请求中携带UE的签约信息(或网络参数),例如国际移动用户识别码(英文:International Mobile Subscriber Identification Number,简称:IMSI)。The online request carries the subscription information (or network parameters) of the UE, such as an International Mobile Subscriber Identification Number (IMSI).
202、网关给终端分配IP地址;例如:网关给终端用户分配IP地址为192.168.100.100。202. The gateway allocates an IP address to the terminal; for example, the gateway allocates an IP address to the terminal user as 192.168.100.100.
203、网关该终端用户的将上线请求发送至业务流控制面,业务流控制面接收终端的上线请求;203. The gateway sends the online request to the service flow control plane, and the service flow control plane receives the online request of the terminal.
该上线请求中携带终端信息,其中包括网关给终端分配的IP地址和终端的网络签约信息,业务流控制面接收到该上线请求后,控制面进行业务编排,给路由器下发转发规则,并给目标数据面下发应用服务器通信配置信息,具体通过执行如下步骤实现:The online request carries the terminal information, which includes the IP address assigned by the gateway to the terminal and the network subscription information of the terminal. After receiving the online request, the control plane performs service scheduling, and sends a forwarding rule to the router. The application server communication configuration information is sent to the target data plane, which is implemented by performing the following steps:
204、业务流控制面根据终端的IP地址进行业务编排,生成转发规则;204. The service flow control plane performs service scheduling according to the IP address of the terminal, and generates a forwarding rule.
业务流控制面根据终端的IP地址进行决策,通过给路由器下发转发规则来指示终端的数据报文转发时的目标数据面,以使得不同的终端的数据报文来的时候会转发到不同的数据面上。The service flow control plane performs the decision according to the IP address of the terminal, and sends a forwarding rule to the router to indicate the target data plane when the data packet of the terminal is forwarded, so that the data packets of different terminals are forwarded to different On the data side.
业务流控制面决策下发一个什么路径给路由器,该决策即为下发给路由器的转发规则,该该转发规则中至少包括终端的IP地址和目标数据面的IP地址。The service flow control plane decides which path to send to the router. The decision is the forwarding rule sent to the router. The forwarding rule includes at least the IP address of the terminal and the IP address of the target data plane.
205、业务流控制面将转发规则发送给路由器;205. The service flow control plane sends the forwarding rule to the router.
206、路由器根据所述转发规则下发策略路由;206. The router delivers the policy route according to the forwarding rule.
路由器根据业务流控制面下发的转发规则,生成对应的策略路由,当路由器接收到该终端的数据报文(包括终端上行的数据报文,或服务提供商服务器(SP server)下行到终端的数据报文)时,可以匹配到该策略路由,将终端的数据报文发送至对应的目标数据面。The router generates a corresponding policy route according to the forwarding rule sent by the service flow control plane. When the router receives the data packet of the terminal (including the uplink data packet of the terminal, or the service provider server (SP server) downlinks to the terminal The data packet can be matched to the policy route, and the data packet of the terminal is sent to the corresponding target data plane.
207、业务流控制面根据终端的网络签约信息,确定终端的预定义业务,确定终端的预定义业务关联的应用服务器的通信配置信息;207. The service flow control plane determines the predefined service of the terminal according to the network subscription information of the terminal, and determines communication configuration information of the application server associated with the predefined service of the terminal.
业务流控制面除了下发转发规则给路由器之外,还根据终端的网络签约信息,确定终端的预定义业务,并确定这些预定义业务关联的应用服务器的通信配置信息。The service flow control plane 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 servers associated with the predefined services.
具体的,控制面中存储了多个终端(也即终端用户)的预定义业务模板,该预定义业务模板中保存了每个终端要做的业务的类型,例如:A终端可以做网页、防火墙、视频业务;B终端可以做网页、视频业务。Specifically, the control plane stores a predefined service template of multiple terminals (that is, the terminal user), where the predefined service template stores the type of service to be performed by each terminal, for example, the A terminal can be used as a webpage or a firewall. And video services; B terminals can do web and video services.
业务流控制面根据终端的网络签约信息,从存储的预定义业务模板中确定该终端的预定义业务。 The service flow control plane determines the predefined service of the terminal from the stored predefined service template according to the network subscription information of the terminal.
之后,根据该预定义业务,配置这些预定义业务所关联的应用服务器的通信信息。Then, according to the predefined service, the communication information of the application server associated with the predefined services is configured.
具体的,是为每一种预定义业务配置应用服务器的通信地址IP、端口号,通信方式、流经顺序等,其中通信方式包括TCP、UDP、SCTP、ICAP等方式。Specifically, the communication address IP, the port number, the communication mode, the flow order, and the like of the application server are configured for each of the predefined services, and the communication modes include TCP, UDP, SCTP, and ICAP.
例如:A终端做视频业务时,设定需要流经的应用服务器为:安全防护—视频优化—多媒体处理—文件处理,并设定需要流经的每一个应用服务器的IP地址、端口号、通信方式。For example, when the A terminal is doing video services, set the application server that needs to flow through: security protection—video optimization—multimedia processing—file processing, and set the IP address, port number, and communication of each application server that needs to flow through. the way.
208、业务流控制面将应用服务器的通信配置信息发送给目标数据面;208. The service flow control plane sends the communication configuration information of the application server to the target data plane.
业务流控制面将预定义业务关联的应用服务器的通信配置信息发送给目标数据面,在目标数据面接收到终端的数据报文时,通过解析将该数据报文按照预定义业务关联的应用服务器的通信配置信息在一个一个应用服务器中做业务。The traffic 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 packet of the terminal, parses the data packet according to the application server associated with the predefined service. The communication configuration information is done in one application server.
209、用户上线成功,业务流控制面将上线成功应答返回给网关;209. After the user goes online successfully, the service flow control plane returns a successful online response to the gateway;
业务流控制面在下发转发规则给路由器,下发预定义业务关联的应用服务器通信配置信息给目标数据面后,返回用户上线成功应答消息给网关。The service flow control plane sends a forwarding rule to the router, and sends the application server communication configuration information associated with the predefined service to the target data plane, and then returns the user online success response message to the gateway.
2010、网关将用户附着成功应答返回给终端;In 2010, the gateway returns a user attach success response to the terminal;
2011、终端发送用户数据报文访问业务,将数据报文发送网关,此数据报文为终端的上行数据报文。In 2011, the terminal sends a user data packet to access the service, and sends the data packet to the gateway. The data packet is the uplink data packet of the terminal.
2012、路由器接收到网关发送的终端的数据报文,匹配到步骤206中的所述策略路由,按照匹配到的路由转发表进行转发,将数据报文发送至目标数据面上进行决策。In 2012, the router receives the data packet of the terminal sent by the gateway, matches the policy route in step 206, forwards the packet according to the matched routing table, and sends the data packet to the target data plane for decision.
2013、目标数据面接收到数据报文后,进行七层解析,确定所述数据报文所匹配的预定义业务,根据步骤208中接收的预定义业务关联的应用服务器的通信配置信息,发现需要到应用服务器(inline service)上做业务,则将数据报文发送至相应的应用服务器,在一个一个应用服务器上挨着做业务。After receiving the data packet, the target data plane performs a seven-layer analysis to determine the predefined service matched by the data packet, and finds the need according to the communication configuration information of the application server associated with the predefined service received in step 208. When the service is performed on the inline service, the data packet is sent to the corresponding application server, and the service is performed on one application server.
则当数据面确定来的数据报文是属于步骤207中举例的视频业务时,数据面根据数据流控制面下发的应用服务器通信配置信息做每个业务,安全防护、视频优化、多媒体处理、文件处理等按照编排的业务一个一个挨着做。Then, 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 application server communication configuration information sent by the data flow control plane, security protection, video optimization, multimedia processing, Document processing, etc. are done one by one according to the arranged business.
具体的,是在一个应用服务器上做完业务后,回到目标数据面,再到接下来的另一个应用服务器上做业务。Specifically, after completing the business on one application server, return to the target data surface and then do business on another application server.
步骤2014-步骤2015是目标数据面将数据报文发送至应用服务器1上做业务,做完业务后,再返回到目标数据面。In step 2014-step 2015, the target data plane sends the data packet to the application server 1 for service, and after completing the service, returns to the target data plane.
步骤2016-步骤2017是目标数据面将数据报文发送至应用服务器2上做业务,做完业务后,再返回到目标数据面。Step 2016-Step 2017 is that the target data plane sends the data packet to the application server 2 for doing business, and after completing the business, returns to the target data plane.
2018、目标数据面根据预定义业务关联的应用服务器的通信配置信息在相应的应用服务器上做完业务后,将数据报文发送至路由器,由路由器将数据报文送至服务提供商服务器(SP server)。2018. After the target data plane completes the service on the corresponding application server according to the communication configuration information of the application server associated with the predefined service, the data packet is sent to the router, and the router sends the data packet to the service provider server (SP). Server).
步骤2019-步骤2014:相反的,服务提供商服务器下行到终端的数据报文的与上行的处理相反,如图2所示,服务提供商服务器返回的数据报文先发给路由器,匹配到步骤206中的所述策略路由(此时路由器接收到的数据报文为服务器下行至终端的业务报文),按照匹配到的路由转发表进行转发,将数据报文发送至目标数据面上进行决策。目标数据面再根据关联的应用服务器的通信配置信息决策是否要做inline service,如果需要,则到相应的应用服务器上做业务,做完业务后,再回到路由器,路由器再将数据报文发送至终端。 Step 2019 - Step 2014: Conversely, the data packet of the service provider server from the downlink to the terminal is opposite to the uplink processing. As shown in FIG. 2, the data packet returned by the service provider server is first sent to the router, and the step is matched to the step. The policy routing in 206 (the data packet received by the router is a service packet from the server to the terminal), and is forwarded according to the matched routing forwarding table, and the data packet is sent to the target data plane for decision. . The target data plane then decides whether to do the inline service according to the communication configuration information of the associated application server, and if necessary, goes to the corresponding application server to do the service, and after completing the service, returns to the router, and the router sends the data packet again. To the terminal.
在现有技术中,网关或者其他设备路由到路由器上后,一般路由转发只能是按照配置转发,不能实现智能转发,所以路由不能做到负荷分担。本发明实施例在业务流控制面进行业务编排后指示路由器路由,路由器生成策略路由,后续报文到达路由器后,路由器选择路由转发到对应的数据面进行业务处理,这样不同用户生成的策略路由不一样,由器转发到数据面也不一样,从而实现负荷分担。路In the prior art, after the gateway or other device is routed to the router, the general route forwarding can only be forwarded according to the configuration, and the intelligent forwarding cannot be implemented. Therefore, the route cannot be load-sharing. In the embodiment of the present invention, after the service flow control plane performs service orchestration, the router routes are instructed, and the router generates a policy route. After the subsequent packets arrive at the router, the router selects the route and forwards the data to the corresponding data plane for service processing, so that the policy route generated by different users is not Similarly, the forwarding of the device to the data plane is different, thus achieving load sharing. road
另外,由业务流控制面在给预定义业务配置应用服务器通信配置信息时,可以控制终端和具体的应用服务器(Inline Service)实例之间的对应关系,能够根据业务的实际情况对对应关系进行灵活动态调整,从而能够在同类型的多个inline sevice实例中间实现负荷分担。In addition, when the service flow control plane configures the application server communication configuration information for the predefined service, the correspondence between the terminal and the specific application server (Inline Service) instance can be controlled, and the correspondence can be flexibly adjusted according to the actual situation of the service. Dynamically tuned to enable load sharing among multiple inline sevice instances of the same type.
图2所示的实施例中,业务流控制面下发转发规则给路由器时,是针对单个终端生成的转发规则,转发规则的源IP地址(终端IP地址)中只包含单个终端的IP。In the embodiment shown in FIG. 2, when the traffic flow control plane sends the forwarding rule to the router, it is a forwarding rule generated for a single terminal, and the source IP address (terminal IP address) of the forwarding rule includes only the IP of a single terminal.
可选的,本发明实施例中,业务流控制面不但可以下发单个的IP地址给策略路由实现负荷分担,而且也可以下发区域地址,也就是带掩码作为负荷分担。转发规则中包括终端的IP地址所属的IP地址段,和目标数据面的IP地址,用于指示终端的IP地址所属的IP地址段内的终端发送的数据报文转发至同一个目标数据面。例如:发送上线请求的终端的IP地址为192.168.100.100,业务流控制面下发转发规则时,源IP地址为192.168.0.0/16方式,表示以192.168开头的终端用户IP地址都转发到同一个目标数据面上。Optionally, in the embodiment of the present invention, the service flow control plane may not only deliver a single IP address to the policy route to implement load sharing, but also may send the area address, that is, the band mask as the load sharing. The forwarding rule includes an IP address segment to which the IP address of the terminal belongs, and an IP address of the target data plane, which is used to indicate that the data packet sent by the terminal in the IP address segment to which the IP address of the terminal belongs is forwarded to the same target data plane. For example, if the IP address of the terminal that sends the online request is 192.168.100.100 and the forwarding rule is sent by the service flow control plane, the source IP address is 192.168.0.0/16, indicating that the IP address of the terminal user starting with 192.168 is forwarded to the same Target data surface.
以上是对本发明实施例中的方法实施例进行的介绍,下面对本发明实施例中的控制面实体、路由器、数据面实体进行介绍。The foregoing is an introduction to the method embodiment in the embodiment of the present invention. The following describes the control plane entity, the router, and the data plane entity in the embodiment of the present invention.
具体的,在图3是本发明实施例提供的一种控制面实体或数据面实体硬件结构示意图,在实际应用中,控制面实体和数据面实体可以为服务器。该服务器300可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器(英文:central processing units,简称:CPU)322(例如,一个或一个以上处理器)和存储器330,存储器330用于存储一个或一个以上存储应用程序342或数据344,存储一个或一个以上操作系统341,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。存储在存储器330的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对控制面设备中的一系列指令操作。更进一步地,处理器322可以与存储器330通信,在服务器300上执行存储器330中的一系列指令操作。Specifically, FIG. 3 is a schematic diagram of a hardware structure of a control plane entity or a data plane entity according to an embodiment of the present invention. In an actual application, the control plane entity and the data plane entity may be servers. The server 300 may vary greatly depending on configuration or performance, and may include one or more processors (central processing units, CPU for short) 322 (eg, one or more processors) and a memory 330. Memory 330 is used to store one or more storage applications 342 or data 344, storing one or more operating systems 341, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and the like. The program stored in memory 330 may include one or more modules (not shown), each of which may include a series of instruction operations in the control plane device. Still further, the processor 322 can communicate with the memory 330 to perform a series of instruction operations in the memory 330 on the server 300.
服务器300还包括一个或一个以上收发器350,该收发器可以是有线或无线网络接口。 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 entity shown in the above method embodiment, or may be a data plane entity.
具体的,如果是控制面实体,则执行上述图2所示的方法实施例中的数据流控制面(workflow controller)所执行的全部或部分步骤,具体请参阅方法实施例部分。Specifically, if it is a control plane entity, all or part of the steps performed by the data flow control controller in the method embodiment shown in FIG. 2 above are performed. For details, refer to the method embodiment section.
具体的,如果是数据面实体,则执行上述图2所示的方法实施例中的目标数据面所执行的全部或部分步骤,具体请参阅方法实施例部分。Specifically, if it is a data plane entity, all or part of the steps performed by the target data plane in the foregoing method embodiment shown in FIG. 2 are performed. For details, refer to the method embodiment section.
从功能模块结构角度来说,本发明实施例中的控制面实体或数据面实体所具有的功能还可以通过专用集成电路(英文:application-specific integrated circuit,简称:ASIC)实现,或可编程逻辑器件(英文:programmable logic device,简称:PLD)实现。上述PLD可以是复杂可编程逻辑器件(英文:complex programmable logic device, 简称:CPLD),FPGA,通用阵列逻辑(英文:generic array logic,简称:GAL)或其任意组合。The function of the control plane entity or the data plane entity in the embodiment of the present invention may also be implemented by an application-specific integrated circuit (ASIC), or programmable logic. The device (English: programmable logic device, referred to as: PLD) is implemented. The above PLD can be a complex programmable logic device (English: complex programmable logic device, Abbreviation: CPLD), FPGA, general array logic (English: general array logic, abbreviation: GAL) or any combination thereof.
一种可能的实现方式中,本发明实施例中控制面实体的功能模块示意图如图4所示,包括:In a possible implementation manner, a schematic diagram of a function module of a control plane entity in the embodiment of the present invention is shown in FIG. 4, and includes:
接收单元401,用于接收终端的上线请求,所述上线请求中携带终端信息,所述终端信息包括所述终端的IP地址和所述终端的网络签约信息;The receiving unit 401 is configured to receive an online request of the terminal, where the online request carries terminal information, where the terminal information includes an IP address of the terminal and network subscription information of the terminal;
转发规则生成单元402,用于根据所述终端的IP地址进行业务编排,生成转发规则,所述转发规则指示所述终端的数据报文转发时的目标数据面;The forwarding rule generating unit 402 is configured to perform service scheduling 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;
通信配置信息生成单元403,用于根据所述终端的网络签约信息,确定所述终端的预定义业务,确定所述预定义业务关联的应用服务器的通信配置信息;The communication configuration information generating unit 403 is configured to determine a predefined service of the terminal according to the network subscription information of the terminal, and determine communication configuration information of the application server associated with the predefined service;
发送单元404,用于将所述转发规则发送给路由器,以使得所述路由器在接收到所述终端的数据报文时,将所述数据报文发送至所述目标数据面;The sending unit 404 is configured to send the forwarding rule to the router, so that the router sends the data packet to the target data plane when receiving the data packet of the terminal;
所述发送单元404,还用于将所述应用服务器的通信配置信息发送给所述目标数据面,以使得所述目标数据面根据所述应用服务器的通信配置信息将所述数据报文发送至相应的应用服务器。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 the application configuration information according to the communication configuration information of the application server. The corresponding application server.
在一些具体的实施中,所述终端的预定义业务包括至少一种;所述通信配置信息生成单元403,具体用于确定所述终端的每一种预定义业务关联的应用服务器的通信配置信息,所述通信配置信息包括应用服务器的IP地址、端口及通信方式。In some specific implementations, the predefined service of the terminal includes at least one type; 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. The communication configuration information includes an IP address, a port, and a communication mode of the application server.
在一些具体的实施中,所述转发规则生成单元402,具体用于根据所述终端的IP地址进行业务编排,生成转发规则,所述转发规则中包括终端的IP地址和目标数据面的IP地址,所述转发规则指示所述终端的数据报文转发时的目标数据面;In some specific implementations, the forwarding rule generating unit 402 is specifically configured to perform service scheduling according to the IP address of the terminal, and generate a forwarding rule, where the forwarding rule includes an IP address of the terminal and an IP address of the target data plane. The forwarding rule indicates a target data plane when the data packet of the terminal is forwarded;
在一些具体的实施中,所述转发规则生成单元,具体用于根据所述终端的IP地址进行业务编排,生成转发规则,所述转发规则中包括终端的IP地址所属的IP地址段,和目标数据面的IP地址,所述转发规则指示所述终端的数据报文转发时的目标数据面,还用于指示所述终端的IP地址所属的IP地址段内的终端发送的数据报文转发至所述目标数据面。In some specific implementations, the forwarding rule generating unit is specifically configured to perform service scheduling according to the IP address of the terminal, and generate a forwarding rule, where the forwarding rule includes an IP address segment to which the IP address of the terminal belongs, and a target. The IP address of the data plane, the forwarding rule indicates the target data plane when the data packet of the terminal is forwarded, and is further used to indicate that the data packet sent by the terminal in the IP address segment to which the IP address of the terminal belongs is forwarded to The target data surface.
图4中各功能单元之间的信息交互请参阅方法实施例中业务流控制面所执行的步骤,此处不再赘述。For the information interaction between the functional units in FIG. 4, refer to the steps performed by the service flow control plane in the method embodiment, and details are not described herein again.
一种可能的实现方式中,本发明实施例中数据面实体的功能模块示意图如图5所示,包括:In a possible implementation manner, a schematic diagram of a function module of a data plane entity in the embodiment of the present invention is shown in FIG. 5, and includes:
接收单元501,用于接收业务流控制面发送的终端的预定义业务关联的应用服务器的通信配置信息;还用于接收所述终端的数据报文;The receiving unit 501 is configured to receive communication configuration information of the application server of the predefined service association of the terminal that is sent by the service flow control plane, and is further configured to receive the data packet of the terminal;
处理单元502,用于确定所述数据报文匹配的预定义业务;The processing unit 502 is configured to determine a predefined service that the data packet matches;
发送单元503,用于根据所述预定义业务关联的应用服务器的通信配置信息将所述数据报文发送至对应的应用服务器。The sending unit 503 is configured to send the data packet to the corresponding application server according to the communication configuration information of the application server that is associated with the predefined service.
图5中各功能单元之间的信息交互请参阅方法实施例中目标数据面所执行的步骤,此处不再赘述。For the information interaction between the functional units in FIG. 5, refer to the steps performed by the target data plane in the method embodiment, and details are not described herein again.
图6是本发明实施例提供的一种路由器的硬件结构示意图,路由器可包括至少一个网络接口或者其它通信接口、至少一个接收器601、至少一个发送器602、至少一个处理器603和存储器604,以实现这些装置之间的连接通信,通过至少一个网络接口(可以是有线或者 无线)实现与至少一个其它网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。6 is a schematic diagram of a hardware structure of a router according to an embodiment of the present invention. 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. To achieve connection communication between these devices through at least one network interface (may be wired or Wireless) implements a communication connection with at least one other network element, and may use an Internet, a wide area network, a local network, a metropolitan area network, or the like.
存储器604可以包括只读存储器和随机存取存储器,并向处理器603提供指令和数据,存储器604的一部分还可以包括可能包含高速随机存取存储器(RAM,Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory)。The memory 604 can include read-only memory and random access memory, and provides instructions and data to the processor 603. A portion of the memory 604 can also include, possibly including, a high-speed random access memory (RAM), and possibly a non- Un-volatile memory.
存储器604存储了如下的元素,可执行模块或者数据结构,或者它们的子集,或者它们的扩展集:The memory 604 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof:
操作指令:包括各种操作指令,用于实现各种操作。Operation instructions: include various operation instructions for implementing various operations.
操作系统:包括各种系统程序,用于实现各种基础业务以及处理基于硬件的任务。Operating system: Includes a variety of system programs for implementing various basic services and handling hardware-based tasks.
在本发明实施例中,处理器603通过调用存储器604存储的操作指令(该操作指令可存储在操作系统中),执行图2所示的实施例中的路由器所执行的全部或部分步骤。In the embodiment of the present invention, the processor 603 executes all or part of the steps performed by the router in the embodiment shown in FIG. 2 by calling an operation instruction stored in the memory 604 (which may be stored in the operating system).
一种可能的实现方式中,本发明实施例中路由器的功能模块示意图如图7所示,包括:In a possible implementation manner, a schematic diagram of a function module of a router in the embodiment of the present invention is as shown in FIG. 7, and includes:
接收单元701,用于接收业务流控制面发送的终端的转发规则,所述转发规则是由所述业务流控制面根据终端的IP地址进行业务编排生成,用于指示所述终端的数据报文转发时的目标数据面;The receiving unit 701 is configured to receive a forwarding rule of the terminal sent by the service flow control plane, where the forwarding rule is generated by the service flow control plane according to the IP address of the terminal, and is used to indicate the data packet of the terminal. Target data surface when forwarding;
处理单元702,用于根据所述转发规则下发策略路由;The processing unit 702 is configured to deliver a policy route according to the forwarding rule.
所述接收单元701,还用于接收所述终端的数据报文,The receiving unit 701 is further configured to receive a data packet of the terminal,
发送单元703,用于根据所述策略路由将所述数据报文转发至所述目标数据面。The sending unit 703 is configured to forward the data packet to the target data plane according to the policy routing.
图7中各功能单元之间的信息交互请参阅方法实施例中路由器所执行的步骤,此处不再赘述。For the information interaction between the functional units in FIG. 7, refer to the steps performed by the router in the method embodiment, and details are not described herein again.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部 分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. Including a number of instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the methods described in various embodiments of the present invention Step by step. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or the equivalents of the technical features are replaced by the equivalents of the technical solutions of the embodiments of the present invention.

Claims (18)

  1. 一种负荷分担的方法,其特征在于,所述方法包括:A method for load sharing, characterized in that the method comprises:
    业务流控制面接收终端的上线请求,所述上线请求中携带终端信息,所述终端信息包括所述终端的IP地址和所述终端的网络签约信息;The service flow control plane receives the online request of the terminal, where the online request carries the terminal information, where the terminal information includes an IP address of the terminal and network subscription information of the terminal;
    所述业务流控制面根据所述终端的IP地址进行业务编排,生成转发规则,所述转发规则指示所述终端的数据报文转发时的目标数据面;The service flow control plane performs service scheduling according to the IP address of the terminal, and generates a forwarding rule, where the forwarding rule indicates a target data plane when the data packet of the terminal is forwarded;
    所述业务流控制面根据所述终端的网络签约信息,确定所述终端的预定义业务,确定所述预定义业务关联的应用服务器的通信配置信息;Determining, by the service flow control plane, the predefined service of the terminal according to the network subscription information of the terminal, and determining communication configuration information of the application server associated with the predefined service;
    所述业务流控制面将所述转发规则发送给路由器,以使得所述路由器在接收到所述终端的数据报文时,将所述数据报文发送至所述目标数据面;Transmitting, by the service flow control plane, the forwarding rule to the router, so that the router sends the data packet to the target data plane when receiving the data packet of the terminal;
    所述业务流控制面将所述应用服务器的通信配置信息发送给所述目标数据面,以使得所述目标数据面根据所述应用服务器的通信配置信息将所述数据报文发送至相应的应用服务器。Transmitting, by the service flow control plane, 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 according to the communication configuration information of the application server. server.
  2. 根据权利要求1所述的方法,其特征在于:The method of claim 1 wherein:
    所述终端的预定义业务包括至少一种;The predefined service of the terminal includes at least one type;
    所述业务流控制面确定所述预定义业务关联的应用服务器的通信配置信息包括:The determining, by the service flow control plane, the communication configuration information of the application server associated with the predefined service includes:
    所述业务流控制面确定所述终端的每一种预定义业务关联的应用服务器的通信配置信息,所述通信配置信息包括应用服务器的IP地址、端口及通信方式。The service flow control plane determines 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.
  3. 根据权利要求1或2所述的方法,其特征在于:Method according to claim 1 or 2, characterized in that it comprises:
    所述转发规则中包括终端的IP地址和目标数据面的IP地址。The forwarding rule includes an IP address of the terminal and an IP address of the target data plane.
  4. 根据权利要求1或2所述的方法,其特征在于:Method according to claim 1 or 2, characterized in that it comprises:
    所述转发规则中包括终端的IP地址所属的IP地址段,和目标数据面的IP地址;The forwarding rule includes an IP address segment to which the IP address of the terminal belongs, and an IP address of the target data plane;
    所述转发规则还用于指示所述终端的IP地址所属的IP地址段内的终端发送的数据报文转发至所述目标数据面。The forwarding rule is further configured to indicate that the data packet sent by the terminal in the IP address segment to which the IP address of the terminal belongs is forwarded to the target data plane.
  5. 一种负荷分担的方法,其特征在于,包括:A load sharing method, comprising:
    路由器接收业务流控制面发送的终端的转发规则,所述转发规则是由所述业务流控制面根据终端的IP地址进行业务编排生成,用于指示所述终端的数据报文转发时的目标数据面;The router receives the forwarding rule of the terminal sent by the service flow control plane, where the forwarding rule is generated by the service flow control plane according to the IP address of the terminal, and is used to indicate the target data when the terminal forwards the data packet. surface;
    所述路由器根据所述转发规则下发策略路由;The router delivers a policy route according to the forwarding rule;
    所述路由器接收所述终端的数据报文,根据所述策略路由将所述数据报文转发至所述目标数据面。The router receives the data packet of the terminal, and forwards the data packet to the target data plane according to the policy route.
  6. 根据权利要求5所述的方法,其特征在于:The method of claim 5 wherein:
    所述转发规则中包括终端的IP地址和目标数据面的IP地址。The forwarding rule includes an IP address of the terminal and an IP address of the target data plane.
  7. 根据权利要求5所述的方法,其特征在于:The method of claim 5 wherein:
    所述转发规则中包括终端的IP地址所属的IP地址段,和目标数据面的IP地址;The forwarding rule includes an IP address segment to which the IP address of the terminal belongs, and an IP address of the target data plane;
    所述方法还包括:The method further includes:
    当所述路由器接收到所述终端的IP地址所属的IP地址段内的终端发送的数据报文时,将所述IP地址段内的终端发送的数据报文转发至所述目标数据面。When the router receives the data packet sent by the terminal in the IP address segment to which the IP address of the terminal belongs, the data packet sent by the terminal in the IP address segment is forwarded to the target data plane.
  8. 一种负荷分担的方法,其特征在于,包括:A load sharing method, comprising:
    数据面接收业务流控制面发送的终端的预定义业务关联的应用服务器的通信配置信息; The data plane receives communication configuration information of the application server associated with the predefined service of the terminal sent by the service flow control plane;
    所述数据面接收所述终端的数据报文;Receiving, by the data plane, a data packet of the terminal;
    所述数据面确定所述数据报文匹配的预定义业务,根据所述预定义业务关联的应用服务器的通信配置信息将所述数据报文发送至对应的应用服务器。The data plane determines a predefined service that matches the data packet, and sends the data packet to the corresponding application server according to the communication configuration information of the application server associated with the predefined service.
  9. 根据权利要求8所述的方法,其特征在于:The method of claim 8 wherein:
    所述预定义业务关联的应用服务器的通信配置信息包括所述终端的每一种预定义业务关联的应用服务器的通信配置信息,所述通信配置信息包括应用服务器的IP地址、端口及通信方式。The communication configuration information of the application server associated with the predefined service includes 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.
  10. 一种控制面实体,其特征在于,包括:A control surface entity, comprising:
    接收单元,用于接收终端的上线请求,所述上线请求中携带终端信息,所述终端信息包括所述终端的IP地址和所述终端的网络签约信息;a receiving unit, configured to receive an online request of the terminal, where the online request carries terminal information, where the terminal information includes an IP address of the terminal and network subscription information of the terminal;
    转发规则生成单元,用于根据所述终端的IP地址进行业务编排,生成转发规则,所述转发规则指示所述终端的数据报文转发时的目标数据面;a forwarding rule generating unit, configured to perform a service scheduling 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 a predefined service of the terminal according to the network subscription information of the terminal, and determine communication configuration information of the application server associated with the predefined service;
    发送单元,用于将所述转发规则发送给路由器,以使得所述路由器在接收到所述终端的数据报文时,将所述数据报文发送至所述目标数据面;a sending unit, configured to send the forwarding rule to the router, so that the router sends the data packet to the target data plane when receiving the data packet of the terminal;
    所述发送单元,还用于将所述应用服务器的通信配置信息发送给所述目标数据面,以使得所述目标数据面根据所述应用服务器的通信配置信息将所述数据报文发送至相应的应用服务器。The sending unit is further configured to send 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 according to communication configuration information of the application server. Application server.
  11. 根据权利要求10所述的控制面实体,其特征在于:The control plane entity of claim 10 wherein:
    所述终端的预定义业务包括至少一种;The predefined service of the terminal includes at least one type;
    所述通信配置信息生成单元,具体用于确定所述终端的每一种预定义业务关联的应用服务器的通信配置信息,所述通信配置信息包括应用服务器的IP地址、端口及通信方式。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. 根据权利要求10或11所述的控制面实体,其特征在于:A control plane entity according to claim 10 or 11, wherein:
    所述转发规则生成单元,具体用于根据所述终端的IP地址进行业务编排,生成转发规则,所述转发规则中包括终端的IP地址和目标数据面的IP地址,所述转发规则指示所述终端的数据报文转发时的目标数据面。The forwarding rule generating unit is configured to perform service scheduling according to the IP address of the terminal, and generate a forwarding rule, where the forwarding rule includes an IP address of the terminal and an IP address of the target data plane, where the forwarding rule indicates The target data plane when the terminal's data message is forwarded.
  13. 根据权利要求10或11所述的控制面实体,其特征在于:A control plane entity according to claim 10 or 11, wherein:
    所述转发规则生成单元,具体用于根据所述终端的IP地址进行业务编排,生成转发规则,所述转发规则中包括终端的IP地址所属的IP地址段,和目标数据面的IP地址,所述转发规则指示所述终端的数据报文转发时的目标数据面,还用于指示所述终端的IP地址所属的IP地址段内的终端发送的数据报文转发至所述目标数据面。The forwarding rule generating unit is configured to perform service scheduling according to the IP address of the terminal, and generate a forwarding rule, where the forwarding rule includes an IP address segment to which the IP address of the terminal belongs, and an IP address of the target data plane. The forwarding rule indicates that the target data plane when the data packet of the terminal is forwarded is further used to indicate that the data packet sent by the terminal in the IP address segment to which the IP address of the terminal belongs is forwarded to the target data plane.
  14. 一种路由器,其特征在于,包括:A router, comprising:
    接收单元,用于接收业务流控制面发送的终端的转发规则,所述转发规则是由所述业务流控制面根据终端的IP地址进行业务编排生成,用于指示所述终端的数据报文转发时的目标数据面;a receiving unit, configured to receive a forwarding rule of the terminal sent by the service flow control plane, where the forwarding rule is generated by the service flow control plane according to the IP address of the terminal, and is used to indicate that the data packet of the terminal is forwarded. Target data surface
    处理单元,用于根据所述转发规则下发策略路由;a processing unit, configured to deliver a policy route according to the forwarding rule;
    所述接收单元,还用于接收所述终端的数据报文;The receiving unit is further configured to receive a data packet of the terminal;
    发送单元,用于根据所述策略路由将所述数据报文转发至所述目标数据面。And a sending unit, configured to forward the data packet to the target data plane according to the policy routing.
  15. 根据权利要求14所述的路由器,其特征在于: The router of claim 14 wherein:
    所述接收单元接收的所述转发规则中包括终端的IP地址和目标数据面的IP地址。The forwarding rule received by the receiving unit includes an IP address of the terminal and an IP address of the target data plane.
  16. 根据权利要求14所述的方法,其特征在于:The method of claim 14 wherein:
    所述接收单元接收的所述转发规则中包括终端的IP地址所属的IP地址段,和目标数据面的IP地址;The forwarding rule received by the receiving unit includes an IP address segment to which the IP address of the terminal belongs, and an IP address of the target data plane;
    所述发送单元,还用于当接收到所述终端的IP地址所属的IP地址段内的终端发送的数据报文时,将所述IP地址段内的终端发送的数据报文转发至所述目标数据面。The sending unit is further configured to: when receiving the data packet sent by the terminal in the IP address segment to which the IP address of the terminal belongs, forwarding the data packet sent by the terminal in the IP address segment to the Target data surface.
  17. 一种数据面实体,其特征在于,包括:A data plane entity, comprising:
    接收单元,用于接收业务流控制面发送的终端的预定义业务关联的应用服务器的通信配置信息;a receiving unit, configured to receive communication configuration information of an application server associated with a predefined service of the terminal sent by the service flow control plane;
    所述接收单元,还用于接收所述终端的数据报文;The receiving unit is further configured to receive a data packet of the terminal;
    处理单元,用于确定所述数据报文匹配的预定义业务;a processing unit, configured to determine a predefined service that matches the data packet;
    发送单元,用于根据所述预定义业务关联的应用服务器的通信配置信息将所述数据报文发送至对应的应用服务器。And a sending unit, configured to send the data packet to the corresponding application server according to the communication configuration information of the application server that is associated with the predefined service.
  18. 根据权利要求17所述的数据面实体,其特征在于:The data plane entity of claim 17 wherein:
    所述预定义业务关联的应用服务器的通信配置信息包括所述终端的每一种预定义业务关联的应用服务器的通信配置信息,所述通信配置信息包括应用服务器的IP地址、端口及通信方式。 The communication configuration information of the application server associated with the predefined service includes 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.
PCT/CN2017/093403 2016-07-27 2017-07-18 Load sharing method and device thereof WO2018019157A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2018019157A1 true WO2018019157A1 (en) 2018-02-01

Family

ID=57603920

Family Applications (1)

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

Country Status (2)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500358A (en) * 2022-02-14 2022-05-13 未鲲(上海)科技服务有限公司 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

Families Citing this family (7)

* 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
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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103269280A (en) * 2013-04-23 2013-08-28 华为技术有限公司 Method, device and system for developing service in network
CN103516610A (en) * 2012-06-18 2014-01-15 华为技术有限公司 Service processing method, device and system
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
CN106254235A (en) * 2016-07-27 2016-12-21 上海华为技术有限公司 A kind of method of load sharing and equipment thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100391178C (en) * 2003-08-19 2008-05-28 华为技术有限公司 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
CN101677324B (en) * 2008-09-17 2012-10-03 华为技术有限公司 Business management method, terminal, network system and related equipment
EP3117337B1 (en) * 2014-03-13 2020-10-21 JPMorgan Chase Bank, N.A. Systems and methods for intelligent workload routing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516610A (en) * 2012-06-18 2014-01-15 华为技术有限公司 Service processing method, device and system
CN103269280A (en) * 2013-04-23 2013-08-28 华为技术有限公司 Method, device and system for developing service in network
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
CN106254235A (en) * 2016-07-27 2016-12-21 上海华为技术有限公司 A kind of method of load sharing and equipment thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500358A (en) * 2022-02-14 2022-05-13 未鲲(上海)科技服务有限公司 Gateway message distribution method, device, equipment and storage medium
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

Also Published As

Publication number Publication date
CN106254235A (en) 2016-12-21
CN106254235B (en) 2020-02-14

Similar Documents

Publication Publication Date Title
WO2018019157A1 (en) Load sharing method and device thereof
US10694005B2 (en) Hardware-based packet forwarding for the transport layer
US20210314819A1 (en) Forwarding Entry Generation Method, Controller, and Network Device
US9648542B2 (en) Session-based packet routing for facilitating analytics
EP3110084B1 (en) Method for generating forwarding information, controller and service forwarding entity
US9510371B2 (en) Method and apparatus for controlling service transmission
US9871766B2 (en) Secure path determination between devices
US20160080253A1 (en) Service routing system, device, and method
US11616835B2 (en) External injection of cloud based network functions into network services
CN106936811B (en) Security device, system and method
EP3110081B1 (en) Methods for controlling service chain of service flow
KR20080091131A (en) Digital object routing
EP3091708B1 (en) Processing rule modification method and apparatus
US10038669B2 (en) Path control system, control device, and path control method
WO2015165249A1 (en) Method and device for establishing service path
CN112929264B (en) Service flow transmission method, system and network equipment
US11362933B2 (en) Methods and systems for sending packets through a plurality of tunnels
CN107409047A (en) Encrypt the coordinate packet delivering of session
US11463404B2 (en) Quarantined communications processing at a network edge
Hollingsworth et al. {P4EC}: Enabling Terabit Edge Computing in Enterprise 4G {LTE}
US10863410B1 (en) Methods for packet data network service slicing with microsegmentation in an evolved packet core and devices thereof
CN114363183A (en) Service chain address pool slicing processing method, device and system
EP4340318A1 (en) Routing obtaining method and apparatus, storage medium, and electronic apparatus
US11388095B2 (en) Service processing method, apparatus, and system
US20230412499A1 (en) Systems and methods on id swapping during data forwarding

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17833460

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17833460

Country of ref document: EP

Kind code of ref document: A1