CN106533973A - Method and system for distributing service message, and equipment - Google Patents

Method and system for distributing service message, and equipment Download PDF

Info

Publication number
CN106533973A
CN106533973A CN201610978453.0A CN201610978453A CN106533973A CN 106533973 A CN106533973 A CN 106533973A CN 201610978453 A CN201610978453 A CN 201610978453A CN 106533973 A CN106533973 A CN 106533973A
Authority
CN
China
Prior art keywords
service
service node
business
message
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610978453.0A
Other languages
Chinese (zh)
Other versions
CN106533973B (en
Inventor
朱承旭
陶东成
王月华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610978453.0A priority Critical patent/CN106533973B/en
Publication of CN106533973A publication Critical patent/CN106533973A/en
Application granted granted Critical
Publication of CN106533973B publication Critical patent/CN106533973B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/821Prioritising resource allocation or reservation requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

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

Abstract

The embodiment of the application provides a method and system for distributing a service message, and equipment. The method comprises the following steps that: a network device receives a first service message sent by a first service initiating terminal device; the network device determines one candidate service node having the highest priority among N candidate service nodes to be a first target service node for processing the first service message, wherein the candidate service node is a service node capable of processing the first service node, wherein the N is a positive integer larger than or equal to 2; and the network device sends the first service message to the first target service node. Therefore, the service node selected by the network device is an optimal service node capable of processing the service message.

Description

The method, apparatus and system of distribution service message
Technical field
The invention relates to communication technical field, and the method more particularly, to distribution service message, equipment And system.
Background technology
With the development of information technology, increasing user equipment can be linked into network.The identity quilt of user equipment It is divided into personal user and enterprise customer.Identity needs to pass through for the user equipment (hereinafter referred to as " personal user ") of personal user Broadband Remote Access Server (English:Broadband Remote Access Server, referred to as:BRAS) access network.Body Part just can be directly accessed net by BRAS for the user equipment (hereinafter referred to as " enterprise customer ") of enterprise customer Network.These user equipmenies are properly termed as enterprise customer.
In the scene of user's (including personal user and enterprise customer) access network, need some service nodes to process The business being related to during user equipment access network.At present, the network equipment (such as gateway device) is receiving user equipment transmission Frame (English for request data link layer traffic:Frame, after), the Frame can be broadcasted to can process the data All service nodes of frame.Each service node can respond the Frame and response be sent to the network equipment.The network Equipment is sent to the user equipment receiving the response.The user equipment can select a service according to the time delay of response Node is used as the destination service node for processing the Frame.In the case, the network equipment is sent to other service nodes Frame is exactly useless Frame.The response that other service nodes send is also useless response, and this will increase system Expense.Additionally, affect the factor of response delay excessive, therefore the destination service node selected based on response delay is also not necessarily Optimum service node.For example, although the destination service node time delay is low, service load is larger.
Additionally, for the packet (English of Internet:Packet), user equipment needs oneself to safeguard for processing the use The state of the service node of the packet that family equipment sends, voluntarily selects service node, and this just increases the work of the user equipment Measure, and enforcement difficulty is big, it is difficult in maintenance.
The content of the invention
The embodiment of the present application provides the method, apparatus and system of distribution service message, so that the clothes that the network equipment is selected Business node is the service node of the optimum for being capable of processing business message.
In a first aspect, the embodiment of the present application provides a kind of method of distribution service message, the method is applied to user's access Network scenarios, the method include:The network equipment receives the first business and initiates the first service message that end equipment sends;The network sets A standby candidate service node for determining highest priority in N number of candidate service node is for processing first service message First object service node, wherein the candidate service node are the service node that can process first service message, wherein, N It is the positive integer more than or equal to 2;The network equipment sends first service message to the first object service node.It is based on Above-mentioned technical proposal, if the service message is the Frame of data link layer, the network equipment can be according to the excellent of service node First level selects the service node that the service message that end equipment sends is initiated for processing business, so as to without the need for the business is disappeared Breath is sent to each service node in system.This way it is possible to avoid the overhead that useless service message and response are caused. If the service message is the packet of network side, business initiates end equipment without the need for safeguarding the state of service node again.Select clothes The work of business node can transfer to the network equipment to perform.As such, it is possible to reduce the workload that business initiates end equipment.In deployment choosing Select in the service node procedure for processing the service message, can affix one's name in network equipment sidepiece.Safeguard the service message with During the corresponding relation of service node, the network equipment can be only maintained, and Maintenance free each business initiates end equipment.This Outward, the priority-level of service node represents the ability that the service node is capable of processing business message.Priority-level is higher, place The ability of reason service message is stronger.Therefore, the service node that the network equipment is selected is the optimum for being capable of processing business message Service node.
With reference in a first aspect, in the first possible implementation of first aspect, determining N number of time in the network equipment The candidate service node for selecting highest priority in service node be for process the first object service node of the service message it Before, the method also includes:The network equipment receives the scope of business of each service node transmission in M service node and indicates letter Breath, the scope of business configured information that each service node sends are used to indicate the business model that each service node can be processed Enclose, wherein, the M service node includes N number of candidate service node, and M is the positive integer more than or equal to N;The network equipment The first priority indication information that each service node sends is received, the first priority indication letter that each service node sends Cease for indicating the priority of each service node;The network equipment refers to according to the scope of business that each service node sends Show the first priority indication information that information and this each service node send, determine N number of candidate service node and this is N number of The priority of each the candidate service node in candidate service node.Based on above-mentioned technical proposal, the network equipment can be obtained The scope of business and priority that each service node can be processed, such that it is able to the business that can be processed based on each service node Scope and priority are that the service message that the business originating end sends selects a suitable service node.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, second in first aspect can In the implementation of energy, the method also includes:The network equipment preserve first business initiate end equipment identity information, this The corresponding relation of the type of service of one service message and the first object service node.Based on above-mentioned technical proposal, if the network Equipment receives first business again and initiates the type of service identical business with first service message that end equipment sends Message, then directly can send the service message to the first object service node, and need not redefine for processing this The destination service node of service message.
With reference to second possible implementation of first aspect, in the third possible implementation of first aspect In, in the network equipment determines N number of candidate service node, a candidate service node of highest priority is for processing this Before the first object service node of the first service message, method also includes:The network equipment determines that the network equipment is not preserved First business initiates identity information, the type of service of first service message and the first object service node of end equipment Corresponding relation.Based on above-mentioned technical proposal, if the network equipment does not preserve first business and initiates the identity information of end equipment, is somebody's turn to do The corresponding relation of the type of service of the first service message and the first object service node, then can start determination for processing this The process of the first object service node of the first service message.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, the 4th kind in first aspect can In the implementation of energy, the method also includes:The network equipment receives the second priority that the first object service node sends Configured information, wherein, the second priority indication information that the first object service node sends is used to indicate that the first object takes The priority of business node, the first object that the second priority indication information that the first object service node sends is indicated are serviced The priority of node is taken less than the first object that the first priority indication information that the first object service node sends is indicated The priority of business node;The network equipment receives the second business and initiates the second service message that end equipment sends;The network equipment It is determined that second business initiate end equipment identity information it is identical with the identity information that first business initiates end equipment and this In the case of the type of service identical of the type of service of the second service message and first service message, by second service message Send to the first object service node.Based on above-mentioned technical proposal, even if the priority of service node changes, set up Share strategy remain in that it is constant.As such, it is possible to reduce determine the number of times for sharing strategy, the burden of the network equipment is reduced.
With reference to the third possible implementation of second possible implementation or first aspect of first aspect, In 5th kind of possible implementation of first aspect, the method also includes:The network equipment determines the first object service section Point is no longer participate in service message and shares;The network equipment is initiated the identity of end equipment by first business that the network equipment is preserved The corresponding relation of information, the type of service of first service message and the first object service node is deleted.Based on above-mentioned technology Scheme, the network equipment can be no longer participate in the case that service message shares, not using in the first object service node Identical is shared strategy and the service message that first business initiates end equipment transmission is sent to the first object service node.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, the 6th kind in first aspect can Can implementation in, it is user equipment or first service node that first business initiates end equipment, wherein, the first service Node is the service node for processing data link layer traffic or network layer service.
It is possible to the 5th kind of first aspect with reference to the first possible implementation of first aspect or first aspect Any one possible implementation in implementation, in the 7th kind of possible implementation of first aspect, the business disappears Cease for data link layer service message or network layer service message.
With reference to the first possible implementation of first aspect, in the 8th kind of possible implementation of first aspect In, the method also includes:The network equipment receives the keep-alive information of each service node transmission in the M service node.
With reference to the 8th kind of possible implementation of first aspect, in the 9th kind of possible implementation of first aspect In, the network equipment receives the LLDP messages of each service node transmission in the M service node, and the LLDP messages carry the industry Business scope configured information and first priority indication information, or, the LLDP messages carry the scope of business configured information, are somebody's turn to do First priority indication information and the keep-alive information.
Second aspect, the embodiment of the present application provide a kind of method of distribution service message, and the method is applied to user's access Network scenarios, the method include:Service node sends scope of business configured information, the scope of business configured information to the network equipment For indicating the scope of business that the service node can be processed;The service node sends priority indication letter to the network equipment Breath, the priority indication information are used for the priority for indicating the service node;The service node receives what the network equipment sent Service message;The service node processes the service message.
With reference to second aspect, in the first possible implementation of second aspect, the method also includes:The service section Point sends keep-alive information to the network equipment.
With reference to the first possible implementation of second aspect, in second possible implementation of second aspect In, the service node sends LLDP messages to the network equipment, and the LLDP messages carry the scope of business configured information, this is preferential Level configured information and the keep-alive information.
The third aspect, the embodiment of the present application provide a kind of network equipment, and the network equipment is included for performing first aspect Or the unit of any one possible implementation of first aspect.
Fourth aspect, the embodiment of the present application provide a kind of service node, and the service node is included for performing second aspect Any one possible implementation unit.
In terms of 5th, the embodiment of the present application also provides a kind of network equipment, the network equipment include processor, memory and Transceiver.The memory realizes the instruction of the method for first aspect for storage.Processor performs storage for incorporating transceiver The instruction of device storage, the method for completing first aspect.
In terms of 6th, the embodiment of the present application also provides a kind of service node, the service node include processor, memory and Transceiver.The memory realizes the instruction of the method for second aspect for storage.Processor performs storage for incorporating transceiver The instruction of device storage, the method for completing second aspect.
In terms of 7th, the embodiment of the present application also provides a kind of system of distribution service message, and the system includes the third aspect The described network equipment and at least two service nodes as described in fourth aspect.
Description of the drawings
Fig. 1 is the schematic diagram of the system provided according to the embodiment of the present application.
Fig. 2 is the indicative flowchart of the method for the distribution service message provided according to the embodiment of the present application.
Fig. 3 is the network equipment infrastructure block diagram provided according to the embodiment of the present application.
Fig. 4 is the structured flowchart of the service node provided according to the embodiment of the present application.
Fig. 5 is the structured flowchart of the network equipment provided according to the embodiment of the present application.
Fig. 6 is the structured flowchart of the service node provided according to the embodiment of the present application.
Fig. 7 is the schematic diagram of the system of the distribution service message for providing according to embodiments of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is described.
In the application, alleged user equipment is all equipment for having access to network, including but not limited to computer, shifting Mobile phone, panel computer, customer terminal equipment (English:Customer Premise Equipment, referred to as:CPE) etc..
It is linked in the scene of network in personal user, except needing to be responsible for checking, the charging of the personal user by BRAS Outside Deng work, can also be related to other some service nodes and process the business being related to during personal user's access network.For example, If the personal user has had been dispensed into Intranet Internet protocol (English:Internet Protocol, referred to as:IP) address, But wish to communicate with outer net main frame (including but not limited to server, user equipment etc.), then can be using by providing network Address conversion (English:Network Address Translation, referred to as:NAT mode) is linked into outer net.NAT clothes are provided The IP address conversion that the personal user can be used in Intranet by the service node of business into Global IP addresses so as to the personal user with Outer net main frame is communicated.For another example, in some cases, in personal user's access network, it may be necessary to which the individual is used The flow of family access network is tested and analyzed, so that the strategy according to predefined carries out filtration control to detection flows. In the case of this, the network layer service message of personal user's access network can send (English to carrying out deep-packet detection: Deep Packet Inspection, referred to as:DPI service node).The service node for carrying out DPI can be to the personal user The flow of access network is tested and analyzed.
Although need not move through in enterprise customer's access network scene BRAS carry out verifying, the work such as charging.It but is likely to Need some service nodes corresponding service is provided for enterprise customer's access network.For example, it is desired to provide the NAT services of service Intranet IP is converted to outer net IP by node.For another example, the service node for carrying out DPI is needed to detect the flow of the enterprise customer Analysis.
Describe for convenience, be related to when user's (including personal user and enterprise customer) access network will be processed in the application The node of business be all commonly referred to as service node, including but not limited to BRAS, there is provided the service node of NAT services, carry out DPI's Service node.These service nodes can be that the physics for running corresponding service function program (for example, BRAS, NAT, DPI etc.) sets It is standby, such as server, router etc.;Can also be virtual service node, for example, in network function virtualization (English: Network Function Virtualization, referred to as:NFV) in scene, the virtual service node can be operation phase Answer the virtual machine (Virtual Machine, VM) of business function program (for example, BRAS, NAT, DPI etc.), the virtual machine portion Administration is on hardware device (for example, physical server).Virtual machine refer to by software simulate it is with complete hardware system function, Operate in the complete computer in a completely isolated environment.Wherein, a physical server passes through Intel Virtualization Technology quilt Multiple logical computers are invented, each logical computer is a virtual machine on physical server, and each is virtual Machine can run different operating systems, therefore, the application program of each virtual machine may operate in operation system independent mutually In the space of system.According to the type of service of the process for providing, service node can be divided into the service of processing data link layer traffic The service node of node (such as BRAS) and process network layer service (for example carries out the service node of DPI, there is provided NAT services Service node).
Alleged user access network scene in the application, including personal user's access network scene and enterprise customer's access Network scenarios.
Fig. 1 is the schematic diagram of the system provided according to the embodiment of the present application.As shown in figure 1, system 100 includes the network equipment 101st, service node 111, service node 112, service node 113, service node 121, service node 122 and service node 123. Also include user equipment 131 and user equipment 132 in system 100 shown in Fig. 1.Service node 111,112 kimonos of service node Service node of the business node 113 for offer processing data link-layer service.Service node 121, service node 122 and service node 123 is the service node for providing Network Layer Service.The embodiment of the present application is entered below in conjunction with the system 100 shown in Fig. 1 Row is expanded on further.
Fig. 2 is the indicative flowchart of the method for the distribution service message provided according to the embodiment of the present application.Shown in Fig. 2 Method is can apply in user access network scene.
201, the network equipment 101 receives the business configured information that service node 121 sends.
The network equipment 101, can be with reception system in addition to it can receive the business configured information of the transmission of service node 121 The business configured information that other service nodes send in 100.In other words, the network equipment 101 can with reception system 100 in it is every The scope of business configured information that individual service node sends, the scope of business configured information that each service node sends are used to indicate The scope of business that each service node can be processed.
Optionally, in certain embodiments, being somebody's turn to do indicated by the scope of business configured information that each service node sends The scope of business that each service node can be processed includes the type of service that each service node can be processed.Assume service section Point 111, service node 112 and service node 113 are the service node for processing data link layer traffic, then service node 111st, the scope of business configured information that service node 112 and service node 113 send can serve to indicate that and send the scope of business The service node of configured information can provide the service of processing data link layer traffic.Assume service node 121, service node 122 and service node 123 be service node for processing DPI business, then service node 121, service node 122 and service section The scope of business configured information that point 123 sends can serve to indicate that the service node for sending the scope of business configured information can be carried Service for processing DPI business.So, the network equipment 101 can be according to service node 111, service node 112 and service node 113 scope of business configured informations for sending respectively, determine service node 111, service node 112 and service node 113 for can The service node of processing data link layer traffic is provided.The network equipment 101 can be with according to service node 121, service node 122 The scope of business configured information for being sent with service node 123 respectively, determines service node 121, service node 122 and service node 123 is for providing the service node for processing DPI business.
Describe for convenience, the service of the business of correspondence type of service is if desired provided for service message, then can claim this Service message is the service message for asking the type of service.For example, data link layer service clothes are if desired provided to service message Business, then the service message can claim the service message of request data link layer traffic.If desired depth report is carried out to service message Text detection, then can the service message be called ask DPI business service message.
Optionally, in further embodiments, indicated by the scope of business configured information that each service node sends The scope of business that each service node can be processed includes the type of service that each service node can process and this is every The business of the transmission service message that individual service node can be processed initiates the identity information of end equipment.
Assume 111 manageable first medium access control of service node (English:Media Access Control, Referred to as:MAC) business in address realm initiates the service message of the request data link layer traffic that end equipment sends.In this feelings Under condition, the scope of business configured information that service node 111 sends can serve to indicate that service node 111 can exist for MAC Address Business in first mac address range is initiated end equipment and provides data link layer business service.Service node 112 can be processed The second mac address range in business initiate end equipment send request data link layer traffic service message.In this feelings Under condition, the scope of business configured information that service node 112 sends can serve to indicate that service node 112 can exist for MAC Address Business in second mac address range is initiated end equipment and provides data link layer business service.Service node 113 can be processed The 3rd mac address range in business initiate end equipment send request data link layer traffic service message.In this feelings Under condition, the scope of business configured information that service node 113 sends can serve to indicate that service node 113 can exist for MAC Address Business in 3rd mac address range is initiated end equipment and provides data link layer business service.First mac address range, Second mac address range and the 3rd mac address range can include that common factor can not also include occuring simultaneously, the embodiment of the present application This is not limited.So, the network equipment 101 can determine clothes according to the scope of business configured information that service node 111 sends Business in business 111 manageable first mac address range of node initiates the request data link layer traffic that end equipment sends Service message.The scope of business configured information that the network equipment 101 can be sent according to service node 112 determines service node Business in 112 manageable second mac address ranges initiates the business of the request data link layer traffic that end equipment sends Message.The scope of business configured information that the network equipment 101 can be sent according to service node 113 determines that service node 113 can be with The business in the 3rd mac address range for processing initiates the service message of the request data link layer traffic that end equipment sends.
Assume that service node 121 can process business of the source IP address in the first IP address range and initiate end equipment transmission The service message for asking DPI business.In the case, the scope of business configured information that service node 121 sends can be with For indicating that the business initiation end equipment that service node 121 can be for source IP address in first IP address range provides DPI industry Business service.Service node 122 can process business of the source IP address in the second IP address range and initiate the use that end equipment sends In the service message of request DPI business.In the case, the scope of business configured information that service node 122 sends can be used for Indicate that the business initiation end equipment that service node 122 can be for source IP address in second IP address range provides DPI business clothes Business.Service node 123 can process that business of the source IP address in the 3rd IP address range initiate that end equipment sends for please Seek the service message of DPI business.In the case, the scope of business configured information that service node 123 sends can serve to indicate that Service node 123 can for source IP address the 3rd IP address range business initiate end equipment DPI business services are provided.Class As, first IP address range, second IP address range and the 3rd IP address range can not also including common factor Including common factor, the embodiment of the present application is not limited to this.It is understood that above-mentioned identity information is only some being embodied as Example, the scope of business configured information include that the business for sending service message is initiated the identity information of end equipment and can also be other energy The information of business originating end equipment identities is differentiated enough, for example, if it is for asking that the business initiates the service message of end equipment transmission The service message of DPI business is sought, then the identity information of the business originating end that the type of service includes can be five-tuple information Or seven any one or more information in tuple information.So, the industry that the network equipment 101 can be sent according to service node 121 Business scope configured information determines that service node 121 can process business originating end of the source IP address in the first IP address range and set The service message for asking DPI business that preparation is sent.The business model that the network equipment 101 can be sent according to service node 122 Enclose configured information and determine that service node 122 can process business of the source IP address in the second IP address range and initiate end equipment The service message for asking DPI business for sending.The scope of business that the network equipment 101 can be sent according to service node 123 refers to Show that information determines that service node 123 can process business of the source IP address in the 3rd IP address range and initiate what end equipment sent For asking the service message of DPI business.
202, the network equipment 101 receives the first priority indication information that service node 121 sends.
The network equipment 101 can also be connect in addition to it can receive the first priority indication information of the transmission of service node 121 The first priority indication information that other service nodes send in receipts system 100.In other words, the network equipment 101 can be received The first priority indication information that each service node in system 100 sends, the first of each service node transmission are preferential Level configured information is used for the priority for indicating each service node.
The priority of the service node in hypothesis system 100 has eight grades.Eight grades of priority is respectively 0,1,2,3,4,5, 6th, 7, wherein priority is that 0 expression priority is minimum, and priority is 7 expression highest priorities.Assume the embodiment shown in Fig. 2 In, the priority of each service node in system 100 is 7 in an initial condition.In the case, it is every in system 100 The priority that the first priority indication information that individual service node sends is indicated is 7.So, the network equipment 101 can basis The first priority indication information that each service node in system 100 sends, determines each service node in system 100 Priority is 7.
Optionally, in certain embodiments, each service node in system 100 can by a message by this first Priority indication information is sent to the network equipment 101 with the scope of business configured information.Above-mentioned technical proposal can reduce service Signaling consumption between node and the network equipment.
Optionally, in further embodiments, each service node in system 100 can respectively will by two message First priority indication information and the scope of business configured information are sent to the network equipment 101.
203, the first service message that 101 receive user equipment of the network equipment 131 sends.
The network equipment 101 can determine that a candidate service node of highest priority in N number of candidate service node is use In the first object service node for processing first service message, wherein, the candidate service node is to process first industry The service node of business message, N is the positive integer more than or equal to 2.First business can be disappeared by the network equipment 101 after this Breath is sent to the first object service node.
Assume in the embodiment shown in Figure 2, indicated by the scope of business configured information that each service node sends The scope of business that each service node can be processed only includes the type of the service message that each service node can be processed, And need the first service message that user equipment 131 sends to be service message for asking DPI business, then the network equipment 101 Can determine that the service node 121 in system 100, service node 122 and service node 123 are the candidate service node.Also press According to it is in step 202 it is assumed that the priority of i.e. three candidate service nodes it is identical and be 7, then the network equipment 101 can determine three Any one candidate service node in individual candidate service node is the first object service node.Assume that the network equipment 101 determines The first object candidate service node is service node 121, then the method shown in Fig. 2 can also include step 204 and step 205。
204, the network equipment 101 determines that service node 121 is used to process the first object service section of first service message Point.
205, the network equipment 101 sends first service message to service node 121.
Method according to Fig. 2, if the service message is the Frame of data link layer, the network equipment can basis The priority of service node selects the service node that the service message that end equipment sends is initiated for processing business, so as to nothing The service message need to be sent each service node into system.This way it is possible to avoid useless service message and response are made Into overhead.
If the service message is the packet of Internet, business initiates end equipment without the need for safeguarding the shape of service node again State.Select the work of service node that the network equipment can be transferred to perform.As such, it is possible to reduce the work that business initiates end equipment Amount.During the service node procedure for process the service message is selected in deployment, can affix one's name in network equipment sidepiece.Should safeguarding During the corresponding relation of service message and service node, the network equipment can be only maintained, and Maintenance free each business is initiated End equipment.
Additionally, the priority-level of service node represents the ability that the service node is capable of processing business message.Priority Rank is higher, and the ability of processing business message is stronger.Therefore, the network equipment select service node be can processing business disappear The service node of the optimum of breath.
It is understood that the granularity of the type of service of service message is the type of service that can be processed with service node Granularity be identical.For example, if service node can process the business of all data link layers.In the case, only Need to judge that whether first service message is the message for request data link layer traffic.If a service node is For provide process DPI business service node, then it is determined that first service message be ask network layer service business disappear In the case of breath, in addition it is also necessary to determine whether whether first service message is the service message for asking DPI business.
Optionally, in further embodiments, indicated by the scope of business configured information that each service node sends The scope of business that each service node can be processed include the type of the service message that each service node can be processed with And each service node can process transmission service message business initiate end equipment identity information.If desired to user The first service message that equipment 131 sends is the IP address position for asking the service message of DPI business and the user equipment 131 In first IP address range and in second IP address range, then the network equipment 101 can determine the service in system 100 Node 121 and service node 122 are the candidate service node.In the case, N is equal to 2.Due to two candidate service nodes Priority is identical, the network equipment 101 can determine any one candidate service node in two candidate service nodes for this first Destination service node.Assume that the network equipment 101 determines that the first object candidate service node is service node 121, then network sets Standby 101 can send first service message to service node 121.
Optionally, in certain embodiments, the network equipment 101 can also preserve the identity that first business initiates end equipment The corresponding relation of information, the type of service of first service message and the first object service node.Specifically, the network equipment 101 can set up one shares information table, and this is shared information table and initiates the identity information of end equipment, the business for preserving business The type of service and the corresponding relation of destination service node of the service message that originating end sends.So, the network equipment 101 is connecing After receiving the service message that business initiates end equipment transmission, can judge whether this preserves the business originating end in sharing information table The corresponding relation of the identity information of equipment, the type of service of the service message request and service node.If so, then can be direct Share information table according to this to determine for processing the destination service node of the service message.If it is not, then can be by referring to Fig. 2 Shown method, and should after destination service node is determined determining for processing the destination service node of the service message Business initiate the corresponding relation of the identity information of end equipment, the type of service of service message request and service node add to This is shared in information table.
Table 1 is a signal for sharing information table.
Table 1
Table 2 is the signal that another shares information table.
Table 2
As shown in table 1, the service message for request data link layer traffic that user equipment 131 sends is shared to clothes Business node 111.As shown in table 2, what user equipment 131 sent saves for asking the service message of DPI business to be shared to service Point 121.
Optionally, in certain embodiments, the network equipment 101 can be only used for distribution for request data link layer traffic Service message or be only used for distributing for asking the service message of network layer service.In the case, the network equipment 101 can Only to include as shown in table 1 information table of sharing, or only information table is shared including as shown in table 2.
Optionally, in further embodiments, the network equipment 101 can be used for distribution for request data link layer industry The service message of business can be used for distributing the service message for being used to asking network layer service.In the case, the network equipment 101 As shown in Table 1 and Table 2 two can be included and share information table.Or, the network equipment 101 can share information including one Table, this shares all the elements during information table includes Tables 1 and 2.
Assume Tables 1 and 2 shown in share information table be the network equipment 101 preserve share information table.The network equipment 101 The second service message can also be received.If the network equipment 101 determines that the type of service of the second service message request is Data-Link The MAC Address of road layer service and the business initiation end equipment for sending second service message is the MAC Address of user equipment 131, Then the network equipment 101 directly can send second service message to service node 111.If the network equipment 101 determine this The type of service of two business request informations is data link layer service and sends the business initiation end equipment of second service message MAC Address for user equipment 132 MAC Address, then the network equipment 101 is it needs to be determined that for processing second service message Destination service node.It is similar, if the network equipment determine the type of service of second service message request be DPI business and this The source IP address of two service messages is the IP address of user equipment 131, then second business directly can be disappeared by the network equipment 101 Breath is sent to service node 121.If the network equipment 101 determines that the type of service of the second service message request is NAT business, The network equipment 101 is it needs to be determined that destination service node for processing second service message.If the network equipment 131 determine this The type of service of two service messages request is the IP of the source IP address for user equipment 132 of DPI business and second service message Address, then the network equipment 101 is it needs to be determined that destination service node for processing second service message.The network equipment 101 can Determine in the method with reference to shown in Fig. 2 for processing the destination service node of second service message.
For convenience of describing, business can be initiated the identity information of end equipment, the business and initiate the business that end equipment sends The corresponding relation of the type of service of message and the service node for processing the service message is referred to as sharing strategy.
Optionally, in certain embodiments, in system 100 service node priority it may happen that change.For example, such as In the case that the service load of fruit service node process exceedes certain threshold value, then the priority of the service node may occur to become Change.For another example, if service node to the network equipment 101 time delay exceed certain threshold value in the case of, the service node it is preferential Level can change.Service node can send the priority after renewal to the network equipment 101.
Optionally, in certain embodiments, the network equipment 101 can also receive that the first object service node sends the Two priority indication informations, the priority indicated by the second priority indication information are less than the first priority indication information institute The priority of instruction.
Continue to assume that the network equipment 101 is preserved and as shown in table 1 share information table.Service node 111, service node 112nd, the priority level of service node 113, service node 121, service node 122 and service node 123 is 7.Assume net Network equipment 101 receives the second priority indication information of the transmission of service node 111, and second priority indication information is used to refer to Show service node 111 priority level be 6.In the case, if the network equipment 101 determines the second service message for receiving The type of service of request be data link layer service and send second service message business initiate end equipment MAC Address be The MAC Address of user equipment 131, then the network equipment 101 can continue executing with have built up share survey strategy, i.e., directly should Second service message is sent to service node 111.If the network equipment 101 determines the business for receiving second business request information Type is user equipment for the MAC Address of data link layer service and the business initiation end equipment for sending second service message 132 MAC Address, then the network equipment 101 is it needs to be determined that destination service node for processing second service message.Specifically Ground, it is assumed that the business in 111 manageable first mac address range of service node initiates the request data chain that end equipment sends The service message of road layer service, the business in 112 manageable second mac address range of service node are initiated end equipment and are sent Request data link layer traffic service message, the business in 113 manageable 3rd mac address range of service node send out The service message of the request data link layer traffic that end equipment sends is played, and the MAC Address of user equipment 132 is in a MAC In address realm, the second mac address range and the 3rd mac address range.Now, the priority level of service node 111 is 6, the priority level of service node 112 and service node 113 is 7.In other words, the priority level of service node 111 Less than service node 112 and the priority level of service node 113.In the case, the network equipment 101 can be from service node 112 and service node 113 in determine a service node as process second service message the second destination service node.It is false If the network equipment 101 can determine that service node 112 is the second destination service node.
Further, it is assumed that the network equipment 101 receives the second priority indication information of the transmission of service node 112, this Two priority indication informations are used to indicate that the priority level of service node 112 to be 6.Assume that the network equipment 101 receives service The second priority indication information that node 113 sends, second priority indication information are used to indicate the preferential of service node 113 Level grade is 6.In the case, if the network equipment 101 determines that the type of service of the 3rd service message request for receiving is number According to link layer traffic and send the 3rd service message business initiate end equipment MAC Address for user equipment 131 MAC ground Location, then the network equipment 101 can continue executing with have built up share strategy.If the network equipment 101 determines the 3rd for receiving The type of service of service message request is data link layer service and sends the business initiation end equipment of the 3rd service message MAC Address for user equipment 132 MAC Address, then the network equipment 101 can continue executing with have built up share strategy.If The network equipment 101 determines that the type of service of the 3rd service message for receiving request is data link layer service and sends the 3rd The business of service message initiates the MAC Address of the MAC Address for user equipment 133 (Fig. 1 is not shown) of end equipment, then the network equipment 101 are referred to the method shown in Fig. 2 determines for processing the 3rd destination service node of the 3rd service message.
Further, if the priority level of service node is lowest priority grade, the network equipment 101 is no longer the clothes Business node distribution service message.But the service node can continue executing with have built up share strategy.
Specifically, it is assumed that the network equipment 101 receives the third priority configured information of the transmission of service node 111, this One priority indication information is used to indicate that the priority level of service node 111 to be 0 (i.e. lowest priority grade).In this situation Under, if the network equipment 101 receives the service message for request data link layer traffic of the transmission of user equipment 131, net Network equipment 101 can continue the service message to be sent to service node 111.If the network equipment 101 receive for asking The service message of data link layer service is that user equipment 134 (Fig. 1 is not shown) sends, then the network equipment 101 can be from clothes Determining in business node 112 and service node 113, a service node is (clothes to be assumed for processing the service node of the service message Business node 112 is identical with the priority level of service node 113 and for 0).
Except the enforcement that above-mentioned service node priority level is reduced makes an exception, in certain embodiments, service node is excellent First level is likely to raise.It is understood that the priority level highest of service node can not exceed highest priority level. It is similar to the above embodiments, in the case of the priority of service node is elevated, for have built up share strategy business disappear Breath, the network equipment 101 are still sent the service message to corresponding destination service node using the strategy of sharing for establishing.It is right In the service message of sharing strategy is not set up, the network equipment 101 is referred to the method shown in Fig. 2 and is defined as the service message carry For the service node for servicing.
Optionally, in certain embodiments, the network equipment 101 can determine that the first object service node is no longer participate in industry Business message is shared.In the case, first business that the network equipment 101 is preserved can be initiated end equipment by the network equipment 101 Identity information, the type of service of first service message and the first object service node corresponding relation delete.
Optionally, in certain embodiments, the service node in system 100 periodically (can be properly termed as keep-alive week Phase) keep-alive information is sent to the network equipment 101.If the network equipment 101 does not receive a service node within the keepalive period The keep-alive information of transmission, then can determine that the service node is no longer participate in service message and shares.Further, in order to avoid network is lost Erroneous judgement caused by bag, the network equipment 101 can be being sent out within continuous multiple keepalive periods it is determined that not receiving a service node In the case of the keep-alive information sent, determine that the service node is no longer participate in service message and shares.
In certain embodiments, the keep-alive information that service node sends can with for indicating the priority of the service node Priority indication information and scope of business configured information send in same message.Also just say, service node can be with week Phase property sends the priority and the scope of business of the service node to the network equipment 101.
Specifically, scope of business configured information, priority indication information and keep-alive information can be sent out by a link layer Existing agreement (English:Link Layer Discovery Protocol, referred to as:LLDP) message is carried.The data of the LLDP messages Part can include scope of business type lengths values (English:Type Length Value, referred to as:TLV), priority TLV and deposit Live time (English:Time To Live, referred to as:TTL)TLV.It is appreciated that scope of business TLV is used to carry the business model Configured information is enclosed, priority TLV is used to carry the priority indication information, the TTL TLV are used to carry the keep-alive information.This Outward, the data division of the LLDP messages can also carry the TLV of LLDP data divisions carrying in prior art, such as bridge mark (English:Chassis ID) TLV, port-mark (English:Port ID) TLV etc..
Optionally, in further embodiments, the network equipment 101 periodically (can be properly termed as keepalive period) to every Individual service node sends a keep-alive information, if the network equipment 101 does not receive the response of service node transmission, can determine this Service node is no longer participate in service message and shares.Similar, in order to avoid judging by accident caused by Network Packet Loss, the network equipment 101 can , in the case of it is determined that not receiving the response that a service node was sent within continuous multiple keepalive periods, to determine the service Node is no longer participate in service message and shares.
Optionally, in further embodiments, the network equipment 101 can measure each service node to the network equipment 101 Propagation delay time.If a service node exceedes predetermined threshold value to the propagation delay time of the network equipment 101, the service is can determine Node is no longer participate in service message and shares.
That assumes that the network equipment 101 is preserved as shown in table 1 shares information table.The network equipment 101 is it is determined that service node 111 are no longer participate in the case that service message shares, service node 111 corresponding strategy of sharing being shared information table from this Middle deletion.In the case, if the network equipment 101 receive user equipment 131 transmission for request data link layer traffic Service message, then the network equipment 101 redefine from the candidate service node of highest priority and disappear for processing the business The service node of breath.It is understood that now the candidate service node no longer includes service node 111.
By above-mentioned technical proposal, the network equipment 101 can perceive the change (example that service node occurs in the very first time As priority changes, if service etc. can also be provided).So, the network equipment 101 can adjust service message in the very first time Share strategy, this would not cause the network equipment 101 by the service message send to low priority service node or send out The situation for delivering to the service node that cannot provide service occurs.
Optionally, in certain embodiments, the first service message that the network equipment 101 can be sent with receive user equipment Outward, the service message of service node transmission can also be received.In other words, it can be user equipment that business initiates end equipment, It can be service node.The service node could be for the service node of processing data link layer traffic, or be used for Process the service node of network layer service.
Specifically, need what is be related to when the network equipment 101 can determine user access network according to default management strategy Business.The particular content and formulating method of management strategy is referred to description of the prior art, and here need not just be repeated.
For example, in certain embodiments, the network equipment 101 can determine and complete to reach the standard grade by BRAS in user equipment 131 The service message sent to user equipment 131 is needed to carry out deep message detection afterwards.In the case, the network equipment 101 can be with Method with reference to shown in Fig. 2 determines that service node 111 is for processing the service message that the request of the transmission of user equipment 131 is reached the standard grade First object service node.Service node 111 is reached the standard grade after Business Processing completing user equipment 131, can be by after process Service message is sent to the network equipment 101.The network equipment 101 may be referred to the method shown in Fig. 2 and determine that service node 121 is use The service node of deep message detection is carried out in the service message sent to service node 111, and service node 111 is sent Service message after the process is sent to service node 121.
For another example, in certain embodiments, the network equipment 101 can determine the needs when user equipment 131 is in access network Network address translation is first carried out, then carries out deep message detection.In the case, the network equipment 101 is may be referred to shown in Fig. 2 Method determine one can provide NAT service and highest priority service node (hereinafter referred to as:Target NAT service node, figure 1 not shown target NAT service node), and the service message that user equipment 131 sends is sent to the target NAT service section Point.The target NAT service node can be sent the service message after process to the network equipment after IP address conversion service is completed 101.The network equipment 101 may be referred to the method shown in Fig. 2 and determine that service node 121 is the service section for carrying out deep message detection Service message after point, and the process that the target NAT service node is sent is sent to service node 121.
If the network equipment 101 is merely responsible for the service message of sharing request data link layer service, the network equipment 101 can be with It is switch.If the network equipment 101 is responsible for the service message of sharing request network layer service, the network equipment 101 can be road By device and switch.If it is appreciated that the business that the network equipment 101 can both be responsible for sharing request data link layer service disappears Breath, it is also possible to be responsible for the service message of sharing request network side traffic, then the network equipment 101 can be switch.
Fig. 3 is the network equipment infrastructure block diagram provided according to the embodiment of the present application.As shown in figure 3, the network equipment 300 includes Receiving unit 301, processing unit 302 and transmitting element 303.
Receiving unit 301, initiates the first service message that end equipment sends for receiving the first business.
Processing unit 302, for determining that a candidate service node of highest priority in N number of candidate service node is use In the first object service node for processing first service message, the wherein candidate service node is to process first business The service node of message, wherein, N is the positive integer more than or equal to 2.
Transmitting element 303, for first service message is sent to the first object service node.
Optionally, in certain embodiments, receiving unit 301, are additionally operable to receive each service node in M service node The scope of business configured information of transmission, the scope of business configured information that each service node sends are used to indicate each service The scope of business that node can be processed, wherein, the M service node includes N number of candidate service node, and M is more than or equal to N Positive integer.Receiving unit 301, is additionally operable to receive the first priority indication information that each service node sends, each clothes The first priority indication information that business node sends is used for the priority for indicating each service node.Processing unit 302, also uses The first priority sent in the scope of business configured information sent according to each service node and each service node refers to Show information, determine the preferential of N number of candidate service node and each the candidate service node in N number of candidate service node Level.
Optionally, in certain embodiments, processing unit 302 preserve first business initiate end equipment identity information, The corresponding relation of the type of service of first service message and the first object service node.
Optionally, in certain embodiments, processing unit 302, are additionally operable to it is determined that priority in N number of candidate service node One candidate service node of highest is for before processing the first object service node of first service message, it is determined that processing Unit 302 do not preserve first business initiate the identity information of end equipment, the type of service of first service message and this first The corresponding relation of destination service node.
Optionally, in certain embodiments, receiving unit 301, are additionally operable to receive what the first object service node sent Second priority indication information, wherein, the second priority indication information that the first object service node sends is used to indicate this The priority of first object service node, the second priority indication information that the first object service node sends indicate this The priority of one destination service node is less than being somebody's turn to do that the first priority indication information that the first object service node sends is indicated The priority of first object service node.Receiving unit 301, is additionally operable to receive the second industry that the second business initiates end equipment transmission Business message.Processing unit 302, is additionally operable to determine the identity information and the first business originating end that second business initiates end equipment The identity information of equipment is identical and the type of service of second service message is identical with the type of service of first service message.Send out Unit 303 is sent, is additionally operable to determine that second business initiates the identity information of end equipment and first business is sent out in processing unit 302 Rise end equipment identity information is identical and the type of service phase of the type of service of second service message and first service message With in the case of, second service message is sent to the first object service node.
Optionally, in certain embodiments, processing unit 302, are additionally operable to determine that the first object service node is no longer joined Share with service message.Processing unit 302, is additionally operable to first business that processing unit 302 is preserved is initiated the body of end equipment The corresponding relation of part information, the type of service of first service message and the first object service node is deleted.
The receiving unit 301 of the network equipment 300, the operation of processing unit 302 and transmitting element 303 and function may be referred to The method of above-mentioned Fig. 2, in order to avoid repeating, will not be described here.
Receiving unit 301 and transmitting element 303 can be realized by transceiver.Processing unit 302 can be realized by processor.
Similar, if the network equipment 300 is merely responsible for the service message of sharing request data link layer service, the network equipment 300 can be switch.If the network equipment 300 is responsible for the service message of sharing request network layer service, the network equipment 300 can Being router and switch.If it is appreciated that the network equipment 300 can both be responsible for the industry of sharing request data link layer service Business message, it is also possible to be responsible for the service message of sharing request network side traffic, then the network equipment 300 can be switch.
Fig. 4 is the structured flowchart of the service node provided according to the embodiment of the present application.As shown in figure 4, service node 400 is wrapped Include transmitting element 401, receiving unit 402 and processing unit 403.
Transmitting element 401, for sending scope of business configured information to the network equipment, the scope of business configured information is used for Indicate the service range that service node 400 can be processed;
Transmitting element 401, is additionally operable to the network equipment priority indication information, and the priority indication information is used to indicate The priority of service node 400.
Receiving unit 402, for receiving the service message that the network equipment sends.
Processing unit 403, for processing the service message.
Optionally, in certain embodiments, processing unit 403, are additionally operable to the current state according to service node 400, really Determine the priority of service node 400.
Optionally, in certain embodiments, transmitting element 403, are additionally operable to send keep-alive information to service node 400.
The service message can be the first service message in said method, the second service message or the 3rd service message.
The transmitting element 401 of service node 400, the operation of receiving unit 402 and processing unit 403 and function may be referred to The method of above-mentioned Fig. 2, in order to avoid repeating, will not be described here.
Transmitting element 401 and receiving unit 402 can be realized by transceiver.Processing unit 403 can be realized by processor.
Fig. 5 is the structured flowchart of the network equipment provided according to the embodiment of the present application.The network equipment 500 shown in Fig. 5 is wrapped Include:Processor 501, memory 502 and transceiver 503.
Each component in the network equipment 500 is coupled by bus system 504, and wherein bus system 504 is except bag Include outside data/address bus, also including power bus, controlling bus and status signal bus in addition.But for the sake of for clear explanation, Various buses are all designated as into bus system 504 in Fig. 5.
The method that above-mentioned the embodiment of the present application is disclosed is can apply in processor 501, or is realized by processor 501. A kind of possibly IC chip of processor 501, the disposal ability with signal.During realization, said method it is each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 501 or software form.Above-mentioned process Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present application, step and logic diagram.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to the embodiment of the present application institute The step of disclosed method, can be embodied directly in hardware decoding processor and perform and complete, or with the hardware in decoding processor And software module combination execution is completed.Software module may be located at random access memory (Random Access Memory, RAM), flash memory, read-only storage (Read-Only Memory, ROM), programmable read only memory or electrically erasable programmable In the ripe storage medium in this areas such as memory, register.The storage medium is located at memory 502, and processor 501 reads and deposits Instruction in reservoir 502, the step of complete said method with reference to its hardware.
Memory 502 can be stored for performing the instruction of the method that the network equipment in method as shown in Figure 2 is performed.Process The instruction that device 501 is stored in can performing memory 502 completes side as shown in Figure 2 with reference to other hardware (such as transceiver 503) The step of access node apparatus are performed in method, specific work process and beneficial effect are accessed in may refer to embodiment illustrated in fig. 2 The description of node device.
Similar, if the network equipment 500 is merely responsible for the service message of sharing request data link layer service, the network equipment 500 can be switch.If the network equipment 500 is responsible for the service message of sharing request network layer service, the network equipment 500 can Being router and switch.If it is appreciated that the network equipment 500 can both be responsible for the industry of sharing request data link layer service Business message, it is also possible to be responsible for the service message of sharing request network side traffic, then the network equipment 500 can be switch.
Fig. 6 is the structured flowchart of the service node provided according to the embodiment of the present application.Service node 600 shown in Fig. 6 is wrapped Include:Processor 601, memory 602 and transceiver 603.
Each component in service node 600 is coupled by bus system 604, and wherein bus system 604 is except bag Include outside data/address bus, also including power bus, controlling bus and status signal bus in addition.But for the sake of for clear explanation, Various buses are all designated as into bus system 604 in Fig. 6.
The method that above-mentioned the embodiment of the present application is disclosed is can apply in processor 601, or is realized by processor 601. A kind of possibly IC chip of processor 601, the disposal ability with signal.During realization, said method it is each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 601 or software form.Above-mentioned process Device 601 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present application, step and logic diagram.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to the embodiment of the present application institute The step of disclosed method, can be embodied directly in hardware decoding processor and perform and complete, or with the hardware in decoding processor And software module combination execution is completed.Software module may be located at random access memory (Random Access Memory, RAM), flash memory, read-only storage (Read-Only Memory, ROM), programmable read only memory or electrically erasable programmable In the ripe storage medium in this areas such as memory, register.The storage medium is located at memory 602, and processor 601 reads and deposits Instruction in reservoir 602, the step of complete said method with reference to its hardware.
Memory 602 can be stored for performing the instruction of the method that service node in method as shown in Figure 2 is performed.Process The instruction that device 601 is stored in can performing memory 602 completes side as shown in Figure 2 with reference to other hardware (such as transceiver 603) The step of access node apparatus are performed in method, specific work process and beneficial effect are accessed in may refer to embodiment illustrated in fig. 2 The description of node device.
Fig. 7 is the schematic diagram of the system of the distribution service message for providing according to embodiments of the present invention.As shown in fig. 7, system 700 include the network equipment 701 and N number of service node 702, and wherein N is the positive integer more than or equal to 2.
In certain embodiments, the type of service that N number of service node 702 can be processed is identical.For example, this is N number of Service node is the service node of processing data link layer traffic.For another example, N number of service node is and provides NAT services Service node.
In further embodiments, the type of service that N number of service node 702 can be processed can be it is different, but N number of service node 702 includes that at least two service nodes can process the service message for asking same type of service.
For example, N number of service node can include the service node and at least of at least two processing data link layer traffics Two provide the NAT service nodes of service.
For another example, N number of service node can include at least two processing data link layer traffics service node, at least two The service node of individual offer NAT services and a service node for being used to process DPI business.In the case, if the network equipment 701 determination business initiate the service message that end equipment sends to be needed to ask NAT services, then be referred to method shown in Fig. 2 from A service node is selected in the service node of at least two offers NAT services.If the network equipment 701 determines needing to business The service message for initiating end equipment transmission carries out deep message detection, then directly the service message can be sent to this is used to locate The service node of reason DPI business.It is understood that it can be user equipment, or service that the business initiates end equipment Node, the service node could be for the service node of processing data link layer traffic, or for processing Internet The service node of business.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Unit and algorithm steps, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Each specific application can be used different methods to realize described function, but this realization it is not considered that exceeding Scope of the present application.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, can be with Realize by another way.For example, device embodiment described above is only schematic, for example, the unit Divide, only a kind of division of logic function can have other dividing mode, such as multiple units or component when actually realizing Can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in the application each embodiment can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is realized using in the form of SFU software functional unit and as independent production marketing or when using, can be with It is stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the application is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be individual People's computer, server, or network equipment etc.) or processor (processor) perform side described in the application each embodiment The all or part of step of method.And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, the protection domain of the only specific embodiment of the application, but the application is not limited thereto, any Those familiar with the art in the technical scope that the application is disclosed, all answer by the change or replacement that can be readily occurred in Cover within the protection domain of the application, therefore the protection domain of the application should be defined by scope of the claims.

Claims (19)

1. a kind of method of distribution service message, is applied in user access network scene, it is characterised in that methods described bag Include:
The network equipment receives the first business and initiates the first service message that end equipment sends;
The network equipment determines that a candidate service node of highest priority in N number of candidate service node is for processing The first object service node of the first service message is stated, wherein the candidate service node disappears to process first business The service node of breath, wherein, N is the positive integer more than or equal to 2;
The network equipment sends first service message to the first object service node.
2. the method for claim 1, it is characterised in that excellent in the network equipment determines N number of candidate service node First level highest candidate service node is for, before processing the first object service node of the service message, methods described is also Including:
The network equipment receives the scope of business configured information of each service node transmission in M service node, it is described each The scope of business configured information that service node sends is used to indicate the scope of business that described each service node can be processed, its In, the M service node includes N number of candidate service node, and M is the positive integer more than or equal to N;
The network equipment receives the first priority indication information that each service node sends, and described each service node sends The first priority indication information be used to indicate the priority of each service node;
Scope of business configured information and described each service node that the network equipment is sent according to described each service node The first priority indication information for sending, determines every in N number of candidate service node and N number of candidate service node The priority of individual candidate service node.
3. method as claimed in claim 1 or 2, it is characterised in that methods described also includes:The network equipment preserves described First business initiates identity information, the type of service of first service message and the first object service node of end equipment Corresponding relation.
4. method as claimed in claim 3, it is characterised in that excellent in the network equipment determines N number of candidate service node One candidate service node of first level highest is the side for before processing the first object service node of first service message Method also includes:The network equipment determine the network equipment do not preserve first business initiate end equipment identity information, The corresponding relation of the type of service of first service message and the first object service node.
5. the method as any one of Claims 1-4, it is characterised in that methods described also includes:The network equipment The second priority indication information that the first object service node sends is received, wherein, the first object service node is sent out The second priority indication information for sending is used for the priority for indicating the first object service node, the first object service section The priority of the first object service node that the second priority indication information that point sends is indicated is less than the first object The priority of the first object service node that the first priority indication information that service node sends is indicated;
The network equipment receives the second business and initiates the second service message that end equipment sends;
The network equipment is it is determined that the identity information that second business initiates end equipment is set with the first business originating end Standby identity information is identical and type of service of second service message is identical with the type of service of first service message In the case of, second service message is sent to the first object service node.
6. the method as described in claim 3 or 4, it is characterised in that methods described also includes:The network equipment determines described First object service node is no longer participate in service message and shares;
First business that the network equipment is preserved by the network equipment initiate the identity information of end equipment, described first The corresponding relation of the type of service of service message and the first object service node is deleted.
7. the method as any one of claim 1 to 6, it is characterised in that it is use that first business initiates end equipment Family equipment or first service node, wherein, the first service node is for processing data link layer traffic or network The service node of layer service.
8. the method as any one of claim 1 to 6, it is characterised in that the service message is data link layer industry Business message or network layer service message.
9. a kind of method of distribution service message, methods described are applied to user access network scene, it is characterised in that the side Method includes:
Service node sends scope of business configured information to the network equipment, and the scope of business configured information is used to indicate the clothes The scope of business that business node can be processed;
The service node sends priority indication information to the network equipment, and the priority indication information is used to indicate institute State the priority of service node;
The service node receives the service message that the network equipment sends;
The service node processes the service message.
10. method as claimed in claim 9, it is characterised in that methods described also includes:The service node is to the network Equipment sends keep-alive information.
11. a kind of network equipments, it is characterised in that the network equipment includes:
Receiving unit, initiates the first service message that end equipment sends for receiving the first business;
Processing unit, for determining that a candidate service node of highest priority in N number of candidate service node is for processing The first object service node of first service message, wherein the candidate service node is to process first business The service node of message, wherein, N is the positive integer more than or equal to 2;
Transmitting element, for first service message is sent to the first object service node.
12. network equipments as claimed in claim 11, it is characterised in that the receiving unit, are additionally operable to receive M service section The scope of business configured information that each service node sends in point, the scope of business configured information that described each service node sends For indicating the scope of business that described each service node can be processed, wherein, the M service node includes N number of time Service node is selected, M is the positive integer more than or equal to N;
The receiving unit, is additionally operable to receive the first priority indication information that each service node sends, described each service The first priority indication information that node sends is used for the priority for indicating each service node;
The processing unit, is additionally operable to the scope of business configured information and described each clothes according to each service node transmission The first priority indication information that business node sends, determines N number of candidate service node and N number of candidate service node In each candidate service node priority.
13. network equipments as described in claim 11 or 12, it is characterised in that the processing unit preserves first business Initiate the correspondence pass of identity information, the type of service of first service message and the first object service node of end equipment System.
14. network equipments as claimed in claim 13, it is characterised in that the processing unit, are additionally operable to it is determined that N number of candidate In service node, a candidate service node of highest priority is for processing the first object of first service message clothes Before business node, determine that the processing unit does not preserve first business and initiates the identity information of end equipment, first industry The corresponding relation of the type of service and the first object service node of business message.
15. network equipments as any one of claim 11 to 14, it is characterised in that the receiving unit, are additionally operable to The second priority indication information that the first object service node sends is received, wherein, the first object service node is sent out The second priority indication information for sending is used for the priority for indicating the first object service node, the first object service section The priority of the first object service node that the second priority indication information that point sends is indicated is less than the first object The priority of the first object service node that the first priority indication information that service node sends is indicated;
The receiving unit, is additionally operable to receive the second service message that the second business initiates end equipment transmission;
The processing unit, is additionally operable to determine that second business is initiated the identity information of end equipment and initiated with first business The identity information of end equipment is identical and the type of service of the type of service of second service message and first service message It is identical;
The transmitting element, is additionally operable to determine that second business initiates the identity information of end equipment and institute in the processing unit State the first business initiate end equipment identity information is identical and the type of service and first business of second service message In the case of the type of service identical of message, second service message is sent to the first object service node.
16. network equipments as described in claim 13 or 14, it is characterised in that the processing unit, are additionally operable to determination described First object service node is no longer participate in service message and shares;
The processing unit, first business for being additionally operable to preserve the processing unit initiate end equipment identity information, The corresponding relation of the type of service of first service message and the first object service node is deleted.
17. a kind of service nodes, it is characterised in that the service node includes:
Transmitting element, for sending scope of business configured information to the network equipment, the scope of business configured information is used to indicate The scope of business that the service node can be processed;
The transmitting element, is additionally operable to send priority indication information to the network equipment, and the priority indication information is used In the priority for indicating the service node;
Receiving unit, for receiving the service message that the network equipment sends;
Processing unit, for processing the service message.
18. service nodes as claimed in claim 17, it is characterised in that the transmitting element, are additionally operable to the network set Preparation send keep-alive information.
19. a kind of systems of distribution service message, it is characterised in that the system is included such as claim 11 to claim 16 The network equipment described in any one and at least two service nodes as described in claim 17 or claim 18.
CN201610978453.0A 2016-11-04 2016-11-04 Method, equipment and system for distributing service message Active CN106533973B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610978453.0A CN106533973B (en) 2016-11-04 2016-11-04 Method, equipment and system for distributing service message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610978453.0A CN106533973B (en) 2016-11-04 2016-11-04 Method, equipment and system for distributing service message

Publications (2)

Publication Number Publication Date
CN106533973A true CN106533973A (en) 2017-03-22
CN106533973B CN106533973B (en) 2021-01-29

Family

ID=58349695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610978453.0A Active CN106533973B (en) 2016-11-04 2016-11-04 Method, equipment and system for distributing service message

Country Status (1)

Country Link
CN (1) CN106533973B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862089A (en) * 2019-01-24 2019-06-07 网联清算有限公司 Data processing method, device, system, computer readable storage medium
CN110018891A (en) * 2018-11-28 2019-07-16 阿里巴巴集团控股有限公司 A kind of task management system, a kind of task management method and device
CN111342932A (en) * 2020-02-19 2020-06-26 望海康信(北京)科技股份公司 Data transmission method, device, equipment and computer readable storage medium
CN112799825A (en) * 2019-11-13 2021-05-14 中国移动通信有限公司研究院 Task processing method and network equipment
CN113794771A (en) * 2021-09-14 2021-12-14 中国银行股份有限公司 Transaction distribution method, transaction distribution gateway and device based on TCP (Transmission control protocol) request message
US11909816B2 (en) * 2022-01-21 2024-02-20 Dell Products L.P. Distributed network address discovery in non-uniform networks

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102056333A (en) * 2009-11-05 2011-05-11 中国移动通信集团河南有限公司 WAP (wireless application protocol) gateway, service processing method thereof and WAP proxy server
US20110191608A1 (en) * 2010-02-04 2011-08-04 Cisco Technology, Inc. System and method for managing power consumption in data propagation environments
CN102271078A (en) * 2010-06-07 2011-12-07 龚华清 Service quality guarantee oriented load balancing method
CN103095597A (en) * 2011-10-28 2013-05-08 华为技术有限公司 Load balancing method and device
CN104363181A (en) * 2014-08-28 2015-02-18 杭州华三通信技术有限公司 Traffic transmission control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102056333A (en) * 2009-11-05 2011-05-11 中国移动通信集团河南有限公司 WAP (wireless application protocol) gateway, service processing method thereof and WAP proxy server
US20110191608A1 (en) * 2010-02-04 2011-08-04 Cisco Technology, Inc. System and method for managing power consumption in data propagation environments
CN102271078A (en) * 2010-06-07 2011-12-07 龚华清 Service quality guarantee oriented load balancing method
CN103095597A (en) * 2011-10-28 2013-05-08 华为技术有限公司 Load balancing method and device
CN104363181A (en) * 2014-08-28 2015-02-18 杭州华三通信技术有限公司 Traffic transmission control method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110018891A (en) * 2018-11-28 2019-07-16 阿里巴巴集团控股有限公司 A kind of task management system, a kind of task management method and device
CN110018891B (en) * 2018-11-28 2023-11-21 创新先进技术有限公司 Task management system, task management method and device
CN109862089A (en) * 2019-01-24 2019-06-07 网联清算有限公司 Data processing method, device, system, computer readable storage medium
CN112799825A (en) * 2019-11-13 2021-05-14 中国移动通信有限公司研究院 Task processing method and network equipment
WO2021093501A1 (en) * 2019-11-13 2021-05-20 中国移动通信有限公司研究院 Task processing method and network device
CN111342932A (en) * 2020-02-19 2020-06-26 望海康信(北京)科技股份公司 Data transmission method, device, equipment and computer readable storage medium
CN111342932B (en) * 2020-02-19 2022-09-16 望海康信(北京)科技股份公司 Data transmission method, device, equipment and computer readable storage medium
CN113794771A (en) * 2021-09-14 2021-12-14 中国银行股份有限公司 Transaction distribution method, transaction distribution gateway and device based on TCP (Transmission control protocol) request message
CN113794771B (en) * 2021-09-14 2023-01-20 中国银行股份有限公司 Transaction distribution method, transaction distribution gateway and device based on TCP (Transmission control protocol) request message
US11909816B2 (en) * 2022-01-21 2024-02-20 Dell Products L.P. Distributed network address discovery in non-uniform networks

Also Published As

Publication number Publication date
CN106533973B (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN106533973A (en) Method and system for distributing service message, and equipment
CN106953788B (en) virtual network controller and control method
CN105610632B (en) Virtual network equipment and related method
CN101692652B (en) Method and device for preventing interrupt of traffics in aggregation link
CN109802985A (en) Data transmission method, device, equipment and read/write memory medium
CN104243265A (en) Gateway control method, device and system based on virtual machine migration
CN105577723B (en) Virtualize the method and apparatus that load balancing is realized in network
CN103118149B (en) Communication control method between same tenant's server and the network equipment
CN103929492A (en) Method, devices and system for load balancing of service chain
CN104780088A (en) Service message transmission method and equipment
CN105262667A (en) Method and device for controlling multicast transmission in Overlay network
CN103746927B (en) Priority-based fluid control PFC (Power Factor Correction) method, transmitting device and receiving device
CN103931162B (en) The method and the network equipment of processing business
CN103139075B (en) A kind of message transmitting method and equipment
CN108306824B (en) Message sending method and device
CN105991347A (en) Redirection method of DNS request message and device
CN107872368B (en) Method and device for detecting accessibility of gateway in network node cluster and terminal
CN104219125A (en) Method, device and system for forwarding message in ICN
WO2019085975A1 (en) Network topology display method and network management device
CN106603261A (en) Hot backup method, first master device, backup device and communication system
CN106850424A (en) A kind of system of selection, the apparatus and system in IP layers of path
CN105450540A (en) Load balancing method and device as well as DHCP (dynamic host configuration protocol) server
CN104301449A (en) Method and device for modifying IP address
CN103188153A (en) Bidirectional forwarding detection (BFD) message sending method and equipment on broadcast network link
CN104158732A (en) Intelligent cloud service dynamic routing strategy

Legal Events

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