CN106921524A - A kind of method and device of configuration order row label - Google Patents

A kind of method and device of configuration order row label Download PDF

Info

Publication number
CN106921524A
CN106921524A CN201710209902.XA CN201710209902A CN106921524A CN 106921524 A CN106921524 A CN 106921524A CN 201710209902 A CN201710209902 A CN 201710209902A CN 106921524 A CN106921524 A CN 106921524A
Authority
CN
China
Prior art keywords
command object
instruction
order line
object row
row
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
CN201710209902.XA
Other languages
Chinese (zh)
Other versions
CN106921524B (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201710209902.XA priority Critical patent/CN106921524B/en
Publication of CN106921524A publication Critical patent/CN106921524A/en
Application granted granted Critical
Publication of CN106921524B publication Critical patent/CN106921524B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

A kind of method and device of configuration order row label is the embodiment of the invention provides, the method includes:Receive label addition instruction;The command object row for selecting label addition instruction to point in the complete order row for having stored;For the target labels that the addition of command object row is indicated by label addition instruction;Preserve the corresponding relation of target labels and command object row.Using the embodiment of the present invention, the service speed to order line is effectively improved, improves operating efficiency.

Description

A kind of method and device of configuration order row label
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and device of configuration order row label.
Background technology
The configuration data of the network equipment is stored in configuration file is started in the form of order line, in startup configuration file Order line is divided into configuration order row and configuration view, wherein, configuration order row is divided into independent configuration order row or exists mutual The configuration order row of dependence, the configuration order row that there is relation of interdependence can be scattered configuration order row, also may be used Think the configuration order row of continuous adjacent;Multiple configuration order rows and multiple configuration views can be included under configuration view, formed Multiple levels, the configuration view of a next level of configuration view is the sub- configuration view of this configuration view, and a configuration is regarded The configuration view of figure last layer level is father's configuration view of this configuration view, and a configuration view is in itself and this configuration view Under all of order line all rely on all father's configuration views of this configuration view.
After network equipment startup, the reading order row from configuration file is started such as includes that configuration order row and configuration are regarded Figure etc., and the order line that will be read is loaded into the internal memory of this network equipment.So this network equipment just can basis Order line in internal memory is configured to each business module, it is ensured that the operation of each business module.
When need to realize the order line of a certain function shown, change, deletes etc. operate when, the network equipment is with whole Startup configuration file is object, if desired for realizing that the order line of a certain function carries out display operation, then will be in internal memory it is all Order line is read out and shows.
It is simple and direct entirely to start the method that configuration file operated as object, but problem is, large-scale The network equipment in, the data volume of order line is all very big, and starting configuration file can reach tens Mbytes, now, if with whole Individual startup configuration file such as is shown, is changed, being deleted for object at the operation, it will is expended for quite a long time, is caused to ordering Capable service speed is slow, and operating efficiency is low.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of method and device of configuration order row label, to improve to order Capable service speed, improves operating efficiency.Concrete technical scheme is as follows:
On the one hand, the embodiment of the invention discloses a kind of method of configuration order row label, the method includes:
Receive label addition instruction;
The command object row for selecting the label addition instruction to point in the complete order row for having stored;
For the command object row adds the target labels that the label addition instruction is indicated;
Preserve the corresponding relation of the target labels and the command object row.
On the other hand, the embodiment of the invention discloses a kind of device of configuration order row label, the device includes:
Memory cell, for storing order line;
Receiving unit, for receiving label addition instruction;
Control unit, the command object row for selecting the label addition instruction to point in the order line for having stored, is institute State command object row and add the target labels that the label addition instruction is indicated;By the target labels and the command object row Corresponding relation be stored in the memory cell.
In the embodiment of the present invention, label addition instruction is received, select label addition to refer in the complete order row for having stored The command object row for pointing to is made, is the target labels that the addition of command object row is indicated by label addition instruction, and preserve target mark Sign the corresponding relation with command object row.At this point it is possible to operated by object of label, to the corresponding order line of target labels Operated, without entirely to start configuration file as object is operated, improve the service speed to order line, improved Operating efficiency.Certainly, implementing any product of the invention or method must be not necessarily required to while reaching all the above Advantage.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the method for configuration order row label provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of the method for display command row provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow sheet for changing order line method provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic flow sheet of export (swf) command row method provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic flow sheet for importing order line method provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic flow sheet of delete command row method provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of the device of configuration order row label provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
For convenience of description, the noun that the present invention occurs is explained below.
Start configuration file:For storing the configuration parameter realized by order line, start configuration file storage and set in network On standby storage medium, the storage medium is nonvolatile memory, it is ensured that starting configuration file will not be because of the network equipment The reason such as restart, power off lose;
Internal memory:Also referred to as built-in storage, its effect is and the and hard disk for the operational data in temporarily storage CPU Deng the data that external memory storage is exchanged.As long as computer is in operation, CPU will be needing the data of computing to be transferred in internal memory Row computing.
Below by specific embodiment, the present invention is described in detail.
The flow chart of Fig. 1 shows a kind of method flow of configuration order row label provided in an embodiment of the present invention, the party Method includes:
S101:Receive label addition instruction;
S102:The command object row for selecting label addition instruction to point in the complete order row for having stored;
S103:For the target labels that the addition of command object row is indicated by label addition instruction;
S104:Preserve the corresponding relation of target labels and command object row.
When the network equipment starts, all of order line and label in local startup configuration file are all loaded into internal memory In.
In this case, administrative staff can receive label addition instruction, and label addition instruction includes command object row Mark and target labels;After the network equipment receives label addition instruction, selected in the complete order row that internal memory has been stored The command object row that label addition instruction is pointed to, for the command object row adds the target labels that above-mentioned addition instruction is indicated, protects Deposit the corresponding relation of target labels and command object row.
For the ease of distinguishing order line and label, label can be added after order line in the form of similar annotation. For example, the configuration parameter for starting part order line realization in configuration file of the network equipment is as follows:
After network equipment startup, these order lines are all loaded into the internal memory of the network equipment, if the network equipment is received To the addition instruction of " signaling-protocol bgp " label is pointed to, in addition, the target labels that label addition instruction is indicated It is " TAG 1 " then to add " TAG 1 " after " signaling-protocol bgp " in the form of similar annotation, following institute Show:
Signaling-protocol 1 // configuration views of bgp#TAG;
Storage with the addition of " the signaling-protocol bgp " of " TAG 1 ", it is, storage " TAG 1 " and The corresponding relation of " TAG 1 " and " signaling-protocol bgp ".
In one embodiment of the invention, in order to save the memory space of the network equipment, command object row can only be given Addition target labels.
In another embodiment of the present invention, in order to quickly exist to command object row and with command object row The order line of dependence is operated, to command object row addition target labels after, selection with command object row exist according to The order line of the relation of relying, gives the order line that command object row has dependence and all adds target labels.
For example:If command object behavior wall scroll separate configurations order line, target mark is added directly to the command object row Sign;If command object row has a plurality of configuration order row that there is dependence, then either continuous or scattered, give There are the addition of configuration order row and the command object row identical target labels of dependence;If command object behavior random layer The configuration view of level, then to all configuration order rows below all father's configuration views and command object row of command object row (including sub- configuration view) all additions and command object row identical target labels;If any level configuration of command object behavior Configuration order row under view, then all added and command object row identical mesh to all father's configuration views of command object row Mark label.
In order to quickly be operated to command object row and the order line that there is dependence with command object row, Still by taking the order line of startup configuration file illustrated above as an example, in the form of similar annotation in " signaling- After adding " TAG 1 " after protocol bgp ", there is the life of dependence with " signaling-protocol bgp " in selection Order row " vsi vpls_bgp ", " auto-discovery bgp " and " site 3range 33default-offset 0 " this three Bar order line, adds " TAG 1 " addition " TAG 1 " afterwards in the form of similar annotation after this three order lines, as follows:
It should be noted that an order line can possess the maximum number label that the network equipment is supported, different labels Between for "or" relation.Still by taking the order line of startup configuration file illustrated above as an example, can be in order line " signaling- Label " TAG 1 " and " TAG 2 " is added after protocol bgp " simultaneously, it is as follows:
Signaling-protocol bgp#TAG 1 | 2//configuration views of #TAG;
Here, it is the relation of "or" between " TAG 1 " and " TAG 2 " after " signaling-protocol bgp ", It is independent of each other between " TAG 1 " and " TAG 2 ".
The flow chart of Fig. 2 shows a kind of method flow of display command row provided in an embodiment of the present invention, the method bag Include:
S201:Receive idsplay order;
S202:The target labels and target labels and the corresponding relation of command object row indicated according to idsplay order, select Command object row is selected, and there is the order line of dependence with command object row in selection;
S203:Display target order line and there is the order line of dependence with command object.
Still by taking the order line of startup configuration file illustrated above as an example, after " signaling-protocol bgp " Addition label " TAG 1 " and " TAG 2 ", after addition label " TAG 2 ", work as net after " pw-class vsi_vpls_bgp " When network equipment receives the idsplay order of instruction " TAG 1 ", " TAG 1 " and " signaling-protocol according to storage The corresponding relation of bgp ", selects " signaling-protocol bgp " and is deposited with " signaling-protocol bgp " In " vsi vpls_bgp ", " auto-discovery bgp " and " the site 3range 33default- of dependence Offset 0 " this three order lines, show selected order line, as follows:
When the network equipment receives the idsplay order of instruction " TAG 2 ", according to storage " TAG 2 " with The corresponding relation of " signaling-protocol bgp ", select " signaling-protocol bgp " and with " signaling-protocol bgp " exist dependence " vsi vpls_bgp ", " auto-discovery bgp " and " site 3range 33default-offset 0 " this three order lines;
According to storage " TAG 2 " and the corresponding relation of " pw-class vsi_vpls_bgp ", " pw-class is selected Vsi_vpls_bgp " and there is " vsi vpls_bgp ", " auto- of dependence with " pw-class vsi_vpls_bgp " Discovery bgp " this two order lines;
Selected order line is shown, it is as follows:
In practical application, upon actuation, can be loaded onto the order line that start in configuration file in internal memory by the network equipment Order line storehouse in it is unified preserve, while setting up the concordance list for command object row according to target labels.When need show mesh During mark order line, target labels that can be in concordance list rapidly get command object row.
It should be noted that the multiple labels that can include of target labels that idsplay order is indicated, such as idsplay order refers to The target labels shown include " TAG 1 " and " TAG 2 ".
The workflow graph of Fig. 3 shows to be a kind of modification order line method flow provided in an embodiment of the present invention, the method bag Include:
S301:Receive modification instruction;
S302:According to modification instruction indicate order line to be modified mark, it is determined that the command object row for having shown and There is order line to be modified in the order line of dependence with command object;
S303:Data modification order line to be modified is changed according to what modification instruction was indicated;
S304:Preserve amended order line.
Still by taking the order line of startup configuration file illustrated above as an example, the command object behavior for having shown " signaling-protocol bgp ", the order line of all displays has:
If the network equipment receive indicate order line to be modified be designated " site 3range 33default-offset 0 " mark, modification data are the modification instruction of " site 3range 21default-offset 1 ", according to " site 3range 21default-offset 1 " modifications " site 3range 33default-offset 0 ", the life shown after modification Make behavior:
Preserve amended " site 3range 21default-offset 1 ".
The flow chart of Fig. 4 shows a kind of method flow of export (swf) command row provided in an embodiment of the present invention, the method bag Include:
S401:Receiving derives instruction;
S402:According to target labels and target labels and the corresponding relation of command object row that instruction is indicated is derived, select Command object row is selected, and there is the order line of dependence with command object row in selection;
S403:The order line write-in that there is dependence by command object row and with command object derives what instruction was pointed to First default file.
Still by taking the order line of startup configuration file illustrated above as an example, in order line " signaling-protocol Label " TAG 1 " and " TAG 2 " is added after bgp ", label " TAG 2 " is added after " pw-class vsi_vpls_bgp " Afterwards, when the derivation that the network equipment receives instruction " TAG 1 " is instructed, " TAG 1 " and " signaling- according to storage The corresponding relation of protocol bgp ", select " signaling-protocol bgp " and with " signaling- There is " vsi vpls_bgp ", " auto-discovery bgp " and " the site 3range of dependence in protocol bgp " 33default-offset 0 " this three order lines;Will
Derive the first default file that instruction is pointed to.
So, when the corresponding function of order line during other network equipments need to realize the first default file, it is introduced directly into First default file just can be without being modified to order line, accelerating the service speed to order line.
The flow chart of Fig. 5 shows a kind of method flow for importing order line provided in an embodiment of the present invention, the method bag Include:
S501:Receive and import instruction;
S502:According to target labels and target labels and the corresponding relation of command object row that instruction is indicated is imported, select Command object row is selected, and there is the order line of dependence with command object row in selection;
S503:According to the order line for importing the second default file record that instruction is pointed to, the corresponding mesh of target labels is replaced Mark order line and there is the order line of dependence with command object row.
Still by taking the order line of startup configuration file illustrated above as an example, after " signaling-protocol bgp " Addition label " TAG 1 " and " TAG 2 ", after addition label " TAG 2 ", work as net after " pw-class vsi_vpls_bgp " When the importing that network equipment receives instruction " TAG 1 " is instructed, " TAG 1 " and " signaling-protocol according to storage The corresponding relation of bgp ", selects " signaling-protocol bgp " and is deposited with " signaling-protocol bgp " In " vsi vpls_bgp ", " auto-discovery bgp " and " the site 3range 33default- of dependence Offset 0 " this three order lines;
The order line that the second default file pointed to by importing instruction is recorded replaces the corresponding command object row of target labels And there is the order line of dependence with command object row;If the order behavior of the second default file record:
Vsi vpls_bgp//configuration view
Auto-discovery bgp//configuration view
Signaling-protocol 1//configuration views of bgp#TAG;
The order behavior of the startup configuration file after then replacing:
Now, first selection target order line and can there is the order of dependence with command object row in the network equipment OK, and then directly selected order line is replaced by the order line in the second default file, simplifies the modification behaviour to order line Make, accelerate the service speed to the editor of order line.
The flow chart of Fig. 6 shows a kind of method flow of delete command row provided in an embodiment of the present invention, the method bag Include:
S601:Receive and delete instruction;
S602:According to target labels and target labels and the corresponding relation of command object row that instruction is indicated is deleted, select Select command object row;
S603:The corresponding target labels of delete target order line.
When a label is useless label, for example:When the corresponding order line of one label will not change, can be with This label is defined as useless label, in order to save the memory space of the network equipment, this useless label can be deleted.
Still by taking the order line of startup configuration file illustrated above above as an example, at " signaling-protocol bgp " Addition label " TAG 1 " and " TAG 2 " afterwards, after " pw-class vsi_vpls_bgp " after addition label " TAG 2 ", The label of preservation is as follows with the corresponding relation of order line:
Signaling-protocol bgp#TAG 1 | 2//configuration views of #TAG
Pw-class vsi_vpls_bgp #TAG 2//configuration order rows;
When the network equipment receive instruction " TAG 1 " deletion instruct when, according to storage " TAG 1 " with The corresponding relation of " signaling-protocol bgp ", selection target order behavior " signaling-protocol bgp ", Then deletion " signaling-protocol bgp " is corresponding " TAG 1 ", the label and order line of the preservation of " TAG 1 " after deletion Corresponding relation it is as follows:
Signaling-protocol 2//configuration views of bgp#TAG
Pw-class vsi_vpls_bgp #TAG 2//configuration order rows.
It should be noted that the target labels that indicate of above-mentioned deletion instruction can be the corresponding label of order line, It can be the corresponding label of all order lines.
It is noted that the operation such as above-mentioned display, modification, addition label, deletion label to order line, is all direct Operation to the order line in the internal memory of the network equipment, can immediately realize changing, add label, delete the order line after label Function, but after the network equipment is restarted, the operation to order line can all disappear.
In this case, in order to ensure after the network equipment is restarted, the operation to order line will not disappear, while in order to carry Service speed to order line high, administrative staff can preserve instruction to being received in the network equipment;The network equipment receives preservation After instruction, the network equipment can be according to target labels and the target labels pass corresponding with command object row for preserving instruction instruction System, selection target order line stores into startup configuration file command object row.So, after the network equipment is restarted, so that it may All it is loaded into internal memory with by all of order line and label in local startup configuration file, the fortune of the network equipment is not influenceed OK.
Here, order line is stored according to target labels, it is to avoid cause during all order lines in whole stored memory interim The problem of the loss of the order line of failure;Meanwhile, store order line according to target labels, it is to avoid can be deposited in startup configuration file Store up the problem of the order line of redundancy;In addition, only storing the corresponding command object row of target labels and existing with command object row The order line of dependence, rather than all of order line in stored memory, improves the service speed to order line.
Using above-described embodiment, label addition instruction is received, select label addition to refer in the complete order row for having stored The command object row for pointing to is made, is the target labels that the addition of command object row is indicated by label addition instruction, and preserve target mark Sign the corresponding relation with command object row.At this point it is possible to operated by object of label, to the corresponding order line of target labels Operated, without entirely to start configuration file as object is operated, improve the service speed to order line, improved Operating efficiency.
The structure chart of Fig. 7 is a kind of apparatus structure of configuration order row label provided in an embodiment of the present invention, the device bag Include:
Memory cell 701, for storing order line;
Receiving unit 702, for receiving label addition instruction;
Control unit 703, the command object row for selecting label addition instruction to point in the order line for having stored, is target The target labels that order line addition is indicated by label addition instruction;Target labels are stored in the corresponding relation of command object row Memory cell 701.
In other embodiments of the invention, receiving unit 702, are additionally operable to receive idsplay order;
Control unit 703, is additionally operable to target labels and target labels and the command object row indicated according to idsplay order Corresponding relation, there is the order line of dependence with command object row in selection target order line, and selection;
In this case, above-mentioned configuration device can also include:
, there is dependence for display target order line and with command object in display unit (not shown in Fig. 7) Order line.
In other embodiments of the invention, receiving unit 702, are additionally operable to receive modification instruction;
Control unit 703, is additionally operable to the mark of the order line to be modified according to modification instruction instruction, it is determined that the mesh for having shown Mark order line and there is order line to be modified in the order line of dependence with command object;Indicated according to modification instruction Modification data modification order line to be modified;Amended order line is stored in memory cell 701.
In other embodiments of the invention, receiving unit 702, being additionally operable to receive derives instruction;
Control unit 703, is additionally operable to according to the target labels and target labels and command object row for deriving instruction instruction Corresponding relation, there is the order line of dependence with command object row in selection target order line, and selection;By command object First for going and the storage of memory cell 701 for deriving instruction sensing being write with the order line that command object has dependence is pre- If file.
In other embodiments of the invention, receiving unit 702, are additionally operable to receive importing instruction;
Control unit 703, is additionally operable to according to the target labels and target labels and command object row for importing instruction instruction Corresponding relation, there is the order line of dependence with command object row in selection target order line, and selection;Referred to according to importing The order line of the second default file record of the storage of memory cell 701 pointed to is made, the corresponding command object of target labels is replaced Order line that is capable and there is dependence with command object row.
In other embodiments of the invention, receiving unit 702, are additionally operable to receive and delete instruction;
Control unit 703, is additionally operable to according to the target stored in the target labels and memory cell of deleting instruction instruction The corresponding relation of label and command object row, from storage selection target order line;The delete target order line from memory cell 701 Corresponding target labels.
Using above-described embodiment, label addition instruction is received, select label addition to refer in the complete order row for having stored The command object row for pointing to is made, is the target labels that the addition of command object row is indicated by label addition instruction, and preserve target mark Sign the corresponding relation with command object row.At this point it is possible to operated by object of label, to the corresponding order line of target labels Operated, without entirely to start configuration file as object is operated, improve the service speed to order line, improved Operating efficiency.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related Part is illustrated referring to the part of embodiment of the method.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating In any this actual relation or order.And, term " including ", "comprising" or its any other variant be intended to Nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Also there is other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of correlation, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for system reality Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the scope of the present invention.It is all Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention It is interior.

Claims (12)

1. a kind of method of configuration order row label, it is characterised in that methods described includes:
Receive label addition instruction;
The command object row for selecting the label addition instruction to point in the complete order row for having stored;
For the command object row adds the target labels that the label addition instruction is indicated;
Preserve the corresponding relation of the target labels and the command object row.
2. method according to claim 1, it is characterised in that methods described also includes:
Receive idsplay order;
The target labels and the target labels indicated according to the idsplay order are corresponding with the command object row Relation, selects the command object row, and selection to there is the order line of dependence with the command object row;
Show the command object row and there is the order line of dependence with the command object.
3. method according to claim 2, it is characterised in that methods described also includes:
Receive modification instruction;
According to it is described modification instruction point to order line to be modified mark, it is determined that the command object row for having shown and with There is order line to be modified in the order line of dependence in the command object;
The order line to be modified according to the modification data modification that the modification instruction is indicated;
Preserve amended order line.
4. method according to claim 1, it is characterised in that methods described also includes:
Receiving derives instruction;
It is corresponding with the command object row according to the target labels and the target labels for deriving instruction instruction Relation, selects the command object row, and selection to there is the order line of dependence with the command object row;
The order line write-in derivation instruction that there is dependence by the command object row and with the command object refers to To the first default file.
5. method according to claim 4, it is characterised in that methods described also includes:
Receive and import instruction;
It is corresponding with the command object row according to the target labels and the target labels for importing instruction instruction Relation, selects the command object row, and selection to there is the order line of dependence with the command object row;
According to the order line for importing the second default file record that instruction is pointed to, the corresponding target of the target labels is replaced Order line and there is the order line of dependence with the command object row.
6. method according to claim 1, it is characterised in that methods described also includes:
Receive and delete instruction;
According to the target labels and the command object row of the target labels and storage for deleting instruction instruction Corresponding relation, from the storage selection command object row;
Delete the corresponding target labels of the command object row.
7. a kind of device of configuration order row label, it is characterised in that described device includes:
Memory cell, for storing order line;
Receiving unit, for receiving label addition instruction;
Control unit, the command object row for selecting the label addition instruction to point in the order line for having stored, is the mesh Mark order line adds the target labels that the label addition instruction is indicated;The target labels are right with the command object row Should be related to and be stored in the memory cell.
8. device according to claim 7, it is characterised in that also including display unit;
The receiving unit, is additionally operable to receive idsplay order;
Described control unit, is additionally operable to the target labels and the target labels and the institute indicated according to the idsplay order The corresponding relation of command object row is stated, selects the command object row, and selection to there is dependence with the command object row and close The order line of system;
The display unit, for showing the command object row and there is the order of dependence with the command object OK.
9. device according to claim 8, it is characterised in that
The receiving unit, is additionally operable to receive modification instruction;
Described control unit, is additionally operable to the mark of the order line to be modified according to the modification instruction sensing, it is determined that shown The command object row and there is order line to be modified in the order line of dependence with the command object;According to described Order line to be modified described in the modification data modification that modification instruction is indicated;Amended order line is stored in the storage single Unit.
10. device according to claim 7, it is characterised in that
The receiving unit, being additionally operable to receive derives instruction;
Described control unit, is additionally operable to derive the target labels and the target labels and the institute that instruction is indicated according to described The corresponding relation of command object row is stated, selects the command object row, and selection to there is dependence with the command object row and close The order line of system;The order line that there is dependence by the command object row and with the command object writes the derivation Instruct the first default file of the memory cell storage pointed to.
11. devices according to claim 10, it is characterised in that
The receiving unit, is additionally operable to receive importing instruction;
Described control unit, is additionally operable to import the target labels and the target labels and the institute that instruction is indicated according to described The corresponding relation of command object row is stated, selects the command object row, and selection to there is dependence with the command object row and close The order line of system;According to the order line that second default file for importing the memory cell storage that instruction is pointed to is recorded, Replace the corresponding command object row of the target labels and there is the order line of dependence with the command object row.
12. devices according to claim 7, it is characterised in that
The receiving unit, is additionally operable to receive and deletes instruction;
Described control unit, is additionally operable to be deposited according in the target labels and the memory cell for deleting instruction instruction The target labels of storage and the corresponding relation of the command object row, from the storage selection command object row;From institute State the corresponding relation that the corresponding target labels of the command object row and the command object row are deleted in memory cell.
CN201710209902.XA 2017-03-31 2017-03-31 Method and device for configuring command line tag Active CN106921524B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710209902.XA CN106921524B (en) 2017-03-31 2017-03-31 Method and device for configuring command line tag

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710209902.XA CN106921524B (en) 2017-03-31 2017-03-31 Method and device for configuring command line tag

Publications (2)

Publication Number Publication Date
CN106921524A true CN106921524A (en) 2017-07-04
CN106921524B CN106921524B (en) 2021-12-17

Family

ID=59567103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710209902.XA Active CN106921524B (en) 2017-03-31 2017-03-31 Method and device for configuring command line tag

Country Status (1)

Country Link
CN (1) CN106921524B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090453A (en) * 2019-11-15 2020-05-01 苏州浪潮智能科技有限公司 Equipment configuration method, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6392668B1 (en) * 1999-11-12 2002-05-21 Kendara, Inc. Client-side system and method for network link differentiation
US20070006152A1 (en) * 2005-06-29 2007-01-04 Microsoft Corporation Software source asset management
JP2008225728A (en) * 2007-03-12 2008-09-25 Sanyo Electric Co Ltd Introduction preparation support device
CN102257498A (en) * 2011-05-31 2011-11-23 华为技术有限公司 Comment generation method of configuration files and configuration file generation device
CN102651698A (en) * 2012-04-28 2012-08-29 华为技术有限公司 Network management method, network management system and network elements
CN103577072A (en) * 2012-07-26 2014-02-12 中兴通讯股份有限公司 Terminal voice assistant editing method and device
CN104991793A (en) * 2015-06-15 2015-10-21 上海海漾软件技术有限公司 Method, device and system used for application program subpackage
CN105187241A (en) * 2015-08-19 2015-12-23 浪潮(北京)电子信息产业有限公司 Log recording method and system based on linux kernel

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6392668B1 (en) * 1999-11-12 2002-05-21 Kendara, Inc. Client-side system and method for network link differentiation
US20070006152A1 (en) * 2005-06-29 2007-01-04 Microsoft Corporation Software source asset management
JP2008225728A (en) * 2007-03-12 2008-09-25 Sanyo Electric Co Ltd Introduction preparation support device
CN102257498A (en) * 2011-05-31 2011-11-23 华为技术有限公司 Comment generation method of configuration files and configuration file generation device
CN102651698A (en) * 2012-04-28 2012-08-29 华为技术有限公司 Network management method, network management system and network elements
CN103577072A (en) * 2012-07-26 2014-02-12 中兴通讯股份有限公司 Terminal voice assistant editing method and device
CN104991793A (en) * 2015-06-15 2015-10-21 上海海漾软件技术有限公司 Method, device and system used for application program subpackage
CN105187241A (en) * 2015-08-19 2015-12-23 浪潮(北京)电子信息产业有限公司 Log recording method and system based on linux kernel

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090453A (en) * 2019-11-15 2020-05-01 苏州浪潮智能科技有限公司 Equipment configuration method, equipment and storage medium

Also Published As

Publication number Publication date
CN106921524B (en) 2021-12-17

Similar Documents

Publication Publication Date Title
CN105242881B (en) Distributed memory system and its data read-write method
CN102821138B (en) Metadata distributed storage method applicable to cloud storage system
CN103473272B (en) Data processing method, apparatus and system
CN103207799B (en) A kind of closedown method of computer system, starting-up method, Apparatus and system
CN105264482B (en) Low cost storage to the data seldom read
CN103227747B (en) High density trustship for messaging service
CN101542447B (en) Write once recording device
CN102333079A (en) Method for clearing disk space
WO2019226297A1 (en) Edit transactions for blockchains
CN103514249A (en) Method and system for automatic data reduction and storage device
CN106126374A (en) Method for writing data, method for reading data and device
CN106874328A (en) A kind of data processing method and equipment
CN108076078A (en) A kind of cloud host creation method, device and cloud service system
CN108733321A (en) Garbage collection-automaticdata is placed
CN108345477A (en) A kind of double-mirror shares the design method and device of conf partitioned files
CN102982182A (en) Data storage planning method and device
CN109976673A (en) A kind of method for writing data and device
CN106921524A (en) A kind of method and device of configuration order row label
CN102280134A (en) Method for improving data security in removable storage device
CN110297810A (en) A kind of stream data processing method, device and electronic equipment
CN102571897A (en) Data backup system and data backup and backtracking method
CN109521957A (en) A kind of data processing method and device
CN106959906A (en) Information processing method, information processor and electronic equipment
CN108255434A (en) Label management method, managing device and computer readable storage medium
CN105094761B (en) A kind of date storage method and equipment

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