CN105245453B - Method for building up, equipment and the system of business chain - Google Patents

Method for building up, equipment and the system of business chain Download PDF

Info

Publication number
CN105245453B
CN105245453B CN201410281721.4A CN201410281721A CN105245453B CN 105245453 B CN105245453 B CN 105245453B CN 201410281721 A CN201410281721 A CN 201410281721A CN 105245453 B CN105245453 B CN 105245453B
Authority
CN
China
Prior art keywords
information
point
request message
service node
exploration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410281721.4A
Other languages
Chinese (zh)
Other versions
CN105245453A (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 CN201410281721.4A priority Critical patent/CN105245453B/en
Publication of CN105245453A publication Critical patent/CN105245453A/en
Application granted granted Critical
Publication of CN105245453B publication Critical patent/CN105245453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of method for building up of business chain, equipment and systems, belong to the communications field.The exploration request message at least carrying the pointer that second explores the information of point, the information of business chain and the information for being directed toward the service node for currently needing to explore that the present invention passes through the previous equipment transmission of periodic receipt;Whether the information for determining the service node that pointer is directed toward is empty, if the information for the service node that pointer is directed toward is not sky, the information for the service node being directed toward according to pointer determines whether itself is service node;If itself being service node, the information for the service node that refresh pointer is directed toward forwards according to the information of the service node after refreshing and explores request message, explores point until exploring request message and reaching second;If itself being non-traffic node, the information searching for the service node being directed toward according to pointer is routed, and is explored request message according to the routing forwarding found and is established forwarding table, is explored point until exploring request message and reaching second, is realized and establish business chain automatically.

Description

Method for building up, equipment and the system of business chain
Technical field
The present invention relates to field of communication technology, in particular to a kind of method for building up of business chain, equipment and system.
Background technique
With the development of communication technology, user equipment needs that it is various to carry out unrestricted choice by a variety of different business devices Network value added service.Business chain (English: service-chaining) technology is generallyd use, is flowed through according to set strategy foundation more The business chain (i.e. Business Stream transmission path) of a service node, so that user equipment selects various network value addeds to take using business chain Business.
Prior art Utilization strategies route technology establishes business chain, that is, passes through artificial configuration strategy road on switches By the Business Stream for meeting policybased routing is redirected to specified interface or specified network interconnection agreement (English: Internet Protocol, abbreviation: IP) mode of address establishes business chain, with guide service stream along the industry established according to set strategy Business chain flows through multiple service nodes.
Since policybased routing in the prior art is by human configuration, so that in the policybased routing by human configuration When establishing business chain, the maintenance difficulties after business chain is established are increased, and because configuration process is complicated, cause establishing business The problems such as heavy workload when chain.
Summary of the invention
In order to solve above-mentioned problem of the prior art, the embodiment of the invention provides a kind of method for building up of business chain, set Standby and system.
In a first aspect, providing a kind of method for building up of business chain, which comprises
The exploration request message that the previous equipment of periodic receipt is sent, the exploration request message explore point life by first At, and the request message of exploring at least carries what the second exploration point information, the information of business chain and direction currently needed to explore The pointer of the information of service node;The information of the business chain includes all service node information of the business chain;Described One, which explores point and second, explores point for exploring the business chain;
Whether the information for determining the service node that the pointer is directed toward is sky, if the letter for the service node that the pointer is directed toward For breath not for sky, then the information for the service node being directed toward according to the pointer determines whether itself is service node;
If itself being service node, refresh the information for the service node that the pointer is directed toward, according to the business after refreshing The information of node forwards the exploration request message, until the exploration request message, which reaches described second, explores point;
If itself being non-traffic node, the information searching for the service node being directed toward according to the pointer is routed, according to looking into Exploration request message described in the routing forwarding found simultaneously establishes forwarding table, visits until the exploration request message reaches described second Suo Dian.
With reference to first aspect, in the first possible implementation, described is also carried in the exploration request message One explores the information of point;It is described according to described in the routing forwarding found exploration request message before, further includes:
The status information of itself is added in the exploration request message;
It is described according to described in the routing forwarding found exploration request message after, further includes:
The probe response message that latter apparatus is sent is received, the probe response message is explored point by described second and is generated, And the probe response message carries the information and explore by the exploration request message each that described first explores point The status information of service node;
The probe response message is sent to the previous equipment, until the probe response message reaches described first Point is explored, explores the status information that point shows each service node added in the probe response message by described first.
With reference to first aspect or the first possible implementation of first aspect, in second of possible implementation In, the information for refreshing the service node that the pointer is directed toward, comprising:
Determine itself whether be the business chain the last one service node;
If itself being the last one service node of the business chain, set empty for the pointer;
If itself not being the last one service node of the business chain, the pointer is directed toward and next needs to explore Service node information.
Any one possible realization side into second of possible implementation of first aspect with reference to first aspect Formula, in the third possible implementation, it is described according to the Route establishment forwarding table found after, further includes:
If not refreshing the forwarding table within default digestion period, the forwarding table is deleted.
Any one possible realization side into the third possible implementation of first aspect with reference to first aspect Formula, in the fourth possible implementation, after whether the information of the service node that the determination pointer is directed toward is sky, also Include:
If the information for the service node that the pointer is directed toward is sky, the information for exploring point according to described second determines itself It whether is the second exploration point;
If itself not being the second exploration point, point information is explored according to described second and forwards the exploration request message, directly Described second, which is reached, to the exploration request message explores point.
Second aspect provides a kind of method for building up of business chain, which comprises
Periodically generate exploration request message, information, the business explored request message and at least carry the second exploration point The pointer of the information for the service node that the information and direction of chain currently need to explore;The information of the business chain includes the business All service node information of chain;Described first, which explores point and second, explores point for exploring the business chain;
The exploration request message is sent to intermediate equipment.
It is in the first possible implementation, described to be sent to the exploration request message in conjunction with second aspect Between after equipment, further includes:
The probe response message that the intermediate equipment is sent is received, the probe response message explores point life by described second At, and the probe response message carries the first each industry exploring point information and exploring by the exploration request message The status information of business node;
After the information for exploring point according to described first determines itself for the first exploration point, show that the probe response message is taken The status information of each service node of band.
The third aspect provides a kind of method for building up of business chain, which comprises
The exploration request message that intermediate equipment is sent is received, the exploration request message is explored point by first and generated, and institute It states exploration request message and at least carries the business section that information, the information of business chain and the direction of the second exploration point currently need to explore The pointer of the information of point;The information of the business chain includes the information of all service nodes of the business chain;Described first visits Rope point and second explores point for exploring the business chain;Whether the information for determining the service node that the pointer is directed toward is sky, If the information for the service node that the pointer is directed toward is sky, the information for exploring point according to described second determines whether itself is the Two explore point;
If itself explores point for second, the exploration request message is terminated.
In conjunction with the third aspect, in the first possible implementation, the first spy is also carried in the exploration request message The information of rope point and the status information for exploring each service node that request message is explored;
After the termination exploration request message, further includes:
What the information and the exploration request message for obtaining the first exploration point that the exploration request message carries were explored The status information of each service node, the information for carrying the first exploration point is sent to the intermediate equipment and the exploration is asked The probe response message of the status information for each service node for asking message to explore is rung the exploration by the intermediate equipment It answers message to be forwarded to described first and explores point.
Fourth aspect provides a kind of equipment of establishing of business chain, and the equipment is intermediate equipment, and the equipment includes:
First receiving module, for the exploration request message that the previous equipment of periodic receipt is sent, the exploration request report Text by first explore point generate, and it is described explore request message at least carries second exploration information, the information of business chain and It is directed toward the pointer of the information for the service node for currently needing to explore;The information of the business chain includes all industry of the business chain Business nodal information;Described first, which explores point and second, explores point for exploring the business chain;First determining module, for determining Whether the service node information that the pointer is directed toward is empty;
Second determining module then refers to according to the pointer when service node information for pointer direction is not sky To service node information determine whether the equipment is service node;
Refresh module, for refreshing the service node information that the pointer is directed toward when the equipment is service node;
First forwarding module, for forwarding the exploration request message according to the service node information after refreshing, until institute It states and explores request message arrival the second exploration point;
Searching module, for when second determining module determine the equipment be non-traffic node when, according to the finger The information searching routing for the service node that needle is directed toward;
Second forwarding module, exploration request message described in the routing forwarding for finding according to the searching module are simultaneously built Vertical forwarding table, until the exploration request message, which reaches described second, explores point.
In conjunction with fourth aspect, in the first possible implementation, the exploration that first receiving module receives is asked It asks and also carries the described first information for exploring point in message;First forwarding module is also used to believe the state of the equipment Breath is added in the exploration request message that first receiving module receives;
The equipment, further includes:
Second receiving module, for receiving the probe response message of latter apparatus transmission, the probe response message is by institute The generation of the second exploration point is stated, and the probe response message carries the information and request by the exploration that described first explores point The status information for each service node that message is explored;
Sending module, the probe response message for receiving second receiving module are sent to described previous set It is standby, until the probe response message, which reaches described first, explores point, point is explored by described first and shows the probe response report The status information of each service node added in text.
In conjunction with the possible implementation of the first of fourth aspect or fourth aspect, in second of possible implementation In, the refresh module, for determine the equipment whether be the business chain the last one service node;When the equipment For the business chain the last one service node when, set empty for the pointer;When the equipment is not the business chain The last one service node when, the pointer is directed toward next information of service node for needing to explore.
In conjunction with fourth aspect to fourth aspect second of possible implementation in any one possible realization side Formula, in the third possible implementation, the equipment, further includes:
Removing module, for deleting the forwarding table when not refreshing the forwarding table within default digestion period.
In conjunction with fourth aspect to fourth aspect the third possible implementation in any one possible realization side Formula, in the fourth possible implementation, the equipment, further includes:
Third determining module, the information for working as the service node that first determining module determines that the pointer is directed toward are When empty, the information for exploring point according to described second determines whether the equipment is the second exploration point;
Third forwarding module, for when it is the second exploration point that the third determining module, which determines the equipment not, according to Described second information for exploring point forwards the exploration request message, explores until the exploration request message reaches described second Point.
5th aspect, provides a kind of equipment of establishing of business chain, and the equipment is first to explore point, the equipment packet It includes:
Generation module, for periodically generating exploration request message, the exploration request message at least carries the second exploration The pointer of the information for the service node that point information, the information of business chain and direction currently need to explore;The information of the business chain All service node information including the business chain;Described first, which explores point and second, explores point for exploring the business Chain;
Sending module, the exploration request message for generating the generation module are sent to intermediate equipment.
In conjunction with the 5th aspect, in the first possible implementation, the equipment, further includes:
Receiving module, the probe response message sent for receiving the intermediate equipment, the probe response message is by institute The generation of the second exploration point is stated, and the probe response message carries the information and pass through the exploration request message that first explores point The status information for each service node explored;
Display module is completed for confirming that the business chain is established according to the probe response message, shows the business The status information of each service node of chain.
6th aspect, provides a kind of equipment of establishing of business chain, and the equipment is second to explore point, the equipment packet It includes:
Receiving module, for receiving the exploration request message of intermediate equipment transmission, the exploration request message is visited by first Rope point generates, and the exploration request message at least carries information, the information of business chain and direction that second explores point and currently need to The pointer of the information of the service node to be explored;The information of the business chain includes all service nodes letter of the business chain Breath;Described first, which explores point and second, explores point for exploring the business chain;
First determining module, the industry being directed toward for determining the pointer explored in request message that the receiving module receives Whether the information of business node is empty;
Second determining module, the information for working as the service node that first determining module determines that the pointer is directed toward are When empty, the information for exploring point according to described second determines whether the equipment is the second exploration point;
Module is terminated, for terminating the spy when second determining module determines that the equipment is the second exploration point Rope request message.
In conjunction with the 6th aspect, in the first possible implementation, report is requested in the exploration that the receiving module receives Text also carries the information that first explores point and the status information for exploring each service node that request message is explored;
The equipment, further includes:
Module is obtained, the first exploration point information exploring request message and carrying received for obtaining the receiving module And the status information for exploring each service node that request message is explored;
Sending module carries the letter for obtaining the first exploration point that module is got for sending to the intermediate equipment The probe response message of breath and the status information for exploring each service node that request message is explored, is set by the centre It is standby that the probe response message is forwarded to the first exploration point.
7th aspect, provide a kind of business chain establishes system, which is characterized in that the system comprises: first explores Point, intermediate equipment and second explore point;
Wherein, described first point setting as described in the first possible implementation in terms of the 5th or in terms of the 5th is explored It is standby;
Any one realization into the 4th kind of possible implementation of fourth aspect of the intermediate equipment such as fourth aspect Equipment described in mode;
Described second explores equipment of the point as described in the first possible implementation in terms of the 6th or in terms of the 6th.
Technical solution provided in an embodiment of the present invention at least bring it is following the utility model has the advantages that
Second the information of point, business chain are explored by least carrying of sending of the previous equipment of intermediate equipment periodic receipt The exploration request message of the pointer for the service node information that information and direction currently need to explore;If it is determined that the business that pointer is directed toward Nodal information is not empty, and determines itself according to the service node information that pointer is directed toward as service node, then refresh pointer is directed toward Service node information, according to after refreshing service node information forwarding explore request message, until explore request message reach Second explores point;If itself being non-traffic node, routed according to the service node information searching that pointer is directed toward, according to finding Routing forwarding explore request message and establish forwarding table, explore point until exploring request message and reaching second.To in business Before data transmission, the business chain to be flowed through to data is explored, and is realized and is established business chain automatically.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the method for building up flow diagram of business chain provided by one embodiment of the present invention;
Fig. 2 is the method for building up flow diagram for the business chain that another embodiment of the present invention provides;
Fig. 3 is the method for building up flow diagram for the business chain that another embodiment of the present invention provides;
Fig. 4 is a kind of networking schematic diagram that another embodiment of the present invention provides;
Fig. 5 is the method for building up flow diagram for the business chain that another embodiment of the present invention provides;
Fig. 6 is a kind of exploration request message structural schematic diagram that another embodiment of the present invention provides;
Fig. 7 is a kind of probe response message structure schematic diagram that another embodiment of the present invention provides;
Fig. 8 is that a kind of business chain that another embodiment of the present invention provides establishes device structure schematic diagram;
Fig. 9 is that a kind of business chain that another embodiment of the present invention provides establishes device structure schematic diagram;
Figure 10 is that a kind of business chain that another embodiment of the present invention provides establishes device structure schematic diagram;
Figure 11 is that a kind of business chain that another embodiment of the present invention provides establishes device structure schematic diagram;
Figure 12 is that a kind of present invention another business chain for applying example offer establishes device structure schematic diagram;
Figure 13 is that a kind of business chain that another embodiment of the present invention provides establishes device structure schematic diagram;
Figure 14 is that a kind of business chain that another embodiment of the present invention provides establishes system structure diagram.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
The embodiment of the invention provides a kind of method for building up of business chain, this method be applied to include first explore point, in Between equipment and second explore point etc. multiple equipments composition network in.Wherein, intermediate equipment, which refers to, explores point and the positioned at first Two explore the equipment between point, including service node and non-traffic node, and service node can be value-added service equipment, such as anti- Wall with flues, Anti Virus Gateway, using control gateway etc.;Non-traffic node can be interchanger, router etc..In the network, lead to It crosses the first exploration point and periodically sends exploration request message, dynamically establish subsequent industry on the non-traffic node in intermediate equipment The foundation of business chain is realized in the forwarding table of business message, the forwarding of guide service message.The mechanism establishes industry by exploring automatically The forward-path of business chain, therefore the networking flexibility of service node is free, and cumbersome strategy configuration is carried out without user.In addition, The mechanism may be selected to carry the related status information for exploring the service node that request message passes through in probe response message, thus The range of information such as connectivity, the delay on current business chain path can be shown to user, greatly simplify maintenance work.
As shown in Figure 1, being the method for building up of business chain provided by one embodiment of the present invention, the executing subject of the method It can be intermediate equipment, which comprises
101, the exploration request message that the previous equipment of periodic receipt is sent, the exploration request message explore point by first It generates, and the exploration request message at least carries information, the information of business chain and direction that second explores point and currently needs to visit The pointer of the information of the service node of rope.
Wherein, the information of the business chain includes the information of all service nodes of the business chain;Described first explores Point and second explores point for exploring the business chain.
102, whether the information for determining the service node that the pointer is directed toward is sky, if the service node that the pointer is directed toward Information be not it is empty, then the information for the service node being directed toward according to the pointer determines whether itself is service node.If itself For service node, step 103 is executed, if itself being non-traffic node, executes step 104.
Optionally, if the information for the service node that the pointer is directed toward is sky, the information for exploring point according to described second Determine whether itself is the second exploration point;
If itself not being the second exploration point, the information for exploring point according to described second forwards the exploration request to report Text, until the exploration request message, which reaches described second, explores point, the foundation of finishing service chain.
If itself being 103, service node, refresh the information for the service node that the pointer is directed toward, according to the refreshing Request message is explored in the information forwarding of service node afterwards, explores point until exploring request message and reaching second.
Wherein, the information for the service node that the refresh pointer is directed toward, including but not limited to:
Determine itself whether be the business chain the last one service node;
If itself is the last one service node of the business chain, the pointer is set to sky;
If itself not being the last one service node of the business chain, the pointer is directed toward and next needs to explore Service node information.
If 104, itself being non-traffic node, the information searching for the service node being directed toward according to the pointer is routed, is pressed According to exploration request message described in the routing forwarding found and forwarding table is established, until explorations request message arrival described the Two explore point.
Method provided in an embodiment of the present invention, the exploration request message sent by the previous equipment of periodic receipt, determines After the information for exploring the service node that the pointer that request message carries is directed toward is not sky, if itself is service node, brush The information for the service node that the new pointer is directed toward forwards according to the information of the service node after the refreshing and explores request report Text, until the exploration request message, which reaches second, explores point, the foundation of finishing service chain;If itself being non-traffic node, According to the information searching routing for the service node that the pointer is directed toward, request message is explored according to described in the routing forwarding found And forwarding table is established, until the exploration request message, which reaches described second, explores point, the foundation of finishing service chain.To in industry Before data of being engaged in transmission, the business datum business chain to be flowed through is explored, realizes and establishes business chain automatically.
Another embodiment of the present invention provides a kind of method for building up of business chain, the executing subject of the method can be One explores point.As shown in Fig. 2, this method comprises:
201, periodically generate exploration request message, it is described explore request message at least carries information that the second exploration puts, The pointer of the information for the service node that the information and direction of business chain currently need to explore.
The information of the business chain includes the information of all service nodes of the business chain;Described first explores point and the Two explore point for exploring the business chain.
202, the exploration request message is sent to intermediate equipment, method shown in FIG. 1 is executed by the intermediate equipment.
Method provided in an embodiment of the present invention is sent to intermediate equipment by periodicity and explores request message, sets centre It is standby determine that the information for exploring the service node that the pointer that request message carries is directed toward is not sky after, if itself is business section Point then refreshes the information for the service node that the pointer is directed toward, according to the forwarding of the information of the service node after the refreshing Request message is explored, until the exploration request message, which reaches second, explores point, the foundation of finishing service chain;If itself is non-industry The information searching of business node, the then service node being directed toward according to pointer routes, and asks according to exploration described in the routing forwarding found It seeks message and establishes forwarding table, until the exploration request message, which reaches second, explores point, the foundation of finishing service chain.Thus Before business data transmission, the business datum business chain to be flowed through is explored, realizes and establishes business chain automatically.
Another embodiment of the present invention provides a kind of business chain method for building up, the executing subject of the method can be Two explore point.As shown in figure 3, this method comprises:
301, the exploration request message that intermediate equipment is sent is received, the exploration request message is explored point by first and is generated, And the request message of exploring at least carries the industry that information, the information of business chain and the direction of the second exploration point currently need to explore The pointer of the information of business node.
The information of the business chain includes the information of all service nodes of the business chain;Described first explores point and the Two explore point for exploring the business chain.
302, whether the information for determining the service node that the pointer is directed toward is sky, if the service node that the pointer is directed toward Information be sky, then according to it is described second explore point information determine whether itself is the second exploration point.
If 303, itself explores point for second, the exploration request message is terminated.
Method provided in an embodiment of the present invention, the exploration request message sent by receiving intermediate equipment, and determining After stating and exploring the information for the service node that the pointer in request message is directed toward is sky, and itself explores point for second, described in termination Request message is explored, so that the business datum business chain to be flowed through is explored before business data transmission, it is real Show and has established business chain automatically.
Another embodiment of the present invention provides a kind of method for building up of business chain, this method is applied to one kind by multiple equipment In the network being made up of service-chaining technology linkages.For convenience of explanation, as shown in figure 4, the network includes First explores point, intermediate equipment 1 to intermediate equipment 5 and second explores point, which passes through service-chaining technology Link.And in the network, intermediate equipment includes service node and non-traffic node, and service node can be value-added service and set It is standby, for example, firewall, Anti Virus Gateway, using control gateway etc.;Non-traffic node can be interchanger, router etc..Non- industry Business node can be stream distribution point or common forwarding device.Wherein, intermediate equipment 2, intermediate equipment 3, intermediate equipment 4 are industry Node, intermediate equipment 1 and intermediate equipment 5 be engaged in as non-traffic node.In the network, business chain are as follows: intermediate equipment 2,3,4 is connected The logical links of composition;Exploring the link that request message passes through is since first explores point, respectively by intermediate equipment 1 into Between equipment 5, until second explore point terminate a path.As shown in figure 5, this method comprises:
501, the first exploration point periodically generates exploration request message, and the exploration request message at least carries the second exploration The pointer of the information for the service node that information, the information of business chain and the direction of point currently need to explore.
Wherein, the information of the business chain includes all service node information of the business chain;Described first explores point Point is explored for exploring the business chain with second.Specifically, the exploration request message, which can be described first, explores point root It is generated according to the configuration of network side equipment, wherein network side equipment can include but is not limited to the net of the first exploration point upper level Network side apparatus, such as the upper level management equipment for managing the first exploration point.Wherein, the source IP for exploring request message Location is the described first IP address for exploring point, and the purpose IP address for exploring request message is the second IP address for exploring point. In order to improve the penetrability on the forwarding devices such as exchange, routing, it is proposed that request message will be explored and encapsulated using udp protocol, source, Destination slogan is identical, and is 65000.Intermediate equipment can judge the exploration by udp protocol and port number information Request message, the relevant parameter for exploring request message are placed on payload segment.In the present embodiment, request message is explored extremely The pointer of the information for the service node that the information, the information of business chain and direction that second explores point currently need to explore is carried less; The information of the business chain includes the information of all service nodes of the business chain;Described first, which explores point and second, explores point For exploring the business chain;The information of the business chain may include the mark and business of each service node in business chain The order of connection information of all service nodes on chain.
Illustratively, the order of connection information can indicate putting in order for the IP address of service node, the IP address For uniquely tagged service node.In addition to this, which also may indicate that the media access control of service node (English: Medium Access Control, abbreviation: MAC) address puts in order, which is used for uniquely tagged business Node, order of connection information are also denoted as other forms, are not limited herein.
In order to guarantee the reliability of the exploration request message transmission, enable the exploration request message by described All devices in business chain, the exploration request message can also include sequence number (Sequence No).
For example, the exploration request message can be as shown in Figure 6.In Fig. 6, exploring request message may include IP header (IP Header), UDP header (UDP Header) and business chain heuristic data (Probe Service-Chain Data) group At.Wherein, which includes:
Type (Type): being used to indicate the type of the exploration message, and type herein is to explore request message;
Length (Length): it is used to indicate the length of the Probe Service-Chain Data;
Sequence number (Sequence No): being used to indicate the current sequence number for exploring request message, and report is requested in each exploration Text and probe response message possess identical sequence number;
Traffic flow types (SF Type): being used to indicate the field type of the subsequent business stream information for flowing through the business chain, should The field type of business datum can be accesses control list (English: Access Control List, abbreviation: ACL) type, It may be five-tuple information type, the present embodiment is not especially limited this;
Business stream information: according to the difference of SF Type, which can be No. ACL, or five-tuple stream Classification information;
The field type (SN Type) of business chain node: for defining the field type of business chain node, it can be business Mark of node, including but not limited to IP address etc.;
Pointer (Pointer): for being directed toward the information for the service node that the exploration request message is currently being explored;
Service node address information: for successively filling in the mark of service node, such as the IP address of service node.To scheme For networking shown in 4, since intermediate equipment 2, intermediate equipment 3 and intermediate equipment 4 are service node, thus the exploration is requested Service node address information in message successively fills in the IP address of intermediate equipment 2, intermediate equipment 3 and intermediate equipment 4;
Status information type (STAT Type): for defining the field type for exploring status information, it can be each business The operating status statistical information type of node is also possible to explore the temporal information type that request message reaches each service node Deng;
Status information length (STAT Length): it is used to indicate the length for exploring the field of status information;
Explore status information 1: status information is explored in definition, can be the operating status statistical information of each service node, It is also possible to explore the temporal information etc. that request message reaches each service node.
It can also include other content, or be expressed as it specifically, exploring request message in addition to it may include above content His form, is not limited herein.
In order to realize the exploration of business chain by the exploration request message, pointer in request message can will be explored Curriculum offering be the service node for currently needing to explore information, be by the IP address of service node of the information of service node Pointer can be directed toward the IP address for the service node for currently needing to explore, so that any one intermediate equipment can pass through by example The IP address of service node pointed by pointer in the exploration request message transmits the exploration request message.
502, the first exploration o'clock sends the exploration request message to first intermediate equipment.
Optionally, the first exploration point can the service node according to pointed by the pointer in the exploration request message Information searching routing, the exploration request message is sent to next intermediate equipment according to the routing found.
Optionally, the information of the service node as pointed by the pointer in addition to can be service node IP address, also It can be the IP address of some port on service node.The networking in conjunction with described in Fig. 4 in the embodiment of the present invention, since centre is set Standby 1 service node for needing to explore for first, thus first explores pointed by the pointer explored in request message that point is sent Service node information be intermediate equipment 1 information, such as the IP address of intermediate equipment 1.Therefore, the first exploration point needs to look into The routing of intermediate equipment 1 is found, as shown in figure 4, the first routing for exploring point to intermediate equipment 1 is needed by intermediate equipment 2, because And intermediate equipment 2 is sent to by request message is explored.
503, intermediate equipment determines the exploration request report after receiving the exploration request message that previous equipment is sent Whether the information for the service node that the pointer in text is directed toward is empty, if being not sky, executes step 504 if it is sky and executes step Rapid 507.
The intermediate equipment in this step can be first intermediate equipment, be also possible to other equipment;It is described previous A equipment can be the first exploration point, be also possible to previous intermediate equipment.
Specifically, the intermediate equipment can parse the exploration request message, so that it is determined that the exploration is asked Whether the information for the service node that the pointer for asking message to carry is directed toward is empty.If the information for the service node that pointer is directed toward is sky, Then illustrate that the subsequent equipment explored of the exploration request message does not include service node, which is not service node, And intermediate equipment is after determining that exploring request message is empty, if intermediate equipment information and that explores in request message second explore point Information also mismatch, it is determined that intermediate equipment be not it is described second explore point.If the information for the service node that pointer is directed toward is not For sky, then intermediate equipment can further determine that whether itself is in business chain according to the information of the service node of pointer direction Service node.
504, the information for the service node that intermediate equipment is directed toward according to pointer determines whether itself is service node, if it is Service node executes step 505, if it is non-traffic node, executes step 506.
Since intermediate equipment determines that the information for exploring the service node that the pointer in request message is directed toward is not sky, i.e., currently There is also service nodes in the link explored, thus intermediate equipment needs further according to the letter of the service node of pointer direction Cease whether determination itself is service node.When it is implemented, what intermediate equipment was directed toward according to the pointer for exploring request message carrying Whether the information of service node determines itself when being the service node in business chain, if the facility information of intermediate equipment and pointer institute The information matches of the service node of direction, it is determined that itself be service node;If the facility information of intermediate equipment and pointer are directed toward Service node information mismatch, it is determined that itself be non-traffic node.The embodiment of the present invention to specific matching process not It is limited, in addition to this it is possible to determine whether itself is service node using other way, is not limited herein.
The networking in conjunction with described in Fig. 4 of the embodiment of the present invention is by taking intermediate equipment 2 as an example, in intermediate equipment 2 receives Between after the exploration request message that sends of equipment 1, can be directed toward according to pointer in itself device identification and the exploration request message The information of service node is matched, and since intermediate equipment 2 is non-traffic node, thus the device identification of intermediate equipment 2 will be with The information for the service node that pointer is directed toward mismatches, and intermediate equipment 2 is so that it is determined that itself is non-traffic node, according to step 506 The mode executes follow-up process.Similarly, if for the intermediate equipment 1 described in Fig. 4, if current explore request report Text is transferred to intermediate equipment 1, and since intermediate equipment 1 is first service node, the information for the service node that pointer is directed toward is Between equipment 1 information, thus the device identification of intermediate equipment 1, by the information matches for the service node being directed toward with pointer, centre is set For 1 so that it is determined that itself is service node, follow-up process is executed in the way of described in step 505.
505, the information for the service node that intermediate equipment refresh pointer is directed toward turns according to the information of the service node after refreshing Send out exploration request message described, until the explorations request message, which reaches described second, explores point, execution step 509.
Since the step is to determine itself in intermediate equipment to execute in the case where service node, i.e., the intermediate equipment connects Receive explore request message in pointer be directed toward service node information and the intermediate equipment information matches, thus in order to after It resumes and passs the exploration request message, so that subsequent service node is explored, the industry which needs refresh pointer to be directed toward The information of business node.The mode of the information of service node about refresh pointer direction, the present embodiment are not especially limited, including But it is not limited to following content:
Determine itself whether be the business chain the last one service node;
If itself being the last one service node of the business chain, set empty for pointer;
If itself not being the last one service node of the business chain, pointer is directed toward next industry for needing to explore The information of business node.
Wherein, each service node is successively filled in due to exploring the service node address information fields in request message Mark, then in this step, intermediate equipment, can be with when whether determine itself is the last one service node of the business chain The mark of itself is compared with the last one service node mark in service node address information, if the two is consistent, Itself is then determined for the last one service node, if it does not match, determination itself is not the last one service node.If itself For the last one service node of the business chain, then pointer will be no longer point to the information of service node, thus pointer is arranged For sky;If itself not being the last one service node of the business chain, pointer is directed toward next business for needing to explore The information of node.So that follow-up equipment can continue to explore subsequent industry according to next information for needing the service node explored Business node.
Optionally, intermediate equipment is other than the particular content for executing the step, and in method provided in this embodiment, centre is set It is standby the status information of itself to be added to and be explored in request message before forwarding the exploration request message, thus The range of information such as connectivity, the delay for showing whole business chain can be realized by subsequent step, to simplify business chain Maintenance work.Wherein, the status information of intermediate equipment can include but is not limited to intermediate equipment whether failure, intermediate equipment net Network state and intermediate equipment receive the time etc. of the exploration request message, are not limited herein.
506, the information searching routing for the service node that intermediate equipment is directed toward according to pointer, according to the routing forwarding found The exploration request message simultaneously establishes forwarding table, until the exploration request message, which reaches second, explores point, executes step 509.
Specifically, since the step is executed in the case where intermediate equipment determines itself non-traffic node, thus In order to which exploration request message continuation is transmitted backward, to explore service node, what intermediate equipment can be directed toward according to pointer The information searching of service node reaches the routing of the service node, and according to exploration request report described in the routing forwarding found Text.And in order to which smoothly by the data of subsequent delivery or message transmissions to service node, intermediate equipment is finding routing Afterwards, further include process according to the Route establishment forwarding table found.The forwarding table is used to indicate upper one of the intermediate equipment Next equipment of equipment and the intermediate equipment.In practical applications, which can be expressed as in shown in face table 1 Hold:
Table 1
The forwarding table is also denoted as other forms, is not limited herein.
Optionally, after establishing forwarding table, the state of establishing of forwarding table can also be added to intermediate equipment by intermediate equipment In the exploration request message.Illustratively, which establishes that state can include but is not limited to whether be successfully established forwarding The contents such as table and the time for establishing forwarding table.
Optionally, in order to guarantee that the real-time of business chain, intermediate equipment are provided in this embodiment after establishing forwarding table Method also supports to be that forwarding table establishes aging mechanism, is specifically including but not limited to record the settling time of the forwarding table, if Do not refresh the forwarding table in default digestion period, then deletes the forwarding table.Wherein, default digestion period can taking human as setting or It is arranged using other modes, the present embodiment is not defined mode and the length of digestion period that digestion period is arranged.
By aging mechanism, business chain can be made more time-efficient, avoid any intermediate equipment in business chain that event occurs Hinder and causes link down.
507, the information that intermediate equipment explores point according to second determines whether itself is the second exploration point, if not second Point is explored, step 508 is executed, if so, executing step 509.
Specifically, since the step is to determine the business section that the pointer in the exploration request message is directed toward in intermediate equipment It is executed in the case that the information of point is empty, since the information of the service node of pointer direction is sky, it is meant that the exploration is asked Message is asked to explore all service nodes, and the intermediate equipment is non-traffic node.For this purpose, the intermediate equipment can be with Determine whether itself is the second exploration point according to the second information for exploring point in the exploration request message.Specific determination process Including but not limited to the information that the facility information of itself explores point with second is compared intermediate equipment, if the two mismatches, It is the second exploration point that then intermediate equipment, which determines itself not, continues to execute follow-up process in the way of described in below step 508;If The two matching, then it itself is the second exploration point that intermediate equipment, which determines, and 509 execution second that thus go to step are explored performed by point Process.
508, the information that intermediate equipment explores point according to described second forwards the exploration request message, until the exploration Request message reaches second and explores point, executes step 509.
Specifically, when intermediate equipment determine itself for non-traffic node, and it is subsequent there is no in the case where service node, in Between equipment can according to it is described second explore point information forwarding explore request message.During specific repeating process includes but is not limited to Between equipment according to it is described second explore point information searching reach second explore point routing, according to the routing forwarding institute found State exploration request message.
It should be noted that the process of above-mentioned steps 503 to step 508 is intermediate equipment in the establishment process of business chain Performed function, each intermediate equipment in network explore request message according to the flow processing, until by the exploration Request message reaches second and explores point, executes subsequent step 509.
509, described second the exploration request message that point receives intermediate equipment transmission is explored, determines the business section that pointer is directed toward The information of point is sky, and determines that itself explores point for second, then terminates the exploration request message.
Specifically, exploring request report by parsing after second explores the exploration request message that point receives intermediate equipment transmission Text can determine that the information for the service node that pointer is directed toward is sky, and further by requesting the facility information of itself and exploration Second in message, which explores point information, is compared, and may thereby determine that itself explores point for second, then terminates exploration request report Text so far explores request message from the first exploration point and is transmitted to the second exploration point, the non-traffic node in transmission process establishes To the forwarding table of service node, the matching for follow-up business stream is forwarded.
Optionally, it in order to which the state to each equipment on service link is safeguarded and checked, explores in request message It also carries first to explore the information of point and explore the status information for each service node that request message is explored, second explores point It terminates after exploring request message, further includes: obtain the information and explore request for exploring that request message carries first explores point The status information for each service node that message is explored, the information for carrying the first exploration point is sent to intermediate equipment and exploration is asked The step of probe response message of the status information for each service node for asking message to explore, by intermediate equipment by probe response Message is forwarded to the first exploration point, so that the first exploration point is shown the status information of each service node, so as to system maintenance personnel It can safeguard and check the state of all devices in business chain that business datum to be flowed through.
Specifically, can include but is not limited in the probe response message non-traffic node whether be successfully established forwarding table, Non-traffic node establish the time of forwarding table, the status information of service node, service node receive explore request message time Etc. information.
Optionally, in order to guarantee the reliabilities of probe response message transmissions, enable probe response message by business All devices on chain, probe response message also may include Sequence No, and the value of the Sequence No is asked with exploration Ask the value of Sequence No in message identical.
Optionally, which can be with as shown in fig. 7, in Fig. 7, which may include IP report Head (IP Header), UDP header (UDP Header) and Probe Service-Chain Data composition, the Probe Service-Chain Data includes:
Type (Type): being used to indicate the type of the exploration message, and type herein is probe response message;
Length (Length): it is used to indicate the length of the Probe Service-Chain Data;
Sequence number (Sequence No): being used to indicate the sequence number of current probe response message, and report is requested in each exploration Text and probe response message possess identical sequence number;
Status information type (STAT Type): for defining the field type for exploring status information, it can be each business The operating status statistical information type of node is also possible to explore the temporal information type that request message reaches each service node Deng;
Status information length (STAT Length): it is used to indicate the length for exploring the field of status information;
Explore status information 1: status information is explored in definition, can be the operating status statistical information of each service node, It is also possible to explore the temporal information etc. that request message reaches each service node.
Specifically, probe response message can also include other content in addition to it may include above content, or it is expressed as it His form, is not limited herein.
After business chain is completed to establish, which flows through the business chain, due to equipment each in business chain (including the One explores point, intermediate equipment and second explores point) function it is different, so each equipment is receiving the industry for flowing through the business chain It is also different to the pass-through mode and processing mode of the business datum after data of being engaged in, thus it is corresponding, the business is flowed through receiving After the business datum of chain, the forwarding table that non-traffic node is stored according to itself, the industry that the upper equipment received is sent Business data are sent to next equipment indicated by the forwarding table.
Specifically, due to that can be connected with each other by non-traffic node between service node, and institute on non-traffic node The forwarding table of storage indicates the upper equipment and next equipment of the equipment, so that all non-traffic nodes can in business chain With the forwarding table stored respectively according to itself, the business datum that the upper equipment received is sent is sent to the forwarding table Indicated next equipment.Wherein, a upper equipment for non-traffic node can be non-traffic node, be also possible to business section Point.Service node is handled business datum after receiving the business datum that the non-traffic node connecting with itself is sent, And the business datum is sent to the non-traffic node.
Specifically, due to that can be connected with each other by non-traffic node between service node, so, service node is to industry After business data are handled, which can be sent to and send the non-traffic node.Service node can be according to business Included customer service demand and itself the stored user information handle business datum in data, specific to locate Reason process is not limited herein.In order to guarantee that the real-time of data transmission effectively can periodically execute the above process, refresh The business datum business chain to be flowed through.
Method provided in this embodiment in order to facilitate understanding, networking schematic diagram as shown in connection with fig. 4, with as shown in table 2 below Exploration request message and probe response the message business chain and processing mode explored for, to method provided in this embodiment Carry out detailed illustration.
Table 2
Method provided by the embodiment of the present invention explores point by first and periodically sends exploration request report to intermediate equipment Text, after making intermediate equipment determine that the information for exploring the service node that the pointer that request message carries is directed toward is not sky, if itself is Service node, the then information for the service node that refresh pointer is directed toward, routes according to the information searching of the service node after refreshing, and Request message is explored according to the routing forwarding found, explores point until exploring request message and reaching second, finishing service chain It establishes;If itself being non-traffic node, the information searching for the service node being directed toward according to pointer is routed, according to the road found Request message is explored by forwarding and establishes forwarding table, explores point until exploring request message and reaching second, finishing service chain is built It is vertical.To which before business data transmission, the business chain to be flowed through to data is explored, realizes and establish business automatically Chain.In addition, by the way that the probe response message for the status information for carrying each service node is back to the first exploration point, by first It explores point to be shown the status information of each service node, consequently facilitating monitoring the business chain that entire business datum is flowed through The state of upper each equipment, reduces the maintenance difficulties of data transmission procedure.
As shown in figure 8, equipment 800 is established another embodiment of the present invention provides a kind of business chain, the business chain Establishing equipment 800 is intermediate equipment, and the equipment 800 of establishing of the business chain includes:
First receiving module 801, for the exploration request message that the previous equipment of periodic receipt is sent, the exploration request Message is explored point by first and is generated, and the explorations request message at least carries second explore information, the information of business chain and It is directed toward the pointer of the information for the service node for currently needing to explore;The information of the business chain includes all industry of the business chain Business nodal information;Described first, which explores point and second, explores point for exploring the business chain;
First determining module 802, the finger explored in request message received for determining first receiving module 801 Whether the information for the service node that needle is directed toward is empty;
Second determining module 803, for determining the service node that the pointer is directed toward when first determining module 802 When information is not sky, the information for the service node being directed toward according to the pointer determines whether the equipment is service node;
Refresh module 804, for refreshing institute when second determining module 803 determines that the equipment is service node State the information of the service node of pointer direction;
First forwarding module 805, for described in the information forwarding according to the service node after the refresh module 804 refreshing Request message is explored, until the exploration request message, which reaches described second, explores point;
Searching module 806 is used for when the second determining module 803 determines that the equipment is non-traffic node, according to described The information searching routing for the service node that pointer is directed toward;
Second forwarding module 807 explores request report described in the routing forwarding for finding according to the searching module 806 Text simultaneously establishes forwarding table, until the exploration request message, which reaches described second, explores point.
Optionally, the information of the first exploration point is also carried in the exploration request message that the first receiving module 801 receives;The One forwarding module 806 is also used to for the status information of itself being added to the exploration request message that the first receiving module 801 receives In;
Equipment 800, further includes:
Second receiving module, for receiving the probe response message of latter apparatus transmission, the probe response message is by the Two, which explore point, generates, and the probe response message carries the information and explore by exploring request message that first explores point The status information of each service node;
Sending module, the probe response message for receiving the second receiving module are sent to previous equipment, until institute It states probe response message and is sent to the first exploration point, explore point by first and show each industry added in the probe response message The status information of business node.
Optionally, refresh module 804, for determine the equipment whether be the business chain the last one business section Point;When the equipment is the last one service node of the business chain, set empty for the pointer;When the equipment not For the business chain the last one service node when, the pointer is directed toward next letter of service node for needing to explore Breath.
Optionally, the equipment 800, further includes:
Removing module, for deleting the forwarding table when not refreshing the forwarding table within default digestion period.
Optionally, equipment 800, further includes:
Third determining module, the information for the service node when the determining pointer direction of the first determining module 802 are When empty, the information for exploring point according to described second determines whether the equipment is the second exploration point;
Third forwarding module, for when it is the second exploration point that third determining module, which determines the equipment not, according to described Second information for exploring point forwards the exploration request message, until the exploration request message, which reaches second, explores point.
Equipment provided in an embodiment of the present invention, by before business data transmission, to the data business chain to be flowed through It is explored, realizes and establish business chain automatically.
As shown in figure 9, equipment 900 is established another embodiment of the present invention provides a kind of business chain, the business chain Establishing equipment 900 is the first exploration point, and the equipment 900 of establishing of the business chain includes:
Generation module 901, for periodically generating exploration request message, the exploration request message at least carries the second spy Rope point information, business chain and be directed toward the pointer for the information of service node for currently needing to explore;The packet of the business chain Include all service node information of the business chain;Described first, which explores point and second, explores point for exploring the business chain; Sending module 902, for sending the exploration request message that the generation module 901 generates to intermediate equipment.
Optionally, equipment 900, further includes:
Receiving module, for receiving the probe response message of intermediate equipment transmission, the probe response message is visited by second Rope point generates, and the probe response message carries the information and explore by exploration request message each that first explores point The status information of service node;
Display module is completed for confirming that the business chain is established according to the probe response message, shows the business The status information of each service node of chain.
Equipment provided in an embodiment of the present invention, by before business data transmission, to the data business chain to be flowed through It is explored, realizes and establish business chain automatically.
As shown in Figure 10, equipment 1000, the business chain are established another embodiment of the present invention provides a kind of business chain Equipment 1000 of establishing be second to explore point, the equipment 1000 of establishing of the business chain includes:
Receiving module 1001, for receiving the exploration request message of intermediate equipment transmission, the exploration request message is by the One, which explores point, generates, and the exploration request message at least carries information, the information of business chain and direction that second explores point and works as The pointer of the information of the preceding service node for needing to explore;The information of the business chain includes all service nodes of the business chain Information;Described first, which explores point and second, explores point for exploring the business chain;
First determining module 1002, the pointer explored in request message received for determining the receiving module 1001 Whether the information of the service node of direction is empty;
Second determining module 1003, for determining the letter for the service node that the pointer is directed toward when the first determining module 1002 When breath is empty, the information for exploring point according to described second determines whether the equipment is the second exploration point;
Module 1004 is terminated, for terminating institute when the second determining module 1003 determines that the equipment is the second exploration point State exploration request message.
Optionally, the exploration request message that receiving module 1001 receives also carries the information of the first exploration point and exploration is asked The status information for each service node for asking message to explore;
Equipment 1000, further includes:
Module is obtained, explores point for obtaining the exploration request message that receiving module 1001 receives carries first Information and explore the status information of each service node that request message is explored;
Sending module carries the information for obtaining the first exploration point that module generates for sending to intermediate equipment And the probe response message for the status information of each service node that request message is explored is explored, by intermediate equipment by the spy Rope response message is forwarded to the first exploration point.
Equipment provided in an embodiment of the present invention, by before business data transmission, to the data business chain to be flowed through It is explored, realizes and establish business chain automatically.
As shown in figure 11, equipment 1100 is established another embodiment of the present invention provides a kind of business chain, the business chain Establishing equipment 1100 is intermediate equipment, and the equipment 1100 of establishing of the business chain includes: bus 1101, and is connected to the place of bus Device 1102, memory 1103 and interface 1104 are managed, wherein interface 1104 is used for and other network elements communicate;Memory 1103 is for depositing Storage instruction 11031;Processor 1102 executes instruction 11031 and is used for:
The exploration request message that the previous equipment of periodic receipt is sent, the exploration request message explore point life by first At, and it is described explore request message at least carries the second exploration point information, business chain and the direction business that currently needs to explore The pointer of the information of node;The information of the business chain includes the information of all service nodes of the business chain;Described first It explores point and second and explores point for exploring the business chain;
Whether the information for determining the service node that pointer is directed toward is empty, if the information for the service node that pointer is directed toward is not The information of sky, the then service node being directed toward according to pointer determines whether the equipment is service node;
If the equipment is service node, refresh the information for the service node that the pointer is directed toward, after refreshing The information of service node forwards the exploration request message, until the exploration request message, which reaches described second, explores point;
If the equipment is non-traffic node, the information searching for the service node being directed toward according to the pointer is routed, and is pressed According to exploration request message described in the routing forwarding found and forwarding table is established, is visited until the exploration request message reaches second Suo Dian.
Optionally, described to explore the information that the first exploration point is also carried in request message;According to the routing forwarding found Before exploring request message, processor 1102 executes instruction 11031 and is also used to:
The status information of the equipment is added to and is explored in request message;
After exploring request message according to the routing forwarding found, further includes:
The probe response message that latter apparatus is sent is received, probe response message is explored point by second and generated, and the spy Rope response message carries the information and the shape by exploring each service node that request message is explored that described first explores point State information;
Probe response message is sent to previous equipment, until probe response message is sent to the first exploration point.
Optionally, processor 1102 executes instruction 11031 and is also used to:
Determine the equipment whether be the business chain the last one service node;
If the equipment is the last one service node of the business chain, set empty for pointer;
If the equipment is not the last one service node of the business chain, pointer is directed toward and next needs to explore Service node information.
Optionally, processor 1102 executes instruction 11031 and is also used to:
If not refreshing forwarding table within default digestion period, forwarding table is deleted.
Optionally, processor 1102 executes instruction 11031 and is also used to:
If the information for the service node that pointer is directed toward is sky, whether the information for exploring point according to second determines the equipment Point is explored for second;
If the equipment is not the second exploration point, request message is explored in the information forwarding for exploring point according to second, until It explores request message and reaches the second exploration point.
Equipment provided in an embodiment of the present invention, by before business data transmission, to the data business chain to be flowed through It is explored, realizes and establish business chain automatically.
As shown in figure 12, equipment 1200, the business chain are established another embodiment of the present invention provides a kind of business chain Equipment 1200 of establishing be first to explore point, the equipment 1200 of establishing of the business chain includes: bus 1201, and is connected to total Processor 1202, memory 1203 and the interface 1204 of line, wherein interface 1204 is used for and other network elements communicate;Memory 1203 For storing instruction 12031;Processor 1202 executes instruction 12031 and is used for:
Exploration request message is periodically generated, the exploration request message at least carries the second exploration point information, business chain Information and be directed toward the pointer of the information of service node for currently needing to explore;The information of the business chain includes the business chain All service nodes information;Described first, which explores point and second, explores point for exploring the business chain;To intermediate equipment Send the exploration request message.
Optionally, processor 1202 executes instruction 12031 and is also used to:
The probe response message that intermediate equipment is sent is received, the probe response message is explored point by second and generated, and institute It states probe response message and carries the information and the shape by exploring each service node that request message is explored that first explores point State information;
Described first, which explores point, confirms that the business chain establishes completion according to the probe response message, shows the business The status information of each service node of chain.
Equipment provided in an embodiment of the present invention, by before business data transmission, to the data business chain to be flowed through It is explored, realizes and establish business chain automatically.
As shown in figure 13, equipment 1300 is established another embodiment of the present invention provides a kind of business chain, the business chain Establishing equipment 1300 is the second exploration point, and the equipment 1300 of establishing of the business chain includes: bus 1301, and is connected to bus Processor 1302, memory 1303 and interface 1304, wherein interface 1304 is used for and other network elements communicate;Memory 1303 is used for Store instruction 13031;Processor 1302 executes instruction 13031 and is used for:
The exploration request message that intermediate equipment is sent is received, the exploration request message is explored point by first and generated, and institute State explore request message at least carries the information of the second exploration point, business chain and service node that direction currently needs to explore The pointer of information;The information of the business chain includes the information of all service nodes of the business chain;Described first explores point Point is explored for exploring the business chain with second;
Whether the information for determining the service node that pointer is directed toward is empty, if the information for the service node that pointer is directed toward is sky, The information for then exploring point according to described second determines whether the equipment is the second exploration point;
If the equipment is the second exploration point, exploration request message is terminated.
Optionally, explore request message in also carry the first exploration point information and explore request message explore it is each The status information of service node;Processor 1302 executes instruction 13031 and is used for:
What the information and the exploration request message for obtaining the first exploration point that the exploration request message carries were explored The status information of each service node sends the information for carrying the first exploration point to the intermediate equipment and explores request message and visits The probe response message of the status information for each service node that rope arrives.
Equipment provided in an embodiment of the present invention, by before business data transmission, to the data business chain to be flowed through It is explored, realizes and establish business chain automatically.
Referring to Figure 14, system 1400 is established another embodiment of the present invention provides a kind of business chain, comprising: first explores Point 1401, intermediate equipment 1402 and second explore point 1403;
Wherein, first the equipment that the embodiment as shown in Figure 9 above of point 1401 provides is explored, the present embodiment is no longer superfluous herein It states;The equipment that the embodiment as shown in Figure 8 above of intermediate equipment 1402 provides, details are not described herein for the present embodiment;Second explores point The equipment that 1403 embodiments as shown in Figure 10 above provide, details are not described herein for the present embodiment.
System provided in this embodiment, the exploration request message sent by the previous equipment of intermediate equipment periodic receipt, After determining that the information for exploring the service node that the pointer that request message carries is directed toward is not sky, if itself is service node, brush The information for the service node that new pointer is directed toward routes according to the information searching of the service node after refreshing, and according to finding Routing forwarding explores request message, explores point, the foundation of finishing service chain until exploring request message and reaching second;If itself is The information searching of non-traffic node, the then service node being directed toward according to pointer routes, and asks according to the routing forwarding exploration found It seeks message and establishes forwarding table, explore point, the foundation of finishing service chain until exploring request message and reaching second.To in business Before data transmission, the business chain to be flowed through to data is explored, and is realized and is established business chain automatically.
It should be understood that business chain provided by the above embodiment establishes equipment when establishing business chain, only with above-mentioned The division progress of each functional module can according to need and for example, in practical application by above-mentioned function distribution by different Functional module is completed, i.e., the internal structure of equipment is divided into different functional modules, with complete it is described above whole or Partial function.In addition, the method for building up embodiment category for establishing equipment, system and business chain of business chain provided by the above embodiment In same design, specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware Complete, relevant hardware can also be instructed to complete by program, program can store in a kind of computer-readable storage In medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely a prefered embodiment of the invention, is not intended to limit the invention, all within principle of the invention, institute Any modification, equivalent substitution, improvement and etc. of work, should all be included in the protection scope of the present invention.

Claims (13)

1. a kind of method for building up of business chain, which is characterized in that the described method includes:
The exploration request message that the previous equipment of periodic receipt is sent, the exploration request message are explored point by first and are generated, and Information, the information of business chain and the direction explored request message and at least carry the information of the first exploration point, the second exploration point The pointer of the information for the service node for currently needing to explore;The information of the business chain includes all business sections of the business chain The information of point;Described first, which explores point and second, explores point for exploring the business chain;
Whether the information for determining the service node that the pointer is directed toward is empty, if the information for the service node that the pointer is directed toward is not For sky, then the information for the service node being directed toward according to the pointer determines whether itself is service node;
If itself being service node, refresh the information for the service node that the pointer is directed toward, according to the service node after refreshing Information forward the exploration request message, until the explorations request message reaches the second exploration point;
The status information of itself is added in the exploration request message;
If itself being non-traffic node, the information searching for the service node being directed toward according to the pointer is routed, according to finding Routing forwarding described in exploration request message and establish forwarding table, until the explorations request message reaches second exploration Point;
The probe response message that latter apparatus is sent is received, the probe response message is explored point by described second and generated, and institute It states probe response message and carries the information and each business explored by the exploration request message that described first explores point The status information of node;
The probe response message is sent to the previous equipment, is explored until the probe response message reaches described first Point.
2. the method according to claim 1, wherein the letter for refreshing the service node that the pointer is directed toward Breath, comprising:
Determine itself whether be the business chain the last one service node;
If itself being the last one service node of the business chain, set empty for the pointer;
If itself not being the last one service node of the business chain, the pointer is directed toward next industry for needing to explore The information of business node.
3. method according to claim 1 or 2, which is characterized in that it is described according to the Route establishment forwarding table found after, The method also includes:
If not refreshing the forwarding table within default digestion period, the forwarding table is deleted.
4. method according to claim 1 or 2, which is characterized in that determine the information for the service node that the pointer is directed toward After whether being sky, the method also includes:
If the information for the service node that the pointer is directed toward is sky, whether the information for exploring point according to described second determines itself Point is explored for second;If itself not being the second exploration point, the information for exploring point according to described second forwards the exploration Request message, until the exploration request message, which reaches described second, explores point.
5. a kind of method for building up of business chain, which is characterized in that the described method includes:
First, which explores point, periodically generates exploration request message, the letter explored request message and at least carry the second exploration point The pointer of the information for the service node that breath, the information of business chain and direction currently need to explore;The information of the business chain includes The information of all service nodes of the business chain;Described first, which explores point and second, explores point for exploring the business chain;
The exploration request message is sent to intermediate equipment;
The probe response message that the intermediate equipment is sent is received, the probe response message is explored point by described second and is generated, And the probe response message carries the information and each business explored by the exploration request message that first explores point The status information of node, the status information for exploring each service node that request message is explored will for the intermediate equipment The status information of itself is added to what the exploration request message obtained;
Described first, which explores point, confirms that the business chain establishes completion according to the probe response message, shows the business chain The status information of each service node.
6. a kind of method for building up of business chain, which is characterized in that the described method includes:
The exploration request message that intermediate equipment is sent is received, the exploration request message is explored point by first and generated, and the spy Rope request message at least carries information, the state for exploring each service node that request message is explored of the first exploration point The pointer of the information for the service node that information, the second information, the information of business chain and direction for exploring point currently need to explore;Institute State business chain information include the business chain all service nodes information;Described first, which explores point and the second exploration point, uses In the exploration business chain;
Whether the information for determining the service node that the pointer is directed toward is empty, if the information for the service node that the pointer is directed toward is Sky, the then information for exploring point according to described second determine whether itself is the second exploration point;
If itself explores point for second, the exploration request message is terminated;
The information and the exploration request message for obtaining the first exploration point that the exploration request message carries are explored each The status information of service node sends the information and exploration request report for carrying that described first explores point to the intermediate equipment The probe response message for the status information of each service node that text is explored, by the intermediate equipment by the probe response report Text is forwarded to described first and explores point, wherein described to explore the status information of each service node that request message is explored and be The status information of itself is added to what the exploration request message obtained by the intermediate equipment.
7. a kind of business chain establishes equipment, which is characterized in that the equipment is intermediate equipment, and the equipment includes:
First receiving module, for the exploration request message that the previous equipment of periodic receipt is sent, the exploration request message by First explores a generation, and the request message of exploring at least carries the information of the first exploration point, information, the industry of the second exploration The pointer of the information for the service node that the information and direction of business chain currently need to explore;The information of the business chain includes the industry The information of all service nodes of business chain;Described first, which explores point and second, explores point for exploring the business chain;
First determining module, the industry being directed toward for determining the pointer explored in request message that first receiving module receives Whether the information of business node is empty;
Second determining module, for determining that the information for the service node that the pointer is directed toward is not empty when first determining module When, the information for the service node being directed toward according to the pointer determines whether the equipment is service node;
Refresh module, for refreshing the pointer and being directed toward when second determining module determines that the equipment is service node Service node information;
First forwarding module, the information for the service node after being refreshed according to the refresh module forward the exploration request report Text, until the exploration request message, which reaches described second, explores point;
Searching module, for being referred to according to the pointer when second determining module determines that the equipment is non-traffic node To service node information searching routing;
Second forwarding module, exploration request message described in the routing forwarding for finding according to the searching module and establishing turn It delivers, until the exploration request message, which reaches described second, explores point;
First forwarding module is also used to for the status information of the equipment to be added to what first receiving module received It explores in request message;
Second receiving module, for receiving the probe response message of latter apparatus transmission, the probe response message is by described the Two, which explore point, generates, and the probe response message carries the information of the first exploration point and by the exploration request message The status information for each service node explored;
Sending module, the probe response message for receiving second receiving module are sent to the previous equipment, directly Described first is reached to the probe response message and explores point, is shown in the probe response message and is added by the first exploration point The status information of each service node added.
8. equipment according to claim 7, which is characterized in that the refresh module, for determine the equipment whether be The last one service node of the business chain;When the equipment is the last one service node of the business chain, by institute It states pointer and is set as empty;When the equipment is not the last one service node of the business chain, under the pointer is directed toward The information of one service node for needing to explore.
9. equipment according to claim 7 or 8, which is characterized in that the equipment, further includes:
Removing module, for deleting the forwarding table when not refreshing the forwarding table within default digestion period.
10. equipment according to claim 7 or 8, which is characterized in that the equipment, further includes:
Third determining module, for determining the information for the service node that the pointer is directed toward for sky when first determining module When, the information for exploring point according to described second determines whether the equipment is the second exploration point;
Third forwarding module, for when the third determining module determine the equipment not and be described second explore point when, according to Described second information for exploring point forwards the exploration request message, explores until the exploration request message reaches described second Point.
11. a kind of business chain establishes equipment, which is characterized in that the equipment is the first exploration point, and the equipment includes:
Generation module, for periodically generating exploration request message, the exploration request message at least carries the second exploration point letter The pointer of the information for the service node that breath, the information of business chain and direction currently need to explore;The information of the business chain includes The information of all service nodes of the business chain;Described first, which explores point and second, explores point for exploring the business chain;
Sending module, for sending the exploration request message that the generation module generates to intermediate equipment;
Receiving module, the probe response message sent for receiving the intermediate equipment, the probe response message is by described the Two, which explore point, generates, and the probe response message carries the information and explore by the exploration request message that first explores point The status information of each service node arrived, the status information for exploring each service node that request message is explored is institute It states intermediate equipment and the status information of itself is added to what the exploration request message obtained;
Display module is completed for confirming that the business chain is established according to the probe response message, shows the business chain The status information of each service node.
12. a kind of business chain establishes equipment, which is characterized in that the equipment includes:
Receiving module, for receiving the exploration request message of intermediate equipment transmission, the exploration request message explores point by first It generates, and the request message at least first of exploring explores the information of point, each business exploring request message and exploring The status information of node carries the service node that the information, the information of business chain and direction that second explores point currently need to explore Information pointer;The information of the business chain includes the information of all service nodes of the business chain;Described first explores Point and second explores point for exploring the business chain;
First determining module, the business section being directed toward for determining the pointer explored in request message that the receiving module receives Whether the information of point is empty;
Second determining module, for determining the information for the service node that the pointer is directed toward for sky when first determining module When, the information for exploring point according to described second determines whether the equipment is the second exploration point;
Module is terminated, for the exploration being terminated and being asked when second determining module determines that the equipment is the second exploration point Seek message;
Obtain module, for exploring of obtaining that the receiving module receives request message carries first explore point information and The status information for exploring each service node that request message is explored;Sending module, for being sent out to the intermediate equipment It send and carries the information and each business exploring request message and exploring for obtaining the first exploration point that module is got The probe response message is forwarded to described first by the intermediate equipment and visited by the probe response message of the status information of node Suo Dian, wherein it is described explore the status information of each service node that request message is explored for the intermediate equipment by itself Status information be added to the exploration request message and obtain.
13. a kind of business chain establishes system, which is characterized in that the system comprises: first explores point, intermediate equipment and second Explore point;
Wherein, described first point is explored as the equipment as described in the claim 11;
The intermediate equipment is the equipment as described in any one of the claim 7 to 10 claim;
Described second explores point as the equipment as described in the claim 12.
CN201410281721.4A 2014-06-20 2014-06-20 Method for building up, equipment and the system of business chain Active CN105245453B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410281721.4A CN105245453B (en) 2014-06-20 2014-06-20 Method for building up, equipment and the system of business chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410281721.4A CN105245453B (en) 2014-06-20 2014-06-20 Method for building up, equipment and the system of business chain

Publications (2)

Publication Number Publication Date
CN105245453A CN105245453A (en) 2016-01-13
CN105245453B true CN105245453B (en) 2018-12-07

Family

ID=55042959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410281721.4A Active CN105245453B (en) 2014-06-20 2014-06-20 Method for building up, equipment and the system of business chain

Country Status (1)

Country Link
CN (1) CN105245453B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094098B (en) * 2017-05-19 2019-12-17 西安交通大学苏州研究院 method for detecting and positioning fault of service function chain in network function virtualization

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355490A (en) * 2007-07-25 2009-01-28 华为技术有限公司 Method, system and node equipment for routing information
CN103227752A (en) * 2013-05-14 2013-07-31 盛科网络(苏州)有限公司 Method and device for realizing policy routing in Ethernet switch chip
CN103281242A (en) * 2013-06-19 2013-09-04 迈普通信技术股份有限公司 Protocol stack routing table maintaining method and device
WO2015010663A1 (en) * 2013-07-26 2015-01-29 华为技术有限公司 Message transmission method, router, and service switch

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355490A (en) * 2007-07-25 2009-01-28 华为技术有限公司 Method, system and node equipment for routing information
CN103227752A (en) * 2013-05-14 2013-07-31 盛科网络(苏州)有限公司 Method and device for realizing policy routing in Ethernet switch chip
CN103281242A (en) * 2013-06-19 2013-09-04 迈普通信技术股份有限公司 Protocol stack routing table maintaining method and device
WO2015010663A1 (en) * 2013-07-26 2015-01-29 华为技术有限公司 Message transmission method, router, and service switch

Also Published As

Publication number Publication date
CN105245453A (en) 2016-01-13

Similar Documents

Publication Publication Date Title
CN106375214B (en) A kind of Tiered routing determining method of path and device based on SDN
CN103051565B (en) A kind of architecture system and implementation method of grade software defined network controller
Pierre et al. Topological design of computer communication networks using simulated annealing
CN103125141B (en) The polymerization of mobile broadband network interface
CN104283948B (en) Server cluster system and its implementation of load balancing
US10673725B2 (en) Determining operating statuses of applications in different datacenters and switching access between the applications
CN108471629A (en) The control method of business service quality, equipment and system in transmission network
CN109088820B (en) Cross-device link aggregation method and device, computing device and storage medium
CN106899503B (en) A kind of route selection method and network manager of data center network
CN107800603B (en) Intranet user accesses the method and storage medium of headend equipment based on VPN
CN109639557A (en) Methods, devices and systems for network communication
CN108462587A (en) A kind of network topology treating method and apparatus
CN104283780B (en) The method and apparatus for establishing data transfer path
CN104243536B (en) A kind of bullet train controls network semi-matter simulating system
CN107276826A (en) A kind of capacitor network collocation method and device
CN106878184A (en) A kind of data message transmission method and device
CN106301570A (en) A kind of NC centralized Control method in software definition FiWi network
CN104639557B (en) A kind of method, system and equipment for establishing PCEP sessions
CN105245453B (en) Method for building up, equipment and the system of business chain
CN103428252B (en) A kind of method, equipment and the system of cloud computing virtual machine (vm) migration
CN110086729A (en) Transmission method, device, system, computer equipment and the storage medium of data
CN104869062B (en) A kind of data packet forwarding method and equipment
CN107347085A (en) A kind of information acquisition method and device
CN110311861A (en) A kind of method and apparatus guiding data traffic
CN110519084A (en) Circuit management method and apparatus for operator's transmission Packet Transport Network

Legal Events

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