CN108173688A - A kind of management method of the networking configuration content based on tree and version number - Google Patents

A kind of management method of the networking configuration content based on tree and version number Download PDF

Info

Publication number
CN108173688A
CN108173688A CN201711439068.XA CN201711439068A CN108173688A CN 108173688 A CN108173688 A CN 108173688A CN 201711439068 A CN201711439068 A CN 201711439068A CN 108173688 A CN108173688 A CN 108173688A
Authority
CN
China
Prior art keywords
configuration
node
tree
new
version number
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
CN201711439068.XA
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.)
CETC 54 Research Institute
Original Assignee
CETC 54 Research Institute
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 CETC 54 Research Institute filed Critical CETC 54 Research Institute
Priority to CN201711439068.XA priority Critical patent/CN108173688A/en
Publication of CN108173688A publication Critical patent/CN108173688A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention discloses a kind of management method of the networking configuration content based on tree and version number.Configuration file is carried out tissue by configuration software for editing in the form of a tree by service logic relationship, the influence to communication network.The node each set is respectively provided with a version number.For each node, the judgment basis changed is, if it is leafy node, the content of the node changes;If not leafy node, then when the node increases new child node, deletes child node or has the child node to change.The new configuration of generation, all nodes changed can be marked as new version number every time.Configuration performs software when receiving new configuration, obtains the difference with legacy version configuration with the order traversal of depth-first and performs corresponding operating.

Description

A kind of management method of the networking configuration content based on tree and version number
Technical field
The present invention relates to fields of communication technology, are related to a kind of organizational form of satellite communications net network configuration.
Background technology
In the networking process of satellite communications net, a set of networking is needed to be configured, networking configuration content can according to different net systems and It is different, generally comprise satellite resource, device resource and business configuration parameter.
When configuration, which performs software, receives new configuration, need quickly to compare out new configuration with being currently configured difference, so as to Targetedly handled.Since configuration content is more, if carrying out full text comparison, inefficiency.
Invention content
The technical problems to be solved by the invention are a kind of management of the networking configuration content based on tree and version number of design Method, this programme provides a kind of carries out group in the form of a tree by service logic relationship, influence to communication network etc. by configuration file It knits.Since service logic relationship is fixed, so set membership will not change.For example, can only be that terminal belongs to the earth It stands, and is unlikely to be earth station and belongs to some terminal;And the parameter for the whole network terminal can be caused to network again, it should be independently arranged For a node.The node each set is respectively provided with a version number.
The technical solution adopted by the present invention is:
A kind of management method of the networking configuration content based on tree and version number, includes the following steps:
(1) by service logic relationship and the influence to communication network content is configured in the form of a tree in networking by configuration software for editing Tissue is carried out, initial configuration tree is formed, each node of initial configuration tree is respectively provided with a version number, and be stored in database;
(2) configuration software for editing receives new configuration every time, is changed according to new configuration by all in initial configuration tree Vertex ticks is new version number, forms new configuration tree, and be stored in database;
(3) configuration performs software reading database, and configuration variance is obtained with initial configuration tree by comparing new configuration tree, and Processing is performed according to configuration variance.
Wherein, for each node in step (2), the judgement changed is:
1) if it is leafy node, the content of the node occurs change and is then determined as that the node changes;
2) if not leafy node, then son section is changed, increases new child node or is deleted in the child node generation of the node Point is then determined as that the node changes.
Wherein, configuration variance is obtained, and according to configuration variance with initial configuration tree by comparing new configuration tree in step (3) Execution is handled:
(301) configuration performs software and tree and original configuration tree is newly configured by depth-first order traversal, judges new configuration tree Whether version number changes compared with present node in original configuration tree, if so, performing step (302), otherwise performs step Suddenly (304);
(302) judge whether present node is leafy node, if so, according to current in new configuration tree and original configuration tree The difference of node is handled, and performs step (304);Otherwise step (303) is performed;
(303) the same node of new configuration tree and original configuration tree is compared, obtains newly-increased child node, deletion Change child node occurs for child node, is handled according to the content of acquisition;
(304) judge whether traversal is completed, if so, terminating this flow, otherwise into next node, next node is made For present node, return to step (301).
1)
Present invention advantage compared with background technology is:
The advantage of patent of the present invention is that software for editing, which is configured, requires no knowledge about the current configuration file of configuration execution software Content and version situation.Configuration perform software receive it is new with postponing, it is only necessary to the mode once traversed can obtain new and old The difference of configuration, since node is according to service logic relational organization, which can directly switch to corresponding update operation.
Description of the drawings
Fig. 1 is that present invention configuration execution software receives the process chart being newly configured;
Fig. 2 is the configuration distributing flow of satellite communication system of the present invention.
Fig. 3 is the networking configuration of initial version t1 of the present invention and version signal;
Fig. 4 is the networking configuration of version t2 of the present invention and version signal;
Fig. 5 is the networking configuration of version t3 of the present invention and version signal;
Fig. 6 is that the child node collection of nonleaf node of the present invention compares signal.
Specific embodiment
Such as Fig. 2, by new networking configuration write-in database and notified by configuration software for editing (such as network management interface software) Configuration performs software (such as network control software), performs software according to new configuration by configuration, the part of change is issued to accordingly Terminal device.
The present invention includes the following steps:
(1) by service logic relationship and the influence to communication network content is configured in the form of a tree in networking by configuration software for editing Tissue is carried out, initial configuration tree is formed, each node of initial configuration tree is respectively provided with a version number, and be stored in database;
(2) configuration software for editing receives new configuration every time, is changed according to new configuration by all in initial configuration tree Vertex ticks is new version number, forms new configuration tree, and be stored in database;
(3) configuration performs software reading database, and configuration variance is obtained with initial configuration tree by comparing new configuration tree, and Processing is performed according to configuration variance.As shown in Figure 1, idiographic flow is:
(301) configuration performs software and tree and original configuration tree is newly configured by depth-first order traversal, judges new configuration tree Whether version number changes compared with present node in original configuration tree, if so, performing step (302), otherwise performs step Suddenly (304);
(302) judge whether present node is leafy node, if so, according to current in new configuration tree and original configuration tree The difference of node is handled, and performs step (304);Otherwise step (303) is performed;
(303) the same node of new configuration tree and original configuration tree is compared, obtains newly-increased child node, deletion Change child node occurs for child node, is handled according to the content of acquisition;
(304) judge whether traversal is completed, if so, terminating this flow, otherwise into next node, next node is made For present node, return to step (301).
Wherein, for each node in step (2), the judgement changed is:
1) if it is leafy node, the content of the node occurs change and is then determined as that the node changes;
2) if not leafy node, then son section is changed, increases new child node or is deleted in the child node generation of the node Point is then determined as that the node changes.
As shown in figure 3, a set of exemplary networking configuration is made of three parts:Central station equipment, distance terminal and basic group Network parameters.It needs to illustrate that this networking configuration is only to illustrate, the composition of practical networking parameter is different due to reality different system.
Distance terminal has a terminal 1 and terminal 2 in initial configuration, the parameter of each distance terminal be divided into again basic parameter and Two class of service parameter.Central station equipment then has A Terminal Types three and B Terminal Types one.In initial configuration, the version of all nodes This number is t1.
Then, upper strata performs software to configuration and has issued configuration t2, and the service parameter of wherein terminal 1 changes, and moves In addition to terminal 4.As shown in figure 4, the node changed and its version number of all upper layer nodes are marked as t2, other are unchanged Node is more still marked as t1.
As shown in figure 5, in the configuration t3 issued, terminal 7 is increased in distance terminal, the configuration of terminal 5 in central station becomes More.Newly-increased node and its all upper layer nodes are marked as t3.
As shown in fig. 6, in " distance terminal " node for comparing t2 and t3 configurations, can be obtained by the traversal of new and old configuration T3 ratios configuration t2 must be configured and increase terminal 3.And the child node collection of the node " A Terminal Types " of version t2 and t3 is compared, it can obtain Know that the configuration of terminal 5 updates.

Claims (3)

1. a kind of management method of the networking configuration content based on tree and version number, which is characterized in that include the following steps:
(1) influence of the configuration software for editing by service logic relationship and to communication network carries out networking configuration content in the form of a tree Tissue forms initial configuration tree, each node of initial configuration tree is respectively provided with a version number, and be stored in database;
(2) configuration software for editing receives new configuration every time, is configured according to new by the nodes changed all in initial configuration tree Labeled as new version number, new configuration tree is formed, and be stored in database;
(3) configuration performs software reading database, by the new configuration tree of comparison and initial configuration tree acquisition configuration variance, and according to Configuration variance performs processing.
2. a kind of management method of networking configuration content based on tree and version number according to claim 1, feature exist In for each node in step (2), the judgement changed is:
1) if it is leafy node, the content of the node occurs change and is then determined as that the node changes;
2) if not leafy node, then the child node generation of the node changes, increases new child node or delete child node then It is determined as that the node changes.
3. a kind of management method of networking configuration content based on tree and version number according to claim 1, feature exist In passing through in step (3) and compare new configuration tree and obtain configuration variance, and perform processing according to configuration variance and have with initial configuration tree Body is:
(301) configuration performs software and tree and original configuration tree, the new configuration tree of judgement and original is newly configured by depth-first order traversal Begin to be configured whether tree changes compared to the version number of present node, if so, performing step (302), otherwise perform step (304);
(302) judge whether present node is leafy node, if so, according to present node in new configuration tree and original configuration tree Difference handled, perform step (304);Otherwise step (303) is performed;
(303) the same node of new configuration tree and original configuration tree is compared, the son section for obtain newly-increased child node, deleting Change child node occurs for point, is handled according to the content of acquisition;
(304) judge whether traversal is completed, if so, terminate this flow, otherwise into next node, using next node as ought Front nodal point, return to step (301).
CN201711439068.XA 2017-12-27 2017-12-27 A kind of management method of the networking configuration content based on tree and version number Pending CN108173688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711439068.XA CN108173688A (en) 2017-12-27 2017-12-27 A kind of management method of the networking configuration content based on tree and version number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711439068.XA CN108173688A (en) 2017-12-27 2017-12-27 A kind of management method of the networking configuration content based on tree and version number

Publications (1)

Publication Number Publication Date
CN108173688A true CN108173688A (en) 2018-06-15

Family

ID=62521896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711439068.XA Pending CN108173688A (en) 2017-12-27 2017-12-27 A kind of management method of the networking configuration content based on tree and version number

Country Status (1)

Country Link
CN (1) CN108173688A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795290A (en) * 2019-10-30 2020-02-14 杭州迪普科技股份有限公司 Double-machine configuration strategy consistency detection method and device
CN112632957A (en) * 2020-12-18 2021-04-09 湖南特能博世科技有限公司 Power drawing management method and device, terminal equipment and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945044A (en) * 2010-09-09 2011-01-12 中兴通讯股份有限公司 Attribute registration method for switched network and switching equipment
CN102012944A (en) * 2010-12-16 2011-04-13 四川川大智胜软件股份有限公司 Distributed NOSQL (not only structured query language) database capable of providing replication property
CN102364894A (en) * 2011-10-21 2012-02-29 中兴通讯股份有限公司 Issuing method for configuration data file and network management equipment
CN102546391A (en) * 2010-11-19 2012-07-04 马维尔以色列(M.I.S.L.)有限公司 Energy efficient networking

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945044A (en) * 2010-09-09 2011-01-12 中兴通讯股份有限公司 Attribute registration method for switched network and switching equipment
CN102546391A (en) * 2010-11-19 2012-07-04 马维尔以色列(M.I.S.L.)有限公司 Energy efficient networking
CN102012944A (en) * 2010-12-16 2011-04-13 四川川大智胜软件股份有限公司 Distributed NOSQL (not only structured query language) database capable of providing replication property
CN102364894A (en) * 2011-10-21 2012-02-29 中兴通讯股份有限公司 Issuing method for configuration data file and network management equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795290A (en) * 2019-10-30 2020-02-14 杭州迪普科技股份有限公司 Double-machine configuration strategy consistency detection method and device
CN112632957A (en) * 2020-12-18 2021-04-09 湖南特能博世科技有限公司 Power drawing management method and device, terminal equipment and server

Similar Documents

Publication Publication Date Title
CN108491331A (en) Method for testing software, device, equipment and computer storage media
CN102467529B (en) Metadata synchronizing method and system
CN108322937A (en) Resource allocation methods and composer in wireless access network for network slice
CN1980144A (en) Method for quickly configurating large data-quantity network management data
CN102708213A (en) Method for realizing BOM (Bill of Material) information transmission between PDM (Product Data Management) system and ERP (Enterprise Resource Planning) system
CN106033388A (en) A test use case library management method and system
CN109284152A (en) A kind of menu visual configuration method, equipment and computer readable storage medium
CN107193917A (en) Whole station CONFIG.SYS lossless data update method based on IID
CN108173688A (en) A kind of management method of the networking configuration content based on tree and version number
CN107317890B (en) A kind of data transmission realizing method of intelligent vehicle support grid
CN102857949A (en) Method and device for planning data consistency guarantees
CN112287423A (en) Power distribution network visual planning method and terminal based on graph-model integration
CN101150434B (en) An object-oriented function deployment method in network management
CN109144562A (en) A kind of smart code publication alarm method based on zookeeper
CN101917282B (en) Method, device and system for processing alarm shielding rules
CN105376151A (en) ABtest platform shunting method and system
CN110263282A (en) A kind of design method of the content distribution subscription communication pattern based on Kafka
CN113190947A (en) Feed line group dividing method and device
CN109088954B (en) Distributed object identification information registration and analysis method
CN104917623B (en) A kind of method and device for realizing SDN network telecommunication management
CN110414913A (en) A kind of Intelligent power distribution switch protection fixed value adjusting system
CN101426220A (en) Method, apparatus and system for base station cutover
CN108011730B (en) Method and device for automatically changing ring network resources in network management system
US11757474B2 (en) Base station station-type replacement method, SDR network management system, base station station-type replacement apparatus and computer-readable storage medium
CN107357900A (en) A kind of control method and device of electric power system model versions of data

Legal Events

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

Application publication date: 20180615