WO2017198156A1 - Service deployment method, apparatus and system - Google Patents

Service deployment method, apparatus and system Download PDF

Info

Publication number
WO2017198156A1
WO2017198156A1 PCT/CN2017/084587 CN2017084587W WO2017198156A1 WO 2017198156 A1 WO2017198156 A1 WO 2017198156A1 CN 2017084587 W CN2017084587 W CN 2017084587W WO 2017198156 A1 WO2017198156 A1 WO 2017198156A1
Authority
WO
WIPO (PCT)
Prior art keywords
version
service deployment
network element
module
element board
Prior art date
Application number
PCT/CN2017/084587
Other languages
French (fr)
Chinese (zh)
Inventor
王莉
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017198156A1 publication Critical patent/WO2017198156A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Definitions

  • the present application relates to, but is not limited to, the field of network communication technologies, and in particular, to a service deployment method, apparatus and system.
  • the USS system is an application system that integrates multiple multimedia services. It is generally composed of multiple types of boards, such as a media switching control unit (MSCU (OMP)) and a media switching unit (Media switching unit, Abbreviation: MSU), Media Storage and Transmission Unit (MSTU), Media Distribution Unit (MDU), etc.
  • MSU media switching control unit
  • MTU Media Storage and Transmission Unit
  • MDU Media Distribution Unit
  • each board also subdivides the board type according to functions. For example, there are MSCU2 boards on the MSCU board type, MSTU4B boards on the MSTU board type, etc. Due to the working special effects and functional attributes of each board in the USS system, the operator upgrades the USS system in the field.
  • the version that is required to be loaded on each board in the system is different.
  • the possible versions of the board include: CPU version and operating system. Version, watchdog version, streaming version, OS version, etc. In most cases, a single board needs to load up to 8 versions, so it seems necessary Load all board versions up to dozens of files.
  • the deployment method and the upgrade method adopted by the USS system are that the on-site technical support personnel and testers step by step to upgrade the system or deploy a new site according to the operation manual.
  • the present application provides a method, an apparatus, and a system for service deployment, which can perform service deployment on each network element board according to the correct version information after the verification, which simplifies the operation of the traditional service deployment. Improve the efficiency of business deployment.
  • an embodiment of the present invention provides a method for service deployment, where the method includes:
  • a method for deploying a service includes: receiving a request for performing service deployment on at least one network element board, and acquiring a corresponding network element board according to the service deployment request.
  • the version information is used to verify the version information of the network element board and the original version information of the network element board, and perform service deployment on the network element board according to the result of the verification.
  • the service deployment of each NE card is performed according to the correct version information of the service to be deployed. This simplifies the operation of traditional service deployment and improves the efficiency of service deployment.
  • the service deployment of the network element board is performed according to the result of the verification, including:
  • the configuration information and the address information of the corresponding NE board are upgraded according to the verified version.
  • the configuration information and the address information of the corresponding NE card are upgraded according to the verified version, which simplifies the upgrade operation of multiple NEs in the system. The efficiency of the system upgrade.
  • the service of the network element board is separately deployed according to the result of the verification, include:
  • the configuration information and the address information of the corresponding network element board are obtained according to the verified version.
  • the configuration information and the address information of the corresponding NE card are obtained according to the verified version, so that the upgrade operation of multiple network element boards in the system can be simplified and improved. The efficiency of the system upgrade.
  • the method further includes: before performing service deployment on the network element board according to the result of the verification, the method further includes:
  • the service deployment request is a version upgrade task
  • the data and files of the corresponding NE card are backed up.
  • the service deployment request is a version upgrade task
  • the data and files of the corresponding NE board are backed up, which can solve the system defect caused by the abnormality in the upgrade of the new version.
  • the method further includes:
  • the service deployment request is a version upgrade task
  • the status and progress of the upgrade are detected according to a predetermined time. If the upgrade abnormality is detected, the backed up data and files are restored.
  • the service deployment request is a version upgrade task
  • the upgrade exception is encountered, the data and files after the backup are restored, which can solve the system defect caused by the abnormality during the upgrade and deployment of the new version.
  • the application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • the application provides a device for service deployment, where the device includes: a receiving module, an obtaining module, a verification module, and a service deployment module;
  • the receiving module is configured to receive a request for performing service deployment on at least one network element board
  • the obtaining module is configured to obtain version information of the corresponding network element board according to the service deployment request.
  • the verification module is configured to verify the version information of the network element board and the original of the network element board Have version information;
  • the service deployment module is configured to perform service deployment on the network element board according to the result of the verification.
  • the device for service deployment includes: a receiving module, an obtaining module, a verification module, and a service deployment module; and the receiving module is configured to receive service deployment on at least one network element board.
  • the requesting module is configured to obtain the version information of the corresponding network element board according to the service deployment request
  • the verification module is configured to check the version information of the network element board and the original of the network element board.
  • the service deployment module is configured to perform service deployment on the NE board according to the result of the verification.
  • the service deployment of each NE card is performed according to the correct version information of the service to be deployed. This simplifies the operation of traditional service deployment and improves the efficiency of service deployment.
  • the service deployment module is configured to upgrade the configuration information and the address information of the corresponding network element board according to the verified version, if the service deployment request is a version upgrade task.
  • the configuration information and the address information of the corresponding NE card are upgraded according to the verified version, which simplifies the upgrade operation of multiple NEs in the system. The efficiency of the system upgrade.
  • the service deployment module is configured to start configuration information and address information of the corresponding network element board according to the verified version, if the service deployment request is a site deployment task.
  • the configuration information and the address information of the corresponding NE card are obtained according to the verified version, so that the upgrade operation of multiple network element boards in the system can be simplified and improved. The efficiency of the system upgrade.
  • the apparatus further includes: a backup module
  • the backup module is configured to back up the corresponding network element board when the service deployment request is a version upgrade task, respectively, before the service deployment module performs the service deployment on the network element board according to the result of the verification. Data and files.
  • the service deployment request is a version upgrade task
  • the number of corresponding NE cards is backed up. According to the file, it can solve the system problem caused by the abnormality in the process of upgrading and deploying the new version.
  • the apparatus further includes: an exception handling module;
  • the exception processing module is configured to detect an upgrade according to a predetermined time after the service deployment module performs service deployment on the network element board according to the result of the verification, and if the service deployment request is a version upgrade task. The status and progress, if the upgrade is detected abnormally, the backup data and files are restored.
  • the service deployment request is a version upgrade task
  • the upgrade exception is encountered and the backup data and files are restored, the system defect caused by the abnormality during the upgrade of the new version can be solved.
  • the application provides a service deployment system, the system includes: the device, the at least one network element board, and the version server, where the version server stores all network elements. Version information of the board.
  • the service deployment system provided by the embodiment of the present invention can effectively implement the upgrade or start of the network element board containing a plurality of types of board types in a large number, effectively reducing complicated manual manual operations. Inefficient work, while reducing the workload of technical support and testers.
  • FIG. 1 is a schematic flowchart of Embodiment 1 of a method for service deployment according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a service flow of a second embodiment of a service deployment method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of Embodiment 3 of a method for service deployment according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart diagram of Embodiment 4 of a method for service deployment according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of Embodiment 1 of a device for service deployment according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of Embodiment 1 of a service deployment system according to an embodiment of the present disclosure
  • FIG. 7 is a schematic diagram of interaction of a second embodiment of a service deployment system according to an embodiment of the present disclosure.
  • the method according to the embodiment of the present invention may be applied to a device with a network management system, which may be, but is not limited to, a general-purpose multi-service server system, and the device may be a computer, a server, or the like, but is not limited thereto.
  • a network management system which may be, but is not limited to, a general-purpose multi-service server system, and the device may be a computer, a server, or the like, but is not limited thereto.
  • the method according to the embodiment of the present invention is to solve the technical problem that the service deployment operation in the related art is complicated and inefficient.
  • FIG. 1 is a schematic flowchart diagram of Embodiment 1 of a method for service deployment according to an embodiment of the present disclosure. This embodiment relates to a specific process of implementing a method for automatic service deployment. As shown in Figure 1, the method includes:
  • the service deployment device receives the request for the service deployment of the at least one network element board.
  • the service deployment of the network element board includes the following two types: the upgrade and the new deployment.
  • the content of the request includes: board type, address, network element information, and geographical location information.
  • the operation type, version information, configuration version, location information of the environment configuration file to be deployed, the IP address, user name, and password information of the file transfer protocol server to be deployed or upgraded, and the configuration version server Information such as IP address, user name, password information, and other version machines, etc., but is not limited thereto.
  • the service deployment device can obtain the version information of the service to be deployed by linking the version server to the corresponding network element board.
  • the version version package required for the service deployment can be sorted out.
  • the configured folder with the file name version, the user can specify the path, such as: D: ⁇ version, etc., but not limited to this.
  • the service deployment device verifies the version information of the obtained NE card and the current version information of the NE card obtained by the version server. For example, it can be a Cyclic Redundancy Check (CRC).
  • CRC Cyclic Redundancy Check
  • the script is compared. First, the version number is compared with the rack, chassis, and slot number of the specific NE card. In addition, you can enable the timer to detect whether the version is the latest version. The latest version number is used to notify the version management process on the corresponding NE card.
  • the version download process is started on the NE.
  • the version of the board is downloaded.
  • the required version of the NE board is downloaded. Then, the version information is recorded in the Flash of the NE card.
  • the Boot When the Boot is powered on, you must first obtain the version information from the Flash, and then verify the version information through the CRC32. After the verification is passed, the version you just downloaded will be set to the desired.
  • the running version number set the version running flag to "not running”, this flag is cleared by Boot after the reset is restarted, but is not limited to this.
  • S104 Perform service deployment on the network element board according to the result of the verification.
  • the service deployment device follows the result of the verification. The result is compared with the original version information. The version verified by CRC32 is consistent. If it is consistent, it will not be placed in the version package file. If it does not exist, it will be saved to the corresponding package directory. Then, according to the content of the service deployment request, execute the package file, for example, after packaging, put it under /home/VER of the service deployment device, put the human machine command rule package file of the environment requirement under /home, and pull down the latest version to The corresponding NE card, and then the Boot startup version updates the corresponding information to be deployed to the database, and implements the service deployment function.
  • the method for deploying a service includes: receiving a request for performing service deployment on at least one network element board, and obtaining version information of the corresponding network element board according to the service deployment request, and verifying the The version information of the network element board and the original version information of the network element board are respectively deployed on the network element board according to the result of the verification.
  • the service deployment of each NE card is performed according to the correct version information of the service to be deployed. This simplifies the operation of traditional service deployment and improves the efficiency of service deployment.
  • performing service deployment on the network element board according to the result of the verification including:
  • the configuration information and the address information of the corresponding NE board are obtained and upgraded according to the verified version.
  • FIG. 2 is a schematic diagram of a service flow of a second embodiment of a service deployment method according to an embodiment of the present invention.
  • a service deployment request is a version upgrade task
  • the upgrade operation process is divided into: a new upgrade task, and an upgrade is started.
  • the task is to restart the upgrade task.
  • the upgrade task is started, the configuration information and address information of the corresponding NE card are upgraded according to the verified version.
  • the configuration information includes: the specific information of the upgraded version, and the address information has a version.
  • the IP address of the server, the specific IP address of the NE card, etc. need not be modified or added during the upgrade.
  • the configuration information and the address information of the corresponding NE card are upgraded according to the verified version, which simplifies the upgrade operation of multiple NE boards in the system and improves the system. The efficiency of the upgrade.
  • performing service deployment on the network element board according to the result of the verification including:
  • the configuration information and the address information of the corresponding network element board are obtained according to the verified version.
  • the upgrade operation process is divided into: creating a new deployment task, starting a deployment task, and closing the deployment task.
  • the configuration information includes: the version of the upgraded version.
  • the address information includes the IP address of the version server, the IP address of the NE board, and the configuration information needs to be configured during the deployment. Modify and add.
  • the configuration information and the address information of the corresponding NE card are obtained according to the verified version, and the upgrade operation of multiple network element boards in the system is simplified. The efficiency of the system upgrade.
  • the method before performing the service deployment on the network element board according to the result of the verification, the method further includes: if the service deployment request is a version upgrade task, the backup Data and files of the corresponding NE card.
  • the service deployment request is a version upgrade task
  • the data and files of the corresponding NE board are backed up.
  • the current version and system configuration are backed up by the specified path.
  • the heartbeat message is sent to the backup module.
  • the backup module does not receive the heartbeat message of the deployment task
  • the version recovery is triggered. This solves the problem of abnormality during the upgrade and deployment of the new version. The resulting system problems.
  • the service deployment request is a version upgrade task
  • the data and files of the corresponding NE board are backed up, which can solve the system defect caused by the abnormality in the upgrade of the new version.
  • the method further includes:
  • the service deployment request is a version upgrade task
  • the status and progress of the upgrade are detected according to a predetermined time. If the upgrade abnormality is detected, the backed up data and files are restored.
  • the upgrade failure status cannot be avoided.
  • the exception handling module periodically detects the upgrade status and progress of the current version. If an exception is found, the rollback module executes the rollback script and puts the backup file in the backup file. The stored system configuration and version files are restored to the pre-deployment state of the node, which plays a good role in system upgrade fault tolerance.
  • the service deployment request is a version upgrade task
  • you encounter an upgrade exception and restore the data and files after the backup you can solve the system defect caused by the abnormality during the upgrade of the new version.
  • FIG. 3 is a schematic flowchart of Embodiment 3 of a method for service deployment according to an embodiment of the present invention. As shown in FIG. 3, this embodiment illustrates an implementation manner of a method for automatically deploying a system, where the service deployment device is a master control card.
  • the main control card takes omp as an example.
  • the implementation steps are as follows:
  • the receiving module will resolve to the purpose of this operation is to deploy the system, first clean up the environment, end the version and business-related processes, and then create backup items such as: /tmp/ver_bakup, /tmp/ver_zmssbakup, remove the network board Some of the above self-starting script information, etc.
  • the automatic deployment script first configures the IP address, network port information, and service service information of the NE board, such as signaling IP, media IP, and corresponding service unit information.
  • the script that triggers the pull-down version is triggered.
  • the script is deployed on the omp main control board, and the version service server information obtained according to the configuration is obtained, and the version information of the version server is obtained by chain communication, and then the current version is compared.
  • the information is packaged with a new version package.
  • the purpose of the comparison version is if the version information that exists in the current version is not the metadata of the version package. Place the version sorting package module under /home/VER on the main control card board and place the man-machine command rule package file for the environment requirement under /home.
  • the version control card of the board is used to notify the other boards on the system of the version information required for downloading (this is controlled by the version management process of the board).
  • S307 Synchronously update the corresponding configuration information to the database, so that the function of the deployment system is implemented.
  • FIG. 4 is a schematic flowchart of a fourth embodiment of a method for service deployment according to an embodiment of the present invention. As shown in FIG. 4, this embodiment illustrates a method for implementing an automatic upgrade system, where the service deployment device is a master control card.
  • the main control card takes omp as an example.
  • the implementation steps are as follows:
  • the script that triggers the pull-down version, the script is deployed on the main control board, and the version server information obtained according to the configuration is obtained, and the version information of the version server is obtained by the link-building communication, and the upgrade version package is uploaded to the omp list according to the current system information. Above the board.
  • the new version package by comparing the information of the current version.
  • the purpose of the comparison version is that if the version information existing in the current version is not used as the metadata of the version package, the version is sorted and packaged.
  • the module is placed under the /home/VER of the main control card.
  • the human-machine command rule package file of the environment is placed under /home.
  • the version will be periodically verified and verified by CRC32. If the version is found to be different from the current version, the latest version will be pulled down from the main control card to the board.
  • FIG. 5 is a schematic structural diagram of Embodiment 1 of a service deployment apparatus according to an embodiment of the present invention.
  • a service deployment apparatus includes: a receiving module 10, an obtaining module 20, a verification module 30, and Business deployment module 40;
  • the receiving module 10 is configured to receive a request for performing service deployment on at least one network element board;
  • the obtaining module 20 is configured to obtain the version information of the corresponding network element board according to the service deployment request.
  • the verification module 30 is configured to verify version information of the network element board and original version information of the network element board;
  • the service deployment module 40 is configured to perform service deployment on the network element board according to the result of the verification.
  • An apparatus for service deployment includes: a receiving module, an obtaining module, a verification module, and a service deployment module; and the receiving module is configured to receive a request for performing service deployment on at least one network element board, and obtain a module setting.
  • the verification module is configured to obtain the version information of the corresponding network element board according to the service deployment request, and the verification module is configured to verify the version information of the network element board and the original version information of the network element board, and the service deployment
  • the module is configured to perform service deployment on the NE board according to the result of the verification.
  • the service deployment of each NE card is performed according to the correct version information of the service to be deployed. This simplifies the operation of traditional service deployment and improves the efficiency of service deployment.
  • the service deployment module 40 is configured to obtain the configuration information and address of the corresponding network element board according to the verified version, if the service deployment request is a version upgrade task. Information is upgraded.
  • the device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • the service deployment module 40 is configured to add the configuration information of the corresponding network element board according to the verified version, and if the service deployment request is the office deployment task, Address information.
  • the device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • a backup module 50 further comprising:
  • the backup module 50 is configured to back up the corresponding network element list if the service deployment request is a version upgrade task before the service deployment module performs the service deployment on the network element board according to the result of the verification. Board data and files.
  • the device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • the apparatus further includes: an exception processing module 60;
  • the exception processing module 60 is configured to detect the service deployment module according to the result of the verification, after the service deployment request is performed on the network element board, and if the service deployment request is a version upgrade task, the predetermined time detection is performed. If the upgrade status is abnormal, the data and files after the backup are restored.
  • the device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • FIG. 6 is a schematic structural diagram of Embodiment 1 of a service deployment system according to an embodiment of the present invention. As shown in FIG. 6 , the system includes: any one of the foregoing service deployment devices 600 and at least one network element board. 601 and a version server 602, the version server 602 stores version information of all network element boards.
  • the device in Figure 6 is classified into suse and cgsl according to the type of the operating system. In addition, the number of boards of each device type is different. If the number of system boards is large, service deployment is performed.
  • the device is a master control board, generally referred to as a master control card, and its main function is For the service deployment, the deployed configuration file and the automatically executed script in the method are placed on the main control card of the main control card, and the version server in FIG. 6 stores the metadata information of the node version, and the main control on the system.
  • the card sends a message to the version server, and the message carries the version of the upgraded version.
  • the version server sends the version information of all types of boards to the network element device control card, and the version information transmitted to the server is used.
  • the current version information of the board is compared with the CRC32 checksum, and then the package version package is selected. Then, the master card deploys the obtained version to the corresponding board.
  • FIG. 7 is a schematic diagram of interaction of a second embodiment of a service deployment system according to an embodiment of the present invention. As shown in FIG. 7, the following describes the interaction process between the main control board and the version server:
  • Step 1 The master board notifies the version server sorting version.
  • Step 2 The version server replies with a response message, informing the master board that the request has been received.
  • Step 3 The master control board notifies the version number information required by the version server.
  • Step 4 The version server sends the version 1 data information by subcontracting:
  • Step 4.1 The version server sends the 0th package file of version 1 to the main control board, which is mainly the version description information.
  • Step 4.2 The version server sends the first package file of version 1 to the main control board.
  • Step 4.3 After multiple transmissions (the process is omitted), the version server sends the nth packet of version 1 to the main control board;
  • Step 5 The master board sends an ACK or (retransmission) (up to 3 times);
  • Step 6 After receiving the version 1 file, the master board compares the version information of the current system with the CRC32 check version. If it is consistent, it will not be placed in the version package file. If it does not exist, save it to Corresponding package directory.
  • Step 7 Repeat the process of steps 3, 4, and 5 to complete the request for all version sorting
  • Step 8 The main control board sends a request to end
  • Step 9 The main control board package version package.
  • the upgrade or the opening of the NE board containing a plurality of types of boards of a plurality of types can be effectively implemented, thereby effectively reducing the inefficient work caused by complicated manual manual operations. At the same time reduce the workload of technical support and testers.
  • computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
  • the embodiment of the invention discloses a method, a device and a system for deploying a service, which respectively implements service deployment on each network element board according to the correct version information after the verification, and simplifies the traditional service deployment. Operation improves the efficiency of business deployment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Stored Programmes (AREA)

Abstract

Disclosed are a service deployment method, apparatus and system. The method comprises: receiving a request for service deployment of at least one network element single board; according to the request for service deployment, respectively acquiring version information about a corresponding network element single board; checking the version information about the network element single board and original version information about the network element single board; and respectively performing service deployment on the network element single board according to a check result. Service deployment is respectively conducted on each network element single board on the basis of checked correct version information according to a request for a service to be deployed, thereby simplifying the operation of traditional service deployment, and improving the efficiency of service deployment.

Description

业务部署方法、装置和系统Business deployment method, device and system 技术领域Technical field
本申请涉及但不限于网络通信技术领域,尤指一种业务部署方法、装置和系统。The present application relates to, but is not limited to, the field of network communication technologies, and in particular, to a service deployment method, apparatus and system.
背景技术Background technique
目前,随着通用多业务服务器(Universal Service Server,简称:USS)的日趋成熟化,在现网中得到广泛的应用。USS系统是综合了多种多媒体业务的应用系统,一般是由多种类型单板组成,例如:媒体控制板(Media switching control unit,简称:MSCU(OMP)),媒体交换单元(Media switching unit,简称:MSU),媒体存储传输单元(Media storage and transmission unit,简称:MSTU),媒体分发单元(Media distribution unit,简称:MDU)等,另外,每种单板还会根据功能细分单板类型,比如:MSCU单板类型下有MSCU2单板,MSTU单板类型下有MSTU4B单板等等,由于USS系统中每种单板的工作特效及功能属性等原因,运营商在对USS系统现场升级和割接的时候,对系统中每种单板所需要加载的版本也大有不同,并有可能存在一个单板需要多个版本类型,其中,单板可能加载版本包括:CPU版本、操作系统版本,看门狗版本、流媒体版本,OS版本等,最多的情况下一个单板需要加载版本达到8个之多,这样看来需要加载所有单板版本高达几十个文件。At present, with the maturity of the Universal Service Server (USS), it is widely used in the existing network. The USS system is an application system that integrates multiple multimedia services. It is generally composed of multiple types of boards, such as a media switching control unit (MSCU (OMP)) and a media switching unit (Media switching unit, Abbreviation: MSU), Media Storage and Transmission Unit (MSTU), Media Distribution Unit (MDU), etc. In addition, each board also subdivides the board type according to functions. For example, there are MSCU2 boards on the MSCU board type, MSTU4B boards on the MSTU board type, etc. Due to the working special effects and functional attributes of each board in the USS system, the operator upgrades the USS system in the field. When the switchover is performed, the version that is required to be loaded on each board in the system is different. There may be multiple versions of the board. The possible versions of the board include: CPU version and operating system. Version, watchdog version, streaming version, OS version, etc. In most cases, a single board needs to load up to 8 versions, so it seems necessary Load all board versions up to dozens of files.
相关技术中,USS系统采用的部署方法和升级方法是现场技术支持人员和测试人员根据操作手册说明一步步对照升级系统或者部署新的局点。In the related art, the deployment method and the upgrade method adopted by the USS system are that the on-site technical support personnel and testers step by step to upgrade the system or deploy a new site according to the operation manual.
但是,采用相关技术,由于USS系统的复杂性和单板种类的多样性,尤其在现场升级,是争分夺秒且情况紧迫,这样无形中给现场技术支持人员和测试人员带来了巨大的压力和考验,如果现场技术支持人员和测试人员不小心漏了某个版本就会导致USS系统不稳定,更糟糕的情况还会导致整个USS系统瘫痪,一旦现场技术支持人员和测试人员不小心就会漏掉某个单板的版本,或者在分拣版本的时候,需要现场手工的方式打包版本包,增加了工作 的繁琐性,导致现场升级和割接的操作复杂。However, with the related technology, due to the complexity of the USS system and the variety of board types, especially in the field upgrade, it is a race against time and the situation is urgent, which invisibly brings tremendous pressure and test to the field technical support personnel and testers. If the on-site technical support staff and testers accidentally miss a certain version, the USS system will be unstable. Even worse, the entire USS system will be paralyzed. If the on-site technical support personnel and testers accidentally miss it. The version of a board, or in the sorting version, requires manual packaging of the version package on site, adding work. The cumbersomeness of the operation leads to complicated operation of on-site upgrade and cutover.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本申请提供了一种业务部署的方法、装置和系统,能够根据待部署的业务请求按照校验后正确的版本信息分别对每个网元单板进行业务部署,简化了传统业务部署的操作,提高了业务部署的效率。The present application provides a method, an apparatus, and a system for service deployment, which can perform service deployment on each network element board according to the correct version information after the verification, which simplifies the operation of the traditional service deployment. Improve the efficiency of business deployment.
第一方面,本发明实施例提供了一种业务部署的方法,该方法包括:In a first aspect, an embodiment of the present invention provides a method for service deployment, where the method includes:
接收对至少一个网元单板进行业务部署的请求;Receiving a request for service deployment on at least one network element board;
根据所述业务部署请求,分别获取对应的网元单板的版本信息;Obtaining version information of the corresponding network element board according to the service deployment request;
校验所述网元单板的版本信息与所述网元单板的原有版本信息;Verifying the version information of the NE board and the original version information of the NE board;
按照校验后的结果分别对所述网元单板进行业务部署。Perform service deployment on the NE board according to the result of the verification.
与相关技术相比,本发明实施例提供的一种部署业务的方法,包括:接收对至少一个网元单板进行业务部署的请求,根据所述业务部署请求,分别获取对应的网元单板的版本信息,校验所述网元单板的版本信息与所述网元单板的原有版本信息,按照校验后的结果分别对所述网元单板进行业务部署。通过根据待部署的业务请求按照校验后正确的版本信息分别对每个网元单板进行业务部署,简化了传统业务部署的操作,提高了业务部署的效率。Compared with the related art, a method for deploying a service provided by the embodiment of the present invention includes: receiving a request for performing service deployment on at least one network element board, and acquiring a corresponding network element board according to the service deployment request. The version information is used to verify the version information of the network element board and the original version information of the network element board, and perform service deployment on the network element board according to the result of the verification. The service deployment of each NE card is performed according to the correct version information of the service to be deployed. This simplifies the operation of traditional service deployment and improves the efficiency of service deployment.
在一个实施例中,按照校验后的结果分别对所述网元单板进行业务部署,包括:In an embodiment, the service deployment of the network element board is performed according to the result of the verification, including:
所述业务部署请求为版本升级任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行升级。When the service deployment request is a version upgrade task, the configuration information and the address information of the corresponding NE board are upgraded according to the verified version.
通过在所述业务部署请求为版本升级任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行升级,可以简化系统中多个网元单板升级操作,提高了系统升级的效率。When the service deployment request is a version upgrade task, the configuration information and the address information of the corresponding NE card are upgraded according to the verified version, which simplifies the upgrade operation of multiple NEs in the system. The efficiency of the system upgrade.
在一个实施例中,按照校验后的结果分别对所述网元单板进行业务部署, 包括:In an embodiment, the service of the network element board is separately deployed according to the result of the verification, include:
所述业务部署请求为局点开局任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行开局。When the service deployment request is an office deployment task, the configuration information and the address information of the corresponding network element board are obtained according to the verified version.
通过在所述业务部署请求为局点开局任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行开局,可以简化系统中多个网元单板升级操作,提高了系统升级的效率。When the service deployment request is a site deployment task, the configuration information and the address information of the corresponding NE card are obtained according to the verified version, so that the upgrade operation of multiple network element boards in the system can be simplified and improved. The efficiency of the system upgrade.
在一个实施例中,在按照校验后的结果分别对所述网元单板进行业务部署之前,所述方法还包括:In an embodiment, the method further includes: before performing service deployment on the network element board according to the result of the verification, the method further includes:
若所述业务部署请求为版本升级任务时,备份对应的网元单板的数据和文件。If the service deployment request is a version upgrade task, the data and files of the corresponding NE card are backed up.
通过所述业务部署请求为版本升级任务时,备份对应的网元单板的数据和文件,可以解决升级部署新版本过程中产生异常而导致的系统瘫痪问题。When the service deployment request is a version upgrade task, the data and files of the corresponding NE board are backed up, which can solve the system defect caused by the abnormality in the upgrade of the new version.
在一个实施例中,在按照校验后的结果分别对所述网元单板进行业务部署之后,所述方法还包括:In an embodiment, after performing service deployment on the network element board according to the result of the verification, the method further includes:
若所述业务部署请求为版本升级任务时,按照预定的时间检测升级的状态和进度,若检测升级异常,则恢复备份后的数据和文件。If the service deployment request is a version upgrade task, the status and progress of the upgrade are detected according to a predetermined time. If the upgrade abnormality is detected, the backed up data and files are restored.
通过若所述业务部署请求为版本升级任务时,若遇到升级异常,则恢复备份后的数据和文件,可以解决升级部署新版本过程中产生异常而导致的系统瘫痪问题。If the service deployment request is a version upgrade task, if the upgrade exception is encountered, the data and files after the backup are restored, which can solve the system defect caused by the abnormality during the upgrade and deployment of the new version.
本申请另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述方法。The application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
第二方面,本申请提供了一种业务部署的装置,该装置包括:接收模块、获取模块、校验模块和业务部署模块;In a second aspect, the application provides a device for service deployment, where the device includes: a receiving module, an obtaining module, a verification module, and a service deployment module;
所述接收模块设置为接收对至少一个网元单板进行业务部署的请求;The receiving module is configured to receive a request for performing service deployment on at least one network element board;
所述获取模块设置为根据所述业务部署请求分别获取对应的网元单板的版本信息;The obtaining module is configured to obtain version information of the corresponding network element board according to the service deployment request.
所述校验模块设置为校验所述网元单板的版本信息与所述网元单板的原 有版本信息;The verification module is configured to verify the version information of the network element board and the original of the network element board Have version information;
所述业务部署模块设置为按照校验后的结果分别对所述网元单板进行业务部署。The service deployment module is configured to perform service deployment on the network element board according to the result of the verification.
与相关技术相比,本发明实施例提供的一种业务部署的装置,包括:接收模块、获取模块、校验模块和业务部署模块;接收模块设置为接收对至少一个网元单板进行业务部署的请求,获取模块设置为根据所述业务部署请求分别获取对应的网元单板的版本信息,校验模块设置为校验所述网元单板的版本信息与所述网元单板的原有版本信息,业务部署模块设置为按照校验后的结果分别对所述网元单板进行业务部署。通过根据待部署的业务请求按照校验后正确的版本信息分别对每个网元单板进行业务部署,简化了传统业务部署的操作,提高了业务部署的效率。Compared with the related art, the device for service deployment provided by the embodiment of the present invention includes: a receiving module, an obtaining module, a verification module, and a service deployment module; and the receiving module is configured to receive service deployment on at least one network element board. The requesting module is configured to obtain the version information of the corresponding network element board according to the service deployment request, and the verification module is configured to check the version information of the network element board and the original of the network element board. With the version information, the service deployment module is configured to perform service deployment on the NE board according to the result of the verification. The service deployment of each NE card is performed according to the correct version information of the service to be deployed. This simplifies the operation of traditional service deployment and improves the efficiency of service deployment.
在一个实施例中,所述业务部署模块设置为若所述业务部署请求为版本升级任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行升级。In an embodiment, the service deployment module is configured to upgrade the configuration information and the address information of the corresponding network element board according to the verified version, if the service deployment request is a version upgrade task.
通过在所述业务部署请求为版本升级任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行升级,可以简化系统中多个网元单板升级操作,提高了系统升级的效率。When the service deployment request is a version upgrade task, the configuration information and the address information of the corresponding NE card are upgraded according to the verified version, which simplifies the upgrade operation of multiple NEs in the system. The efficiency of the system upgrade.
在一个实施例中,所述业务部署模块设置为若所述业务部署请求为局点开局任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行开局。In an embodiment, the service deployment module is configured to start configuration information and address information of the corresponding network element board according to the verified version, if the service deployment request is a site deployment task.
通过在所述业务部署请求为局点开局任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行开局,可以简化系统中多个网元单板升级操作,提高了系统升级的效率。When the service deployment request is a site deployment task, the configuration information and the address information of the corresponding NE card are obtained according to the verified version, so that the upgrade operation of multiple network element boards in the system can be simplified and improved. The efficiency of the system upgrade.
在一个实施例中,该装置还包括:备份模块;In an embodiment, the apparatus further includes: a backup module;
所述备份模块设置为在所述业务部署模块按照校验后的结果分别对所述网元单板进行业务部署之前,若所述业务部署请求为版本升级任务时,备份对应的网元单板的数据和文件。The backup module is configured to back up the corresponding network element board when the service deployment request is a version upgrade task, respectively, before the service deployment module performs the service deployment on the network element board according to the result of the verification. Data and files.
通过在所述业务部署请求为版本升级任务时,备份对应的网元单板的数 据和文件,可以解决升级部署新版本过程中产生异常而导致的系统瘫痪问题。When the service deployment request is a version upgrade task, the number of corresponding NE cards is backed up. According to the file, it can solve the system problem caused by the abnormality in the process of upgrading and deploying the new version.
在一个实施例中,该装置还包括:异常处理模块;In one embodiment, the apparatus further includes: an exception handling module;
所述异常处理模块设置为在所述业务部署模块按照校验后的结果分别对所述网元单板进行业务部署之后,若所述业务部署请求为版本升级任务时,按照预定的时间检测升级的状态和进度,若检测升级异常,则恢复备份后的数据和文件。The exception processing module is configured to detect an upgrade according to a predetermined time after the service deployment module performs service deployment on the network element board according to the result of the verification, and if the service deployment request is a version upgrade task. The status and progress, if the upgrade is detected abnormally, the backup data and files are restored.
通过在所述业务部署请求为版本升级任务时,若遇到升级异常,恢复备份后的数据和文件,可以解决升级部署新版本过程中产生异常而导致的系统瘫痪问题。When the service deployment request is a version upgrade task, if the upgrade exception is encountered and the backup data and files are restored, the system defect caused by the abnormality during the upgrade of the new version can be solved.
第三方面,本申请提供了一种业务部署的系统,该系统包括:上述实施例中任一项所述的装置、至少一个网元单板和版本服务器,所述版本服务器存储有所有网元单板的版本信息。In a third aspect, the application provides a service deployment system, the system includes: the device, the at least one network element board, and the version server, where the version server stores all network elements. Version information of the board.
与相关技术相比,本发明实施例提供的业务部署的系统,可以有效地实现了对大批量包含多种类单板类型的网元单板的升级或开局,有效的减少了复杂的人工手动操作带来的低效率的工作,同时降低技术支持和测试人员的工作负担。Compared with the related art, the service deployment system provided by the embodiment of the present invention can effectively implement the upgrade or start of the network element board containing a plurality of types of board types in a large number, effectively reducing complicated manual manual operations. Inefficient work, while reducing the workload of technical support and testers.
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明实施例而了解。本申请的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present invention will be set forth in the description which follows, and The objectives and other advantages of the present invention can be realized and obtained by the structure of the invention.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
附图用来提供对本申请技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本申请的技术方案,并不构成对本申请技术方案的限制。The drawings are used to provide a further understanding of the technical solutions of the present application, and constitute a part of the specification, which is used together with the embodiments of the present application to explain the technical solutions of the present application, and does not constitute a limitation of the technical solutions of the present application.
图1为本发明实施例提供的一种业务部署的方法实施例一的流程示意图;FIG. 1 is a schematic flowchart of Embodiment 1 of a method for service deployment according to an embodiment of the present disclosure;
图2为本发明实施例提供的一种业务部署的方法实施例二业务流程示意 图;FIG. 2 is a schematic diagram of a service flow of a second embodiment of a service deployment method according to an embodiment of the present disclosure Figure
图3为本发明实施例提供的一种业务部署的方法实施例三流程示意图;FIG. 3 is a schematic flowchart of Embodiment 3 of a method for service deployment according to an embodiment of the present disclosure;
图4为本发明实施例提供的一种业务部署的方法实施例四流程示意图;FIG. 4 is a schematic flowchart diagram of Embodiment 4 of a method for service deployment according to an embodiment of the present disclosure;
图5为本发明实施例提供的一种业务部署的装置实施例一的结构示意图;FIG. 5 is a schematic structural diagram of Embodiment 1 of a device for service deployment according to an embodiment of the present disclosure;
图6为本发明实施例提供的一种业务部署的系统实施例一的结构示意图;FIG. 6 is a schematic structural diagram of Embodiment 1 of a service deployment system according to an embodiment of the present disclosure;
图7为本发明实施例提供的一种业务部署的系统实施例二的交互示意图。FIG. 7 is a schematic diagram of interaction of a second embodiment of a service deployment system according to an embodiment of the present disclosure.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions. Also, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
本发明实施例涉及的方法可以应用于带有网络管理系统的装置,该系统可以是但不仅限于通用多业务服务器系统,该装置可以是计算机、服务器等设备,但并不限于此。The method according to the embodiment of the present invention may be applied to a device with a network management system, which may be, but is not limited to, a general-purpose multi-service server system, and the device may be a computer, a server, or the like, but is not limited thereto.
本发明实施例涉及的方法,旨在解决相关技术中业务部署操作复杂,效率低下的技术问题。The method according to the embodiment of the present invention is to solve the technical problem that the service deployment operation in the related art is complicated and inefficient.
下面以实施例对本申请的技术方案进行详细说明。下面这几个实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solutions of the present application are described in detail below by way of examples. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in some embodiments.
图1为本发明实施例提供的一种业务部署的方法实施例一的流程示意图。本实施例涉及的是实现自动业务部署的方法的具体过程。如图1所示,该方法包括:FIG. 1 is a schematic flowchart diagram of Embodiment 1 of a method for service deployment according to an embodiment of the present disclosure. This embodiment relates to a specific process of implementing a method for automatic service deployment. As shown in Figure 1, the method includes:
S101、接收对至少一个网元单板进行业务部署的请求。S101. Receive a request for performing service deployment on at least one network element board.
业务部署装置接收对至少一个网元单板进行业务部署的请求,一般来说,对网元单板的业务部署包括:升级和新开局两种,在对网元单板进行业务部署时,该请求的内容包括:单板类型、地址、网元信息、地理位置信息等, 以及需要部署的操作类型、版本信息、配置版本、环境配置文件的存放位置路径信息,部署升级或者新开局所需链接的文件传输协议服务器的IP地址、用户名、密码信息,配置版本服务器的IP地址、用户名、密码信息以及其他版本机等等的信息,但并不限于此。The service deployment device receives the request for the service deployment of the at least one network element board. Generally, the service deployment of the network element board includes the following two types: the upgrade and the new deployment. The content of the request includes: board type, address, network element information, and geographical location information. And the operation type, version information, configuration version, location information of the environment configuration file to be deployed, the IP address, user name, and password information of the file transfer protocol server to be deployed or upgraded, and the configuration version server Information such as IP address, user name, password information, and other version machines, etc., but is not limited thereto.
S102、根据所述业务部署请求分别获取对应的网元单板的原有版本信息。S102. Obtain the original version information of the corresponding network element board according to the service deployment request.
业务部署装置根据所述业务部署请求的内容,可以通过链接版本服务器,下拉对应网元单板来获取待部署业务的版本信息,例如:可以分拣出业务部署所需的version版本包,存放所配置的以文件名为version的文件夹,用户可以指定路径,比如:D:\version等,但并不以此为限。According to the content of the service deployment request, the service deployment device can obtain the version information of the service to be deployed by linking the version server to the corresponding network element board. For example, the version version package required for the service deployment can be sorted out. The configured folder with the file name version, the user can specify the path, such as: D:\version, etc., but not limited to this.
S103、校验所述待部署业务的版本信息与网元单板的原有版本信息。S103. Verify the version information of the service to be deployed and the original version information of the network element board.
业务部署装置会校验通过版本服务器获取的得到的网元单板的版本信息和网元单板的当前版本信息,例如:可以是即循环冗余校验码(Cyclic Redundancy Check,简称:CRC)脚本比对,首先,会核对将该版本号与具体的网元单板的机架、机框、槽位号对应关系,另外,还可以启用定时器实时探测版本是否是最新版本,如果确认是最新的版本号,则通知相应的网元单板上的版本管理进程,启动网元单板上的版本下载流程,从而完成对单板的版本下载,网元单板从下载完所需要的版本后,将版本信息记录在网元单板的Flash中,当Boot上电时首先要从Flash中获得版本信息,然后通过CRC32校验版本信息,校验通过后会将刚下载的版本设置为希望运行的版本号,设置版本运行标志为“未运行”,该标志在复位重起后由Boot进行清除,但并不限于此。The service deployment device verifies the version information of the obtained NE card and the current version information of the NE card obtained by the version server. For example, it can be a Cyclic Redundancy Check (CRC). The script is compared. First, the version number is compared with the rack, chassis, and slot number of the specific NE card. In addition, you can enable the timer to detect whether the version is the latest version. The latest version number is used to notify the version management process on the corresponding NE card. The version download process is started on the NE. The version of the board is downloaded. The required version of the NE board is downloaded. Then, the version information is recorded in the Flash of the NE card. When the Boot is powered on, you must first obtain the version information from the Flash, and then verify the version information through the CRC32. After the verification is passed, the version you just downloaded will be set to the desired. The running version number, set the version running flag to "not running", this flag is cleared by Boot after the reset is restarted, but is not limited to this.
S104、按照校验后的结果分别对所述网元单板进行业务部署。S104: Perform service deployment on the network element board according to the result of the verification.
业务部署装置按照校验后的结果,该结果是对比原有的版本信息,通过CRC32校验版本是否一致,如果一致就不放到版本打包文件中,如果不存在就保存到对应的打包目录中,然后根据业务部署的请求的内容,执行打包文件,例如:打包后放到业务部署装置的/home/VER下面,把环境需求的人机命令规则包文件放到/home下面,下拉最新版本到对应的网元单板,而后会Boot启动版本把对应的待部署信息同步更新到数据库中,则实现了业务部署的功能。 The service deployment device follows the result of the verification. The result is compared with the original version information. The version verified by CRC32 is consistent. If it is consistent, it will not be placed in the version package file. If it does not exist, it will be saved to the corresponding package directory. Then, according to the content of the service deployment request, execute the package file, for example, after packaging, put it under /home/VER of the service deployment device, put the human machine command rule package file of the environment requirement under /home, and pull down the latest version to The corresponding NE card, and then the Boot startup version updates the corresponding information to be deployed to the database, and implements the service deployment function.
本发明实施例提供的一种部署业务的方法,包括:接收对至少一个网元单板进行业务部署的请求,根据所述业务部署请求分别获取对应的网元单板的版本信息,校验所述网元单板的版本信息与所述网元单板的原有版本信息,按照校验后的结果分别对所述网元单板进行业务部署。通过根据待部署的业务请求按照校验后正确的版本信息分别对每个网元单板进行业务部署,简化了传统业务部署的操作,提高了业务部署的效率。The method for deploying a service according to the embodiment of the present invention includes: receiving a request for performing service deployment on at least one network element board, and obtaining version information of the corresponding network element board according to the service deployment request, and verifying the The version information of the network element board and the original version information of the network element board are respectively deployed on the network element board according to the result of the verification. The service deployment of each NE card is performed according to the correct version information of the service to be deployed. This simplifies the operation of traditional service deployment and improves the efficiency of service deployment.
可选地,在上述实施例的基础上,按照校验后的结果分别对所述网元单板进行业务部署,包括:Optionally, on the basis of the foregoing embodiment, performing service deployment on the network element board according to the result of the verification, including:
若所述业务部署请求为版本升级任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行升级。If the service deployment request is a version upgrade task, the configuration information and the address information of the corresponding NE board are obtained and upgraded according to the verified version.
图2为本发明实施例提供的一种业务部署的方法实施例二业务流程示意图,如图2所示,业务部署请求为版本升级任务时,针对升级操作流程分为:新建升级任务,开始升级任务,关闭升级任务,在开始升级任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行升级,该配置信息包括:升级的版本的具体信息,地址信息有版本服务器的IP地址,网元单板的具体IP地址等,升级时无需修改和添加。FIG. 2 is a schematic diagram of a service flow of a second embodiment of a service deployment method according to an embodiment of the present invention. As shown in FIG. 2, when a service deployment request is a version upgrade task, the upgrade operation process is divided into: a new upgrade task, and an upgrade is started. The task is to restart the upgrade task. When the upgrade task is started, the configuration information and address information of the corresponding NE card are upgraded according to the verified version. The configuration information includes: the specific information of the upgraded version, and the address information has a version. The IP address of the server, the specific IP address of the NE card, etc., need not be modified or added during the upgrade.
通过所述业务部署请求为版本升级任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行升级,可以简化系统中多个网元单板升级操作,提高了系统升级的效率。When the service deployment request is a version upgrade task, the configuration information and the address information of the corresponding NE card are upgraded according to the verified version, which simplifies the upgrade operation of multiple NE boards in the system and improves the system. The efficiency of the upgrade.
可选地,在上述实施例的基础上,按照校验后的结果分别对所述网元单板进行业务部署,包括:Optionally, on the basis of the foregoing embodiment, performing service deployment on the network element board according to the result of the verification, including:
若所述业务部署请求为局点开局任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行开局。If the service deployment request is a site deployment task, the configuration information and the address information of the corresponding network element board are obtained according to the verified version.
如图2所示,业务部署请求为局点开局任务时,针对升级操作流程分为:新建开局任务,开始开局任务,关闭开局任务,在开始开局任务时,按照校验后的版本添加对应的网元单板的配置信息和地址信息,该配置信息包括:升级的版本的具体信息,地址信息有版本服务器的IP地址,网元单板的具体IP地址等,开局时需要对这些配置信息进行修改和添加。 As shown in Figure 2, when the service deployment request is an office deployment task, the upgrade operation process is divided into: creating a new deployment task, starting a deployment task, and closing the deployment task. When starting the deployment task, add the corresponding version according to the verified version. Configuration information and address information of the NE board. The configuration information includes: the version of the upgraded version. The address information includes the IP address of the version server, the IP address of the NE board, and the configuration information needs to be configured during the deployment. Modify and add.
通过所述业务部署请求为局点开局任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行开局,可以简化系统中多个网元单板升级操作,提高了系统升级的效率。When the service deployment request is a site deployment task, the configuration information and the address information of the corresponding NE card are obtained according to the verified version, and the upgrade operation of multiple network element boards in the system is simplified. The efficiency of the system upgrade.
可选地,在上述实施例的基础上,该方法在按照校验后的结果分别对所述网元单板进行业务部署之前,还包括:若所述业务部署请求为版本升级任务时,备份对应的网元单板的数据和文件。Optionally, on the basis of the foregoing embodiment, before performing the service deployment on the network element board according to the result of the verification, the method further includes: if the service deployment request is a version upgrade task, the backup Data and files of the corresponding NE card.
在业务部署请求为版本升级任务时,备份对应的网元单板的数据和文件,例如:把当前的版本和系统配置备份指定路径下面,用户可以指定备份路径,比如:D:\bakup。在部署任务执行的过程中会不断的将心跳消息发到备份模块,当备份模块收不到部署任务的心跳消息后,就触发版本恢复,这样很好的解决了升级部署新版本过程中产生异常而导致的系统瘫痪问题。When the service deployment request is a version upgrade task, the data and files of the corresponding NE board are backed up. For example, the current version and system configuration are backed up by the specified path. You can specify the backup path, for example, D:\bakup. During the execution of the deployment task, the heartbeat message is sent to the backup module. When the backup module does not receive the heartbeat message of the deployment task, the version recovery is triggered. This solves the problem of abnormality during the upgrade and deployment of the new version. The resulting system problems.
通过所述业务部署请求为版本升级任务时,备份对应的网元单板的数据和文件,可以解决升级部署新版本过程中产生异常而导致的系统瘫痪问题。When the service deployment request is a version upgrade task, the data and files of the corresponding NE board are backed up, which can solve the system defect caused by the abnormality in the upgrade of the new version.
可选地,在上述实施例的基础上,该方法在按照校验后的结果分别对所述网元单板进行业务部署之后,还包括:Optionally, after the service is deployed on the network element board according to the result of the verification, the method further includes:
若所述业务部署请求为版本升级任务时,按照预定的时间检测升级的状态和进度,若检测升级异常,则恢复备份后的数据和文件。If the service deployment request is a version upgrade task, the status and progress of the upgrade are detected according to a predetermined time. If the upgrade abnormality is detected, the backed up data and files are restored.
在业务部署请求为版本升级任务时,不能避免产生升级失败的状况发生,该异常处理模块会定时探测当前版本的升级状态和进度,如果发现异常这样回滚模块执行回退脚本,把备份文件中存放的系统配置和版本文件恢复到节点部署前状态,很好的起到了系统升级容错的作用。When the service deployment request is a version upgrade task, the upgrade failure status cannot be avoided. The exception handling module periodically detects the upgrade status and progress of the current version. If an exception is found, the rollback module executes the rollback script and puts the backup file in the backup file. The stored system configuration and version files are restored to the pre-deployment state of the node, which plays a good role in system upgrade fault tolerance.
通过所述业务部署请求为版本升级任务时,若遇到升级异常,恢复备份后的数据和文件,可以解决升级部署新版本过程中产生异常而导致的系统瘫痪问题。When the service deployment request is a version upgrade task, if you encounter an upgrade exception and restore the data and files after the backup, you can solve the system defect caused by the abnormality during the upgrade of the new version.
下面将给出两个应用实例来详细说明:Two application examples are given below to illustrate in detail:
图3为本发明实施例提供的一种业务部署的方法实施例三流程示意图,如图3所示,本实施例说明的是自动化部署系统的方法的实施情况,业务部署装置是主控卡,该主控卡以omp为例。实施步骤如下: FIG. 3 is a schematic flowchart of Embodiment 3 of a method for service deployment according to an embodiment of the present invention. As shown in FIG. 3, this embodiment illustrates an implementation manner of a method for automatically deploying a system, where the service deployment device is a master control card. The main control card takes omp as an example. The implementation steps are as follows:
S301、在用户计划好升级版本及节点的配置信息后,触发自动化部署脚本;S301. After the user plans the upgrade version and the configuration information of the node, trigger an automatic deployment script.
S302、接收模块就会解析到本次操作目的是部署系统,先清理环境,结束版本和业务相关的进程,然后创建备份本件如:/tmp/ver_bakup,/tmp/ver_zmssbakup,去除掉网元单板上面的一些自启动的脚本信息等,S302, the receiving module will resolve to the purpose of this operation is to deploy the system, first clean up the environment, end the version and business-related processes, and then create backup items such as: /tmp/ver_bakup, /tmp/ver_zmssbakup, remove the network board Some of the above self-starting script information, etc.
S303、自动化部署脚本首先配置网元单板的IP地址、网口信息以及业务服务信息,如:信令IP和媒体IP和相对应的服务单元信息。S303. The automatic deployment script first configures the IP address, network port information, and service service information of the NE board, such as signaling IP, media IP, and corresponding service unit information.
S304、配置成后,触发下拉版本的脚本,脚本部署在omp主控单板上面,实现根据配置获取的版本服务服务器信息,与版本服务器建链通讯获取对应的版本信息,然后通过对比当前版本的信息打包新的版本包,对比版本的目的是如果当前版本存在的版本信息不作为版本包的元数据。通过版本分拣打包模块放到主控卡单板的/home/VER下面,把环境需求的人机命令规则包文件放到/home下面。After the configuration is complete, the script that triggers the pull-down version is triggered. The script is deployed on the omp main control board, and the version service server information obtained according to the configuration is obtained, and the version information of the version server is obtained by chain communication, and then the current version is compared. The information is packaged with a new version package. The purpose of the comparison version is if the version information that exists in the current version is not the metadata of the version package. Place the version sorting package module under /home/VER on the main control card board and place the man-machine command rule package file for the environment requirement under /home.
S305、主控卡会通过本板的版本管理进程通知系统上其他单板下载所需要的版本信息(这里是有单板的版本管理进程控制的)。On the S305, the version control card of the board is used to notify the other boards on the system of the version information required for downloading (this is controlled by the version management process of the board).
S306、成功后会Boot启动版本。S306. After the success, the boot version will be started.
S307、把对应的配置信息同步更新到数据库中,这样就实现了部署系统的功能。S307: Synchronously update the corresponding configuration information to the database, so that the function of the deployment system is implemented.
图4为本发明实施例提供的一种业务部署的方法实施例四流程示意图,如图4所示,本实施例说明的是自动化升级系统的方法实施情况,业务部署装置是主控卡,该主控卡以omp为例。实施步骤如下:FIG. 4 is a schematic flowchart of a fourth embodiment of a method for service deployment according to an embodiment of the present invention. As shown in FIG. 4, this embodiment illustrates a method for implementing an automatic upgrade system, where the service deployment device is a master control card. The main control card takes omp as an example. The implementation steps are as follows:
S401、在用户计划好升级版本及节点的配置信息后,触发自动化部署脚本。S401. After the user plans the upgrade version and the configuration information of the node, the automated deployment script is triggered.
S402、触发下拉版本的脚本,脚本部署在主控单板上面,实现根据配置获取的版本服务器信息,与版本服务器建链通讯获取对应的版本信息,根据当前系统信息打包升级版本包上传到omp单板上面。S402, the script that triggers the pull-down version, the script is deployed on the main control board, and the version server information obtained according to the configuration is obtained, and the version information of the version server is obtained by the link-building communication, and the upgrade version package is uploaded to the omp list according to the current system information. Above the board.
S403、然后通过对比当前版本的信息打包新的版本包,对比版本的目的是如果当前版本存在的版本信息不作为版本包的元数据,通过版本分拣打包 模块放到主控卡单板的/home/VER下面,把环境需求的人机命令规则包文件放到/home下面,单后各个单板版本管理进程会定时校验版本,通过CRC32的方式校验版本,如果发现与当前版本不一样,则会从主控卡下拉最新版本到本板。S403, and then package the new version package by comparing the information of the current version. The purpose of the comparison version is that if the version information existing in the current version is not used as the metadata of the version package, the version is sorted and packaged. The module is placed under the /home/VER of the main control card. The human-machine command rule package file of the environment is placed under /home. After the single-board version management process, the version will be periodically verified and verified by CRC32. If the version is found to be different from the current version, the latest version will be pulled down from the main control card to the board.
S404、Boot启动版本,升级成功。S404, Boot startup version, the upgrade is successful.
S405、记录当前版本信息到数据库中备案,这样就实现了升级系统的功能。S405, recording the current version information to the database for filing, thus realizing the function of upgrading the system.
图5为本发明实施例提供的一种业务部署的装置实施例一的结构示意图,如图5所示,一种业务部署的装置,包括:接收模块10、获取模块20、校验模块30和业务部署模块40;FIG. 5 is a schematic structural diagram of Embodiment 1 of a service deployment apparatus according to an embodiment of the present invention. As shown in FIG. 5, a service deployment apparatus includes: a receiving module 10, an obtaining module 20, a verification module 30, and Business deployment module 40;
所述接收模块10设置为接收对至少一个网元单板进行业务部署的请求;The receiving module 10 is configured to receive a request for performing service deployment on at least one network element board;
所述获取模块20设置为根据所述业务部署请求分别获取对应的网元单板的版本信息;The obtaining module 20 is configured to obtain the version information of the corresponding network element board according to the service deployment request.
所述校验模块30设置为校验所述网元单板的版本信息与所述网元单板的原有版本信息;The verification module 30 is configured to verify version information of the network element board and original version information of the network element board;
所述业务部署模块40设置为按照校验后的结果分别对所述网元单板进行业务部署。The service deployment module 40 is configured to perform service deployment on the network element board according to the result of the verification.
本发明实施例提供的一种业务部署的装置,包括:接收模块、获取模块、校验模块和业务部署模块;接收模块设置为接收对至少一个网元单板进行业务部署的请求,获取模块设置为根据所述业务部署请求分别获取对应的网元单板的版本信息,校验模块设置为校验所述网元单板的版本信息与所述网元单板的原有版本信息,业务部署模块设置为按照校验后的结果分别对所述网元单板进行业务部署。通过根据待部署的业务请求按照校验后正确的版本信息分别对每个网元单板进行业务部署,简化了传统业务部署的操作,提高了业务部署的效率。An apparatus for service deployment provided by the embodiment of the present invention includes: a receiving module, an obtaining module, a verification module, and a service deployment module; and the receiving module is configured to receive a request for performing service deployment on at least one network element board, and obtain a module setting. The verification module is configured to obtain the version information of the corresponding network element board according to the service deployment request, and the verification module is configured to verify the version information of the network element board and the original version information of the network element board, and the service deployment The module is configured to perform service deployment on the NE board according to the result of the verification. The service deployment of each NE card is performed according to the correct version information of the service to be deployed. This simplifies the operation of traditional service deployment and improves the efficiency of service deployment.
可选地,在上述实施例的基础上,所述业务部署模块40设置为若所述业务部署请求为版本升级任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行升级。 Optionally, on the basis of the foregoing embodiment, the service deployment module 40 is configured to obtain the configuration information and address of the corresponding network element board according to the verified version, if the service deployment request is a version upgrade task. Information is upgraded.
本发明实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
可选地,在上述实施例的基础上,所述业务部署模块40设置为若所述业务部署请求为局点开局任务时,按照校验后的版本添加对应的网元单板的配置信息和地址信息。Optionally, on the basis of the foregoing embodiment, the service deployment module 40 is configured to add the configuration information of the corresponding network element board according to the verified version, and if the service deployment request is the office deployment task, Address information.
本发明实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
可选地,如图5所示,在上述实施例的基础上,还包括:备份模块50;Optionally, as shown in FIG. 5, based on the foregoing embodiment, further comprising: a backup module 50;
所述备份模块50设置为在所述业务部署模块按照校验后的结果分别对所述网元单板进行业务部署之前,若所述业务部署请求为版本升级任务时,备份对应的网元单板的数据和文件。The backup module 50 is configured to back up the corresponding network element list if the service deployment request is a version upgrade task before the service deployment module performs the service deployment on the network element board according to the result of the verification. Board data and files.
本发明实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
可选地,如图5所示,在上述实施例的基础上,该装置还包括:异常处理模块60;Optionally, as shown in FIG. 5, based on the foregoing embodiment, the apparatus further includes: an exception processing module 60;
所述异常处理模块60设置为在所述业务部署模块按照校验后的结果分别对所述网元单板进行业务部署之后,若所述业务部署请求为版本升级任务时,按照预定的时间检测升级的状态和进度,若检测升级异常,则恢复备份后的数据和文件。The exception processing module 60 is configured to detect the service deployment module according to the result of the verification, after the service deployment request is performed on the network element board, and if the service deployment request is a version upgrade task, the predetermined time detection is performed. If the upgrade status is abnormal, the data and files after the backup are restored.
本发明实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
图6为本发明实施例提供的一种业务部署的系统实施例一的结构示意图,如图6所示,该系统包括:上述实施例中任一项业务部署装置600、至少一个网元单板601和版本服务器602,所述版本服务器602存储有所有网元单板的版本信息。FIG. 6 is a schematic structural diagram of Embodiment 1 of a service deployment system according to an embodiment of the present invention. As shown in FIG. 6 , the system includes: any one of the foregoing service deployment devices 600 and at least one network element board. 601 and a version server 602, the version server 602 stores version information of all network element boards.
图6中所述设备,根据操作系统类型分为suse的和cgsl的,此外各个局点不一样,每个设备类型的单板种类数量也不同,如果系统单板种类多的情况下,业务部署装置是一个主控单板,一般被称为是主控卡,其主要作用是 进行业务部署的,所述方法中的部署的配置文件和自动化执行的脚本放到主控卡主控单板上面,图6中版本服务器存放节点版本的元数据信息的服务器,系统上的主控卡会发消息到版本服务器,消息中带有本次升级的版本等信息,版本服务器把所有类型单板的版本信息分包发送到网元设备主控卡,通过对服务器传上来的版本信息和单板的当前版本信息进行CRC32校验比对,然后有选择的打包版本包,然后主控卡会将获取的版本部署到对应的单板上的。The device in Figure 6 is classified into suse and cgsl according to the type of the operating system. In addition, the number of boards of each device type is different. If the number of system boards is large, service deployment is performed. The device is a master control board, generally referred to as a master control card, and its main function is For the service deployment, the deployed configuration file and the automatically executed script in the method are placed on the main control card of the main control card, and the version server in FIG. 6 stores the metadata information of the node version, and the main control on the system. The card sends a message to the version server, and the message carries the version of the upgraded version. The version server sends the version information of all types of boards to the network element device control card, and the version information transmitted to the server is used. The current version information of the board is compared with the CRC32 checksum, and then the package version package is selected. Then, the master card deploys the obtained version to the corresponding board.
图7为本发明实施例提供的一种业务部署的系统实施例二的交互示意图,如图7所示,下面对于主控板和版本服务器的交互过程进行详细说明:FIG. 7 is a schematic diagram of interaction of a second embodiment of a service deployment system according to an embodiment of the present invention. As shown in FIG. 7, the following describes the interaction process between the main control board and the version server:
步骤1:主控单板通知版本服务器分拣版本;Step 1: The master board notifies the version server sorting version.
步骤2:版本服务器回复应答消息,告知主控单板已经收到请求;Step 2: The version server replies with a response message, informing the master board that the request has been received.
步骤3:主控单板通知版本服务器所要的版本号信息;Step 3: The master control board notifies the version number information required by the version server.
步骤4:版本服务器发送版本1的数据信息,通过分包的方式:Step 4: The version server sends the version 1 data information by subcontracting:
步骤4.1:版本服务器发送版本1的第0个包文件给主控单板,里面主要是版本的描述信息;Step 4.1: The version server sends the 0th package file of version 1 to the main control board, which is mainly the version description information.
步骤4.2:版本服务器发送版本1的第1个包文件给主控单板;Step 4.2: The version server sends the first package file of version 1 to the main control board.
步骤4.3:经过多次的传输(流程省略),版本服务器发送版本1的第n个包到主控单板;Step 4.3: After multiple transmissions (the process is omitted), the version server sends the nth packet of version 1 to the main control board;
步骤4.4:版本服务器器发送总结包(HaslastPack=0);Step 4.4: The version server sends a summary package (HaslastPack=0);
步骤5:主控单板发送ACK或者(重发)(最多支持3次);Step 5: The master board sends an ACK or (retransmission) (up to 3 times);
步骤6:此时主控单板收到版本1的文件后,对比当前系统中版本的信息,通过CRC32校验版本是否一致,如果一致就不放到版本打包文件中,如果不存在就保存到对应的打包目录中。Step 6: After receiving the version 1 file, the master board compares the version information of the current system with the CRC32 check version. If it is consistent, it will not be placed in the version package file. If it does not exist, save it to Corresponding package directory.
步骤7:重复步骤3、4、5的过程,完成所有版本分拣的请求;Step 7: Repeat the process of steps 3, 4, and 5 to complete the request for all version sorting;
步骤8:主控单板发送请求结束;Step 8: The main control board sends a request to end;
步骤9:主控单板打包版本包。Step 9: The main control board package version package.
通过上述系统,可以有效地实现了对大批量包含多种类单板类型的网元单板的升级或开局,有效的减少了复杂的人工手动操作带来的低效率的工作, 同时降低技术支持和测试人员的工作负担。Through the above-mentioned system, the upgrade or the opening of the NE board containing a plurality of types of boards of a plurality of types can be effectively implemented, thereby effectively reducing the inefficient work caused by complicated manual manual operations. At the same time reduce the workload of technical support and testers.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理单元的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或者所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and functional blocks/units of the methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical units; for example, one physical component may have multiple functions, or one function or step may be composed of several physical The components work together. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer readable medium, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer. Moreover, it is well known to those skilled in the art that communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
虽然本发明实施例所揭露的实施方式如上,但所述的内容仅为便于理解本申请而采用的实施方式,并非用以限定本申请。任何本申请所属领域内的技术人员,在不脱离本发明实施例所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本申请的专利保护范围,仍须以所附的权利要求书所界定的范围为准。The embodiments disclosed in the embodiments of the present invention are as described above, but the content is only for the purpose of understanding the present application, and is not intended to limit the present application. Any modification and variation in the form and details of the embodiments may be made by those skilled in the art without departing from the spirit and scope of the present invention. It is still subject to the scope defined by the appended claims.
工业实用性Industrial applicability
本发明实施例公开了一种部署业务的方法、装置和系统,通过根据待部署的业务请求按照校验后正确的版本信息分别对每个网元单板进行业务部署,简化了传统业务部署的操作,提高了业务部署的效率。 The embodiment of the invention discloses a method, a device and a system for deploying a service, which respectively implements service deployment on each network element board according to the correct version information after the verification, and simplifies the traditional service deployment. Operation improves the efficiency of business deployment.

Claims (11)

  1. 一种业务部署的方法,包括:A method of business deployment, including:
    接收对至少一个网元单板进行业务部署的请求;Receiving a request for service deployment on at least one network element board;
    根据所述业务部署请求,分别获取对应的网元单板的版本信息;Obtaining version information of the corresponding network element board according to the service deployment request;
    校验所述网元单板的版本信息与所述网元单板的原有版本信息;Verifying the version information of the NE board and the original version information of the NE board;
    按照校验后的结果分别对所述网元单板进行业务部署。Perform service deployment on the NE board according to the result of the verification.
  2. 根据权利要求1所述的方法,其中,按照校验后的结果分别对所述网元单板进行业务部署,包括:The method according to claim 1, wherein the service deployment of the network element board is performed according to the result of the verification, including:
    若所述业务部署请求为版本升级任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行升级。If the service deployment request is a version upgrade task, the configuration information and the address information of the corresponding NE board are obtained and upgraded according to the verified version.
  3. 根据权利要求1所述的方法,其中,按照校验后的结果分别对所述网元单板进行业务部署,包括:The method according to claim 1, wherein the service deployment of the network element board is performed according to the result of the verification, including:
    若所述业务部署请求为局点开局任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行开局。If the service deployment request is a site deployment task, the configuration information and the address information of the corresponding network element board are obtained according to the verified version.
  4. 根据权利要求2所述的方法,在按照校验后的结果分别对所述网元单板进行业务部署之前,所述方法还包括:The method according to claim 2, before the service is deployed on the network element board according to the result of the verification, the method further includes:
    若所述业务部署请求为版本升级任务时,备份对应的网元单板的数据和文件。If the service deployment request is a version upgrade task, the data and files of the corresponding NE card are backed up.
  5. 根据权利要求4所述的方法,在按照校验后的结果分别对所述网元单板进行业务部署之后,所述方法还包括:The method of claim 4, after performing service deployment on the network element board according to the result of the verification, the method further includes:
    若所述业务部署请求为版本升级任务时,按照预定的时间检测升级的状态和进度,若检测升级异常,则恢复备份后的数据和文件。If the service deployment request is a version upgrade task, the status and progress of the upgrade are detected according to a predetermined time. If the upgrade abnormality is detected, the backed up data and files are restored.
  6. 一种业务部署的装置,包括:接收模块、获取模块、校验模块和业务部署模块;A device for service deployment, comprising: a receiving module, an obtaining module, a verification module, and a service deployment module;
    所述接收模块设置为接收对至少一个网元单板进行业务部署的请求;The receiving module is configured to receive a request for performing service deployment on at least one network element board;
    所述获取模块设置为根据所述业务部署请求分别获取对应的网元单板的版本信息; The obtaining module is configured to obtain version information of the corresponding network element board according to the service deployment request.
    所述校验模块设置为校验所述网元单板的版本信息与所述网元单板的原有版本信息;The verification module is configured to verify version information of the network element board and original version information of the network element board;
    所述业务部署模块设置为按照校验后的结果分别对所述网元单板进行业务部署。The service deployment module is configured to perform service deployment on the network element board according to the result of the verification.
  7. 根据权利要求6所述的装置,其中,所述业务部署模块设置为若所述业务部署请求为版本升级任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行升级。The device according to claim 6, wherein the service deployment module is configured to obtain the configuration information and address information of the corresponding network element board according to the verified version, if the service deployment request is a version upgrade task. upgrade.
  8. 根据权利要求6所述的装置,其中,所述业务部署模块设置为若所述业务部署请求为局点开局任务时,按照校验后的版本获取对应的网元单板的配置信息和地址信息进行开局。The device of claim 6, wherein the service deployment module is configured to obtain configuration information and address information of the corresponding network element board according to the verified version, if the service deployment request is an office deployment task. Start the game.
  9. 根据权利要求7所述的装置,还包括:备份模块;The apparatus of claim 7, further comprising: a backup module;
    所述备份模块设置为在所述业务部署模块按照校验后的结果分别对所述网元单板进行业务部署之前,若所述业务部署请求为版本升级任务时,备份对应的网元单板的数据和文件。The backup module is configured to back up the corresponding network element board when the service deployment request is a version upgrade task, respectively, before the service deployment module performs the service deployment on the network element board according to the result of the verification. Data and files.
  10. 根据权利要求9所述的装置,还包括:异常处理模块;The apparatus of claim 9 further comprising: an exception handling module;
    所述异常处理模块设置为在所述业务部署模块按照校验后的结果分别对所述网元单板进行业务部署之后,若所述业务部署请求为版本升级任务时,按照预定的时间检测升级的状态和进度,若检测升级异常,则恢复备份后的数据和文件。The exception processing module is configured to detect an upgrade according to a predetermined time after the service deployment module performs service deployment on the network element board according to the result of the verification, and if the service deployment request is a version upgrade task. The status and progress, if the upgrade is detected abnormally, the backup data and files are restored.
  11. 一种业务部署的系统,该系统包括:权利要求6-10中任一项所述的装置、至少一个网元单板和版本服务器,所述版本服务器存储有所有网元单板的版本信息。 A service deployment system, comprising: the device of any one of claims 6-10, at least one network element board, and a version server, wherein the version server stores version information of all network element boards.
PCT/CN2017/084587 2016-05-18 2017-05-16 Service deployment method, apparatus and system WO2017198156A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610334797.8 2016-05-18
CN201610334797.8A CN107404389A (en) 2016-05-18 2016-05-18 Service deployment methods, devices and systems

Publications (1)

Publication Number Publication Date
WO2017198156A1 true WO2017198156A1 (en) 2017-11-23

Family

ID=60325687

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/084587 WO2017198156A1 (en) 2016-05-18 2017-05-16 Service deployment method, apparatus and system

Country Status (2)

Country Link
CN (1) CN107404389A (en)
WO (1) WO2017198156A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000540A (en) * 2020-07-20 2020-11-27 中国建设银行股份有限公司 Monitoring processing method, system, equipment and storage medium for distributed deployment products
WO2021061678A1 (en) * 2019-09-28 2021-04-01 Facebook Technologies, Llc Dynamic customization of head related transfer functions for presentation of audio content
CN113297113A (en) * 2021-05-21 2021-08-24 中国邮政储蓄银行股份有限公司 Control method and control device based on service bus system
CN113852414A (en) * 2021-09-27 2021-12-28 中国电子科技集团公司第五十四研究所 Method for realizing dynamic management of satellite load resources in low-orbit constellation

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111931103A (en) * 2020-07-09 2020-11-13 北京皮尔布莱尼软件有限公司 Website deployment method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543107A (en) * 2003-11-04 2004-11-03 中兴通讯股份有限公司 Method of singleboard Node B software download and upgrade
CN102075985A (en) * 2011-01-17 2011-05-25 中兴通讯股份有限公司 Version upgrading method and device of RTR (Radio Teletype Receiver) single board
CN102316035A (en) * 2011-09-06 2012-01-11 中兴通讯股份有限公司 Foreground and background communication and data safety processing method in cluster router system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543107A (en) * 2003-11-04 2004-11-03 中兴通讯股份有限公司 Method of singleboard Node B software download and upgrade
CN102075985A (en) * 2011-01-17 2011-05-25 中兴通讯股份有限公司 Version upgrading method and device of RTR (Radio Teletype Receiver) single board
CN102316035A (en) * 2011-09-06 2012-01-11 中兴通讯股份有限公司 Foreground and background communication and data safety processing method in cluster router system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021061678A1 (en) * 2019-09-28 2021-04-01 Facebook Technologies, Llc Dynamic customization of head related transfer functions for presentation of audio content
US11228857B2 (en) 2019-09-28 2022-01-18 Facebook Technologies, Llc Dynamic customization of head related transfer functions for presentation of audio content
CN114223215A (en) * 2019-09-28 2022-03-22 脸谱科技有限责任公司 Dynamic customization of head-related transfer functions for rendering audio content
US11622223B2 (en) 2019-09-28 2023-04-04 Meta Platforms Technologies, Llc Dynamic customization of head related transfer functions for presentation of audio content
CN112000540A (en) * 2020-07-20 2020-11-27 中国建设银行股份有限公司 Monitoring processing method, system, equipment and storage medium for distributed deployment products
CN113297113A (en) * 2021-05-21 2021-08-24 中国邮政储蓄银行股份有限公司 Control method and control device based on service bus system
CN113852414A (en) * 2021-09-27 2021-12-28 中国电子科技集团公司第五十四研究所 Method for realizing dynamic management of satellite load resources in low-orbit constellation

Also Published As

Publication number Publication date
CN107404389A (en) 2017-11-28

Similar Documents

Publication Publication Date Title
WO2017198156A1 (en) Service deployment method, apparatus and system
WO2017067448A1 (en) Firmware-over-the-air upgrade method, system and computer storage medium
CN104679534B (en) System application installation package loading processing method, apparatus and terminal
CN109491698B (en) System updating method and device based on hot patch
CN106886436B (en) Android system upgrading method and device
TWI533216B (en) Operating system updating method
CN104915226B (en) A kind of network device software starting method, apparatus and the network equipment
CN104918114A (en) Method and device for upgrading operation system
CN111506326A (en) Method, device and equipment for upgrading terminal equipment and storage medium
US8612799B2 (en) Method and apparatus of backing up subversion repository
CN111309354A (en) OTA (over the air) upgrading method and device of networking equipment
WO2016082450A1 (en) Method for upgrading user terminal, and user terminal
CN105045640A (en) Software upgrading method and device and intelligent equipment
CN110597545A (en) Hot patch intelligent upgrading method and system based on OTA component
CN110633174A (en) Disaster recovery switching method, device and computer readable storage medium
CN111698558A (en) Television software upgrading method, television terminal and computer readable storage medium
CN112732285B (en) Upgrading method and device suitable for cloud computing linux operating system and electronic equipment
CN114064084A (en) ONU upgrade management method, storage medium, electronic device, and ONU
CN112804071B (en) Online upgrade method, upgrade file providing method, device and storage medium
CN106933604B (en) System upgrading method and device
CN113157307A (en) Software version upgrading method and device
CN116107596A (en) Automatic system deployment method and related device
CN115145596A (en) OTA (over the air) upgrading method and device for robot upgrading package
CN106708541A (en) Version upgrading processing method and apparatus
CN109672573B (en) Configuration file deployment method, configuration file determination method, server and storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17798719

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17798719

Country of ref document: EP

Kind code of ref document: A1