CN113055226A - Method and device for sequencing network management configuration data downloading - Google Patents

Method and device for sequencing network management configuration data downloading Download PDF

Info

Publication number
CN113055226A
CN113055226A CN202110191127.6A CN202110191127A CN113055226A CN 113055226 A CN113055226 A CN 113055226A CN 202110191127 A CN202110191127 A CN 202110191127A CN 113055226 A CN113055226 A CN 113055226A
Authority
CN
China
Prior art keywords
configuration data
network management
sequence
management configuration
sequence value
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
CN202110191127.6A
Other languages
Chinese (zh)
Other versions
CN113055226B (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.)
Wuhan Optical Network Information Technology Co Ltd
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Wuhan Optical Network Information Technology Co Ltd
Fiberhome Telecommunication 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 Wuhan Optical Network Information Technology Co Ltd, Fiberhome Telecommunication Technologies Co Ltd filed Critical Wuhan Optical Network Information Technology Co Ltd
Priority to CN202110191127.6A priority Critical patent/CN113055226B/en
Publication of CN113055226A publication Critical patent/CN113055226A/en
Application granted granted Critical
Publication of CN113055226B publication Critical patent/CN113055226B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0803Configuration setting
    • 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/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

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

Abstract

The invention relates to the technical field of communication, and provides a method and a device for ordering network management configuration data downloading.A property of each network management configuration data is defined in a sequence configuration file, wherein the property comprises one or more of a data code value, a sub-scene code value, a data type and a downloading sequence value, and the data code value and the sub-scene code value form a main key; traversing the downloading sequence values in the sequence configuration file to obtain a maximum downloading sequence value; obtaining a new sequence value and a deletion sequence value corresponding to each main key according to the maximum downloading sequence value and the downloading sequence value; and acquiring a new sequence value or a deleted sequence value corresponding to the primary key of each network management configuration data to be downloaded, and sequencing the network management configuration data to be downloaded according to the sequence values from small to large.

Description

Method and device for sequencing network management configuration data downloading
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for sorting network management configuration data downloads.
[ background of the invention ]
At present, a communication transmission Network manages transmission equipment (Network Management software for short) through a Network Element Management System (EMS), subnet service configuration and Network Element configuration can be created on the Network Management software, and the subnet service configuration function mainly processes end-to-end data transmission, such as Tunnel service and L2vpn service; the network element configuration refers to basic function configuration on a single network element, such as ethernet main interface configuration, logical interface configuration, and the like.
When the network management and the device interact, the network management configuration data (the subnet service configuration and the network element configuration are collectively referred to as network management configuration data) needs to be issued to the device. Because the network management configuration data has a dependency relationship, the configuration data needs to be issued to the equipment in sequence, and the network management configuration data can be ensured to take effect on the equipment.
The current network management ordering method is as follows: setting a sequence value for each type of network management configuration data, if a new scene is created, sending the network management configuration data to the equipment according to the sequence value from small to large, and sequentially creating new configuration data on the equipment; otherwise, if the scene is deleted, the network management configuration data is sent to the equipment according to the sequence values from large to small, and the equipment deletes the configuration data in sequence.
However, this sort algorithm can only be used for a single scene, and has the following disadvantages:
1) the download sequence values of some general network management configuration data in different scenes are the same, and the same download sequence value cannot meet the requirements in actual scenes.
2) And when the network management data is downloaded and added, the sorting algorithm of the sequence value cannot meet the requirement.
In view of the above, overcoming the drawbacks of the prior art is an urgent problem in the art.
[ summary of the invention ]
The technical problem to be solved by the invention is as follows:
the sequencing method when the network management configuration data is downloaded at present is to set a sequence value for each type of network management configuration data, if the network management configuration data is a newly added scene, the network management configuration data is sent to equipment according to the sequence value from small to large, and the configuration data is sequentially added to the equipment; on the contrary, if the scene is deleted, the network management configuration data are sent to the equipment according to the sequence values from large to small, the equipment deletes the configuration data in sequence, but when the network management configuration data are downloaded and deleted at the same time, the sequencing algorithm cannot be realized in the actual scene;
furthermore, the download sequence values of some general network management configuration data in different scenes are the same, which is not beneficial to the maintenance of working personnel and can not meet the ordering requirements of the network management configuration data in different scenes.
The invention achieves the above purpose by the following technical scheme:
in a first aspect, the present invention provides a method for ordering network management configuration data downloading, wherein attributes of each network management configuration data are defined in a sequence configuration file, the attributes include one or more of a data code value, a sub-scene code value, a data type and a downloading sequence value, wherein the data code value and the sub-scene code value form a main key;
traversing the downloading sequence values in the sequence configuration file to obtain a maximum downloading sequence value;
obtaining a new sequence value and a deletion sequence value corresponding to each main key according to the maximum downloading sequence value and the downloading sequence value;
and acquiring a new sequence value or a deleted sequence value corresponding to the primary key of each network management configuration data to be downloaded, and sequencing the network management configuration data to be downloaded according to the sequence values from small to large.
Preferably, the data type includes network element configuration data and/or service configuration data.
Preferably, the obtaining of the new sequence value and the deletion sequence value corresponding to each primary key according to the maximum download sequence value and the download sequence value specifically includes:
the newly added sequence value is the sum of the maximum downloading sequence value and the downloading sequence value;
when the data type is service configuration data, the deletion sequence value is the difference between the maximum download sequence value and the download sequence value;
when the data type is network element configuration data, the deletion sequence value is the difference between N times of the maximum download sequence value and the download sequence value, wherein N is more than or equal to 3 and is an integer;
wherein, the new adding sequence value and the deleting sequence value are both non-negative numbers.
Preferably, the download sequence value is an initial download sequence value corresponding to the network management configuration data in the newly added scene.
Preferably, the main key for acquiring the network management configuration data to be downloaded specifically includes:
acquiring a data code value of network management configuration data to be downloaded, judging whether the network management configuration data corresponding to the data code value needs to distinguish scenes, and acquiring a sub-scene code value according to the corresponding scene to obtain a main key of the network management configuration data if the scenes need to be distinguished.
Preferably, the acquiring a new sequence value or a deleted sequence value corresponding to the home key of each piece of network management configuration data to be downloaded, and sequencing the network management configuration data to be downloaded according to the sequence values from small to large specifically includes:
when the network management configuration data to be downloaded is a newly added scene, acquiring a newly added sequence value corresponding to a main key of the network management configuration data to be downloaded;
when the network management configuration data to be downloaded is a deletion scene, acquiring a deletion sequence value corresponding to a main key of the network management configuration data to be downloaded;
and sequencing the network management configuration data to be downloaded according to the sequence values from small to large according to the newly added sequence value and/or the deleted sequence value.
Preferably, the data code value specifically includes a number or a combination of a letter and a number.
Preferably, the download order value is a non-negative number.
Preferably, the sorting the network management configuration data to be downloaded according to the sequence values from small to large further comprises,
and the network manager sequentially transmits the network management configuration data to the corresponding equipment according to the sequence values from small to large.
In a second aspect, the present invention further provides a device for sequencing network management configuration data downloading, including at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being programmed to perform the method of ordering network management configuration data downloads of the first aspect.
Compared with the prior art, the invention has the beneficial effects that:
the invention defines the attribute which depends on the sequencing in the downloading process for the network management configuration data in the sequence configuration file, wherein the attribute comprises four fields of a data code number value, a sub-scene code number value, a data type and a downloading sequence value, and the introduction of the sub-scene code number value effectively solves the sequencing problem of the same network management configuration data in different scenes; meanwhile, the invention adjusts the downloading sequence of the network management configuration data by introducing the data type. The problem of sequencing dependency in the scene of simultaneously downloading the newly added and deleted network management configuration data is effectively solved, manual downloading on the network management according to the sequence is avoided, the efficiency of service deployment is improved, and the operation is simplified.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a flowchart of a method for ordering network management configuration data downloading according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for ordering network management configuration data downloading according to an embodiment of the present invention;
fig. 3 is an architecture diagram of a sorting method for downloading network management configuration data according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for ordering network management configuration data downloading according to an embodiment of the present invention;
fig. 5 is an architecture diagram of a sorting apparatus for downloading network management configuration data according to an embodiment of the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the embodiments of the present invention, the symbol "/" indicates the meaning of having both functions, and the symbol "a and/or B" indicates that the combination between the preceding and following objects connected by the symbol includes three cases of "a", "B", "a and B".
In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other. The invention will be described in detail below with reference to the figures and examples.
The embodiment of the invention provides a method for sequencing network management configuration data downloading, as shown in figure 1,
s10, defining the attribute of each network management configuration data in the sequence configuration file, wherein the attribute comprises one or more of a data code value, a sub-scene code value, a data type and a downloading sequence value, and the data code value and the sub-scene code value form a main key.
Wherein the data code value is: the code value of the network management configuration data is used for distinguishing different network management configuration data, and the data code value specifically comprises numbers or a combination of letters and numbers, but is not limited to the above two.
The sub-scene code value: when the same network management configuration data has different scenes, the different scenes are distinguished by using the sub-scene code value.
The data type is as follows: for distinguishing network element configuration data from service configuration data.
The downloading sequence value is as follows: the download sequence value represents an initial download sequence value of the corresponding network management configuration data in the newly added scene, and the network management issues the network management configuration data to the device end according to the download sequence value from small to large in the newly added scene.
As shown in table 1, block id in table 1 represents a data code value, sub id represents a sub-scene code value, property represents a data type, and downindex represents a downloading sequence value; wherein < block id, sub id > is a main key for configuring data downloading sequence by the network manager, the necfg in table 1 represents network element configuration data, and the neservicerepresents service configuration data.
TABLE 1
Scene block id sub id property downindex
Common sub-interface 162 1 necfg 10
LAG interface 165 1 necfg 20
LAG sub-interface 162 2 necfg 30
Static Tunnel 169 1 neservice 40
VPWS_VC 199 1 neservice 50
And under the newly added scene, the network manager sequentially transmits the network management configuration data to the corresponding equipment according to the download sequence value descending index from small to large of 10-50.
When the block id is 162, the sub id is 1, and the downindex is 10, the download sequence of the network management configuration data representing 162 when the network management configuration data is newly added in the common sub-interface scene is 10.
When the block id is 162, the sub id is 2, and the downindex is 30, the download sequence of the network management configuration data representing 162 when the new network management configuration data is added in the LAG sub-interface scene is 30.
The method effectively solves the problem that the same network management configuration data needs different downloading sequence values under different scenes.
Next, initializing the network management configuration data through the sequential configuration file, specifically:
s20, traversing the download sequence values in the sequential configuration file, obtaining a maximum download sequence value, and recording the maximum download sequence value as MaxIndex, where as shown in table 1, the MaxIndex obtained by traversing the download sequence values is 50.
And S30, obtaining a new sequence value and a deletion sequence value corresponding to each primary key according to the maximum downloading sequence value and the downloading sequence value.
Specifically, as shown in fig. 2, S301 traverses each entry in the sequence configuration file, and calculates a new sequence value corresponding to each primary key according to MaxIndex + downindex.
S302, traversing each entry in the sequence configuration file, and judging whether the data type of the network management configuration data is the service configuration data service.
And S303, when the data type is the service configuration data service, calculating according to the MaxIndex-downindex to obtain a deletion sequence value corresponding to the corresponding primary key.
S304, when the data type is the network element configuration data necfg, calculating according to N × MaxIndex-downindex to obtain a deletion sequence value corresponding to the corresponding primary key, wherein N is more than or equal to 3, and N is an integer.
S305, obtaining a new sequence value and a deletion sequence value corresponding to each primary key, wherein the new sequence value and the deletion sequence value are non-negative numbers.
In this embodiment, N ═ 3 is taken as an example for explanation, as shown in fig. 3, the processing method can adjust the original downloading sequence from delete service configuration data ═ delete network element configuration data ═ add network element configuration data — > add service configuration, to: deleting the service configuration data, namely the newly added network element configuration data, the newly added service configuration data and the network element configuration data, namely moving the interval of the sequence value of deleting the network element configuration data to the last step for operation.
And if the deletion sequence value of the initialized deletion service configuration data is MaxIndex-downindex, the MaxIndex-downindex is less than MaxIndex.
And if the newly added sequence value of the newly added network element configuration data/newly added service configuration data is MaxIndex + downindex, MaxIndex < MaxIndex + downindex <2 x MaxIndex.
And if the deletion sequence value of the network element configuration data is 3 × MaxIndex-downindex, then 2 × MaxIndex <3 × MaxIndex-downindex <3 × MaxIndex.
As shown in table 2, table 2 is the new addition order value and the deletion order value corresponding to each primary key calculated according to the relevant contents in table 1.
TABLE 2
Scene <block id,sub id> property New sequence value Deleting sequence values
Common sub-interface <162,1> necfg 50+10 3*50-10
LAG interface <165,1> necfg 50+20 3*50-20
LAG sub-interface <162,2> necfg 50+30 3*50-30
Static Tunnel <169,1> neservice 50+40 50-40
VPWS_VC <199,1> neservice 50+50 50-50
Traversing each entry in the sequence configuration file, and calculating to obtain a new sequence value and a deletion sequence value corresponding to each primary key.
S40, acquiring a new sequence value or a deleted sequence value corresponding to the primary key of each network management configuration data to be downloaded (acquired according to the step S30); when the scene is newly added, acquiring a corresponding newly added sequence value according to the primary key; when the scene is deleted, acquiring a corresponding deletion sequence value according to the main key; and sequencing the network management configuration data to be downloaded according to the sequence values from small to large according to the newly added sequence values and/or the deleted sequence values.
Specifically, when the network manager issues the network management configuration data to the device, the block id value of the network management configuration data is obtained first, then the scene where the network management configuration data is located is determined according to the specific content of the network management configuration data, so as to determine the corresponding sub id value, and the new addition sequence value or the deletion sequence value corresponding to the main key is obtained from the data content in table 2 according to the main key of the block id or the sub id.
When the network management configuration data to be downloaded is a newly added scene, acquiring a newly added sequence value corresponding to a main key of the network management configuration data to be downloaded; when the network management configuration data to be downloaded is a deletion scene, acquiring a deletion sequence value corresponding to a main key of the network management configuration data to be downloaded; and then, according to the newly added sequence value and/or the deleted sequence value, sequencing the network management configuration data to be downloaded according to the sequence values from small to large, and issuing the network management configuration data to corresponding devices according to the sequence from small to large, wherein tables 1 and 2 are only examples, and the specific contents in the tables are not used for limiting the invention.
The present embodiment is exemplified with respect to the problems encountered in the actual scene: the current network management ordering method is as follows: setting a sequence value for each type of network management configuration data, if a new scene is created, sending the network management configuration data to the equipment according to the sequence value from small to large, and sequentially creating new configuration data on the equipment; otherwise, if the scene is deleted, the network management configuration data is sent to the equipment according to the sequence values from large to small, and the equipment deletes the configuration data in sequence.
Scene one:
the same network management configuration data represents different meanings for the device, for example, a logicport interface (network element configuration: logical interface) belongs to a general network element configuration, and may represent an ethernet main interface or a lag sub-interface.
When network element configuration data of a lag subinterface is downloaded (a lag interface (network element configuration: aggregation interface) can aggregate a plurality of Ethernet main interfaces into a virtual interface, the lag interface can also configure the lag subinterface, and the lag subinterface is divided into a plurality of virtual interfaces through subinterface numbers), the network element configuration data of the Ethernet main interface needs to be downloaded first, then the network element configuration data of the lag interface is downloaded, and finally the network element configuration data of the lag subinterface is downloaded, wherein the downloading sequence is as follows: the network element configuration data of the logicport interface (meaning: ethernet main interface) — > the network element configuration data of the lag interface — > the network element configuration data of the logicport interface (meaning: lag sub-interface) — it can be seen that in this scenario, the download sequence of the network element configuration data of the logicport interface is one before the network element configuration data of the lag interface and one after the network element configuration data of the lag interface, and in the prior art, the same network management configuration data cannot process this scenario with the same download sequence value sorting algorithm in different scenarios.
In this embodiment, when the same network management configuration data is in different scenes, the sub-scene code values are used for distinguishing. As shown in table 3, wherein table 3 is only a part of the content in the sequence configuration file, and is merely an illustration, and is not used to limit the present invention:
TABLE 3
Figure BDA0002945192790000091
And traversing the downloading sequence values in the sequence configuration file to obtain a maximum downloading sequence value, and recording the maximum downloading sequence value as MaxIndex, wherein MaxIndex is assumed to be 30.
Traversing each entry in the sequence configuration file, and calculating a new sequence value corresponding to each primary key according to the MaxIndex + downindex.
And traversing each entry in the sequence configuration file, and calculating to obtain a deletion sequence value corresponding to the corresponding primary key according to the 3 × MaxIndex-downindex because the property in the table 3 configures the data necfg for the network element. As shown in table 4, table 4 is the new addition order value and the deletion order value corresponding to each primary key calculated according to the relevant contents in table 3.
TABLE 4
Scene <block id,sub id> property New sequence value Deleting sequence values
logicport interface (Ethernet main interface) <162,1> necfg 30+15 3*30-15
LAG interface <165,1> necfg 30+16 3*30-16
logicport interface (LAG sub-interface) <162,2> necfg 30+17 3*30-17
When a new scene is added, acquiring new sequence values of a logicport interface (Ethernet main interface), an LAG interface and a logicport interface (LAG subinterface) to be downloaded, wherein the new sequence values are 45, 46 and 47 respectively, and then sequencing the network management configuration data according to the sequence values from small to large, wherein the sequencing result is as follows: 45. 46 and 47, and finally, sequentially sending the logicport interface (Ethernet main interface), the LAG interface and the logicport interface (LAG sub-interface) to the equipment according to the sequence values of the sequencing result from small to large.
When a scene is deleted, obtaining deletion sequence values of a logicport interface (Ethernet main interface), an LAG interface and a logicport interface (LAG subinterface) to be downloaded, wherein the deletion sequence values are 75, 74 and 73 respectively, and then sequencing the network management configuration data according to a sequence value from small to large, wherein the sequencing result is as follows: 73. 74 and 75, and finally, sequentially sending the logicport interface (LAG sub-interface), the LAG interface and the logicport interface (Ethernet main interface) to the equipment according to the sequence values of the sequencing result from small to large.
Because the invention introduces the attribute of the code value of the sub-scene, two scenes of a logicport interface (LAG sub-interface) and a logicport interface (Ethernet main interface) are distinguished, different downloading sequence values are given to the same network management configuration data, and the problem of ordering the same network management configuration data in different scenes is effectively solved.
Scene two,
The network management configuration data issued by the network management is divided into service configuration data and network element configuration data, and because the service configuration data needs to depend on the network element configuration data, when a new scene is added: firstly, downloading network element configuration data, and then downloading service configuration data; when a scene is deleted: and firstly downloading the service configuration data and then downloading the network element configuration data. The downloading sequence value of the network element configuration data is smaller than that of the service configuration data.
If in the scene that new and deleted needs to be downloaded simultaneously, the current principle of network management is to delete and then increase, and the downloading sequence of the sequencing algorithm is as follows: deleting service configuration data, deleting network element configuration data, adding service configuration data.
In some scenarios, the requirements cannot be met, such as UNI interface scenario for replacing L2vpn service: the purpose of this scenario is to replace the UNI interface of L2vpn from a to B, so it is necessary to add new B interface network element configuration data, delete a interface network element configuration data, and modify L2vpn service configuration data (modify the sequence processing using the new service configuration data). According to the sequence of deletion and increase in the prior art, the sequence of the network manager when the network manager issues the network management configuration data to the device is as follows: deleting the configuration data of the A interface network element, adding the configuration data of the B interface network element, and modifying the L2vpn service configuration data. However, when deleting the a interface network element configuration data in the first step, the device a interface network element configuration data is also associated with the L2vpn service configuration data, and it is not allowed to delete the a interface network element configuration data directly when the interface network element configuration data is also associated with the L2vpn service configuration data, so that the deletion of the a interface network element configuration data in the first step fails.
The correct processing method of the scene comprises the following steps: before deleting the A interface network element configuration data, downloading the modified L2vpn service configuration data, wherein the L2vpn service data can update the associated UNI interface name, the association relationship between the A interface network element configuration data and the L2vpn is released, and the subsequent deletion of the A interface network element configuration data cannot fail. The correct sequence of the network manager when issuing the network management configuration data to the device should be: newly adding B interface network element configuration data- > modified L2vpn service configuration data- > deleting A interface network element configuration data. The present invention was achieved in the following manner, as shown in table 5.
TABLE 5
Scene block id sub id property downindex
A interface 131 1 necfg 18
B interface 132 1 necfg 19
L2vpn 135 2 neservice 20
Traversing the downloading sequence values in the sequence configuration file to obtain a maximum downloading sequence value, and recording the maximum downloading sequence value as MaxIndex, wherein MaxIndex is assumed to be 30;
traversing each item in the sequence configuration file, and when the data type is service configuration data service, calculating according to MaxIndex-downindex to obtain a deletion sequence value corresponding to the corresponding main key; when the data type is the network element configuration data necfg, the deletion order value corresponding to the corresponding primary key is calculated according to the 3 × MaxIndex-downindex, as shown in table 6.
TABLE 6
Scene <block id,sub id> property New sequence value Deleting sequence values
A interface <131,1> necfg 30+18 3*30-18
B interface <132,1> necfg 30+19 3*30-19
L2vpn <135,1> neservice 30+20 30-20
When the network manager needs to replace the UNI interface of the L2vpn from A to B, the network element configuration data of the B interface needs to be newly added, the network element configuration data of the A interface and the modified L2vpn service configuration data are deleted, and the specific steps of acquiring the network manager configuration data to be downloaded are as follows:
1. acquiring a main key (131, 1) formed by block id and sub id of the B interface network element configuration data, and then inquiring a corresponding newly-increased sequence value according to the main key to obtain a newly-increased sequence value of 49;
2. acquiring a main key (132, 1) formed by block id and sub id of the A interface network element configuration data, and then inquiring a corresponding deletion sequence value according to the main key to obtain a deletion sequence value of 72;
3. the method comprises the steps of obtaining block id and sub id of L2vpn service configuration data (a modification scene is equivalent to newly added L2vpn service configuration data) to form a main key (135, 1), and then inquiring a corresponding newly added sequence value according to the main key to obtain a newly added sequence value of 50. And the network manager sorts the network management configuration data to be downloaded according to the sequence values from small to large of 49, 50 and 72, and sequentially issues newly-added B interface network element configuration data, modified L2vpn service configuration data and deleted A interface network element configuration data to the equipment according to the sorting, wherein the data types comprise network element configuration data and/or service configuration data.
Since the deleting operation of the network element configuration data in the network management configuration data may cause the operation of deleting the network element configuration data to fail because the service configuration data is already associated, the deleting sequence value when the network element configuration data is deleted is considered to be adjusted to be after the newly added network management configuration data. Meanwhile, in order to increase the compatibility of the sorting method in the platform, the downloading sequence value, the newly added sequence value and the deleting sequence value in the embodiment are all non-negative numbers.
The obtaining of the new sequence value and the deletion sequence value corresponding to each primary key according to the maximum downloading sequence value and the downloading sequence value specifically includes: the newly added sequence value is the sum of the maximum downloading sequence value and the downloading sequence value;
when the data type is service configuration data, the deletion sequence value is the difference between the maximum download sequence value and the download sequence value; when the data type is network element configuration data, the deletion sequence value is the difference between three times of the maximum download sequence value and the download sequence value; wherein, the new adding sequence value and the deleting sequence value are both positive numbers. The processing mode adjusts the original downloading sequence from deleting service configuration data, deleting network element configuration data, newly adding service configuration into: deleting service configuration data, newly added network element configuration data, newly added service configuration data, and deleting network element configuration data.
The downloading sequence value is an initial downloading sequence value corresponding to the network management configuration data in the newly added scene.
Some general network management configuration data need different downloading sequence values in different scenes, so the invention introduces the sub-scene code value to endow different downloading sequence values for the same network management configuration data.
The main key for acquiring the network management configuration data to be downloaded is specifically as shown in fig. 4.
S401, obtaining the data code value of the network management configuration data to be downloaded.
S402, judging whether the network management configuration data corresponding to the data code value needs to distinguish scenes, if so, acquiring the code value of the sub-scene according to the corresponding scene so as to obtain the main key of the network management configuration data.
And acquiring a data code value block id of the network management configuration data to be downloaded, and judging a sub scene code value sub id corresponding to the network management configuration data corresponding to the acquired block id.
And S403, acquiring a new sequence value or a deleted sequence value through the main key of the block id and sub id.
S404, after obtaining the sequence values of all the network management configuration data to be downloaded, sequencing the network management configuration data according to the sequence from small to large, and then the network management sequentially issues the corresponding network management configuration data to the equipment according to the sequence from small to large.
The acquiring a new sequence value or a deleted sequence value corresponding to the primary key of each piece of network management configuration data to be downloaded, and sequencing the network management configuration data to be downloaded according to the sequence values from small to large specifically comprises:
when the network management configuration data to be downloaded is a newly added scene, acquiring a newly added sequence value corresponding to a main key of the network management configuration data to be downloaded; when the network management configuration data to be downloaded is a deletion scene, acquiring a deletion sequence value corresponding to a main key of the network management configuration data to be downloaded; and sequencing the network management configuration data to be downloaded according to the sequence values from small to large according to the newly added sequence value and/or the deleted sequence value.
The data code value specifically includes a number or a combination of a letter and a number. In order to improve the compatibility of the sorting method of the present invention in various platforms, the downloading sequence value is a non-negative number, but is not limited to a non-negative number. The network management system also comprises a network management system which is used for sequencing the network management configuration data to be downloaded according to the sequence values from small to large, and the network management system sequentially sends the network management configuration data to the corresponding equipment according to the sequence values from small to large.
The invention defines the attribute which depends on the sequencing in the downloading process for the network management configuration data in the sequence configuration file, wherein the attribute comprises four fields of a data code number value, a sub-scene code number value, a data type and a downloading sequence value, and the introduction of the sub-scene code number value effectively solves the sequencing problem of the same network management configuration data in different scenes; meanwhile, the invention adjusts the downloading sequence of the network management configuration data by introducing the data type. The problem of sequencing dependency in the scene of simultaneously downloading the newly added and deleted network management configuration data is effectively solved, manual downloading on the network management according to the sequence is avoided, the efficiency of service deployment is improved, and the operation is simplified.
Example 2:
on the basis of the sorting method for downloading the network management configuration data provided in the above embodiment 1, the present invention further provides a sorting device for downloading the network management configuration data, and as shown in fig. 5, the present invention is a schematic diagram of a device architecture in an embodiment of the present invention. The sequencing device for downloading the network management configuration data of the embodiment comprises one or more processors 21 and a memory 22. In fig. 5, one processor 21 is taken as an example.
The processor 21 and the memory 22 may be connected by a bus or other means, and fig. 5 illustrates the connection by a bus as an example.
The memory 22, as a non-volatile computer-readable storage medium for a method for ordering network management configuration data downloading, may be used to store a non-volatile software program, a non-volatile computer-executable program, and a module, such as the method for ordering network management configuration data downloading in embodiment 1. The processor 21 executes various functional applications and data processing of the sorting device for downloading the network management configuration data by running the nonvolatile software program, the instructions and the modules stored in the memory 22, that is, the sorting method for downloading the network management configuration data of embodiment 1 is implemented.
The memory 22 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory 22 may optionally include memory located remotely from the processor 21, and these remote memories may be connected to the processor 21 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The program instructions/modules are stored in the memory 22, and when executed by the one or more processors 21, perform the sorting method for downloading network management configuration data in the above embodiment 1, for example, perform the steps shown in fig. 1-2 and fig. 4 described above.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the embodiments may be implemented by associated hardware as instructed by a program, which may be stored on a computer-readable storage medium, which may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A sequencing method for downloading network management configuration data is characterized in that:
defining the attribute of each network management configuration data in a sequence configuration file, wherein the attribute comprises one or more of a data code value, a sub-scene code value, a data type and a downloading sequence value, and the data code value and the sub-scene code value form a main key;
traversing the downloading sequence values in the sequence configuration file to obtain a maximum downloading sequence value;
obtaining a new sequence value and a deletion sequence value corresponding to each main key according to the maximum downloading sequence value and the downloading sequence value;
and acquiring a new sequence value or a deleted sequence value corresponding to the primary key of each network management configuration data to be downloaded, and sequencing the network management configuration data to be downloaded according to the sequence values from small to large.
2. A sequencing method for downloading network management configuration data is characterized in that the data type comprises network element configuration data and/or service configuration data.
3. The method for sequencing network management configuration data downloading according to claim 2, wherein the obtaining of the new addition sequence value and the deletion sequence value corresponding to each primary key according to the maximum downloading sequence value and the downloading sequence value specifically comprises:
the newly added sequence value is the sum of the maximum downloading sequence value and the downloading sequence value;
when the data type is service configuration data, the deletion sequence value is the difference between the maximum download sequence value and the download sequence value;
when the data type is network element configuration data, the deletion sequence value is the difference between N times of the maximum download sequence value and the download sequence value, wherein N is more than or equal to 3 and is an integer;
wherein, the new adding sequence value and the deleting sequence value are both non-negative numbers.
4. The method of claim 1, wherein the download order value is an initial download order value corresponding to the network management configuration data when a new scene is added.
5. The method for sequencing network management configuration data downloading according to claim 1, wherein the primary key for obtaining the network management configuration data to be downloaded specifically comprises:
acquiring a data code value of network management configuration data to be downloaded, judging whether the network management configuration data corresponding to the data code value needs to distinguish scenes, and acquiring a sub-scene code value according to the corresponding scene to obtain a main key of the network management configuration data if the scenes need to be distinguished.
6. The method for sorting network management configuration data downloads according to claim 1, wherein the step of obtaining the new sequence value or the delete sequence value corresponding to the primary key of each network management configuration data to be downloaded and sorting the network management configuration data to be downloaded according to the sequence values from small to large specifically comprises:
when the network management configuration data to be downloaded is a newly added scene, acquiring a newly added sequence value corresponding to a main key of the network management configuration data to be downloaded;
when the network management configuration data to be downloaded is a deletion scene, acquiring a deletion sequence value corresponding to a main key of the network management configuration data to be downloaded;
and sequencing the network management configuration data to be downloaded according to the sequence values from small to large according to the newly added sequence value and/or the deleted sequence value.
7. The method for sequencing download of network management configuration data according to any of the claims 1 to 6, wherein the data code value specifically comprises a number or a combination of a letter and a number.
8. The method for sequencing download of network management configuration data according to any of the claims 1 to 6, wherein the download order value is non-negative.
9. The method for sorting the network management configuration data download according to claim 1, wherein the network management configuration data to be downloaded is sorted according to the order value from small to large, further comprising,
and the network manager sequentially transmits the network management configuration data to the corresponding equipment according to the sequence values from small to large.
10. A sequencing device for downloading network management configuration data is characterized by comprising at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions programmed to perform the method of ordering network management configuration data downloads of any of claims 1-9.
CN202110191127.6A 2021-02-20 2021-02-20 Method and device for sequencing network management configuration data downloading Active CN113055226B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110191127.6A CN113055226B (en) 2021-02-20 2021-02-20 Method and device for sequencing network management configuration data downloading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110191127.6A CN113055226B (en) 2021-02-20 2021-02-20 Method and device for sequencing network management configuration data downloading

Publications (2)

Publication Number Publication Date
CN113055226A true CN113055226A (en) 2021-06-29
CN113055226B CN113055226B (en) 2022-04-26

Family

ID=76509340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110191127.6A Active CN113055226B (en) 2021-02-20 2021-02-20 Method and device for sequencing network management configuration data downloading

Country Status (1)

Country Link
CN (1) CN113055226B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7275094B1 (en) * 2000-12-21 2007-09-25 Cisco Technology, Inc. System and method for configuring contents of network management notifications
CN102364894A (en) * 2011-10-21 2012-02-29 中兴通讯股份有限公司 Issuing method for configuration data file and network management equipment
CN103595554A (en) * 2013-08-23 2014-02-19 烽火通信科技股份有限公司 Business data increment loading method for web master
CN103929327A (en) * 2014-03-18 2014-07-16 烽火通信科技股份有限公司 Hybrid networking service back calculation method for webmaster
US20140229427A1 (en) * 2013-02-11 2014-08-14 International Business Machines Corporation Database management delete efficiency
CN107888415A (en) * 2017-11-03 2018-04-06 北京佳讯飞鸿电气股份有限公司 A kind of network management system data maintaining method
CN108173689A (en) * 2017-12-27 2018-06-15 杭州迪普科技股份有限公司 The output system of load balancing data
CN109388636A (en) * 2017-08-11 2019-02-26 中国移动通信集团重庆有限公司 Business datum is inserted into database method, apparatus, computer equipment and storage medium
CN110689232A (en) * 2019-09-03 2020-01-14 深圳壹账通智能科技有限公司 Workflow configuration optimization processing method and device and computer equipment
WO2021017422A1 (en) * 2019-07-29 2021-02-04 创新先进技术有限公司 Index creation method in block chain type account book, device and apparatus

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7275094B1 (en) * 2000-12-21 2007-09-25 Cisco Technology, Inc. System and method for configuring contents of network management notifications
CN102364894A (en) * 2011-10-21 2012-02-29 中兴通讯股份有限公司 Issuing method for configuration data file and network management equipment
US20140229427A1 (en) * 2013-02-11 2014-08-14 International Business Machines Corporation Database management delete efficiency
CN103595554A (en) * 2013-08-23 2014-02-19 烽火通信科技股份有限公司 Business data increment loading method for web master
CN103929327A (en) * 2014-03-18 2014-07-16 烽火通信科技股份有限公司 Hybrid networking service back calculation method for webmaster
CN109388636A (en) * 2017-08-11 2019-02-26 中国移动通信集团重庆有限公司 Business datum is inserted into database method, apparatus, computer equipment and storage medium
CN107888415A (en) * 2017-11-03 2018-04-06 北京佳讯飞鸿电气股份有限公司 A kind of network management system data maintaining method
CN108173689A (en) * 2017-12-27 2018-06-15 杭州迪普科技股份有限公司 The output system of load balancing data
WO2021017422A1 (en) * 2019-07-29 2021-02-04 创新先进技术有限公司 Index creation method in block chain type account book, device and apparatus
CN110689232A (en) * 2019-09-03 2020-01-14 深圳壹账通智能科技有限公司 Workflow configuration optimization processing method and device and computer equipment

Also Published As

Publication number Publication date
CN113055226B (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN106533883A (en) Network private line establishment method, apparatus and system
CN111817869B (en) Network configuration recovery method and related equipment thereof
CN110351111A (en) A kind of subscription processing method, network node and customer data base
CN111654399B (en) Networking method, device, equipment and storage medium based on SD-WAN
CN108881354A (en) A kind of pushed information storage method, device, server and computer storage medium
CN105187475A (en) Method and system for data synchronization
CN106991403A (en) A kind of method and apparatus of recognition of face
CN113055226B (en) Method and device for sequencing network management configuration data downloading
CN112181441A (en) Construction and application deployment method and system using chaos engineering and gray scale release
CN108234550B (en) Information sending method, information receiving method and PDCP entity
CN115225734A (en) Message processing method and network equipment
CN110099011B (en) Method and system for accessing entity gateway to virtual home gateway
CN101938420B (en) Cluster topological collection method and device
CN113162782B (en) Data center network configuration method and device
CN109922087A (en) Analytic method, device, system and the computer storage medium of industry control agreement
CN108011730B (en) Method and device for automatically changing ring network resources in network management system
CN113395183B (en) Virtual node scheduling method and system for network simulation platform VLAN interconnection
CN108173688A (en) A kind of management method of the networking configuration content based on tree and version number
CN113114465B (en) Method and device for processing attribution authority, storage medium and electronic device
CN115567388A (en) Method, system, device and storage medium for automatically updating network slice configuration
CN109348438A (en) Client&#39;s recognition methods and device during a kind of short message communication
CN103595554A (en) Business data increment loading method for web master
CN110472205A (en) Comparison method and device, the storage medium and electronic device of file difference
CN114070746A (en) Circuit series connection method and system for multi-type transmission network
CN113411788A (en) Bluetooth mesh network system with non-distribution network communication mechanism and communication method thereof

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
GR01 Patent grant
GR01 Patent grant