CN101977160B - Reconfigurable method for routing protocol software components in reconfigurable route switching platform - Google Patents
Reconfigurable method for routing protocol software components in reconfigurable route switching platform Download PDFInfo
- Publication number
- CN101977160B CN101977160B CN201010565141XA CN201010565141A CN101977160B CN 101977160 B CN101977160 B CN 101977160B CN 201010565141X A CN201010565141X A CN 201010565141XA CN 201010565141 A CN201010565141 A CN 201010565141A CN 101977160 B CN101977160 B CN 101977160B
- Authority
- CN
- China
- Prior art keywords
- software
- routing protocol
- interface
- routing
- protocol software
- 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
Links
Images
Landscapes
- Communication Control (AREA)
Abstract
The invention relates to a reconfiguration method for routing protocol software components in a reconfigurable route switching platform, comprising the following steps: universal software component operating environment is established on the reconfigurable route switching platform; the software component operating environment communicates with a certain quantity of routing protocol software components and an operating system; a component agency is responsible for the reconfiguration control process of the routing protocol software components, communicates with a reconfigurable management platform to be responsible for receiving reconfiguring instructions of the reconfigurable management platform, and also communicated with the routing protocol software components and the software component operating environment so as to send and notify the communication addresses of different routing protocol software components to the routing protocol software components and the software component operating environment; and the component agency dynamically load and delete the routing protocol software components as well as start and stop the routing protocol software components by controlling the software component operating environment. The reconfiguration method for the routing protocol software components in the reconfigurable route switching platform provided by the invention has the advantages that the reconfiguration structure is simple, various components are supported, and the expansibility is strong.
Description
(1), technical field: the present invention relates to a kind of routing protocol software member reconstructing method, particularly relate to the routing protocol software member reconstructing method in a kind of restructural routing switch platform.
(2), background technology: network system architecture design should have extensibility towards variation, can
Flexible service is provided, supports existing and following most of business.Network must be broken away from the business development constraint that emerges in an endless stream, can different Processing tasks and the Network of cluster, make up the network system framework of characteristics such as possessing that scale is scalable, reconfigurable function, service are customizable.
The apparatus for network node architectural framework should meet extendible principle, is supported in different providers on it
Upgrading and function, performance expansion.Current network node equipment adopts special-purpose software/hardware design, and its architecture is tightly coupled, lacks flexibility.The restructural routing switch platform adopts open standard and block models; The module interoperable; Software is reusable, then the developer can be in switching plane the software/hardware module of integrated different vendor, upgrade easily, expand or the structure and the service of the switching plane of recombinating.Component technology in the restructural routing switch platform will let router design, exploitation as mechanical process industry exactly; Can assemble with various standards and off-gauge part; Perhaps, be built into building miscellaneous with various construction materials as building industry.The target of the route switching component of a systemization is: can easily, dynamically be integrated into an organism to the building blocks of function that is provided, on different operating system or hardware platform, realized by different vendor, non-commensurate or individual.These members require can interoperability, realize that the componentization of routing and switching function is a kind of system design thought of forward position, and the sound development of manufacturing of route switching equipment and even whole networking industry is had vital impetus.
In the restructural routing switch platform of being made up of member, when platform carried out reconstruct as required, member was into
The basic element and the object of line reconstruction operation.We need a kind of method to come management component efficiently, and it is simple to make restructuring procedure reach step, the rapid and reliable effect.
(3), summary of the invention:
The technical problem that the present invention will solve is: overcome the defective of prior art, a kind of reconstruct structure letter is provided
Single, support the routing protocol software member reconstructing method in the strong restructural routing switch platform of multiple member, extensibility.
Technical scheme of the present invention:
Routing protocol software member reconstructing method in a kind of restructural routing switch platform is in the restructural route
Set up a general software component running environment on the switching plane; The routing protocol software member of software component running environment and some and operating system communication; Member proxy management routing protocol software member; The member agency is responsible for the reconstruct control procedure of routing protocol software member; Member the agency communicate by letter with the restructural management platform, is responsible for receiving the restructuring directive of restructural management platform, and member the agency also communicate by letter with software component running environment with the routing protocol software member; Issue and announce the mailing address of different routing protocol software component to routing protocol software member and software component running environment, the member agency dynamically loads and deletes the routing protocol software member, starts and close the routing protocol software member through Control Software member running environment.
The agency is following to the reconstruct control procedure of route protocol software member for member:
Step a: detect and resolve command: the member agency detects and resolves the restructuring directive that the restructural management platform is sent, and verifies the legitimacy of this restructuring directive; If legal, execution in step b; If illegal, the member agency deletes the related resolution result, and this information unauthorized is fed back to the restructural management platform, then execution in step i;
Step b: receiving software reconstruct description document; Extract relevant information: the member agency receives the software reconfiguration description document that the restructural management platform is sent; This software reconfiguration description document comprises the method information of reconstruct, and the member agency extracts number information, type information and the member port connection relation information of routing protocol software member in the software reconfiguration description document;
Step c: judge whether member is complete, extract component description information: the member agency judges whether the routing protocol software member that the restructural management platform issues is complete; If incomplete, execution in step i; If complete, the member agency then downloads the component description file, and extracts resource requirement information and member id information, execution in step d then;
Steps d: judge the reconstruct resource situation: the member agency judges whether the reconstruct resource of software component running environment can support this reconstruct; If do not support, then return the information that resource does not meet the demands, then execution in step i to the restructural management platform; If support, then execution in step e;
Step e: the code of receiving member: the member agency receives the routing protocol software piece code that the restructural management platform issues;
Step f: dispose member: the member agency starts the routing protocol software member according to software reconfiguration description document and component description file in software component running environment;
Step g: feedback reconstruction result: whether reconstruct is successful for member agency inspection routing protocol software member, and returns the feedback reconstruction result to the restructural management platform; If unsuccessful, execution in step i; If success, execution in step h;
Step h: data are switched: network data is switched in the routing protocol software member after the reconstruct;
Step I: finish.
The reconstruct resource contains storage resources and computational resource.
Contain member operational management interface, user control interface interface, map of services layer and protocol massages transmitting-receiving interface in the software component running environment; The routing protocol software member is registered member operational management interface to software component running environment when starting; The routing protocol software member is through user control interface interface and user control interface communication; Through the user control interface interface; Equipment manager can dispose and manage in the Command Line Interface of equipment route protocol software member accordingly; Each routing protocol software member is followed identical user control interface interface standard; Defined the communications protocol between routing protocol software member and the software component running environment in the map of services layer, the routing protocol software member is received and dispatched interface accessing operating system nucleus protocol stack through the protocol massages of software component running environment, thereby obtains protocol massages.
The member agency is contained management interface and component deployment administration module; Component deployment administration module and management interface communication; Contain member authentication procedure, request resource program and member executive program in the component deployment administration module; Get into the request resource program after the member authentication procedure is accomplished, get into the member executive program after the request resource program is accomplished.The member agency has management function, monitoring function and combinations of services function.
Restructuring directive contains member authentication instruction, inquiry component instruction, member delete instruction and member execution command.
The routing protocol software member contains ospf protocol member and RIP protocol component.
The ospf protocol member contains the interface that is connected with user control interface, the interface, interface that is connected with the routing management member and the interface that is connected with software component running environment that are connected with the member agency; The routing management member is connected with software component running environment, is Agent client interface with member agency interface that is connected and the interface that is connected with the routing management member.
Software component running environment has standard communication, is following under the prerequisite of standard communication interface, and the protocol component of any exploitation mechanism exploitation all can move on same routing switch platform.
The communication data type of using among the present invention has two kinds, as follows:
Type A: between member agency and the routing protocol software member, the reconstructed message between each routing protocol software member; This reconstructed message is a control messages, and this reconstructed message is made up of message header and message body, and message header has consolidation form, mainly comprises type, sender's sign, recipient's sign and the message-length of message.
Type B: protocol massages between routing protocol software member and the software component running environment, between software component running environment and the operating system and control message, the form of this protocol massages and control message message is the form of legacy protocol message and tradition control message.
The form of the message header of the reconstructed message of type A is as follows:
Version version number: 4 bit, version is 1 at present.
The Rsvd reserved field: 4 bit, the sender must this field be set to zero, and the recipient must ignore this field.
Message Type type of message: 8bit.
Its value defines as follows:
0x00 Reserved keeps
0x01 AssociationSetup starts link setup
0x02 AssociationTeardown removes link
0x03 Config configuration
0x04 Query inquiry
0x05 EventNotification event notice
0x06 PacketRedirect packet is redirected
0x07-0x0E Reserved keeps
0x0F Hearbeat heartbeat
0x11 AssociationSetupRepsonse starts link setup and responds
0x12 Reserved keeps
0x13 ConfigRepsonse disposes response
0x14 Query-query response
Length: message-length.
Source ID: source member ID.
Destination ID: target member ID0.
Correlator: association factor.
The purposes of Correlator: Request message must have the same correlator value with Response message.Message is cut apart: preceding 32 identical, back 32 inequality.The different messages of same affairs, preceding
32 are identical, back 32 inequality, the difference of cutting apart with message is AT=1.Other situation, correlator can be 0.
(acknowledgement indicator, 4bit): whether ACK is used for indicating member needs to reply ACK.
ACK can be arranged to following value:
NoACK (0b00): show that the purpose member needn't send any response message.
SuccessACK (0b01): only show when the message of sending is successfully handled, just must return response message.So-called success is meant all successes of all operations in the same message.
FailureACK (0b10): only show when the message of sending is processed failure, just must return response message.
AlwaysACK (0b11): show that the purpose member must send response message and give the source member.
Pri (Priority flag, 4bit): control protocol has defined 8 different priority (0-7); Preferred value is high more, and the content of protocol message is important more.
Revd: reserved field, fill 0.
Beneficial effect of the present invention:
1, the present invention adopts the restructuring procedure of member agency control routing protocol software member; But also be provided with software component running environment; Member agency communicates by letter with the restructural management platform, is responsible for the restructuring directive of reception restructural management platform, and issues and announce the mailing address of different routing protocol software component to routing protocol software member and software component running environment; Therefore, component management efficient of the present invention is high, the restructuring procedure step is simple, fast and reliable.
(4), description of drawings:
Fig. 1 is the sketch map of control relation between restructural management platform, member agency, software component running environment, the routing protocol software member;
Fig. 2 is the interface sketch map of ospf protocol member;
Fig. 3 is the message header form sketch map of the reconstructed message of the communication data type A that uses among the present invention;
Fig. 4 is the public header structure sketch map of map of services layer standard communication packet.
(5), embodiment:
Embodiment one: referring to Fig. 1~Fig. 4, among the figure, the Routing Protocol in the restructural routing switch platform is soft
Part member reconstructing method is: on the restructural routing switch platform, set up a general software component running environment; The routing protocol software member of software component running environment and some and operating system communication; Member proxy management routing protocol software member; The member agency is responsible for the reconstruct control procedure of routing protocol software member; Member the agency communicate by letter with the restructural management platform, is responsible for receiving the restructuring directive of restructural management platform, and member the agency also communicate by letter with software component running environment with the routing protocol software member; Issue and announce the mailing address of different routing protocol software component to routing protocol software member and software component running environment, the member agency dynamically loads and deletes the routing protocol software member, starts and close the routing protocol software member through Control Software member running environment.
The agency is following to the reconstruct control procedure of route protocol software member for member:
Step a: detect and resolve command: the member agency detects and resolves the restructuring directive that the restructural management platform is sent, and verifies the legitimacy of this restructuring directive; If legal, execution in step b; If illegal, the member agency deletes the related resolution result, and this information unauthorized is fed back to the restructural management platform, then execution in step i;
Step b: receiving software reconstruct description document; Extract relevant information: the member agency receives the software reconfiguration description document that the restructural management platform is sent; This software reconfiguration description document comprises the method information of reconstruct, and the member agency extracts number information, type information and the member port connection relation information of routing protocol software member in the software reconfiguration description document;
Step c: judge whether member is complete, extract component description information: the member agency judges whether the routing protocol software member that the restructural management platform issues is complete; If incomplete, execution in step i; If complete, the member agency then downloads the component description file, and extracts resource requirement information and member id information, execution in step d then;
Steps d: judge the reconstruct resource situation: the member agency judges whether the reconstruct resource of software component running environment can support this reconstruct; If do not support, then return the information that resource does not meet the demands, then execution in step i to the restructural management platform; If support, then execution in step e;
Step e: the code of receiving member: the member agency receives the routing protocol software piece code that the restructural management platform issues;
Step f: dispose member: the member agency starts the routing protocol software member according to software reconfiguration description document and component description file in software component running environment;
Step g: feedback reconstruction result: whether reconstruct is successful for member agency inspection routing protocol software member, and returns the feedback reconstruction result to the restructural management platform; If unsuccessful, execution in step i; If success, execution in step h;
Step h: data are switched: network data is switched in the routing protocol software member after the reconstruct;
Step I: finish.
The reconstruct resource contains storage resources and computational resource.
Contain member operational management interface, user control interface interface, map of services layer and protocol massages transmitting-receiving interface in the software component running environment; The routing protocol software member is registered member operational management interface to software component running environment when starting; The member agency can use member operational management interface that route protocol software member is managed; The routing protocol software member is through user control interface interface and user control interface communication; Through the user control interface interface; Equipment manager can dispose and manage in the Command Line Interface of equipment route protocol software member accordingly, and each routing protocol software member is followed identical user control interface interface standard, has defined the communications protocol between routing protocol software member and the software component running environment in the map of services layer; The routing protocol software member is received and dispatched interface accessing operating system nucleus protocol stack through the protocol massages of software component running environment, thereby obtains protocol massages.
The member agency is contained management interface and component deployment administration module; Component deployment administration module and management interface communication; Contain member authentication procedure, request resource program and member executive program in the component deployment administration module; Get into the request resource program after the member authentication procedure is accomplished, get into the member executive program after the request resource program is accomplished.The member agency has management function, monitoring function and combinations of services function.
Restructuring directive contains member authentication instruction, inquiry component instruction, member delete instruction and member execution command.
The routing protocol software member contains ospf protocol member and RIP protocol component.
The ospf protocol member contains the interface that is connected with user control interface, the interface, interface that is connected with the routing management member and the interface that is connected with software component running environment that are connected with the member agency; The routing management member is connected with software component running environment, is Agent client interface with member agency interface that is connected and the interface that is connected with the routing management member.
The interface that is connected with user control interface is described below:
Interface mode: adopt in the Socket api interface to the IPv4 territory based on the stream socket that connects.
Interface function: after the finger daemon entry into service of ospf protocol member, for the network manager provides one to dispose, intervene, check the passage of OSPF operational situation through instruction.
When the ospf protocol member moved as a process, during module initialization, member had been set up tcp with user control interface through socket and has been connected, and monitored all orders from this port.When listening to an order, OSPF promptly receives this order through reading thread, and protocol process is carried out corresponding function thus, thereby accomplished the configuration of ospf protocol and the management of ruuning situation according to the command string look-up command tree that receives then.
The interface that is connected with the member agency is described below:
Interface mode: utilize Agent client set up with the member agency communicate by letter the self-defining message format of employing Agent client in the communication.
Interface function: during the member initialization, send registration message to the member agency through this interface.After the member agency receives registration message, send message through this interface and worked as front part, make it know the address of the member that oneself will communicate.The member agency can send configuration file to member through this interface, and the order member reads configuration file.The member agency also can pass through this interface closure element simultaneously.
The interface that is connected with the routing management member is described below:
Interface mode: utilize Agent client set up with the routing management member communicate by letter the self-defining message format of employing map of services layer in the communication.
Interface function: the restructural routing switch platform comes to provide for each Routing Protocol the service of information such as interface, route through the routing management member, and simultaneously, the routing iinformation of collecting each agreement generates unified routing table and is handed down to each hardware and transmits member.The OSPF member communicates with the form and the routing management member of messaging through Agent client, submits the routing iinformation that is obtained to; The routing iinformation that the routing management member provides the interface message of system and heavily distributes to the OSPF member through Agent client.
The interface that is connected with software component running environment is described below:
Interface mode: adopt in the Socket api interface to the IPv4 territory based on the stream socket that connects.
Interface function: SCRE is between operating system and protocol component; Operating system is played the bottom shielding.Getting in touch all that ospf protocol member and operating system take place like this carried out through SCRE, and needn't be concerned about and adopt which kind of operating system.This interface is mainly realized being connected of ICP/IP protocol stack of ospf protocol member and operating system, receiving and to send packet, and provides internal memory in the protocol module running and timer management.
Software component running environment has standard communication, is following under the prerequisite of standard communication interface, and the protocol component of any exploitation mechanism exploitation all can move on same routing switch platform.
The communication data type of using among the present invention has two kinds, as follows:
Type A: between member agency and the routing protocol software member, the reconstructed message between each routing protocol software member; This reconstructed message is a control messages, and this reconstructed message is made up of message header and message body, and message header has consolidation form, mainly comprises type, sender's sign, recipient's sign and the message-length of message.
Type B: protocol massages between routing protocol software member and the software component running environment, between software component running environment and the operating system and control message, the form of this protocol massages and control message message is the form of legacy protocol message and tradition control message.
The form of the message header of the reconstructed message of type A is as follows:
Version version number: 4 bit, version is 1 at present.
The Rsvd reserved field: 4 bit, the sender must this field be set to zero, and the recipient must ignore this field.
Message Type type of message: 8bit.
Its value defines as follows:
0x00 Reserved keeps
0x01 AssociationSetup starts link setup
0x02 AssociationTeardown removes link
0x03 Config configuration
0x04 Query inquiry
0x05 EventNotification event notice
0x06 PacketRedirect packet is redirected
0x07-0x0E Reserved keeps
0x0F Hearbeat heartbeat
0x11 AssociationSetupRepsonse starts link setup and responds
0x12 Reserved keeps
0x13 ConfigRepsonse disposes response
0x14 Query-query response
Length: message-length.
Source ID: source member ID.
Destination ID: target member ID0.
Correlator: association factor.
The purposes of Correlator: Request message must have the same correlator value with Response message.Message is cut apart: preceding 32 identical, back 32 inequality.The different messages of same affairs, preceding
32 are identical, back 32 inequality, the difference of cutting apart with message is AT=1.Other situation, correlator can be 0.
(acknowledgement indicator, 4bit): whether ACK is used for indicating member needs to reply ACK.
ACK can be arranged to following value:
NoACK (0b00): show that the purpose member needn't send any response message.
SuccessACK (0b01): only show when the message of sending is successfully handled, just must return response message.So-called success is meant all successes of all operations in the same message.
FailureACK (0b10): only show when the message of sending is processed failure, just must return response message.
AlwaysACK (0b11): show that the purpose member must send response message and give the source member.
Pri (Priority flag, 4bit): control protocol has defined 8 different priority (0-7); Preferred value is high more, and the content of protocol message is important more.
Revd: reserved field, fill 0.
The definition and the correlation function introduction of member operational management interface are following:
The explanation of member operational management interface data structure
Typedef?struct?{
Int?(*component_init)(?char?*workdir,?struct?sockaddr_in?*container);
Int?(*component_stop)();
Int?(*component_restart)();
Int?(*component_poll)();
Int?(*component_writeconfig)(char?*conffile);
Int?(*component_readconfig)(char?*conffile);
Int?(*component_showrun)(char?*strbuff,int?maxlen,?int?*runlen);
Int?(*component_readstatistics)(struct?NCI_statistics_info?*info);
Int?(*component_vendorinfo)(char?*strbuff,int?maxlen,?int?*runlen);
}NCI_Component_Admin_Interface;
Call back function introduction in the member operational management interface data structure is following:
Component_init: the initialization of notification protocol member, the working directory of workdir specified protocol member operation wherein, container provides the reference address of map of services layer;
Component_stop: the notification protocol member is out of service and withdraw from;
Component_restart: the notification protocol member restarts to the state before the initialization;
Component_poll: whether the detection protocol member is active;
Component_writeconfig: the notification protocol member is written to configuration information among the conffile;
Component_readconfig: the notification protocol member is written into configuration information in conffile;
Component_showrun: the notification protocol member shows current operation configuration status information; Strbuff provides the buffering area of operation configuration status information; Maxlen points out the maximum length of buffering area, returns the length of actual operation configuration status information among the runlen;
Component_readstatistics: read the running status statistical information of protocol component, comprising: internal memory operating position, CPU take situation, routing table operating position, packet sending and receiving situation etc.;
Component_vendorinfo: the manufacturer's information of notification protocol member display protocol member, strbuff provides the buffering area of preserving manufacturer's information, and maxlen points out the maximum length of buffering area, returns the length of actual manufacturer's information among the runlen.
In the user control interface interface library that the routing protocol software member uses, there are imperative structures to safeguard the command list (CLIST) of whole protocol component.Each protocol component is safeguarded its oneself command vector, is called cmdvec.Command vector is made up of a series of command nodes.Command node can be installed corresponding command element again.
The command node data structure is as showing:
The structure member | Describe |
Node_type | Node type |
Prompt | Information |
Function | Respective function |
Cmd_vector | Command vector |
The Cmd_vector of command node comprises the command element tabulation that is fit into this node again.The command element data structure is as showing:
The structure member | Describe |
String | Command string |
Function | The command element respective function |
Daemon | Daemon under the command element |
…… | …… |
When the routing protocol software member is set up the configuration order of this agreement, initialization top_level_vector:cmdvec at first.Utilize install_node () function installation order node in vector then.And utilize install_element () function installation order in specific nodes.
In the restructural protocol component running, the continuous inquiring user input of the VTY of routing switch platform.In case the user enters into the command tree of this protocol component through the command tree path on the VTY interface; Any one order of user's input; To read in the command string of its input from user interface, and utilize the related command that provides in the user control interface interface library to handle function then and carry out this order.Command processing function verifies at first whether command data structure and the user input commands filled among the cmdvec mate, if order is effectively chosen corresponding command element from command node, and fill order, and return results to the VTY terminal.
The map of services layer has defined communications protocol-" member route and interface accessing " agreement of routing switch platform oneself, handles the communication between map of services layer and the member.Each member is a client, and the map of services layer is a server end.
TCP/IP Socket through standard between map of services layer and the routing protocol software member carries out communication.When communication, the routing protocol software member is as the client of communication two party, and the map of services layer is monitored the communication connection of routing protocol software member to the map of services layer as the service end of communication two party on the Socket of appointment port.The routing protocol software member just can carry out information interaction based on standard communication packet form be connected foundation with the Socket communication of map of services layer after.All data fields are followed the network bytes preface in the standard communication packet head, and the key data fields of standard message head is described below:
The l message length: 16 integers, definition comprises the byte length of whole map of services layer message of standard message head;
The l protocol-identifier: 8 integers, the protocol-identifier of definition map of services layer communication packet is defined as 0xFF at present;
The l protocol version: 8 integers, the protocol version of definition map of services layer communication packet is orientated 0x01 at present as;
L interface command word: 16 integers, the interface command type that comprises in the definition subsequent commands data field;
L order data territory: elongated data field, decide concrete order data 80 by the interface command word;
The content that comprises in the order data territory (main interface function and function) is tabulated as follows:
Sequence number | Title | Function |
1 | NCI_INTERFACE_ADD | Router increases the interface announcement |
2 | NCI_INTERFACE_DELETE | Router interface deletion announcement |
3 | NCI_INTERFACE_ADDRESS_ADD | Interface IP address increases announcement |
4 | NCI_INTERFACE_ADDRESS_DELETE | Interface IP address deletion announcement |
5 | NCI_INTERFACE_UP | The Interface status available notice |
6 | NCI_INTERFACE_DOWN | The unavailable announcement of |
7 | NCI_IPV4_ROUTE_ADD | The IPv4 route redistributes newly-increased advertising of route order |
8 | NCI_IPV4_ROUTE_DELETE | The IPv4 route redistributes cancels the advertising of route order |
9 | NCI_IPV6_ROUTE_ADD | The IPv6 route redistributes newly-increased advertising of route order |
10 | NCI_IPV6_ROUTE_DELETE | The IPv6 route redistributes the existing advertising of route order of deletion |
11 | NCI_REDISTRIBUTE_ADD | The route state of redistributing is provided with the announcement order |
12 | NCI_REDISTRIBUTE_DELETE | Route redistributes state deletion announcement order |
13 | NCI_REDISTRIBUTE_DEFAULT_ADD | Default route redistributes newly-increased announcement |
14 | NCI_REDISTRIBUTE_DEFAULT_DELETE | Default route redistributes the |
15 | NCI_IPV4_NEXTHOP_LOOKUP | Next jumps status inquiry command |
16 | NCI_IPV6_NEXTHOP_LOOKUP | Next jumps status inquiry command IPv6 |
17 | NCI_IPV4_IMPORT_LOOKUP | The routing state querying command |
18 | NCI_IPV6_IMPORT_LOOKUP | IPv6 routing state querying command |
19 | NCI_MPLS_ENABLE | Mpls protocol enables announcement |
20 | NCI_MPLS_DISABLE | Mpls protocol is closed announcement |
21 | NCI_MPLS_LABLE_ADD | Mpls protocol increases the tag entry announcement |
22 | NCI_MPLS_LABLE_DEL | The announcement of mpls protocol deletion tag entry |
23 | NCI_VRF_NEW | Newly-built VRF announcement |
24 | NCI_VRF_DEL | Delete a VRF announcement |
25 | NCI_VRF_RT_ADD | Newly-increased advertising of route order among certain VRF |
26 | NCI_VRF_RT_DEL | Deletion advertising of route order among certain VRF |
The main interface function of protocol massages transmitting-receiving interface defines as follows:
Sequence number | Title | Function |
1 | NCI_Socket | Create NCI_Socket |
2 | NCI_Accept | Acceptance is to the connection request of socket |
3 | NCI_Bind | A socket is tied to a local address |
4 | NCI_Connect | A socket is connected to distance host |
5 | NCI_Getsockname | Obtain to specify the address of socket |
6 | NCI_Select | Confirm the state of Socket, wait pending I/ |
7 | NCI_Recv | Receive data from the socket that connects or bind |
8 | NCI_Recvfrom | Receive the UDP message, and preserve source address |
9 | NCI_Send | Send data to the socket that connects |
10 | NCI_Sendto | Send data to UDP socket |
11 | NCI_Listen | A socket is placed listening state |
12 | NCI_Closesocket | Close existing socket |
Claims (8)
1. the routing protocol software member reconstructing method in the restructural routing switch platform; It is characterized in that: on the restructural routing switch platform, set up a general software component running environment; The routing protocol software member of software component running environment and some and operating system communication; Member proxy management routing protocol software member; The member agency is responsible for the reconstruct control procedure of routing protocol software member; Member the agency communicate by letter with the restructural management platform, is responsible for receiving the restructuring directive of restructural management platform, and member the agency also communicate by letter with software component running environment with the routing protocol software member; Issue and announce the mailing address of different routing protocol software component to routing protocol software member and software component running environment, the member agency dynamically loads and deletes the routing protocol software member, starts and close the routing protocol software member through Control Software member running environment; The agency is following to the reconstruct control procedure of route protocol software member for member:
Step a: detect and resolve command: the member agency detects and resolves the restructuring directive that the restructural management platform is sent, and verifies the legitimacy of this restructuring directive; If legal, execution in step b; If illegal, the member agency deletes the related resolution result, and this information unauthorized is fed back to the restructural management platform, then execution in step i;
Step b: receiving software reconstruct description document; Extract relevant information: the member agency receives the software reconfiguration description document that the restructural management platform is sent; This software reconfiguration description document comprises the method information of reconstruct, and the member agency extracts number information, type information and the member port connection relation information of routing protocol software member in the software reconfiguration description document;
Step c: judge whether member is complete, extract component description information: the member agency judges whether the routing protocol software member that the restructural management platform issues is complete; If incomplete, execution in step i; If complete, the member agency then downloads the component description file, and extracts resource requirement information and member id information, execution in step d then;
Steps d: judge the reconstruct resource situation: the member agency judges whether the reconstruct resource of software component running environment can support this reconstruct; If do not support, then return the information that resource does not meet the demands, then execution in step i to the restructural management platform; If support, then execution in step e;
Step e: the code of receiving member: the member agency receives the routing protocol software piece code that the restructural management platform issues;
Step f: dispose member: the member agency starts the routing protocol software member according to software reconfiguration description document and component description file in software component running environment;
Step g: feedback reconstruction result: whether reconstruct is successful for member agency inspection routing protocol software member, and returns the feedback reconstruction result to the restructural management platform; If unsuccessful, execution in step i; If success, execution in step h;
Step h: data are switched: network data is switched in the routing protocol software member after the reconstruct;
Step I: finish.
2. the routing protocol software member reconstructing method in the restructural routing switch platform according to claim 1 is characterized in that: said reconstruct resource contains storage resources and computational resource.
3. the routing protocol software member reconstructing method in the restructural routing switch platform according to claim 1; It is characterized in that: contain member operational management interface, user control interface interface, map of services layer and protocol massages transmitting-receiving interface in the said software component running environment; The routing protocol software member is registered member operational management interface to software component running environment when starting; The member agency can use member operational management interface that route protocol software member is managed; The routing protocol software member is through user control interface interface and user control interface communication; Through the user control interface interface; Equipment manager can dispose and manage in the Command Line Interface of equipment route protocol software member accordingly, and each routing protocol software member is followed identical user control interface interface standard, has defined the communications protocol between routing protocol software member and the software component running environment in the map of services layer; The routing protocol software member is received and dispatched interface accessing operating system nucleus protocol stack through the protocol massages of software component running environment, thereby obtains protocol massages.
4. the routing protocol software member reconstructing method in the restructural routing switch platform according to claim 1; It is characterized in that: said member agency is contained management interface and component deployment administration module; Component deployment administration module and management interface communication; Contain member authentication procedure, request resource program and member executive program in the component deployment administration module, get into the request resource program after the member authentication procedure is accomplished, get into the member executive program after the request resource program is accomplished.
5. the routing protocol software member reconstructing method in the restructural routing switch platform according to claim 1 is characterized in that: said restructuring directive contains member authentication instruction, inquiry component instruction, member delete instruction and member execution command.
6. the routing protocol software member reconstructing method in the restructural routing switch platform according to claim 1 is characterized in that: said routing protocol software member contains ospf protocol member and RIP protocol component.
7. the routing protocol software member reconstructing method in the restructural routing switch platform according to claim 6; It is characterized in that: said ospf protocol member contains the interface that is connected with user control interface, the interface, interface that is connected with the routing management member and the interface that is connected with software component running environment that are connected with the member agency; The routing management member is connected with software component running environment, is Agent client interface with member agency interface that is connected and the interface that is connected with the routing management member.
8. the routing protocol software member reconstructing method in the restructural routing switch platform according to claim 1; It is characterized in that: between said member agency and the routing protocol software member, the reconstructed message between each routing protocol software member is control messages; This reconstructed message is made up of message header and message body; Message header has consolidation form, and message header comprises type, sender's sign, recipient's sign and the message-length of message; The form of protocol massages between said routing protocol software member and the software component running environment, between software component running environment and the operating system and control message is the form of legacy protocol message and tradition control message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010565141XA CN101977160B (en) | 2010-11-30 | 2010-11-30 | Reconfigurable method for routing protocol software components in reconfigurable route switching platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010565141XA CN101977160B (en) | 2010-11-30 | 2010-11-30 | Reconfigurable method for routing protocol software components in reconfigurable route switching platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101977160A CN101977160A (en) | 2011-02-16 |
CN101977160B true CN101977160B (en) | 2012-08-22 |
Family
ID=43577007
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010565141XA Active CN101977160B (en) | 2010-11-30 | 2010-11-30 | Reconfigurable method for routing protocol software components in reconfigurable route switching platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101977160B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103338150B (en) * | 2013-07-19 | 2016-06-15 | 中国人民解放军信息工程大学 | Communication network architecture method for building up, device, server and router |
CN104539506A (en) * | 2015-01-27 | 2015-04-22 | 浪潮集团有限公司 | Network transmission service component and network transmission system |
CN105119836B (en) * | 2015-09-14 | 2018-03-30 | 上海红神信息技术有限公司 | A kind of routing protocol component dynamic operation method based on state pool |
CN109818955B (en) * | 2019-01-22 | 2021-10-29 | 上海鹰信智能技术有限公司 | Bidirectional transmission control coding method and system thereof |
CN110430132B (en) * | 2019-07-05 | 2021-04-27 | 杭州迪普信息技术有限公司 | Method and device for binding Socket and VRF |
CN112073371A (en) * | 2020-07-30 | 2020-12-11 | 中国人民解放军战略支援部队信息工程大学 | Malicious behavior detection method for weak supervision routing equipment |
CN112379868B (en) * | 2020-11-12 | 2021-06-18 | 无锡沐创集成电路设计有限公司 | Programming method for network data packet processing based on reconfigurable chip |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1556641A (en) * | 2004-01-01 | 2004-12-22 | 浙江大学 | Structuralization realization method of communication protocol |
US6904593B1 (en) * | 2000-03-24 | 2005-06-07 | Hewlett-Packard Development Company, L.P. | Method of administering software components using asynchronous messaging in a multi-platform, multi-programming language environment |
EP1584209B1 (en) * | 2003-01-13 | 2006-06-28 | NTT DoCoMo, Inc. | Reconfiguration of heterogeneous, programmable platforms |
WO2010043629A1 (en) * | 2008-10-13 | 2010-04-22 | Schneider Electric Automation Gmbh | Method for developing a multi-agent system and multi-agent system |
CN101719921A (en) * | 2009-12-10 | 2010-06-02 | 清华大学 | Method for generating routing protocol component in software development of reconfigurable router |
CN101789938A (en) * | 2010-01-12 | 2010-07-28 | 清华大学 | Agent-based component generation method in reconfigurable software |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7890616B2 (en) * | 2007-03-02 | 2011-02-15 | Informed Control Inc. | System and method for validation of middleware failover behavior |
-
2010
- 2010-11-30 CN CN201010565141XA patent/CN101977160B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6904593B1 (en) * | 2000-03-24 | 2005-06-07 | Hewlett-Packard Development Company, L.P. | Method of administering software components using asynchronous messaging in a multi-platform, multi-programming language environment |
EP1584209B1 (en) * | 2003-01-13 | 2006-06-28 | NTT DoCoMo, Inc. | Reconfiguration of heterogeneous, programmable platforms |
CN1556641A (en) * | 2004-01-01 | 2004-12-22 | 浙江大学 | Structuralization realization method of communication protocol |
WO2010043629A1 (en) * | 2008-10-13 | 2010-04-22 | Schneider Electric Automation Gmbh | Method for developing a multi-agent system and multi-agent system |
CN101719921A (en) * | 2009-12-10 | 2010-06-02 | 清华大学 | Method for generating routing protocol component in software development of reconfigurable router |
CN101789938A (en) * | 2010-01-12 | 2010-07-28 | 清华大学 | Agent-based component generation method in reconfigurable software |
Also Published As
Publication number | Publication date |
---|---|
CN101977160A (en) | 2011-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101977160B (en) | Reconfigurable method for routing protocol software components in reconfigurable route switching platform | |
KR101806257B1 (en) | Method and apparatus for implementing subscription notification | |
CN109391500B (en) | Configuration management method, device and equipment | |
WO2021121370A1 (en) | Message loss detection method and apparatus for message queue | |
US7978631B1 (en) | Method and apparatus for encoding and mapping of virtual addresses for clusters | |
CN102761864B (en) | Data transmission method, system and device | |
WO2018165113A1 (en) | Dynamic header compression for constrained networks | |
EP2151095B1 (en) | Method and apparatus for discovering universal plug and play device using resource information | |
WO2017054576A1 (en) | Unicast tunnel building method, apparatus and system | |
CN111416736A (en) | Configuration management method and device of network equipment, computing equipment and storage medium | |
EP1949642B1 (en) | Arrangement and method relating to messageing | |
CN101848107B (en) | SNMP (Simple Network Management Protocol) network element and communication method of SNMP network element and proprietary protocol network element | |
CN101485141B (en) | Method and system for two-phase mechanism for discovering web services based on management service | |
Zhou et al. | Toward the Internet of Things application and management: A practical approach | |
EP3549359A1 (en) | Methods and apparatus for operating and managing a constrained device within | |
KR20230039746A (en) | Network node for notification delivery and method therefor | |
WO2008019559A1 (en) | A method, system, client end and server for locating operation node in a communication system | |
CN111405018A (en) | File transmission method and device, electronic equipment and storage medium | |
US20040249923A1 (en) | Efficient home network management system and method | |
CN102694675A (en) | Asynchronous communication method and device based on SNMP (Simple Network Management Protocol) | |
CN114051030B (en) | Communication method, communication device, intelligent community system and storage medium | |
TW200807988A (en) | Configuring a host device by way of MMP | |
Klauck | Seamless integration of smart objects into the internet using XMPP and mDNS/DNS-SD | |
Sifalakis et al. | A generic active service deployment protocol | |
Loke et al. | Context-based addressing: The concept and an implementation for large-scale mobile agent systems using publish-subscribe event notification |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |