CN108134690B - Network service deployment process control method, device and system - Google Patents

Network service deployment process control method, device and system Download PDF

Info

Publication number
CN108134690B
CN108134690B CN201711326130.4A CN201711326130A CN108134690B CN 108134690 B CN108134690 B CN 108134690B CN 201711326130 A CN201711326130 A CN 201711326130A CN 108134690 B CN108134690 B CN 108134690B
Authority
CN
China
Prior art keywords
configuration
information
sub
devices
pieces
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
Application number
CN201711326130.4A
Other languages
Chinese (zh)
Other versions
CN108134690A (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.)
Zhongying Youchuang Information Technology Co Ltd
Original Assignee
Zhongying Youchuang Information Technology 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 Zhongying Youchuang Information Technology Co Ltd filed Critical Zhongying Youchuang Information Technology Co Ltd
Priority to CN201711326130.4A priority Critical patent/CN108134690B/en
Publication of CN108134690A publication Critical patent/CN108134690A/en
Application granted granted Critical
Publication of CN108134690B publication Critical patent/CN108134690B/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
    • 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/28Restricting access to network management systems or functions, e.g. using authorisation function to access network configuration
    • 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/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • 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/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS

Landscapes

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

Abstract

The invention provides a method, a device and a system for controlling a network service deployment process, wherein the method comprises the following steps: determining network service information required to be deployed, wherein the network service information required to be deployed comprises a plurality of pieces of sub-configuration task information, and the plurality of pieces of sub-configuration task information are configured by a plurality of devices; comparing the conflict between the information of the plurality of sub-configuration tasks and the configured service information on a plurality of devices, and when the information of the plurality of sub-configuration tasks and the configured service information on the corresponding device do not conflict, issuing the information of the plurality of sub-configuration tasks to the plurality of devices; and receiving the result of the configuration operation executed by the plurality of devices according to the corresponding sub-configuration task information. Because the scheme compares the configuration task information with the configured service information on the equipment, the deployment conflict can not be caused, and the important service can be effectively ensured.

Description

Network service deployment process control method, device and system
Technical Field
The present invention relates to the field of service deployment technologies, and in particular, to a method, an apparatus, and a system for controlling a network service deployment process.
Background
With the development of communication networks, particularly the growth of the internet and the convergence and evolution of three networks in China, the complexity of telecommunication network services is greatly increased, the requirements are variable, scenes that the equipment configuration operation is increased and deleted frequently occur and the service deployment needs to be matched with a plurality of pieces of equipment, namely scenes that the equipment is sequentially executed, and the complex deployment logic puts forward the requirements of safety, reliability and speed and efficiency on the service operation deployment.
1. The common device service operation is very simple, such as configuring the router port description operation of cisco:
configure terminal
interface GigabitEthernet6/0/8.702
description For Test-A
exit
Exit
the operation of the existing network service is often dozens of times of the operation record number, common service deployment also relates to a plurality of modules, not only the port module, but also strategy module delivery, routing module delivery, speed limit module configuration and the like are provided, the deployment among the modules has dependency relationship and needs to be executed in a certain sequence; meanwhile, when a certain configuration part fails, the new deployment process fails due to the existing configuration when the configuration part is issued again, so for the operation with partial failure, the existing operation needs to be sequentially rolled back.
2. Common service configuration is less likely to change simply, but in a complex service model, part of the device configuration operations are often adjusted, that is, configuration commands are variable, so that the probability of adding and deleting changes is high, and the service logic is also changed, for example: configuration B operations are only started in case the device already has a configuration, so a flexible extended template encapsulation is needed.
3. The network device has important guaranteed services, and for the services, the availability and the conflict of the existing configuration of the network device are checked firstly to deploy new changes, and in the case of network failure, great loss is caused.
4. The common device service deployment only involves a single device, but the number of devices involved in a complex service scenario may be more than 10 and there is a deployment order among 10 devices, for example, C needs to complete a and B configurations before starting the configurations; meanwhile, the efficiency of 10 equipment configuration is guaranteed, and the configuration and deployment performance and speed are improved.
For complex network service deployment, an existing solution is to perform configuration operations by program solidification through a service deployment model, automatically generate all configuration commands after filling service parameters in a front end, and then manually check, supplement and add the commands, and then use a third-party tool to connect equipment copy text command operations. In this way, under the condition that multiple devices need to be configured, one control, login and paste command operation needs to be manually carried out; the device generation command is not verified by the existing network service in the multiple devices, so that deployment conflict is easily caused, and important services cannot be effectively guaranteed; meanwhile, after command operation fails, manual intervention is needed to roll back configuration operation.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a system for controlling a network service deployment process, which are used for comparing configuration task information with configured service information on equipment, so that deployment conflict cannot be caused, and important services can be effectively guaranteed.
The method for controlling the network service deployment process provided by the embodiment of the invention comprises the following steps:
determining network service information required to be deployed, wherein the network service information required to be deployed comprises a plurality of pieces of sub-configuration task information, and the plurality of pieces of sub-configuration task information are configured by a plurality of devices;
comparing the conflict between the information of the plurality of sub-configuration tasks and the configured service information on a plurality of devices, and when the information of the plurality of sub-configuration tasks and the configured service information on the corresponding device do not conflict, issuing the information of the plurality of sub-configuration tasks to the plurality of devices;
and receiving the result of the configuration operation executed by the plurality of devices according to the corresponding sub-configuration task information.
The network service deployment process control device provided by the embodiment of the invention comprises the following steps:
the information determining module is used for determining network service information required to be deployed, wherein the network service information required to be deployed comprises a plurality of pieces of sub-configuration task information, and the plurality of pieces of sub-configuration task information are configured by a plurality of devices;
the comparison module is used for carrying out conflict comparison on the information of the plurality of sub-configuration tasks and the configured service information on a plurality of devices;
the information issuing module is used for issuing the plurality of pieces of sub-configuration task information to the plurality of pieces of equipment when the plurality of pieces of sub-configuration task information do not conflict with the configured service information on the corresponding equipment;
and the result receiving module is used for receiving the result of the configuration operation executed by the plurality of devices according to the corresponding sub-configuration task information.
The network service deployment process control system provided by the embodiment of the invention comprises the following steps:
the network service deployment process control device;
and a plurality of devices for executing configuration operation according to the sub-configuration task information.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, and the computer readable storage medium stores a computer program for executing the method.
In the embodiment of the invention, firstly, network service information required to be deployed is determined, wherein the network service information required to be deployed comprises a plurality of pieces of sub-configuration task information, and the plurality of pieces of sub-configuration task information are configured by a plurality of devices; then, carrying out conflict comparison on the plurality of pieces of sub-configuration task information and configured service information on a plurality of devices, and when the plurality of pieces of sub-configuration task information and the configured service information on the corresponding device do not conflict, issuing the plurality of pieces of sub-configuration task information to the plurality of devices; and receiving the result of the configuration operation executed by the plurality of devices according to the corresponding sub-configuration task information. Compared with the prior art, the invention compares the configuration task information with the configured service information on the equipment, does not cause deployment conflict, and can effectively guarantee important services.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for controlling a network service deployment process according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a sequence of executing configuration information by a device according to an embodiment of the present invention;
fig. 3 is a block diagram of a structure of a network service deployment flow control device according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for implementing network service deployment flow control by a network service deployment flow control system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In an embodiment of the present invention, a method for controlling a network service deployment process is provided, as shown in fig. 1, the method includes:
step 101: determining network service information required to be deployed, wherein the network service information required to be deployed comprises a plurality of pieces of sub-configuration task information, and the plurality of pieces of sub-configuration task information are configured by a plurality of devices;
step 102: comparing the conflict between the information of the plurality of sub-configuration tasks and the configured service information on a plurality of devices (for example, detecting hidden troubles such as address conflict and the like, and ensuring the safety of issuing and deploying), and when the information of the plurality of sub-configuration tasks and the configured service information on the corresponding devices do not conflict, issuing the information of the plurality of sub-configuration tasks to the plurality of devices;
step 103: and receiving the result of the configuration operation executed by the plurality of devices according to the corresponding sub-configuration task information.
In specific implementation, the network service information to be deployed further includes a configuration execution sequence of a plurality of pieces of sub-configuration task information;
receiving a result of the plurality of devices performing the configuration operation according to the corresponding sub-configuration task information (step 103), including:
and receiving the result (stored in the operation log) of the configuration operation according to the corresponding sub-configuration task information according to the configuration execution sequence.
And determining the configuration sequence of the plurality of devices according to the preset configuration task concurrency, and simultaneously performing configuration operation on corresponding devices corresponding to the sub-configuration tasks with the same concurrency.
Further comprising: and outputting the network service information to be deployed, ensuring that the configuration command is obtained when being seen, and providing a step of manually checking the configuration command before service deployment.
Specifically, the invention divides the network service information to be deployed according to the affairs, tasks and subtasks. The execution of a network service is divided into a transaction and a task, and the task is divided into several subtasks according to the sequence (namely the configuration task concurrency preset implicitly) of several devices required to execute the configuration task by each device. Referring to fig. 2, there are 6 devices, provided that there are two lines in the deployment order, the first is configuration C and the last configuration F after configuration a, and the second is configuration B and D and E are deployed (D, E there is no dependency relationship between them). And dividing a to F into a total of one transaction, one task and 6 subtasks, wherein the concurrency degrees of the subtasks of a and B are the same as 1, the concurrency degrees of C, D and E are the same as 2, and the concurrency degree of F is 3, so that the whole process is to execute a and B concurrently, execute C, D and E after completion, and finally execute F, wherein the configuration efficiency of 6 stations is equal to that of three deployment operations.
In addition, the method also supports the concurrency among the transactions, sets different transactions for the business model without the dependency relationship, and also executes the concurrency among any equipment.
In specific implementation, the network service information to be deployed may further include a configuration check flag, where the configuration check flag includes 1 or 0, where 1 indicates that the sub-configuration task information continues to be forcibly issued when there is a conflict between the sub-configuration task information and one or more of the configured service information on the corresponding device, and 0 indicates that the sub-configuration task information does not continue to be issued when there is a conflict between the sub-configuration task information and one or more of the configured service information on the corresponding device; in this case, the meaning of 1 or 0 in the configuration check flag may be exchanged.
Further comprising:
and comparing the conflict between the plurality of pieces of sub-configuration task information and the configured service information on the plurality of pieces of equipment, and when the plurality of pieces of sub-configuration task information conflict with one or more pieces of configured service information on the corresponding equipment, determining whether to issue the plurality of pieces of sub-configuration task information to the plurality of pieces of equipment according to the configuration check mark.
In specific implementation, the network service information to be deployed further includes a rollback flag, where the rollback flag includes 1 or 0, where 1 indicates that a rollback operation is performed after a configuration operation fails to be performed, and 0 indicates that a rollback operation is not performed after a configuration operation fails to be performed; in this case, the meaning of 1 or 0 in the rollback flag may be exchanged.
Receiving a result of the plurality of devices performing the configuration operation according to the corresponding sub-configuration task information (step 103), including:
when the configuration operation is failed to be executed and the rollback flag is 1, receiving failure information and rollback operation information of the multiple devices for executing the configuration operation according to the corresponding sub-configuration task information;
and when the configuration operation is failed to be executed and the rollback mark is 0, receiving failure information of the plurality of devices executing the configuration operation according to the corresponding sub-configuration task information.
Specifically, the rollback further includes an internal rollback and an external rollback logic, where the internal rollback refers to a failure of one of the devices when performing the information configuration operation of the sub-configuration task, and only rolls the device back to its original state. The external rollback refers to that, in addition to the device in which the configuration failure occurs, the device in which the configuration operation has been completed before performs the rollback operation, and returns to the initial state.
In specific implementation, the network service information to be deployed further includes login marks of a plurality of devices;
issuing the information of the plurality of sub-configuration tasks to the plurality of devices (step 102), including:
and correspondingly connecting the plurality of devices according to the login marks of the plurality of devices, and issuing the plurality of sub-configuration task information to the plurality of devices.
Specifically, a default used network element account password is generally used for logging in corresponding equipment, when a service needs real-name authentication, a program maintains a data structure for establishing network element communication connection, obtains a user name and a password of a network management system login user to replace the default used network element account password, logs in the corresponding equipment according to the network element account password, loads task configuration data to obtain subtask information corresponding to a task, and establishes a mapping relation between the subtask and a transaction. When the network element of the task configuration information needs to jump and log in, the program maintains a network element connection data structure, and establishes equipment information of a jump point, wherein the equipment information comprises a jump board IP address, a jump board equipment model and a jump board account password.
Based on the same inventive concept, the embodiment of the present invention further provides a network service deployment flow control apparatus, as described in the following embodiments. Because the principle of the network service deployment flow control device for solving the problem is similar to that of the network service deployment flow control method, the implementation of the network service deployment flow control device can refer to the implementation of the network service deployment flow control method, and repeated parts are not described again. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 3 is a block diagram of a structure of a network service deployment process control apparatus according to an embodiment of the present invention, as shown in fig. 3, including:
an information determining module 301, configured to determine network service information to be deployed, where the network service information to be deployed includes multiple pieces of sub-configuration task information, and the multiple pieces of sub-configuration task information are configured by multiple pieces of equipment;
a comparing module 302, configured to compare the plurality of sub-configuration task information with configured service information on a plurality of devices for conflict;
the information issuing module 303 is configured to issue the multiple pieces of sub-configuration task information to the multiple pieces of equipment when none of the multiple pieces of sub-configuration task information conflicts with the configured service information on the corresponding equipment;
a result receiving module 304, configured to receive a result of the multiple devices performing the configuration operation according to the corresponding sub-configuration task information.
In specific implementation, the network service information to be deployed further includes a configuration execution sequence of a plurality of pieces of sub-configuration task information;
the result receiving module 304 is specifically configured to: and receiving the result of executing the configuration operation according to the corresponding sub-configuration task information according to the configuration execution sequence.
In specific implementation, the network service information to be deployed further includes a configuration check flag, where the configuration check flag includes 1 or 0, where 1 indicates that the sub-configuration task information continues to be issued when there is a conflict between the sub-configuration task information and one or more of configured service information on corresponding devices, and 0 indicates that the sub-configuration task information does not continue to be issued when there is a conflict between the sub-configuration task information and one or more of configured service information on corresponding devices;
the comparison module 302 is further configured to:
and comparing the conflict between the plurality of pieces of sub-configuration task information and the configured service information on the plurality of pieces of equipment, and when the plurality of pieces of sub-configuration task information conflict with one or more pieces of configured service information on the corresponding equipment, determining whether to issue the plurality of pieces of sub-configuration task information to the plurality of pieces of equipment according to the configuration check mark.
In specific implementation, the network service information to be deployed further includes a rollback flag, where the rollback flag includes 1 or 0, where 1 indicates that a rollback operation is performed after a configuration operation fails to be performed, and 0 indicates that a rollback operation is not performed after a configuration operation fails to be performed;
the result receiving module 304 is specifically configured to: when the configuration operation is failed to be executed and the rollback flag is 1, receiving failure information and rollback operation information of the multiple devices for executing the configuration operation according to the corresponding sub-configuration task information; and when the configuration operation is failed to be executed and the rollback mark is 0, receiving failure information of the plurality of devices executing the configuration operation according to the corresponding sub-configuration task information.
In specific implementation, the network service information to be deployed further includes login marks of a plurality of devices;
the information issuing module 303 is specifically configured to: and correspondingly connecting the plurality of devices according to the login marks of the plurality of devices, and issuing the plurality of sub-configuration task information to the plurality of devices.
Based on the same inventive concept, the embodiment of the present invention further provides a network service deployment process control system, including:
the network service deployment process control device;
and a plurality of devices for executing configuration operation according to the sub-configuration task information.
Specifically, the system realizes the scheduling control of task operation, provides the capability of automatically deploying service data to the network element, and supports the drive of configuration inspection, configuration preview and configuration issuing of three operation flows. The system realizes logic branching by calling a function corresponding to a specific task type, and simultaneously realizes internal rollback and external rollback logic when an error is issued. In the configuration issuing process, if the configuration check failure task does not ignore the error, the engine does not execute the subsequent issuing operation, and if the configuration check failure task ignores the error, the engine forcibly executes the issuing operation to complete the deployment of the template command. The configuration checking, previewing and issuing flows can embody different maintenance capabilities through the atomic operation defined by the template, but the scheduling logics of the three are similar in the task control plane, and the implementation logics of the configuration issuing description engine are used.
The network service deployment process control system realizes the control of the network service deployment process according to the method process shown in fig. 4:
1) starting;
2) acquiring basic information of executing tasks through a database, wherein the basic information comprises a rollback mark, a configuration check mark, a task type and the like, the rollback mark represents whether to ignore configuration errors and continue issuing, and the configuration check mark represents whether to execute a check template of service configuration and user-defined configuration;
3) clearing the record log attribute of the log detail table;
4) acquiring task service parameters;
5) judging whether real-name system login is needed, when the service needs real-name system authentication, maintaining a data structure for establishing network element communication connection by a program, acquiring a user name and a password of a network management system login user to replace a default used network element account password, then loading task configuration data to acquire subtask information corresponding to a task and establishing a mapping relation between the subtask and a transaction. When the network element of the task configuration information needs to jump and log in (that is, the role of the device has springboard information), the program maintains the network element connection data structure, and constructs the device information of a jump point (that is, processes the secondary login of the device springboard), including the IP address of the springboard, the model of the device of the springboard and the account password of the springboard.
6) And then entering a transaction stage, processing subtasks contained in the transaction by circulating a transaction data structure, calling a template execution interface by the subtasks to finish translation and execution of service logic, and recording an operation log after service configuration. And when the execution of the subtasks in the transaction is failed, the task rollback is marked as 1, the engine sequentially executes the rollback operation of completed subtasks in the transaction, restores the network element configuration content to be in the original state and processes the subtasks which should be executed subsequently, and sets the state to be 'failure' and the error type to be 'preamble subtask execution failure'. And when the task rollback mark is 0, the engine does not recover the completed configuration content, the subtask state is set, the subtask log is recorded, and the subsequent subtask processing is continued. And when all the subtask processing is completed, circularly entering the processing of the next transaction, and finishing the engine scheduling after all the transactions are completed.
The invention designs an interactive template, which is a file for facilitating the user to execute data configuration and packaging the service logic and the configuration command, is a collection of the service logic and the equipment logic, provides the capability of dynamically controlling the service execution logic by interacting with the equipment in real time and supports the output of interactive log information. The writing specification of the interactive configuration template supports all syntaxes of Perl language, and can realize the control of configuration data and operation commands by using all variables, operational characters, control structures, regular expressions and functions of the Perl language, thereby enhancing the expression capability of business logic.
The interactive configuration template supports interaction with equipment, reads the existing configuration information of the equipment by executing a command, and encapsulates three atomic operations for maintenance and management of service deployment, including configuration, viewing and display. The detailed operation functions are shown in table 1.
Table 1 template encapsulated business operations functionality
Figure GDA0003063884280000091
The operation of 'configuration' is not logged in the equipment to execute in the preview process, which is only convenient for the user to more intuitively see the configuration command, and the command encapsulated by 'configuration' in the issuing process can be actually configured to the network element equipment. The "view" operation is used to configure, check, preview, and issue commands that need to be executed by the actual login network element in all three processes, such as dynamically determining the scenes of the service parameters. The "display" operation is suitable for a scene in which a user wants to see the complete service module configuration but does not need to be deployed again when actually issuing equipment, and is a supplementary display for service deployment.
In specific implementation, the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method when executing the computer program.
In a specific implementation, the present invention further provides a computer-readable storage medium, in which a computer program for executing the method is stored.
In conclusion, the invention has the following beneficial effects:
(1) the network service information required to be deployed is limited by the affairs, tasks, subtasks and concurrency, so that the service deployment efficiency and performance are greatly improved, and the complex service scene can achieve the configuration deployment speed close to the minute level.
(2) Three flow driving processes are started: configuration inspection, configuration preview and configuration issue ensure smooth deployment of services, effectively improve the success rate of opening the existing network service deployment and have extremely high stability.
(3) The three operation types of the interactive configuration template enhance the service deployment management and control capability, enrich the checking means of maintenance personnel, and have extremely high expansibility for packaging the whole service. Furthermore, interactive templates support the use of command blocks to simplify the workload of template writing, providing the [ CMDBEGIN ] and [ CMDEND ] tags to perform tabular encapsulation of cmdcfg atomic operations. The user can package a plurality of operation commands in the command tag, complete the translation of the internal logic of the template when the engine is opened to call the template execution interface, convert the configuration operation in the command block mode into a plurality of cmdcfg atomic operations, only display the operation content in the preview process, and complete the automatic configuration of the operation in the issuing process.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes may be made to the embodiment of the present invention by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. A method for controlling a network service deployment process is characterized by comprising the following steps:
determining network service information required to be deployed, wherein the network service information required to be deployed comprises a plurality of pieces of sub-configuration task information and a configuration execution sequence of the plurality of pieces of sub-configuration task information, and the plurality of pieces of sub-configuration task information are configured by a plurality of devices; determining the configuration execution sequence of the information of the plurality of sub-configuration tasks according to the preset concurrency of the configuration tasks, and simultaneously carrying out configuration operation on corresponding equipment corresponding to the sub-configuration tasks with the same concurrency;
comparing the conflict between the information of the plurality of sub-configuration tasks and the configured service information on a plurality of devices, and when the information of the plurality of sub-configuration tasks and the configured service information on the corresponding device do not conflict, issuing the information of the plurality of sub-configuration tasks to the plurality of devices;
receiving results of the plurality of devices executing the configuration operation according to the corresponding sub-configuration task information according to the configuration execution sequence;
the network service information to be deployed further includes a configuration check mark, where the configuration check mark includes 1 or 0, where 1 indicates that the sub-configuration task information continues to be forcibly issued when there is a conflict between the sub-configuration task information and one or more of the configured service information on the corresponding device, and 0 indicates that the sub-configuration task information does not continue to be issued when there is a conflict between the sub-configuration task information and one or more of the configured service information on the corresponding device;
further comprising:
comparing the conflict between the plurality of pieces of sub-configuration task information and configured service information on a plurality of devices, and when the plurality of pieces of sub-configuration task information conflict with one or more pieces of configured service information on corresponding devices, determining whether to issue the plurality of pieces of sub-configuration task information to the plurality of devices according to the configuration check mark;
further comprising: outputting the network service information to be deployed, ensuring that the configuration command is obtained when the configuration command is seen, and providing a step of manually checking the configuration command before service deployment;
the network service information to be deployed also comprises login marks of a plurality of devices;
issuing the information of the plurality of sub-configuration tasks to the plurality of devices, including:
correspondingly connecting the plurality of devices according to the login marks of the plurality of devices, and issuing the plurality of sub-configuration task information to the plurality of devices;
the method comprises the steps that a default used network element account password is used for logging in corresponding equipment, when a service needs real-name authentication, a program maintains a data structure for establishing network element communication connection, a user name and a password of a network management system login user are obtained to replace the default used network element account password, the corresponding equipment is logged in, then task configuration data are loaded to obtain subtask information corresponding to a task, and a mapping relation between the subtask and a transaction is established; when the network element of the task configuration information needs to jump and log in, the program maintains a network element connection data structure, and establishes equipment information of a jump point, wherein the equipment information comprises a jump board IP address, a jump board equipment model and a jump board account password.
2. The method according to claim 1, wherein the network service information to be deployed further includes a rollback flag, where the rollback flag includes 1 or 0, where 1 indicates that a rollback operation is performed after a configuration operation fails, and 0 indicates that a rollback operation is not performed after a configuration operation fails;
receiving a result of the plurality of devices executing the configuration operation according to the corresponding sub-configuration task information, including:
when the configuration operation is failed to be executed and the rollback flag is 1, receiving failure information and rollback operation information of the multiple devices for executing the configuration operation according to the corresponding sub-configuration task information;
and when the configuration operation is failed to be executed and the rollback mark is 0, receiving failure information of the plurality of devices executing the configuration operation according to the corresponding sub-configuration task information.
3. A network service deployment process control device is characterized by comprising:
the information determining module is used for determining network service information to be deployed, wherein the network service information to be deployed comprises a plurality of pieces of sub-configuration task information and a configuration execution sequence of the plurality of pieces of sub-configuration task information, the plurality of pieces of sub-configuration task information are configured by a plurality of devices, the configuration execution sequence of the plurality of pieces of sub-configuration task information is determined according to preset configuration task concurrency, and corresponding devices corresponding to the sub-configuration tasks with the same concurrency are configured at the same time;
the comparison module is used for carrying out conflict comparison on the information of the plurality of sub-configuration tasks and the configured service information on a plurality of devices;
the information issuing module is used for issuing the plurality of pieces of sub-configuration task information to the plurality of pieces of equipment when the plurality of pieces of sub-configuration task information do not conflict with the configured service information on the corresponding equipment;
a result receiving module, configured to receive, according to the configuration execution sequence, a result of the configuration operation executed by the plurality of devices according to the corresponding sub-configuration task information;
the network service information to be deployed further includes a configuration check mark, where the configuration check mark includes 1 or 0, where 1 indicates that the sub-configuration task information continues to be forcibly issued when there is a conflict between the sub-configuration task information and one or more of the configured service information on the corresponding device, and 0 indicates that the sub-configuration task information does not continue to be issued when there is a conflict between the sub-configuration task information and one or more of the configured service information on the corresponding device;
the comparison module is further configured to:
comparing the conflict between the plurality of pieces of sub-configuration task information and configured service information on a plurality of devices, and when the plurality of pieces of sub-configuration task information conflict with one or more pieces of configured service information on corresponding devices, determining whether to issue the plurality of pieces of sub-configuration task information to the plurality of devices according to the configuration check mark;
the network service deployment process control device is further configured to: outputting network service information to be deployed, ensuring that the configuration command is obtained when the configuration command is seen, and manually checking the configuration command before service deployment;
the network service information to be deployed also comprises login marks of a plurality of devices;
the information issuing module is specifically used for: correspondingly connecting the plurality of devices according to the login marks of the plurality of devices, and issuing the plurality of sub-configuration task information to the plurality of devices;
the method comprises the steps that a default used network element account password is used for logging in corresponding equipment, when a service needs real-name authentication, a program maintains a data structure for establishing network element communication connection, a user name and a password of a network management system login user are obtained to replace the default used network element account password, the corresponding equipment is logged in, then task configuration data are loaded to obtain subtask information corresponding to a task, and a mapping relation between the subtask and a transaction is established; when the network element of the task configuration information needs to jump and log in, the program maintains a network element connection data structure, and establishes equipment information of a jump point, wherein the equipment information comprises a jump board IP address, a jump board equipment model and a jump board account password.
4. The apparatus according to claim 3, wherein the information of the network service to be deployed further includes a rollback flag, where the rollback flag includes 1 or 0, where 1 indicates that a rollback operation is performed after a configuration operation fails, and 0 indicates that a rollback operation is not performed after a configuration operation fails;
the result receiving module is specifically configured to: when the configuration operation is failed to be executed and the rollback flag is 1, receiving failure information and rollback operation information of the multiple devices for executing the configuration operation according to the corresponding sub-configuration task information; and when the configuration operation is failed to be executed and the rollback mark is 0, receiving failure information of the plurality of devices executing the configuration operation according to the corresponding sub-configuration task information.
5. A network service deployment process control system is characterized by comprising:
the network service deployment process control apparatus of any of claims 3 to 4;
and a plurality of devices for executing configuration operation according to the sub-configuration task information.
6. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1 to 2 when executing the computer program.
7. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a computer, implements the method of any of claims 1 to 2.
CN201711326130.4A 2017-12-13 2017-12-13 Network service deployment process control method, device and system Active CN108134690B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711326130.4A CN108134690B (en) 2017-12-13 2017-12-13 Network service deployment process control method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711326130.4A CN108134690B (en) 2017-12-13 2017-12-13 Network service deployment process control method, device and system

Publications (2)

Publication Number Publication Date
CN108134690A CN108134690A (en) 2018-06-08
CN108134690B true CN108134690B (en) 2021-07-27

Family

ID=62389495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711326130.4A Active CN108134690B (en) 2017-12-13 2017-12-13 Network service deployment process control method, device and system

Country Status (1)

Country Link
CN (1) CN108134690B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371579B (en) * 2018-12-26 2023-04-07 中兴通讯股份有限公司 Cloud platform deployment method, device, server and storage medium
CN111130848B (en) * 2019-11-29 2022-04-19 中盈优创资讯科技有限公司 Fault detection method and device for authentication, authorization and accounting (AAA)
CN111489165B (en) * 2020-04-15 2022-08-12 支付宝(杭州)信息技术有限公司 Data processing method and device of target object and server
CN111984893B (en) * 2020-09-29 2023-09-12 杭州迪普科技股份有限公司 System log configuration conflict reminding method, device and system
CN112558934B (en) * 2020-12-10 2024-01-05 中盈优创资讯科技有限公司 Control subtask engine device based on arranging control flow business opening
CN112653585B (en) * 2020-12-23 2022-12-02 中盈优创资讯科技有限公司 Automatic staged processing method and device for service mobility

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012126413A2 (en) * 2012-05-02 2012-09-27 华为技术有限公司 Method and apparatus for controlling network device
CN106201860B (en) * 2015-05-07 2019-03-29 阿里巴巴集团控股有限公司 The test method and device of application system
CN106656591A (en) * 2016-12-15 2017-05-10 西安电子科技大学 Method for detecting and eliminating rule conflicts among multiple applications in software-defined network

Also Published As

Publication number Publication date
CN108134690A (en) 2018-06-08

Similar Documents

Publication Publication Date Title
CN108134690B (en) Network service deployment process control method, device and system
CN110740053B (en) Service arranging method and device
WO2018036342A1 (en) Csar-based template design visualization method and device
US20110289354A1 (en) Distributed Batch Runner
CN108196764A (en) Application architecture dispositions method, device, system and cloud platform
CN107689982A (en) Multi-data source method of data synchronization, application server and computer-readable recording medium
EP3417371A1 (en) Model based upgrade campaign generation
CN102572896A (en) Upgrading method and upgrading device for wireless communication system
CN109450708A (en) A kind of Nginx Dynamic Configuration and system
CN106878363A (en) A kind of information processing method, apparatus and system
CN111400041A (en) Server configuration file management method and device and computer readable storage medium
CN115480753A (en) Application integration system and corresponding computer device and storage medium
CN109840074A (en) A kind of business generating method, device and the network equipment
CN113031944B (en) Business opening device and method based on template
CN115964195A (en) DDS theme process communication mode configuration method and device
CN109412856A (en) A kind of network equipment brand indifference management method and system
CN110362294A (en) Development task executes method, apparatus, electronic equipment and storage medium
CN106557386A (en) Method, the apparatus and system of standby virtual network interface card virtual machine are disposed based on KVM
CN112291254B (en) Message processing method and device for reliable transaction
CN107436790A (en) A kind of component upgrade management method and device
CN107451435B (en) Management and control method, management and control machine and management and control system of hardware encryption machine
CN110750308B (en) Task processing method and device, storage medium and electronic equipment
CN111314805B (en) Debugging method and device for intercommunication OMCI (OMCI) messages of GPON (gigabit passive optical network) system
CN107577519A (en) A kind of virtual machine pressure method and device
CN113708971A (en) Openstack cloud platform deployment method and related device

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
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 702-2, No. 4811, Cao'an Highway, Jiading District, Shanghai

Patentee after: CHINA UNITECHS

Address before: 100872 5th floor, Renmin culture building, 59 Zhongguancun Street, Haidian District, Beijing

Patentee before: CHINA UNITECHS