CN102215120A - Data processing method and system for network element - Google Patents

Data processing method and system for network element Download PDF

Info

Publication number
CN102215120A
CN102215120A CN2010102402472A CN201010240247A CN102215120A CN 102215120 A CN102215120 A CN 102215120A CN 2010102402472 A CN2010102402472 A CN 2010102402472A CN 201010240247 A CN201010240247 A CN 201010240247A CN 102215120 A CN102215120 A CN 102215120A
Authority
CN
China
Prior art keywords
order
data
source
delete
dependence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010102402472A
Other languages
Chinese (zh)
Other versions
CN102215120B (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.)
Nanjing Zhongxing Software Co Ltd
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 CN201010240247.2A priority Critical patent/CN102215120B/en
Publication of CN102215120A publication Critical patent/CN102215120A/en
Application granted granted Critical
Publication of CN102215120B publication Critical patent/CN102215120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a data processing method for a network element. The data processing method comprises the following steps of: searching for a relationship command of a command corresponding to data to be deleted, determining the type of the relationship command, and judging whether the relationship command has the corresponding data or not; and performing processing according to preset rules according to a judgment result and the type of the relationship command. The invention also discloses a data processing system for the network element. In the method and the system, the relationship command of the command corresponding to the data to be deleted, and is judged whether to have the corresponding data or not, and the processing is performed according to the judgment result so as to realize centralized management over the commands, make the consistency of the data in the network element independent of network management and bring convenience to maintenance and extension.

Description

Data processing method and system in a kind of network element
Technical field
The present invention relates to a kind of transmission equipment, relate in particular to interior data processing method of network element and system in a kind of transmission equipment.
Background technology
User's management for convenience, the transmission product correspondence has been developed the webmaster product, is used for the transmission equipment and the transmission network of network are managed.The user comes element configuration data by webmaster, thereby reaches the purpose of managed network element.
Have dependence between the common user configured data, dependence promptly orders B to depend on order A, is defined as follows: suppose that order B is for creating the tunnel, order A is for creating port, when the tunnel X process of order B establishment was ordered the port Y of A establishment, if deletion Y, X deleted in necessary elder generation.Have incidence relation between the user configured data simultaneously, promptly order D to be associated with order C, be defined as follows: suppose that order C is the plate order, D is for being provided with the order of veneer base attribute in order, when having increased veneer X by order C, be provided with the base attribute Y of veneer Z then by the D order, behind the deletion veneer X, need Y is deleted.
Owing to have two kinds of relations of foregoing description between the data, be easy to cause the inconsistency and the integrality of data in the network element.The consistency and the integrality that how to guarantee data in the network element are the problems that we press for solution.
Summary of the invention
The objective of the invention is at the deficiencies in the prior art, provide a kind of interior data of network element that guarantee to have the interior data processing method of network element and the system of consistency and integrality.
For achieving the above object, the present invention has adopted following technical scheme: data processing method in a kind of network element comprises:
Search the data correspondence that will delete order concern order, determine the described order kind that concerns, judge describedly to concern whether order exists corresponding data;
According to judged result and the described order kind that concerns, handle by pre-defined rule.
The described order kind that concerns comprises dependence order and incidence relation order.
Described method also comprises: definition allocation list structure is used to deposit dependence and/or incidence relation between the order; The definition chained list is the source order with the order of the data correspondence that will delete, adds up the purpose order that has dependence in the described allocation list structure with the order of described source, forms the first configuration information structure, is inserted in the described chained list; There are the purpose order of incidence relation in statistics and the order of described source, form the second configuration information structure, are inserted in the described chained list.
Described order of searching the data correspondence that will delete concern order, determine the described order kind that concerns, judge and describedly concern whether order exists corresponding data specifically to comprise: the purpose order of searching the order of described source in described chained list, when order of described source and purpose order concern that the order kind is dependence the time, judging with the source order has the purpose order of dependence whether to have corresponding data; According to judged result and the described order kind that concerns, handle by pre-defined rule and to comprise:, delete the described data that will delete if having the purpose order of dependence not have corresponding data with the source order; Otherwise, do not delete the described data that will delete.
Described order of searching the data correspondence that will delete concern order, determine the described order kind that concerns, judge and describedly concern whether order exists corresponding data also to comprise: the purpose order of searching the order of described source in described chained list, when order of described source and purpose order concern that the order kind is incidence relation the time, judge whether the purpose order with the relevant relation of source order exists corresponding data; Described according to judged result and the described order kind that concerns, handle also by pre-defined rule and to comprise: after deleting the described data that will delete, if with the purpose order of the relevant relation of source order corresponding data is arranged, deletes the corresponding data of the purpose order of described and the relevant relation of source order.
Data handling system in a kind of network element comprises judge module and processing module; Described judge module be used to search the data correspondence that will delete order concern order, determine the described order kind that concerns, judge describedly to concern whether order exists corresponding data; Described processing module is used for handling by pre-defined rule according to judged result and the described order kind that concerns.
The described order kind that concerns comprises dependence order and incidence relation order.
Also comprise Registering modules, described Registering modules is used to define the allocation list structure, deposits dependence and/or incidence relation between the order; The definition chained list is the source order with the order of the data correspondence that will delete, adds up the purpose order that has dependence in the described allocation list structure with the order of described source, forms the first configuration information structure, is inserted in the described chained list; Described Registering modules also is used to add up the purpose order that has incidence relation with the order of described source, forms the second configuration information structure, is inserted in the described chained list.
Described judge module also is used for searching at described chained list the purpose order of described source order, when order of described source and purpose order concern that the order kind is dependence the time, judging with the source order has the purpose order of dependence whether to have corresponding data; Described processing module also is used for deleting the described data that will delete when having the purpose order of dependence not have corresponding data with the source order, when having the purpose order of dependence that corresponding data is arranged with the source order, does not then delete the described data that will delete.
Described judge module also is used for searching at described chained list the purpose order of described source order, when order of described source and purpose order concern that the order kind is incidence relation the time, judge whether the purpose order with the relevant relation of source order exists corresponding data; Described processing module also is used for as if the purpose order with the relevant relation of source order corresponding data being arranged after the described data that will delete of deletion, deletes the corresponding data of the purpose order of described and the relevant relation of source order.
Owing to adopted above technical scheme, the beneficial effect that the present invention is possessed is:
(1) in the specific embodiment of the present invention, order by searching the data correspondence that will delete concern order, judge whether it exists corresponding data, and handle according to judged result, the present invention manages concentratedly order, make the interior data consistency of network element not rely on webmaster, be convenient to maintenance and expansion.
(2) in the specific embodiment of the present invention, the order of dependence is arranged by the order of searching the data correspondence that will delete, if this has the order of dependence to have corresponding data, then do not delete the data that this will be deleted, network element interior consistency and integrality have been guaranteed in the configuration data process for the data that have dependence.
(3) in the specific embodiment of the present invention, after the data that deletion will be deleted, also search the order of the order relevant relation corresponding with the data of this deletion, if there are corresponding data in the order of this relevant relation, then delete the pairing data of order of this relevant relation, guarantee to exist in the network element consistency and the integrality of the data of incidence relation, thereby further guaranteed the consistency and the integrality of data in the network element.
Description of drawings
Fig. 1 illustrates the structural representation in a kind of embodiment of system of the present invention;
Fig. 2 illustrates the structural representation in the another kind of embodiment of system of the present invention;
Fig. 3 illustrates the flow chart of a kind of execution mode in the inventive method;
Fig. 4 illustrates the flow chart of another kind of execution mode in the inventive method;
Fig. 5 illustrates the flow chart of a kind of embodiment in the inventive method.
Embodiment
In conjunction with the accompanying drawings the present invention is described in further detail below by embodiment.
As shown in Figure 1 and Figure 2, data handling system in a kind of network element of the present invention, its a kind of execution mode comprises judge module and processing module; Judge module be used to search the data correspondence that will delete order concern order, determine relation order kind, judge whether the relation order exists corresponding data; Processing module is used for handling by pre-defined rule according to judged result.
In one embodiment, relation order kind comprises dependence order and incidence relation order.
In one embodiment, system of the present invention also comprises Registering modules, and Registering modules is used to define the allocation list structure, deposits dependence and/or incidence relation between the order; The definition chained list is the source order with the order of the data correspondence that will delete, has the purpose order of dependence in the statistics allocation list structure with the source order, forms the first configuration information structure, is inserted in the chained list as node; Registering modules also is used to add up the purpose order that has incidence relation with the source order, forms the second configuration information structure, is inserted in the chained list as node.
In a kind of embodiment, this allocation list structure is defined as follows:
Relationship type The source order Source order contact field The purpose order Purpose order contact field
Wherein, relationship type represents it is dependence or incidence relation between the two, and the order of the data correspondence that delete is the source order, and having the order of dependence or incidence relation with the order of described source is the purpose order.The source order is relied on and dependence or associated and related relation with the purpose order.Two orders simultaneously rely on mutually by certain field or a plurality of field or association, have therefore also defined source order contact field and two attributes of purpose order contact field.
For example relationship type is for relying on, order A in source is newly-increased veneer order, purpose order B is the order that this property of single plate is set, source order A and purpose order B can connect by the veneer address, source order contact field is exactly the veneer address among the source order A, and purpose order contact field is exactly the veneer address among the purpose order B.
Registering modules is chained list of definable also, will have the order of dependence to form the first configuration information structure, is registered in this chained list with joint form.The first configuration information structure is defined as follows:
Dependence The source order The purpose order number that relies on mutually with the source order Concrete related information
The 4th field of this structure is to deposit concrete related information with the form of array, and the member of array is the allocation list structure.
Order with relevant relation forms the second configuration information structure again, is registered in this chained list with joint form.The second configuration information structure is defined as follows:
Incidence relation The source order The purpose order number that is associated with the source order Concrete related information
The 4th field of this structure is to deposit concrete related information with the form of array, and the member of array is the allocation list structure.
Judge module also is used in the purpose order of searching the source order in the chained list, when source order and purpose order concern that the order kind is dependence the time, judging with the source order has the purpose order of dependence whether to have corresponding data; Processing module also is used for when having the purpose order of dependence not have corresponding data with the source order, and the data that deletion will be deleted when having the purpose order of dependence that corresponding data is arranged with the source order, are not then deleted the described data that will delete, the end process flow process.
Judge module also is used in the purpose order of searching the source order in the chained list, when source order and purpose order concern that the order kind is incidence relation the time, judge whether the purpose order with the relevant relation of source order exists corresponding data; Processing module also is used for after the data that will delete of deletion, if with the purpose order of the relevant relation of source order corresponding data is arranged, deletes the corresponding data of the purpose order of this and the relevant relation of source order.
Data processing method in a kind of network element of the present invention, its a kind of execution mode as shown in Figure 3, may further comprise the steps:
Step 302: search the data correspondence that will delete order concern order, determine the described order kind that concerns, judge describedly to concern whether order exists corresponding data.
Step 304:, handle by pre-defined rule according to judged result and the described order kind that concerns.
As shown in Figure 4, data processing method in a kind of network element of the present invention, its another kind of execution mode may further comprise the steps:
Step 402: beginning flow process;
Step 404: registration dependence; Registering modules definition allocation list structure and chained list, the allocation list structure is in order to deposit the dependence between the order, order with the data correspondence that will delete is the source order, there is the purpose order of dependence in the statistics allocation list structure with the order of described source, form the first configuration information structure, be inserted in the chained list as node;
Step 406: are there corresponding data in the order that concerns of the order of the data correspondence that delete? after the data data that obtain to delete by configuration, order with the correspondence of these data is the source order, in the chained list of Registering modules definition, find and concern that kind is the configuration information structure of dependence, judge that there is the order of dependence in the order corresponding with the data that will delete, are there corresponding data? be, change step 408, do not change step 410;
Step 408: the data that deletion will be deleted;
Step 410: process ends.
In another embodiment, also further comprise in the step 404:
Registering modules is the source order with the order of the data correspondence that will delete, has the purpose order of incidence relation in the statistics allocation list structure with the order of described source, forms the second configuration information structure, is inserted in the chained list as node;
Further comprising the steps of after the step 408:
Step S02: the order with the correspondence of deleted data is the source order, finds to concern that kind is the configuration information structure of incidence relation in the chained list of Registering modules definition;
Step S04: the purpose order of traversal and the relevant relation of this source order, search the data whether this purpose order correspondence is arranged in the NE database by contact field, if having, then the data of this purpose order correspondence are deleted.
As shown in Figure 5, in data processing method in a kind of network element of the present invention, the flow chart whether data that judgement will be deleted can delete may further comprise the steps:
Step 502: beginning flow process;
Step 504: search the order that the order corresponding with the data that will delete is dependence; Order with the data correspondence that will delete is the source order, is the purpose order with the source order order of dependence to be arranged, and searches the purpose order in the node of the first configuration information structure in chained list;
Step 506: traveling through has the purpose order of dependence with this delete command in the first configuration information structure;
Step 508: the data of searching this purpose order correspondence; According to the field that interrelates, search the pairing data of purpose order that dependence is arranged with the source order;
Step 510: are there corresponding data in the purpose order? judge whether this purpose order exists corresponding data,, change step 512,, change step 514 if do not exist if exist;
Step 512: put error code; Put error code, change step 518,, can not delete its corresponding data for the source order of the purpose order correspondence of putting error code;
Step 514: the next purpose order that dependence is arranged of traversal;
Does step 516: traversal finish? judge whether that traversal finishes,, change step 518 if finish; Otherwise change step 508;
Step 518: finish.
Above content be in conjunction with concrete execution mode to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (10)

1. the interior data processing method of network element is characterized in that, comprising:
Search the data correspondence that will delete order concern order, determine the described order kind that concerns, judge describedly to concern whether order exists corresponding data;
According to judged result and the described order kind that concerns, handle by pre-defined rule.
2. data processing method in the network element as claimed in claim 1 is characterized in that the described order kind that concerns comprises dependence order and incidence relation order.
3. data processing method in the network element as claimed in claim 2 is characterized in that described method also comprises:
Definition allocation list structure is used to deposit dependence and/or incidence relation between the order;
The definition chained list is the source order with the order of the data correspondence that will delete, adds up the purpose order that has dependence in the described allocation list structure with the order of described source, forms the first configuration information structure, is inserted in the described chained list; There are the purpose order of incidence relation in statistics and the order of described source, form the second configuration information structure, are inserted in the described chained list.
4. data processing method in the network element as claimed in claim 3 is characterized in that, described order of searching the data correspondence that will delete concern order, determine the described order kind that concerns, judge describedly concern whether order exists corresponding data specifically to comprise:
In described chained list, search the purpose order of described source order, when order of described source and purpose order concern that the order kind is dependence the time, judging with the source order has the purpose order of dependence whether to have corresponding data;
According to judged result and the described order kind that concerns, handle by pre-defined rule and to comprise:
If have the purpose order of dependence not have corresponding data, delete the described data that will delete with the source order; Otherwise, do not delete the described data that will delete.
5. data processing method in the network element as claimed in claim 4 is characterized in that, described order of searching the data correspondence that will delete concern order, determine the described order kind that concerns, judge describedly concern whether order exists corresponding data also to comprise:
In described chained list, search the purpose order of described source order, when order of described source and purpose order concern that the order kind is incidence relation the time, judge whether the purpose order with the relevant relation of source order exists corresponding data;
Described according to judged result and the described order kind that concerns, handle also by pre-defined rule and to comprise:
After deleting the described data that will delete, corresponding data is arranged, delete the corresponding data of the purpose order of described and the relevant relation of source order as if purpose order with the relevant relation of source order.
6. the interior data handling system of network element is characterized in that, comprises judge module and processing module; Described judge module be used to search the data correspondence that will delete order concern order, determine the described order kind that concerns, judge describedly to concern whether order exists corresponding data; Described processing module is used for handling by pre-defined rule according to judged result and the described order kind that concerns.
7. data handling system in the network element as claimed in claim 6 is characterized in that the described order kind that concerns comprises dependence order and incidence relation order.
8. data handling system in the network element as claimed in claim 7 is characterized in that also comprise Registering modules, described Registering modules is used to define the allocation list structure, deposits dependence and/or incidence relation between the order; The definition chained list is the source order with the order of the data correspondence that will delete, adds up the purpose order that has dependence in the described allocation list structure with the order of described source, forms the first configuration information structure, is inserted in the described chained list; Described Registering modules also is used to add up the purpose order that has incidence relation with the order of described source, forms the second configuration information structure, is inserted in the described chained list.
9. data handling system in the network element as claimed in claim 8, it is characterized in that, described judge module also is used for searching at described chained list the purpose order of described source order, when order of described source and purpose order concern that the order kind is dependence the time, judging with the source order has the purpose order of dependence whether to have corresponding data; Described processing module also is used for deleting the described data that will delete when having the purpose order of dependence not have corresponding data with the source order, when having the purpose order of dependence that corresponding data is arranged with the source order, does not then delete the described data that will delete.
10. data handling system in the network element as claimed in claim 9, it is characterized in that, described judge module also is used for searching at described chained list the purpose order of described source order, when order of described source and purpose order concern that the order kind is incidence relation the time, judge whether the purpose order with the relevant relation of source order exists corresponding data; Described processing module also is used for as if the purpose order with the relevant relation of source order corresponding data being arranged after the described data that will delete of deletion, deletes the corresponding data of the purpose order of described and the relevant relation of source order.
CN201010240247.2A 2010-07-29 2010-07-29 Data processing method and system for network element Active CN102215120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010240247.2A CN102215120B (en) 2010-07-29 2010-07-29 Data processing method and system for network element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010240247.2A CN102215120B (en) 2010-07-29 2010-07-29 Data processing method and system for network element

Publications (2)

Publication Number Publication Date
CN102215120A true CN102215120A (en) 2011-10-12
CN102215120B CN102215120B (en) 2014-06-11

Family

ID=44746261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010240247.2A Active CN102215120B (en) 2010-07-29 2010-07-29 Data processing method and system for network element

Country Status (1)

Country Link
CN (1) CN102215120B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878068A (en) * 2017-01-24 2017-06-20 新华三技术有限公司 A kind of configuring management method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046822A (en) * 2006-03-31 2007-10-03 Sap股份公司 Centralized management of data nodes
US20070233861A1 (en) * 2006-03-31 2007-10-04 Lucent Technologies Inc. Method and apparatus for implementing SMS SPAM filtering
CN101651565A (en) * 2009-09-16 2010-02-17 中兴通讯股份有限公司 Cancel recovering method and device by human-computer commands

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046822A (en) * 2006-03-31 2007-10-03 Sap股份公司 Centralized management of data nodes
US20070233861A1 (en) * 2006-03-31 2007-10-04 Lucent Technologies Inc. Method and apparatus for implementing SMS SPAM filtering
CN101651565A (en) * 2009-09-16 2010-02-17 中兴通讯股份有限公司 Cancel recovering method and device by human-computer commands

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878068A (en) * 2017-01-24 2017-06-20 新华三技术有限公司 A kind of configuring management method and device
CN106878068B (en) * 2017-01-24 2020-05-12 新华三技术有限公司 Configuration management method and device

Also Published As

Publication number Publication date
CN102215120B (en) 2014-06-11

Similar Documents

Publication Publication Date Title
CN103365929B (en) The management method of a kind of data base connection and system
CN101640613B (en) Method and device for network resource relating management
CN109150640A (en) A kind of method for discovering network topology and system based on double layer network agreement
CN103049521B (en) Virtual table directory system and the method for many attributes multiple condition searching can be realized
CN103514229A (en) Method and device used for processing database data in distributed database system
CN106126601A (en) A kind of social security distributed preprocess method of big data and system
CN104301233A (en) Route access method, route access system and user terminal
CN104216962A (en) Mass network management data indexing design method based on HBase
CN104504010B (en) The data collecting system and its acquisition method of a kind of multi-to-multi
CN105405070A (en) Distributed memory power grid system construction method
CN104268298A (en) Method for creating database index and inquiring data
CN103678583A (en) Method and system for comparing structural data
Kan et al. Topology modeling and analysis of a power grid network using a graph database
CN104408044A (en) File access method and system
CN105426375A (en) Relationship network calculation method and apparatus
CN102567505A (en) Distributed database and data manipulation method
KR101955376B1 (en) Processing method for a relational query in distributed stream processing engine based on shared-nothing architecture, recording medium and device for performing the method
CN104965846B (en) Visual human's method for building up in MapReduce platform
CN104298761A (en) Implementation method for master data matching between heterogeneous software systems
CN105138638A (en) Database distribution method based on application layer
CN103793401B (en) Set up the method and device of the shared index of multiple database table
CN104657385A (en) Search method and device of node
CN105260465A (en) Graph data processing service method and apparatus
CN102215120B (en) Data processing method and system for network element
CN111737655A (en) User authority management method, system and storage medium of cloud management platform

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
TR01 Transfer of patent right

Effective date of registration: 20200729

Address after: 210012 Nanjing, Yuhuatai District, South Street, Bauhinia Road, No. 68

Patentee after: Nanjing Zhongxing New Software Co.,Ltd.

Address before: 518057 Zhongxing building, science and technology south road, Nanshan District Science Park, Guangdong, Shenzhen

Patentee before: ZTE Corp.

TR01 Transfer of patent right