CN101754055A - Automatic network element ID setting method, ID management server and agent network element - Google Patents

Automatic network element ID setting method, ID management server and agent network element Download PDF

Info

Publication number
CN101754055A
CN101754055A CN200810239053A CN200810239053A CN101754055A CN 101754055 A CN101754055 A CN 101754055A CN 200810239053 A CN200810239053 A CN 200810239053A CN 200810239053 A CN200810239053 A CN 200810239053A CN 101754055 A CN101754055 A CN 101754055A
Authority
CN
China
Prior art keywords
network element
optical fiber
parameter
application request
management server
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.)
Pending
Application number
CN200810239053A
Other languages
Chinese (zh)
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 CN200810239053A priority Critical patent/CN101754055A/en
Publication of CN101754055A publication Critical patent/CN101754055A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an automatic network element ID setting method, an ID management server and an agent network element, wherein the method comprises the steps that network element ID application request is received; if the network element ID application request carries the optical fiber connection pair parameter of a first network element, a network element ID which corresponds to the optical fiber connection pair parameter of the first network element is generated; and if the request carries the optical fiber connection pair parameter and the physical ID of the first network element, network element IDs which correspond to the optical fiber connection pair parameter and the physical ID of the first network element are generated. By setting the ID management server in an optical network, the embodiment of the invention generates the network element IDs which correspond to the information in the network element ID application request after receiving the network element ID application request sent by the network element, so as to automatically set the IDs for all the network elements in the optical network without manual setting on the site, thereby improving the maintainability of the network and reducing the maintenance cost.

Description

Automatic network element ID setting method, ID management server and agent network element
Technical field
The present invention relates to the optical-fiber network technology, relate in particular to a kind of automatic network element ID setting method, ID management server and agent network element.
Background technology
Network element ID in the optical network device (ID) is network element identify label unique when carrying out Embedded Control Channel (EmbeddedControl Channel, be called for short ECC) communication between the network element, is between network element and the network element, the foundation stone of communication between network element and the webmaster.If there is network element sign conflict in the existing network, then might produce the route storm, cause serious consequence.Therefore, normally operation is extremely important to the network equipment correctly to dispose network element ID.
Network element ID is normally good by user's advance planning in the existing network, transfers to on-the-spot beginning attendant again and is connected to network element by portable machine and carries out manual setting.This network element ID set-up mode of prior art wants to change network element ID and must arrive on-the-spot manual the modification, and is maintainable poor, and owing to needs the personnel of specialty that the maintenance cost height is set.
Summary of the invention
The embodiment of the invention provides a kind of automatic network element ID setting method and device at problems of the prior art, can realize the automatic setting of network element ID in the optical-fiber network, need not manually to the scene network element ID to be set, and can reduce maintenance cost.
For achieving the above object, the invention provides a kind of automatic network element ID setting method, comprising:
Receive network element ID application request, the optical fiber that carries first network element of desire application network element ID in the described network element ID application request connects parameter, and the optical fiber that carries first network element of desire application network element ID in the perhaps described network element ID application request connects the physical label to parameter and described first network element;
If carrying the optical fiber of first network element of desire application network element ID in the described network element ID application request connects parameter, then generation is connected the network element ID to corresponding first network element of parameter with the described first network element optical fiber, and described network element ID is sent to described first network element;
Connect physical label if carry the optical fiber of first network element of desire application network element ID in the described network element ID application request to parameter and described first network element, then generate with the optical fiber of described first network element and connect network element ID, and described network element ID is sent to described first network element equal corresponding first network element of the physical label of parameter and described first network element.
The embodiment of the invention also provides a kind of ID management server, comprising:
First receiving element, be used to receive network element ID application request, the optical fiber that carries first network element of desire application network element ID in the described network element ID application request connects parameter, and the optical fiber that carries first network element of desire application network element ID in the perhaps described network element ID application request connects the physical label to parameter and described first network element;
Network element ID is provided with the unit, be connected with described first receiving element, be used to generate first network element ID corresponding, perhaps be used to generate with the optical fiber of described first network element and connect the equal network element ID of the first corresponding network element of the physical label of parameter and described first network element with the link information of described first network element;
First transmitting element is provided with the unit with described network element ID and is connected, and is used for that described network element ID is provided with described first network element ID that the unit generates and sends to described first network element.
The embodiment of the invention also provides a kind of agent network element, comprising:
Second receiving element, be used to receive and apply for the network element ID application request of first network element transmission of network element ID, the optical fiber that carries first network element of desire application network element ID in the described network element ID application request connects parameter, and the optical fiber that carries first network element of desire application network element ID in the perhaps described network element ID application request connects the physical label to parameter and described first network element; The network element ID application that described first network element sends is asked by non-Embedded Control Channel overhead byte carrying; Perhaps described second receiving element is used to receive the response message that ID management server sends, and carries first network element ID that promising described first network element is provided with in the described response message;
Second transmitting element is connected with described second receiving element, and the network element ID application request that is used for receiving from described first network element sends to described ID management server by the Embedded Control Channel overhead byte; The described response message that perhaps is used for receiving from described ID management server sends to described first network element.
The embodiment of the invention is by being provided with ID management server in optical-fiber network, after receiving the network element ID application request that network element sends, generate with the optical fiber of network element and be connected parameter and the equal corresponding net element sign of physical label, perhaps generate to be connected the parameter corresponding net element is identified with the optical fiber of network element, can realize like this each network element in the optical-fiber network is provided with sign automatically, even optical-fiber network is upgraded, also can be provided with network element ID automatically by ID management server, and need not manually to be provided with to the scene, improve the maintainability of network, reduced maintenance cost.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Figure 1 shows that automatic network element ID setting method embodiment flow chart of the present invention;
Figure 2 shows that the network connection diagram that in a link, increases a node newly that relates among the automatic network element ID setting method embodiment of the present invention;
Figure 3 shows that ID management server example structure schematic diagram of the present invention;
Figure 4 shows that agent network element example structure schematic diagram of the present invention.
Embodiment
Be illustrated in figure 1 as automatic network element ID setting method embodiment flow chart of the present invention, comprise:
Step 101, reception network element ID application request, the optical fiber that carries first network element of desire application network element ID in this network element ID application request connects parameter, and the optical fiber that perhaps carries first network element of desire application network element ID in this network element ID application request connects the physical label to the parameter and first network element;
If carrying the optical fiber of first network element of desire application network element ID in the step 102 network element ID application request connects parameter, then generation is connected the network element ID to corresponding first network element of parameter with the first network element optical fiber, and the network element ID that generates is sent to first network element; Connect physical label if carry the optical fiber of first network element of desire application network element ID in the network element ID application request to the parameter and first network element, then generate with the optical fiber of first network element and connect network element ID, and network element ID is sent to first network element equal corresponding first network element of the physical label of parameter and described first network element.
In the related optical-fiber network of embodiment one, compare with the network of prior art, be provided with an ID management server that is used to each network element configuration network element ID, this ID management server is after receiving network element ID application request, generating one is connected the corresponding network element ID of parameter with optical fiber in the network element ID application request, perhaps generate one and be connected parameter and the equal corresponding net element sign of physical label, and the network element ID that generates is sent to first network element with optical fiber in the network element ID application request.Wherein, each client network element in first network element general reference optical-fiber network.So just can realize the automatic setting of each network element ID in the optical-fiber network, overcome the maintenance cost height that network element ID brings manually is set in the prior art, the defective of maintainable difference.
If with direct-connected first network element of this ID management server network element ID is not set, then first network element is closed the ECC communication of self, sends network element ID application request then to ID management server.This network element ID application request can be carried by non-ECC overhead byte, and non-ECC overhead byte is meant other section overhead bytes except that the ECC overhead byte, for example can carry by the J0 byte, can avoid like this ECC communication of existing network is exerted an influence; The optical fiber that carries first network element in this network element ID application request connects parameter, the optical fiber that perhaps carries first network element in this network element ID application request connects parameter and physical label for the method that provides among the embodiment one, if first network element is not directly to be connected with ID management server, first network element is when the application network element ID so, can pass through non-ECC overhead byte, the network element ID application request of first network element is sent to agent network element, agent network element is again by the ECC overhead byte then, the network element ID application request that receives is sent to ID management server, and agent network element is a network element that has been provided with network element ID.
Describe the implementation procedure of automatic network element ID setting method of the present invention below in detail.
One, first network element sends network element ID application request
1, do not have direct situation about being connected with ID management server for first network element, first network element need be by carrying out the flow process of network element ID checking and application between agent network element and the ID management server.
Network element ID application request can be adopted message format as shown in Table 1:
The message format of the network element ID application request that relates in table one, the embodiment of the invention
Figure G2008102390533D0000051
Each field is described in detail as follows in the table one:
VER protocol version (0x01).
The HOPS message arrives the jumping figure (being the agent network element hop count) of process on the network element ID server.
The TOTAL-LEN header is a fixed length, and this length is described the length that comprises the whole message of each parameter in the network element ID application request.Unit is a byte.
SESSION_ID4 byte random number is used for identifying the ID of this handshake procedure.
The command type of this message of CMD_ID.
CHECK-SUM comprise parameter in the network element ID application request whole message checking and.
The network element ID of SERVER-ID ID management server.If ID management server is a webmaster, then the value of this field is 0; If first network element of application network element ID is not known the sign of ID management server, then the value of this field is 0xFFFFFFFF, how to be transmitted by the agent network element decision.
The network element ID of first network element of CLIENT-ID desire application network element ID, the value of this field is 0 before network element ID is set.
[PARAM] describes the additional parameter of different request/orders.Length is 4*N byte (N>=0).
Optical fiber connects parameter is used to describe device port information and the equipment identification information that the optical fiber two ends connect, the form of single-ended equipment as shown in Table 2, optical fiber connects parameter is made up of two single-ended device parameters.
Optical fiber connects parameter is attached in [PARAM] field in the network element ID application request shown in the table one.
The parameter format of the single-ended equipment that relates in table two, the embodiment of the invention
Figure G2008102390533D0000061
Each field is described in detail as follows in the table two:
NE_ID4 byte network element ID information.
SLOT equipment slots bit-identify.
PORT device port information.
The optional device descriptive information of DEV_INFO.The whether same type equipment that this field can be set to that a certain particular value identifies that the optical fiber two ends connect.Be 0 under the default situations.
Because first network element directly is not connected with ID management server, so first network element need send to network element ID application request an agent network element, this agent network element is a network element that has been provided with network element ID.
Particularly, first network element sends to agent network element with network element ID application request as shown in Table 3.
The network element ID application request example that relates in table three, the embodiment of the invention
SESSION_ID 32 random numbers of Sheng Chenging at random.
CMD_ID Command id is set to CMD_REQ_ID.
SERVER_ID The ID management server sign is filled to 0x00, mails to ID management server by agent network element by ECC.
CLIENT_ID Because this moment, first network element also was not provided with network element ID, this field need be filled to 0x00.
[PARAM] Additional parameter comprises following content: first network element physical label+1 of 16 bytes optical fiber connect to parameter information (this optical fiber connect to be meant optical fiber that first network element is connected with agent network element be connected to).
Because when first network element powers on, can't know and agent network element between the optical fiber connection status, therefore can there be light signal to lose (Receive Loss of Signal Condition to all, abbreviation RLOS) the light mouth of alarm sends optical fiber connection status request (being similar to the optical fiber search), after obtaining the network element ID of agent network element, groove position and light message breath, the optical fiber that forms first network element connects parameter.
If exist a plurality of optical fiber to be connected between first network element and the agent network element, first network element sends network element ID application request from different light mouths should use different SESSION_ID.Receive response message from ID management server at first network element, the mouth of not sharing the same light should receive with the corresponding response message of self SESSION_ID abandons the response message not corresponding with self SESSION_ID.If a plurality of light mouths have been received the response message from ID management server, with the network element ID in the response message of receiving earlier as first network element ID.
Agent network element is encapsulated into it in ECC message after receiving the network element ID application request that first network element sends, and increases by 1 in the value of the HOPS of header field, then this network element ID application request is sent to ID management server.
2, situation about directly being connected with ID management server for first network element, first network element can directly send network element ID application request to ID management server.
First network element directly sends to the network element ID application request of ID management server can be as shown in Table 3, and ID management server can directly be handled this network element ID application request, so do not need to add one in the HOPS of this request field.
When first network element directly sends network element ID application request to ID management server, for fear of the ECC communication that influences existing network, can be by non-ECC overhead byte carrying network element ID application request.
Two, ID management server generates first network element ID corresponding with the link information of first network element according to the link information of first network element
ID management server can be by link information corresponding first network element ID of dual mode generation with first network element after receiving network element ID application request.
1, ID management server generates a network element ID storehouse in advance, and each network element ID all connects corresponding to parameter with an optical fiber in the network element ID storehouse.After receiving network element ID application request, ID management server is searched from the network element ID storehouse with the optical fiber of first network element and is connected the corresponding network element ID of parameter as first network element ID.
Preferably, the physical label that in the link information of first network element, can also comprise first network element, can further guarantee the correctness that network element ID distributes like this, and be to use the correctness that physical label can guarantee that just network element ID distributes for situation about having.For example, in a link of optical-fiber network, increase the situation of a node newly.Be illustrated in figure 2 as the network connection diagram that in a link, increases a node newly that relates among the automatic network element ID setting method embodiment of the present invention.Among Fig. 2, initial situation is that network element NE-A is connected with network element NE-C with ID management server respectively, then newly-increased network element NE-B between network element NE-A and NE-C.After network element NE-B powers on, obtain that optical fiber is connected parameter between network element NE-B and the network element NE-A, then by network element NE-A as the network element ID of agent network element to ID management server application network element NE-B, and network element NE-A is connected with optical fiber between the network element NE-B parameter appended in the network element ID application request.ID management server detects the connection end point information of network element NE-A, and the initial network element that connects of network element NE-A is network element NE-C.Only comprise that if in network element ID application request, do not comprise physical label optical fiber connects parameter, then ID management server can't determine that the network element ID application request that receives is the transmission that powers on after the network element NE-C power down, or newly-increased network element sends between network element NE-A and the network element NE-C.If distributed the network element ID identical, then can cause network element sign conflict with network element NE-C.
On the contrary, if in network element ID application request, comprised physical label, then ID management server will detect in the network element ID application request of network element NE-C and the network element NE-B transmission that increases newly, though it is identical to parameter that optical fiber connects, but the physical label difference, then ID management server just can not distribute the network element ID identical with network element NE-C to give network element NE-B.
For the situation that has comprised physical label in the network element ID application request, when generating the network element ID storehouse, need to guarantee:
Physical label and network element ID do not repeat in A, the network element ID storehouse;
B, physical label and network element are one to one;
C, optical fiber connect not repetition of parameter.
How ID management server is first network element distribution network element ID if being described below.
(1) ID management server is searched from the network element ID storehouse with the physical label of first network element and is connected with optical fiber the equal corresponding net element sign of parameter, if exist, then with the network element ID that finds as first network element ID, and the network element ID that finds is labeled as distribution state.If identification server is found the network element ID that finds and was assigned with, identification server can judge that first network element operation of power down or hard reset may take place caused network element ID to lose so, still with the network element ID that finds as first network element ID.
(2) if search less than being connected with optical fiber the equal corresponding net element sign of parameter with the physical label of first network element, for example only find with the first network element physical label or optical fiber and be connected a corresponding network element ID in the parameter, or all network element ID is neither corresponding with the physical label of first network element in the network element ID storehouse, do not connect corresponding to parameter with the optical fiber of first network element yet, variation has taken place in the topology location that may be first network element so, and situations such as network element replacement, newly-increased network element have perhaps taken place.Because ID management server is when generating the network element ID storehouse in advance, can form a preliminary planning for whole topology of networks, so the topology location that no matter is network element changes, still network element is replaced, the capital is different with the topological structure that ID management server is planned in advance, webmaster in network makes a mistake when giving the network element load configuration information, ID management server need be by alarm, modes such as incident report the topology location of first network element that variation has taken place, the network element replacement has perhaps taken place, states such as newly-increased network element, notify the keeper to revise pre-configured data, and the network element ID application request of first network element is not replied.
2, ID management server can generate a network element ID at random after the network element ID application request of receiving first network element, perhaps adopts to arrive first the incremental manner generation network element ID that distributes earlier.
How ID management server is first network element distribution network element ID if being described below.
(1) ID management server is after the network element ID application request of receiving first network element, from the network element ID entry of having distributed, search whether to exist and be connected with optical fiber the equal corresponding net element sign of parameter with the physical label of first network element, if exist, illustrate that first network element has taken place to reset, so with the network element ID that finds network element ID as first network element.
(2) if from the network element ID entry of having distributed, only find and the physical label corresponding net element of first network element sign, then still with the network element ID that finds network element ID as first network element.Because situation for automatic generation network element ID, be not connected parameter corresponding if the network element ID that finds from the network element ID item that has distributed is only corresponding with the physical label of first network element with the optical fiber of first network element, variation has taken place in the network topology position that first network element is described, continue to use the network element ID that finds, can not clash with other network elements in the network.Owing to generate automatically under the situation of network element ID, do not have planning in advance for topology of networks, so, also can not influence the record of webmaster to the configuration information of network element even variation has taken place in the network topology position of first network element.
(3) for other situations, each network element ID that has for example distributed the neither physical label with first network element is corresponding, do not connect corresponding to parameter with the optical fiber of first network element yet, each network element ID value of perhaps having distributed connects corresponding to parameter with the optical fiber of first network element, and the physical label with first network element is not corresponding, change has taken place in the topology location that first network element then is described, situations such as network element replacement, newly-increased network element have perhaps taken place, and needs to distribute network element ID for again first network element.ID management server generates a new network element ID at random then, and the physical label of new network element ID and first network element and optical fiber is connected the corresponding relation between the parameter recorded distributes in the network element identification record item.
Three, ID management server sends to first network element with first network element ID
1, do not have direct situation about being connected with ID management server for first network element, the response message that ID management server needs to carry first network element ID sends to agent network element earlier, and then by agent network element response message is sent to first network element.
ID management server sends to the response message at network element ID application request of agent network element, can adopt form as shown in Table 4.
The response message example that relates in table four, the embodiment of the invention at network element ID application request
SESSION_ID The SESSION_ID that from network element ID application request, duplicates.
CMD_ID Order ID is set to CMD_SET_ID.
SERVER_ID The network element ID of ID management server self, if ID management server on webmaster, this field is filled to particular value NEID_NM.
CLIENT_ID The first newly-generated network element ID.
[PARAM] Additional parameter comprises following content: the client network element physical label of 4 byte answer back code (SUCCESS)+16 bytes+optical fiber connects parameter (from network element ID application request).
Agent network element parses groove position and light message breath from the response message message after the response message that receives from ID management server, agent network element can determine to need which network element is this response message sent to like this.In the embodiment of the invention, owing to be at replying that the network element ID application request that first network element sends is carried out, agent network element with this response message, by non-ECC overhead byte carrying, sends to first network element.
First network element is after the response message that receives the agent network element transmission, whether inquiry SESSION_ID and physical label wherein be corresponding with physical label with the SESSION_ID of self, and (first network element is when sending network element ID application request, can write down the SESSION-ID in this network element ID application request and the corresponding relation of self physical label, be convenient to subsequent query), if it is corresponding, then first network element sets the network element ID of first network element according to the CLIENT_ID in this response message, enter normal operating condition, open ECC communication.And first network element can be preserved the sign (being the value in the SERVER_ID field of response message) of the ID management server in the response message, first network element self is arranged to agent network element, the connection that sends corresponding light mouth to all light mouths by non-ECC overhead byte is convenient to the network element application network element ID that all the other are not provided with network element ID to information.
2, situation about directly being connected with ID management server for first network element, ID management server can directly send to first network element with the response message that carries first network element ID.
ID management server sends to the response message at network element ID application request of first network element, can adopt form as shown in Table 4.
First network element is after the response message that receives the agent network element transmission, whether SESSION_ID wherein is corresponding with physical label with the SESSION_ID of self with physical label in inquiry, if it is corresponding, then first network element sets the network element ID of first network element according to the CLIENT_ID in this response message, enter normal operating condition, open ECC communication.And first network element can be preserved the sign (being the value in the SERVER_ID field of response message) of the ID management server in the response message, first network element self is arranged to agent network element, the connection that sends corresponding light mouth to all light mouths by non-ECC overhead byte is convenient to the network element application network element ID that all the other are not provided with network element ID to information.
Flow process through above just can realize the automatic setting of network element ID.For the network element that has in the optical-fiber network, may detect this network element after powering on and be provided with network element ID, owing to can't confirm whether network element has taken place to substitute or shift in position has taken place, so this network element need verify whether existing network element ID is effective to ID management server.
Still be example with first network element, if first network element detects existing one second network element ID of this network element after powering on, then first network element need send network element ID checking request to ID management server, if first network element sends network element ID checking request to agent network element, the form of network element ID checking request can be as shown in Table 5.
The network element ID checking request example that relates in table five, the embodiment of the invention
SESSION_ID 32 random numbers of Sheng Chenging at random.
CMD_ID Order ID is set to CMD_VERIFY_ID.
SERVER_ID The sign of ID management server is filled to 0x00, mails to ID management server by agent network element by ECC.
CLIENT_ID Fill in second network element ID that needs checking herein.
[PARAM] Additional parameter comprises following content: this network element physical label+1 of 16 bytes optical fiber connects parameter (optical fiber that is connected with agent network element be connected to).
Agent network element sends to ID management server with it by the ECC overhead byte after receiving this network element ID checking request.
If first network element directly sends network element ID checking request to ID management server, the form of network element ID checking request can be as shown in Table 5.
ID management server verifies whether second network element ID is effective after receiving network element ID checking request.Have two kinds because ID management server generates the sign of network element: (1) generates the mode in network element ID storehouse in advance; (2) mode that generates automatically at random.At this dual mode, the mode of checking network element ID also has two kinds:
A1, with respect to the network element ID generating mode that generates the network element ID storehouse in advance, after ID management server is receiving network element ID checking request, judge second network element ID to be verified whether with the network element ID storehouse in a certain physical label be connected parameter all corresponding with optical fiber, if corresponding, determine that so this second network element ID is effective; If second network element ID only with the network element ID storehouse in physical label or optical fiber connect to one in the parameter corresponding, or all not corresponding, determine that then this second network element ID is invalid.
A2, with respect to the mode that generates network element ID at random automatically, after ID management server is receiving network element ID checking request, from the network element ID entry of having distributed, search (corresponding relation of the physical label of each network element ID that has distributed of record and network element in the network element ID entry of having distributed), if the physical label of second network element ID and second network element with wherein one fully corresponding, then comprise second network element ID in the network element ID that explanation has distributed, illustrate that this second network element ID is effective.If second network element ID is consistent with the network element ID of a certain item in the network element ID entry, but inconsistent with the physical label in this, then there is network element sign conflict in explanation, illustrates that this second network element ID is invalid.In the network element ID entry, there be not the network element ID identical with second network element ID, there be not the physical label identical with the physical label of second network element yet, illustrate that then the second network element ID corresponding net element is a new network element, and do not have network element sign conflict, second network element ID is effective.
ID management server determine second network element ID effective or invalid after, can directly return the checking results messages by message format as shown in Table 6 to first network element.
The checking results messages that relates in table six, the embodiment of the invention at network element ID checking request
Example
SESSION_ID From network element ID checking request, duplicate SESSION_ID.
CMD_ID Order ID is set to CMD_ACK_ID.
SERVER_ID The network element ID of ID management server self, if ID management server on webmaster, this field is filled to particular value NEID_NM.
CLIENT_ID From network element ID checking request, duplicate second network element ID to be verified.
[PARAM] Additional parameter comprises following content: the physical label of the second network element ID corresponding net element of 4 byte error answer back codes+16 bytes+optical fiber connects (from network element ID checking request); If network element ID to be verified is effective, then the wrong responses sign indicating number is OK, otherwise is the error code of appointment.
In embodiments of the present invention, can transmit the optical fiber link information mutually between each network element, thereby the optical fiber that forms the local terminal network element connects to parameter.For the local terminal network element, if the network element ID of local terminal network element changes, then need to send optical fiber link information (the local terminal network element ID after comprising change in this optical fiber link information) to the opposite end network element, if perhaps initiatively requirement of opposite end network element, then the local terminal network element also needs to send optical fiber and connects parameter to the opposite end network element.
The local terminal network element also can send optical fiber and connect query requests to the opposite end network element, requires to obtain the optical fiber link information.Can guarantee like this each network element the optical fiber link information accurately.
In addition, in ID management server one side, owing to need connect parameter is generated the network element ID storehouse, perhaps need to connect the correctness of parameter being verified network element ID, so ID management server need in time obtain the correct optical fiber link information of each network element according to optical fiber according to optical fiber.ID management server can send query requests to network element, and network element reports self current optical fiber link information to server after receiving query requests.
Be illustrated in figure 3 as ID management server example structure schematic diagram of the present invention, this ID management server comprises that first receiving element 11, the network element ID that connect in turn are provided with the unit 12 and first transmitting element 13; After first receiving element 11 receives network element ID application request from first network element or agent network element, network element ID is provided with unit 12 and generates first network element ID corresponding with the link information of described first network element, perhaps be used to generate with the optical fiber of described first network element and connect the equal network element ID of the first corresponding network element of the physical label of parameter and described first network element, first transmitting element 13 sends to first network element with first network element ID that network element ID is provided with unit 12 generations then.
If adopt the mode that generates the network element ID storehouse in advance to generate network element ID, ID management server so as shown in Figure 3 can also comprise the home banking generation unit, with network element ID unit 12 being set is connected, be used to generate the network element ID storehouse, be provided with for network element ID and use when the unit is provided with 12 network element IDs.
If adopt the mode that generates network element ID at random automatically, ID management server so as shown in Figure 3 can also comprise the sign memory cell has been set, with network element ID unit 12 being set is connected, be used for storage the network element ID entry has been set, described the corresponding relation that the network element ID entry shows the physical label of the network element ID that had been provided with and network element has been set.Like this, network element ID is provided with unit 12 when network element ID is set, just can from being set, the network element ID entry search the identical entry of physical label that whether exists with the network element of desire application network element ID, if exist, the network element that current application network element ID then is described was once applied for network element ID, may be owing to taken place to reset or topology location changes and causes its network element ID to be lost, thus network element ID unit 12 is set can be with the network element ID that finds network element ID as current application network element ID.If there is no, the network element that current application network element ID then is described was not applied for network element ID, so network element ID be provided with unit 12 can generate automatically at random for the network element of current application network element ID one with distributed in the network element identification record item each network element ID all inequality, and is connected with the optical fiber of first network element parameter and the equal corresponding net element of physical label is identified.
Be illustrated in figure 4 as agent network element example structure schematic diagram of the present invention, this agent network element comprises: interconnective second receiving element 21 and second transmitting element 22; If second receiving element 21 receives the network element ID application request that first network element sends, then this network element ID application request is sent to ID management server by the ECC overhead byte by second transmitting element 22; If second receiving element 21 receives the response message that the network element ID application request at the transmission of first network element of ID management server transmission is returned, then second transmitting element 22 is resolved information such as light-emitting window, groove position from this response message, and it is sent to corresponding network element (being specially first network element) by non-ECC overhead byte.
The automatic network element ID setting method that the embodiment of the invention provides, ID management server is set in optical-fiber network, after receiving the network element ID application request that network element sends, generate to be connected the parameter corresponding net element is identified with the optical fiber of first network element, perhaps generate with the optical fiber of first network element and be connected the equal corresponding net element sign of the physical label of the parameter and first network element, can realize like this each network element in the optical-fiber network is provided with sign automatically, even optical-fiber network is upgraded, also can be provided with network element ID automatically by ID management server, and need not manually to be provided with to the scene, improve the maintainability of network, reduced maintenance cost.
It should be noted that at last: above embodiment is only in order to technical scheme of the present invention to be described but not limit it, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, and these modifications or be equal to replacement and also can not make amended technical scheme break away from the spirit and scope of technical solution of the present invention.

Claims (10)

1. an automatic network element ID setting method is characterized in that, comprising:
Receive network element ID application request, the optical fiber that carries first network element of desire application network element ID in the described network element ID application request connects parameter, and the optical fiber that carries first network element of desire application network element ID in the perhaps described network element ID application request connects the physical label to parameter and described first network element;
If carrying the optical fiber of first network element of desire application network element ID in the described network element ID application request connects parameter, then generation is connected the network element ID to corresponding first network element of parameter with the described first network element optical fiber, and described network element ID is sent to described first network element;
Connect physical label if carry the optical fiber of first network element of desire application network element ID in the described network element ID application request to parameter and described first network element, then generate with the optical fiber of described first network element and connect network element ID, and described network element ID is sent to described first network element equal corresponding first network element of the physical label of parameter and described first network element.
2. automatic network element ID setting method according to claim 1 is characterized in that, before receiving network element ID application request, also comprises generating the network element ID storehouse;
Connect parameter if carry the optical fiber of first network element of desire application network element ID in the described network element ID application request, then each network element ID connects corresponding to parameter with an optical fiber in the described network element ID storehouse of Sheng Chenging; Generate with network element ID that the optical fiber of described first network element is connected corresponding first network element of parameter and be specially: from the network element ID storehouse of generation, search and be connected the network element ID of the corresponding network element ID of parameter as described first network element with the optical fiber of described first network element;
Connect physical label to parameter and described first network element if carry the optical fiber of first network element of desire application network element ID in the described network element ID application request, then each network element ID is all corresponding to parameter and physical label with an optical fiber connection in the described network element ID storehouse of Sheng Chenging; Generate with the optical fiber of described first network element connect to the physical label of parameter and described first network element all the network element ID of the first corresponding network element be specially: from the network element ID storehouse of generation, search to be connected parameter and physical representation homogeneous phase corresponding net element identified network element ID as described first network element with the optical fiber of described first network element.
3. automatic network element ID setting method according to claim 1 is characterized in that, generates the network element ID that connects equal corresponding first network element of the physical label of parameter and described first network element with the optical fiber of described first network element and comprises:
Whether exist and the corresponding network element ID of the physical label of described first network element in the network element ID that distributed of inquiry, if exist, then with the network element ID that inquires as first network element ID; If there is no, then generate at random with the physical label of described first network element and is connected with optical fiber, the physical label of first network element ID of generation and described first network element and optical fiber are connected the corresponding relation between the parameter is stored the equal first corresponding network element ID of parameter.
4. according to the described automatic network element ID setting method of arbitrary claim among the claim 1-3, it is characterized in that, if described first network element directly is connected with the ID management server that receives network element ID application request, then described network element ID application request is by non-Embedded Control Channel overhead byte carrying.
5. according to the described automatic network element ID setting method of arbitrary claim among the claim 1-3, it is characterized in that, if described first network element is connected with the ID management server that receives network element ID application request by an agent network element, then receives network element ID application request and specifically comprise:
Described agent network element receives the network element ID application request of described first network element by non-Embedded Control Channel overhead byte carrying;
Described ID management server receives the network element ID application request of described agent network element by the carrying of Embedded Control Channel overhead byte;
Described agent network element is the network element that has been provided with network element ID.
6. an ID management server is characterized in that, comprising:
First receiving element, be used to receive network element ID application request, the optical fiber that carries first network element of desire application network element ID in the described network element ID application request connects parameter, and the optical fiber that carries first network element of desire application network element ID in the perhaps described network element ID application request connects the physical label to parameter and described first network element;
Network element ID is provided with the unit, be connected with described first receiving element, be used to generate first network element ID corresponding, perhaps be used to generate with the optical fiber of described first network element and connect the equal network element ID of the first corresponding network element of the physical label of parameter and described first network element with the link information of described first network element;
First transmitting element is provided with the unit with described network element ID and is connected, and is used for that described network element ID is provided with described first network element ID that the unit generates and sends to described first network element.
7. ID management server according to claim 6 is characterized in that, also comprises:
The home banking generation unit is provided with the unit with described network element ID and is connected, and is used to generate the network element ID storehouse, is provided with for described network element ID and uses when the unit is provided with network element ID; Each network element ID is corresponding to parameter with an optical fiber connection in the described network element ID storehouse, and each network element ID all connects corresponding to parameter and physical label with an optical fiber in the perhaps described network element ID storehouse.
8. ID management server according to claim 6 is characterized in that, also comprises:
The sign memory cell has been set, with described network element ID the unit has been set and is connected, be used for storage the network element ID entry has been set, described the corresponding relation that the network element ID entry shows the physical label of the network element ID that had been provided with and network element has been set;
Described network element ID is provided with the unit when generating network element ID, from the network element ID entry is set, search and whether have the entry identical with the physical label of described first network element, if exist, then network element ID is provided with the unit with the network element ID that the finds network element ID as described first network element; If there is no, then network element ID be provided with the unit be described first network element generate at random one with distributed in the network element identification record item each network element ID all inequality, and is connected with the optical fiber of described first network element parameter and the equal corresponding net element of physical label is identified.
9. an agent network element is characterized in that, comprising:
Second receiving element, be used to receive and apply for the network element ID application request of first network element transmission of network element ID, the optical fiber that carries first network element of desire application network element ID in the described network element ID application request connects parameter, and the optical fiber that carries first network element of desire application network element ID in the perhaps described network element ID application request connects the physical label to parameter and described first network element; The network element ID application that described first network element sends is asked by non-Embedded Control Channel overhead byte carrying; Perhaps described second receiving element is used to receive the response message that ID management server sends, and carries first network element ID that promising described first network element is provided with in the described response message;
Second transmitting element is connected with described second receiving element, and the network element ID application request that is used for receiving from described first network element sends to described ID management server by the Embedded Control Channel overhead byte; The described response message that perhaps is used for receiving from described ID management server sends to described first network element.
10. agent network element according to claim 9 is characterized in that, described agent network element is for being provided with the network element of network element ID.
CN200810239053A 2008-12-05 2008-12-05 Automatic network element ID setting method, ID management server and agent network element Pending CN101754055A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810239053A CN101754055A (en) 2008-12-05 2008-12-05 Automatic network element ID setting method, ID management server and agent network element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810239053A CN101754055A (en) 2008-12-05 2008-12-05 Automatic network element ID setting method, ID management server and agent network element

Publications (1)

Publication Number Publication Date
CN101754055A true CN101754055A (en) 2010-06-23

Family

ID=42480315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810239053A Pending CN101754055A (en) 2008-12-05 2008-12-05 Automatic network element ID setting method, ID management server and agent network element

Country Status (1)

Country Link
CN (1) CN101754055A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102511134A (en) * 2011-11-08 2012-06-20 华为技术有限公司 Optical fiber identification method, optical line terminal and identification system thereof
CN106446355A (en) * 2016-09-07 2017-02-22 青岛海信电器股份有限公司 Instance construction method and device and software system
CN109842520A (en) * 2018-12-27 2019-06-04 华为技术服务有限公司 The determination method, apparatus and system of network topology

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102511134A (en) * 2011-11-08 2012-06-20 华为技术有限公司 Optical fiber identification method, optical line terminal and identification system thereof
WO2012167540A1 (en) * 2011-11-08 2012-12-13 华为技术有限公司 Optical fibre recognition method, optical line terminal and recognition system
CN102511134B (en) * 2011-11-08 2014-06-11 华为技术有限公司 Optical fiber identification method, optical line terminal and identification system thereof
US10454575B2 (en) 2011-11-08 2019-10-22 Huawei Technologies Co., Ltd. Fiber recognition method, optical line terminal, and recognition system
CN106446355A (en) * 2016-09-07 2017-02-22 青岛海信电器股份有限公司 Instance construction method and device and software system
CN106446355B (en) * 2016-09-07 2020-03-20 青岛海信电器股份有限公司 Instance construction method and device and software system
CN109842520A (en) * 2018-12-27 2019-06-04 华为技术服务有限公司 The determination method, apparatus and system of network topology
US11929905B2 (en) 2018-12-27 2024-03-12 Huawei Technologies Co., Ltd. Network topology determining method and apparatus, and system

Similar Documents

Publication Publication Date Title
US6681248B1 (en) Method for port connectivity discovery in transparent high bandwidth networks
CN101848114B (en) Fault detection method and device
CN100512194C (en) Sending and receiving method and system for link aggregation method, device and MAC frame
US8489548B2 (en) Method, system, and device for data synchronization
KR100629592B1 (en) Data processing method for application layer
WO2018202177A1 (en) Method and device for upgrading firmware of zigbee devices
CN111083161A (en) Data transmission processing method and device and Internet of things equipment
CN111164923B (en) Design for unidirectional data transmission
US20110314163A1 (en) Wireless communication network for smart appliances
CN106656534B (en) Data communication method and system
SG187780A1 (en) Method, device and system for transmitting data
CN102665213A (en) Data direct connection processing method, equipment and system thereof
CN112566282B (en) Internet of things information transmission method and platform
CN112910679B (en) Multi-level remote upgrading method for power Internet of things
CN104363181A (en) Traffic transmission control method and device
KR101990480B1 (en) Method, apparatus and system for managing terminal device in passive optical network
CN112994938A (en) Optical network unit upgrading system and method
CN101754055A (en) Automatic network element ID setting method, ID management server and agent network element
CN110018677A (en) A kind of internet of things equipment management system and method
US9762353B2 (en) Data packet for bidirectional transmission of data packets during data transmission between a first and a second communication appliance, and method for transmitting such a data packet
CN106102101A (en) Processing method that a kind of WAP is connected with Radio Access Controller and system
CN105071953A (en) Internet-of-things intelligent equipment firmware and application upgrading method
CN103535075A (en) Mobile device driven information exchange
CN101795186B (en) Linkage disconnecting method, system and equipment
CN102711163A (en) Method for rapidly detecting alarm link failure in IP (internal protocol)-RAN (random access network) equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100623