CN101222359B - Command configuration method in network element - Google Patents

Command configuration method in network element Download PDF

Info

Publication number
CN101222359B
CN101222359B CN2008100008296A CN200810000829A CN101222359B CN 101222359 B CN101222359 B CN 101222359B CN 2008100008296 A CN2008100008296 A CN 2008100008296A CN 200810000829 A CN200810000829 A CN 200810000829A CN 101222359 B CN101222359 B CN 101222359B
Authority
CN
China
Prior art keywords
order
network element
configuration
state
bar
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2008100008296A
Other languages
Chinese (zh)
Other versions
CN101222359A (en
Inventor
梁秀帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008100008296A priority Critical patent/CN101222359B/en
Publication of CN101222359A publication Critical patent/CN101222359A/en
Application granted granted Critical
Publication of CN101222359B publication Critical patent/CN101222359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method for configuring commands in a network element, comprising the following steps that: the network element obtains a sort preset for a plurality of commands to be released, sets a configuration identifier for each command and initializes the status of the configuration identifiers to an unreceived status; the network element receives a plurality of commands, if a command No. N of the plurality of commands received by the network element is the first command, and then the network element changes the status of the configuration identifier corresponding to the command No. N to a received and configured status and releases the first command; otherwise, the network element inspects the status of the configuration identifier corresponding to a command No. N-1 and processes the N command according to the status of a configuration identifier corresponding to the command No. N-1. With the invention, when receiving a command, the network element can conduct configuration according to the sort required by the network element instead of limiting the sort of the commands to be released so as to improve the flexibility to use.

Description

Command configuration method in the network element
Technical field
The present invention relates to a kind of network communications technology field, particularly relate to the network element configuration method in optical transmission field.
Background technology
The configuration of communication traffic at present becomes increasingly complex, and may have relevance between the configuration, and such as the relevance of configuration sequence, promptly many orders of service needed arranged in order as requested just can be finished.In actual conditions, may be because a variety of causes be configured order according to the order of network element requirement, for example may since the user in the operating sequence of webmaster or because network delay etc., like this, it is wrong or unusual to cause network element configuration to occur, influence the operate as normal of network element, also the user is used to bring inconvenience.How guaranteeing that network element can order as requested be configured, be user-friendly to, is an important problem.
With " association " and " configuration " keyword search, following several relevant patent is arranged among the result.
Application number CN00135968 is used for the request scheduling program of automatic software configuration, makes software be applicable to that the field of demand setting is associated at customer location.It is applicable to different system management environment configuration software automatically.The resource that this patent has solved interdependence is configured problem, has covered wide field.
The automatic configuration of application number CN200510134037 ethernet operation management maintenance point, at be the automatic configuration of ethernet operation management maintenance point, be used for coming Maintenance Intermediate Point (MIP) node of Ethernet OAM network is configured based on the absolute level mark and the relative level mark of encoding at OAM (Operations, Administration and Maintenance) frame that generates by maintaining end point (MEP) node.This patent uses the absolute priority mark related with node to encode, and realizes the configuration to MIP.
Application number CN200610057791 is a kind of data collocation system and the method that realizes data configuration, comprise database and data conversion portion, set up the mutual read-write conversion of database data and user's configuration interface, and be used for the solid data of each different editions of fulfillment database and the conversion between the corresponding subscriber data file.This invention is decomposed and has been isolated storage, demonstration, visit and the use of data, has simplified the association between data.
The problem that above patent solves, though relevant with the relevance configuration, do not solve network element configuration associativity problem.
Summary of the invention
Make the present invention according to the problems referred to above, the objective of the invention is to, the command configuration method in a kind of network element is provided.
Command configuration method according in the network element of the present invention may further comprise the steps: network element obtains for many predefined orderings of order that will issue, and for every order is provided with a configuration identifier, and the state of configuration identifier is initialized as the state of not receiving; And network element is received the N bar order in many orders, if the order of N bar is a first command, then network element becomes the state of its pairing configuration identifier and receives and configuration status and first command issued, otherwise network element is checked the state of the pairing configuration identifier of N-1 bar order, and according to the state of the pairing configuration identifier of N-1 bar order to the N bar order handle.
In addition, in the method, the state of configuration identifier comprises the state of not receiving, receive not configuration status and receive and configuration status.
In addition, in the method, network element according to the state of the pairing configuration identifier of N-1 bar order to the N bar order handle and comprise: if the state of the pairing configuration identifier of N-1 bar order for receiving and configuration status, then network element the order of N bar is issued and with the setting state of its pairing configuration identifier for receiving also configuration status.
In addition, in the method, network element according to the state of the pairing configuration identifier of N-1 bar order to the N bar order handle also and comprise: with the setting state of the pairing configuration identifier of N bar order for receive and configuration status after, network element is checked the state of the pairing configuration identifier of N+1 bar order; And if the setting state that is checked through the pairing configuration identifier of N+1 bar order is for receiving not configuration status, then network element issues the order of N+1 bar, with the state of the pairing configuration identifier of N+1 bar order for receiving and configuration status, and make N=N+1, it is rapid to return previous step, wherein, previous step is checked the state of the pairing configuration identifier of N+1 bar order suddenly for network element.
In addition, in the method, network element according to the state of the pairing configuration identifier of N-1 bar order to the N bar order handle and comprise: if the state of the pairing configuration identifier of N-1 bar order is for receiving not configuration status or not receiving state, then network element is preserved the order of N bar, and with the setting state of its pairing configuration identifier for receiving not configuration status.
In addition, in the method, also comprise: network element is received new N bar order, and new N bar order and old N bar order are compared; If new N bar order and old N bar order are inconsistent, then network element is updated to new N bar order with old N bar order, and keeps the state of its pairing configuration identifier constant.
In addition, in the method, also comprise: if the state of the configuration identifier that is kept is for receiving and configuration status that then network element issues new N bar order.
By above-mentioned aspect of the present invention, when network element receives order, can be configured, and the order of transmitting order to lower levels is not limited according to the order that network element requires, can improve the use flexibility.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 shows the flow chart according to the command configuration method in the network element of the embodiment of the invention;
Fig. 2 shows the flow chart of the command configuration method in according to another embodiment of the present invention the network element;
Fig. 3 shows the schematic diagram according to the configuration identifier state variation of the embodiment of the invention; And
Fig. 4 shows the schematic diagram according to the command configuration method in the network element of further embodiment of this invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 1 shows the flow chart according to the command configuration method in the network element of the embodiment of the invention.
As shown in Figure 1, may further comprise the steps: step S102, network element obtain for many predefined orderings of order that will issue, and for every order is provided with a configuration identifier, and the state of configuration identifier are initialized as the state of not receiving; And step S104, network element is received the N bar order in many orders, if the order of N bar is a first command, then network element becomes the state of its pairing configuration identifier and receives and configuration status and first command issued, otherwise network element is checked the state of the pairing configuration identifier of N-1 bar order, and according to the state of the pairing configuration identifier of N-1 bar order to the N bar order handle.
In addition, in the method, the state of configuration identifier comprises the state of not receiving, receive not configuration status and receive and configuration status.
In addition, in the method, network element according to the state of the pairing configuration identifier of N-1 bar order to the N bar order handle and comprise: if the state of the pairing configuration identifier of N-1 bar order for receiving and configuration status, then network element the order of N bar is issued and with the setting state of its pairing configuration identifier for receiving also configuration status.
In addition, in the method, network element according to the state of the pairing configuration identifier of N-1 bar order to the N bar order handle also and comprise: with the setting state of the pairing configuration identifier of N bar order for receive and configuration status after, network element is checked the state of the pairing configuration identifier of N+1 bar order; And if the state that is checked through the pairing configuration identifier of N+1 bar order is for receiving not configuration status, then network element issues the order of N+1 bar, the state of the pairing configuration identifier of N+1 bar order for receiving and configuration status, and is made N=N+1, and it is rapid to return previous step.
In addition, in the method, network element according to the state of the pairing configuration identifier of N-1 bar order to the N bar order handle and comprise: if the state of the pairing configuration identifier of N-1 bar order is for receiving not configuration status or not receiving state, then network element is preserved the order of N bar, and with the setting state of its pairing configuration identifier for receiving not configuration status.
In addition, in the method, also comprise: network element is received new N bar order, and new N bar order and old N bar order are compared; If new N bar order and old N bar order are inconsistent, then network element is updated to new N bar order with old N bar order, and keeps the state of its pairing configuration identifier constant.
In addition, in the method, also comprise: if the state of the configuration identifier that is kept is for receiving and configuration status that then network element issues new N bar order.
Fig. 2 shows the flow chart of the command configuration method in according to another embodiment of the present invention the network element.Fig. 3 shows the schematic diagram according to the configuration identifier state variation of the embodiment of the invention.Fig. 4 shows the schematic diagram according to the command configuration method in the network element of further embodiment of this invention.
Be described in detail below in conjunction with Fig. 2, Fig. 3 and Fig. 4.
In this embodiment, suppose that network element needs five configuration orders, according to the order that network element need issue, order is made as order 1, order 2, order 3, order 4 and orders 5.Network element is changed to the sign of each command code correspondence and does not receive orders when initialization.
One. suppose that the command sequences that webmaster issues is order 2, order 1, order 5, order 3 and orders 4.Its implementation procedure following (seeing Fig. 4 ()):
Network element receives orders after 2, checks be masked as " not receiving orders " of order 2, and the configuration of hold-over command 2 then, checks that configuration is not received in 2 last order 1, and the sign of order 2 is changed to " not receiving configuration ".
Network element receives orders after 1, being masked as of order 1 " not receiving orders ", and the configuration of hold-over command 1 checks that then order 1 is a first command, thus directly issue configuration, and sign is changed to " receive and dispose ".Then, check be masked as " not receiving configuration " of order 2,, and will order 2 sign to be changed to " receive and dispose " with regard to the configuration of transmitting order to lower levels 2.That checks order 3 is masked as " not receiving orders ", inoperation.
Network element receives orders after 5, checks be masked as " not receiving orders " of order 5, and the configuration of hold-over command 5 then, checks that 5 last order-order 4 do not received, orders 5 not dispose, and its sign is changed to " do not receive and dispose ".
Network element receives orders after 3, checks be masked as " not receiving orders " of order 3, and the configuration of hold-over command 3 then, checks that order 2 is masked as " receive and dispose ", with regard to the configuration of transmitting order to lower levels 3, puts and is masked as " receive and dispose ".The sign of checking order 4 is changed to " not receiving orders ", inoperation.
Receive orders after 4, check be masked as " not receiving orders " of order 4, the configuration of hold-over command 4 then, checks that last order-order 3 is " receive and dispose ", with regard to the configuration of transmitting order to lower levels 4, puts and is masked as " receive and dispose ".The sign of checking order 5 is changed to " not receiving configuration ", the configuration of transmitting order to lower levels 5, and the sign of revising order 5 is changed to " receive and dispose ".
So far, whole five orders are all finished dealing with.
Two. supposing has repeated configuration in the order that webmaster issues, and order is for order 2, order 1, order 2, order 5, order 3, order 5 and order 4 (seeing Fig. 4 (two)).
Order 2 is identical with above-mentioned processing () with order 1 processing, receives orders the second time after 2, handles as follows:
Network element receives orders 2, checks being masked as of order 2 " receive and dispose ", if order 2 the renewal of disposing, then preserves new configuration, and issues, and indicates constant.
Identical among order 5 and order 3 and the embodiment 1, receive orders after 5 the second time, following processing:
Network element receives orders 5, checks be masked as " receiving not configuration " of order 5, upgrades the configuration of hold-over command 5 if order changes, inoperation.
Order 4 situations identical with first kind of situation.
So far, whole five orders are all finished dealing with.
In sum,, when network element receives order, can be configured, and the order of transmitting order to lower levels is not limited, can improve the use flexibility according to the order that network element requires by the present invention.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. the command configuration method in the network element is characterized in that, may further comprise the steps:
Network element obtains for many predefined orderings of order that will issue, and for every order is provided with a configuration identifier, and the state of described configuration identifier is initialized as the state of not receiving; And
Described network element is received the N bar order in described many orders, if the order of described N bar is a first command, then described network element becomes the state of its pairing configuration identifier to be received and configuration status and described first command issued, otherwise described network element is checked the state of the pairing configuration identifier of N-1 bar order, and according to the state of the pairing configuration identifier of described N-1 bar order to described N bar order handle.
2. the command configuration method in the network element according to claim 1 is characterized in that, the state of described configuration identifier comprises describedly not to be received state, receive not configuration status and receive and configuration status.
3. the command configuration method in the network element according to claim 2 is characterized in that, described network element according to the state of the pairing configuration identifier of described N-1 bar order to described N bar order handle and comprise:
If the state of the pairing configuration identifier of described N-1 bar order is described receives and configuration status, then described network element issues the order of described N bar and is the described also configuration status of receiving with the setting state of its pairing configuration identifier.
4. the command configuration method in the network element according to claim 3 is characterized in that, described network element according to the state of the pairing configuration identifier of described N-1 bar order to described N bar order handle also and comprise:
The setting state with the pairing configuration identifier of described N bar order be described receive and configuration status after, described network element is checked the state of the pairing configuration identifier of N+1 bar order; And
If be checked through the state of the pairing configuration identifier of described N+1 bar order is the described not configuration status of receiving, then described network element issues the order of described N+1 bar, with the setting state of the pairing configuration identifier of described N+1 bar order is described receiving and configuration status, and make N=N+1, it is rapid to return previous step, wherein, described previous step is suddenly for checking the state of the pairing configuration identifier of described N+1 bar order.
5. the command configuration method in the network element according to claim 2 is characterized in that, described network element according to the state of the pairing configuration identifier of described N-1 bar order to described N bar order handle and comprise:
If the state of the pairing configuration identifier of described N-1 bar order is describedly to receive not configuration status or do not receive state, then described network element is preserved described N bar order, and is the described not configuration status of receiving with the setting state of its pairing configuration identifier.
6. the command configuration method in requiring according to aforesaid right in each described network element is characterized in that, also comprises:
Described network element is received new N bar order, and described new N bar order and old N bar order are compared;
If described new order of N bar and described old N bar order are inconsistent, then described network element is updated to described new N bar order with described old N bar order, and keeps the state of its pairing configuration identifier constant.
7. the command configuration method in the network element according to claim 6 is characterized in that, also comprises:
If the state of the configuration identifier that is kept is described receiving and configuration status, then described network element issues described new N bar order.
CN2008100008296A 2008-01-22 2008-01-22 Command configuration method in network element Active CN101222359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100008296A CN101222359B (en) 2008-01-22 2008-01-22 Command configuration method in network element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100008296A CN101222359B (en) 2008-01-22 2008-01-22 Command configuration method in network element

Publications (2)

Publication Number Publication Date
CN101222359A CN101222359A (en) 2008-07-16
CN101222359B true CN101222359B (en) 2011-11-23

Family

ID=39631950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100008296A Active CN101222359B (en) 2008-01-22 2008-01-22 Command configuration method in network element

Country Status (1)

Country Link
CN (1) CN101222359B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102742215B (en) 2012-02-17 2015-01-07 华为技术有限公司 Method and device for clearing configuration command in communication equipment
CN105790982A (en) * 2014-12-22 2016-07-20 中兴通讯股份有限公司 Cross setting processing method and device
EP3297220B1 (en) 2015-06-10 2019-04-17 Huawei Technologies Co. Ltd. Signal transmission method, controller and signal transmission system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004073326A2 (en) * 2003-02-09 2004-08-26 Structured Materials Industries, Inc. Smart portable detector and microelectronic radiation detector
CN1815974A (en) * 2005-02-06 2006-08-09 华为技术有限公司 Method and system for duplicating and recovering network element configuration data
CN1889462A (en) * 2006-07-21 2007-01-03 华为技术有限公司 Method and system for realizing network management and network element configuration operation
CN1968136A (en) * 2006-04-20 2007-05-23 华为技术有限公司 Management information base-based network element configuration parameter mapping method and parameter operation method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004073326A2 (en) * 2003-02-09 2004-08-26 Structured Materials Industries, Inc. Smart portable detector and microelectronic radiation detector
CN1815974A (en) * 2005-02-06 2006-08-09 华为技术有限公司 Method and system for duplicating and recovering network element configuration data
CN1968136A (en) * 2006-04-20 2007-05-23 华为技术有限公司 Management information base-based network element configuration parameter mapping method and parameter operation method
CN1889462A (en) * 2006-07-21 2007-01-03 华为技术有限公司 Method and system for realizing network management and network element configuration operation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CN 1889462 A,全文.

Also Published As

Publication number Publication date
CN101222359A (en) 2008-07-16

Similar Documents

Publication Publication Date Title
CN101729594B (en) Remote configuration control method and system
US20150052223A1 (en) System and method for determining effective policy profiles in a client-server architecture
CN103209223A (en) Distributed application conversation information sharing method and system and application server
CN101083608A (en) Method for enquiring node information of equipment management tree and its terminal equipment
CN102013994B (en) Method, terminal and system for implementing network element version compatibility in network management
CN100395987C (en) Method and system for realizing telecommunication network universal performance management
CN111083058B (en) Content distribution network service flow limiting method and electronic equipment
CN102333108A (en) Distributed cache synchronization system and method
CN102014320B (en) Method for uploading and downloading local side device configuration data in PON (passive optical network) system
CN112416969A (en) Parallel task scheduling system in distributed database
CN104881454A (en) Updating method and system of parameter
CN101222359B (en) Command configuration method in network element
FI120286B (en) A method and device arrangement for managing a server-client environment
US8037160B2 (en) Method and device arrangement for managing a user application/device management server/client device environment
CN104580428A (en) Data routing method, data management device and distributed storage system
CN107305497A (en) Version upgrading method and device
CA2605366C (en) Wireless gateway server
US10027754B2 (en) Large data set updating for network usage records
CN100423492C (en) Management information base processing method
CN111045928A (en) Interface data testing method, device, terminal and storage medium
CN114020368A (en) Information processing method and device based on state machine and storage medium
CN109542841A (en) The method and terminal device of data snapshot are created in cluster
JP5380999B2 (en) A state-dependent data maintenance system for multiple functional entities
AU2009349406B2 (en) Method for managing configuration information of outsourced part, and method and system for managing alarm
CN101188536B (en) Method and management system for managing status resource in home network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant