WO2022156354A1 - Version configuration method, apparatus, device, system, and storage medium - Google Patents

Version configuration method, apparatus, device, system, and storage medium Download PDF

Info

Publication number
WO2022156354A1
WO2022156354A1 PCT/CN2021/133217 CN2021133217W WO2022156354A1 WO 2022156354 A1 WO2022156354 A1 WO 2022156354A1 CN 2021133217 W CN2021133217 W CN 2021133217W WO 2022156354 A1 WO2022156354 A1 WO 2022156354A1
Authority
WO
WIPO (PCT)
Prior art keywords
version
configuration information
configuration
identification code
communication protocol
Prior art date
Application number
PCT/CN2021/133217
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 WO2022156354A1 publication Critical patent/WO2022156354A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Definitions

  • the embodiments of the present application relate to the field of communications, and in particular, to a version configuration method, apparatus, device, system, and storage medium.
  • the current version configuration when updating the version of the network element device because the configuration information of different versions is pre-stored locally in the network element device, which is limited by the local storage space, so that more versions cannot be stored. configuration information.
  • the version configuration currently performed when the version update is performed on the network element device requires manual intervention to select appropriate configuration information from the local storage space for version configuration, which seriously affects the configuration efficiency.
  • An embodiment of the present application provides a version configuration method, which is applied to an orchestrator in a version configuration system, where the version configuration system further includes a controller, a configuration information management center, and a network element device to be configured, and the version configuration method includes :
  • a configuration command is delivered to the controller for the controller to control the to-be-configured network element device to obtain configuration information from the configuration information management center to perform version configuration.
  • Embodiments of the present application further provide a version configuration method, which is applied to a controller in a version configuration system, where the version configuration system further includes an orchestrator, a configuration information management center, and a network element device to be configured, and the version configuration method includes :
  • a configuration information search command is issued to the configuration information management center for the configuration information management center to determine whether configuration information matching the version identifier is stored.
  • An embodiment of the present application further provides a version configuration method, which is applied to a configuration information management center in a version configuration system, where the version configuration system further includes an orchestrator, a controller, and a network element device to be configured, and the version configuration method includes :
  • the configuration information management center stores the configuration information matching the version identification code as a search result
  • the configuration information management center that does not store the configuration information matching the version identification code is used as the search result;
  • the search result is fed back to the controller, so that the controller can respond to the orchestrator for a configuration failure, or control the to-be-configured network element device to manage from the configuration information
  • the configuration information matching the version identification code is obtained in the center for version configuration.
  • Embodiments of the present application further provide a version configuration method, which is applied to a network element device to be configured in a version configuration system, where the version configuration system further includes an orchestrator, a controller, and a configuration information management center, and the version configuration method includes :
  • the version configuration is performed according to the configuration information.
  • the embodiment of the present application also provides a version configuration device, including:
  • a determining module configured to receive user requirements, and determine a service type identification code corresponding to the user requirement according to a predefined service type set, where the service type set includes the corresponding relationship between each user requirement and each service type identification code;
  • an acquisition module used to acquire the identifier of the scheduler and the identifier of the controller of the controller
  • a generating module configured to generate a first communication protocol for communicating with the controller according to the sequencer identification code, the controller identification code and the service type identification code;
  • a sending module configured to issue a configuration command to the controller based on the first communication protocol, for the controller to control the to-be-configured network element device to obtain configuration information from the configuration information management center for version configuration .
  • the embodiment of the present application also provides a version configuration device, including:
  • a receiving module configured to receive a configuration command issued by the scheduler through a first communication protocol, where the first communication protocol carries a service type identification code corresponding to a user requirement;
  • a determining module configured to extract the service type identification code from the first communication protocol, and determine the version identification code of the configuration information required for version configuration of the network element device to be configured according to the service type identification code ;
  • an acquisition module for acquiring the controller identification code and the configuration information management center identification code of the configuration information management center
  • a generating module configured to generate a second communication protocol for communicating with the configuration information management center according to the controller identification code, the configuration information management center identification code and the version identification code;
  • a sending module configured to issue a configuration information search command to the configuration information management center based on the second communication protocol, so that the configuration information management center determines whether configuration information matching the version identification code is stored.
  • the embodiment of the present application also provides a version configuration device, including:
  • a receiving module configured to receive a configuration information search command issued by the controller through a second communication protocol, where the second communication protocol carries a version identification of the configuration information required for version configuration of the to-be-configured network element device code;
  • a search module configured to extract the version identification code from the second communication protocol, and traverse the locally stored configuration information according to the version identification code; if the configuration information matching the version identification code is traversed, Then the configuration information management center stores the configuration information matching the version identification code as the search result; if the configuration information matching the version identification code is not traversed, the configuration information management center does not store the configuration information matching the version identification code.
  • the configuration information matched by the version identifier is used as the search result;
  • a sending module configured to feed back the search result to the controller based on the second communication protocol, so that the controller can respond to the orchestrator for configuration failure, or control the to-be-configured network element device from The configuration information management center obtains configuration information matching the version identification code to perform version configuration.
  • the embodiment of the present application also provides a version configuration device, including:
  • a receiving module configured to receive a configuration command issued by the controller through a third communication protocol, where the third communication protocol carries a version identification code of configuration information required for version configuration;
  • an extraction module for extracting the version identification code from the third communication protocol
  • an acquisition module for acquiring the configuration information management center identification code of the configuration information management center that stores the configuration information matching the version identification code
  • a generating module for generating a fourth communication protocol for communicating with the configuration information management center according to the configuration information management center identification code and the version identification code;
  • a sending module configured to issue a configuration information acquisition command to the configuration information management center based on the fourth communication protocol, for the configuration information management center to feed back a configuration information matching the version identification code based on the fourth communication protocol.
  • a receiving module further configured to receive the configuration information that matches the version identification code fed back by the configuration information management center through the fourth communication protocol;
  • a configuration module configured to perform version configuration according to the configuration information.
  • the embodiment of the present application also provides a version configuration device, including:
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to execute a version configuration as described above as applied to the orchestrator
  • the embodiment of the present application also provides a version configuration system, including: an orchestrator, a controller, a configuration information management center, and a network element device to be configured;
  • the orchestrator configured to execute the above-mentioned version configuration method applied to the orchestrator
  • the controller configured to execute the above-mentioned version configuration method applied to the controller
  • the configuration information management center is used to execute the above-mentioned version configuration method applied to the configuration information management center;
  • the to-be-configured network element device is configured to execute the above-mentioned version configuration method applied to the to-be-configured network element device.
  • Embodiments of the present application further provide a computer-readable storage medium storing a computer program.
  • the computer program is executed by the processor, the above-mentioned version configuration method applied to the orchestrator is implemented, or the version configuration method applied to the controller, or the configuration management method applied to the configuration management center, or applied to the network to be configured. Metadevice version configuration method.
  • FIG. 1 is a schematic structural diagram of a version configuration system provided by a first embodiment of the present application
  • FIG. 2 is a flowchart of a version configuration method applied to an orchestrator provided by a second embodiment of the present application
  • FIG. 3 is a flowchart of a version configuration method applied to a controller provided by a third embodiment of the present application.
  • FIG. 4 is a flowchart of a version configuration method applied to a configuration information management center provided by the fourth embodiment of the present application;
  • FIG. 5 is a flowchart of a version configuration method applied to a to-be-configured network element device provided by a fifth embodiment of the present application;
  • FIG. 6 is a schematic structural diagram of a version configuration device deployed in an orchestrator according to a sixth embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a version configuration device deployed in a controller provided by a seventh embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a version configuration device deployed in a configuration information management center provided by an eighth embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a version configuration apparatus deployed on a network element device to be configured provided by the ninth embodiment of the present application;
  • FIG. 10 is a schematic structural diagram of a version configuration device provided by a tenth embodiment of the present application.
  • the version configuration method, device, device, system and storage medium proposed in the present application convert user requirements into corresponding service type identification codes according to a predefined set of service types by using an orchestrator, and then identify codes according to the orchestrator's own orchestrator. code, as well as the controller identification code that identifies the controller and the identified service type identification code, generate a first communication protocol for communicating with the controller, and issue a configuration command to the controller based on the generated first communication protocol, so that After receiving the configuration command issued by the orchestrator, the controller can control the network element device to be configured to independently obtain the corresponding configuration information from the configuration information management center to perform version configuration.
  • the configuration information required for version configuration of the network element device to be configured is separately stored in the configuration information management center, that is, the configuration information corresponding to different versions does not need to be pre-stored in the configuration information management center.
  • the configuration information corresponding to different versions does not need to be pre-stored in the configuration information management center.
  • each network element device to be configured only one copy of the configuration information of the same version needs to be stored in the configuration information management center, thereby reducing the manpower to deploy different versions of the configuration information in each network element device to be configured in advance. It can also facilitate the later operation and maintenance personnel to update and maintain the configuration information of each version.
  • the version configuration of the network element device to be configured is free from the limitation of the local storage space of the network element device to be configured, so that more versions of the configuration of the network element device to be configured can be realized. , so as to better meet the needs of various users.
  • the first embodiment of the present application relates to a version configuration system, including an orchestrator, a controller, a configuration information management center, and a network element device to be configured.
  • the orchestrator is mainly used to convert user requirements into service requirements that can be identified by the controller.
  • it is specifically a service type identification code that identifies the uniqueness of the service type, and is based on the orchestrator identification code that identifies the uniqueness of the orchestrator.
  • a controller identification code that identifies the uniqueness of the controller, and the converted service type identification code to generate a first communication protocol for communicating with the controller, and then issue a configuration command to the controller based on the generated first communication protocol.
  • the controller is mainly used to generate and communicate with the configuration information management center based on the service type identification code carried in the first communication protocol with the scheduler, its own controller identification code, and the obtained identification code of the configuration information management center the second communication protocol, and then communicate with the configuration information management center based on the second communication protocol.
  • the controller also determines, based on the search result fed back by the configuration information management center through the second communication protocol, whether to inform the scheduler that the configuration fails this time based on the first communication protocol, or whether to inform the orchestrator based on the identification code of the controller and the network element to be configured.
  • the device's network element identification code and the version identification code determined based on the service type identification code generate a third communication protocol for communicating with the to-be-configured network element device, and communicate with the to-be-configured network element device based on the third communication protocol.
  • the configuration information management center is mainly used to traverse the locally stored configuration information based on the version identification code carried in the second communication protocol with the controller, and then determine whether the configuration information matching the version identification code is stored locally, and The controller is informed of the traversal result via the second communication protocol.
  • the configuration information management center will further locate the corresponding configuration information based on the version identification code carried in the fourth communication protocol when receiving the configuration information acquisition command issued by the network element device to be configured based on the fourth communication protocol, The obtained configuration information is fed back to the network element device to be configured through the fourth communication protocol.
  • the network element device to be configured is mainly used for the configuration information management center identification code based on the version identification code carried in the third communication protocol with the controller and the configuration information management center that stores the configuration information corresponding to the version identification code,
  • a fourth communication protocol for communicating with the configuration information management center is generated, that is, the configuration information corresponding to the version identification code is acquired from the configuration information management center based on the fourth communication protocol.
  • configuration information management centers that store configuration information required for version configuration of network element devices to be configured.
  • controllers that directly communicate with the network element device to be configured.
  • the number of configuration information management centers and controllers may be determined according to the area or cluster where the network element device to be configured is located.
  • each NE cluster to be configured corresponds to one controller and a configuration information management center.
  • the version configuration system can have three controllers and three configuration information management centers, that is, each network element device cluster to be configured corresponds to one controller and one configuration information management center, or two A controller and two configuration information management centers, and one controller and one configuration information management center correspond to cluster A and cluster C, and the other controller and configuration information management center correspond to cluster B independently.
  • the orchestrator, controller, and controller corresponding to each to-be-configured network element device cluster or each to-be-configured network element device.
  • There are at least two configuration information management centers that is, there will be a master orchestrator, a slave orchestrator, a master controller, a slave controller, a master configuration information management center, and a slave configuration information management center in the version configuration system. center.
  • a master orchestrator a slave orchestrator
  • a master controller a slave controller
  • a master configuration information management center a slave configuration information management center
  • slave configuration information management center in the version configuration system. center.
  • only the main orchestrator, the main controller and the main configuration information management center are started under normal circumstances, and when any one of them is abnormal, the function responsible for the abnormal device will be switched to the corresponding slave device. , so as to ensure the normal operation of the version configuration system.
  • the configuration information management center is essentially a database that stores configuration information of various network element devices to be configured, such as system version configuration information, function version configuration information, and patch version configuration information.
  • the network element device to be configured may be a router, a switch, or a transmission node involved in an optical transport network (OTN).
  • OTN optical transport network
  • this embodiment takes an orchestrator, a controller, a configuration information management center, and a network element device to be configured, specifically a router, as an example, and with reference to FIG.
  • the version configuration process is described in detail.
  • a user submits a user requirement to the orchestrator, that is, when the orchestrator receives the user requirement, it converts the user's original request into a service request and sends it to the corresponding controller.
  • the above-mentioned original request is the received user demand.
  • the original request is converted into a service request and sent to the corresponding controller, specifically:
  • the service type set includes correspondences between various user requirements and various service type identification codes.
  • the pre-defined service type set includes not only user requirements and service type identification codes, but also the service types corresponding to the service type identification codes.
  • the defined service type set analyzes the received user requirements to determine the service type corresponding to the current user requirement, and then finds the service type identification code identifying the current service type.
  • the current router is running the version corresponding to the 4G service.
  • the version search will be triggered in this case, and the version will be updated when the version can be searched.
  • the user requirement is the 5G service application.
  • the service type identification code corresponding to the 5G service can be set in advance, and the service type identification code that identifies the 5G service may have multiple service types, which can be understood as service functions. Such as segment routing (SR), network remote sensing technology (Telemetry), Bier multicast, FlexE, etc.
  • the current router is running the version corresponding to the 5G service, but the user needs a new 5G function, which is not supported by the current router.
  • the information configuration management center has a patch version that supports this function, it can be loaded by the above method.
  • the service type identification code of the new service type of the 5G function can be found through the user requirement.
  • the organizer identification code mentioned in this embodiment is identification information that can identify the uniqueness of the organizer.
  • the controller identification code is identification information that can identify the uniqueness of the controller.
  • sequencer identification code for identifying the uniqueness of the sequencer and the controller identification code for identifying the uniqueness of the controller may be pre-allocated by technicians according to preset rules. , or it can be the identifier information allocated by the manufacturer when the orchestrator and controller are prepared and shipped from the factory, or it can be the unique identifier assigned to each orchestrator and controller of the access network according to the pre-compiled script. identification information.
  • the communication connections established between the functional entities in the version configuration system in this embodiment are still based on existing protocols such as Transmission Control Protocol (TCP, Transmission Control Protocol)/Internet Protocol (IP, Internet Protocol).
  • TCP Transmission Control Protocol
  • IP Internet Protocol
  • the communication protocol required for communication between the functional entities in this embodiment essentially indicates what information is specifically carried in the communication protocol.
  • the above-mentioned first communication protocol is essentially to express the communication protocol generated based on the above-mentioned three kinds of identification codes, and issue a configuration command to the controller, in order to transmit the above-mentioned three kinds of identification codes to the control receiving the configuration command.
  • the device takes the above three identification codes as the header file of the first communication protocol, and uses the configuration command as the specific action instruction for transmission.
  • the relationship between the orchestrator ID, the controller ID, and the service type ID can be identified in the following format: ⁇ organizer ID, controller ID, service type ID>.
  • a configuration command is delivered to the controller, so that the controller can control the to-be-configured network element device to obtain configuration information from the configuration information management center to perform version configuration.
  • the module responsible for interacting with users in the orchestrator can be called a demand input module. , you can first check the validity of user requirements.
  • the current user demand is legitimate, it is actually received for subsequent processing, that is, only the legitimate user demand will be received by the arranger; otherwise, the current user demand is directly rejected.
  • the orchestrator since the orchestrator converts user requirements into service requirements that can be identified by the controller, that is, when determining the service type identifier corresponding to the user requirement, it is based on a pre-defined service type set, so in order to avoid centralized service types Undefined user requirements are analyzed and processed, thereby increasing the resource occupancy of the orchestrator. After it is determined that the received user requirement is legitimate, and before determining the service type identification code corresponding to the user requirement according to the predefined service type set, it can be further judged whether the user requirement is a valid requirement.
  • the above-mentioned operation of determining the service type identification code corresponding to the user requirement according to the predefined service type set is performed.
  • a pre-defined business type may be defined as a valid business type or an invalid business type;
  • the current user requirement is considered to be an invalid requirement, otherwise, it is an effective requirement.
  • the above-mentioned operation of validity detection can be regarded as being implemented by another functional module inside the orchestrator, for example, the module that performs validity detection is called a requirement analysis module.
  • the function of finally determining the service type identifier corresponding to the user requirement according to the predefined service type set can also be regarded as being implemented by another functional module inside the orchestrator, such as a service type module.
  • the internal demand input module will first check the validity, and when it is legal, the internal demand analysis module will conduct validity analysis, and when it is valid, the internal business type model will be used. According to the predefined service type set, the service type identification code corresponding to the user requirement is determined.
  • the controller sends a configuration information adaptation request to the configuration information management center according to the service request sent by the orchestrator, and then sends a configuration command to the router to be configured when there is matching configuration information in the configuration information management center.
  • the orchestrator is notified that the configuration request for this version fails.
  • the service request mentioned above is essentially the service type identification code corresponding to the user requirement carried by the scheduler through the first communication protocol.
  • the version configuration process executed in the controller is as follows:
  • the first communication protocol carries a service type identification code corresponding to a user requirement, that is, a service type ID.
  • the configuration information of the version corresponding to the user requirements and the service type identification code is also predetermined.
  • this embodiment also allocates a corresponding version identification code to the configuration information.
  • the corresponding relationship between the service type identification code and the version identification code is defined according to a preset, so that the network element equipment to be configured can be quickly determined.
  • the version identifier of the configuration information required for version configuration is defined according to a preset, so that the network element equipment to be configured can be quickly determined.
  • the controller identification code mentioned in this embodiment is identification information that can identify the uniqueness of the controller.
  • the configuration information management center identification code is identification information capable of identifying the uniqueness of the configuration information management center.
  • the above-mentioned controller identification code for identifying the uniqueness of the controller, and the configuration information management center identification code for identifying the uniqueness of the configuration information management center may be the technical personnel according to preset rules. , pre-allocated, it can also be the identification information allocated by the manufacturer when the controller is prepared and shipped from the factory, configured according to preset rules when the configuration information management center is built, or it can be based on pre-compiled scripts.
  • the communication connections established between the functional entities in the version configuration system in this embodiment are still based on the implementation of existing protocols such as Transmission Control Protocol (TCP)/Internet Protocol (IP) , and the communication protocol required for communication between the functional entities in this embodiment is essentially to indicate what information is specifically carried in the communication protocol.
  • TCP Transmission Control Protocol
  • IP Internet Protocol
  • the above-mentioned second communication protocol is essentially to express the communication protocol generated based on the above-mentioned three kinds of identification codes, and issue a configuration information search command to the configuration information management center, in order to transmit the above-mentioned three kinds of identification codes to the receiving
  • the configuration information management center of the configuration information search command takes the above three identification codes as the header file of the second communication protocol, and uses the configuration information search command as a specific action instruction for transmission.
  • controller identification code the configuration information management center identification code and the version identification code
  • controller ID the configuration information management center identification code
  • version ID the version ID
  • the search result is that the configuration information management center does not store the configuration information matching the version identifier, then based on the first communication protocol, a response of configuration failure is made to the orchestrator; If the search result is that the configuration information management center stores configuration information matching the version identification code, the network element identification code of the to-be-configured network element device is acquired.
  • the network element identification code of the network element device to be configured in this embodiment is identification information that can identify the uniqueness of the network element device.
  • the above-mentioned network element identification code used to identify the uniqueness of the network element equipment to be configured may be pre-allocated by technicians according to preset rules, or may be prepared by the network element equipment to be configured.
  • the identification information assigned by the manufacturer may also be identification information assigned to each network element device to be configured on the access network to identify its uniqueness according to a pre-compiled script.
  • the communication connections established between the functional entities in the version configuration system in this embodiment are still based on the implementation of existing protocols such as Transmission Control Protocol (TCP)/Internet Protocol (IP) , and the communication protocol required for communication between the functional entities in this embodiment is essentially to indicate what information is specifically carried in the communication protocol.
  • TCP Transmission Control Protocol
  • IP Internet Protocol
  • the above-mentioned third communication protocol is essentially to express the communication protocol generated based on the above-mentioned three identification codes, and issue a configuration command to the network element device to be configured, that is, the to-be-configured router in FIG.
  • the identification code is transmitted to the router to be configured that receives the configuration command, that is, the above three identification codes are used as the header file of the third communication protocol, and the configuration command is used as the specific action instruction of the transmission.
  • controller identification code The relationship between the controller identification code, the network element identification code and the version identification code may be identified in the following format: ⁇ controller ID, network element ID, version ID>.
  • the module in the controller responsible for interacting with the orchestrator can be called
  • For the service type input module when monitoring the arrival of the configuration command issued by the orchestrator through the first communication protocol, it can firstly check the validity of the service type corresponding to the service type identification code carried in the first communication protocol.
  • the service type is legal through the inspection, it is actually received for subsequent processing, that is, only the legal service type will be received by the controller; otherwise, it is directly rejected.
  • the configuration information management center identification code and the version identification code further Determine whether the business type is valid.
  • the judgment of the validity of the service type can also be judged according to the preset logical analysis rules.
  • the above-mentioned generation of the second information that communicates with the configuration information management center according to the controller identification code, the configuration information management center identification code and the version identification code is performed.
  • the operation of the communication protocol is performed.
  • the judgment of the legality and validity of the execution of the controller is similar to the judgment of the validity and validity of the execution of the orchestrator, and will not be repeated here.
  • the configuration information management center it is mainly used to save all configurable versions of the to-be-configured network element devices, such as the router to be configured in FIG. 1 , and the configuration information corresponding to these versions.
  • the configuration information management center supports the functions of adding, deleting, and modifying the configuration information of each version, and supports the configuration information search requirements of the controller and the download requirements of the configuration information of the network element devices to be configured.
  • the configuration information management center in order to facilitate the configuration information management center to search for the configuration information corresponding to the version identification code required by the controller, and to facilitate the network element device to be configured to obtain the configuration information corresponding to the version identification code from the configuration information management center, the configuration information
  • the versions stored in the management center and the configuration information corresponding to these versions are stored in a manner agreed upon with the controller and the network element device to be configured.
  • the configuration information management center stores the configuration information matching the version identification code as a search result.
  • the configuration information management center that does not store the configuration information matching the version identification code is used as the search result.
  • the controller will control the to-be-configured network element device to delete the configuration information from the configuration information management center. Obtain configuration information matching the version identifier to perform version configuration; otherwise, the controller will respond to the orchestrator that the configuration fails.
  • the fourth communication protocol mentioned in this embodiment is specifically configured by the network element device to be configured, according to the configuration information management center identification code of the configuration information management center that stores the configuration information to be obtained and the configuration information to be obtained.
  • the version identifier corresponding to the configuration information is generated.
  • the format is: ⁇ configuration information management center ID, version ID>.
  • the configuration information matching the version identification code is fed back to the to-be-configured network element device for the to-be-configured network element device to perform version configuration.
  • this embodiment specifically refers to the to-be-configured router in FIG. 1 :
  • the configuration information is downloaded by interacting with the configuration information management center, and the configuration of this version is completed according to the downloaded configuration information.
  • the current version information currently running can be obtained first; then, it is determined whether the current version information is consistent with the version information. .
  • a configuration result such as configuration failure or configuration success, is fed back to the controller.
  • the network element device to be configured is a router
  • the router includes a main control board and several line cards.
  • the version configuration process of the router is as follows:
  • the configuration information that matches the version identification code fed back by the configuration information management center through the fourth communication protocol is saved in the main control board.
  • the main control board acquires the line card identification code of each of the line cards, and then generates the first communication with the corresponding line card according to the version identification code and each of the line card identification codes.
  • the configuration information is delivered to each of the line cards for each of the line cards to perform according to the configuration information version configuration.
  • the fifth communication protocol followed between the main control board and the line card is specifically the relationship between the version ID and the line card ID, so it can be specifically expressed in the form of ⁇ version ID, line card ID>.
  • versions of different sizes and complexity can usually be made in advance according to different business types, and stored in the configuration information management center.
  • the controller searches for the configuration information of the adaptable version from the configuration information management center according to the service type ID obtained from the orchestrator.
  • the service type ID obtained from the orchestrator.
  • each searched version can be scored.
  • the scoring principle is based on the version usage and service matching degree. The version with higher matching degree is closer to the user's needs, that is, it is finally fed back to the router.
  • the required configuration information is the closest to the user's needs.
  • the orchestrator, controller, configuration information management center, and network element devices to be configured in the version configuration system are all provided with a feedback mechanism. If a rejection occurs in one link, the entire version configuration process will be terminated, the operation will be canceled, and finally the orchestrator will conduct arbitration and reply to the user.
  • the communication protocol itself is not limited, but is only used to distinguish the communication protocols followed when different functional entities communicate.
  • the orchestrator issues commands to the controller clusters under its jurisdiction according to user requirements, and each controller issues a configuration information search command to the corresponding configuration information management center according to the to-be-configured network element device cluster under its jurisdiction, and searches for each to-be-configured device cluster.
  • the network element device issues a configuration command, and each network element device to be configured downloads configuration information from the configuration information management center designated by the controller.
  • a load sharing relationship or an active/standby relationship may be established between multiple controllers and between multiple configuration information management centers.
  • the multiple network element devices to be configured are generally independent and parallel, and are controlled by the controller as a whole.
  • the network element device to be configured for the version configuration may be isolated.
  • the controller determines that the configuration information management center stores matching configuration information, that is, when the version configuration of the network element device to be configured can be performed, after issuing a configuration command to the network element device to be configured, the controller can further make the entire network element device to be configured. Meta-devices are isolated, and the topology is recalculated for service convergence. After the version configuration is completed, the controller releases the isolated network element devices to be configured, and recalculates the topology to perform service convergence.
  • the controller determines that matching configuration information is stored in the configuration information management center, that is, when the version configuration of the network element device to be configured can be performed, after issuing a configuration command to the network element device to be configured, the controller can further make only the configuration information to be configured.
  • the units in the NE device that need to be version-configured are isolated, and service convergence is performed again.
  • the controller releases the internally isolated units of the network element device to be configured, and performs service convergence again.
  • the version configuration system converts user requirements into corresponding service type identification codes according to a predefined service type set by using an orchestrator, and then identifies the Based on the controller identification code of the controller and the determined service type identification code, a first communication protocol for communicating with the controller is generated, and based on the generated first communication protocol, a configuration command is issued to the controller, so that the controller receives a configuration command.
  • the network element device to be configured can be controlled to independently obtain the corresponding configuration information from the configuration information management center to perform version configuration.
  • the configuration information required for version configuration of the network element device to be configured is separately stored in the configuration information management center, that is, the configuration information corresponding to different versions does not need to be pre-stored in the configuration information management center.
  • the configuration information corresponding to different versions does not need to be pre-stored in the configuration information management center.
  • each network element device to be configured only one copy of the configuration information of the same version needs to be stored in the configuration information management center, thereby reducing the manpower to deploy different versions of the configuration information in each network element device to be configured in advance. It can also facilitate the later operation and maintenance personnel to update and maintain the configuration information of each version.
  • the version configuration of the network element device to be configured is free from the limitation of the local storage space of the network element device to be configured, so that more versions of the configuration of the network element device to be configured can be realized. , so as to better meet the needs of various users.
  • the second embodiment of the present application relates to a version configuration method, which is applied to an orchestrator in a version configuration system, where the version configuration system further includes a controller, a configuration information management center, and a network element device to be configured.
  • the configuration information management center is essentially a database that stores configuration information of various network element devices to be configured, such as system version configuration information, function version configuration information, and patch version configuration information.
  • the network element device to be configured may be a router, a switch, or a transmission node involved in an optical transport network (OTN).
  • OTN optical transport network
  • Step 201 Receive a user requirement, and determine a service type identifier corresponding to the user requirement according to a predefined service type set.
  • the service type set includes the corresponding relationship between each user requirement and each service type identification code.
  • the module responsible for interacting with users in the orchestrator can be called a demand input module. , you can first check the validity of user requirements.
  • the orchestrator directly rejects the user requirement.
  • the orchestrator converts user requirements into service requirements that can be identified by the controller, that is, when determining the service type identification code corresponding to the user requirements, it is based on a predefined service type set, so in order to avoid no definition of the service type set. analysis and processing of user requirements, which in turn increases the resource usage of the orchestrator. After it is determined that the received user requirement is legitimate, and before determining the service type identification code corresponding to the user requirement according to the predefined service type set, it can be further judged whether the user requirement is a valid requirement.
  • the above-mentioned operation of determining the service type identification code corresponding to the user requirement according to the predefined service type set is performed.
  • a pre-defined business type may be defined as a valid business type or an invalid business type;
  • the current user requirement is considered to be an invalid requirement, otherwise, it is an effective requirement.
  • the above-mentioned operation of validity detection can be regarded as implemented by another functional module inside the orchestrator, for example, the module that performs validity detection is called a requirement analysis module.
  • the function of finally determining the service type identifier corresponding to the user requirement according to the predefined service type set can also be regarded as being implemented by another functional module inside the orchestrator, such as a service type module.
  • the internal demand input module will first check the validity, and when it is legal, the internal demand analysis module will conduct validity analysis, and when it is valid, the internal business type model will be used. According to the predefined service type set, the service type identification code corresponding to the user requirement is determined.
  • Step 202 Obtain the identifier of the orchestrator and the identifier of the controller of the controller.
  • Step 203 Generate a first communication protocol for communicating with the controller according to the orchestrator identification code, the controller identification code, and the service type identification code.
  • Step 204 Based on the first communication protocol, issue a configuration command to the controller for the controller to control the to-be-configured network element device to obtain configuration information from the configuration information management center to perform version configuration.
  • the version configuration method provided in this embodiment uses an orchestrator to convert user requirements into corresponding service type identifiers according to a pre-defined service type set, and then identifies the orchestrator's own scheduler identifier according to the identifier. , and the controller identification code that identifies the controller and the identified service type identification code, generates a first communication protocol that communicates with the controller, and issues a configuration command to the controller based on the generated first communication protocol, so that the control After receiving the configuration command issued by the orchestrator, the controller can control the network element device to be configured to independently obtain the corresponding configuration information from the configuration information management center to perform version configuration.
  • the orchestrator, controller, configuration information management center and to-be-configured network element device mentioned in this embodiment are respectively different from the orchestrator, controller, configuration information management center and to-be-configured network element device involved in the first embodiment.
  • the configuration corresponds to the network element equipment, that is, this embodiment can be implemented in cooperation with the first embodiment. Therefore, the related technical details mentioned in the first embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition. Correspondingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment.
  • the third embodiment of the present application relates to a version configuration method, which is applied to a controller in a version configuration system, where the version configuration system further includes an orchestrator, a configuration information management center, and a network element device to be configured.
  • the configuration information management center is essentially a database that stores configuration information of various network element devices to be configured, such as system version configuration information, function version configuration information, and patch version configuration information.
  • the network element device to be configured may be a router, a switch, or a transmission node involved in an optical transport network (OTN).
  • OTN optical transport network
  • Step 301 Receive a configuration command issued by the orchestrator through a first communication protocol, where the first communication protocol carries a service type identification code corresponding to a user requirement.
  • Step 302 Extract the service type identification code from the first communication protocol, and determine the version identification code of the configuration information required for version configuration of the network element device to be configured according to the service type identification code.
  • Step 303 Obtain the controller identification code and the configuration information management center identification code of the configuration information management center.
  • Step 304 Generate a second communication protocol for communicating with the configuration information management center according to the controller identification code, the configuration information management center identification code, and the version identification code.
  • Step 305 based on the second communication protocol, issue a configuration information search command to the configuration information management center for the configuration information management center to determine whether configuration information matching the version identifier is stored.
  • Step 306 Receive the search result fed back by the configuration management center through the second communication protocol.
  • Step 307 Determine whether the search result is that the configuration information management center stores configuration information matching the version identification code.
  • step 308 if the search result is that the configuration information management center stores configuration information matching the version identification code, step 308 is performed; otherwise, step 311 is performed.
  • Step 308 Obtain the network element identification code of the to-be-configured network element device.
  • Step 309 Generate a third communication protocol for communicating with the to-be-configured network element device according to the controller identification code, the network element identification code, and the version identification code.
  • Step 310 Based on the third communication protocol, issue a configuration command to the to-be-configured network element device for the to-be-configured network element device to obtain the configuration information corresponding to the version identification code from the configuration information management center. version configuration.
  • Step 311 based on the first communication protocol, make a configuration failure response to the orchestrator.
  • the controller sends a configuration information adaptation request to the configuration information management center according to the service request sent by the orchestrator, and then when there is matching configuration information in the configuration information management center, It sends a configuration command to the router to be configured, and when there is no matching configuration information in the configuration information management center, it notifies the orchestrator that the configuration request of this version fails. Because in the entire version configuration process, only the interaction between the orchestrator, the controller, the configuration information management center and the network element to be configured can accurately locate the configuration information required for the version configuration, without manual intervention at all, so that both In order to improve the configuration efficiency, it can avoid human errors caused by manual intervention.
  • the configuration information required for version configuration of the network element device to be configured is separately stored in the configuration information management center, that is, the configuration information corresponding to different versions does not need to be pre-stored in each version.
  • the configuration information management center In the network element device to be configured, only one copy of the configuration information of the same version needs to be stored in the configuration information management center, which can not only reduce the manpower to deploy different versions of the configuration information in each network element device to be configured in advance, but also It can facilitate the later operation and maintenance personnel to update and maintain the configuration information of each version.
  • the version configuration of the network element device to be configured is free from the limitation of the local storage space of the network element device to be configured, so that more versions of the configuration of the network element device to be configured can be realized. , so as to better meet the needs of various users.
  • the module in the controller responsible for interacting with the orchestrator can be called
  • For the service type input module when monitoring the arrival of the configuration command issued by the orchestrator through the first communication protocol, it can firstly check the validity of the service type corresponding to the service type identification code carried in the first communication protocol.
  • the service type is legal through the inspection, it is actually received for subsequent processing, that is, only the legal service type will be received by the controller; otherwise, it is directly rejected.
  • the configuration information management center identification code and the version identification code further Determine whether the business type is valid.
  • the judgment of the validity of the service type can also be judged according to the preset logical analysis rules.
  • the above-mentioned generation of the second information that communicates with the configuration information management center according to the controller identification code, the configuration information management center identification code and the version identification code is performed.
  • the operation of the communication protocol is performed.
  • the judgment of the legality and validity of the execution of the controller is similar to the judgment of the validity and validity of the execution of the orchestrator, and will not be repeated here.
  • the controller after receiving the configuration command issued by the scheduler based on the first communication protocol, the controller locally firstly judges the legality and validity of the service type corresponding to the service type identification code carried in the first communication protocol, so that The version configuration process is more reasonable.
  • the orchestrator, controller, configuration information management center and to-be-configured network element device mentioned in this embodiment are respectively different from the orchestrator, controller, configuration information management center and to-be-configured network element device involved in the first embodiment.
  • the configuration corresponds to the network element equipment, that is, this embodiment can be implemented in cooperation with the first embodiment. Therefore, the related technical details mentioned in the first embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition. Correspondingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment.
  • the fourth embodiment of the present application relates to a version configuration method.
  • Step 401 Receive a configuration information search command issued by the controller through a second communication protocol, where the second communication protocol carries a version identification code of configuration information required for version configuration of the to-be-configured network element device.
  • Step 402 Extract the version identification code from the second communication protocol, traverse the locally stored configuration information according to the version identification code, and generate a search result according to the traversal result.
  • Step 403 based on the second communication protocol, feed back the search result to the controller, so that the controller can respond to the orchestrator for configuration failure, or control the to-be-configured network element device from the The configuration information management center obtains configuration information matching the version identification code for version configuration.
  • Step 404 Receive a configuration information acquisition command issued by the to-be-configured network element device through a fourth communication protocol, where the fourth communication protocol carries the version of the configuration information required for version configuration of the to-be-configured network element device Identifier.
  • Step 405 based on the fourth communication protocol, feedback configuration information matching the version identification code to the network element device to be configured, so that the network element device to be configured performs version configuration.
  • the configuration information required for version configuration of the network element device to be configured is separately stored in the configuration information management center, that is, the configuration information corresponding to different versions does not need to be pre-stored in each to-be-configured device.
  • the configuration information management center In configuring network element devices, only one copy of the configuration information of the same version needs to be stored in the configuration information management center, which not only reduces the manpower required to deploy different versions of configuration information on each network element device to be configured in advance, but also facilitates The later operation and maintenance personnel update and maintain the configuration information of each version.
  • the version configuration of the network element device to be configured is free from the limitation of the local storage space of the network element device to be configured, so that more versions of the configuration of the network element device to be configured can be realized. , so as to better meet the needs of various users.
  • the orchestrator, controller, configuration information management center and to-be-configured network element device mentioned in this embodiment are respectively different from the orchestrator, controller, configuration information management center and to-be-configured network element device involved in the first embodiment.
  • the configuration corresponds to the network element equipment, that is, this embodiment can be implemented in cooperation with the first embodiment. Therefore, the related technical details mentioned in the first embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition. Correspondingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment.
  • the fifth embodiment of the present application relates to a version configuration method.
  • Step 501 Receive a configuration command issued by the controller through a third communication protocol, where the third communication protocol carries a version identification code of configuration information required for version configuration.
  • Step 502 Extract the version identification code from the third communication protocol.
  • Step 503 Obtain the configuration information management center identification code of the configuration information management center that stores the configuration information matching the version identification code.
  • Step 504 Generate a fourth communication protocol for communicating with the configuration information management center according to the configuration information management center identification code and the version identification code.
  • Step 505 based on the fourth communication protocol, issue a configuration information acquisition command to the configuration information management center for the configuration information management center to feed back configuration information matching the version identifier based on the fourth communication protocol .
  • Step 506 Receive configuration information that matches the version identifier and is fed back by the configuration information management center through the fourth communication protocol.
  • Step 507 Perform version configuration according to the configuration information.
  • the current version information currently running may be obtained first; then, it is determined whether the current version information is consistent with the version information.
  • the orchestrator in order to enable the orchestrator to know the current version configuration, after the network element device to be configured performs version configuration according to the configuration information, it can feed back the configuration result to the controller based on the third communication protocol, such as successful configuration or configuration failure, and then The controller is caused to inform the orchestrator of the feedback result based on the first communication protocol.
  • the third communication protocol such as successful configuration or configuration failure
  • the network element device to be configured may be a router.
  • a router includes a main control board and several line cards.
  • the configuration information after receiving the configuration information that matches the version identification code fed back by the configuration information management center through the fourth communication protocol, the configuration information will be saved to the main control board;
  • the main control board obtains the line card identification code of each of the line cards, and generates a fifth communication protocol for communicating with the corresponding line card according to the version identification code and each of the line card identification codes, And based on the fifth communication protocol with each of the line cards, the configuration information is delivered to each of the line cards for each of the line cards to perform version configuration according to the configuration information.
  • the version configuration method provided by this embodiment converts user requirements into corresponding service type identification codes according to a predefined service type set by using an orchestrator, and then identifies the Based on the controller identification code of the controller and the determined service type identification code, a first communication protocol for communicating with the controller is generated, and based on the generated first communication protocol, a configuration command is issued to the controller, so that the controller receives a configuration command.
  • the network element device to be configured can be controlled to independently obtain the corresponding configuration information from the configuration information management center to perform version configuration.
  • the configuration information required for version configuration of the network element device to be configured is stored separately in the configuration information management center, that is, the configuration information corresponding to different versions does not need to be pre-stored in each network element device to be configured. Only one copy of the configuration information of different versions needs to be stored in the configuration information management center, which not only reduces the manpower required to deploy different versions of configuration information on each NE to be configured in advance, but also facilitates the later operation and maintenance personnel to compare different versions of the configuration information. The update and maintenance of the configuration information.
  • the version configuration of the network element device to be configured is free from the limitation of the local storage space of the network element device to be configured, so that more versions of the configuration of the network element device to be configured can be realized. , so as to better meet the needs of various users.
  • the orchestrator, controller, configuration information management center and to-be-configured network element device mentioned in this embodiment are respectively different from the orchestrator, controller, configuration information management center and to-be-configured network element device involved in the first embodiment.
  • the configuration corresponds to the network element equipment, that is, this embodiment can be implemented in cooperation with the first embodiment. Therefore, the related technical details mentioned in the first embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition. Correspondingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment.
  • the sixth embodiment of the present application relates to a version configuration apparatus, as shown in FIG. 6 , including: a determination module 601 , an acquisition module 602 , a generation module 603 , and a transmission module 604 .
  • the determining module 601 is configured to receive user requirements, and determine a service type identification code corresponding to the user requirement according to a predefined service type set, where the service type set includes the corresponding relationship between each user requirement and each service type identification code
  • Obtaining module 602 is used to obtain the sequencer identification code and the controller identification code of the controller
  • Generation module 603 is used to obtain the sequencer identification code, the controller identification code and the service type identification code according to the sequencer identification code , generating a first communication protocol for communicating with the controller
  • the sending module 604 is configured to, based on the first communication protocol, issue a configuration command to the controller for the controller to control the network to be configured
  • the meta-device obtains configuration information from the configuration information management center to perform version configuration.
  • the version configuration apparatus further includes a requirement input module.
  • the requirement input module is configured to check the validity of the user requirement submitted by the user before the determination module 601 performs the above operation.
  • the trigger determination module 601 is executed to perform the above operation; otherwise, the user requirement is rejected.
  • the version configuration apparatus further includes a requirement analysis module.
  • the demand analysis module is used to determine whether the user demand is a valid demand according to a preset logic analysis rule after the demand input module determines that the user demand is valid and before the determination module 601 performs the above operation.
  • the notification determination module 601 performs an operation of determining the service type identification code corresponding to the user requirement according to a predefined service type set.
  • this embodiment is a device embodiment corresponding to the second embodiment, and this embodiment can be implemented in cooperation with the second embodiment.
  • the related technical details mentioned in the second embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition.
  • the related technical details mentioned in this embodiment can also be applied in the second embodiment.
  • the seventh embodiment of the present application relates to a version configuration apparatus, as shown in FIG. 7 , including: a receiving module 701 , a determining module 702 , an obtaining module 703 , a generating module 704 and a sending module 705 .
  • the receiving module 701 is configured to receive a configuration command issued by the orchestrator through a first communication protocol, and the first communication protocol carries the service type identification code corresponding to the user's requirement; the determining module 702 is configured to obtain a configuration command from the The service type identification code is extracted from the first communication protocol, and the version identification code of the configuration information required for version configuration of the network element device to be configured is determined according to the service type identification code; the obtaining module 703 is used for obtaining The controller identification code and the configuration information management center identification code of the configuration information management center; the generating module 704 is configured to generate and match the controller identification code, the configuration information management center identification code and the version identification code according to the The second communication protocol for the configuration information management center to communicate; the sending module 705 is configured to issue a configuration information search command to the configuration information management center based on the second communication protocol, for the configuration information management center to determine Whether configuration information matching the version identifier is stored.
  • the receiving module 701 is further configured to receive the search result fed back by the configuration management center through the second communication protocol.
  • the search result is that the configuration information management center does not store the configuration information matching the version identifier, then based on the first communication protocol, a response of configuration failure is made to the orchestrator; If the search result is that the configuration information management center stores configuration information that matches the version identification code, the acquisition module 703 is notified to obtain the network element identification code of the to-be-configured network element device; the generation module 704 is further configured to The controller identification code, the network element identification code and the version identification code are used to generate a third communication protocol for communicating with the to-be-configured network element device; the sending module 705 is further configured to, based on the third communication protocol, A configuration command is issued to the to-be-configured network element device, so that the to-be-configured network element device obtains configuration information corresponding to the version identification code from the configuration information management center to perform version configuration.
  • the version configuration apparatus further includes a service type input module.
  • the service type input module is configured to perform constraint checking on the validity of the service type corresponding to the service type identification code carried in the first communication protocol.
  • the receiving module 701 is triggered to perform the operation of receiving the configuration command issued by the orchestrator through the first communication protocol; otherwise, the receiving module 701 is triggered to perform the operation based on the first communication protocol. , and make a response operation that the service type is illegal to the orchestrator.
  • the version configuration apparatus further includes a service type analysis module.
  • the service type analysis module is configured to judge whether the service type is a valid service type according to a preset logic analysis rule.
  • the trigger generation module 704 executes the process of generating the configuration information corresponding to the configuration information according to the controller identification code, the configuration information management center identification code and the version identification code.
  • the management center communicates the operation of the second communication protocol.
  • this embodiment is a device embodiment corresponding to the third embodiment, and this embodiment can be implemented in cooperation with the third embodiment.
  • the related technical details mentioned in the third embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition.
  • the relevant technical details mentioned in this embodiment can also be applied in the third embodiment.
  • the eighth embodiment of the present application relates to a version configuration apparatus, as shown in FIG. 8 , including: a receiving module 801 , a searching module 802 and a sending module 803 .
  • the receiving module 801 is configured to receive a configuration information search command issued by the controller through a second communication protocol, where the second communication protocol carries configuration information required for version configuration of the network element device to be configured
  • the version identification code carries configuration information required for version configuration of the network element device to be configured
  • the search module 802 is used to extract the version identification code from the second communication protocol, and traverse the locally stored configuration information according to the version identification code; If the configuration information matching the version identification code is stored in the configuration information management center as a search result; if no configuration information matching the version identification code is found, the configuration information matching the version identification code is not found.
  • the information management center does not store the configuration information matching the version identification code as the search result; the sending module 803 is configured to feed back the search result to the controller based on the second communication protocol for the control
  • the controller makes a configuration failure response to the orchestrator, or controls the to-be-configured network element device to obtain configuration information matching the version identifier from the configuration information management center to perform version configuration.
  • the receiving module 801 is further configured to receive a configuration information acquisition command issued by the to-be-configured network element device through a fourth communication protocol, where the fourth communication protocol carries information about the to-be-configured network element device.
  • the version identification code of the configuration information required by the element device to perform version configuration is further configured to feed back the configuration information matching the version identification code to the network element device to be configured based on the fourth communication protocol, The version configuration is performed on the network element device to be configured.
  • this embodiment is a device embodiment corresponding to the fourth embodiment, and this embodiment can be implemented in cooperation with the fourth embodiment.
  • the related technical details mentioned in the fourth embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition.
  • the related technical details mentioned in this embodiment can also be applied in the fourth embodiment.
  • the ninth embodiment of the present application relates to a version configuration apparatus, as shown in FIG.
  • the receiving module 901 is configured to receive a configuration command issued by the controller through a third communication protocol, where the third communication protocol carries the version identification code of the configuration information required for version configuration; the extracting module 902 is configured to use to extract the version identification code from the third communication protocol; an acquisition module 903 is used to obtain the configuration information management center identification code of the configuration information management center that stores the configuration information matching the version identification code; The generating module 904 is used for generating the fourth communication protocol for communicating with the configuration information management center according to the configuration information management center identification code and the version identification code; the sending module 905 is used for based on the fourth communication protocol, and issue a configuration information acquisition command to the configuration information management center for the configuration information management center to feed back configuration information matching the version identification code based on the fourth communication protocol; the receiving module 901 is further configured to receive The configuration information matching the version identification code fed back by the configuration information management center through the fourth communication protocol; the configuration module 906 is configured to perform version configuration according to the configuration information.
  • the receiving module 901 is further configured to feed back a configuration result to the controller based on the third communication protocol, for example, the configuration succeeds or the configuration fails.
  • the version configuration apparatus further includes a configuration information detection module.
  • the obtaining module 903 is configured to obtain the current version information currently running.
  • a configuration information detection module configured to determine whether the current version information is consistent with the version information.
  • the triggering configuration module 906 is executed to perform the operation of performing version configuration according to the configuration information; otherwise, the triggering receiving module 901 is executed based on the third communication protocol, to the controller that no version configuration is required. feedback action.
  • the network element device to be configured is a router, and the router includes a main control board and several line cards.
  • the receiving module 901 after receiving the configuration information that matches the version identification code fed back by the configuration information management center through the fourth communication protocol, the receiving module 901 also executes saving the configuration information to the main control board. operation.
  • the configuration module 906 performs version configuration according to the configuration information, it is specifically:
  • the main control board obtains the line card identification code of each of the line cards
  • the main control board generates a fifth communication protocol for communicating with the corresponding line card according to the version identification code and each of the line card identification codes;
  • the main control board issues the configuration information to each of the line cards based on the fifth communication protocol with each of the line cards, for each of the line cards to perform operations according to the configuration information. version configuration.
  • this embodiment is a device embodiment corresponding to the fifth embodiment, and this embodiment can be implemented in cooperation with the fifth embodiment.
  • the relevant technical details mentioned in the fifth embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition.
  • the related technical details mentioned in this embodiment can also be applied to the fifth embodiment.
  • a logical unit may be a physical unit, a part of a physical unit, or multiple physical units.
  • a composite implementation of the unit in order to highlight the innovative part of the present application, this embodiment does not introduce units that are not closely related to solving the technical problem raised by the present application, but this does not mean that there are no other units in this embodiment.
  • the tenth embodiment of the present application relates to a version configuration device, as shown in FIG. 10 , comprising: at least one processor 1001 ; and a memory 1002 communicatively connected to the at least one processor 1001 ; wherein the memory 1002 stores a Instructions executed by the at least one processor 1001, the instructions are executed by the at least one processor 1001, so that the at least one processor 1001 can execute the version configuration method described in the above method embodiments.
  • the version configuration device mentioned in this embodiment may be any one of an orchestrator, a controller, a configuration information management center, and a network element device to be configured.
  • the processor 1001 in the above-mentioned version configuration device can execute the version configuration method described in the above method embodiment, specifically:
  • the internal processor 1001 executes the version configuration method applied to the orchestrator, that is, the version configuration method described in the second embodiment above.
  • the internal processor 1001 executes the version configuration method applied to the controller, that is, the version configuration method described in the third embodiment above.
  • the internal processor 1001 executes the version configuration method applied to the configuration information management center, that is, the version configuration method described in the fourth embodiment.
  • the internal processor 1001 executes the version configuration method applied to the network element device to be configured, that is, the version configuration method described in the fifth embodiment.
  • the memory 1002 and the processor 1001 are connected by a bus, and the bus may include any number of interconnected buses and bridges.
  • the bus connects one or more processors 1001 and various circuits of the memory 1002 connected.
  • the bus may also connect together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein.
  • the bus interface provides the interface between the bus and the transceiver.
  • a transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing a means for communicating with various other devices over a transmission medium.
  • the data processed by the processor 1001 is transmitted on the wireless medium through the antenna, and further, the antenna also receives the data and transmits the data to the processor 1001 .
  • the processor 1001 is responsible for managing the bus and general processing, and may also provide various functions including timing, peripheral interface, voltage regulation, power management, and other control functions. And the memory 1002 may be used to store data used by the processor 1001 when performing operations.
  • the eleventh embodiment of the present application relates to a computer-readable storage medium storing a computer program.
  • the computer program is executed by the processor, the version configuration method described in the above method embodiment is implemented.
  • the version configuration device mentioned in this embodiment may be any one of an orchestrator, a controller, a configuration information management center, and a network element device to be configured.
  • the computer storage medium mentioned in this embodiment refers to a computer-readable storage medium suitable for the above-mentioned four versions of the configuration device.
  • version configuration device is an orchestrator
  • the computer program deployed in the orchestrator is executed by the internal processor, what is specifically implemented is the version configuration method applied to the orchestrator, that is, the version described in the second embodiment above. configuration method.
  • the version configuration device is a controller
  • the computer program deployed in the controller is executed by the internal processor
  • the version configuration method applied to the controller that is, the above third embodiment. Describes the version configuration method.
  • the version configuration device is the configuration information management center
  • the computer program deployed in the configuration information management center is executed by the internal processor
  • the version configuration method applied to the configuration information management center that is, The version configuration method described in the fourth embodiment above.
  • the version configuration device is the to-be-configured network element device
  • the computer program deployed in the to-be-configured network element device is executed by the internal processor
  • the version configuration applied to the to-be-configured network element device is specifically implemented. method, that is, the version configuration method described in the fifth embodiment.
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Stored Programmes (AREA)
  • Communication Control (AREA)

Abstract

Embodiments of the present application relate to the communication field and disclose a version configuration method, an apparatus, a device, a system, and a storage medium. The version configuration method of the present application comprises: converting a user request into a corresponding service type identification code according to a pre-defined service type set by means of utilizing an orchestrator; then generating a first communication protocol to communicate with a controller according to an orchestrator identification code identifying the orchestrator itself, a controller identification code identifying the controller, and a determined service type identification code; and sending a configuration command to the controller on the basis of the generated first communication protocol, thereby allowing the controller, upon receiving the configuration command sent by the orchestrator, to be able to control a network element device to be configured to autonomously acquire corresponding configuration information from a configuration information management center and perform version configuration.

Description

版本配置方法、装置、设备、系统及存储介质Version configuration method, device, device, system and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为“202110079406.3”、申请日为2021年1月21日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。This application is based on the Chinese patent application with the application number "202110079406.3" and the application date is January 21, 2021, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated by reference. Application.
技术领域technical field
本申请实施例涉及通信领域,特别涉及一种版本配置方法、装置、设备、系统及存储介质。The embodiments of the present application relate to the field of communications, and in particular, to a version configuration method, apparatus, device, system, and storage medium.
背景技术Background technique
随着5G的广泛应用,对承载网提出越来越高的要求。除了大带宽、大连接、低时延的要求,运营商提出了更加精细化、智能化和自动化的要求。为了满足这些要求,就需要承载网中的各种网元设备,如路由器、交换机、光传送网(optical transport network,OTN)中涉及的传输节点等,根据用户需求不断进行版本更新。With the widespread application of 5G, higher and higher requirements are placed on the bearer network. In addition to the requirements for large bandwidth, large connections, and low latency, operators have put forward requirements for more refinement, intelligence, and automation. In order to meet these requirements, various network element devices in the bearer network, such as routers, switches, and transmission nodes involved in the optical transport network (OTN), need to be continuously updated according to user needs.
但是,目前对网元设备进行版本更新时进行的版本配置,由于不同版本的配置信息均是预先存储在网元设备本地的,这就会受本地存储空间的限制,导致无法存储更多版本的配置信息。同时,目前对网元设备进行版本更新时进行的版本配置,需要人工干预,才能从本地存储空间中选择合适的配置信息进行版本配置,严重影响了配置效率。However, the current version configuration when updating the version of the network element device, because the configuration information of different versions is pre-stored locally in the network element device, which is limited by the local storage space, so that more versions cannot be stored. configuration information. Meanwhile, the version configuration currently performed when the version update is performed on the network element device requires manual intervention to select appropriate configuration information from the local storage space for version configuration, which seriously affects the configuration efficiency.
发明内容SUMMARY OF THE INVENTION
本申请的实施例提供了一种版本配置方法,应用于版本配置系统中的编排器,所述版本配置系统还包括控制器、配置信息管理中心和待配置网元设备,所述版本配置方法包括:An embodiment of the present application provides a version configuration method, which is applied to an orchestrator in a version configuration system, where the version configuration system further includes a controller, a configuration information management center, and a network element device to be configured, and the version configuration method includes :
接收用户需求,根据预先定义的业务类型集,确定所述用户需求对应的业务类型识别码,所述业务类型集包括各用户需求和各业务类型识别码的对应关系;receiving user requirements, and determining a service type identification code corresponding to the user requirement according to a predefined service type set, where the service type set includes the corresponding relationship between each user requirement and each service type identification code;
获取编排器识别码和所述控制器的控制器识别码;obtain the identifier of the orchestrator and the identifier of the controller of the controller;
根据所述编排器识别码、所述控制器识别码和所述业务类型识别码,生成与所述控制器进行通信的第一通信协议;generating a first communication protocol for communicating with the controller according to the orchestrator identification code, the controller identification code and the service type identification code;
基于所述第一通信协议,向所述控制器下发配置命令,供所述控制器控制所述待配置网元设备从所述配置信息管理中心中获取配置信息进行版本配置。Based on the first communication protocol, a configuration command is delivered to the controller for the controller to control the to-be-configured network element device to obtain configuration information from the configuration information management center to perform version configuration.
本申请实施例还提供了一种版本配置方法,应用于版本配置系统中的控制器,所述版本配置系统还包括编排器、配置信息管理中心和待配置网元设备,所述版本配置方法包括:Embodiments of the present application further provide a version configuration method, which is applied to a controller in a version configuration system, where the version configuration system further includes an orchestrator, a configuration information management center, and a network element device to be configured, and the version configuration method includes :
接收所述编排器通过第一通信协议下发的配置命令,所述第一通信协议携带有用户需求对应的业务类型识别码;receiving a configuration command issued by the scheduler through a first communication protocol, where the first communication protocol carries a service type identification code corresponding to a user requirement;
从所述第一通信协议中提取所述业务类型识别码,并根据所述业务类型识别码确定对所述待配置网元设备进行版本配置所需的配置信息的版本识别码;Extract the service type identification code from the first communication protocol, and determine the version identification code of the configuration information required for version configuration of the to-be-configured network element device according to the service type identification code;
获取控制器识别码和所述配置信息管理中心的配置信息管理中心识别码;Obtain the controller identification code and the configuration information management center identification code of the configuration information management center;
根据所述控制器识别码、所述配置信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第二通信协议;generating a second communication protocol for communicating with the configuration information management center according to the controller identification code, the configuration information management center identification code and the version identification code;
基于所述第二通信协议,向所述配置信息管理中心下发配置信息搜索命令,供所述配置信息管理中心确定是否存储有与所述版本识别码匹配的配置信息。Based on the second communication protocol, a configuration information search command is issued to the configuration information management center for the configuration information management center to determine whether configuration information matching the version identifier is stored.
本申请实施例还提供了一种版本配置方法,应用于版本配置系统中的配置信息管理中心,所述版本配置系统还包括编排器、控制器和待配置网元设备,所述版本配置方法包括:An embodiment of the present application further provides a version configuration method, which is applied to a configuration information management center in a version configuration system, where the version configuration system further includes an orchestrator, a controller, and a network element device to be configured, and the version configuration method includes :
接收所述控制器通过第二通信协议下发的配置信息搜索命令,所述第二通信协议携带有对所述待配置网元设备进行版本配置所需的配置信息的版本识别码;receiving a configuration information search command issued by the controller through a second communication protocol, where the second communication protocol carries a version identification code of configuration information required for version configuration of the to-be-configured network element device;
从所述第二通信协议中提取所述版本识别码,并根据所述版本识别码对本地存储的配置信息进行遍历;Extract the version identification code from the second communication protocol, and traverse the locally stored configuration information according to the version identification code;
若遍历到与所述版本识别码匹配的配置信息,则将所述配置信息管理中心存储有与所述版本识别码匹配的配置信息作为搜索结果;If the configuration information matching the version identification code is traversed, the configuration information management center stores the configuration information matching the version identification code as a search result;
若未遍历到与所述版本识别码匹配的配置信息,则将所述配置信息管理中心未存储与所述版本识别码匹配的配置信息作为所述搜索结果;If the configuration information matching the version identification code is not traversed, the configuration information management center that does not store the configuration information matching the version identification code is used as the search result;
基于所述第二通信协议,向所述控制器反馈所述搜索结果,供所述控制器向所述编排器作出配置失败的响应,或控制所述待配置网元设备从所述配置信息管理中心中获取与所述版本识别码匹配的配置信息进行版本配置。Based on the second communication protocol, the search result is fed back to the controller, so that the controller can respond to the orchestrator for a configuration failure, or control the to-be-configured network element device to manage from the configuration information The configuration information matching the version identification code is obtained in the center for version configuration.
本申请实施例还提供了一种版本配置方法,应用于版本配置系统中的待配置网元设备,所述版本配置系统还包括编排器、控制器和配置信息管理中心,所述版本配置方法包括:Embodiments of the present application further provide a version configuration method, which is applied to a network element device to be configured in a version configuration system, where the version configuration system further includes an orchestrator, a controller, and a configuration information management center, and the version configuration method includes :
接收所述控制器通过第三通信协议下发的配置命令,所述第三通信协议携带有进行版本配置所需的配置信息的版本识别码;receiving a configuration command issued by the controller through a third communication protocol, where the third communication protocol carries a version identification code of configuration information required for version configuration;
从所述第三通信协议中提取所述版本识别码;extracting the version identifier from the third communication protocol;
获取存储有与所述版本识别码匹配的配置信息的所述配置信息管理中心的配置信息管理中心识别码;Obtain the configuration information management center identification code of the configuration information management center that stores the configuration information matching the version identification code;
根据所述配置信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第四通信协议;generating a fourth communication protocol for communicating with the configuration information management center according to the configuration information management center identification code and the version identification code;
基于所述第四通信协议,向所述配置信息管理中心下发配置信息获取命令,供所述配置信息管理中心基于所述第四通信协议反馈与所述版本识别码匹配的配置信息;Based on the fourth communication protocol, issue a configuration information acquisition command to the configuration information management center for the configuration information management center to feed back configuration information matching the version identifier based on the fourth communication protocol;
接收所述配置信息管理中心通过所述第四通信协议反馈的与所述版本识别码匹配的配置信息;receiving the configuration information that matches the version identification code fed back by the configuration information management center through the fourth communication protocol;
根据所述配置信息进行版本配置。The version configuration is performed according to the configuration information.
本申请实施例还提供了一种版本配置装置,包括:The embodiment of the present application also provides a version configuration device, including:
确定模块,用于接收用户需求,根据预先定义的业务类型集,确定所述用户需求对应的业务类型识别码,所述业务类型集包括各用户需求和各业务类型识别码的对应关系;a determining module, configured to receive user requirements, and determine a service type identification code corresponding to the user requirement according to a predefined service type set, where the service type set includes the corresponding relationship between each user requirement and each service type identification code;
获取模块,用于获取编排器识别码和所述控制器的控制器识别码;an acquisition module, used to acquire the identifier of the scheduler and the identifier of the controller of the controller;
生成模块,用于根据所述编排器识别码、所述控制器识别码和所述业务类型识别码,生成与所述控制器进行通信的第一通信协议;a generating module, configured to generate a first communication protocol for communicating with the controller according to the sequencer identification code, the controller identification code and the service type identification code;
发送模块,用于基于所述第一通信协议,向所述控制器下发配置命令,供所述控制器控 制所述待配置网元设备从所述配置信息管理中心中获取配置信息进行版本配置。A sending module, configured to issue a configuration command to the controller based on the first communication protocol, for the controller to control the to-be-configured network element device to obtain configuration information from the configuration information management center for version configuration .
本申请实施例还提供了一种版本配置装置,包括:The embodiment of the present application also provides a version configuration device, including:
接收模块,用于接收所述编排器通过第一通信协议下发的配置命令,所述第一通信协议携带有用户需求对应的业务类型识别码;a receiving module, configured to receive a configuration command issued by the scheduler through a first communication protocol, where the first communication protocol carries a service type identification code corresponding to a user requirement;
确定模块,用于从所述第一通信协议中提取所述业务类型识别码,并根据所述业务类型识别码确定对所述待配置网元设备进行版本配置所需的配置信息的版本识别码;a determining module, configured to extract the service type identification code from the first communication protocol, and determine the version identification code of the configuration information required for version configuration of the network element device to be configured according to the service type identification code ;
获取模块,用于获取控制器识别码和所述配置信息管理中心的配置信息管理中心识别码;an acquisition module for acquiring the controller identification code and the configuration information management center identification code of the configuration information management center;
生成模块,用于根据所述控制器识别码、所述配置信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第二通信协议;a generating module, configured to generate a second communication protocol for communicating with the configuration information management center according to the controller identification code, the configuration information management center identification code and the version identification code;
发送模块,用于基于所述第二通信协议,向所述配置信息管理中心下发配置信息搜索命令,供所述配置信息管理中心确定是否存储有与所述版本识别码匹配的配置信息。A sending module, configured to issue a configuration information search command to the configuration information management center based on the second communication protocol, so that the configuration information management center determines whether configuration information matching the version identification code is stored.
本申请实施例还提供了一种版本配置装置,包括:The embodiment of the present application also provides a version configuration device, including:
接收模块,用于接收所述控制器通过第二通信协议下发的配置信息搜索命令,所述第二通信协议携带有对所述待配置网元设备进行版本配置所需的配置信息的版本识别码;A receiving module, configured to receive a configuration information search command issued by the controller through a second communication protocol, where the second communication protocol carries a version identification of the configuration information required for version configuration of the to-be-configured network element device code;
搜索模块,用于从所述第二通信协议中提取所述版本识别码,并根据所述版本识别码对本地存储的配置信息进行遍历;若遍历到与所述版本识别码匹配的配置信息,则将所述配置信息管理中心存储有与所述版本识别码匹配的配置信息作为搜索结果;若未遍历到与所述版本识别码匹配的配置信息,则将所述配置信息管理中心未存储与所述版本识别码匹配的配置信息作为所述搜索结果;A search module, configured to extract the version identification code from the second communication protocol, and traverse the locally stored configuration information according to the version identification code; if the configuration information matching the version identification code is traversed, Then the configuration information management center stores the configuration information matching the version identification code as the search result; if the configuration information matching the version identification code is not traversed, the configuration information management center does not store the configuration information matching the version identification code. The configuration information matched by the version identifier is used as the search result;
发送模块,用于基于所述第二通信协议,向所述控制器反馈所述搜索结果,供所述控制器向所述编排器作出配置失败的响应,或控制所述待配置网元设备从所述配置信息管理中心中获取与所述版本识别码匹配的配置信息进行版本配置。A sending module, configured to feed back the search result to the controller based on the second communication protocol, so that the controller can respond to the orchestrator for configuration failure, or control the to-be-configured network element device from The configuration information management center obtains configuration information matching the version identification code to perform version configuration.
本申请实施例还提供了一种版本配置装置,包括:The embodiment of the present application also provides a version configuration device, including:
接收模块,用于接收所述控制器通过第三通信协议下发的配置命令,所述第三通信协议携带有进行版本配置所需的配置信息的版本识别码;a receiving module, configured to receive a configuration command issued by the controller through a third communication protocol, where the third communication protocol carries a version identification code of configuration information required for version configuration;
提取模块,用于从所述第三通信协议中提取所述版本识别码;an extraction module for extracting the version identification code from the third communication protocol;
获取模块,用于获取存储有与所述版本识别码匹配的配置信息的所述配置信息管理中心的配置信息管理中心识别码;an acquisition module for acquiring the configuration information management center identification code of the configuration information management center that stores the configuration information matching the version identification code;
生成模块,用于根据所述配置信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第四通信协议;a generating module for generating a fourth communication protocol for communicating with the configuration information management center according to the configuration information management center identification code and the version identification code;
发送模块,用于基于所述第四通信协议,向所述配置信息管理中心下发配置信息获取命令,供所述配置信息管理中心基于所述第四通信协议反馈与所述版本识别码匹配的配置信息;A sending module, configured to issue a configuration information acquisition command to the configuration information management center based on the fourth communication protocol, for the configuration information management center to feed back a configuration information matching the version identification code based on the fourth communication protocol. configuration information;
接收模块,还用于接收所述配置信息管理中心通过所述第四通信协议反馈的与所述版本识别码匹配的配置信息;a receiving module, further configured to receive the configuration information that matches the version identification code fed back by the configuration information management center through the fourth communication protocol;
配置模块,用于根据所述配置信息进行版本配置。A configuration module, configured to perform version configuration according to the configuration information.
本申请实施例还提供了一种版本配置设备,包括:The embodiment of the present application also provides a version configuration device, including:
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上所述的应用于编排器的版本配置方法,或者 应用于控制器的版本配置方法,或者应用于配置管理中心的配置管理方法,或者应用于待配置网元设备的版本配置方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to execute a version configuration as described above as applied to the orchestrator The method, or the version configuration method applied to the controller, or the configuration management method applied to the configuration management center, or the version configuration method applied to the network element device to be configured.
本申请实施例还提供了一种版本配置系统,包括:编排器、控制器、配置信息管理中心和待配置网元设备;The embodiment of the present application also provides a version configuration system, including: an orchestrator, a controller, a configuration information management center, and a network element device to be configured;
所述编排器,用于执行如上所述的应用于编排器的版本配置方法;the orchestrator, configured to execute the above-mentioned version configuration method applied to the orchestrator;
所述控制器,用于执行如上所述的应用于控制器的版本配置方法;the controller, configured to execute the above-mentioned version configuration method applied to the controller;
所述配置信息管理中心,用于执行如上所述的应用于配置信息管理中心的版本配置方法;The configuration information management center is used to execute the above-mentioned version configuration method applied to the configuration information management center;
所述待配置网元设备,用于执行如上所述的应用于待配置网元设备的版本配置方法。The to-be-configured network element device is configured to execute the above-mentioned version configuration method applied to the to-be-configured network element device.
本申请实施例还提供了一种计算机可读存储介质,存储有计算机程序。所述计算机程序被处理器执行时实现上述所述的应用于编排器的版本配置方法,或者应用于控制器的版本配置方法,或者应用于配置管理中心的配置管理方法,或者应用于待配置网元设备的版本配置方法。Embodiments of the present application further provide a computer-readable storage medium storing a computer program. When the computer program is executed by the processor, the above-mentioned version configuration method applied to the orchestrator is implemented, or the version configuration method applied to the controller, or the configuration management method applied to the configuration management center, or applied to the network to be configured. Metadevice version configuration method.
附图说明Description of drawings
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定。One or more embodiments are exemplified by the pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments.
图1是本申请第一实施例提供的版本配置系统的结构示意图;1 is a schematic structural diagram of a version configuration system provided by a first embodiment of the present application;
图2是本申请第二实施例提供的应用于编排器的版本配置方法的流程图;2 is a flowchart of a version configuration method applied to an orchestrator provided by a second embodiment of the present application;
图3是本申请第三实施例提供的应用于控制器的版本配置方法的流程图;3 is a flowchart of a version configuration method applied to a controller provided by a third embodiment of the present application;
图4是本申请第四实施例提供的应用于配置信息管理中心的版本配置方法的流程图;4 is a flowchart of a version configuration method applied to a configuration information management center provided by the fourth embodiment of the present application;
图5是本申请第五实施例提供的应用于待配置网元设备的版本配置方法的流程图;5 is a flowchart of a version configuration method applied to a to-be-configured network element device provided by a fifth embodiment of the present application;
图6是本申请第六实施例提供的部署于编排器中的版本配置装置的结构示意图;FIG. 6 is a schematic structural diagram of a version configuration device deployed in an orchestrator according to a sixth embodiment of the present application;
图7是本申请第七实施例提供的部署于控制器中的版本配置装置的结构示意图;7 is a schematic structural diagram of a version configuration device deployed in a controller provided by a seventh embodiment of the present application;
图8是本申请第八实施例提供的部署于配置信息管理中心的版本配置装置的结构示意图;8 is a schematic structural diagram of a version configuration device deployed in a configuration information management center provided by an eighth embodiment of the present application;
图9是本申请第九实施例提供的部署于待配置网元设备的版本配置装置的结构示意图;9 is a schematic structural diagram of a version configuration apparatus deployed on a network element device to be configured provided by the ninth embodiment of the present application;
图10是本申请第十实施例提供的版本配置设备的结构示意图。FIG. 10 is a schematic structural diagram of a version configuration device provided by a tenth embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请的各实施例进行详细的阐述。然而,本领域的普通技术人员可以理解,在本申请各实施例中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施例的种种变化和修改,也可以实现本申请所要求保护的技术方案。以下各个实施例的划分是为了描述方便,不应对本申请的具体实现方式构成任何限定,各个实施例在不矛盾的前提下可以相互结合相互引用。In order to make the objectives, technical solutions and advantages of the embodiments of the present application more clear, each embodiment of the present application will be described in detail below with reference to the accompanying drawings. However, those of ordinary skill in the art can understand that, in each embodiment of the present application, many technical details are provided for the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in the present application can be realized. The following divisions of the various embodiments are for the convenience of description, and should not constitute any limitation on the specific implementation of the present application, and the various embodiments may be combined with each other and referred to each other on the premise of not contradicting each other.
本申请提出的版本配置方法、装置、设备、系统及存储介质,通过利用编排器将用户需求按照预先定义的业务类型集转换为对应的业务类型识别码,进而根据标识编排器自身的编排器识别码,以及标识控制器的控制器识别码和确定的业务类型识别码,生成与控制器进行通信的第一通信协议,并基于生成的第一通信协议,向控制器下发配置命令,从而使得控制 器在接收到编排器下发的配置命令后,能够控制待配置网元设备自主从配置信息管理中心获取相应的配置信息进行版本配置。由于整个版本配置流程中,仅需编排器、控制器、配置信息管理中心和待配置网元设备进行交互,便可以准确的定位版本配置需要用到的配置信息,根本无需人工干预,从而既做到了提升配置效率,又可以避免因为人工介入造成的人为误差。The version configuration method, device, device, system and storage medium proposed in the present application convert user requirements into corresponding service type identification codes according to a predefined set of service types by using an orchestrator, and then identify codes according to the orchestrator's own orchestrator. code, as well as the controller identification code that identifies the controller and the identified service type identification code, generate a first communication protocol for communicating with the controller, and issue a configuration command to the controller based on the generated first communication protocol, so that After receiving the configuration command issued by the orchestrator, the controller can control the network element device to be configured to independently obtain the corresponding configuration information from the configuration information management center to perform version configuration. Because in the entire version configuration process, only the interaction between the orchestrator, the controller, the configuration information management center and the network element to be configured can accurately locate the configuration information required for the version configuration, without manual intervention at all, so that both In order to improve the configuration efficiency, it can avoid human errors caused by manual intervention.
除此之外,由于本申请提供的版本配置方案中,对待配置网元设备进行版本配置时所需的配置信息是单独存放在配置信息管理中心的,即不同版本对应的配置信息无需预先存储在每一待配置网元设备中,相同的版本的配置信息只需在配置信息管理中心存储一份即可,从而既可以减少预先在每一待配置网元设备部署不同版本的配置信息的人力,又可以方便后期运维人员对个版本的配置信息的更新维护。同时,通过将配置信息单独存放在配置信息管理中心,也使得对待配置网元设备的版本配置摆脱了待配置网元设备本地存储空间的限制,从而可以对待配置网元设备实现更多版本的配置,进而更好的满足各种用户需求。In addition, because in the version configuration solution provided in this application, the configuration information required for version configuration of the network element device to be configured is separately stored in the configuration information management center, that is, the configuration information corresponding to different versions does not need to be pre-stored in the configuration information management center. In each network element device to be configured, only one copy of the configuration information of the same version needs to be stored in the configuration information management center, thereby reducing the manpower to deploy different versions of the configuration information in each network element device to be configured in advance. It can also facilitate the later operation and maintenance personnel to update and maintain the configuration information of each version. At the same time, by storing the configuration information separately in the configuration information management center, the version configuration of the network element device to be configured is free from the limitation of the local storage space of the network element device to be configured, so that more versions of the configuration of the network element device to be configured can be realized. , so as to better meet the needs of various users.
本申请的第一实施例涉及一种版本配置系统,包括:编排器、控制器、配置信息管理中心和待配置网元设备。The first embodiment of the present application relates to a version configuration system, including an orchestrator, a controller, a configuration information management center, and a network element device to be configured.
其中,编排器主要用于将用户需求转换为控制器可以识别的业务需求,在本实施例中具体为标识业务类型唯一性的业务类型识别码,并基于标识编排器唯一性的编排器识别码、标识控制器唯一性的控制器识别码,以及转换得到的业务类型识别码生成与控制器进行通信的第一通信协议,然后基于生成的第一通信协议向控制器下发配置命令。Among them, the orchestrator is mainly used to convert user requirements into service requirements that can be identified by the controller. In this embodiment, it is specifically a service type identification code that identifies the uniqueness of the service type, and is based on the orchestrator identification code that identifies the uniqueness of the orchestrator. , a controller identification code that identifies the uniqueness of the controller, and the converted service type identification code to generate a first communication protocol for communicating with the controller, and then issue a configuration command to the controller based on the generated first communication protocol.
控制器主要用于基于与编排器之间的第一通信协议中携带的业务类型标识码、自身的控制器标识码,以及获取到的配置信息管理中心的识别码生成与配置信息管理中心进行通信的第二通信协议,进而基于第二通信协议与配置信息管理中心进行通信。The controller is mainly used to generate and communicate with the configuration information management center based on the service type identification code carried in the first communication protocol with the scheduler, its own controller identification code, and the obtained identification code of the configuration information management center the second communication protocol, and then communicate with the configuration information management center based on the second communication protocol.
本实施例中,控制器还会基于配置信息管理中心通过第二通信协议反馈的搜索结果,确定是基于第一通信协议告知编排器本次配置失败,还是基于控制器识别码、待配置网元设备的网元识别码和基于业务类型识别码确定的版本识别码生成与待配置网元设备进行通信的第三通信协议,并基于第三通信协议与待配置网元设备进行通信。In this embodiment, the controller also determines, based on the search result fed back by the configuration information management center through the second communication protocol, whether to inform the scheduler that the configuration fails this time based on the first communication protocol, or whether to inform the orchestrator based on the identification code of the controller and the network element to be configured. The device's network element identification code and the version identification code determined based on the service type identification code generate a third communication protocol for communicating with the to-be-configured network element device, and communicate with the to-be-configured network element device based on the third communication protocol.
配置信息管理中心主要用于基于与控制器之间的第二通信协议中携带的版本识别码,对本地存储的配置信息进行遍历,进而确定本地是否存储了与版本识别码匹配的配置信息,并通过第二通信协议将遍历结果告知控制器。The configuration information management center is mainly used to traverse the locally stored configuration information based on the version identification code carried in the second communication protocol with the controller, and then determine whether the configuration information matching the version identification code is stored locally, and The controller is informed of the traversal result via the second communication protocol.
本实施例中,配置信息管理中心还会在接收到待配置网元设备基于第四通信协议下发的配置信息获取命令时,基于第四通信协议中携带的版本识别码定位对应的配置信息,并通过第四通信协议将获取的配置信息反馈给待配置网元设备。In this embodiment, the configuration information management center will further locate the corresponding configuration information based on the version identification code carried in the fourth communication protocol when receiving the configuration information acquisition command issued by the network element device to be configured based on the fourth communication protocol, The obtained configuration information is fed back to the network element device to be configured through the fourth communication protocol.
待配置网元设备主要用于基于与控制器之间的第三通信协议中携带的版本识别码和存储有所述版本识别码对应的配置信息的配置信息管理中心的配置信息管理中心识别码,生成与配置信息管理中心进行通信的第四通信协议,即基于第四通信协议从配置信息管理中心获取所述版本识别码对应的配置信息。The network element device to be configured is mainly used for the configuration information management center identification code based on the version identification code carried in the third communication protocol with the controller and the configuration information management center that stores the configuration information corresponding to the version identification code, A fourth communication protocol for communicating with the configuration information management center is generated, that is, the configuration information corresponding to the version identification code is acquired from the configuration information management center based on the fourth communication protocol.
此外,值得一提的是,在实际应用中,待配置网元设备可以包括多个。In addition, it is worth mentioning that, in practical applications, there may be multiple network element devices to be configured.
相应地,为了便于对处于不同区域、不同集群的待配置网元设备进行版本配置,存储待配置网元设备进行版本配置所需的配置信息的配置信息管理中心也可以有多个。同理,直接与待配置网元设备进行通信的控制器也可以有多个。Correspondingly, in order to facilitate version configuration of network element devices to be configured in different areas and different clusters, there may also be multiple configuration information management centers that store configuration information required for version configuration of network element devices to be configured. Similarly, there may also be multiple controllers that directly communicate with the network element device to be configured.
可理解的,在实际应用中,配置信息管理中心、控制器的个数可以根据待配置网元设备 所处的区域或者集群来确定。Understandably, in practical applications, the number of configuration information management centers and controllers may be determined according to the area or cluster where the network element device to be configured is located.
比如,当前有A、B和C三个待配置网元设备集群,则版本配置系统中可以设置三个控制器和三个配置信息管理中心,即每一个待配置网元设备集群对应一个控制器和一个配置信息管理中心。For example, if there are currently three NE clusters A, B and C to be configured, three controllers and three configuration information management centers can be set in the version configuration system, that is, each NE cluster to be configured corresponds to one controller and a configuration information management center.
还比如,当有A、B和C三个待配置网元设备集群,其中集群A中有50个待配置网元设备,集群B中有100个待配置网元设备,集群C中有10个待配置网元设备,则版本配置系统中可以在三个控制器和三个配置信息管理中心,即每一个待配置网元设备集群对应一个控制器和一个配置信息管理中心,也可以设置两个控制器和两个配置信息管理中心,并设置其中一个控制器和一个配置信息管理中对应集群A和集群C,另一个控制器和配置信息管理中心单独对应集群B。For another example, when there are three clusters of network element devices to be configured, A, B, and C, there are 50 network element devices to be configured in cluster A, 100 network element devices to be configured in cluster B, and 10 network element devices in cluster C. The network element device to be configured, the version configuration system can have three controllers and three configuration information management centers, that is, each network element device cluster to be configured corresponds to one controller and one configuration information management center, or two A controller and two configuration information management centers, and one controller and one configuration information management center correspond to cluster A and cluster C, and the other controller and configuration information management center correspond to cluster B independently.
应当理解的是,上述示例仅是为了更好的理解本实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。在实际应用中,本领域技术人员可以根据需要设置控制器和配置信息管理中心的数量。It should be understood that the above examples are only examples listed for better understanding of the technical solutions of the present embodiment, and are not used as the only limitation on the present embodiment. In practical applications, those skilled in the art can set the number of controllers and configuration information management centers as required.
此外,值得一提的是,为了使本实施例提供的版本配置系统具备容灾性,对应每一待配置网元设备集群或每一区域中的待配置网元设备的编排器、控制器和配置信息管理中心,至少各为两个,即版本配置系统中会存在一个主编排器、一个从编排器,一个主控制器,一个从控制器,一个主配置信息管理中心和一个从配置信息管理中心。同时,基于预设逻辑,在正常情况下仅启动主编排器、主控制器和主配置信息管理中心,在其中任意一个出现异常时,才将出现异常的设备负责的功能切换到对应的从设备,从而保证版本配置系统的正常运行。In addition, it is worth mentioning that, in order to make the version configuration system provided in this embodiment with disaster tolerance, the orchestrator, controller, and controller corresponding to each to-be-configured network element device cluster or each to-be-configured network element device There are at least two configuration information management centers, that is, there will be a master orchestrator, a slave orchestrator, a master controller, a slave controller, a master configuration information management center, and a slave configuration information management center in the version configuration system. center. At the same time, based on the preset logic, only the main orchestrator, the main controller and the main configuration information management center are started under normal circumstances, and when any one of them is abnormal, the function responsible for the abnormal device will be switched to the corresponding slave device. , so as to ensure the normal operation of the version configuration system.
此外,可理解的,在实际应用中,配置信息管理中心实质就是存储各种待配置网元设备的配置信息,如系统版本配置信息、功能版本配置信息、补丁版本配置信息的数据库。In addition, it can be understood that in practical applications, the configuration information management center is essentially a database that stores configuration information of various network element devices to be configured, such as system version configuration information, function version configuration information, and patch version configuration information.
待配置网元设备,可以是路由器、交换机、光传送网(optical transport network,OTN)中涉及的传输节点。The network element device to be configured may be a router, a switch, or a transmission node involved in an optical transport network (OTN).
为了便于理解和说明,本实施例以一个编排器、一个控制器、一个配置信息管理中心和一个待配置网元设备,具体为路由器为例,结合图1,对其所构成的版本配置系统进行版本配置的流程进行具体说明。For ease of understanding and description, this embodiment takes an orchestrator, a controller, a configuration information management center, and a network element device to be configured, specifically a router, as an example, and with reference to FIG. The version configuration process is described in detail.
对于编排器:For the orchestrator:
当用户提交了一个用户需求给编排器,即编排器接收到用户需求时,将用户的原始请求转换成业务请求下发给对应的控制器。When a user submits a user requirement to the orchestrator, that is, when the orchestrator receives the user requirement, it converts the user's original request into a service request and sends it to the corresponding controller.
可理解的,上述所说的原始请求,即为接收到的用户需求。Understandably, the above-mentioned original request is the received user demand.
相应地,将原始请求转换成业务请求下发给对应的控制器,具体为:Accordingly, the original request is converted into a service request and sent to the corresponding controller, specifically:
(1)根据预先定义的业务类型集,确定所述用户需求对应的业务类型识别码。(1) Determine the service type identifier corresponding to the user requirement according to a predefined service type set.
在本实施例中,所述业务类型集包括各种用户需求和各种业务类型识别码的对应关系。In this embodiment, the service type set includes correspondences between various user requirements and various service type identification codes.
可理解的,在实际应用中,预先定义的业务类型集中,除了包括用户需求和业务类型识别码,还可以包括业务类型识别码对应的业务类型,即在实际应用中,编排器通过根据预先的定义的业务类型集对接收到的用户需求进行分析,便可以确定当前用户需求对应的业务类型,进而找到标识当前业务类型的业务类型识别码。It is understandable that in practical applications, the pre-defined service type set includes not only user requirements and service type identification codes, but also the service types corresponding to the service type identification codes. The defined service type set analyzes the received user requirements to determine the service type corresponding to the current user requirement, and then finds the service type identification code identifying the current service type.
关于上述所说的业务类型集,具体形式可以如表1所示:Regarding the above-mentioned business type set, the specific form can be shown in Table 1:
表1业务类型集Table 1 Set of business types
用户需求User needs 业务类型business type 业务类型识别码business type identifier
用户需求1User needs 1 业务类型1 business type 1 123123
用户需求2User needs 2 业务类型2 business type 2 234234
...... ...... ......
此外,值得一提的是,在实际应用中,一个用户需求除了会对应一个业务类型,进而对应一个业务类型识别码,即表1给出的情况,还可能存在一个用户需求对应多个业务类型,进而对应多个业务类型识别码,以及一个用户需求对应一个业务类型识别码,但是对应多个业务类型的情况。In addition, it is worth mentioning that, in practical applications, in addition to a user requirement corresponding to a service type, and then corresponding to a service type identification code, that is, the situation given in Table 1, there may also be a user requirement corresponding to multiple service types. , which in turn corresponds to multiple service type identification codes, and a user requirement corresponds to one service type identification code but corresponds to multiple service types.
比如说,当前路由器上运行的是4G业务对应的版本,当用户需要申请5G业务时,那么这种情况下就会触发版本搜索,当能搜索到版本时就会进行版本更新。这种情况下,用户需求就是5G业务申请,5G业务对应的业务类型识别码可以事先设定好,而这个标识5G业务的业务类型识别码下可能有多个业务类型,可以理解成业务功能,如分段路由(segment routing,SR)、网络遥感技术(Telemetry)、Bier组播、FlexE等。For example, the current router is running the version corresponding to the 4G service. When the user needs to apply for the 5G service, the version search will be triggered in this case, and the version will be updated when the version can be searched. In this case, the user requirement is the 5G service application. The service type identification code corresponding to the 5G service can be set in advance, and the service type identification code that identifies the 5G service may have multiple service types, which can be understood as service functions. Such as segment routing (SR), network remote sensing technology (Telemetry), Bier multicast, FlexE, etc.
还比如,当前路由器上运行的就是5G业务对应的版本,但是用户需求是一个5G新功能,当前路由器还不支持,假设信息配置管理中心有个补丁版本支持该功能,那么就可以通过上述方法加载该补丁版本,此时通过该用户需求就可以查到该5G功能的新业务类型的业务类型识别码。For another example, the current router is running the version corresponding to the 5G service, but the user needs a new 5G function, which is not supported by the current router. Assuming that the information configuration management center has a patch version that supports this function, it can be loaded by the above method. In this patch version, the service type identification code of the new service type of the 5G function can be found through the user requirement.
应当理解的是,上述示例仅是为了更好的理解本实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。It should be understood that the above examples are only examples listed for better understanding of the technical solutions of the present embodiment, and are not used as the only limitation on the present embodiment.
(2)获取编排器识别码和所述控制器的控制器识别码。(2) Obtain the identifier of the scheduler and the controller identifier of the controller.
本实施例中所说的编排器识别码即为能够标识编排器唯一性的标识信息。The organizer identification code mentioned in this embodiment is identification information that can identify the uniqueness of the organizer.
相应地,所述控制器识别码即为能够标识控制器唯一性的标识信息。Correspondingly, the controller identification code is identification information that can identify the uniqueness of the controller.
可理解的,在实际应用中,上述所说的用于标识编排器唯一性的编排器识别码,以及标识控制器唯一性的控制器识别码,可以是技术人员根据预设规则,预先分配的,也可以是编排器和控制器在制备完成出厂时,厂家分配的标识信息,还可以是根据预先编译好的脚本,对每个接入网络的编排器和控制器分配的标识其唯一性的标识信息。Understandably, in practical applications, the above-mentioned sequencer identification code for identifying the uniqueness of the sequencer and the controller identification code for identifying the uniqueness of the controller may be pre-allocated by technicians according to preset rules. , or it can be the identifier information allocated by the manufacturer when the orchestrator and controller are prepared and shipped from the factory, or it can be the unique identifier assigned to each orchestrator and controller of the access network according to the pre-compiled script. identification information.
(3)根据所述编排器识别码、所述控制器识别码和所述业务类型识别码,生成与所述控制器进行通信的第一通信协议。(3) Generating a first communication protocol for communicating with the controller according to the orchestrator identification code, the controller identification code and the service type identification code.
需要说明的,本实施例中版本配置系统中各功能实体之间建立的通信连接,依旧是基于传输控制协议(TCP,Transmission Control Protocol)/网际互连协议(IP,Internet Protocol)等现有协议的实现的,而本实施例中所说的各功能实体之间进行通信时所需的通信协议,实质是表示该通信协议中具体携带了哪些信息。It should be noted that the communication connections established between the functional entities in the version configuration system in this embodiment are still based on existing protocols such as Transmission Control Protocol (TCP, Transmission Control Protocol)/Internet Protocol (IP, Internet Protocol). However, the communication protocol required for communication between the functional entities in this embodiment essentially indicates what information is specifically carried in the communication protocol.
故而,上述所说的第一通信协议,实质是要表达基于上述三种识别码生成的通信协议,向控制器下发配置命令,是为了将上述三种识别码传输给接收该配置命令的控制器,即将上述三种识别码作为第一通信协议的头部文件,将配置命令作为传输的具体动作指令。Therefore, the above-mentioned first communication protocol is essentially to express the communication protocol generated based on the above-mentioned three kinds of identification codes, and issue a configuration command to the controller, in order to transmit the above-mentioned three kinds of identification codes to the control receiving the configuration command. The device takes the above three identification codes as the header file of the first communication protocol, and uses the configuration command as the specific action instruction for transmission.
关于编排器识别码、控制器识别码和业务类型识别码这三者之间的关系,可以采用如下格式标识:<编排器ID,控制器ID,业务类型ID>。The relationship between the orchestrator ID, the controller ID, and the service type ID can be identified in the following format: <organizer ID, controller ID, service type ID>.
应当理解的是,上述示例仅是为了更好的理解本实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。It should be understood that the above examples are only examples listed for better understanding of the technical solutions of the present embodiment, and are not used as the only limitation on the present embodiment.
(4)基于所述第一通信协议,向所述控制器下发配置命令,供所述控制器控制所述待配置网元设备从所述配置信息管理中心中获取配置信息进行版本配置。(4) Based on the first communication protocol, a configuration command is delivered to the controller, so that the controller can control the to-be-configured network element device to obtain configuration information from the configuration information management center to perform version configuration.
此外,值得一提的是,在实际应用中,为了避免对不合法以及无效用户需求的响应,编排器中负责与用户进行交互的模块,可以称之为需求输入模块,在监测到用户需求到达时,可以先对用户需求的合法性进行约束检查。In addition, it is worth mentioning that in practical applications, in order to avoid responding to illegal and invalid user requirements, the module responsible for interacting with users in the orchestrator can be called a demand input module. , you can first check the validity of user requirements.
相应地,若通过检查,确定当前用户需求合法,才真正接收,以供后续处理使用进,即只有合法的用户需求才会被编排器接收;否则,直接拒绝当前用户需求。Correspondingly, if it is determined that the current user demand is legitimate, it is actually received for subsequent processing, that is, only the legitimate user demand will be received by the arranger; otherwise, the current user demand is directly rejected.
关于上述所说的合法性检查,具体是指携带所述用户需求的原始请求的请求格式、采用的协议等是否符合编排器预预设要求。即,如果满足,则认为当前用户需求是合法的,否则为不合法的。Regarding the above-mentioned legality check, it specifically refers to whether the request format, the adopted protocol, etc. of the original request carrying the user requirements meet the preset requirements of the orchestrator. That is, if it is satisfied, it is considered that the current user requirement is legal, otherwise, it is illegal.
本实施例中,由于编排器在将用户需求转换为控制器能够识别的业务需求,即确定用户需求对应的业务类型识别码时,是基于预先定义的业务类型集,因而为了避免对业务类型集中没有定义的用户需求进行分析处理,进而增加编排器资源的占用。在确定接收到的用户需求合法之后,根据预先定义的业务类型集,确定用户需求对应的业务类型识别码之前,还可以进一步判断用户需求是否为有效需求。In this embodiment, since the orchestrator converts user requirements into service requirements that can be identified by the controller, that is, when determining the service type identifier corresponding to the user requirement, it is based on a pre-defined service type set, so in order to avoid centralized service types Undefined user requirements are analyzed and processed, thereby increasing the resource occupancy of the orchestrator. After it is determined that the received user requirement is legitimate, and before determining the service type identification code corresponding to the user requirement according to the predefined service type set, it can be further judged whether the user requirement is a valid requirement.
具体的,在实际应用中,对用户需求有效性的判断,可以根据预设的逻辑分析规则,判断用户需求是否为有效需求。Specifically, in practical applications, to determine the validity of the user requirements, it can be determined whether the user requirements are valid requirements according to preset logical analysis rules.
相应地,若通过判断,确定所述用户需求为有效需求,才执行上述根据预先定义的业务类型集,确定所述用户需求对应的业务类型识别码的操作。Correspondingly, if it is determined through judgment that the user requirement is a valid requirement, the above-mentioned operation of determining the service type identification code corresponding to the user requirement according to the predefined service type set is performed.
关于上述所说的逻辑分析规则,可以是将事先定义好的业务类型定义为有效业务类型,或者无效业务类型;或者,只在逻辑分析规则中,定义有效业务类型,这样在基于逻辑分析规则进行判断时,只要当前用户需求对应的业务类型不在逻辑分析规则中,则认为当前用户需求为无效需求,反之则为有效需求。Regarding the above-mentioned logic analysis rules, it may be to define a pre-defined business type as a valid business type or an invalid business type; When judging, as long as the business type corresponding to the current user requirement is not in the logic analysis rules, the current user requirement is considered to be an invalid requirement, otherwise, it is an effective requirement.
此外,在实际应用中,可以将上述进行有效性检测的操作看作是由编排器内部的另一功能模块实现的,比如将进行有效性检测的模块称为需求分析模块。In addition, in practical applications, the above-mentioned operation of validity detection can be regarded as being implemented by another functional module inside the orchestrator, for example, the module that performs validity detection is called a requirement analysis module.
本实施例中,还可以将最终根据预先定义的业务类型集,确定所述用户需求对应的业务类型识别码的功能看作是由编排器内部的另一功能模块实现,比如业务类型模块。In this embodiment, the function of finally determining the service type identifier corresponding to the user requirement according to the predefined service type set can also be regarded as being implemented by another functional module inside the orchestrator, such as a service type module.
基于上述描述可知,用户需求在到达编排器时,先由内部的需求输入模块进行合法性检查,在合法时再由内部的需求分析模块进行有效性分析,在有效时再由内部的业务类型模型根据预先定义的业务类型集,确定所述用户需求对应的业务类型识别码。Based on the above description, it can be seen that when the user demand reaches the orchestrator, the internal demand input module will first check the validity, and when it is legal, the internal demand analysis module will conduct validity analysis, and when it is valid, the internal business type model will be used. According to the predefined service type set, the service type identification code corresponding to the user requirement is determined.
应当理解的是,上述功能模块的划分仅仅是为了更好的理解本实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。It should be understood that the division of the above functional modules is only an example enumerated for better understanding of the technical solutions of the present embodiment, and is not regarded as the only limitation of the present embodiment.
对于控制器:For the controller:
控制器根据编排器下发的业务请求,向配置信息管理中心下发配置信息适配请求,进而在配置信息管理中心中存在匹配的配置信息时,向待配置路由器下发配置命令,在配置信息管理中心不存在匹配的配置信息时,通知编排器本次版本配置请求失败。The controller sends a configuration information adaptation request to the configuration information management center according to the service request sent by the orchestrator, and then sends a configuration command to the router to be configured when there is matching configuration information in the configuration information management center. When there is no matching configuration information in the management center, the orchestrator is notified that the configuration request for this version fails.
可理解的,上述所说的业务请求,实质就是编排器通过第一通信协议携带的用户需求对 应的业务类型识别码。It is understandable that the service request mentioned above is essentially the service type identification code corresponding to the user requirement carried by the scheduler through the first communication protocol.
相应地,控制器中执行的版本配置流程,具体为:Correspondingly, the version configuration process executed in the controller is as follows:
(1)接收所述编排器通过第一通信协议下发的配置命令。(1) Receive a configuration command sent by the orchestrator through the first communication protocol.
通过上述对编排器的描述可知,所述第一通信协议携带有用户需求对应的业务类型识别码,即业务类型ID。It can be known from the above description of the scheduler that the first communication protocol carries a service type identification code corresponding to a user requirement, that is, a service type ID.
(2)从所述第一通信协议中提取所述业务类型识别码,并根据所述业务类型识别码确定对所述待配置网元设备进行版本配置所需的配置信息的版本识别码。(2) Extract the service type identification code from the first communication protocol, and determine the version identification code of the configuration information required for version configuration of the to-be-configured network element device according to the service type identification code.
本实施例中,由于用户需求和业务类型识别码之间的关系是预先确定,同理与用户需求、业务类型识别码对应的版本的配置信息也是预先确定的,故而为了能够根据业务类型识别码快速定位对应的版本的配置信息,本实施例同样为配置信息分配了对应的版本识别码。In this embodiment, since the relationship between the user requirements and the service type identification code is predetermined, the configuration information of the version corresponding to the user requirements and the service type identification code is also predetermined. To quickly locate the configuration information of the corresponding version, this embodiment also allocates a corresponding version identification code to the configuration information.
进而,在从第一通信协议中提取出业务类型识别码后,根据预设定义业务类型识别码与版本识别码之间的对应关系,便可以快速确定对待配置网元设备,如待配置路由进行版本配置所需的配置信息的版本识别码。Further, after the service type identification code is extracted from the first communication protocol, the corresponding relationship between the service type identification code and the version identification code is defined according to a preset, so that the network element equipment to be configured can be quickly determined. The version identifier of the configuration information required for version configuration.
(3)获取控制器识别码和所述配置信息管理中心的配置信息管理中心识别码。(3) Obtain the controller identification code and the configuration information management center identification code of the configuration information management center.
本实施例中所说的控制器识别码即为能够标识控制器唯一性的标识信息。The controller identification code mentioned in this embodiment is identification information that can identify the uniqueness of the controller.
相应地,所述配置信息管理中心识别码即为能够标识配置信息管理中心唯一性的标识信息。Correspondingly, the configuration information management center identification code is identification information capable of identifying the uniqueness of the configuration information management center.
可理解的,在实际应用中,上述所说的用于标识控制器唯一性的控制器识别码,以及标识配置信息管理中心唯一性的配置信息管理中心识别码,可以是技术人员根据预设规则,预先分配的,也可以是控制器在制备完成出厂时,厂家分配的标识信息,配置信息管理中心构建时,根据预设规则配置的,还可以是根据预先编译好的脚本,对每个接入网络的控制器和配置信息管理中心分配的标识其唯一性的标识信息。Understandably, in practical applications, the above-mentioned controller identification code for identifying the uniqueness of the controller, and the configuration information management center identification code for identifying the uniqueness of the configuration information management center, may be the technical personnel according to preset rules. , pre-allocated, it can also be the identification information allocated by the manufacturer when the controller is prepared and shipped from the factory, configured according to preset rules when the configuration information management center is built, or it can be based on pre-compiled scripts. The unique identification information assigned by the controller entering the network and the configuration information management center to identify its uniqueness.
(4)根据所述控制器识别码、所述配置信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第二通信协议。(4) Generate a second communication protocol for communicating with the configuration information management center according to the controller identification code, the configuration information management center identification code and the version identification code.
由于本实施例中版本配置系统中各功能实体之间建立的通信连接,依旧是基于传输控制协议(Transmission Control Protocol,TCP)/网际互连协议(Internet Protocol,IP)等现有协议的实现的,而本实施例中所说的各功能实体之间进行通信时所需的通信协议,实质是表示该通信协议中具体携带了哪些信息。Because the communication connections established between the functional entities in the version configuration system in this embodiment are still based on the implementation of existing protocols such as Transmission Control Protocol (TCP)/Internet Protocol (IP) , and the communication protocol required for communication between the functional entities in this embodiment is essentially to indicate what information is specifically carried in the communication protocol.
故而,上述所说的第二通信协议,实质是要表达基于上述三种识别码生成的通信协议,向配置信息管理中心下发配置信息搜索命令,是为了将上述三种识别码传输给接收该配置信息搜索命令的配置信息管理中心,即将上述三种识别码作为第二通信协议的头部文件,将配置信息搜索命令作为传输的具体动作指令。Therefore, the above-mentioned second communication protocol is essentially to express the communication protocol generated based on the above-mentioned three kinds of identification codes, and issue a configuration information search command to the configuration information management center, in order to transmit the above-mentioned three kinds of identification codes to the receiving The configuration information management center of the configuration information search command takes the above three identification codes as the header file of the second communication protocol, and uses the configuration information search command as a specific action instruction for transmission.
关于控制器识别码、配置信息管理中心识别码和版本识别码这三者之间的关系,可以采用如下格式标识:<控制器ID,配置信息管理中心ID,版本ID>。The relationship between the controller identification code, the configuration information management center identification code and the version identification code can be identified in the following format: <controller ID, configuration information management center ID, version ID>.
应当理解的是,上述示例仅是为了更好的理解本实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。It should be understood that the above examples are only examples listed for better understanding of the technical solutions of the present embodiment, and are not used as the only limitation on the present embodiment.
(5)基于所述第二通信协议,向所述配置信息管理中心下发配置信息搜索命令,供所述配置信息管理中心确定是否存储有与所述版本识别码匹配的配置信息。(5) Based on the second communication protocol, issue a configuration information search command to the configuration information management center for the configuration information management center to determine whether configuration information matching the version identifier is stored.
(6)接收所述配置管理中心通过所述第二通信协议反馈的搜索结果。(6) Receive the search result fed back by the configuration management center through the second communication protocol.
相应地,若所述搜索结果为所述配置信息管理中心未存储与所述版本识别码匹配的配置信息,则基于所述第一通信协议,向所述编排器作出配置失败的响应;若所述搜索结果为所述配置信息管理中心存储有与所述版本识别码匹配的配置信息,则获取所述待配置网元设备的网元识别码。Correspondingly, if the search result is that the configuration information management center does not store the configuration information matching the version identifier, then based on the first communication protocol, a response of configuration failure is made to the orchestrator; If the search result is that the configuration information management center stores configuration information matching the version identification code, the network element identification code of the to-be-configured network element device is acquired.
可理解的,本实施例中所说的待配置网元设备的网元识别码即为能够标识网元设备唯一性的标识信息。It is understandable that the network element identification code of the network element device to be configured in this embodiment is identification information that can identify the uniqueness of the network element device.
同样,在实际应用中,上述所说的用于标识待配置网元设备唯一性的网元识别码,可以是技术人员根据预设规则,预先分配的,也可以是待配置网元设备在制备完成出厂时,厂家分配的标识信息,还可以是根据预先编译好的脚本,对每个接入网络的待配置网元设备分配的标识其唯一性的标识信息。Similarly, in practical applications, the above-mentioned network element identification code used to identify the uniqueness of the network element equipment to be configured may be pre-allocated by technicians according to preset rules, or may be prepared by the network element equipment to be configured. When the factory is finished, the identification information assigned by the manufacturer may also be identification information assigned to each network element device to be configured on the access network to identify its uniqueness according to a pre-compiled script.
(7)根据所述控制器识别码、所述网元识别码和所述版本识别码,生成与所述待配置网元设备进行通信的第三通信协议。(7) Generate a third communication protocol for communicating with the to-be-configured network element device according to the controller identification code, the network element identification code and the version identification code.
由于本实施例中版本配置系统中各功能实体之间建立的通信连接,依旧是基于传输控制协议(Transmission Control Protocol,TCP)/网际互连协议(Internet Protocol,IP)等现有协议的实现的,而本实施例中所说的各功能实体之间进行通信时所需的通信协议,实质是表示该通信协议中具体携带了哪些信息。Because the communication connections established between the functional entities in the version configuration system in this embodiment are still based on the implementation of existing protocols such as Transmission Control Protocol (TCP)/Internet Protocol (IP) , and the communication protocol required for communication between the functional entities in this embodiment is essentially to indicate what information is specifically carried in the communication protocol.
故而,上述所说的第三通信协议,实质是要表达基于上述三种识别码生成的通信协议,向待配置网元设备,即图1中的待配置路由器下配置命令,是为了将上述三种识别码传输给接收该配置命令的待配置路由器,即将上述三种识别码作为第三通信协议的头部文件,将配置命令作为传输的具体动作指令。Therefore, the above-mentioned third communication protocol is essentially to express the communication protocol generated based on the above-mentioned three identification codes, and issue a configuration command to the network element device to be configured, that is, the to-be-configured router in FIG. The identification code is transmitted to the router to be configured that receives the configuration command, that is, the above three identification codes are used as the header file of the third communication protocol, and the configuration command is used as the specific action instruction of the transmission.
关于控制器识别码、网元识别码和版本识别码这三者之间的关系,可以采用如下格式标识:<控制器ID,网元ID,版本ID>。The relationship between the controller identification code, the network element identification code and the version identification code may be identified in the following format: <controller ID, network element ID, version ID>.
应当理解的是,上述示例仅是为了更好的理解本实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。It should be understood that the above examples are only examples listed for better understanding of the technical solutions of the present embodiment, and are not used as the only limitation on the present embodiment.
(8)基于所述第三通信协议,向所述待配置网元设备下发配置命令,供所述待配置网元设备从所述配置信息管理中心获取所述版本识别码对应的配置信息进行版本配置。(8) Based on the third communication protocol, issue a configuration command to the to-be-configured network element device for the to-be-configured network element device to obtain the configuration information corresponding to the version identifier from the configuration information management center for version configuration.
此外,值得一提的是,在实际应用中,为了避免对不合法以及无效业务需求(业务类型识别码对应的业务类型)的响应,控制器中负责与编排器进行交互的模块,可以称之为业务类型输入模块,在监测到编排器通过第一通信协议下发的配置命令到达时,可以先对第一通信协议中携带的业务类型识别码对应的业务类型的合法性进行约束检查。In addition, it is worth mentioning that in practical applications, in order to avoid responding to illegal and invalid business requirements (the business type corresponding to the business type identifier), the module in the controller responsible for interacting with the orchestrator can be called For the service type input module, when monitoring the arrival of the configuration command issued by the orchestrator through the first communication protocol, it can firstly check the validity of the service type corresponding to the service type identification code carried in the first communication protocol.
相应地,若通过检查,确定业务类型合法,才真正接收,以供后续处理使用进,即只有合法的业务类型才会被控制器接收;否则,直接拒绝。Correspondingly, if it is determined that the service type is legal through the inspection, it is actually received for subsequent processing, that is, only the legal service type will be received by the controller; otherwise, it is directly rejected.
本实施例中,为了保证来业务类型即合法,又有效。在确定业务类型合法后,根据所述控制器识别码、所述配置信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第二通信协议之前,还可以进一步判断业务类型是否有效。In this embodiment, in order to ensure that the incoming service type is both legal and valid. After determining that the service type is legal, before generating the second communication protocol for communicating with the configuration information management center according to the controller identification code, the configuration information management center identification code and the version identification code, further Determine whether the business type is valid.
具体的,在实际应用中,对业务类型有效性的判断,同样可以根据预设的逻辑分析规则进行判断。Specifically, in practical applications, the judgment of the validity of the service type can also be judged according to the preset logical analysis rules.
相应地,若通过判断确定业务类型有效,才执行上述根据所述控制器识别码、所述配置 信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第二通信协议的操作。Correspondingly, if it is determined by judging that the service type is valid, then the above-mentioned generation of the second information that communicates with the configuration information management center according to the controller identification code, the configuration information management center identification code and the version identification code is performed. The operation of the communication protocol.
关于控制器执行的合法性和有效性的判断,与编排器执行的合法性和有效性的判断类似,此处不再赘述。The judgment of the legality and validity of the execution of the controller is similar to the judgment of the validity and validity of the execution of the orchestrator, and will not be repeated here.
此外,关于控制器进行合法性和有效性判断所依据的规则,本领域技术人可以根据需要进行设置,本实施例对此不作限制。In addition, those skilled in the art can set the rules based on which the controller judges legality and validity, which is not limited in this embodiment.
对于配置信息管理中心,其主要用于保存待配置网元设备,如图1中的待配置路由器的所有可以配置的版本,及这些版本对应的配置信息。For the configuration information management center, it is mainly used to save all configurable versions of the to-be-configured network element devices, such as the router to be configured in FIG. 1 , and the configuration information corresponding to these versions.
同时,配置信息管理中心支持对每一版本的配置信息的增、删、改查功能,并支持控制器的配置信息搜索需求和待配置网元设备对配置信息的下载需求。At the same time, the configuration information management center supports the functions of adding, deleting, and modifying the configuration information of each version, and supports the configuration information search requirements of the controller and the download requirements of the configuration information of the network element devices to be configured.
此外,为了便于配置信息管理中心中搜索到控制器所要求搜索的版本识别码对应的配置信息,以及方便待配置网元设备从配置信息管理中心中获取到版本识别码对应的配置信息,配置信息管理中心中存储的版本,及这些版本对应的配置信息是按照与控制器和待配置网元设备约定的方式进行存储的。In addition, in order to facilitate the configuration information management center to search for the configuration information corresponding to the version identification code required by the controller, and to facilitate the network element device to be configured to obtain the configuration information corresponding to the version identification code from the configuration information management center, the configuration information The versions stored in the management center and the configuration information corresponding to these versions are stored in a manner agreed upon with the controller and the network element device to be configured.
为了便于理解配置信息管理中心,在版本配置过程中执行的操作,以下具体说明:In order to facilitate the understanding of the configuration information management center, the operations performed during the version configuration process are described below:
(1)接收所述控制器通过第二通信协议下发的配置信息搜索命令,所述第二通信协议携带有对所述待配置网元设备进行版本配置所需的配置信息的版本识别码。(1) Receive a configuration information search command sent by the controller through a second communication protocol, where the second communication protocol carries a version identification code of configuration information required for version configuration of the network element device to be configured.
(2)从所述第二通信协议中提取所述版本识别码,根据所述版本识别码对本地存储的配置信息进行遍历,并根据遍历结果生成搜索结果。(2) Extract the version identification code from the second communication protocol, traverse the locally stored configuration information according to the version identification code, and generate a search result according to the traversal result.
比如说,若遍历到与所述版本识别码匹配的配置信息,则将所述配置信息管理中心存储有与所述版本识别码匹配的配置信息作为搜索结果。For example, if the configuration information matching the version identification code is traversed, the configuration information management center stores the configuration information matching the version identification code as a search result.
相应地,若未遍历到与所述版本识别码匹配的配置信息,则将所述配置信息管理中心未存储与所述版本识别码匹配的配置信息作为所述搜索结果。Correspondingly, if the configuration information matching the version identification code is not traversed, the configuration information management center that does not store the configuration information matching the version identification code is used as the search result.
(3)基于所述第二通信协议,向所述控制器反馈所述搜索结果,供所述控制器向所述编排器作出配置失败的响应,或控制所述待配置网元设备从所述配置信息管理中心中获取与所述版本识别码匹配的配置信息进行版本配置。(3) Feeding back the search result to the controller based on the second communication protocol, so that the controller can respond to the orchestrator for a configuration failure, or control the network element device to be configured from the The configuration information management center obtains configuration information matching the version identification code for version configuration.
本实施例中,若反馈的搜索结果为所述配置信息管理中心存储有与所述版本识别码匹配的配置信息,则控制器会控制所述待配置网元设备从所述配置信息管理中心中获取与所述版本识别码匹配的配置信息进行版本配置;反之,控制器会向所述编排器作出配置失败的响应。In this embodiment, if the feedback search result is that the configuration information management center stores configuration information that matches the version identifier, the controller will control the to-be-configured network element device to delete the configuration information from the configuration information management center. Obtain configuration information matching the version identifier to perform version configuration; otherwise, the controller will respond to the orchestrator that the configuration fails.
(4)接收所述待配置网元设备通过第四通信协议下发的配置信息获取命令,所述第四通信协议携带有对所述待配置网元设备进行版本配置所需的配置信息的版本识别码。(4) Receive a configuration information acquisition command issued by the to-be-configured network element device through a fourth communication protocol, where the fourth communication protocol carries the version of the configuration information required for version configuration of the to-be-configured network element device Identifier.
需要说明的是,本实施例中所说的第四通信协议,具体是由待配置网元设备,根据存储有需要获取的配置信息的配置信息管理中心的配置信息管理中心识别码和需要获取的配置信息对应的版本识别码生成的。It should be noted that the fourth communication protocol mentioned in this embodiment is specifically configured by the network element device to be configured, according to the configuration information management center identification code of the configuration information management center that stores the configuration information to be obtained and the configuration information to be obtained. The version identifier corresponding to the configuration information is generated.
与上述提到的第一、第二、第三通信协议类似,其格式为:<配置信息管理中心ID,版本ID>。Similar to the first, second, and third communication protocols mentioned above, the format is: <configuration information management center ID, version ID>.
(5)基于所述第四通信协议,向所述待配置网元设备反馈与所述版本识别码匹配的配置信息,供所述待配置网元设备进行版本配置。(5) Based on the fourth communication protocol, the configuration information matching the version identification code is fed back to the to-be-configured network element device for the to-be-configured network element device to perform version configuration.
对于待配置网元设备,本实施例具体指图1中的待配置路由器:For the to-be-configured network element device, this embodiment specifically refers to the to-be-configured router in FIG. 1 :
待配置路由器接收所述控制器通过第三通信协议下发的配置命令时,通过与配置信息管理中心进行交互完成配置信息的下载,并根据下载的配置信息完成本次版本配置。When the router to be configured receives the configuration command sent by the controller through the third communication protocol, the configuration information is downloaded by interacting with the configuration information management center, and the configuration of this version is completed according to the downloaded configuration information.
(1)接收所述控制器通过第三通信协议下发的配置命令,所述第三通信协议携带有进行版本配置所需的配置信息的版本识别码。(1) Receive a configuration command issued by the controller through a third communication protocol, where the third communication protocol carries a version identification code of configuration information required for version configuration.
(2)从所述第三通信协议中提取所述版本识别码。(2) Extracting the version identification code from the third communication protocol.
(3)获取存储有与所述版本识别码匹配的配置信息的所述配置信息管理中心的配置信息管理中心识别码。(3) Obtain the configuration information management center identification code of the configuration information management center that stores the configuration information matching the version identification code.
(4)根据所述配置信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第四通信协议。(4) Generate a fourth communication protocol for communicating with the configuration information management center according to the configuration information management center identification code and the version identification code.
(5)基于所述第四通信协议,向所述配置信息管理中心下发配置信息获取命令,供所述配置信息管理中心基于所述第四通信协议反馈与所述版本识别码匹配的配置信息。(5) Based on the fourth communication protocol, issue a configuration information acquisition command to the configuration information management center for the configuration information management center to feed back configuration information matching the version identifier based on the fourth communication protocol .
(6)接收所述配置信息管理中心通过所述第四通信协议反馈的与所述版本识别码匹配的配置信息。(6) Receive the configuration information that matches the version identifier and is fed back by the configuration information management center through the fourth communication protocol.
(7)根据所述配置信息进行版本配置。(7) Perform version configuration according to the configuration information.
可理解的,在实际应用中,为了避免对相同版本进行重复配置,在执行(7)之前,可以先获取当前运行的当前版本信息;然后,判断所述当前版本信息与所述版本信息是否一致。It is understandable that, in practical applications, in order to avoid repeated configuration of the same version, before executing (7), the current version information currently running can be obtained first; then, it is determined whether the current version information is consistent with the version information. .
相应地,若不一致,则执行所述根据所述配置信息进行版本配置的操作;否则,基于所述第三通信协议,向所述控制器作出不需要进行版本配置的反馈。Correspondingly, if they are inconsistent, the operation of performing version configuration according to the configuration information is performed; otherwise, based on the third communication protocol, feedback is made to the controller that version configuration is not required.
(8)基于所述第三通信协议,向所述控制器反馈配置结果,如配置失败或配置成功。(8) Based on the third communication protocol, a configuration result, such as configuration failure or configuration success, is fed back to the controller.
此外,通过图1可以看出,在待配置网元设备为路由器时,路由器会包括主控板和若干个线卡。In addition, it can be seen from FIG. 1 that when the network element device to be configured is a router, the router includes a main control board and several line cards.
故而,针对待配置网元设备为路由器时,路由器进行版本配置的过程具体为:Therefore, when the network element device to be configured is a router, the version configuration process of the router is as follows:
首先,将所述配置信息管理中心通过所述第四通信协议反馈的与所述版本识别码匹配的配置信息,保存到主控板中。First, the configuration information that matches the version identification code fed back by the configuration information management center through the fourth communication protocol is saved in the main control board.
然后,由所述主控板获取每一所述线卡的线卡识别码,进而根据所述版本识别码和每一所述线卡识别码,生成与对应的所述线卡进行通信的第五通信协议,并基于与每一所述线卡之间的所述第五通信协议,向每一所述线卡下发所述配置信息,供每一所述线卡根据所述配置信息进行版本配置。Then, the main control board acquires the line card identification code of each of the line cards, and then generates the first communication with the corresponding line card according to the version identification code and each of the line card identification codes. five communication protocols, and based on the fifth communication protocol with each of the line cards, the configuration information is delivered to each of the line cards for each of the line cards to perform according to the configuration information version configuration.
通过上述描述可知,主控板与线卡之间所遵循的第五通信协议,具体为版本ID和线卡ID之间的关系,故而具体可以表示为<版本ID,线卡ID>的形式。It can be seen from the above description that the fifth communication protocol followed between the main control board and the line card is specifically the relationship between the version ID and the line card ID, so it can be specifically expressed in the form of <version ID, line card ID>.
此外,值得一提的是,由于路由器芯片资源的限制,在实际应用中,通常可以预先根据不同业务类型制作不同大小和复杂度的版本,并存储在配置信息管理中心。控制器根据从编排器获取到的业务类型ID,从配置信息管理中心搜索可适配的版本的配置信息。但是,在实际搜索时,可能会搜索到多个版本。对于这种情况,可以对每个搜索到的版本进行打分,打分的原则基于版本用途和业务匹配度进行,匹配度越高的版本越接近用户需求,即最终反馈给路由器,进行版本配置时所需的配置信息是与最接近用户需求的。In addition, it is worth mentioning that, due to the limitation of router chip resources, in practical applications, versions of different sizes and complexity can usually be made in advance according to different business types, and stored in the configuration information management center. The controller searches for the configuration information of the adaptable version from the configuration information management center according to the service type ID obtained from the orchestrator. However, when actually searching, multiple versions may be found. In this case, each searched version can be scored. The scoring principle is based on the version usage and service matching degree. The version with higher matching degree is closer to the user's needs, that is, it is finally fed back to the router. The required configuration information is the closest to the user's needs.
此外,在实际应用中,为了使得版本配置更加符合实际使用需求,版本配置系统中涉及的编排器、控制器、配置信息管理中心和待配置网元设备中均设置有反馈机制,即当中间任何一个环节发生了拒绝动作,整个版本配置流程就会终止,本次操作便会取消,并最终通过 编排器进行仲裁,向用户作出答复。In addition, in practical applications, in order to make the version configuration more in line with the actual use requirements, the orchestrator, controller, configuration information management center, and network element devices to be configured in the version configuration system are all provided with a feedback mechanism. If a rejection occurs in one link, the entire version configuration process will be terminated, the operation will be canceled, and finally the orchestrator will conduct arbitration and reply to the user.
此外,关于上述涉及的第一、第二、第三、第四和第五,并不对通信协议本身构成限定,只是为了便于区分不同功能实体进行通信时所遵循的通信协议。In addition, regarding the first, second, third, fourth and fifth mentioned above, the communication protocol itself is not limited, but is only used to distinguish the communication protocols followed when different functional entities communicate.
由此,完成了单个编排器、单个控制器、单个配置信息管理中心和单个待配置网元设备的版本配置系统进行版本配置的过程。Thus, the version configuration process of the single orchestrator, the single controller, the single configuration information management center, and the single version configuration system of the single network element device to be configured is completed.
基于上述描述,对单个编排器、多个控制器、多个配置信息管理中心和多个待配置网元设备的版本配置系统进行版本配置的过程进行说明:Based on the above description, the process of version configuration for a single orchestrator, multiple controllers, multiple configuration information management centers, and multiple version configuration systems for network element devices to be configured is described:
编排器根据用户需求,对所管辖的控制器集群下达指令,每一控制器根据管辖的待配置网元设备集群分别向对应的配置信息管理中心下发配置信息搜索命令,并对每一待配置网元设备下达配置命令,每一待配置网元设备从控制器指定的配置信息管理中心下载配置信息。The orchestrator issues commands to the controller clusters under its jurisdiction according to user requirements, and each controller issues a configuration information search command to the corresponding configuration information management center according to the to-be-configured network element device cluster under its jurisdiction, and searches for each to-be-configured device cluster. The network element device issues a configuration command, and each network element device to be configured downloads configuration information from the configuration information management center designated by the controller.
进一步地,考虑到网络的容灾要求,多个控制器之间,以及多个配置信息管理中心之间可以是负荷分担关系,也可以是主备关系。多个待配置网元设备一般都是独立的并行关系,由控制器整体控制。Further, considering the disaster recovery requirements of the network, a load sharing relationship or an active/standby relationship may be established between multiple controllers and between multiple configuration information management centers. The multiple network element devices to be configured are generally independent and parallel, and are controlled by the controller as a whole.
此外,在实际应用中,待配置网元设备在进行版本配置时,为了实现业务保护,可以对进行版本配置的待配置网元设备进行隔离。In addition, in practical applications, when the version configuration of the network element device to be configured is performed, in order to achieve service protection, the network element device to be configured for the version configuration may be isolated.
比如,控制器在确定配置信息管理中心存储有匹配的配置信息,即可以对待配置网元设备进行版本配置时,在向待配置网元设备下发配置命令后,可以进一步作出把整个待配置网元设备进行隔离,并重新计算拓扑,进行业务收敛。待版本配置完成后,控制器将隔离的待配置网元设备释放,并重新计算拓扑,进行业务收敛。For example, when the controller determines that the configuration information management center stores matching configuration information, that is, when the version configuration of the network element device to be configured can be performed, after issuing a configuration command to the network element device to be configured, the controller can further make the entire network element device to be configured. Meta-devices are isolated, and the topology is recalculated for service convergence. After the version configuration is completed, the controller releases the isolated network element devices to be configured, and recalculates the topology to perform service convergence.
还比如,控制器在确定配置信息管理中心存储有匹配的配置信息,即可以对待配置网元设备进行版本配置时,在向待配置网元设备下发配置命令后,可以进一步作出仅将待配置网元设备中需要进行版本配置的单元进行隔离,并重新进行业务收敛。待版本配置完成后,控制器将待配置网元设备内部隔离的单元进行释放,并重新进行业务收敛。For another example, when the controller determines that matching configuration information is stored in the configuration information management center, that is, when the version configuration of the network element device to be configured can be performed, after issuing a configuration command to the network element device to be configured, the controller can further make only the configuration information to be configured. The units in the NE device that need to be version-configured are isolated, and service convergence is performed again. After the version configuration is completed, the controller releases the internally isolated units of the network element device to be configured, and performs service convergence again.
应当理解的是,上述示例仅是为了更好的理解本实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。在实际应用中,究竟采用何种方式对需要进行版本配置的待配置网元设备进行业务保护,具体可以按照业务影响最小的原则,一般优先选择仅隔离需要进行版本配置的单元的方式,当这种方式无法满足业务需求时,在选择隔离整个待配置网元设备的方式。It should be understood that the above examples are only examples listed for better understanding of the technical solutions of the present embodiment, and are not used as the only limitation on the present embodiment. In practical applications, what method is used to protect the service of the network element equipment to be configured that needs to be versioned? Specifically, according to the principle of minimal service impact, the method of isolating only the units that need to be versioned is generally preferred. When this method cannot meet the service requirements, select the method of isolating the entire NE to be configured.
此外,值得一提的是,不论选择哪种方式,由于都涉及到流量路径的切换,因而需要把待配置的业务和流量切换到备份设备和备份链路上来达到业务保护的目的。待版本配置完成后,再将业务和流量切换到新单元上,以支持用户需求。In addition, it is worth mentioning that no matter which method is selected, since it involves the switching of the traffic path, it is necessary to switch the services and traffic to be configured to the backup device and backup link to achieve the purpose of service protection. After the version configuration is complete, switch services and traffic to the new unit to support user needs.
由此,本实施例提供的版本配置系统,通过利用编排器将用户需求按照预先定义的业务类型集转换为对应的业务类型识别码,进而根据标识编排器自身的编排器识别码,以及标识控制器的控制器识别码和确定的业务类型识别码,生成与控制器进行通信的第一通信协议,并基于生成的第一通信协议,向控制器下发配置命令,从而使得控制器在接收到编排器下发的配置命令后,能够控制待配置网元设备自主从配置信息管理中心获取相应的配置信息进行版本配置。由于整个版本配置流程中,仅需编排器、控制器、配置信息管理中心和待配置网元设备进行交互,便可以准确的定位版本配置需要用到的配置信息,根本无需人工干预,从而既做到了提升配置效率,又可以避免因为人工介入造成的人为误差。Therefore, the version configuration system provided by this embodiment converts user requirements into corresponding service type identification codes according to a predefined service type set by using an orchestrator, and then identifies the Based on the controller identification code of the controller and the determined service type identification code, a first communication protocol for communicating with the controller is generated, and based on the generated first communication protocol, a configuration command is issued to the controller, so that the controller receives a configuration command. After the configuration command issued by the orchestrator, the network element device to be configured can be controlled to independently obtain the corresponding configuration information from the configuration information management center to perform version configuration. Because in the entire version configuration process, only the interaction between the orchestrator, the controller, the configuration information management center and the network element to be configured can accurately locate the configuration information required for the version configuration, without manual intervention at all, so that both In order to improve the configuration efficiency, it can avoid human errors caused by manual intervention.
除此之外,由于本申请提供的版本配置系统中,对待配置网元设备进行版本配置时所需的配置信息是单独存放在配置信息管理中心的,即不同版本对应的配置信息无需预先存储在每一待配置网元设备中,相同的版本的配置信息只需在配置信息管理中心存储一份即可,从而既可以减少预先在每一待配置网元设备部署不同版本的配置信息的人力,又可以方便后期运维人员对个版本的配置信息的更新维护。同时,通过将配置信息单独存放在配置信息管理中心,也使得对待配置网元设备的版本配置摆脱了待配置网元设备本地存储空间的限制,从而可以对待配置网元设备实现更多版本的配置,进而更好的满足各种用户需求。In addition, in the version configuration system provided by this application, the configuration information required for version configuration of the network element device to be configured is separately stored in the configuration information management center, that is, the configuration information corresponding to different versions does not need to be pre-stored in the configuration information management center. In each network element device to be configured, only one copy of the configuration information of the same version needs to be stored in the configuration information management center, thereby reducing the manpower to deploy different versions of the configuration information in each network element device to be configured in advance. It can also facilitate the later operation and maintenance personnel to update and maintain the configuration information of each version. At the same time, by storing the configuration information separately in the configuration information management center, the version configuration of the network element device to be configured is free from the limitation of the local storage space of the network element device to be configured, so that more versions of the configuration of the network element device to be configured can be realized. , so as to better meet the needs of various users.
本申请的第二实施例涉及一种版本配置方法,应用于版本配置系统中的编排器,所述版本配置系统还包括控制器、配置信息管理中心和待配置网元设备。The second embodiment of the present application relates to a version configuration method, which is applied to an orchestrator in a version configuration system, where the version configuration system further includes a controller, a configuration information management center, and a network element device to be configured.
可理解的,在实际应用中,配置信息管理中心实质就是存储各种待配置网元设备的配置信息,如系统版本配置信息、功能版本配置信息、补丁版本配置信息的数据库。Understandably, in practical applications, the configuration information management center is essentially a database that stores configuration information of various network element devices to be configured, such as system version configuration information, function version configuration information, and patch version configuration information.
相应地,所述待配置网元设备,可以是路由器、交换机、光传送网(optical transport network,OTN)中涉及的传输节点。Correspondingly, the network element device to be configured may be a router, a switch, or a transmission node involved in an optical transport network (OTN).
为了便于理解本实施例提供的版本配置方法,以下结合图2所示的流程图进行说明:In order to facilitate the understanding of the version configuration method provided by this embodiment, the following description is made with reference to the flowchart shown in FIG. 2 :
步骤201,接收用户需求,根据预先定义的业务类型集,确定所述用户需求对应的业务类型识别码。Step 201: Receive a user requirement, and determine a service type identifier corresponding to the user requirement according to a predefined service type set.
其中,在本实施例中,所述业务类型集包括各用户需求和各业务类型识别码的对应关系。Wherein, in this embodiment, the service type set includes the corresponding relationship between each user requirement and each service type identification code.
此外,值得一提的是,在实际应用中,为了避免对不合法以及无效用户需求的响应,编排器中负责与用户进行交互的模块,可以称之为需求输入模块,在监测到用户需求到达时,可以先对用户需求的合法性进行约束检查。In addition, it is worth mentioning that in practical applications, in order to avoid responding to illegal and invalid user requirements, the module responsible for interacting with users in the orchestrator can be called a demand input module. , you can first check the validity of user requirements.
相应地,若通过检查,确定当前用户需求合法,才真正接收,以供后续处理使用进,即只有合法的用户需求才会被编排器接收;否则,编排器直接拒绝所述用户需求。Correspondingly, if it is determined that the current user demand is legitimate, it is actually received for subsequent processing, that is, only the legitimate user demand will be received by the orchestrator; otherwise, the orchestrator directly rejects the user requirement.
关于上述所说的合法性检查,具体是指携带所述用户需求的原始请求的请求格式、采用的协议等是否符合编排器预预设要求。即,如果满足,则认为当前用户需求是合法的,否则为不合法的。Regarding the above-mentioned legality check, it specifically refers to whether the request format, the adopted protocol, etc. of the original request carrying the user requirements meet the preset requirements of the orchestrator. That is, if it is satisfied, it is considered that the current user requirement is legal, otherwise, it is illegal.
进一步地,由于编排器在将用户需求转换为控制器能够识别的业务需求,即确定用户需求对应的业务类型识别码时,是基于预先定义的业务类型集,因而为了避免对业务类型集中没有定义的用户需求进行分析处理,进而增加编排器资源的占用。在确定接收到的用户需求合法之后,根据预先定义的业务类型集,确定用户需求对应的业务类型识别码之前,还可以进一步判断用户需求是否为有效需求。Further, since the orchestrator converts user requirements into service requirements that can be identified by the controller, that is, when determining the service type identification code corresponding to the user requirements, it is based on a predefined service type set, so in order to avoid no definition of the service type set. analysis and processing of user requirements, which in turn increases the resource usage of the orchestrator. After it is determined that the received user requirement is legitimate, and before determining the service type identification code corresponding to the user requirement according to the predefined service type set, it can be further judged whether the user requirement is a valid requirement.
具体的,在实际应用中,对用户需求有效性的判断,可以根据预设的逻辑分析规则,判断用户需求是否为有效需求。Specifically, in practical applications, to determine the validity of the user requirements, it can be determined whether the user requirements are valid requirements according to preset logical analysis rules.
相应地,若通过判断,确定所述用户需求为有效需求,才执行上述根据预先定义的业务类型集,确定所述用户需求对应的业务类型识别码的操作。Correspondingly, if it is determined through judgment that the user requirement is a valid requirement, the above-mentioned operation of determining the service type identification code corresponding to the user requirement according to the predefined service type set is performed.
关于上述所说的逻辑分析规则,可以是将事先定义好的业务类型定义为有效业务类型,或者无效业务类型;或者,只在逻辑分析规则中,定义有效业务类型,这样在基于逻辑分析规则进行判断时,只要当前用户需求对应的业务类型不在逻辑分析规则中,则认为当前用户需求为无效需求,反之则为有效需求。Regarding the above-mentioned logic analysis rules, it may be to define a pre-defined business type as a valid business type or an invalid business type; When judging, as long as the business type corresponding to the current user requirement is not in the logic analysis rules, the current user requirement is considered to be an invalid requirement, otherwise, it is an effective requirement.
此外,在实际应用中,可以将上述进行有效性检测的操作看作是由编排器内部的另一功 能模块实现的,比如将进行有效性检测的模块称为需求分析模块。In addition, in practical applications, the above-mentioned operation of validity detection can be regarded as implemented by another functional module inside the orchestrator, for example, the module that performs validity detection is called a requirement analysis module.
本实施例中,还可以将最终根据预先定义的业务类型集,确定所述用户需求对应的业务类型识别码的功能看作是由编排器内部的另一功能模块实现,比如业务类型模块。In this embodiment, the function of finally determining the service type identifier corresponding to the user requirement according to the predefined service type set can also be regarded as being implemented by another functional module inside the orchestrator, such as a service type module.
基于上述描述可知,用户需求在到达编排器时,先由内部的需求输入模块进行合法性检查,在合法时再由内部的需求分析模块进行有效性分析,在有效时再由内部的业务类型模型根据预先定义的业务类型集,确定所述用户需求对应的业务类型识别码。Based on the above description, it can be seen that when the user demand reaches the orchestrator, the internal demand input module will first check the validity, and when it is legal, the internal demand analysis module will conduct validity analysis, and when it is valid, the internal business type model will be used. According to the predefined service type set, the service type identification code corresponding to the user requirement is determined.
应当理解的是,上述功能模块的划分仅仅是为了更好的理解本实施例的技术方案而列举的示例,不作为对本实施例的唯一限制。It should be understood that the division of the above functional modules is only an example enumerated for better understanding of the technical solutions of the present embodiment, and is not regarded as the only limitation of the present embodiment.
步骤202,获取编排器识别码和所述控制器的控制器识别码。Step 202: Obtain the identifier of the orchestrator and the identifier of the controller of the controller.
步骤203,根据所述编排器识别码、所述控制器识别码和所述业务类型识别码,生成与所述控制器进行通信的第一通信协议。Step 203: Generate a first communication protocol for communicating with the controller according to the orchestrator identification code, the controller identification code, and the service type identification code.
步骤204,基于所述第一通信协议,向所述控制器下发配置命令,供所述控制器控制所述待配置网元设备从所述配置信息管理中心中获取配置信息进行版本配置。Step 204: Based on the first communication protocol, issue a configuration command to the controller for the controller to control the to-be-configured network element device to obtain configuration information from the configuration information management center to perform version configuration.
通过上述描述不难发现,本实施例提供的版本配置方法,通过利用编排器将用户需求按照预先定义的业务类型集转换为对应的业务类型识别码,进而根据标识编排器自身的编排器识别码,以及标识控制器的控制器识别码和确定的业务类型识别码,生成与控制器进行通信的第一通信协议,并基于生成的第一通信协议,向控制器下发配置命令,从而使得控制器在接收到编排器下发的配置命令后,能够控制待配置网元设备自主从配置信息管理中心获取相应的配置信息进行版本配置。由于整个版本配置流程中,仅需编排器、控制器、配置信息管理中心和待配置网元设备进行交互,便可以准确的定位版本配置需要用到的配置信息,根本无需人工干预,从而既做到了提升配置效率,又可以避免因为人工介入造成的人为误差。It is not difficult to find from the above description that the version configuration method provided in this embodiment uses an orchestrator to convert user requirements into corresponding service type identifiers according to a pre-defined service type set, and then identifies the orchestrator's own scheduler identifier according to the identifier. , and the controller identification code that identifies the controller and the identified service type identification code, generates a first communication protocol that communicates with the controller, and issues a configuration command to the controller based on the generated first communication protocol, so that the control After receiving the configuration command issued by the orchestrator, the controller can control the network element device to be configured to independently obtain the corresponding configuration information from the configuration information management center to perform version configuration. Because in the entire version configuration process, only the interaction between the orchestrator, the controller, the configuration information management center and the network element to be configured can accurately locate the configuration information required for the version configuration, without manual intervention at all, so that both In order to improve the configuration efficiency, it can avoid human errors caused by manual intervention.
此外,不难发现,本实施例中提到的编排器、控制器、配置信息管理中心和待配置网元设备分别与第一实施例中涉及的编排器、控制器、配置信息管理中心和待配置网元设备对应,即本实施例可与第一实施例互相配合实施。故而,第一实施例中提到的相关技术细节在本实施例中依然有效,为了减少重复,这里不再赘述。相应地,本实施例中提到的相关技术细节也可应用在第一实施例中。In addition, it is not difficult to find that the orchestrator, controller, configuration information management center and to-be-configured network element device mentioned in this embodiment are respectively different from the orchestrator, controller, configuration information management center and to-be-configured network element device involved in the first embodiment. The configuration corresponds to the network element equipment, that is, this embodiment can be implemented in cooperation with the first embodiment. Therefore, the related technical details mentioned in the first embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition. Correspondingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment.
本申请的第三实施例涉及一种版本配置方法,应用于版本配置系统中的控制器,所述版本配置系统还包括编排器、配置信息管理中心和待配置网元设备。The third embodiment of the present application relates to a version configuration method, which is applied to a controller in a version configuration system, where the version configuration system further includes an orchestrator, a configuration information management center, and a network element device to be configured.
可理解的,在实际应用中,配置信息管理中心实质就是存储各种待配置网元设备的配置信息,如系统版本配置信息、功能版本配置信息、补丁版本配置信息的数据库。Understandably, in practical applications, the configuration information management center is essentially a database that stores configuration information of various network element devices to be configured, such as system version configuration information, function version configuration information, and patch version configuration information.
相应地,所述待配置网元设备,可以是路由器、交换机、光传送网(optical transport network,OTN)中涉及的传输节点。Correspondingly, the network element device to be configured may be a router, a switch, or a transmission node involved in an optical transport network (OTN).
为了便于理解本实施例提供的版本配置方法,以下结合图3所示的流程图进行说明:In order to facilitate the understanding of the version configuration method provided by this embodiment, the following description is made with reference to the flowchart shown in FIG. 3 :
步骤301,接收所述编排器通过第一通信协议下发的配置命令,所述第一通信协议携带有用户需求对应的业务类型识别码。Step 301: Receive a configuration command issued by the orchestrator through a first communication protocol, where the first communication protocol carries a service type identification code corresponding to a user requirement.
步骤302,从所述第一通信协议中提取所述业务类型识别码,并根据所述业务类型识别码确定对所述待配置网元设备进行版本配置所需的配置信息的版本识别码。Step 302: Extract the service type identification code from the first communication protocol, and determine the version identification code of the configuration information required for version configuration of the network element device to be configured according to the service type identification code.
步骤303,获取控制器识别码和所述配置信息管理中心的配置信息管理中心识别码。Step 303: Obtain the controller identification code and the configuration information management center identification code of the configuration information management center.
步骤304,根据所述控制器识别码、所述配置信息管理中心识别码和所述版本识别码, 生成与所述配置信息管理中心进行通信的第二通信协议。Step 304: Generate a second communication protocol for communicating with the configuration information management center according to the controller identification code, the configuration information management center identification code, and the version identification code.
步骤305,基于所述第二通信协议,向所述配置信息管理中心下发配置信息搜索命令,供所述配置信息管理中心确定是否存储有与所述版本识别码匹配的配置信息。 Step 305 , based on the second communication protocol, issue a configuration information search command to the configuration information management center for the configuration information management center to determine whether configuration information matching the version identifier is stored.
步骤306,接收所述配置管理中心通过所述第二通信协议反馈的搜索结果。Step 306: Receive the search result fed back by the configuration management center through the second communication protocol.
步骤307,判断所述搜索结果是否为所述配置信息管理中心存储有与所述版本识别码匹配的配置信息。Step 307: Determine whether the search result is that the configuration information management center stores configuration information matching the version identification code.
本实施例中,若所述搜索结果为所述配置信息管理中心存储有与所述版本识别码匹配的配置信息则执行步骤308;否则,执行步骤311。In this embodiment, if the search result is that the configuration information management center stores configuration information matching the version identification code, step 308 is performed; otherwise, step 311 is performed.
步骤308,获取所述待配置网元设备的网元识别码。Step 308: Obtain the network element identification code of the to-be-configured network element device.
步骤309,根据所述控制器识别码、所述网元识别码和所述版本识别码,生成与所述待配置网元设备进行通信的第三通信协议。Step 309: Generate a third communication protocol for communicating with the to-be-configured network element device according to the controller identification code, the network element identification code, and the version identification code.
步骤310,基于所述第三通信协议,向所述待配置网元设备下发配置命令,供所述待配置网元设备从所述配置信息管理中心获取所述版本识别码对应的配置信息进行版本配置。Step 310: Based on the third communication protocol, issue a configuration command to the to-be-configured network element device for the to-be-configured network element device to obtain the configuration information corresponding to the version identification code from the configuration information management center. version configuration.
步骤311,基于所述第一通信协议,向所述编排器作出配置失败的响应。 Step 311, based on the first communication protocol, make a configuration failure response to the orchestrator.
由此,本实施例提供的版本配置方法,控制器根据编排器下发的业务请求,向配置信息管理中心下发配置信息适配请求,进而在配置信息管理中心中存在匹配的配置信息时,向待配置路由器下发配置命令,在配置信息管理中心不存在匹配的配置信息时,通知编排器本次版本配置请求失败。由于整个版本配置流程中,仅需编排器、控制器、配置信息管理中心和待配置网元设备进行交互,便可以准确的定位版本配置需要用到的配置信息,根本无需人工干预,从而既做到了提升配置效率,又可以避免因为人工介入造成的人为误差。Therefore, in the version configuration method provided by this embodiment, the controller sends a configuration information adaptation request to the configuration information management center according to the service request sent by the orchestrator, and then when there is matching configuration information in the configuration information management center, It sends a configuration command to the router to be configured, and when there is no matching configuration information in the configuration information management center, it notifies the orchestrator that the configuration request of this version fails. Because in the entire version configuration process, only the interaction between the orchestrator, the controller, the configuration information management center and the network element to be configured can accurately locate the configuration information required for the version configuration, without manual intervention at all, so that both In order to improve the configuration efficiency, it can avoid human errors caused by manual intervention.
除此之外,本实施例提供的版本配置方法,对待配置网元设备进行版本配置时所需的配置信息是单独存放在配置信息管理中心的,即不同版本对应的配置信息无需预先存储在每一待配置网元设备中,相同的版本的配置信息只需在配置信息管理中心存储一份即可,从而既可以减少预先在每一待配置网元设备部署不同版本的配置信息的人力,又可以方便后期运维人员对个版本的配置信息的更新维护。同时,通过将配置信息单独存放在配置信息管理中心,也使得对待配置网元设备的版本配置摆脱了待配置网元设备本地存储空间的限制,从而可以对待配置网元设备实现更多版本的配置,进而更好的满足各种用户需求。In addition, in the version configuration method provided in this embodiment, the configuration information required for version configuration of the network element device to be configured is separately stored in the configuration information management center, that is, the configuration information corresponding to different versions does not need to be pre-stored in each version. In the network element device to be configured, only one copy of the configuration information of the same version needs to be stored in the configuration information management center, which can not only reduce the manpower to deploy different versions of the configuration information in each network element device to be configured in advance, but also It can facilitate the later operation and maintenance personnel to update and maintain the configuration information of each version. At the same time, by storing the configuration information separately in the configuration information management center, the version configuration of the network element device to be configured is free from the limitation of the local storage space of the network element device to be configured, so that more versions of the configuration of the network element device to be configured can be realized. , so as to better meet the needs of various users.
此外,值得一提的是,在实际应用中,为了避免对不合法以及无效业务需求(业务类型识别码对应的业务类型)的响应,控制器中负责与编排器进行交互的模块,可以称之为业务类型输入模块,在监测到编排器通过第一通信协议下发的配置命令到达时,可以先对第一通信协议中携带的业务类型识别码对应的业务类型的合法性进行约束检查。In addition, it is worth mentioning that in practical applications, in order to avoid responding to illegal and invalid business requirements (the business type corresponding to the business type identifier), the module in the controller responsible for interacting with the orchestrator can be called For the service type input module, when monitoring the arrival of the configuration command issued by the orchestrator through the first communication protocol, it can firstly check the validity of the service type corresponding to the service type identification code carried in the first communication protocol.
相应地,若通过检查,确定业务类型合法,才真正接收,以供后续处理使用进,即只有合法的业务类型才会被控制器接收;否则,直接拒绝。Correspondingly, if it is determined that the service type is legal through the inspection, it is actually received for subsequent processing, that is, only the legal service type will be received by the controller; otherwise, it is directly rejected.
本实施例中,为了保证来业务类型即合法,又有效。在确定业务类型合法后,根据所述控制器识别码、所述配置信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第二通信协议之前,还可以进一步判断业务类型是否有效。In this embodiment, in order to ensure that the incoming service type is both legal and valid. After determining that the service type is legal, before generating the second communication protocol for communicating with the configuration information management center according to the controller identification code, the configuration information management center identification code and the version identification code, further Determine whether the business type is valid.
具体的,在实际应用中,对业务类型有效性的判断,同样可以根据预设的逻辑分析规则进行判断。Specifically, in practical applications, the judgment of the validity of the service type can also be judged according to the preset logical analysis rules.
相应地,若通过判断确定业务类型有效,才执行上述根据所述控制器识别码、所述配置 信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第二通信协议的操作。Correspondingly, if it is determined by judging that the service type is valid, then the above-mentioned generation of the second information that communicates with the configuration information management center according to the controller identification code, the configuration information management center identification code and the version identification code is performed. The operation of the communication protocol.
关于控制器执行的合法性和有效性的判断,与编排器执行的合法性和有效性的判断类似,此处不再赘述。The judgment of the legality and validity of the execution of the controller is similar to the judgment of the validity and validity of the execution of the orchestrator, and will not be repeated here.
此外,关于控制器进行合法性和有效性判断所依据的规则,本领域技术人可以根据需要进行设置,本实施例对此不作限制。In addition, those skilled in the art can set the rules based on which the controller judges legality and validity, which is not limited in this embodiment.
由此,控制器接收到编排器基于第一通信协议下发的配置命令后,在本地先对第一通信协议中携带的业务类型识别码对应的业务类型的合法性和有效性进行判断,使得版本配置流程更加合理。Therefore, after receiving the configuration command issued by the scheduler based on the first communication protocol, the controller locally firstly judges the legality and validity of the service type corresponding to the service type identification code carried in the first communication protocol, so that The version configuration process is more reasonable.
此外,不难发现,本实施例中提到的编排器、控制器、配置信息管理中心和待配置网元设备分别与第一实施例中涉及的编排器、控制器、配置信息管理中心和待配置网元设备对应,即本实施例可与第一实施例互相配合实施。故而,第一实施例中提到的相关技术细节在本实施例中依然有效,为了减少重复,这里不再赘述。相应地,本实施例中提到的相关技术细节也可应用在第一实施例中。In addition, it is not difficult to find that the orchestrator, controller, configuration information management center and to-be-configured network element device mentioned in this embodiment are respectively different from the orchestrator, controller, configuration information management center and to-be-configured network element device involved in the first embodiment. The configuration corresponds to the network element equipment, that is, this embodiment can be implemented in cooperation with the first embodiment. Therefore, the related technical details mentioned in the first embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition. Correspondingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment.
本申请的第四实施例涉及一种版本配置方法。The fourth embodiment of the present application relates to a version configuration method.
步骤401,接收所述控制器通过第二通信协议下发的配置信息搜索命令,所述第二通信协议携带有对所述待配置网元设备进行版本配置所需的配置信息的版本识别码。Step 401: Receive a configuration information search command issued by the controller through a second communication protocol, where the second communication protocol carries a version identification code of configuration information required for version configuration of the to-be-configured network element device.
步骤402,从所述第二通信协议中提取所述版本识别码,根据所述版本识别码对本地存储的配置信息进行遍历,并根据遍历结果生成搜索结果。Step 402: Extract the version identification code from the second communication protocol, traverse the locally stored configuration information according to the version identification code, and generate a search result according to the traversal result.
步骤403,基于所述第二通信协议,向所述控制器反馈所述搜索结果,供所述控制器向所述编排器作出配置失败的响应,或控制所述待配置网元设备从所述配置信息管理中心中获取与所述版本识别码匹配的配置信息进行版本配置。 Step 403, based on the second communication protocol, feed back the search result to the controller, so that the controller can respond to the orchestrator for configuration failure, or control the to-be-configured network element device from the The configuration information management center obtains configuration information matching the version identification code for version configuration.
步骤404,接收所述待配置网元设备通过第四通信协议下发的配置信息获取命令,所述第四通信协议携带有对所述待配置网元设备进行版本配置所需的配置信息的版本识别码。Step 404: Receive a configuration information acquisition command issued by the to-be-configured network element device through a fourth communication protocol, where the fourth communication protocol carries the version of the configuration information required for version configuration of the to-be-configured network element device Identifier.
步骤405,基于所述第四通信协议,向所述待配置网元设备反馈与所述版本识别码匹配的配置信息,供所述待配置网元设备进行版本配置。 Step 405 , based on the fourth communication protocol, feedback configuration information matching the version identification code to the network element device to be configured, so that the network element device to be configured performs version configuration.
由此,本实施例提供的版本配置方法,对待配置网元设备进行版本配置时所需的配置信息是单独存放在配置信息管理中心的,即不同版本对应的配置信息无需预先存储在每一待配置网元设备中,相同的版本的配置信息只需在配置信息管理中心存储一份即可,从而既可以减少预先在每一待配置网元设备部署不同版本的配置信息的人力,又可以方便后期运维人员对个版本的配置信息的更新维护。同时,通过将配置信息单独存放在配置信息管理中心,也使得对待配置网元设备的版本配置摆脱了待配置网元设备本地存储空间的限制,从而可以对待配置网元设备实现更多版本的配置,进而更好的满足各种用户需求。Therefore, in the version configuration method provided in this embodiment, the configuration information required for version configuration of the network element device to be configured is separately stored in the configuration information management center, that is, the configuration information corresponding to different versions does not need to be pre-stored in each to-be-configured device. In configuring network element devices, only one copy of the configuration information of the same version needs to be stored in the configuration information management center, which not only reduces the manpower required to deploy different versions of configuration information on each network element device to be configured in advance, but also facilitates The later operation and maintenance personnel update and maintain the configuration information of each version. At the same time, by storing the configuration information separately in the configuration information management center, the version configuration of the network element device to be configured is free from the limitation of the local storage space of the network element device to be configured, so that more versions of the configuration of the network element device to be configured can be realized. , so as to better meet the needs of various users.
此外,不难发现,本实施例中提到的编排器、控制器、配置信息管理中心和待配置网元设备分别与第一实施例中涉及的编排器、控制器、配置信息管理中心和待配置网元设备对应,即本实施例可与第一实施例互相配合实施。故而,第一实施例中提到的相关技术细节在本实施例中依然有效,为了减少重复,这里不再赘述。相应地,本实施例中提到的相关技术细节也可应用在第一实施例中。In addition, it is not difficult to find that the orchestrator, controller, configuration information management center and to-be-configured network element device mentioned in this embodiment are respectively different from the orchestrator, controller, configuration information management center and to-be-configured network element device involved in the first embodiment. The configuration corresponds to the network element equipment, that is, this embodiment can be implemented in cooperation with the first embodiment. Therefore, the related technical details mentioned in the first embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition. Correspondingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment.
本申请的第五实施例涉及一种版本配置方法。The fifth embodiment of the present application relates to a version configuration method.
步骤501,接收所述控制器通过第三通信协议下发的配置命令,所述第三通信协议携带有进行版本配置所需的配置信息的版本识别码。Step 501: Receive a configuration command issued by the controller through a third communication protocol, where the third communication protocol carries a version identification code of configuration information required for version configuration.
步骤502,从所述第三通信协议中提取所述版本识别码。Step 502: Extract the version identification code from the third communication protocol.
步骤503,获取存储有与所述版本识别码匹配的配置信息的所述配置信息管理中心的配置信息管理中心识别码。Step 503: Obtain the configuration information management center identification code of the configuration information management center that stores the configuration information matching the version identification code.
步骤504,根据所述配置信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第四通信协议。Step 504: Generate a fourth communication protocol for communicating with the configuration information management center according to the configuration information management center identification code and the version identification code.
步骤505,基于所述第四通信协议,向所述配置信息管理中心下发配置信息获取命令,供所述配置信息管理中心基于所述第四通信协议反馈与所述版本识别码匹配的配置信息。 Step 505, based on the fourth communication protocol, issue a configuration information acquisition command to the configuration information management center for the configuration information management center to feed back configuration information matching the version identifier based on the fourth communication protocol .
步骤506,接收所述配置信息管理中心通过所述第四通信协议反馈的与所述版本识别码匹配的配置信息。Step 506: Receive configuration information that matches the version identifier and is fed back by the configuration information management center through the fourth communication protocol.
步骤507,根据所述配置信息进行版本配置。Step 507: Perform version configuration according to the configuration information.
本实施例中,为了避免对相同版本进行重复配置,在执行步骤507之前,可以先获取当前运行的当前版本信息;然后,判断所述当前版本信息与所述版本信息是否一致。In this embodiment, in order to avoid repeated configuration of the same version, before step 507 is executed, the current version information currently running may be obtained first; then, it is determined whether the current version information is consistent with the version information.
相应地,若不一致,则执行所述根据所述配置信息进行版本配置的操作;否则,基于所述第三通信协议,向所述控制器作出不需要进行版本配置的反馈。Correspondingly, if they are inconsistent, the operation of performing version configuration according to the configuration information is performed; otherwise, based on the third communication protocol, feedback is made to the controller that version configuration is not required.
此外,为了使得编排器能够获知本次版本配置的情况,待配置网元设备在根据配置信息进行版本配置之后,可以基于第三通信协议向控制器反馈配置结果,比如配置成功或配置失败,进而使得控制器基于第一通信协议将反馈结果告知编排器。In addition, in order to enable the orchestrator to know the current version configuration, after the network element device to be configured performs version configuration according to the configuration information, it can feed back the configuration result to the controller based on the third communication protocol, such as successful configuration or configuration failure, and then The controller is caused to inform the orchestrator of the feedback result based on the first communication protocol.
此外,在实际应用中,待配置网元设备可以为路由器。In addition, in practical applications, the network element device to be configured may be a router.
可理解的,通常情况下,路由器包括主控板和若干个线卡。Understandably, in general, a router includes a main control board and several line cards.
相应地,在所述接收所述配置信息管理中心通过所述第四通信协议反馈的与所述版本识别码匹配的配置信息之后,会将所述配置信息保存到所述主控板;进而由所述主控板获取每一所述线卡的线卡识别码,根据所述版本识别码和每一所述线卡识别码,生成与对应的所述线卡进行通信的第五通信协议,并基于与每一所述线卡之间的所述第五通信协议,向每一所述线卡下发所述配置信息,供每一所述线卡根据所述配置信息进行版本配置。Correspondingly, after receiving the configuration information that matches the version identification code fed back by the configuration information management center through the fourth communication protocol, the configuration information will be saved to the main control board; The main control board obtains the line card identification code of each of the line cards, and generates a fifth communication protocol for communicating with the corresponding line card according to the version identification code and each of the line card identification codes, And based on the fifth communication protocol with each of the line cards, the configuration information is delivered to each of the line cards for each of the line cards to perform version configuration according to the configuration information.
由此,本实施例提供的版本配置方法,通过利用编排器将用户需求按照预先定义的业务类型集转换为对应的业务类型识别码,进而根据标识编排器自身的编排器识别码,以及标识控制器的控制器识别码和确定的业务类型识别码,生成与控制器进行通信的第一通信协议,并基于生成的第一通信协议,向控制器下发配置命令,从而使得控制器在接收到编排器下发的配置命令后,能够控制待配置网元设备自主从配置信息管理中心获取相应的配置信息进行版本配置。由于整个版本配置流程中,仅需编排器、控制器、配置信息管理中心和待配置网元设备进行交互,便可以准确的定位版本配置需要用到的配置信息,根本无需人工干预,从而既做到了提升配置效率,又可以避免因为人工介入造成的人为误差。Therefore, the version configuration method provided by this embodiment converts user requirements into corresponding service type identification codes according to a predefined service type set by using an orchestrator, and then identifies the Based on the controller identification code of the controller and the determined service type identification code, a first communication protocol for communicating with the controller is generated, and based on the generated first communication protocol, a configuration command is issued to the controller, so that the controller receives a configuration command. After the configuration command issued by the orchestrator, the network element device to be configured can be controlled to independently obtain the corresponding configuration information from the configuration information management center to perform version configuration. Because in the entire version configuration process, only the interaction between the orchestrator, the controller, the configuration information management center and the network element to be configured can accurately locate the configuration information required for the version configuration, without manual intervention at all, so that both In order to improve the configuration efficiency, it can avoid human errors caused by manual intervention.
除此之外,对待配置网元设备进行版本配置时所需的配置信息是单独存放在配置信息管理中心的,即不同版本对应的配置信息无需预先存储在每一待配置网元设备中,相同的版本的配置信息只需在配置信息管理中心存储一份即可,从而既可以减少预先在每一待配置网元设备部署不同版本的配置信息的人力,又可以方便后期运维人员对个版本的配置信息的更新维护。同时,通过将配置信息单独存放在配置信息管理中心,也使得对待配置网元设备的版 本配置摆脱了待配置网元设备本地存储空间的限制,从而可以对待配置网元设备实现更多版本的配置,进而更好的满足各种用户需求。In addition, the configuration information required for version configuration of the network element device to be configured is stored separately in the configuration information management center, that is, the configuration information corresponding to different versions does not need to be pre-stored in each network element device to be configured. Only one copy of the configuration information of different versions needs to be stored in the configuration information management center, which not only reduces the manpower required to deploy different versions of configuration information on each NE to be configured in advance, but also facilitates the later operation and maintenance personnel to compare different versions of the configuration information. The update and maintenance of the configuration information. At the same time, by storing the configuration information separately in the configuration information management center, the version configuration of the network element device to be configured is free from the limitation of the local storage space of the network element device to be configured, so that more versions of the configuration of the network element device to be configured can be realized. , so as to better meet the needs of various users.
此外,不难发现,本实施例中提到的编排器、控制器、配置信息管理中心和待配置网元设备分别与第一实施例中涉及的编排器、控制器、配置信息管理中心和待配置网元设备对应,即本实施例可与第一实施例互相配合实施。故而,第一实施例中提到的相关技术细节在本实施例中依然有效,为了减少重复,这里不再赘述。相应地,本实施例中提到的相关技术细节也可应用在第一实施例中。In addition, it is not difficult to find that the orchestrator, controller, configuration information management center and to-be-configured network element device mentioned in this embodiment are respectively different from the orchestrator, controller, configuration information management center and to-be-configured network element device involved in the first embodiment. The configuration corresponds to the network element equipment, that is, this embodiment can be implemented in cooperation with the first embodiment. Therefore, the related technical details mentioned in the first embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition. Correspondingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment.
此外,应当理解的是,上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。In addition, it should be understood that the division of steps of the various methods above is only for the purpose of describing clearly, and can be combined into one step or split into some steps during implementation, and decomposed into multiple steps, as long as the same logical relationship is included, all Within the protection scope of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs, but not changing the core design of the algorithm and process are all within the protection scope of this patent.
本申请第六实施例涉及一种版本配置装置,如图6所示,包括:确定模块601、获取模块602、生成模块603和发送模块604。The sixth embodiment of the present application relates to a version configuration apparatus, as shown in FIG. 6 , including: a determination module 601 , an acquisition module 602 , a generation module 603 , and a transmission module 604 .
其中,确定模块601,用于接收用户需求,根据预先定义的业务类型集,确定所述用户需求对应的业务类型识别码,所述业务类型集包括各用户需求和各业务类型识别码的对应关系;获取模块602,用于获取编排器识别码和所述控制器的控制器识别码;生成模块603,用于根据所述编排器识别码、所述控制器识别码和所述业务类型识别码,生成与所述控制器进行通信的第一通信协议;发送模块604,用于基于所述第一通信协议,向所述控制器下发配置命令,供所述控制器控制所述待配置网元设备从所述配置信息管理中心中获取配置信息进行版本配置。The determining module 601 is configured to receive user requirements, and determine a service type identification code corresponding to the user requirement according to a predefined service type set, where the service type set includes the corresponding relationship between each user requirement and each service type identification code Obtaining module 602 is used to obtain the sequencer identification code and the controller identification code of the controller; Generation module 603 is used to obtain the sequencer identification code, the controller identification code and the service type identification code according to the sequencer identification code , generating a first communication protocol for communicating with the controller; the sending module 604 is configured to, based on the first communication protocol, issue a configuration command to the controller for the controller to control the network to be configured The meta-device obtains configuration information from the configuration information management center to perform version configuration.
此外,在另一个例子中,版本配置装置还包括需求输入模块。In addition, in another example, the version configuration apparatus further includes a requirement input module.
本实施例中,需求输入模块,用于在确定模块601执行上述操作之前,对用户提交的用户需求的合法性进行约束检查。In this embodiment, the requirement input module is configured to check the validity of the user requirement submitted by the user before the determination module 601 performs the above operation.
相应地,若所述用户需求合法,则执行触发确定模块601执行上述操作;否则,拒绝所述用户需求。Correspondingly, if the user requirement is valid, the trigger determination module 601 is executed to perform the above operation; otherwise, the user requirement is rejected.
此外,在另一个例子中,版本配置装置还包括需求分析模块。In addition, in another example, the version configuration apparatus further includes a requirement analysis module.
本实施例中,需求分析模块,用于需求输入模块确定用户需求合法之后,确定模块601执行上述操作之前,根据预设的逻辑分析规则,判断所述用户需求是否为有效需求。In this embodiment, the demand analysis module is used to determine whether the user demand is a valid demand according to a preset logic analysis rule after the demand input module determines that the user demand is valid and before the determination module 601 performs the above operation.
相应地,若所述用户需求为有效需求,则通知确定模块601执行据预先定义的业务类型集,确定所述用户需求对应的业务类型识别码的操作。Correspondingly, if the user requirement is a valid requirement, the notification determination module 601 performs an operation of determining the service type identification code corresponding to the user requirement according to a predefined service type set.
不难发现,本实施例为与第二实施例相对应的装置实施例,本实施例可与第二实施例互相配合实施。第二实施例中提到的相关技术细节在本实施例中依然有效,为了减少重复,这里不再赘述。相应地,本实施例中提到的相关技术细节也可应用在第二实施例中。It is not difficult to find that this embodiment is a device embodiment corresponding to the second embodiment, and this embodiment can be implemented in cooperation with the second embodiment. The related technical details mentioned in the second embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition. Correspondingly, the related technical details mentioned in this embodiment can also be applied in the second embodiment.
本申请第七实施例涉及一种版本配置装置,如图7所示,包括:接收模块701、确定模块702、获取模块703、生成模块704和发送模块705。The seventh embodiment of the present application relates to a version configuration apparatus, as shown in FIG. 7 , including: a receiving module 701 , a determining module 702 , an obtaining module 703 , a generating module 704 and a sending module 705 .
其中,接收模块701,用于接收所述编排器通过第一通信协议下发的配置命令,所述第一通信协议携带有用户需求对应的业务类型识别码;确定模块702,用于从所述第一通信协议中提取所述业务类型识别码,并根据所述业务类型识别码确定对所述待配置网元设备进行版本配置所需的配置信息的版本识别码;获取模块703,用于获取控制器识别码和所述配置 信息管理中心的配置信息管理中心识别码;生成模块704,用于根据所述控制器识别码、所述配置信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第二通信协议;发送模块705,用于基于所述第二通信协议,向所述配置信息管理中心下发配置信息搜索命令,供所述配置信息管理中心确定是否存储有与所述版本识别码匹配的配置信息。The receiving module 701 is configured to receive a configuration command issued by the orchestrator through a first communication protocol, and the first communication protocol carries the service type identification code corresponding to the user's requirement; the determining module 702 is configured to obtain a configuration command from the The service type identification code is extracted from the first communication protocol, and the version identification code of the configuration information required for version configuration of the network element device to be configured is determined according to the service type identification code; the obtaining module 703 is used for obtaining The controller identification code and the configuration information management center identification code of the configuration information management center; the generating module 704 is configured to generate and match the controller identification code, the configuration information management center identification code and the version identification code according to the The second communication protocol for the configuration information management center to communicate; the sending module 705 is configured to issue a configuration information search command to the configuration information management center based on the second communication protocol, for the configuration information management center to determine Whether configuration information matching the version identifier is stored.
此外,在另一个例子中,接收模块701,还用于接收所述配置管理中心通过所述第二通信协议反馈的搜索结果。In addition, in another example, the receiving module 701 is further configured to receive the search result fed back by the configuration management center through the second communication protocol.
相应地,若所述搜索结果为所述配置信息管理中心未存储与所述版本识别码匹配的配置信息,则基于所述第一通信协议,向所述编排器作出配置失败的响应;若所述搜索结果为所述配置信息管理中心存储有与所述版本识别码匹配的配置信息,则通知获取模块703获取所述待配置网元设备的网元识别码;生成模块704还用于根据所述控制器识别码、所述网元识别码和所述版本识别码,生成与所述待配置网元设备进行通信的第三通信协议;发送模块705还用于基于所述第三通信协议,向所述待配置网元设备下发配置命令,供所述待配置网元设备从所述配置信息管理中心获取所述版本识别码对应的配置信息进行版本配置。Correspondingly, if the search result is that the configuration information management center does not store the configuration information matching the version identifier, then based on the first communication protocol, a response of configuration failure is made to the orchestrator; If the search result is that the configuration information management center stores configuration information that matches the version identification code, the acquisition module 703 is notified to obtain the network element identification code of the to-be-configured network element device; the generation module 704 is further configured to The controller identification code, the network element identification code and the version identification code are used to generate a third communication protocol for communicating with the to-be-configured network element device; the sending module 705 is further configured to, based on the third communication protocol, A configuration command is issued to the to-be-configured network element device, so that the to-be-configured network element device obtains configuration information corresponding to the version identification code from the configuration information management center to perform version configuration.
此外,在另一个例子中,版本配置装置还包括业务类型输入模块。In addition, in another example, the version configuration apparatus further includes a service type input module.
本实施例中,业务类型输入模块,用于对所述第一通信协议中携带的所述业务类型识别码对应的业务类型的合法性进行约束检查。In this embodiment, the service type input module is configured to perform constraint checking on the validity of the service type corresponding to the service type identification code carried in the first communication protocol.
相应地,若所述业务类型合法,则触发接收模块701执行所述接收所述编排器通过第一通信协议下发的配置命令的操作;否则,触发接收模块701执行基于所述第一通信协议,向所述编排器作出所述业务类型不合法的响应的操作。Correspondingly, if the service type is legal, the receiving module 701 is triggered to perform the operation of receiving the configuration command issued by the orchestrator through the first communication protocol; otherwise, the receiving module 701 is triggered to perform the operation based on the first communication protocol. , and make a response operation that the service type is illegal to the orchestrator.
此外,在另一个例子中,版本配置装置还包括业务类型分析模块。In addition, in another example, the version configuration apparatus further includes a service type analysis module.
本实施例中,业务类型分析模块,用于根据预设的逻辑分析规则,判断所述业务类型是否为有效业务类型。In this embodiment, the service type analysis module is configured to judge whether the service type is a valid service type according to a preset logic analysis rule.
相应地,若所述业务类型是有效业务类型,则触发生成模块704执行所述根据所述控制器识别码、所述配置信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第二通信协议的操作。Correspondingly, if the service type is a valid service type, the trigger generation module 704 executes the process of generating the configuration information corresponding to the configuration information according to the controller identification code, the configuration information management center identification code and the version identification code. The management center communicates the operation of the second communication protocol.
不难发现,本实施例为与第三实施例相对应的装置实施例,本实施例可与第三实施例互相配合实施。第三实施例中提到的相关技术细节在本实施例中依然有效,为了减少重复,这里不再赘述。相应地,本实施例中提到的相关技术细节也可应用在第三实施例中。It is not difficult to find that this embodiment is a device embodiment corresponding to the third embodiment, and this embodiment can be implemented in cooperation with the third embodiment. The related technical details mentioned in the third embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition. Correspondingly, the relevant technical details mentioned in this embodiment can also be applied in the third embodiment.
本申请第八实施例涉及一种版本配置装置,如图8所示,包括:接收模块801、搜索模块802和发送模块803。The eighth embodiment of the present application relates to a version configuration apparatus, as shown in FIG. 8 , including: a receiving module 801 , a searching module 802 and a sending module 803 .
其中,接收模块801,用于接收所述控制器通过第二通信协议下发的配置信息搜索命令,所述第二通信协议携带有对所述待配置网元设备进行版本配置所需的配置信息的版本识别码;搜索模块802,用于从所述第二通信协议中提取所述版本识别码,并根据所述版本识别码对本地存储的配置信息进行遍历;若遍历到与所述版本识别码匹配的配置信息,则将所述配置信息管理中心存储有与所述版本识别码匹配的配置信息作为搜索结果;若未遍历到与所述版本识别码匹配的配置信息,则将所述配置信息管理中心未存储与所述版本识别码匹配的配置信息作为所述搜索结果;发送模块803,用于基于所述第二通信协议,向所述控制器反馈所述搜索结果,供所述控制器向所述编排器作出配置失败的响应,或控制所述待配置网元设备 从所述配置信息管理中心中获取与所述版本识别码匹配的配置信息进行版本配置。The receiving module 801 is configured to receive a configuration information search command issued by the controller through a second communication protocol, where the second communication protocol carries configuration information required for version configuration of the network element device to be configured The version identification code; the search module 802 is used to extract the version identification code from the second communication protocol, and traverse the locally stored configuration information according to the version identification code; If the configuration information matching the version identification code is stored in the configuration information management center as a search result; if no configuration information matching the version identification code is found, the configuration information matching the version identification code is not found. The information management center does not store the configuration information matching the version identification code as the search result; the sending module 803 is configured to feed back the search result to the controller based on the second communication protocol for the control The controller makes a configuration failure response to the orchestrator, or controls the to-be-configured network element device to obtain configuration information matching the version identifier from the configuration information management center to perform version configuration.
此外,在另一个例子中,接收模块801,还用于接收所述待配置网元设备通过第四通信协议下发的配置信息获取命令,所述第四通信协议携带有对所述待配置网元设备进行版本配置所需的配置信息的版本识别码;发送模块803,还用于基于所述第四通信协议,向所述待配置网元设备反馈与所述版本识别码匹配的配置信息,供所述待配置网元设备进行版本配置。In addition, in another example, the receiving module 801 is further configured to receive a configuration information acquisition command issued by the to-be-configured network element device through a fourth communication protocol, where the fourth communication protocol carries information about the to-be-configured network element device. The version identification code of the configuration information required by the element device to perform version configuration; the sending module 803 is further configured to feed back the configuration information matching the version identification code to the network element device to be configured based on the fourth communication protocol, The version configuration is performed on the network element device to be configured.
不难发现,本实施例为与第四实施例相对应的装置实施例,本实施例可与第四实施例互相配合实施。第四实施例中提到的相关技术细节在本实施例中依然有效,为了减少重复,这里不再赘述。相应地,本实施例中提到的相关技术细节也可应用在第四实施例中。It is not difficult to find that this embodiment is a device embodiment corresponding to the fourth embodiment, and this embodiment can be implemented in cooperation with the fourth embodiment. The related technical details mentioned in the fourth embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition. Correspondingly, the related technical details mentioned in this embodiment can also be applied in the fourth embodiment.
本申请第九实施例涉及一种版本配置装置,如图9所示,包括:接收模块901、提取模块902、获取模块903、生成模块904、发送模块905和配置模块906。The ninth embodiment of the present application relates to a version configuration apparatus, as shown in FIG.
其中,接收模块901,用于接收所述控制器通过第三通信协议下发的配置命令,所述第三通信协议携带有进行版本配置所需的配置信息的版本识别码;提取模块902,用于从所述第三通信协议中提取所述版本识别码;获取模块903,用于获取存储有与所述版本识别码匹配的配置信息的所述配置信息管理中心的配置信息管理中心识别码;生成模块904,用于根据所述配置信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第四通信协议;发送模块905,用于基于所述第四通信协议,向所述配置信息管理中心下发配置信息获取命令,供所述配置信息管理中心基于所述第四通信协议反馈与所述版本识别码匹配的配置信息;接收模块901,还用于接收所述配置信息管理中心通过所述第四通信协议反馈的与所述版本识别码匹配的配置信息;配置模块906,用于根据所述配置信息进行版本配置。The receiving module 901 is configured to receive a configuration command issued by the controller through a third communication protocol, where the third communication protocol carries the version identification code of the configuration information required for version configuration; the extracting module 902 is configured to use to extract the version identification code from the third communication protocol; an acquisition module 903 is used to obtain the configuration information management center identification code of the configuration information management center that stores the configuration information matching the version identification code; The generating module 904 is used for generating the fourth communication protocol for communicating with the configuration information management center according to the configuration information management center identification code and the version identification code; the sending module 905 is used for based on the fourth communication protocol, and issue a configuration information acquisition command to the configuration information management center for the configuration information management center to feed back configuration information matching the version identification code based on the fourth communication protocol; the receiving module 901 is further configured to receive The configuration information matching the version identification code fed back by the configuration information management center through the fourth communication protocol; the configuration module 906 is configured to perform version configuration according to the configuration information.
此外,在另一个例子中,接收模块901,还用于基于所述第三通信协议,向所述控制器反馈配置结果,比如配置成功或配置失败。In addition, in another example, the receiving module 901 is further configured to feed back a configuration result to the controller based on the third communication protocol, for example, the configuration succeeds or the configuration fails.
此外,在另一个例子中,版本配置装置还包括配置信息检测模块。In addition, in another example, the version configuration apparatus further includes a configuration information detection module.
本实施例中,获取模块903,用于获取当前运行的当前版本信息。In this embodiment, the obtaining module 903 is configured to obtain the current version information currently running.
配置信息检测模块,用于判断所述当前版本信息与所述版本信息是否一致。A configuration information detection module, configured to determine whether the current version information is consistent with the version information.
相应地,若不一致,则执行触发配置模块906执行根据所述配置信息进行版本配置的操作;否则,触发接收模块901执行基于所述第三通信协议,向所述控制器作出不需要进行版本配置的反馈的操作。Correspondingly, if it is inconsistent, the triggering configuration module 906 is executed to perform the operation of performing version configuration according to the configuration information; otherwise, the triggering receiving module 901 is executed based on the third communication protocol, to the controller that no version configuration is required. feedback action.
此外,在另一个例子中,待配置网元设备为路由器,所述路由器包括主控板和若干个线卡。In addition, in another example, the network element device to be configured is a router, and the router includes a main control board and several line cards.
相应地,接收模块901在接收所述配置信息管理中心通过所述第四通信协议反馈的与所述版本识别码匹配的配置信息之后,还会执行将所述配置信息保存到所述主控板的操作。Correspondingly, after receiving the configuration information that matches the version identification code fed back by the configuration information management center through the fourth communication protocol, the receiving module 901 also executes saving the configuration information to the main control board. operation.
相应地,配置模块906,在根据所述配置信息进行版本配置时,具体为:Correspondingly, when the configuration module 906 performs version configuration according to the configuration information, it is specifically:
所述主控板获取每一所述线卡的线卡识别码;the main control board obtains the line card identification code of each of the line cards;
所述主控板根据所述版本识别码和每一所述线卡识别码,生成与对应的所述线卡进行通信的第五通信协议;The main control board generates a fifth communication protocol for communicating with the corresponding line card according to the version identification code and each of the line card identification codes;
所述主控板基于与每一所述线卡之间的所述第五通信协议,向每一所述线卡下发所述配置信息,供每一所述线卡根据所述配置信息进行版本配置。The main control board issues the configuration information to each of the line cards based on the fifth communication protocol with each of the line cards, for each of the line cards to perform operations according to the configuration information. version configuration.
不难发现,本实施例为与第五实施例相对应的装置实施例,本实施例可与第五实施例互 相配合实施。第五实施例中提到的相关技术细节在本实施例中依然有效,为了减少重复,这里不再赘述。相应地,本实施例中提到的相关技术细节也可应用在第五实施例中。It is not difficult to find that this embodiment is a device embodiment corresponding to the fifth embodiment, and this embodiment can be implemented in cooperation with the fifth embodiment. The relevant technical details mentioned in the fifth embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition. Correspondingly, the related technical details mentioned in this embodiment can also be applied to the fifth embodiment.
值得一提的是,本实施例中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本申请的创新部分,本实施例中并没有将与解决本申请所提出的技术问题关系不太密切的单元引入,但这并不表明本实施例中不存在其它的单元。It is worth mentioning that all the modules involved in this embodiment are logical modules. In practical applications, a logical unit may be a physical unit, a part of a physical unit, or multiple physical units. A composite implementation of the unit. In addition, in order to highlight the innovative part of the present application, this embodiment does not introduce units that are not closely related to solving the technical problem raised by the present application, but this does not mean that there are no other units in this embodiment.
本申请的第十实施例涉及一种版本配置设备,如图10所示,包括:包括至少一个处理器1001;以及,与至少一个处理器1001通信连接的存储器1002;其中,存储器1002存储有可被至少一个处理器1001执行的指令,指令被至少一个处理器1001执行,以使至少一个处理器1001能够执行上述方法实施例所描述的版本配置方法。The tenth embodiment of the present application relates to a version configuration device, as shown in FIG. 10 , comprising: at least one processor 1001 ; and a memory 1002 communicatively connected to the at least one processor 1001 ; wherein the memory 1002 stores a Instructions executed by the at least one processor 1001, the instructions are executed by the at least one processor 1001, so that the at least one processor 1001 can execute the version configuration method described in the above method embodiments.
需要说明的是,在实际应用中,本实施例中所说的版本配置设备,可能是编排器、控制器、配置信息管理中心和待配置网元设备中的任意一种。It should be noted that, in practical applications, the version configuration device mentioned in this embodiment may be any one of an orchestrator, a controller, a configuration information management center, and a network element device to be configured.
故而,上述所说的版本配置设备中的处理器1001能够执行上述方法实施例所描述的版本配置方法,具体为:Therefore, the processor 1001 in the above-mentioned version configuration device can execute the version configuration method described in the above method embodiment, specifically:
在所述版本配置设备为编排器时,内部的处理器1001执行的为应用于编排器的版本配置方法,即上述第二实施例所描述的版本配置方法。When the version configuration device is an orchestrator, the internal processor 1001 executes the version configuration method applied to the orchestrator, that is, the version configuration method described in the second embodiment above.
相应地,在所述版本配置设备为控制器时,内部的处理器1001执行的为应用于控制器的版本配置方法,即上述第三实施例所描述的版本配置方法。Correspondingly, when the version configuration device is a controller, the internal processor 1001 executes the version configuration method applied to the controller, that is, the version configuration method described in the third embodiment above.
相应地,在所述版本配置设备为配置信息管理中心时,内部的处理器1001执行的为应用于配置信息管理中心的版本配置方法,即上述第四实施例所描述的版本配置方法。Correspondingly, when the version configuration device is the configuration information management center, the internal processor 1001 executes the version configuration method applied to the configuration information management center, that is, the version configuration method described in the fourth embodiment.
相应地,在所述版本配置设备为待配置网元设备时,内部的处理器1001执行的为应用于待配置网元设备的版本配置方法,即上述第五实施例所描述的版本配置方法。Correspondingly, when the version configuration device is the network element device to be configured, the internal processor 1001 executes the version configuration method applied to the network element device to be configured, that is, the version configuration method described in the fifth embodiment.
此外,可理解的,在实际应用中,存储器1002和处理器1001采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器1001和存储器1002的各种电路连接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器1001处理的数据通过天线在无线介质上进行传输,进一步,天线还接收数据并将数据传送给处理器1001。In addition, it can be understood that in practical applications, the memory 1002 and the processor 1001 are connected by a bus, and the bus may include any number of interconnected buses and bridges. The bus connects one or more processors 1001 and various circuits of the memory 1002 connected. The bus may also connect together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides the interface between the bus and the transceiver. A transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing a means for communicating with various other devices over a transmission medium. The data processed by the processor 1001 is transmitted on the wireless medium through the antenna, and further, the antenna also receives the data and transmits the data to the processor 1001 .
处理器1001负责管理总线和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器1002可以被用于存储处理器1001在执行操作时所使用的数据。The processor 1001 is responsible for managing the bus and general processing, and may also provide various functions including timing, peripheral interface, voltage regulation, power management, and other control functions. And the memory 1002 may be used to store data used by the processor 1001 when performing operations.
本申请的第十一实施例涉及一种计算机可读存储介质,存储有计算机程序。计算机程序被处理器执行时实现上述方法实施例所描述的版本配置方法。The eleventh embodiment of the present application relates to a computer-readable storage medium storing a computer program. When the computer program is executed by the processor, the version configuration method described in the above method embodiment is implemented.
同理,由于在实际应用中,本实施例中所说的版本配置设备,可能是编排器、控制器、配置信息管理中心和待配置网元设备中的任意一种。Similarly, in practical applications, the version configuration device mentioned in this embodiment may be any one of an orchestrator, a controller, a configuration information management center, and a network element device to be configured.
故而,在实际应用中,本实施例中所说的计算机存储介质涉及适应于上述四种版本配置设备的计算机可读存储介质。Therefore, in practical applications, the computer storage medium mentioned in this embodiment refers to a computer-readable storage medium suitable for the above-mentioned four versions of the configuration device.
相应地,上述所说的计算机程序被处理器执行时实现上述方法实施例所描述的版本配置 方法,具体为:Correspondingly, when the above-mentioned computer program is executed by the processor, the version configuration method described in the above method embodiment is realized, specifically:
在所述版本配置设备为编排器时,部署于编排器内的计算机程序被内部的处理器执行时,具体实现的是应用于编排器的版本配置方法,即上述第二实施例所描述的版本配置方法。When the version configuration device is an orchestrator, when the computer program deployed in the orchestrator is executed by the internal processor, what is specifically implemented is the version configuration method applied to the orchestrator, that is, the version described in the second embodiment above. configuration method.
相应地,在所述版本配置设备为控制器时,部署于控制器内的计算机程序被内部的处理器执行时,具体实现的是应用于控制器的版本配置方法,即上述第三实施例所描述的版本配置方法。Correspondingly, when the version configuration device is a controller, when the computer program deployed in the controller is executed by the internal processor, what is specifically implemented is the version configuration method applied to the controller, that is, the above third embodiment. Describes the version configuration method.
相应地,在所述版本配置设备为配置信息管理中心时,部署于配置信息管理中心内的计算机程序被内部的处理器执行时,具体实现的是应用于配置信息管理中心的版本配置方法,即上述第四实施例所描述的版本配置方法。Correspondingly, when the version configuration device is the configuration information management center, when the computer program deployed in the configuration information management center is executed by the internal processor, what is specifically implemented is the version configuration method applied to the configuration information management center, that is, The version configuration method described in the fourth embodiment above.
相应地,在所述版本配置设备为待配置网元设备时,部署于待配置网元设备内的计算机程序被内部的处理器执行时,具体实现的是应用于待配置网元设备的版本配置方法,即上述第五实施例所描述的版本配置方法。Correspondingly, when the version configuration device is the to-be-configured network element device, when the computer program deployed in the to-be-configured network element device is executed by the internal processor, the version configuration applied to the to-be-configured network element device is specifically implemented. method, that is, the version configuration method described in the fifth embodiment.
即,本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。That is, those skilled in the art can understand that all or part of the steps in the method for implementing the above embodiments can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium and includes several instructions to make a device ( It may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
本领域的普通技术人员可以理解,上述各实施例是实现本申请的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本申请的精神和范围。Those of ordinary skill in the art can understand that the above-mentioned embodiments are specific embodiments for realizing the present application, and in practical applications, various changes in form and details can be made without departing from the spirit and the spirit of the present application. scope.

Claims (16)

  1. 一种版本配置方法,应用于版本配置系统中的编排器,所述版本配置系统还包括控制器、配置信息管理中心和待配置网元设备,所述版本配置方法包括:A version configuration method is applied to an orchestrator in a version configuration system, wherein the version configuration system further includes a controller, a configuration information management center and a network element device to be configured, and the version configuration method includes:
    接收用户需求,根据预先定义的业务类型集,确定所述用户需求对应的业务类型识别码,所述业务类型集包括各用户需求和各业务类型识别码的对应关系;Receive user requirements, and determine a service type identification code corresponding to the user requirement according to a predefined service type set, where the service type set includes the corresponding relationship between each user requirement and each service type identification code;
    获取编排器识别码和所述控制器的控制器识别码;obtain the identifier of the orchestrator and the identifier of the controller of the controller;
    根据所述编排器识别码、所述控制器识别码和所述业务类型识别码,生成与所述控制器进行通信的第一通信协议;generating a first communication protocol for communicating with the controller according to the orchestrator identification code, the controller identification code and the service type identification code;
    基于所述第一通信协议,向所述控制器下发配置命令,供所述控制器控制所述待配置网元设备从所述配置信息管理中心中获取配置信息进行版本配置。Based on the first communication protocol, a configuration command is delivered to the controller for the controller to control the to-be-configured network element device to obtain configuration information from the configuration information management center to perform version configuration.
  2. 根据权利要求1所述的方法,其中,在所述接收用户需求之前,所述方法还包括:The method according to claim 1, wherein, before the receiving user requirements, the method further comprises:
    对所述用户需求的合法性进行约束检查;Check the validity of the user requirements;
    若所述用户需求合法,则执行所述接收所述用户需求的步骤;If the user requirement is legal, the step of receiving the user requirement is performed;
    否则,拒绝所述用户需求。Otherwise, the user requirement is rejected.
  3. 根据权利要求2所述的方法,其中,在所述根据预先定义的业务类型集,确定所述用户需求对应的业务类型识别码之前,所述方法还包括:The method according to claim 2, wherein, before determining the service type identification code corresponding to the user requirement according to the predefined service type set, the method further comprises:
    根据预设的逻辑分析规则,判断所述用户需求是否为有效需求;Judging whether the user requirement is an effective requirement according to a preset logic analysis rule;
    若所述用户需求为有效需求,则执行所述根据预先定义的业务类型集,确定所述用户需求对应的业务类型识别码的步骤。If the user requirement is a valid requirement, the step of determining the service type identification code corresponding to the user requirement according to the predefined service type set is performed.
  4. 一种版本配置方法,应用于版本配置系统中的控制器,所述版本配置系统还包括编排器、配置信息管理中心和待配置网元设备,所述版本配置方法包括:A version configuration method is applied to a controller in a version configuration system, wherein the version configuration system further includes an orchestrator, a configuration information management center, and a network element device to be configured, and the version configuration method includes:
    接收所述编排器通过第一通信协议下发的配置命令,所述第一通信协议携带有用户需求对应的业务类型识别码;receiving a configuration command issued by the scheduler through a first communication protocol, where the first communication protocol carries a service type identification code corresponding to a user requirement;
    从所述第一通信协议中提取所述业务类型识别码,并根据所述业务类型识别码确定对所述待配置网元设备进行版本配置所需的配置信息的版本识别码;Extract the service type identification code from the first communication protocol, and determine the version identification code of the configuration information required for version configuration of the to-be-configured network element device according to the service type identification code;
    获取控制器识别码和所述配置信息管理中心的配置信息管理中心识别码;Obtain the controller identification code and the configuration information management center identification code of the configuration information management center;
    根据所述控制器识别码、所述配置信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第二通信协议;generating a second communication protocol for communicating with the configuration information management center according to the controller identification code, the configuration information management center identification code and the version identification code;
    基于所述第二通信协议,向所述配置信息管理中心下发配置信息搜索命令,供所述配置信息管理中心确定是否存储有与所述版本识别码匹配的配置信息。Based on the second communication protocol, a configuration information search command is issued to the configuration information management center for the configuration information management center to determine whether configuration information matching the version identifier is stored.
  5. 根据权利要求4所述的方法,其中,在所述基于所述第二通信协议,向所述配置信息管理中心下发配置信息搜索命令之后,所述方法还包括:The method according to claim 4, wherein after the configuration information search command is issued to the configuration information management center based on the second communication protocol, the method further comprises:
    接收所述配置管理中心通过所述第二通信协议反馈的搜索结果;receiving the search result fed back by the configuration management center through the second communication protocol;
    若所述搜索结果为所述配置信息管理中心未存储与所述版本识别码匹配的配置信息,则基于所述第一通信协议,向所述编排器作出配置失败的响应;If the search result is that the configuration information management center does not store the configuration information matching the version identifier, making a configuration failure response to the orchestrator based on the first communication protocol;
    若所述搜索结果为所述配置信息管理中心存储有与所述版本识别码匹配的配置信息,则获取所述待配置网元设备的网元识别码;If the search result is that the configuration information management center stores configuration information matching the version identification code, acquiring the network element identification code of the to-be-configured network element device;
    根据所述控制器识别码、所述网元识别码和所述版本识别码,生成与所述待配置网元设 备进行通信的第三通信协议;generating a third communication protocol for communicating with the to-be-configured network element device according to the controller identification code, the network element identification code and the version identification code;
    基于所述第三通信协议,向所述待配置网元设备下发配置命令,供所述待配置网元设备从所述配置信息管理中心获取所述版本识别码对应的配置信息进行版本配置。Based on the third communication protocol, a configuration command is delivered to the to-be-configured network element device for the to-be-configured network element device to obtain configuration information corresponding to the version identifier from the configuration information management center for version configuration.
  6. 根据权利要求4至5中任一项所述的方法,其中,在所述接收所述编排器通过第一通信协议下发的配置命令之前,所述方法还包括:The method according to any one of claims 4 to 5, wherein before the receiving the configuration command issued by the orchestrator through the first communication protocol, the method further comprises:
    对所述第一通信协议中携带的所述业务类型识别码对应的业务类型的合法性进行约束检查;Carrying out a constraint check on the validity of the service type corresponding to the service type identification code carried in the first communication protocol;
    若所述业务类型合法,则执行所述接收所述编排器通过第一通信协议下发的配置命令的步骤;If the service type is legal, the step of receiving the configuration command sent by the orchestrator through the first communication protocol is performed;
    否则,基于所述第一通信协议,向所述编排器作出所述业务类型不合法的响应。Otherwise, based on the first communication protocol, a response is made to the orchestrator that the service type is invalid.
  7. 根据权利要求6所述的方法,其中,在所述根据所述控制器识别码、所述配置信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第二通信协议之前,所述方法还包括:The method according to claim 6, wherein in said generating the second communication with the configuration information management center according to the controller identification code, the configuration information management center identification code and the version identification code Before the communication protocol, the method further includes:
    根据预设的逻辑分析规则,判断所述业务类型是否为有效业务类型;According to preset logic analysis rules, determine whether the business type is a valid business type;
    若是,则执行所述根据所述控制器识别码、所述配置信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第二通信协议的步骤。If so, the step of generating a second communication protocol for communicating with the configuration information management center according to the controller identification code, the configuration information management center identification code and the version identification code is performed.
  8. 一种版本配置方法,应用于版本配置系统中的配置信息管理中心,所述版本配置系统还包括编排器、控制器和待配置网元设备,所述版本配置方法包括:A version configuration method is applied to a configuration information management center in a version configuration system, wherein the version configuration system further includes an orchestrator, a controller and a network element device to be configured, and the version configuration method includes:
    接收所述控制器通过第二通信协议下发的配置信息搜索命令,所述第二通信协议携带有对所述待配置网元设备进行版本配置所需的配置信息的版本识别码;receiving a configuration information search command issued by the controller through a second communication protocol, where the second communication protocol carries a version identification code of configuration information required for version configuration of the to-be-configured network element device;
    从所述第二通信协议中提取所述版本识别码,并根据所述版本识别码对本地存储的配置信息进行遍历;Extract the version identification code from the second communication protocol, and traverse the locally stored configuration information according to the version identification code;
    若遍历到与所述版本识别码匹配的配置信息,则将所述配置信息管理中心存储有与所述版本识别码匹配的配置信息作为搜索结果;If the configuration information matching the version identification code is traversed, the configuration information management center stores the configuration information matching the version identification code as a search result;
    若未遍历到与所述版本识别码匹配的配置信息,则将所述配置信息管理中心未存储与所述版本识别码匹配的配置信息作为所述搜索结果;If the configuration information matching the version identification code is not traversed, the configuration information management center that does not store the configuration information matching the version identification code is used as the search result;
    基于所述第二通信协议,向所述控制器反馈所述搜索结果,供所述控制器向所述编排器作出配置失败的响应,或控制所述待配置网元设备从所述配置信息管理中心中获取与所述版本识别码匹配的配置信息进行版本配置。Based on the second communication protocol, the search result is fed back to the controller, so that the controller can respond to the orchestrator for a configuration failure, or control the to-be-configured network element device to manage from the configuration information The configuration information matching the version identification code is obtained in the center for version configuration.
  9. 根据权利要求8所述的方法,其中,在所述基于所述第二通信协议,向所述控制器反馈所述搜索结果之后,所述方法还包括:The method according to claim 8, wherein after the feedback of the search result to the controller based on the second communication protocol, the method further comprises:
    接收所述待配置网元设备通过第四通信协议下发的配置信息获取命令,所述第四通信协议携带有对所述待配置网元设备进行版本配置所需的配置信息的版本识别码;receiving a configuration information acquisition command issued by the to-be-configured network element device through a fourth communication protocol, where the fourth communication protocol carries a version identification code of configuration information required for version configuration of the to-be-configured network element device;
    基于所述第四通信协议,向所述待配置网元设备反馈与所述版本识别码匹配的配置信息,供所述待配置网元设备进行版本配置。Based on the fourth communication protocol, the configuration information matching the version identifier is fed back to the to-be-configured network element device for the to-be-configured network element device to perform version configuration.
  10. 一种版本配置方法,应用于版本配置系统中的待配置网元设备,所述版本配置系统还包括编排器、控制器和配置信息管理中心,所述版本配置方法包括:A version configuration method is applied to a network element device to be configured in a version configuration system, the version configuration system further includes an orchestrator, a controller and a configuration information management center, and the version configuration method includes:
    接收所述控制器通过第三通信协议下发的配置命令,所述第三通信协议携带有进行版本配置所需的配置信息的版本识别码;receiving a configuration command issued by the controller through a third communication protocol, where the third communication protocol carries a version identification code of configuration information required for version configuration;
    从所述第三通信协议中提取所述版本识别码;extracting the version identifier from the third communication protocol;
    获取存储有与所述版本识别码匹配的配置信息的所述配置信息管理中心的配置信息管理中心识别码;Obtain the configuration information management center identification code of the configuration information management center that stores the configuration information matching the version identification code;
    根据所述配置信息管理中心识别码和所述版本识别码,生成与所述配置信息管理中心进行通信的第四通信协议;generating a fourth communication protocol for communicating with the configuration information management center according to the configuration information management center identification code and the version identification code;
    基于所述第四通信协议,向所述配置信息管理中心下发配置信息获取命令,供所述配置信息管理中心基于所述第四通信协议反馈与所述版本识别码匹配的配置信息;Based on the fourth communication protocol, issue a configuration information acquisition command to the configuration information management center for the configuration information management center to feed back configuration information matching the version identifier based on the fourth communication protocol;
    接收所述配置信息管理中心通过所述第四通信协议反馈的与所述版本识别码匹配的配置信息;receiving the configuration information that matches the version identification code fed back by the configuration information management center through the fourth communication protocol;
    根据所述配置信息进行版本配置。The version configuration is performed according to the configuration information.
  11. 根据权利要求10所述的方法,其中,在所述根据所述配置信息进行版本配置之后,所述方法还包括:The method according to claim 10, wherein after the version configuration is performed according to the configuration information, the method further comprises:
    基于所述第三通信协议,向所述控制器反馈配置结果。Based on the third communication protocol, the configuration result is fed back to the controller.
  12. 根据权利要求10至11中任一项所述的方法,其中,在所述根据所述配置信息进行版本配置之前,所述方法还包括:The method according to any one of claims 10 to 11, wherein before the version configuration is performed according to the configuration information, the method further comprises:
    获取当前运行的当前版本信息;Get the current version information that is currently running;
    判断所述当前版本信息与所述版本信息是否一致;Determine whether the current version information is consistent with the version information;
    若不一致,则执行所述根据所述配置信息进行版本配置的步骤;If it is inconsistent, execute the step of performing version configuration according to the configuration information;
    否则,基于所述第三通信协议,向所述控制器作出不需要进行版本配置的反馈。Otherwise, based on the third communication protocol, feedback is made to the controller that version configuration is not required.
  13. 根据权利要求10至12中任一项所述的方法,其中,所述待配置网元设备为路由器,所述路由器包括主控板和若干个线卡;The method according to any one of claims 10 to 12, wherein the network element device to be configured is a router, and the router includes a main control board and several line cards;
    在所述接收所述配置信息管理中心通过所述第四通信协议反馈的与所述版本识别码匹配的配置信息之后,所述方法还包括:After receiving the configuration information that matches the version identification code fed back by the configuration information management center through the fourth communication protocol, the method further includes:
    将所述配置信息保存到所述主控板;saving the configuration information to the main control board;
    所述根据所述配置信息进行版本配置,包括:The performing version configuration according to the configuration information includes:
    所述主控板获取每一所述线卡的线卡识别码;the main control board obtains the line card identification code of each of the line cards;
    所述主控板根据所述版本识别码和每一所述线卡识别码,生成与对应的所述线卡进行通信的第五通信协议;The main control board generates a fifth communication protocol for communicating with the corresponding line card according to the version identification code and each of the line card identification codes;
    所述主控板基于与每一所述线卡之间的所述第五通信协议,向每一所述线卡下发所述配置信息,供每一所述线卡根据所述配置信息进行版本配置。The main control board issues the configuration information to each of the line cards based on the fifth communication protocol with each of the line cards, for each of the line cards to perform operations according to the configuration information. version configuration.
  14. 一种版本配置设备,包括:A version configures the device, including:
    至少一个处理器;以及,at least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至3任一所述的版本配置方法,或者权利要求4至7任一项所述的版本配置方法,或者8和9任一项所述的版本配置方法,或者10至13任一项所述的版本配置方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform any one of claims 1 to 3 The version configuration method, or the version configuration method described in any one of claims 4 to 7, or the version configuration method described in any one of 8 and 9, or the version configuration method described in any one of 10 to 13.
  15. 一种版本配置系统,所述版本配置系统包括:编排器、控制器、配置信息管理中心和待配置网元设备;A version configuration system, the version configuration system includes: an orchestrator, a controller, a configuration information management center, and a network element device to be configured;
    所述编排器,用于执行如权利要求1至3任一所述的版本配置方法;the orchestrator, configured to execute the version configuration method according to any one of claims 1 to 3;
    所述控制器,用于执行如权利要求4至7任一项所述的版本配置方法;The controller is configured to execute the version configuration method according to any one of claims 4 to 7;
    所述配置信息管理中心,用于执行如权利要求8和9任一项所述的版本配置方法;The configuration information management center is used to execute the version configuration method according to any one of claims 8 and 9;
    所述待配置网元设备,用于执行如权利要求10至13任一项所述的版本配置方法。The to-be-configured network element device is used to execute the version configuration method according to any one of claims 10 to 13.
  16. 一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至3任一所述的版本配置方法,或者权利要求4至7任一项所述的版本配置方法,或者8和9任一项所述的版本配置方法,或者10至13任一项所述的版本配置方法。A computer-readable storage medium storing a computer program, when the computer program is executed by a processor, the version configuration method described in any one of claims 1 to 3, or the version described in any one of claims 4 to 7 is realized The configuration method, or the version configuration method described in any one of 8 and 9, or the version configuration method described in any one of 10 to 13.
PCT/CN2021/133217 2021-01-21 2021-11-25 Version configuration method, apparatus, device, system, and storage medium WO2022156354A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110079406.3 2021-01-21
CN202110079406.3A CN112399452B (en) 2021-01-21 2021-01-21 Version configuration method, device, equipment, system and storage medium

Publications (1)

Publication Number Publication Date
WO2022156354A1 true WO2022156354A1 (en) 2022-07-28

Family

ID=74625610

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/133217 WO2022156354A1 (en) 2021-01-21 2021-11-25 Version configuration method, apparatus, device, system, and storage medium

Country Status (2)

Country Link
CN (1) CN112399452B (en)
WO (1) WO2022156354A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399452B (en) * 2021-01-21 2021-06-22 中兴通讯股份有限公司 Version configuration method, device, equipment, system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030069902A1 (en) * 2001-10-05 2003-04-10 Ibm Method of maintaining data consistency in a loose transaction model
CN105634762A (en) * 2014-10-27 2016-06-01 中兴通讯股份有限公司 Router configuration method, router, router control device and communication system
CN106982129A (en) * 2016-01-15 2017-07-25 中兴通讯股份有限公司 Method for upgrading software and device
CN112399452A (en) * 2021-01-21 2021-02-23 中兴通讯股份有限公司 Version configuration method, device, equipment, system and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938737B (en) * 2010-09-15 2015-06-03 中兴通讯股份有限公司 Version updating method and terminal
CN104683157A (en) * 2015-03-10 2015-06-03 太仓市同维电子有限公司 Automatic management method of firmware in home router
CN108989066B (en) * 2017-05-31 2022-12-20 中兴通讯股份有限公司 Equipment management method and device
CN109918109B (en) * 2019-03-12 2022-07-19 赛特斯信息科技股份有限公司 System and method for realizing software version smooth upgrading function aiming at SD-WAN system
CN110958139B (en) * 2019-11-20 2022-11-15 中移(杭州)信息技术有限公司 Network control method, orchestrator, controller, and computer-readable storage medium
CN111371593B (en) * 2020-02-24 2022-09-16 中移(杭州)信息技术有限公司 Service deployment method, device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030069902A1 (en) * 2001-10-05 2003-04-10 Ibm Method of maintaining data consistency in a loose transaction model
CN105634762A (en) * 2014-10-27 2016-06-01 中兴通讯股份有限公司 Router configuration method, router, router control device and communication system
CN106982129A (en) * 2016-01-15 2017-07-25 中兴通讯股份有限公司 Method for upgrading software and device
CN112399452A (en) * 2021-01-21 2021-02-23 中兴通讯股份有限公司 Version configuration method, device, equipment, system and storage medium

Also Published As

Publication number Publication date
CN112399452B (en) 2021-06-22
CN112399452A (en) 2021-02-23

Similar Documents

Publication Publication Date Title
CN101645801A (en) Software version upgrading method based on cluster management and order exchange board
CN103516735A (en) Method and apparatus for upgrading network node
EP4418704A1 (en) Sidecar deployment method and apparatus in service mesh, electronic device and storage medium
US9537751B2 (en) Divided hierarchical network system based on software-defined networks
CN113778463A (en) Business service deployment method and device
CN117978811B (en) Mapping relation determination method and system, storage medium and electronic device
WO2022267175A1 (en) Information processing method and apparatus, and computer device and storage medium
WO2022156354A1 (en) Version configuration method, apparatus, device, system, and storage medium
TW201735579A (en) Setting device, communication system, method for updating setting of communication device and program
WO2020010906A1 (en) Method and device for operating system (os) batch installation, and network device
US20180026939A1 (en) Monitoring device and card replacing method
EP3010182A1 (en) Fault management method and apparatus
CN110417876A (en) Node server and main control device in session method, distributed system
US9686149B2 (en) Information processing system, relay device, and information processing method
CN110798399A (en) Network automatic link backup method and network system
CN113032477A (en) Long-distance data synchronization method and device based on GTID and computing equipment
WO2018145267A1 (en) Forwarder network-access recognition method, sdn controller, and forwarder
US12061921B2 (en) Management apparatus, management system, management method and management program
US12050543B2 (en) Automatic naming and configuration of a replacement electronic device
CN104298750B (en) Renewal processing method and processing device for real-time system communication
US9282054B2 (en) Determining an active management uplink
US20230422025A1 (en) Network system, communication control device, and communication control method
CN114866600B (en) Internet of things terminal access management method and device based on intelligent integration identification
WO2023035777A1 (en) Network configuration method, proxy component, controller, electronic device and storage medium
US20230299852A1 (en) Optical line terminal configured to operate with optical network terminals that require different sets of omci parameters

Legal Events

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

Ref document number: 21920730

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21920730

Country of ref document: EP

Kind code of ref document: A1