Business management method, device and storage medium

By constructing a message protocol parsing model and a service management device, the cross-vendor management problem caused by differences in OTN device message protocols was solved, realizing unified orchestration and end-to-end service management of OTN devices, and providing a standardized resource access and management solution.

CN116193299BActive Publication Date: 2025-12-09CHINA UNITED NETWORK COMM GRP CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211611212.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-14
Publication Date
2025-12-09
Estimated Expiration
2042-12-14

AI Technical Summary

Technical Problem

Due to differences in message protocols, OTN equipment from different manufacturers cannot be uniformly orchestrated for cross-manufacturer and cross-province end-to-end OTN leased line services. There is a lack of standardized API interfaces, making it impossible to provide unified resource access and management.

Method used

By constructing a message protocol parsing model, resource data of OTN devices is obtained and divided into multiple layers. A service management device is constructed to adapt to different interface message protocols, including a service management layer, an atomic capability driving layer, and a capability platform layer. This shields the differences in configuration parameters of different message protocols and enables end-to-end management of OTN services across vendors and domains.

Benefits of technology

It enables unified orchestration and management of OTN devices from different vendors, supports end-to-end activation and deactivation of cross-domain and cross-vendor OTN services, shields the differences in configuration parameters of different message protocols, and provides unified resource access and management capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116193299B_ABST
    Figure CN116193299B_ABST
Patent Text Reader

Abstract

The application discloses a service management method and device and a storage medium, and relates to the technical field of communication. The method comprises the following steps: determining to perform a first operation on a target OTN service, wherein the first operation comprises one or more of a management operation on resource data of the target OTN service, an operation of opening the target OTN service, and an operation of the target OTN service; obtaining first configuration information of the target OTN service, wherein the first configuration information can be used to call a request message of a plurality of message protocols, the request message corresponds to the first operation; and based on the first configuration information, sending a corresponding request message to an OTN device related to the target OTN service, so that the OTN device performs the first operation on the target OTN service, and different OTN devices correspond to different message protocols. In this way, unified management of services of different message protocols can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the field of communication, and in particular to a service management method and device and a storage medium. BACKGROUND

[0002] An optical transport network (OTN) is a basic network of a communication operator. Based on the characteristics of high bandwidth, low latency, high security and high privacy of an OTN private line, the OTN private line has become the first choice for customer self-organizing network and service bearing.

[0003] With the maturity and application of software defined network (SDN) technology, different message protocols are adopted by OTN devices of different manufacturers, and the traditional OTN private line service lacks standardized application programming interface (API) interfaces in the implementation of resource data management, service opening, service closing and other functions, so that unified resource calling and management cannot be provided, resulting in that cross-manufacturer and cross-provincial end-to-end OTN private line service management cannot be uniformly arranged. SUMMARY

[0004] The present application provides a service management method and device and a storage medium, which are used to solve the problem that OTN services of different message protocols cannot be uniformly arranged.

[0005] To achieve the above-mentioned purpose, the present application adopts the following technical solutions:

[0006] In a first aspect, a service management method is provided, which includes: determining to perform a first operation on a target OTN service, the first operation including one or more of a management operation on resource data of the target OTN service, an operation of opening the target OTN service, and an operation of the target OTN service; obtaining first configuration information of the target OTN service, the first configuration information being used to call request messages of a plurality of message protocols, the request messages corresponding to the first operation; based on the first configuration information, sending corresponding request messages to OTN devices related to the target OTN service, so that the OTN devices perform the first operation on the target OTN service, different OTN devices corresponding to different message protocols.

[0007] In a possible implementation manner, the determining the first operation performed on the target OTN service specifically includes: receiving a first service request, the first service request being used to indicate a management operation on resource data of the target OTN service; determining a field corresponding to the resource data through a preconfigured message protocol analysis model; determining the management operation performed on the resource data according to the field; the management operation includes one or more of adding the resource data, updating the resource data, querying the resource data, and deleting the resource data.

[0008] In a possible implementation manner, the method further includes: obtaining resource data of a plurality of OTN devices; dividing the resource data into a plurality of levels of resource data; the plurality of levels at least include a network electrical layer, an optical layer, an Ethernet layer, and a synchronous digital hierarchy (SDH) layer; and constructing a message protocol analysis model according to the plurality of levels of resource data.

[0009] In a possible implementation manner, the sending, based on the first configuration information, of the corresponding request message to the OTN device related to the target OTN service to enable the OTN device to perform the first operation on the target OTN service specifically includes: determining a plurality of first OTN devices related to opening the target OTN service according to a uniform resource locator (URL) corresponding to the target OTN service; calling a first service message from a plurality of preconfigured message requests, the first service message being used to indicate opening of the target OTN service; and sending the first service message to the plurality of first OTN devices to enable the plurality of first OTN devices to open the target OTN service.

[0010] In a possible implementation manner, the sending, based on the first configuration information, of the corresponding request message to the OTN device related to the target OTN service to enable the OTN device to perform the first operation on the target OTN service specifically includes: determining a plurality of second OTN devices related to the target OTN service according to a uniform resource locator (URL) corresponding to the target OTN service; calling a second service message from a plurality of preconfigured message requests, the second service message being used to indicate closing of the target OTN service, and the second service message being used to indicate deleting of a configuration parameter related to the target OTN service.

[0011] In a second aspect, a service management apparatus is provided, which can implement the service management method in the foregoing aspects or possible designs. For example, the service management apparatus can have a function of performing the service management method, and the function can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the foregoing functions. For example, the service management apparatus includes a determining unit, an obtaining unit, and a sending unit.

[0012] The determining unit determines to perform a first operation on the target OTN service, and the first operation includes one or more of a management operation on resource data of the target OTN service, an operation of opening the target OTN service, and an operation of the target OTN service. The obtaining unit obtains first configuration information of the target OTN service, and the first configuration information can be used to call a request message of a plurality of message protocols, and the request message corresponds to the first operation. The sending unit sends a corresponding request message to an OTN device related to the target OTN service based on the first configuration information, so that the OTN device performs the first operation on the target OTN service, and different OTN devices correspond to different message protocols.

[0013] In a possible implementation, the determining unit is specifically configured to: receive a first service request, the first service request being used to indicate a management operation on resource data of a target OTN service; determine a field corresponding to the resource data through a preconfigured message protocol analysis model; and determine the management operation performed on the resource data according to the field. The management operation includes one or more of adding resource data, updating resource data, querying resource data, and deleting resource data.

[0014] In a possible implementation, the apparatus further includes a processing unit, and the obtaining unit is further configured to obtain resource data of a plurality of OTN devices. The processing unit is configured to divide the resource data into a plurality of hierarchical resource data, and the plurality of hierarchical resource data at least includes a network electrical layer, an optical layer, an Ethernet layer, and a synchronous digital hierarchy (SDH) layer. The processing unit is further configured to construct a message protocol analysis model according to the plurality of hierarchical resource data.

[0015] In a possible implementation, the sending unit is specifically configured to: determine a plurality of first OTN devices related to opening the target OTN service according to a URL corresponding to the target OTN service; call a first service message from a plurality of preconfigured message requests, the first service message being used to indicate opening of the target OTN service; and send the first service message to the plurality of first OTN devices, so that the plurality of first OTN devices open the target OTN service.

[0016] In a possible implementation, the sending unit is specifically configured to: determine a plurality of second OTN devices related to the target OTN service according to a URL corresponding to the target OTN service; call a second service message from a plurality of preconfigured message requests, the second service message being used to indicate closing of the target OTN service, and the second service message being used to indicate deleting of configuration parameters related to the target OTN service.

[0017] The specific implementation of the service management apparatus can refer to the processing method provided by the first aspect or any possible design of the first aspect, and thus the service management apparatus provided can achieve the same beneficial effects as the first aspect or any possible design of the first aspect.

[0018] In a third aspect, a service management apparatus is provided. The apparatus can implement the functions performed in the above aspects or possible designs, which can be implemented by hardware. In one possible design, the apparatus can include a processor and a communication interface. The processor can be configured to support the apparatus to implement the functions involved in the above first aspect or any possible design of the first aspect.

[0019] In another possible design, the apparatus can further include a memory configured to store computer-executable instructions and data necessary for the apparatus. When the apparatus is running, the processor executes the computer-executable instructions stored in the memory, so that the apparatus performs the service management method involved in the above first aspect or any possible design of the first aspect.

[0020] In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium can be a readable nonvolatile storage medium, and the computer-readable storage medium stores computer instructions or programs. When the computer instructions or programs are run on a computer, the computer can perform the service management method involved in the above first aspect or any possible design of the above aspect.

[0021] In a fifth aspect, a computer program product including instructions is provided. When the computer program product is run on a computer, the computer can perform the service management method involved in the above first aspect or any possible design of the above aspect.

[0022] In a sixth aspect, a chip system is provided. The chip system includes a processor and a communication interface, and can be configured to implement the functions performed by the determination apparatus in the above first aspect or any possible design of the first aspect. In one possible design, the chip system further includes a memory configured to store program instructions and / or data. The chip system can be composed of a chip or include a chip and other discrete devices, without limitation.

[0023] The technical effects brought by any design of the second aspect to the sixth aspect can refer to the technical effects brought by the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0024] Figure 1 FIG. 1 shows a structure of an OTN service system according to an embodiment of the present application;

[0025] Figure 2A structural schematic diagram of a service management device 200 provided by an embodiment of the present application is shown in FIG. 1.

[0026] Figure 3 A flowchart of a service management method provided by an embodiment of the present application is shown in FIG. 2.

[0027] Figure 4 A flowchart of another service management method provided by an embodiment of the present application is shown in FIG. 3.

[0028] Figure 5 A structural schematic diagram of another service management device 50 provided by an embodiment of the present application is shown in FIG. 4. DETAILED DESCRIPTION

[0029] In order to make the ordinary person skilled in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings.

[0030] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein. The implementation described in the following exemplary embodiments does not represent all the implementations consistent with the present disclosure. Rather, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present application, as detailed in the appended claims.

[0031] It should also be understood that the term "comprising" indicates the presence of the described features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, and / or components.

[0032] As SDN technology is increasingly adopted in OTN networks, the limited openness of OTN equipment means that its control systems are typically provided by the equipment vendors, and these devices only support service provisioning and resource management within a single vendor's domain. The northbound interfaces of different equipment vendors' control systems support different message protocols (also known as interface protocols or standard protocols). For example, they may support the Abstract and Control of Traffic-Engineered Networks (ACTN) message protocol and the Telephone Application Programming Interface (TAPI) message protocol, respectively. Because different vendors' control systems support different interface message protocols on their northbound interfaces, OTN devices from different vendors cannot be coordinated and orchestrated in a unified manner.

[0033] In view of this, embodiments of this application provide a service management method for achieving unified orchestration among OTN devices from different vendors and supporting end-to-end activation of cross-domain and cross-vendor OTN services. In these embodiments, adaptation to different interface message protocols is achieved through the construction of OTN resource data acquisition, the construction of end-to-end OTN leased line service activation functions, the construction of end-to-end OTN leased line service deactivation functions, the construction of an atomic drive capability layer, and the construction of a capability platform layer.

[0034] The method provided in the embodiments of this application will be described below with reference to the accompanying drawings.

[0035] Figure 1 This diagram illustrates the system architecture of an OTN network according to an embodiment of this application. Figure 1 As shown, the OTN network system may include a service management device and multiple OTN devices connected to the service management device (such as...). Figure 1 (OTN device 1, OTN device 2, OTN device 3).

[0036] Among them, OTN equipment is a network device used for forwarding electrical signals and can dynamically adjust the optical layer.

[0037] It should be noted that in the embodiments of this application, different manufacturers / types of OTN support different message protocols.

[0038] The service management equipment can be used to manage multiple OTN devices. For example, it can be used to establish or close service channels between OTN devices.

[0039] In some embodiments, the service management device can be a server, a service management system, etc. When the service management device is a server, the server can be a single server or a server cluster composed of multiple servers. In some embodiments, the server cluster can also be a distributed cluster. The specific implementation of the server is not limited in the present disclosure.

[0040] In an example, the service management device can be provided with multiple layers. For example, the multiple layers can include a service management layer, an atomic capability driving layer, a capability platform layer. The multiple layers can be physical layers or logical layers.

[0041] The service management layer can be used to manage resource data in the OTN network, for example, can include adding new resource data, updating resource data, querying resource data, deleting resource data, etc. The service management layer can also be used to manage OTN devices, for example, can be used to open services between OTN devices, close services between OTN devices, etc.

[0042] The atomic capability driving layer can adapt to different message protocols to match the differences in configuration parameters between different message protocols. For example, the atomic capability driving layer can combine the configuration parameters of the ACTN message protocol and the configuration parameters of the OTN service through service abstraction, so as to ensure the consistency of the service data in the ACTN message protocol and the service data in the TAPI message protocol. Thus, the atomic capability driving layer can shield the configuration parameter differences between the ACTN message protocol and the TAPI message protocol.

[0043] The configuration parameters of the ACTN message protocol can include the pipe granularity of the tunnel relay, the protection / restoration attribute, etc. The configuration parameters of the OTN service can include the service level agreement (SLA) level, the bandwidth, the optical channel, the tandem connection monitoring (TCM) layer overhead, the access signal, etc.

[0044] Further, the atomic capability driving layer can also process the inflow and outflow data twice and normalize the data through customized scripts, thereby realizing the driving configuration of different parameter data.

[0045] In an example, the atomic capability driving layer can manage the service management layer through an API interface. For example, the atomic capability driving layer can establish a JSON message request corresponding to different message protocols, which can be used to obtain the configuration results corresponding to the message protocol.

[0046] It should be noted that after the atomic capability driving layer establishes the ISON message request corresponding to different message protocols, if the configuration result queried by the atomic capability driving layer corresponds to the field of the JSON message request, it indicates that the API interface of the atomic capability driving layer can shield the configuration parameter difference between different message protocols.

[0047] The capability platform layer can provide a basic platform for multiple capability services. For example, the capability platform layer can include an adapter, an executor, a driver, and a manager. The adapter can be used for external access functions, provide specific capability service interfaces, and manage and authenticate service requests. The executor can be used for processing service requests and internally embedding a process engine. The driver layer can be used for controlling the execution scripts or programs of the system to provide related service management services, so as to shield the differences between control systems of different manufacturers. The manager can be used for configuring the control system, such as service configuration and process orchestration, and can also be used for providing functions such as log viewing.

[0048] In an example, the capability platform layer can manage the service opening and service closing of the atomic capability driving layer through an API interface. For example, the capability platform layer can establish a JSON message request corresponding to different services. The capability platform layer can query the execution of the services of the atomic capability driving layer by calling the JSON message request.

[0049] It should be noted that, Figure 1 The system can also include other devices, such as an SDN controller. The SDN controller can be used to manage resource data in the OTN network. For example, the SDN controller can be used to manage multiple OTN devices.

[0050] The system architecture and business scenarios described in the embodiments of the present application are used to more clearly illustrate the technical solutions provided by the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that, as the network architecture evolves and new business scenarios appear, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.

[0051] In specific implementation, Figure 1 The business management device in the system can adopt the component structure shown in Figure 2 , or include the components shown in Figure 2 . Figure 2 A component structure of a business management apparatus 200 provided by the embodiments of the present application is shown in the figure. The business management apparatus 200 can be a chip or a system on chip in the business management device. As shown in Figure 2 , the business management apparatus 200 includes a processor 201, a communication interface 202, and a communication line 203.

[0052] Further, the service management apparatus 200 can further include a memory 204. The processor 201, the memory 204 and the communication interface 202 can be connected through a communication line 203.

[0053] The processor 201 can be a CPU, a general processor, a network processor (NP), a digital signal processing (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD) or any combination thereof. The processor 201 can also be other apparatuses with processing function, such as a circuit, a device or a software module, which are not limited herein.

[0054] The communication interface 202 is configured to communicate with other devices or other communication networks. The other communication networks can be an Ethernet, a radio access network (RAN), a wireless local area network (WLAN) or the like. The communication interface 202 can be a module, a circuit, a communication interface or any apparatus capable of realizing communication.

[0055] The communication line 203 is configured to transmit information between components included in the service management apparatus 200.

[0056] The memory 204 is configured to store instructions. The instructions can be a computer program.

[0057] The memory 204 can be a read-only memory (ROM) or other types of static storage devices that can store static information and / or instructions, or can be a random access memory (RAM) or other types of dynamic storage devices that can store information and / or instructions, or can be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magneto-optical disk, a magnetic disk storage or other magnetic storage devices, etc., which are not limited herein.

[0058] It should be noted that the memory 204 can exist independently of the processor 201, or can be integrated with the processor 201. The memory 204 can be used to store instructions or program codes or some data, etc. The memory 204 can be located in the service management apparatus 200, or can be located outside the service management apparatus 200, without limitation. The processor 201 is configured to execute the instructions stored in the memory 204, so as to implement the field configuration method provided in the embodiments of the present application.

[0059] In an example, the processor 201 can include one or more CPUs, for example, the CPU0 and the CPU1 in the CPU 201. Figure 2

[0060] As an optional implementation, the service management apparatus 200 includes multiple processors, for example, in addition to the processor 201 in the CPU 201, the service management apparatus 200 can further include the processor 207. Figure 2

[0061] As an optional implementation, the service management apparatus 200 further includes an output device 205 and an input device 206. For example, the input device 206 is a keyboard, a mouse, a microphone, a joystick or the like, and the output device 205 is a display screen, a speaker or the like.

[0062] It should be noted that the service management apparatus 200 can be a desktop computer, a laptop computer, a network server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system or a device with a similar structure in the CPU 201. In addition, the constituent structure shown in the CPU 201 does not constitute a limitation on each device in the CPU 201, and in addition to the components shown in the CPU 201, each device in the CPU 201 can include more or fewer components, or combine some components, or different component arrangements. Figure 2 Figure 2 Figure 1 Figure 2 Figure 1 In the CPU 201, each device can include more or fewer components than those shown in the figure, or combine some components, or different component arrangements.

[0063] In the embodiments of the present application, the chip system can be composed of a chip, or can include a chip and other discrete devices.

[0064] In addition, the actions, terms and the like involved in the embodiments of the present application can be mutually referred to, without limitation. The message name or the parameter name in the message exchanged between each device in the embodiments of the present application is only an example, and other names can also be used in the specific implementation, without limitation.

[0065] ​​​​​​To facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.

[0066] It should be noted that, in this application, the terms "exemplary" or "for example" are used to indicate that something is being described as an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0067] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0068] The following is combined Figure 1 The system shown describes the business management method provided in the embodiments of this application. The actions, terminology, etc., involved in the various embodiments of this application can be referenced interchangeably without limitation. The message names or parameter names in the messages exchanged between various devices in the embodiments of this application are merely examples; other names may be used in specific implementations without limitation. The actions involved in the various embodiments of this application are merely examples; other names may be used in specific implementations. For example, "included in" in the embodiments of this application can be replaced with "carried on" or "carried in," etc.

[0069] It should be noted that the executing entity of this application embodiment can be... Figure 1 The service management device in the document can also be a component within the service management device, such as a chip or a system-on-a-chip. The following description uses the service management device as an example to illustrate the method provided in the embodiments of this application.

[0070] Figure 3 A business management method provided in this application embodiment includes:

[0071] S301, determine to perform a first operation on a target OTN service.

[0072] The first operation can include one or more of a management operation on resource data of the target OTN service, an operation of opening the target OTN service, and an operation of closing the target OTN service. The target OTN service can be an end-to-end OTN dedicated line service.

[0073] For example, the management operation on the resource data of the target OTN service can include one or more of adding resource data, updating resource data, querying resource data, and deleting resource data. The operation of opening the target OTN service can refer to establishing a service transmission link / channel / communication connection between different OTN devices, and the different OTN devices can support different message protocols. The operation of closing the target OTN service can refer to closing / disconnecting the service transmission link / channel / communication connection between different OTN devices.

[0074] The resource data can refer to resource data of an OTN device related to the target OTN service. For example, the resource data can include an identifier of the OTN device, a name of the OTN device, a control domain to which the OTN device belongs, a spatial address of the OTN device, a device type of the OTN device, device information (such as a subrack number, a slot number, a port number, etc.) of the OTN device, a network exchange level, a transmission signal type, an ODU (Oracle Database Unloader) bearing type, etc.

[0075] In an example, the service management device can receive indication information from a network management system or a control system for indicating to perform the first operation on the target OTN service. Based on the indication information, the service management device can determine to perform the first operation on the target service.

[0076] For example, the service management device can receive a first service request. The first service request can be used to indicate an association operation on resource data of the OTN device. The service management device can determine a field corresponding to the resource data through a pre-configured message protocol parsing model, and determine a management operation performed on the resource data according to the field.

[0077] The message protocol analysis model can also be referred to as a resource model, and the message protocol analysis model can be used to determine a field corresponding to resource data. For example, one resource data corresponds to one field. The message protocol analysis model can be constructed according to resource data of multiple OTN devices. The resource data can include one or more of the following: an identifier of the OTN device, a control domain to which the OTN device belongs, a device name, a spatial address, a device type, a sub-rack number, a slot number, a port number, a network switching level, a transmission signal type, an ODU carrying type, and the like. Of course, the resource data can also include other information, such as the type of supported message protocol, the board type of the OTN device, the time slot occupation, the virtual local area network (VLAN) occupation, and the like. The construction process of the message protocol analysis model can refer to the embodiments of the following Figure 4 , which will not be described here.

[0078] S302, first configuration information of a target OTN service is acquired.

[0079] The first configuration information corresponds to request messages of multiple message protocols. The request messages correspond to the first operation. For example, the multiple message protocols can include ACTN message protocols, TAPI message protocols, and the like. The multiple request messages correspond to the first operation. For example, the request message can be a JSON message.

[0080] The request messages of the multiple message protocols corresponding to the first configuration information refer to the request messages of the multiple message protocols that can be invoked through the first configuration information. The multiple request messages of the message protocols can be pre-configured or pre-constructed by the service management device.

[0081] In an example, for the service layer, the multiple request messages can include JSON messages based on ACTN message protocols and JSON messages based on TAPI message protocols. The JSON messages based on ACTN message protocols can include ISON messages for indicating management operations on resource data of the OTN service, JSON messages for indicating opening of the OTN service, and JSON messages for indicating closing of the OTN service. The JSON messages based on TAPI message protocols can include ISON messages for indicating management operations on resource data of the OTN service and JSON messages for indicating opening of the OTN service.

[0082] It should be noted that for the atomic capability driving layer, the service management device can construct multiple JSON messages according to the configuration parameters of different message protocols. The multiple JSON messages can be used to query the execution results of the operations on the OTN service in the service layer. For the capability platform layer, the service management device can construct multiple JSON messages for calling the functions of the atomic capability driving layer according to the configuration parameters of different message protocols. The JSON message can be used to call the JSON message of the atomic capability driving layer.

[0083] S303, based on the first configuration information, sending a corresponding request message to an OTN device related to the target OTN service, so that the OTN device performs a first operation.

[0084] The OTN device related to the target OTN service can be an OTN device that performs the first operation on the target OTN service. For example, when the first operation is a management operation on the resource data of the target OTN service, the OTN device related to the management operation can include an OTN device having the resource data or an OTN device requiring the resource data. The request message corresponding to the OTN can be a request message of a message protocol supported by the OTN device. Different OTN devices support different message protocols.

[0085] In an example, if the first operation includes an operation of opening the target OTN service, the service management device can determine a plurality of first OTN devices related to the opening of the target OTN service according to the URL corresponding to the target OTN service, and select a first service message from a plurality of preconfigured service messages. The first service message can be used to indicate the opening of the target OTN service. The service management device can send the first service message to the plurality of first OTN devices, so that the plurality of first OTN devices open the target OTN service according to the first service message.

[0086] The URL corresponding to the target OTN service can be related to the first OTN device, for example, the URL corresponding to the target OTN service can be used to indicate the first OTN device. In this way, the service management device can directly determine the OTN device that needs to be configured according to the URL.

[0087] In another example, if the first operation includes an operation of closing the target OTN service, the service management device can determine a plurality of second OTN devices related to the target OTN service according to the URL corresponding to the target OTN service, and select a second service message from a plurality of preconfigured service messages. The second service message is used to delete at least the configuration parameters related to the target OTN service. The service management device can send the second service message to the plurality of second OTN devices, so that the plurality of second OTN devices close the target OTN service according to the second service message.

[0088] It should be noted that in the embodiments of the present application, the service message can be a JSON message. The plurality of service messages can be pre-constructed for the service management device, or can be obtained from other devices, without limitation.

[0089] In one scenario, when the plurality of service messages are pre-constructed for the service management device, the service management device can construct a plurality of JSON messages for the service layer, the atomic capability driving layer, and the capability platform layer, respectively.

[0090] Specifically, the service management device can establish different message protocols for the service layer to indicate the JSON messages for opening the OTN service and the JSON messages for closing the OTN service. In this way, the service management device can call the JSON messages of the corresponding message protocol according to the message protocol supported by the OTN device.

[0091] For example, the message protocol supported by the OTN device includes an ACTN message protocol and a TAPI message protocol. The service management device can establish the JSON messages for indicating the opening of the OTN service using the ACTN message protocol and the TAPI message protocol, respectively. In this way, the service management device can call the JSON messages corresponding to the message protocol according to the type of the message protocol supported by the OTN device, and send the JSON messages that can be recognized by the OTN device to the OTN device. In this way, the OTN device can recognize the JSON message after receiving the JSON message, and execute the corresponding operation according to the JSON message.

[0092] Based on the above technical solution, after determining to perform certain operations on the target OTN service, the service management device can obtain the configuration information of the target OTN service, and perform the first operation on the OTN device related to the target OTN service according to the configuration information. Since the configuration information of the target OTN service can call the request messages of multiple message protocols, the service management device can call the corresponding request messages according to the message protocol supported by different OTN devices. Thus, the unified management of OTN devices across manufacturers and message protocols is realized.

[0093] In some embodiments, as shown in FIG. 4, the S301 can include S401-S403. Figure 4

[0094] S401, obtaining resource data of a plurality of OTN devices.

[0095] The resource data of the OTN device can refer to the description above, and will not be repeated here.

[0096] ​In an example, the service management device can obtain resource data of the OTN device from the control system of the OTN device supporting different message protocols through a preconfigured JSON message. For example, the control system can be connected with the service management device through a query interface of the resource data of the device. In this way, the service management device can send a JSON message for calling the resource data to the control system respectively, and correspondingly, the query interface of the control system can return the corresponding resource data after receiving the JSON message.

[0097] S402, divide the resource data into multiple levels of resource data.

[0098] The multiple levels can include a network electrical layer, an optical layer, an Ethernet layer, and a synchronous digital hierarchy (SDH) layer.

[0099] In a possible implementation, the service management device can divide the resource data into multiple levels of resource data according to the type of the transmission signal. The type of the transmission signal can refer to the type of the level carrying the transmission signal. The transmission signals carried by different levels are of different types.

[0100] In an example, for the obtained resource data, the service management device can separate and filter the resource data, and parse the resource data of each level through a JSON decoder.

[0101] S403, construct a message protocol analysis model according to the multiple levels of resource data.

[0102] In an example, the service management device can construct a message protocol analysis model by modeling the multiple levels of resource data.

[0103] Based on the technical solutions, Figure 4 According to the above hierarchical structure, different types of resource data can be divided into multiple levels, and based on the multiple levels of resource data, the service management device can construct a message protocol analysis model. Since the resource data of different levels uses different message protocols, the message protocol analysis model can identify resource data of multiple message protocols, so that the service management device can determine resource data of different message protocols based on the message protocol analysis model, and manage OTN devices of different message protocols.

[0104] In some embodiments, in order to implement the management operations such as adding, updating, querying, deleting, etc. of resource data, the service management device can construct the table row state transfer (REST, Representational State Transfer) operation type corresponding to different management operations. The REST operation type corresponding to the above management operations and the implementation process are described below.

[0105] I. In order to implement the adding operation of resource data, the REST operation type can be POST, and the implementation process can include:

[0106] 1-1, receiving a JSON message from the SDN controller.

[0107] Wherein, the service management device can use the network description language corresponding to the ACTN message protocol and the TAPI message protocol to read the resource data from the SDN controller. In this way, the message protocol corresponding to the JSON message can include the ACTN message protocol and the TAPI message protocol.

[0108] 1-2, parse the read resource data through the message protocol preset model to obtain the resource data, and store the resource data into the database.

[0109] II. In order to implement the updating operation of resource data, the REST operation type can be POST, and the implementation process can include:

[0110] 2-1, receiving a resource update message from the SDN controller.

[0111] Wherein, the resource update message can be used to indicate the updated resource data.

[0112] 2-2, parse the resource update message through the message protocol parsing model to determine the fields that need to be updated.

[0113] Wherein, the updated fields correspond one by one to the updated resource data.

[0114] 2-3, compare the resource data corresponding to the fields that need to be updated with the stored resource data, for example, to obtain a difference data set.

[0115] Wherein, the difference data set refers to the resource data corresponding to the updated fields that is different from the stored resource data.

[0116] 2-4, delete the difference data set in the resource data corresponding to the fields that need to be updated to obtain the updated resource data, and update the resource data according to the updated resource data.

[0117] III. To implement the query operation on the resource data, the REST operation type is GET, and the implementation process can include:

[0118] 3-1. Receive a query request for querying resource data.

[0119] 3-2. Input the positioning identifier indicated by the URL corresponding to the query request and the identifier of the resource data into the message protocol analysis model to obtain the fields included in the query request.

[0120] 3-3. Determine the resource data according to the fields included in the query request.

[0121] IV. To implement the deletion operation on the resource data, the REST operation type is DELETE, and the implementation process can include:

[0122] 4-1. Receive a deletion request for deleting resource data.

[0123] 4-2. Input the positioning identifier indicated by the URL corresponding to the query request and the identifier of the resource data into the message protocol analysis model to obtain the fields included in the deletion request.

[0124] 4-3. Determine the corresponding resource data according to the fields included in the deletion request, and perform a deletion operation on the resource data.

[0125] Based on the above processes, the business management device can implement the management operation on the resource data.

[0126] Further, to improve processing efficiency, the business management device can provide a standard and efficient processing environment by increasing the database enumeration field and the horizontal and vertical cross processing mode.

[0127] In some embodiments, to implement the opening of the OTN service, the method provided by the application embodiment can further include:

[0128] 5-1. The business management device obtains the attribute information corresponding to each business scenario according to the business scenario. For example, A, Z port access endpoint information, service type, SLA guarantee level, service bandwidth, recovery attribute, and mandatory avoidance point. The business management device can integrate and normalize the attribute information corresponding to each business scenario to construct an attribute information set corresponding to multiple business scenarios. The attribute information set corresponding to one business scenario can include multiple attribute information in the business scenario.

[0129] 5-2, the service management device determines the service endpoint and service level of the OTN service according to the resource data and operation type involved in the operation of opening the OTN service according to the RESTCONF message protocol standard, and determines the URL indicating the opening of the service according to the service endpoint and service level of the OTN service.

[0130] 5-4, the service management device performs coordinated operation on the control systems of different types of OTN devices according to the characteristic information of the service scenario, and determines the resource data and attribute information required for the opening of the OTN service.

[0131] Further, the service management device can generate OTN service opening request messages of different message protocols by using JSON messages.

[0132] The OTN service opening request message has the characteristics of scalability and efficient response.

[0133] 5-5, the service management device allocates an OTN service opening interface, and transmits configuration parameters related to the opening of the OTN service through a JSON message.

[0134] The OTN service opening interface can be an HTTP calling interface.

[0135] In an example, in order to realize the opening efficiency of the OTN service, the OTN service can be opened through the POST mode and the asynchronous interface mode.

[0136] In some embodiments, in order to realize the closing of the OTN service, the method provided by the application embodiment can further include:

[0137] 6-1, the service management device obtains the device information required for closing the OTN service from the customer cancellation process of the SDN controller.

[0138] The device information can include the number of the OTN service, the name of the OTN service, the manufacturer of the OTN device, the control domain, the service type, etc.

[0139] 6-2, the service management device determines the corresponding service endpoint and service level according to the service scenario of the OTN service, and determines the URL indicating the closing of the service and the configuration parameters according to the service endpoint and service level.

[0140] The URL can be associated with the service endpoint related to the OTN service. The configuration parameters refer to the configuration parameters that need to be removed or closed when the OTN service is closed.

[0141] 6-3, the service management device determines the message format of the closed OTN service.

[0142] In the closing of the OTN service, the service management device can obtain the service number or the service name of the OTN service and the resource data related to the OTN service. For example, the service management device can execute the closing of the OTN service through the SDN controller or the control system of the OTN device.

[0143] 6-4, the service management device deletes / releases the resource data related to the OTN service according to the characteristic information of the OTN service.

[0144] In some embodiments, in order to realize the construction of the atomic driving capability layer, the method provided by the embodiments of the present application can further include:

[0145] 7-1, the service management device models according to the resource description identifier and the service description identifier of different message protocols, to obtain an operation interface model.

[0146] The operation interface module can be used to eliminate the difference of different message protocols on resource data and service operation, and at the same time, compatible with the message protocol analysis model of the two message protocol modes.

[0147] In an example, the service management device can sort, abstract and normalize the configuration parameters related to the resource data and the service operation in the ACTN message protocol and the TAPI message protocol, to obtain a plurality of parameter information corresponding to each message protocol. The plurality of parameter information can include parameter information related to resource data and parameter information related to service operation. In this way, based on the parameter information of the message protocol, the service management and control device can determine the resource description identifier and the service description identifier corresponding to the message protocol.

[0148] The resource description identifier can be a field or character in the message protocol for describing the resource data, and the service description identifier can be a field or character in the message protocol for describing the service operation.

[0149] 7-2, the service management device divides the southbound interface of the atomic driving capability layer into a resource class interface, a service class interface and an operation class interface according to the message protocol level and the service operation level of different message protocols.

[0150] The resource class interface can be used to transmit resource data, the service class interface can be used to transmit OTN service, and the operation type interface can be used to transmit instructions for managing the OTN service. The operation class can include adding, editing, querying, etc.

[0151] 7-3, the service management device maps the service endpoint and the service level in the message protocol analysis model to the corresponding message protocol level and node, to obtain a URL set.

[0152] 7-4, the service management device constructs the atomic driving message format.

[0153] The service management device can divide the resource class interface into an optical layer, an electrical layer Ethernet layer, and an SDH layer. The resource data of each layer interface includes network element, port, link, TE attribute, and other information.

[0154] It should be noted that the resource data of each layer interface can be abstracted as a YANG model. The service management device can use a JSON model to convert each YANG model into a JSON message. Similarly, for the service class interface and the operation class interface, the service management device can also perform layering or classification according to service resources and service attributes.

[0155] 7-5. For the related characteristics of the resource class interface and the service class interface, the service management device can configure corresponding hyper text transfer protocol (HTTP) methods according to the incoming parameters and the involved operation modes.

[0156] The operation modes can include adding, deleting, updating, and querying. The HTTP methods can include POST, GET, and DELETE. The adding and updating correspond to POST, the querying corresponds to GET, and the deleting corresponds to DELETE.

[0157] In some embodiments, to implement the construction of the capability platform layer, the method provided in the embodiments of the present application can further include:

[0158] 8-1. The service management device constructs different service scenarios and operation processes according to the management operation of the OTN service, the service operation of opening the OTN service, and the service operation and operation process of closing the OTN service.

[0159] For multiple types of private line services and resource services, the service management device can use a synchronous or asynchronous manner to model a unified northbound interface according to different service scenarios, to obtain an object model of the capability platform layer. The object model can be used to identify and analyze the service request and resource demand from the northbound interface.

[0160] 8-2. The service management device constructs a URL of the capability platform layer.

[0161] The service management device can divide the northbound capability scenario into a resource class and a service class according to the characteristics of the REST URI. For the resource class, a resource directory level can be used for management, and for the service class, a business directory level can be used for management.

[0162] The service management device can also divide the operation mode into operation, query, remove and other sub-operation categories. For interfaces requiring full operation and specified object operation, the service management device can use generalization identification and accurate identification for annotation. In this way, a set of unified REST API in the north direction can be formed.

[0163] 8-3, the service management device constructs the message format of the capability platform layer.

[0164] For the complexity of the service scenario and the consistency of the internal data expression of the system, the service management device can use the JSON format as the message format of the unified API in the north direction.

[0165] 8-4, the service management device configures the calling interface of the service capability platform layer.

[0166] The configuration method can be an HTTP method. For example, it can include POST, GET, DELETE, and revision (PACTH).

[0167] Based on the above management operation of resource data, opening of OTN service, closing of OTN service, construction of atomic driving capability layer, and construction of capability platform layer, the adaptation of ACTN message protocol and TAPI message protocol can be realized, and through the establishment of a unified model and the construction of the northbound interface URL, the unified orchestration of the control systems of multiple manufacturers can be realized.

[0168] Further, the method provided by the embodiments of the present application can also realize end-to-end opening of OTN service across domains and manufacturers, and unified calling and management of upper-layer application systems (such as an alarm system, a management system, a monitoring system, etc.).

[0169] The various schemes in the above embodiments of the present application can be combined without contradiction.

[0170] The embodiments of the present application can divide the field query device into functional modules or functional units according to the above method examples. For example, each functional module or functional unit can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be realized in the form of hardware or in the form of software functional module or functional unit. The division of modules or units in the embodiments of the present application is illustrative, and is only a logical functional division. Actual implementation can have another division mode.

[0171] In the case of dividing each functional module according to each function, Figure 5A structural diagram of a service management apparatus 50 is shown, which can be the service management device or a chip applied to the service management device, and can be used to perform the functions of the service management device involved in the above embodiments. Figure 5 The service management apparatus 50 shown can include a determination unit 501, an acquisition unit 502, and a sending unit 503.

[0172] The determination unit 501 determines to perform a first operation on a target OTN service, the first operation including one or more of a management operation on resource data of the target OTN service, an operation of opening the target OTN service, and an operation of the target OTN service.

[0173] The acquisition unit 502 is configured to acquire first configuration information of the target OTN service, the first configuration information being used to call a request message of a plurality of message protocols, the request message corresponding to the first operation.

[0174] The sending unit 503 is configured to send a corresponding request message to an OTN device related to the target OTN service based on the first configuration information, so that the OTN device performs the first operation on the target OTN service, and different OTN devices correspond to different message protocols.

[0175] In a possible implementation, the determination unit 501 is specifically configured to: receive a first service request, the first service request being used to indicate a management operation on resource data of a target OTN service; determine a field corresponding to the resource data through a preconfigured message protocol analysis model; and determine the management operation performed on the resource data according to the field; the management operation including one or more of adding resource data, updating resource data, querying resource data, and deleting resource data.

[0176] In a possible implementation, as shown in the figure, Figure 5 The apparatus further includes a processing unit 504, and the acquisition unit 502 is further configured to acquire resource data of a plurality of OTN devices. The processing unit 504 is configured to divide the resource data into a plurality of hierarchical resource data, the plurality of hierarchical resource data at least including a network electrical layer, an optical layer, an Ethernet layer, and a synchronous digital hierarchy (SDH) layer. The processing unit 504 is further configured to construct a message protocol analysis model according to the plurality of hierarchical resource data.

[0177] In a possible implementation, the sending unit 503 is specifically configured to: determine a plurality of first OTN devices related to opening of the target OTN service according to a URL corresponding to the target OTN service; call a first service message from a plurality of preconfigured message requests, the first service message being used to indicate opening of the target OTN service; and send the first service message to the plurality of first OTN devices, so that the plurality of first OTN devices open the target OTN service.

[0178] In a possible implementation, the sending unit 503 is specifically configured to: determine a plurality of second OTN devices related to the target OTN service according to a URL corresponding to the target OTN service; and call a second service message from a plurality of preconfigured message requests, the second service message being used to indicate that the target OTN service is closed, and the second service message being used to indicate that a configuration parameter related to the target OTN service is deleted.

[0179] The embodiments of the present application further provide a computer readable storage medium. All or part of the processes of the above method embodiments can be instructed by a computer program to relevant hardware to complete, and the program can be stored in the computer readable storage medium. When the program is executed, the program can include the processes of the above method embodiments. The computer readable storage medium can be an internal storage unit of the service management apparatus (including the data sending end and / or the data receiving end) of any of the foregoing embodiments, for example, a hard disk or a memory of the service management apparatus. The computer readable storage medium can also be an external storage device of the terminal apparatus, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, and the like. Further, the computer readable storage medium can include both the internal storage unit and the external storage device of the service management apparatus. The computer readable storage medium is used to store the computer program and other programs and data required by the service management apparatus. The computer readable storage medium can also be used to temporarily store data that has been output or will be output.

[0180] It should be noted that the terms "first" and "second" and the like in the specification, claims and drawings of the present application are used to distinguish different objects, and are not used to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but can optionally include other steps or units not listed or can optionally include other steps or units inherent to the process, method, product or device.

[0181] It should be understood that, in the present application, "at least one" refers to one or more, "multiple" refers to two or more, "at least two" refers to two or three and three or more, and "and / or" is used to describe the association relationship of the associated objects, which means that there can be three relationships, for example, "A and / or B" can mean: only A, only B, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after it. "At least one of the following" or similar expressions means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b or c, can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0182] Through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of functional modules is exemplified, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0183] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules or units is only a logical function division, and actual implementation can have another division manner, for example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed each other can be through some interface, indirect coupling or communication connection between devices or units, which can be electrical, mechanical or other forms.

[0184] The units described as separate components can or can not be physically separated, and the components shown as units can be one physical unit or multiple physical units, that is, they can be located in one place, or they can be distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0185] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0186] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application essentially or say the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The software product is stored in a storage medium, includes a plurality of instructions to make a device (which can be a single-chip microcomputer, a chip, etc.) or a processor execute all or part of the steps of the method described in various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk, and various storage program codes.

[0187] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any change or replacement within the technical scope disclosed in the present application should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A service management method characterized by, The method comprises: determining to perform a first operation on a target optical transport network (OTN) service, the first operation comprising one or more of a management operation on resource data of the target OTN service, an operation of opening the target OTN service, and an operation of closing the target OTN service; obtaining first configuration information of the target OTN service; the first configuration information is used to call request messages of a plurality of message protocols, the request messages correspond to the first operation; the request messages of the plurality of message protocols are preconfigured; determining a corresponding service endpoint and service level according to a service scenario of the target OTN service, and determining a URL indicating the first operation performed on the target OTN service according to the service endpoint and the service level; based on the first configuration information and the URL, sending a corresponding request message to an OTN device related to the target OTN service, so that the OTN device performs the first operation on the target OTN service, and different OTN devices correspond to different message protocols.

2. The method of claim 1, wherein, The determination of the first operation on the target optical transport network (OTN) service comprises: receiving a first service request, the first service request being used to indicate a management operation on resource data of the target OTN service; determining a field corresponding to the resource data through a preconfigured message protocol analysis model; determining a management operation performed on the resource data according to the field; the management operation comprises one or more of adding resource data, updating resource data, querying resource data, and deleting resource data.

3. The method of claim 2, wherein, The method further comprises: obtaining resource data of a plurality of OTN devices; dividing the resource data into a plurality of levels of resource data; the plurality of levels at least comprise a network electrical layer, an optical layer, an Ethernet layer, and a synchronous digital hierarchy (SDH) layer; constructing the message protocol analysis model according to the plurality of levels of resource data.

4. The method according to any one of claims 1 to 3, characterized in that, If the first operation comprises an operation of opening the target OTN service, the sending of the corresponding request message to the OTN device related to the target OTN service based on the first configuration information and the URL, so that the OTN device performs the first operation on the target OTN service, comprises: determining a plurality of first OTN devices related to the opening of the target OTN service according to a uniform resource locator (URL) corresponding to the target OTN service; calling a first service message from a plurality of preconfigured message requests, the first service message being used to indicate the opening of the target OTN service; sending the first service message to the plurality of first OTN devices, so that the plurality of first OTN devices open the target OTN service.

5. The method according to any one of claims 1 to 3, characterized in that, If the first operation comprises an operation of closing the target OTN service, the sending of the corresponding request message to the OTN device related to the target OTN service based on the first configuration information and the URL, so that the OTN device performs the first operation on the target OTN service, comprises: determining a plurality of second OTN devices related to the target OTN service according to a URL corresponding to the target OTN service; From a plurality of pre-configured message requests, a second service message is invoked, the second service message being used to instruct to close the target OTN service, the second service message being used to instruct to delete a configuration parameter, the configuration parameter being related to the target OTN service; The second service message is sent to the plurality of second OTN devices, so that the plurality of second OTN devices close the target OTN service according to the second service message.

6. A service management apparatus characterized by comprising: The apparatus comprises: A determination unit is configured to determine to perform a first operation on a target optical transport network (OTN) service, the first operation comprising one or more of a management operation on resource data of the target OTN service, an operation of opening the target OTN service, and an operation of closing the target OTN service; An acquisition unit is configured to acquire first configuration information of the target OTN service; the first configuration information is used to invoke a plurality of message protocol request messages, the request messages corresponding to the first operation; the plurality of message protocol request messages are pre-configured; The determination unit is further configured to determine corresponding service endpoints and service levels according to a service scenario of the target OTN service, and determine a uniform resource locator (URL) indicating the first operation performed on the target OTN service according to the service endpoints and the service levels; A sending unit is configured to send corresponding request messages to OTN devices related to the target OTN service based on the first configuration information and the URL, so that the OTN devices perform the first operation on the target OTN service, and different OTN devices correspond to different message protocols.

7. The apparatus of claim 6, wherein, The determination unit is specifically configured to: Receive a first service request, the first service request being used to instruct a management operation on resource data of the target OTN service; Determine a field corresponding to the resource data through a pre-configured message protocol analysis model; Determine a management operation performed on the resource data according to the field; the management operation comprises one or more of adding resource data, updating resource data, querying resource data, and deleting resource data.

8. The apparatus of claim 7, wherein, The apparatus further comprises a processing unit; The acquisition unit is further configured to acquire resource data of a plurality of OTN devices; The processing unit is configured to divide the resource data into a plurality of levels of resource data; the plurality of levels at least comprise a network electrical layer, an optical layer, an Ethernet layer, and a synchronous digital hierarchy (SDH) layer; The processing unit is further configured to construct the message protocol analysis model according to the plurality of levels of resource data.

9. The device according to any of claims 6-8, characterized in that If the first operation comprises an operation of opening the target OTN service, the sending unit is specifically configured to: Determine a plurality of first OTN devices related to opening the target OTN service according to a URL corresponding to the target OTN service; Invoke a first service message from a plurality of pre-configured message requests, the first service message being used to instruct to open the target OTN service; Send the first service message to the plurality of first OTN devices, so that the plurality of first OTN devices open the target OTN service.

10. The device of any one of claims 6-8, wherein, If the first operation comprises an operation of closing a target OTN service, the sending unit is specifically configured to: determine a plurality of second OTN devices related to the target OTN service according to a URL corresponding to the target OTN service; invoke a second service message from a plurality of pre-configured message requests, the second service message being used to indicate closing of the target OTN service, the second service message being used to indicate a configuration parameter to be deleted, the configuration parameter being related to the target OTN service; send the second service message to the plurality of second OTN devices, so that the plurality of second OTN devices close the target OTN service according to the second service message.

11. A computer readable storage medium, characterized in that, The readable storage medium stores instructions, when the instructions are executed, the method in any one of claims 1-5 is implemented.

12. A service management apparatus characterized by comprising: comprises: a processor, a memory and a communication interface; wherein the communication interface is used for communication between the service management device and other devices or networks; the memory is used to store one or more programs, the one or more programs comprising computer execution instructions, when the service management device is running, the processor executes the computer execution instructions stored in the memory, so that the service management device executes the method in any one of claims 1-5.

Citation Information

Patent Citations

  • Configuration method, related device and system

    CN112737805A

  • Service fulfillment method and device

    CN112751692A