CN105847036B - The system and method for order pre-execution - Google Patents
The system and method for order pre-execution Download PDFInfo
- Publication number
- CN105847036B CN105847036B CN201610152978.9A CN201610152978A CN105847036B CN 105847036 B CN105847036 B CN 105847036B CN 201610152978 A CN201610152978 A CN 201610152978A CN 105847036 B CN105847036 B CN 105847036B
- Authority
- CN
- China
- Prior art keywords
- order
- execution
- configuration
- line module
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0866—Checking the configuration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of system and methods of order pre-execution, are related to data communication technology field.The system includes order line module and configuration management module, and order line module receives configuration order A, B, is sent to configuration management module;Configuration management module generates the configuration data of order A, B;Order line module receives pre-execution order C, issue configuration management module, configuration management module influence caused by look-up command C in the data of current configuration order A, B finds that order C has an impact configuration order A, C will be ordered to ordering the influence result of A to return to order line module;If the influence of order line module display command C " execution ", if user orders C according to the influence of order C " execution ", to decide whether to execute.The order of pre-execution will not have an impact the configuration of the network equipment in the present invention, influence original functional configuration after order can be avoided to execute.
Description
Technical field
The present invention relates to data communication technology fields, are specifically related to a kind of system and method for order pre-execution.
Background technology
With the continuous development of social informatization, the function of the network equipment is also stronger and stronger, opposite, to the network equipment
Requirement it is also higher.Administrator, in face of complicated network configuration, matches when safeguarding the network equipment due to being unfamiliar with network
It sets, or slips up for the moment, it is possible to the network configuration to enter into force is modified, the network equipment being currently running is caused
There are the adverse consequences such as data cutout, delay.
Invention content
The purpose of the invention is to overcome the shortcomings of above-mentioned background technology, system and the side of a kind of order pre-execution are provided
The order of method, pre-execution will not have an impact the configuration of the network equipment, influence original function after order can be avoided to execute
Configuration.
The present invention provides a kind of system of order pre-execution, which includes order line module and configuration management module, institute
It states order line module and receives order A input by user, find that order A is configuration order after parsing, order A is sent to configuration
Management module;Configuration management module generates the configuration data of order A, and the implementing result of A will be ordered to return to order line module;Life
Row module is enabled to receive the implementing result of order A, order A configurations terminate;
The order line module receives order B input by user, finds that order B is configuration order after parsing, will order B
It is sent to configuration management module;Configuration management module generates the configuration data of order B, and the implementing result of B will be ordered to return to life
Enable row module;Order line module receives the implementing result of order B, and order B configurations terminate;
The order line module receives order C, it is found that order C is pre-execution order;Order line module, which issues order C, matches
Management module is set, command type is " order pre-execution ";Configuration management module receives order C, it is found that the command type of order C is
" order pre-execution ", the influence caused by look-up command C in the data of current configuration order A, B, it is found that order C orders configuration
A is enabled to have an impact;Configuration management module will order C to ordering the influence result of A to return to order line module;Order line module is shown
If ordering the influence of C " execution ", if user orders C according to the influence of order C " execution ", to decide whether to execute.
Based on the above technical solution, the configuration management module will order C to ordering the influence result of A to be organized into
Character string returns to order line module.
Based on the above technical solution, the ending of the pre-execution order has additional character label.
Based on the above technical solution, the order C is ended up with additional character " $ ".
The method for the order pre-execution based on above system that the present invention also provides a kind of, includes the following steps:
S1, order line module receive order A input by user, find that order A is configuration order after parsing, will order A
It is sent to configuration management module;Configuration management module generates the configuration data of order A, and the implementing result of A will be ordered to return to life
Enable row module;Order line module receives the implementing result of order A, and order A configurations terminate;
S2, order line module receive order B input by user, find that order B is configuration order after parsing, will order B
It is sent to configuration management module;Configuration management module generates the configuration data of order B, and the implementing result of B will be ordered to return to life
Enable row module;Order line module receives the implementing result of order B, and order B configurations terminate;
S3, order line module receive order C, it is found that order C is pre-execution order;Order line module, which issues order C, matches
Management module is set, command type is " order pre-execution ";Configuration management module receives order C, it is found that the command type of order C is
" order pre-execution ", the influence caused by look-up command C in the data of current configuration order A, B, it is found that order C orders configuration
A is enabled to have an impact;Configuration management module will order C to ordering the influence result of A to return to order line module;Order line module is shown
If ordering the influence of C " execution ", if user orders C according to the influence of order C " execution ", to decide whether to execute.
Based on the above technical solution, in step S3, the configuration management module will order influences of the C to order A
As a result it is organized into character string, returns to order line module.
Based on the above technical solution, in step S3, the ending of the pre-execution order has additional character label.
Based on the above technical solution, in step S3, the order C is ended up with additional character " $ ".
Compared with prior art, advantages of the present invention is as follows:
The order of pre-execution will not have an impact the configuration of the network equipment in the present invention, administrator execute order before,
It can first check the configuration that the order is influenced, if it find that the configuration influenced does not meet the expection of oneself, order can be changed,
Original functional configuration is influenced after avoiding order from executing.
Description of the drawings
Fig. 1 is the flow chart of the method for order pre-execution in the embodiment of the present invention.
Fig. 2 is the schematic diagram of the method application of order pre-execution in the embodiment of the present invention on the router.
Specific implementation mode
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
The embodiment of the present invention provides a kind of system of order pre-execution, which includes order line module and configuration management mould
Block.
Shown in Figure 1, the embodiment of the present invention also provides a kind of method of the order pre-execution based on above system, including
Following steps:
S1, order line module receive order A input by user, find that order A is configuration order after parsing, will order A
It is sent to configuration management module;Configuration management module generates the configuration data of order A, and the implementing result of A will be ordered to return to life
Enable row module;Order line module receives the implementing result of order A, and order A configurations terminate;
S2, order line module receive order B input by user, find that order B is configuration order after parsing, will order B
It is sent to configuration management module;Configuration management module generates the configuration data of order B, and the implementing result of B will be ordered to return to life
Enable row module;Order line module receives the implementing result of order B, and order B configurations terminate;
Order the configuration flow of B with ordering the configuration flow of A similar, difference is that configuration management module generates matching for order B
It is different from the order configuration data of A is generated to set data;
S3, pre-execution order ending have an additional character label, order line module receives order C, finds order C with special
Symbol " $ " ends up, and is pre-execution order;Order line module will order C to issue configuration management module, and command type is that " order is pre-
It executes ";Configuration management module receives order C, it is found that the command type of order C is " order pre-execution ", ordered in current configuration
Influence caused by look-up command C in the data of A, B is enabled, it is found that order C has an impact configuration order A;Configuration management module will order
It enables C to ordering the influence result of A to be organized into character string, returns to order line module;If order line module display command C " is held
The influence of row ", if user orders C according to the influence of order C " execution ", to decide whether to execute.
Shown in Figure 2, the method for order pre-execution can be applied on order line webmaster management router, and administrator is worked as
When inputting the order of pre-execution, it is pre-execution order, the order data that will be executed that the order line module of router, which first parses,
It is packaged, notify configuration management module;Configuration management module searches what shadow the order can cause further according to the data of order
It rings, returning again to, which influences result, gives order line module, is shown on the display interface of router by order line module by result is influenced,
Administrator decides whether to execute order according to result is influenced.
The order of pre-execution will not have an impact the configuration of the network equipment in the embodiment of the present invention, and administrator is executing life
Before order, the configuration that the order is influenced can be first checked, if it find that the configuration influenced does not meet the expection of oneself, can change
Order influences original functional configuration after avoiding order from executing.
Those skilled in the art can be carry out various modifications to the embodiment of the present invention and modification, if these modifications and change
For type within the scope of the claims in the present invention and its equivalent technologies, then these modifications and variations are also in protection scope of the present invention
Within.
The prior art that the content not being described in detail in specification is known to the skilled person.
Claims (8)
1. a kind of system of order pre-execution, it is characterised in that:The system includes order line module and configuration management module, described
Order line module receives order A input by user, finds that order A is configuration order after parsing, and order A is sent to configuration pipe
Manage module;Configuration management module generates the configuration data of order A, and the implementing result of A will be ordered to return to order line module;Order
Row module receives the implementing result of order A, and order A configurations terminate;
The order line module receives order B input by user, finds that order B is configuration order after parsing, order B is sent
To configuration management module;Configuration management module generates the configuration data of order B, and the implementing result of B will be ordered to return to order line
Module;Order line module receives the implementing result of order B, and order B configurations terminate;
The order line module receives order C, it is found that order C is pre-execution order;Order line module will order C to issue configuration pipe
Module is managed, command type is " order pre-execution ";Configuration management module receives order C, it is found that the command type of order C is " life
Enable pre-execution ", it influences, finds caused by look-up command C in the configuration data of current order A and the configuration data of order B
Order C has an impact order A;Configuration management module will order C to ordering the influence result of A to return to order line module;Order
If the influence of row module display command C " execution ", if user according to order C " execution " influence, to decide whether to execute
Order C.
2. the system of order pre-execution as described in claim 1, it is characterised in that:The configuration management module will order C pairs
The influence result of order A is organized into character string, returns to order line module.
3. the system of order pre-execution as described in claim 1, it is characterised in that:It is special that the ending of the pre-execution order has
Sign flag.
4. the system of order pre-execution as claimed in claim 3, it is characterised in that:The order C is tied with additional character " $ "
Tail.
5. a kind of method of the order pre-execution based on system described in claim 1, which is characterized in that include the following steps:
S1, order line module receive order A input by user, find that order A is configuration order after parsing, order A is sent
To configuration management module;Configuration management module generates the configuration data of order A, and the implementing result of A will be ordered to return to order line
Module;Order line module receives the implementing result of order A, and order A configurations terminate;
S2, order line module receive order B input by user, find that order B is configuration order after parsing, order B is sent
To configuration management module;Configuration management module generates the configuration data of order B, and the implementing result of B will be ordered to return to order line
Module;Order line module receives the implementing result of order B, and order B configurations terminate;
S3, order line module receive order C, it is found that order C is pre-execution order;Order line module will order C to issue configuration pipe
Module is managed, command type is " order pre-execution ";Configuration management module receives order C, it is found that the command type of order C is " life
Enable pre-execution ", it influences, finds caused by look-up command C in the configuration data of current order A and the configuration data of order B
Order C has an impact order A;Configuration management module will order C to ordering the influence result of A to return to order line module;Order
If the influence of row module display command C " execution ", if user according to order C " execution " influence, to decide whether to execute
Order C.
6. the method for order pre-execution as claimed in claim 5, it is characterised in that:In step S3, the configuration management module
C will be ordered to ordering the influence result of A to be organized into character string, return to order line module.
7. the method for order pre-execution as claimed in claim 5, it is characterised in that:In step S3, the pre-execution order
Ending has additional character label.
8. the method for order pre-execution as claimed in claim 7, it is characterised in that:In step S3, the order C is with special symbol
Number " $ " ending.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610152978.9A CN105847036B (en) | 2016-03-17 | 2016-03-17 | The system and method for order pre-execution |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610152978.9A CN105847036B (en) | 2016-03-17 | 2016-03-17 | The system and method for order pre-execution |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105847036A CN105847036A (en) | 2016-08-10 |
CN105847036B true CN105847036B (en) | 2018-11-13 |
Family
ID=56588352
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610152978.9A Active CN105847036B (en) | 2016-03-17 | 2016-03-17 | The system and method for order pre-execution |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105847036B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859158A (en) * | 2005-08-05 | 2006-11-08 | 华为技术有限公司 | Command line conflict detecting and service configuration realizing method |
CN101073057A (en) * | 2003-10-24 | 2007-11-14 | 微软公司 | Mechanism for providing extended functionality to command line instructions |
CN101262376A (en) * | 2008-04-21 | 2008-09-10 | 北京星网锐捷网络技术有限公司 | A method and system for modifying configuration of network device in batch mode |
CN102880471A (en) * | 2012-09-24 | 2013-01-16 | 中兴通讯股份有限公司 | Command execution method based on command line and command line operating system |
CN103530091A (en) * | 2013-10-29 | 2014-01-22 | 曙光信息产业(北京)有限公司 | Method and device for implementing task of calculating CPMD (car-Parrinello molecular dynamics simulations) |
CN103942099A (en) * | 2014-04-30 | 2014-07-23 | 广州唯品会网络技术有限公司 | Parallel task execution method and device based on Hive |
CN104883611A (en) * | 2015-06-09 | 2015-09-02 | Tcl集团股份有限公司 | Debugging method and system of television screen |
-
2016
- 2016-03-17 CN CN201610152978.9A patent/CN105847036B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101073057A (en) * | 2003-10-24 | 2007-11-14 | 微软公司 | Mechanism for providing extended functionality to command line instructions |
CN1859158A (en) * | 2005-08-05 | 2006-11-08 | 华为技术有限公司 | Command line conflict detecting and service configuration realizing method |
CN101262376A (en) * | 2008-04-21 | 2008-09-10 | 北京星网锐捷网络技术有限公司 | A method and system for modifying configuration of network device in batch mode |
CN102880471A (en) * | 2012-09-24 | 2013-01-16 | 中兴通讯股份有限公司 | Command execution method based on command line and command line operating system |
CN103530091A (en) * | 2013-10-29 | 2014-01-22 | 曙光信息产业(北京)有限公司 | Method and device for implementing task of calculating CPMD (car-Parrinello molecular dynamics simulations) |
CN103942099A (en) * | 2014-04-30 | 2014-07-23 | 广州唯品会网络技术有限公司 | Parallel task execution method and device based on Hive |
CN104883611A (en) * | 2015-06-09 | 2015-09-02 | Tcl集团股份有限公司 | Debugging method and system of television screen |
Also Published As
Publication number | Publication date |
---|---|
CN105847036A (en) | 2016-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021042515A1 (en) | Graph data storage and query method and apparatus, and computer-readable storage medium | |
EP2539834A1 (en) | System, method, and computer program product for applying a regular expression to content based on required strings of the regular expression | |
CN104732332B (en) | Order splitting method and device based on electronic commerce | |
CN108984650A (en) | Computer readable recording medium and computer equipment | |
CN103383691B (en) | A kind of online editing method and apparatus of webpage | |
CN105631019A (en) | Metadata extension method and device | |
CN103500099B (en) | A kind of method that the quick secondary development of software is realized by extension point and extension | |
CN102663108A (en) | Medicine corporation finding method based on parallelization label propagation algorithm for complex network model | |
WO2017045473A1 (en) | Business process operation method and apparatus | |
CN102306163A (en) | Dynamic integration technology based on B2B (business to business) platform | |
CN105847036B (en) | The system and method for order pre-execution | |
CN102624736B (en) | TL1 (transaction language 1) command verification method and TL1 command verification device | |
CN106936630A (en) | A kind of whole bag upgrade method of many card insert type equipment and upgrade-system | |
CN104317781A (en) | Sensitive word editor | |
CN110768811B (en) | Method, device and system for updating YANG model file library | |
CN107404515A (en) | The processing method and processing device of asynchronous http request | |
CN106649562A (en) | Information search method and terminal | |
CN104023056B (en) | The method and relevant device updated the data | |
CN108989311A (en) | Generate the method and apparatus of input parameter | |
US20220342742A1 (en) | Graphical management of big data pipelines | |
CN106156311B (en) | The method and system that a kind of pair of dynamic content is labeled and shows | |
CN105224573B (en) | A kind of regular data configuration method and device, system | |
CN108170812A (en) | A kind of data filtering method and equipment | |
CN109033189B (en) | Compression method and device of link structure log, server and readable storage medium | |
CN109547317B (en) | Method and device for establishing connection tunnel |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |