WO2015109735A1 - Service creation method, apparatus and network element device - Google Patents

Service creation method, apparatus and network element device Download PDF

Info

Publication number
WO2015109735A1
WO2015109735A1 PCT/CN2014/079971 CN2014079971W WO2015109735A1 WO 2015109735 A1 WO2015109735 A1 WO 2015109735A1 CN 2014079971 W CN2014079971 W CN 2014079971W WO 2015109735 A1 WO2015109735 A1 WO 2015109735A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
information
layer
node
path
Prior art date
Application number
PCT/CN2014/079971
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 WO2015109735A1 publication Critical patent/WO2015109735A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a method, an apparatus, and a network element device for service creation. Background technique
  • the gateway software uses the related data stored in the gateway database or the device, and combines the related information set by the user to create the service information required by the user. Send the generated service configuration data to the network element device to create a communication link required by the user.
  • the client layer service needs multiple service layer service support, and each service layer service needs multiple service layer services.
  • each service layer service needs multiple service layer services.
  • you create multiple service layer services or create more complex services if you create them manually, you need to spend a lot of time to create the required services. If the user is unclear about the network, or does not know what layer services to create, It is difficult to open the business that users need.
  • the embodiments of the present invention are expected to provide a method, a device, and a network element device for service creation.
  • the embodiment of the invention provides a method for service creation, including:
  • the service information includes start information and termination information of a client layer service
  • the step of selecting one of the service paths includes: selecting a shortest service path among all possible service paths.
  • the process of creating a client layer service and a corresponding service layer service according to the selected service path includes:
  • the node includes a service channel endpoint; and creating a client layer service and a corresponding service layer service according to the information of the node.
  • the information of the node further includes information that is multiplexed or demultiplexed between adjacent nodes;
  • the neighboring node includes two nodes that can be multiplexed or demultiplexed with each other. ;
  • Determining the client layer service and the corresponding service layer service according to the information of the node including: determining a client layer service and a corresponding service layer service according to the start information and the termination information; and performing multiplexing according to the neighboring nodes or
  • the demultiplexed information determines the hierarchical relationship between the client layer service and the service layer service, and generates service routes of each layer service according to the hierarchical relationship.
  • the service information further includes condition constraint information, where the condition constraint information includes at least one of a service layer endpoint, a port, a board, a network element, and a service layer service.
  • the embodiment of the invention further provides a service creation device, including: a path acquisition module and a service creation module;
  • the path obtaining module is configured to acquire all possible service paths according to the service information, and select one of the service paths, where the user information includes client layer service start information and termination information;
  • the service creation module is configured to create a client layer service and a corresponding service layer service according to the selected service path.
  • the path obtaining module selects one of the service path packages. Include: Select the shortest business path among all possible business paths.
  • the service creation module includes an acquisition submodule and a creation submodule
  • the obtaining submodule is configured to obtain information about all nodes that the service path passes, and the node includes a service channel endpoint;
  • the creating submodule is configured to create a client layer service and a corresponding service layer service according to the information of the node.
  • the information about the acquiring sub-module acquiring node in the service creating module further includes information that is multiplexed or demultiplexed between adjacent nodes; and the neighboring nodes include reciprocal Two nodes that are demultiplexed or demultiplexed;
  • the creating sub-module in the service creation module creates a client layer service and a corresponding service layer service according to the information of the node, including:
  • the embodiment of the present invention further provides a network element device, including: a memory and a processor, where the memory is configured to store service information;
  • the processor is configured to perform the following steps:
  • the service information includes start information and termination information of the client layer service
  • the embodiment of the present invention further provides a computer readable storage medium, the storage medium comprising a set of computer executable instructions, the instructions being used to execute the service creation method according to the embodiment of the present invention.
  • the embodiment of the invention provides a method, a device and a network element device for service creation, which are solved by using It is inconvenient and difficult for the user to create a business.
  • the solution of the present application includes: obtaining all possible service paths according to the service information, and selecting one of the service paths, where the service information includes start information and termination information of the client layer service; and creating a client layer service and corresponding according to the selected service path.
  • Service layer business Compared with the prior art, it is not necessary to set each layer of service information to implement service creation, but only needs to start the required service according to the start information and the termination information of the client layer service, thereby realizing fast and convenient. Creating a business solves the problem of inconvenient and difficult task of creating an existing user.
  • FIG. 1 is a flowchart of a service creation method according to a first embodiment of the present invention
  • FIG. 2 is a schematic diagram of a node traversal structure according to a first embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a service creation apparatus according to a second embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a network element device according to a third embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for creating a WDM GE layer service according to a fourth embodiment of the present invention. detailed description
  • the invention obtains all the possible service paths according to the service information, and the service information includes the start information and the termination information of the client layer service, selects one of the service paths, and creates the client layer service and the corresponding service layer service according to the selected service path. .
  • the selected service path is the shortest path.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the service creation method provided by the first embodiment of the present invention is as shown in FIG. 1 , and the method includes: Step 101: Obtain all possible service paths according to the service information, and select one of the service paths, where the service information includes client layer service start information and termination information, and the start information and/or termination information may be one, or More than one;
  • Step 102 Create a client layer service and a corresponding service layer service according to the selected service path.
  • step 101 all possible service paths are obtained according to the service information, and the service information includes client layer service start information and termination information.
  • the setting of the start information and the termination information of the client layer service includes at least one of the following modes:
  • Method 1 Manually set business information each time a business is created
  • Method 2 Automatically extract the previously stored business information from the system database or device.
  • the service information includes start information and termination information of the client layer service.
  • the first mode is used, that is, the service information is manually set;
  • All the possible service paths are obtained according to the service information, and the client layer service and the service layer service in each of the all possible service paths are mixed, and there is no hierarchical relationship between the client layer service and the service layer service. It is only a business path from the start information of the client layer service to the termination information.
  • the network management system preferably obtains all possible service paths according to the service information, and may also be a third-party device having the same function.
  • the manner in which the system obtains all possible service paths according to the service information includes any one of the following two situations:
  • Method 1 Obtain all possible service paths directly according to service information
  • Method 2 Based on the business information, obtain the calculated data, and combine the two to obtain all possible service paths.
  • the service information further includes calculation data, which is data required for obtaining all possible service paths, first obtaining a service path according to the calculation data, and then according to the service The information determines all possible service paths, or the calculation data is obtained under the condition that the service start information and the termination information are all available.
  • all possible service paths are preferably obtained in the second manner.
  • the calculation data required to obtain all possible service paths is the data read by the system from the gateway database or other network devices, including but not limited to all layers of service information, physical link data, client layer service endpoints, clients. At least one of the service layer end points of the service layer and the connectivity capability data between the end points.
  • the connectivity capability data between the endpoints indicates that if the command is sent to the device through the network management system, so that the signal can be transmitted from one endpoint to another, the two endpoints have the ability to connect.
  • the specific process of obtaining all possible business paths includes obtaining a graph that can calculate a multi-layer service by one calculation according to the theory of graph theory, the calculation is performed by the system, and then the system selects one according to the acquired graph.
  • the service path, the way to select the service path includes at least one of the following methods:
  • Method 1 The system randomly selects one of the service paths
  • Method 2 Select one of the service paths according to user conditions
  • Method 3 Choose one of the shortest business paths.
  • a third mode is selected, and one of the shortest service paths is selected, and the subject performing the operation may be a user or a system.
  • the shortest service path represents the shortest distance from the client layer service start information to the termination information.
  • the shortest service path includes, but is not limited to, the number of channels through which the service path passes and the service channel endpoint, which is referred to as a service endpoint.
  • the shortest service path is preferred, and the service created according to the shortest service path is more resource-saving during use.
  • the client layer service and the corresponding service layer service are created according to the selected service path.
  • the created client layer service and the corresponding service layer service include the client layer service and the service layer service.
  • Service layer services and services required by the customer layer business At least one of the service layer services required by the layer service, where the corresponding service layer service includes a service layer service required by the client layer service and a service layer service required by the service layer service.
  • the process of creating a client layer service and/or a corresponding service layer service according to the selected shortest path includes: obtaining information of all nodes through which the shortest service path passes, the node including the service channel endpoint, and creating a client layer according to the information of the node Business and corresponding service layer business.
  • the node information further includes information that is multiplexed or demultiplexed between adjacent nodes; the neighboring node includes two nodes that can be multiplexed or demultiplexed with each other.
  • the information that is multiplexed or demultiplexed between neighboring nodes includes the number of times of multiplexing or demultiplexing between adjacent nodes or the number of neighboring nodes where multiplexing or demultiplexing occurs, as long as the node or
  • the information obtained by the neighboring nodes to achieve the same functions as the present application belongs to the scope of protection claimed in this embodiment.
  • the system count is incremented once
  • a node is demultiplexed once
  • the client layer service node to the service layer service node or the service layer service node to the required service layer service node is once multiplexed for the node, and the service layer service node is connected to the client layer service node or the service layer service node.
  • the service layer service node to the service layer service node is demultiplexed once for the node; when the node is multiplexed to the service layer service node or the node is demultiplexed to the client layer service node or the service layer service required service layer service node is solved
  • the node is said to be adjacent to the other node to be multiplexed or demultiplexed.
  • the definition of the node is extended, and the node is no longer the existing network element node, but further includes the service end point.
  • the meaning of the adjacent node is also extended in this embodiment, and the adjacent node is not only The endpoints of the two sides of the existing service are further multiplexed from the client layer service endpoint to the service layer service endpoint, or the service layer service endpoint is demultiplexed to the client layer service endpoint, for example, as shown in FIG.
  • the nodes that have passed have endpoints 2, 3, 4, 5, ⁇ '11; the neighboring nodes they pass through have Endpoint 2 and Endpoint 3, Endpoint 3 and Endpoint 4, Endpoint 5 and Endpoint 6, Endpoint 6 and Endpoint 7, Endpoints 7 and Endpoint 8, Endpoint 9 and Endpoint 10, Endpoint 10 and Endpoint 11. That is to say, these endpoints are also used as neighboring nodes of the service side, thus expanding the range of adjacent nodes, and facilitating the system to quickly create the client layer service and the corresponding service layer service according to the service information.
  • the client layer service and/or the corresponding service layer service process are created according to the information of the node, including:
  • the relationship between the neighboring nodes in the present embodiment is the number of times of multiplexing or demultiplexing between neighboring nodes.
  • the client layer service and the corresponding service layer service are preferably created by means of node traversal.
  • the node traversal method first determines that there is a client layer service and a service layer service in the service path according to the start information and the termination information of the client layer service, and only the client layer service can be determined in the service path, but the client There is no hierarchical relationship between the layer service and the corresponding service layer service. It is not known that the service layer service required by the client layer service and the service layer service required by the service layer service belong to the first service level.
  • the service hierarchy relationship by the number of times the neighboring node performs multiplexing or demultiplexing, starting from the starting point of the client layer service, and when the node is once multiplexed, the client layer service is indicated.
  • the node to which the starting point is multiplexed is its service layer service node. If no multiplexing or demultiplexing occurs, the node is a peer service node, and so on, until the termination point of the client layer service, so that The service layer service required by the client layer service, the service layer service, the client layer service, and the service layer service required by the service layer service are determined, thereby creating a business hierarchy relationship.
  • the endpoints 3 and 4 are selected in this embodiment.
  • the channel is defined as the first channel
  • the channel where the endpoints 5 and 8 are located is defined as the second channel
  • the channel where the endpoints 6, 7 are located is defined as the third channel
  • the channel where the endpoints 9, 10 are located is defined as the fourth channel
  • the endpoint A- 2 and the channel where the endpoint 11-Z is located is set as the client layer service channel
  • the first channel, the second channel, the third channel, and the fourth channel are service layer service channels respectively, and the first channel, the second channel, and the fourth channel are the same
  • the channel of the diameter is defined as the channel of the same layer.
  • the nodes that pass through include: 2, 3, 4, 5, - - - 11; the adjacent nodes passing through include: 2 and 3, 3 and 4, 5 and 6, 6 and 7, 7 and 8, 9 and 10, 10 and 11, during the traversal process, the system records each passing node (also the channel end point), and the system Record the number of times each node is multiplexed or demultiplexed.
  • the system records the passing nodes through naming, measuring the length of the path, and measuring the bandwidth. Of course, it is not limited to the above. Type, in the present embodiment, preferably preclude be recorded by the node after naming the channel number and node number in combination.
  • the channel number of the node and the corresponding node number are recorded, and then the position of the next adjacent node of the current node is determined. If it is necessary to perform multiplexing once and then reach the next adjacent node, the count is incremented by one. Bit, if a demultiplexing is required to reach the next adjacent node, the count is reduced by one bit, and traversed in this way, for example, node 5, where node 5 is named 2.1 (2 represents the second channel) , 1 represents the first endpoint of the second channel. After recording the naming of the node 5, the neighboring node of the node 5 is judged again.
  • the neighboring node of the node 5 is the node 6, and the node 5 is the node. 6 needs to occur once for multiplexing, then the count is increased by one.
  • Fig. 2 of the present embodiment two times of multiplexing and two times of demultiplexing need to be performed separately to complete the traversal of the entire process.
  • the service corresponding to the node connected to the starting point A and the ending point Z is the customer layer service, that is, the customer layer service A- 2-11-Z; wherein, the first multiplexing occurs when the slave node 2 enters the node 3, the number is incremented by one, and the node 3 is determined to be the service layer service.
  • the node 3 is named 1.1.
  • the name of node 4 is 1.2, so that it can be determined that node 3 and node 4 belong to the same channel, that is, node 4 also belongs to the service layer service node.
  • the node The naming rules are as follows: Node 4 is named 1.2, where 1 indicates that the channel number is 1; 2 indicates the second endpoint of the first channel.
  • the system further determines that no demultiplexing occurs between the node 4 and the node 5, and it is determined that the node 4 and the node 5 belong to the service layer service of the same level, and it is determined that the node 5 to the node 6 need to occur for the second time. Reuse, increase the number by one, and determine that the service layer service where the node 6 is located is the service layer service of the service layer service where the node 5 is located, and again according to the node naming, the node 7 that belongs to the same channel as the node 6 can be determined.
  • node 7 needs to be demultiplexed to the node 8 once, and the count is reduced by one bit.
  • the count is decreased by one bit, it is judged that the node 8 and the node 5 belong to the same level of the service layer service, and the node 8 to the node 9 determine the manner and the node. 4 to node 5 are the same, node 9 to node 10 are judged in the same manner as node 3 to node 4, and node 10 to node 11 are judged in the same manner as node 7 to node 8, so that the client layer service A-2 is finally determined.
  • the service information further includes condition constraint information
  • the system creates the client layer service and/or the service layer service according to the start information and the termination information of the client layer service, and adds the condition constraint information.
  • the service required by the user can be more prepared, and the condition constraint information includes information that the signal must pass and/or prohibit.
  • the condition constraint information includes but is not limited to any one of the following: service layer endpoint, port, and single Board, network element, monthly service layer business.
  • Figure 3 is a service creation apparatus provided by this embodiment, including: a path acquisition module 301 and a service creation module 302;
  • the path obtaining module 301 is configured to acquire all possible service paths according to the service information, and select one of the service paths, where the user information includes the client layer service start information and the termination information.
  • the service creation module 302 is configured to create according to the service path selected by the path obtaining module 301. Customer layer business and corresponding service layer business.
  • the client layer service and the corresponding service layer service include at least one of a client layer service, a service layer service, a service layer service required by the client layer service, and a service layer service required by the service layer service
  • the corresponding service layer service includes a service layer service required by the client layer service and a service layer service required by the service layer service.
  • the manner in which the path obtaining module 301 selects one of the service paths includes at least one of the following three modes:
  • Method 1 The system randomly selects one of the service paths
  • Method 2 Select one of the service paths according to user conditions
  • Method 3 Choose one of the shortest business paths.
  • the path obtaining module 301 selects one of the shortest paths; the shortest service path indicates that the distance from the client layer service start information to the termination information is the shortest.
  • the shortest service path includes, but is not limited to, the number of channels through which the service path passes and the service channel endpoint, which is referred to as the service endpoint.
  • the shortest service path is preferred, and the service created according to the shortest service path is mainly used to save resources during use.
  • the service creation module 302 includes an acquisition submodule 3021 and a creation submodule 3022.
  • the acquisition submodule 3021 is configured to obtain information of all nodes through which the service path passes, and the node includes a service channel endpoint.
  • the sub-module 3022 is configured to create a client layer service and a corresponding service layer service according to the information about the node acquired by the obtaining sub-module 3021.
  • the information about the node acquired by the obtaining submodule 3021 in the service creating module 302 further includes information about multiplexing or demultiplexing between adjacent nodes; the neighboring nodes include multiplexing or demultiplexing with each other. Two nodes.
  • the information that is multiplexed or demultiplexed between adjacent nodes includes the number of times of multiplexing or demultiplexing between adjacent nodes, or the neighboring nodes that are multiplexed or demultiplexed. Number, etc., as long as the node or neighboring node is involved in obtaining the same function as the present application The information is within the scope of the claimed embodiment.
  • the system count is incremented once, and when a node is demultiplexed once, the count is decreased once.
  • the client layer service node to the service layer service node or the service layer service node to the required service layer service node is once multiplexed for the node, and the service layer service node is connected to the client layer service node or the service layer service node.
  • the service layer service node to the service layer service node is demultiplexed once for the node; the node is multiplexed to the service layer service node or the node is demultiplexed to the client layer service node or the service layer service required service layer service node demultiplexing To the service layer service node, the node is said to be adjacent to another node that is multiplexed or demultiplexed.
  • the definition of the node is extended, and the node is no longer the existing network element node, but further includes the service end point.
  • the meaning of the adjacent node is also extended in this embodiment, and the adjacent node is not only And then the endpoints of the two sides of the existing service, but further include multiplexing from the client layer service endpoint to the service layer service endpoint, or the service layer service endpoint demultiplexing to the client layer service endpoint, that is, the endpoints are also As a neighboring node of the service side, the scope of the adjacent nodes is expanded, and the system can quickly create the client layer service and the corresponding service layer service according to the service information.
  • the creating submodule 3022 in the service creating module 302 creates the client layer service and the corresponding service layer service according to the information of the node, including:
  • the client layer service and the corresponding service layer service are determined according to the start information and the termination information, where the start information and the termination information are start points and end points of the client layer service, wherein the start point may have multiple.
  • the information that occurs or is demultiplexed is the number of times that multiplexing or demultiplexing occurs between adjacent nodes.
  • the client layer service and the corresponding service layer service are preferably created by means of node traversal.
  • node traversal first according to the starting information and end of the customer layer business
  • the information indicates that there is a client layer service and a service layer service in the service path, and only the client layer service can be determined in the service path, but there is no hierarchical relationship between the client layer service and the corresponding service layer service, and the customer is not known.
  • the service layer service required by the layer service and the service layer service required by the service layer service should belong to which service level.
  • the service hierarchy relationship by the number of times the neighboring node performs multiplexing or demultiplexing, starting from the starting point of the client layer service, and when the node is once multiplexed, the client layer service is indicated.
  • the node to which the starting point is multiplexed is its service layer service node. If no multiplexing or demultiplexing occurs, it indicates that the node and the client layer service node are peer-level service nodes, and so on, until the termination of the client layer service. In this way, the service layer service required by the client layer service, the service layer service required by the client layer service, and the service layer service required by the service layer service can be determined, thereby creating a business hierarchy relationship.
  • the path obtaining module 301 obtains all possible service paths according to the service information, where the service information further includes condition constraint information, where the constraint information includes a service layer endpoint, a port, a board, a network element, and a service. At least one of the layers of business.
  • the path obtaining module 301 and the service creating module 302, the obtaining sub-module 3021 and the creating sub-module 3022 may be implemented by a central processing unit (CPU, Central Processing Unit) and a processor (MPU, Micro Processing) of the service creation device. Unit), Digital Signal Processor (DSP) or Field-Programmable Gate Array (FPGA).
  • CPU Central Processing Unit
  • MPU Micro Processing
  • DSP Digital Signal Processor
  • FPGA Field-Programmable Gate Array
  • FIG. 4 is a network element device provided in this embodiment, including: a memory 401, a processor 402, and a memory 401 configured to store service information;
  • the processor 402 is configured to perform the following steps:
  • the processor 402 obtains all possible service paths according to the service information, where the setting of the service information includes at least one of the following two modes:
  • Method 1 Manually set business information each time a business is created
  • Method 2 Automatically extract the previously stored business information from the system database or device.
  • the first mode is used, that is, the service information is manually set.
  • the service information includes the start information and the termination information of the client layer service, where the start information of the client layer service may be multiple.
  • All the possible service paths are obtained according to the service information, and the client layer service and the service layer service in each of the all possible service paths are mixed, and there is no hierarchical relationship between the client layer service and the service layer service. It is only a business path from the start information of the client layer service to the termination information.
  • the network management system preferably obtains all possible service paths according to the service information, and may also be a third-party device having the same function.
  • the manner in which the processor 402 obtains all possible service paths according to the service information includes any one of the following two situations:
  • Method 1 Obtain all possible service paths directly according to service information
  • Method 2 Based on the business information, obtain the calculated data, and combine the two to obtain all possible service paths.
  • the service information further includes calculation data, which is data required for obtaining all possible service paths, first obtaining a service path according to the calculation data, and then determining all possible service paths according to the service information, or calculating data for the service.
  • the start information and the termination information are used as conditions to obtain all possible service paths.
  • all possible service paths are preferably obtained in the second manner.
  • the calculation data required to obtain all possible service paths is data read by the system from the gateway database or other network devices, including but not limited to business information of all layers, At least one of physical link data, a client layer service endpoint, a service layer service layer at each layer of the client layer, and connectivity capability data between the endpoints.
  • the connectivity capability data between the endpoints indicates that if the command is sent to the device through the network management system, so that the signal can be transmitted from one endpoint to another, the two endpoints have the ability to connect.
  • the specific process of obtaining all possible business paths includes obtaining a graph that can calculate a multi-layer service by one calculation according to the theory of graph theory, the calculation is performed by the system, and then the system selects one according to the acquired graph.
  • the service path, the way to select the service path includes at least one of the following methods:
  • Method 1 The system randomly selects one of the service paths
  • Method 2 Select one of the service paths according to user conditions
  • Method 3 Choose one of the shortest business paths.
  • a third mode is selected, and one of the shortest service paths is selected, and the subject performing the operation may be a user or a system.
  • the shortest service path represents the shortest distance from the client layer service start information to the termination information.
  • the shortest service path includes, but is not limited to, the number of channels through which the service path passes and the service channel endpoint, which is referred to as a service endpoint.
  • the shortest service path is preferred, and the service created according to the shortest service path is more resource-saving during use.
  • the processor 402 creates a client layer service and a corresponding service layer service according to the selected shortest service path.
  • the created client layer service and the corresponding service layer service include a client layer service, a service layer service, and a client.
  • the process includes: obtaining information of all nodes through which the shortest service path passes, the information of the node includes a service channel endpoint, and creating a client layer service and/or a corresponding service layer service according to the information of the node.
  • the information of the node further includes information that is multiplexed or demultiplexed between adjacent nodes; the neighboring node includes two nodes that can be multiplexed or demultiplexed with each other, in this embodiment,
  • the information that is multiplexed or demultiplexed between adjacent nodes includes the number of times of multiplexing or demultiplexing between adjacent nodes.
  • the system count is incremented once, when When a node undergoes demultiplexing once, the count is reduced once.
  • the client layer service node to the service layer service node or the service layer service node to the required service layer service node is once multiplexed for the node, and the service layer service node is connected to the client layer service node or the service layer service node.
  • the service layer service to the service layer service node is demultiplexed once for the node; the node is multiplexed to the service layer service node or the node is demultiplexed to the client layer service node or the service layer service required service layer service node is demultiplexed to
  • the service layer service node is said to be an adjacent node to which the node is multiplexed or demultiplexed.
  • the definition of the node is extended, and the node is no longer the existing network element node, but further includes the service end point.
  • the meaning of the adjacent node is also extended in this embodiment, and the adjacent node is not only And then the endpoints of the two sides of the existing service, but further include multiplexing from the client layer service endpoint to the service layer service endpoint, or the service layer service endpoint demultiplexing to the client layer service endpoint, that is, the endpoints are also As a neighboring node of the service side, the range of adjacent nodes is expanded, and the system can quickly create a client layer and a corresponding service layer according to service information.
  • the processor 402 creates a client layer service and/or a corresponding service layer service process according to the information of the node, including:
  • the relationship between the neighboring nodes in the present embodiment is multiplexed or demultiplexed between the neighboring nodes. The number of times of demultiplexing.
  • the client layer service and the corresponding service layer service are preferably created by means of node traversal.
  • the node traversal method first determines that there is a client layer service and a service layer service in the service path according to the start information and the termination information of the client layer service, and only the client layer service can be determined in the service path, but the client There is no hierarchical relationship between the layer service and the corresponding service layer service. It is not known which service level the service layer service required by the client layer service and the service layer service required by the service layer service belong to.
  • the service hierarchy relationship by the number of times the neighboring node performs multiplexing or demultiplexing, starting from the starting point of the client layer service, and when the node is once multiplexed, the client layer service is indicated.
  • the node to which the starting point is multiplexed is its service layer service node. If no multiplexing or demultiplexing occurs, the node is a peer service node, and so on, until the termination point of the client layer service, so that The service layer service required by the client layer service, the service layer service, the client layer service, and the service layer service required by the service layer service are determined, thereby creating a business hierarchy relationship.
  • the processor 402 obtains all possible service paths according to the service information, where the service information further includes condition constraint information, and the system creates the client layer service and service according to the start information and the termination information of the client layer service, and the condition constraint information.
  • Layer service the condition constraint information is added to be more ready to create a service required by the user, and the condition constraint information includes information that the signal must pass and/or prohibit, and the condition constraint information includes but is not limited to any one of the following : Service layer endpoints, ports, boards, NEs, and service layer services.
  • Embodiment 4 Embodiment 4:
  • FIG. 5 is a method for creating a WDM GE layer service provided by the example.
  • the service layer of the GE layer service is the ODU service
  • the service layer of the ODU layer service is the OCH service
  • the service layer of the OCH layer service is the OMS service.
  • the service layer service of each layer needs to be created first, and then the required GE layer service is created.
  • the application is used. Applying the method in the first embodiment to create a GE layer service, where the method includes: Step 501: Setting basic data including a service start endpoint and a terminating endpoint;
  • Step 502 Obtain calculation data.
  • Step 503 Create a service route.
  • Step 504 Determine whether the created service route is suitable. If yes, go to step 505. If no, go to step 501;
  • Step 505 The device is delivered to the device to enable the created service route.
  • the created hierarchical GE may be set. Before the service is created, the service level GE to be created and the starting point and the ending point of the service need to be planned in advance. There may be more than one starting point for this business;
  • step 501 in order to make the service more suitable for the user's needs, the constraint information may be set, and the constraint information is generally divided into information that must be passed and/or prohibited.
  • the GE layer service is created, and the ODU layer service can be skipped and bound to the OCH layer service.
  • the port constraint can be restricted to the port of the OMS layer service, that is, the service passes or is not allowed to pass the service. The port.
  • step 502 the calculation data is obtained.
  • the step is that the network management system reads the data required for calculating the service route from the database, for example, reading the service layer service path from the service table.
  • the route calculation is started.
  • the endpoint is not only the endpoint of the GE layer service in each network element, but also the endpoints of the ODU, OCH, and other layer services. These endpoints are also considered as neighbors of the service side and are added to the routing algorithm. In this way, the scope of the calculation is expanded, and all levels are included, so that all service layer services and service layer services of the service layer service can be calculated.
  • a service route is created.
  • the GE layer service is calculated, and six routes of ODU1, ODU2, ODU3, OCH1, OCH2, and OCH3 are obtained.
  • ODU3 has passed the service starting point A, and ODU1 has passed the service termination point.
  • ODU1 has passed the service termination point.
  • the entire path can be connected: ODU3--- ODU1, there is no connected path after the connection Clear customer layer business and service layer business hierarchy, therefore, it is necessary to traverse all routes and establish hierarchical relationships.
  • ODU2 belongs to the same layer of service-customer layer service as ODU3 and ODU1, and further discovers that the service layer service of 0DU3 is 0CH3, the service layer service of 0DU2 is 0CH2, and the service layer service of 0DU1 is 0CH1, therefore, the path is clear.
  • ODU3 the service layer service of 0DU3 is 0CH3
  • the service layer service of 0DU2 is 0CH2
  • the service layer service of 0DU1 is 0CH1
  • the route display manner has at least the following three modes:
  • the first type display through the connection of the topology
  • the second type by means of text (such as a table);
  • the third type a combination of tree expansion and topology expansion
  • step 505. the process returns to step 501 to re-create the route.
  • Step 505 is sent to the device to enable the created service route.
  • the device can be delivered to the device.
  • the device is a network element device and creates a real service route on the device.
  • the embodiment of the present invention further provides a computer readable storage medium, the storage medium comprising a set of computer executable instructions, the instructions being used to execute the service creation method according to the embodiment of the present invention.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment of a combination of software and hardware. Moreover, the invention can be embodied in the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

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

Abstract

Provided are a service creation method, apparatus and network element device. The method comprises: constructing all possible service paths according to service information, and selecting one of the service paths, wherein the service information comprises start information and termination information about a client-layer service; and creating the client-layer service and a corresponding service-layer service according to the selected service path.

Description

一种业务创建的方法、 装置及网元设备 技术领域  Method, device and network element device for business creation
本发明涉及无线通信技术领域, 尤其涉及一种业务创建的方法、 装置 及网元设备。 背景技术  The present invention relates to the field of wireless communication technologies, and in particular, to a method, an apparatus, and a network element device for service creation. Background technique
现有技术的承载网络中, 用户需要通过网管软件手动设置需要创建的 业务相关信息, 网关软件利用保存在网关数据库或者设备中的相关数据, 以及结合用户设置的相关信息, 创建用户所需业务信息, 将产生的业务配 置数据发送到网元设备, 从而创建一条用户所需通信链路。 但是, 在上述 创建业务的过程中存在以下问题:  In the bearer network of the prior art, the user needs to manually set the service related information that needs to be created through the network management software. The gateway software uses the related data stored in the gateway database or the device, and combines the related information set by the user to create the service information required by the user. Send the generated service configuration data to the network element device to create a communication link required by the user. However, in the above process of creating a business, the following problems exist:
当用户需要创建某一业务时, 由于在层网络模型中, 端到端的业务是 分层的, 客户层业务需要多条服务层业务支持, 而每条服务层业务又需要 多条服务层业务, 当用户创建多条服务层业务或者创建更为复杂的业务时, 如果手动创建, 需要花费很多时间依次去创建需要的业务, 如果用户对网 络不清楚, 或者不知道需要创建什么样的层业务, 就很难开通用户所需的 业务。  When a user needs to create a service, because the end-to-end service is layered in the layer network model, the client layer service needs multiple service layer service support, and each service layer service needs multiple service layer services. When you create multiple service layer services or create more complex services, if you create them manually, you need to spend a lot of time to create the required services. If the user is unclear about the network, or does not know what layer services to create, It is difficult to open the business that users need.
基于以上分析,何如根据用户需求快捷,方便的创建出用户所需业务, 是亟待解决的技术问题。 发明内容  Based on the above analysis, it is a technical problem that needs to be solved urgently and conveniently according to the user's needs. Summary of the invention
为解决现有存在的技术问题, 本发明实施例期望提供一种业务创建的 方法、 装置及网元设备。  In order to solve the existing technical problems, the embodiments of the present invention are expected to provide a method, a device, and a network element device for service creation.
本发明实施例提出了一种业务创建的方法, 包括:  The embodiment of the invention provides a method for service creation, including:
根据业务信息获取所有可能的业务路径, 并选取其中一条业务路径, 所述业务信息包括客户层业务的起始信息和终止信息; Obtain all possible service paths based on the service information, and select one of the service paths. The service information includes start information and termination information of a client layer service;
根据选取的所述业务路径创建客户层业务和对应的服务层业务。  Create a client layer service and a corresponding service layer service according to the selected service path.
在本发明的一实施例中, 所述选取其中一条业务路径的步骤包括: 选 取所有可能的业务路径中的最短业务路径。  In an embodiment of the invention, the step of selecting one of the service paths includes: selecting a shortest service path among all possible service paths.
在本发明的一实施例中, 根据选取的所述业务路径创建客户层业务和 对应的服务层业务的过程包括:  In an embodiment of the present invention, the process of creating a client layer service and a corresponding service layer service according to the selected service path includes:
获取业务路径经过的所有节点的信息, 所述节点包括业务通道端点; 根据所述节点的信息创建客户层业务和对应的服务层业务。  Obtaining information of all nodes through which the service path passes, the node includes a service channel endpoint; and creating a client layer service and a corresponding service layer service according to the information of the node.
在本发明的一实施例中, 所述节点的信息还包括相邻节点之间发生复 用或者解复用的信息; 所述相邻节点包括可彼此发生复用或者解复用的两 个节点;  In an embodiment of the present invention, the information of the node further includes information that is multiplexed or demultiplexed between adjacent nodes; the neighboring node includes two nodes that can be multiplexed or demultiplexed with each other. ;
根据所述节点的信息创建客户层业务和对应的服务层业务包括: 根据所述起始信息和终止信息确定客户层业务和对应的服务层业务; 根据所述相邻节点之间发生复用或者解复用的信息确定客户层业务和 服务层业务之间的层次关系, 并根据层次关系生成各层业务的业务路由。  Determining the client layer service and the corresponding service layer service according to the information of the node, including: determining a client layer service and a corresponding service layer service according to the start information and the termination information; and performing multiplexing according to the neighboring nodes or The demultiplexed information determines the hierarchical relationship between the client layer service and the service layer service, and generates service routes of each layer service according to the hierarchical relationship.
在本发明的一实施例中, 所述业务信息还包括条件约束信息, 所述条 件约束信息包括服务层端点、 端口、 单板、 网元、 服务层业务中的至少一 种。  In an embodiment of the present invention, the service information further includes condition constraint information, where the condition constraint information includes at least one of a service layer endpoint, a port, a board, a network element, and a service layer service.
本发明实施例还提供了一种业务创建装置, 包括: 路径获取模块和业 务创建模块;  The embodiment of the invention further provides a service creation device, including: a path acquisition module and a service creation module;
所述路径获取模块, 配置为根据业务信息获取所有可能的业务路径, 并选取其中一条业务路径, 所述用户信息包括客户层业务起始信息和终止 信息;  The path obtaining module is configured to acquire all possible service paths according to the service information, and select one of the service paths, where the user information includes client layer service start information and termination information;
所述业务创建模块, 配置为根据选取的所述业务路径创建客户层业务 和对应的服务层业务。  The service creation module is configured to create a client layer service and a corresponding service layer service according to the selected service path.
在本发明的一实施例中, 所述路径获取模块选取其中一条业务路径包 括: 选取所有可能的业务路径中的最短业务路径。 In an embodiment of the invention, the path obtaining module selects one of the service path packages. Include: Select the shortest business path among all possible business paths.
在本发明的一实施例中, 所述业务创建模块包括获取子模块和创建子 模块;  In an embodiment of the present invention, the service creation module includes an acquisition submodule and a creation submodule;
所述获取子模块, 配置为获取业务路径经过的所有节点的信息, 所述 节点包括业务通道端点;  The obtaining submodule is configured to obtain information about all nodes that the service path passes, and the node includes a service channel endpoint;
所述创建子模块, 配置为根据所述节点的信息创建客户层业务和对应 的服务层业务。  The creating submodule is configured to create a client layer service and a corresponding service layer service according to the information of the node.
在本发明的一实施例中, 所述业务创建模块中的获取子模块获取节点 的信息还包括相邻节点之间发生复用或者解复用的信息; 所述相邻节点包 括可彼此发生复用或者解复用的两个节点;  In an embodiment of the present invention, the information about the acquiring sub-module acquiring node in the service creating module further includes information that is multiplexed or demultiplexed between adjacent nodes; and the neighboring nodes include reciprocal Two nodes that are demultiplexed or demultiplexed;
所述业务创建模块中的创建子模块根据所述节点的信息创建客户层业 务和对应的服务层业务包括:  The creating sub-module in the service creation module creates a client layer service and a corresponding service layer service according to the information of the node, including:
根据所述起始信息和终止信息确定客户层业务和对应的服务层业务; 根据所述相邻节点之间发生复用或者解复用的信息确定客户层业务和 服务层业务之间的层次关系, 并根据层次关系生成各层业务的业务路由。  Determining a client layer service and a corresponding service layer service according to the start information and the termination information; determining a hierarchical relationship between the client layer service and the service layer service according to the information that is multiplexed or demultiplexed between the neighboring nodes And generate service routes of each layer service according to the hierarchical relationship.
本发明实施例还提供了一种网元设备, 包括: 存储器和处理器; 所述存储器, 配置为存储业务信息;  The embodiment of the present invention further provides a network element device, including: a memory and a processor, where the memory is configured to store service information;
所述处理器, 配置为执行以下步骤:  The processor is configured to perform the following steps:
根据存储器存储的业务信息获取所有可能的业务路径, 并选取其中一 条业务路径; 所述业务信息包括客户层业务的起始信息和终止信息;  Obtaining all possible service paths according to the service information stored in the memory, and selecting one of the service paths; the service information includes start information and termination information of the client layer service;
根据选取的所述业务路径创建客户层业务和对应的服务层业务。  Create a client layer service and a corresponding service layer service according to the selected service path.
本发明实施例还提供了一种计算机可读存储介质, 所述存储介质包括 一组计算机可执行指令, 所述指令用于执行本发明实施例所述的业务创建 方法。  The embodiment of the present invention further provides a computer readable storage medium, the storage medium comprising a set of computer executable instructions, the instructions being used to execute the service creation method according to the embodiment of the present invention.
本发明实施例的有益效果是:  The beneficial effects of the embodiments of the present invention are:
本发明实施例提供一种业务创建的方法、 装置及网元设备, 解决了用 户创建业务不方便和难度高的问题。 本申请的方案包括: 根据业务信息获 取所有可能的业务路径, 并选取其中一条业务路径, 所述业务信息包括客 户层业务的起始信息和终止信息; 根据选取的业务路径创建客户层业务和 对应的服务层业务。 与现有技术相比较, 不需要设置每一层业务信息来实 现业务的创建, 而只需要根据客户层业务的起始信息和终止信息就可创建 出所需业务, 进而实现了快速、 方便的创建业务, 解决了现有用户创建业 务不方便和难度高的问题。 附图说明 The embodiment of the invention provides a method, a device and a network element device for service creation, which are solved by using It is inconvenient and difficult for the user to create a business. The solution of the present application includes: obtaining all possible service paths according to the service information, and selecting one of the service paths, where the service information includes start information and termination information of the client layer service; and creating a client layer service and corresponding according to the selected service path. Service layer business. Compared with the prior art, it is not necessary to set each layer of service information to implement service creation, but only needs to start the required service according to the start information and the termination information of the client layer service, thereby realizing fast and convenient. Creating a business solves the problem of inconvenient and difficult task of creating an existing user. DRAWINGS
图 1是本发明第一实施例提供的业务创建方法流程图;  1 is a flowchart of a service creation method according to a first embodiment of the present invention;
图 2是本发明第一实施例提供的节点遍历结构示意图;  2 is a schematic diagram of a node traversal structure according to a first embodiment of the present invention;
图 3是本发明第二实施例提供的业务创建装置结构示意图;  3 is a schematic structural diagram of a service creation apparatus according to a second embodiment of the present invention;
图 4是本发明第三实施例提供的网元设备结构示意图;  4 is a schematic structural diagram of a network element device according to a third embodiment of the present invention;
图 5为本发明第四实施例提供的创建一条 WDM的 GE层业务的方法流 程图。 具体实施方式  FIG. 5 is a flowchart of a method for creating a WDM GE layer service according to a fourth embodiment of the present invention. detailed description
下面结合附图及最佳实施例, 对本发明做进一步详细说明。  The invention will now be described in further detail with reference to the drawings and preferred embodiments.
本发明根据业务信息获取所有可能的业务路径, 该业务信息包括客户 层业务的起始信息和终止信息, 选择其中一条业务路径, 根据该选择好的 业务路径创建客户层业务和对应的服务层业务。 在本发明的一实施例中, 选取的业务路径为最短路径, 与现有技术相比, 本申请在创建业务时, 仅 根据业务信息即可得出需要的业务, 解决现有技术中因为业务层次复杂, 或者用户不了解网络层次而造成的业务创建不方便或者难度大的问题。  The invention obtains all the possible service paths according to the service information, and the service information includes the start information and the termination information of the client layer service, selects one of the service paths, and creates the client layer service and the corresponding service layer service according to the selected service path. . In an embodiment of the present invention, the selected service path is the shortest path. Compared with the prior art, when the service is created, the service can be obtained according to the service information only, and the service is solved in the prior art. The level of complexity, or the user does not understand the network level, resulting in inconvenient or difficult business creation.
实施例一:  Embodiment 1:
本发明实施例一提供的业务创建方法, 如图 1所示, 该方法包括: 步骤 101 : 根据业务信息获取所有可能的业务路径, 并选取其中一条业 务路径, 所述业务信息包括客户层业务起始信息和终止信息, 该起始信息 和 /或终止信息可以是一个, 也可以是多个; The service creation method provided by the first embodiment of the present invention is as shown in FIG. 1 , and the method includes: Step 101: Obtain all possible service paths according to the service information, and select one of the service paths, where the service information includes client layer service start information and termination information, and the start information and/or termination information may be one, or More than one;
步骤 102:根据选取的所述业务路径创建客户层业务和对应的服务层业 务。  Step 102: Create a client layer service and a corresponding service layer service according to the selected service path.
在步骤 101 中, 根据业务信息获取所有可能的业务路径, 该业务信息 包括客户层业务起始信息和终止信息。 该客户层业务的起始信息和终止信 息的设置在本实施例中, 至少包括以下方式中的任意一种:  In step 101, all possible service paths are obtained according to the service information, and the service information includes client layer service start information and termination information. In the embodiment, the setting of the start information and the termination information of the client layer service includes at least one of the following modes:
方式一、 每次创建业务时都手动设置业务信息;  Method 1: Manually set business information each time a business is created;
方式二、 从系统数据库或者设备中自动提取之前存有的业务信息。 在上述两种方式中, 业务信息包括客户层业务的起始信息和终止信息。 在本实施例中, 优选釆用方式一, 即手动设置业务信息;  Method 2: Automatically extract the previously stored business information from the system database or device. In the above two manners, the service information includes start information and termination information of the client layer service. In this embodiment, the first mode is used, that is, the service information is manually set;
根据业务信息获取所有可能的业务路径, 获取的该所有可能的业务路 径中的每一条业务路径中的客户层业务与服务层业务是混合在一起, 没有 客户层业务与服务层业务的层次关系, 仅为从客户层业务的起始信息到终 止信息的一条业务路径。 在本实施例中, 优选网管系统根据业务信息获取 所有可能的业务路径, 当然, 还可以是具有相同功能的第三方设备;  All the possible service paths are obtained according to the service information, and the client layer service and the service layer service in each of the all possible service paths are mixed, and there is no hierarchical relationship between the client layer service and the service layer service. It is only a business path from the start information of the client layer service to the termination information. In this embodiment, the network management system preferably obtains all possible service paths according to the service information, and may also be a third-party device having the same function.
在本实施例中, 系统根据业务信息获取所有可能的业务路径的方式包 括以下两种情况中的任意一种:  In this embodiment, the manner in which the system obtains all possible service paths according to the service information includes any one of the following two situations:
方式一: 根据业务信息直接获取所有可能的业务路径;  Method 1: Obtain all possible service paths directly according to service information;
方式二: 在业务信息的基础上, 获取计算数据, 两者结合获取所有可 能的业务路径。  Method 2: Based on the business information, obtain the calculated data, and combine the two to obtain all possible service paths.
方式一中, 获取所有可能的业务路径不需要借助其他的数据, 仅根据 业务信息即可直接获取所有可能的路径;  In the first method, all possible service paths are obtained without using other data, and all possible paths can be directly obtained according to the service information only;
在方式二中, 业务信息还包括计算数据, 该计算数据为获取所有可能 的业务路径所需要的数据, 先根据计算数据获取业务路径, 然后根据业务 信息确定所有可能的业务路径, 或者计算数据以业务起始信息和终止信息 作为条件获取所有可能的业务路径。 In the second method, the service information further includes calculation data, which is data required for obtaining all possible service paths, first obtaining a service path according to the calculation data, and then according to the service The information determines all possible service paths, or the calculation data is obtained under the condition that the service start information and the termination information are all available.
在本实施例中, 优选通过第二种方式获取所有可能的业务路径。  In this embodiment, all possible service paths are preferably obtained in the second manner.
获取所有可能的业务路径所需要的计算数据是系统从网关数据库或者 其他网络设备中读取的数据, 该计算数据包括但不限于所有层的业务信息、 物理链路数据、 客户层业务端点、 客户层各层服务层业务端点、 端点间的 可连通能力数据等至少一种。  The calculation data required to obtain all possible service paths is the data read by the system from the gateway database or other network devices, including but not limited to all layers of service information, physical link data, client layer service endpoints, clients. At least one of the service layer end points of the service layer and the connectivity capability data between the end points.
在本实施例中, 端点间的可连通能力数据是指如果通过网管向设备下 发命令, 使得信号可以从一个端点传递到另外一个端点, 就说明两个端点 具有可连通的能力。  In this embodiment, the connectivity capability data between the endpoints indicates that if the command is sent to the device through the network management system, so that the signal can be transmitted from one endpoint to another, the two endpoints have the ability to connect.
根据上述的业务信息, 获取所有可能的业务路径的具体过程包括根据 图论理论获取满足一次计算可计算出多层业务的图形, 该计算由系统执行, 然后系统根据获取出的图形, 从中选择一条业务路径, 选择该条业务路径 的方式至少包括以下方式中的任意一种:  According to the above business information, the specific process of obtaining all possible business paths includes obtaining a graph that can calculate a multi-layer service by one calculation according to the theory of graph theory, the calculation is performed by the system, and then the system selects one according to the acquired graph. The service path, the way to select the service path, includes at least one of the following methods:
方式一: 系统随机选择其中一业务路径;  Method 1: The system randomly selects one of the service paths;
方式二: 根据用户条件选择其中一条业务路径;  Method 2: Select one of the service paths according to user conditions;
方式三: 选择其中一条最短的业务路径。  Method 3: Choose one of the shortest business paths.
在本实施例中, 优选第三种方式, 选择其中一条最短的业务路径, 执 行该操作的主体可以是用户也可以是系统。 该最短业务路径表示从客户层 业务起始信息到终止信息之间的距离最短。 该最短业务路径包括但不限于 业务路径经过的通道数以及业务通道端点, 该业务通道端点简称业务端点。 在本实施例中, 之所以优选最短业务路径, 主要在于根据该最短业务路径 创建出的业务在使用过程中比较节省资源。  In this embodiment, a third mode is selected, and one of the shortest service paths is selected, and the subject performing the operation may be a user or a system. The shortest service path represents the shortest distance from the client layer service start information to the termination information. The shortest service path includes, but is not limited to, the number of channels through which the service path passes and the service channel endpoint, which is referred to as a service endpoint. In this embodiment, the shortest service path is preferred, and the service created according to the shortest service path is more resource-saving during use.
在上述步骤 102 中, 根据选取的所述业务路径创建客户层业务和对应 的服务层业务, 在本实施例中, 创建出的客户层业务和对应的服务层业务 包括客户层业务、 服务层业务、 客户层业务所需要的服务层业务以及服务 层业务所需的服务层业务中的至少一种, 所述对应的服务层业务包括客户 层业务所需的服务层业务和服务层业务所需的服务层业务。 In the foregoing step 102, the client layer service and the corresponding service layer service are created according to the selected service path. In this embodiment, the created client layer service and the corresponding service layer service include the client layer service and the service layer service. Service layer services and services required by the customer layer business At least one of the service layer services required by the layer service, where the corresponding service layer service includes a service layer service required by the client layer service and a service layer service required by the service layer service.
在本实施例中, 由于选取的最短业务路中客户层业务与服务层业务之 间没有层次关系, 只是从客户层业务的起始信息到终止信息的一条业务路 径, 为了创建业务之间的层次结构, 根据选取的最短路径创建客户层业务 和 /或对应的服务层业务的过程包括: 获取最短业务路径经过的所有节点的 信息, 该节点包括业务通道端点, 根据所述节点的信息创建客户层业务和 对应的服务层业务。  In this embodiment, since there is no hierarchical relationship between the client layer service and the service layer service in the selected shortest service path, only a service path from the start information of the client layer service to the termination information is used, in order to create a hierarchy between services. The process of creating a client layer service and/or a corresponding service layer service according to the selected shortest path includes: obtaining information of all nodes through which the shortest service path passes, the node including the service channel endpoint, and creating a client layer according to the information of the node Business and corresponding service layer business.
优选的, 该节点信息还包括相邻节点之间发生复用或者解复用的信息; 所述相邻节点包括可彼此发生复用或者解复用的两个节点, 在本实施例中, 相邻节点之间发生复用或者解复用的信息包括相邻节点之间发生复用或者 解复用的次数或者发生复用或者解复用的相邻节点的个数等, 只要涉及到 节点或者相邻节点得到实现与本申请相同功能的信息都属于本实施例请求 保护的范围。 优选地, 当某一节点发生一次复用, 则系统计数增加一次, 当某一节点发生一次解复用则计数减少一次。  Preferably, the node information further includes information that is multiplexed or demultiplexed between adjacent nodes; the neighboring node includes two nodes that can be multiplexed or demultiplexed with each other. In this embodiment, The information that is multiplexed or demultiplexed between neighboring nodes includes the number of times of multiplexing or demultiplexing between adjacent nodes or the number of neighboring nodes where multiplexing or demultiplexing occurs, as long as the node or The information obtained by the neighboring nodes to achieve the same functions as the present application belongs to the scope of protection claimed in this embodiment. Preferably, when a node is multiplexed once, the system count is incremented once, and when a node is demultiplexed once, the count is decreased once.
在本实施例中, 客户层业务节点到服务层业务节点或者服务层业务节 点到所需服务层业务节点为节点发生一次复用, 相反, 服务层业务节点到 客户层业务节点或者服务层业务所需服务层业务节点到该服务层业务节点 为节点发生一次解复用; 当节点复用到服务层业务节点或节点解复用到客 户层业务节点或服务层业务所需服务层业务节点解复用到该服务层业务节 点, 则称该节点与复用或者解复用到的另外一个节点为相邻节点。  In this embodiment, the client layer service node to the service layer service node or the service layer service node to the required service layer service node is once multiplexed for the node, and the service layer service node is connected to the client layer service node or the service layer service node. The service layer service node to the service layer service node is demultiplexed once for the node; when the node is multiplexed to the service layer service node or the node is demultiplexed to the client layer service node or the service layer service required service layer service node is solved When the service layer service node is used, the node is said to be adjacent to the other node to be multiplexed or demultiplexed.
在本实施例中, 扩展了节点的定义, 节点不再是现有中网元节点, 而 是进一步包括业务端点, 同时, 本实施例中也扩展了相邻节点的含义, 相 邻节点不仅仅再为现有业务两条边的端点, 而是进一步包括了从客户层业 务端点复用到服务层业务端点, 或者服务层业务端点解复用到客户层业务 端点, 例如, 如图 2所示, 当从起始点 A到终止点 Z进行遍历时, 则其经 过的节点有端点 2、 3、 4、 5、 · ' · 11 ; 其经过的相邻节点有端点 2和端点 3, 端点 3和端点 4, 端点 5和端点 6, 端点 6和端点 7, 端点 7和端点 8, 端 点 9和端点 10, 端点 10和端点 11。 也即, 将这些端点也作为业务边的相 邻节点, 这样, 扩大了相邻节点的范围, 方便系统根据业务信息快速创建 客户层业务以及对应的服务层业务。 In this embodiment, the definition of the node is extended, and the node is no longer the existing network element node, but further includes the service end point. At the same time, the meaning of the adjacent node is also extended in this embodiment, and the adjacent node is not only The endpoints of the two sides of the existing service are further multiplexed from the client layer service endpoint to the service layer service endpoint, or the service layer service endpoint is demultiplexed to the client layer service endpoint, for example, as shown in FIG. When traversing from the starting point A to the ending point Z, The nodes that have passed have endpoints 2, 3, 4, 5, · '11; the neighboring nodes they pass through have Endpoint 2 and Endpoint 3, Endpoint 3 and Endpoint 4, Endpoint 5 and Endpoint 6, Endpoint 6 and Endpoint 7, Endpoints 7 and Endpoint 8, Endpoint 9 and Endpoint 10, Endpoint 10 and Endpoint 11. That is to say, these endpoints are also used as neighboring nodes of the service side, thus expanding the range of adjacent nodes, and facilitating the system to quickly create the client layer service and the corresponding service layer service according to the service information.
优选的, 根据节点的信息创建客户层业务和 /或对应的服务层业务过程 包括:  Preferably, the client layer service and/or the corresponding service layer service process are created according to the information of the node, including:
根据起始信息和终止信息确定客户层业务和对应的服务层业务; 根据相邻节点之间发生复用或者解复用的信息确定客户层业务和服务 层业务之间的层次关系, 并根据层次关系生成各层业务的业务路由, 本实 施例中相邻节点之间发生复用或者解复用的信息为相邻节点之间发生复用 或者解复用的次数。  Determining the client layer service and the corresponding service layer service according to the start information and the termination information; determining the hierarchical relationship between the client layer service and the service layer service according to the information of multiplexing or demultiplexing between adjacent nodes, and according to the hierarchy The relationship between the neighboring nodes in the present embodiment is the number of times of multiplexing or demultiplexing between neighboring nodes.
在本实施例中, 优选通过节点遍历的方式, 创建客户层业务和对应的 服务层业务。 通过节点遍历的方式, 首先根据客户层业务的起始信息和终 止信息确定出该条业务路径中存在客户层业务与服务层业务, 在该条业务 路径中只能确定出客户层业务, 但是客户层业务与对应服务层业务之间没 有层次关系, 不知道客户层业务所需的服务层业务以及服务层业务所需的 服务层业务应该属于第几个业务层次。 在本实施例中, 优选地需要借助相 邻节点发生复用或者解复用的次数来确定业务层次关系, 从客户层业务的 起始点开始, 当该节点发生一次复用, 则说明客户层业务的起始点复用到 的该节点为其服务层业务节点, 如果没有发生复用或者解复用, 则说明该 节点为同层业务节点, 依次类推, 直到客户层业务的终止点, 这样就可以 确定出客户层业务, 服务层业务, 客户层业务所需要的服务层业务以及服 务层业务所需要的服务层业务, 进而创建出业务层次关系。  In this embodiment, the client layer service and the corresponding service layer service are preferably created by means of node traversal. The node traversal method first determines that there is a client layer service and a service layer service in the service path according to the start information and the termination information of the client layer service, and only the client layer service can be determined in the service path, but the client There is no hierarchical relationship between the layer service and the corresponding service layer service. It is not known that the service layer service required by the client layer service and the service layer service required by the service layer service belong to the first service level. In this embodiment, it is preferable to determine the service hierarchy relationship by the number of times the neighboring node performs multiplexing or demultiplexing, starting from the starting point of the client layer service, and when the node is once multiplexed, the client layer service is indicated. The node to which the starting point is multiplexed is its service layer service node. If no multiplexing or demultiplexing occurs, the node is a peer service node, and so on, until the termination point of the client layer service, so that The service layer service required by the client layer service, the service layer service, the client layer service, and the service layer service required by the service layer service are determined, thereby creating a business hierarchy relationship.
在本实施例中, 具体介绍系统如何通过遍历创建客户层业务和 /或对应 的服务层业务, 参见图 2, 为了更好的说明, 本实施例中选择将端点 3、 4 所在通道定义为第一通道, 端点 5、 8所在通道定义为第二通道, 端点 6、 7 所在通道定义为第三通道, 端点 9、 10 所在通道定义为第四通道, 其中, 将端点 A-2和端点 11-Z所在通道设置为客户层业务通道, 第一通道、 第二 通道、 第三通道和第四通道分别为服务层业务通道, 第一通道、 第二通道 和第四通道为相同直径的通道, 定义为同层业务通道, 当从 A到 Z进行遍 历时, 则其经过的节点包括: 2、 3、 4、 5、 - - - 11; 其经过的相邻节点包括: 2和 3, 3和 4, 5和 6, 6和 7, 7和 8, 9和 10, 10和 11, 系统在进行遍 历的过程中, 记录下每次经过的节点(也为通道端点), 同时系统记录下每 次节点发生复用或者解复用的次数, 系统记录经过的节点可以通过命名的 方式、也可以通过测量路径长短的方式,还可以通过测量带宽大小的方式, 当然不限于上述几种方式, 在本实施例中, 优选釆用通道号与节点号组合 的命名方式对经过的节点进行记录。 每经过一个节点, 都会记录下该节点 的通道号及对应节点号, 然后会判断当前节点的下一个相邻节点的位置, 如果需要进行一次复用再到达下一个相邻节点, 则计数增加一位, 如果需 要进行一次解复用再到达下一个相邻节点, 则计数减少一位, 依次按照此 方式进行遍历, 例如, 节点 5, 此时节点 5的命名为 2.1 ( 2代表第二个通 道, 1代表第二个通道的第一个端点), 在记录好节点 5的命名后, 再次判 断节点 5的相邻节点, 此时, 节点 5的相邻节点为节点 6, 从节点 5到节点 6需要发生一次复用, 则计数增加一位。 在本实施例图 2中, 需要分别发生 2次复用和 2次解复用, 才能完成整个过程的遍历。 In this embodiment, how to create a client layer service and/or a corresponding service layer service by traversing is specifically introduced. Referring to FIG. 2, for better description, the endpoints 3 and 4 are selected in this embodiment. The channel is defined as the first channel, the channel where the endpoints 5 and 8 are located is defined as the second channel, the channel where the endpoints 6, 7 are located is defined as the third channel, and the channel where the endpoints 9, 10 are located is defined as the fourth channel, where the endpoint A- 2 and the channel where the endpoint 11-Z is located is set as the client layer service channel, and the first channel, the second channel, the third channel, and the fourth channel are service layer service channels respectively, and the first channel, the second channel, and the fourth channel are the same The channel of the diameter is defined as the channel of the same layer. When traversing from A to Z, the nodes that pass through include: 2, 3, 4, 5, - - - 11; the adjacent nodes passing through include: 2 and 3, 3 and 4, 5 and 6, 6 and 7, 7 and 8, 9 and 10, 10 and 11, during the traversal process, the system records each passing node (also the channel end point), and the system Record the number of times each node is multiplexed or demultiplexed. The system records the passing nodes through naming, measuring the length of the path, and measuring the bandwidth. Of course, it is not limited to the above. Type, in the present embodiment, preferably preclude be recorded by the node after naming the channel number and node number in combination. Each time a node passes, the channel number of the node and the corresponding node number are recorded, and then the position of the next adjacent node of the current node is determined. If it is necessary to perform multiplexing once and then reach the next adjacent node, the count is incremented by one. Bit, if a demultiplexing is required to reach the next adjacent node, the count is reduced by one bit, and traversed in this way, for example, node 5, where node 5 is named 2.1 (2 represents the second channel) , 1 represents the first endpoint of the second channel. After recording the naming of the node 5, the neighboring node of the node 5 is judged again. At this time, the neighboring node of the node 5 is the node 6, and the node 5 is the node. 6 needs to occur once for multiplexing, then the count is increased by one. In Fig. 2 of the present embodiment, two times of multiplexing and two times of demultiplexing need to be performed separately to complete the traversal of the entire process.
在完成整个遍历的过程中, 根据客户层业务的起始点 A及终止点 Z, 可确定出与起始点 A和终止点 Z连接的节点对应的业务为客户层业务, 即 有客户层业务 A-2-11-Z; 其中, 在从节点 2进入节点 3需发生了第一次复 用,计数增加一位, 同时确定出节点 3为服务层业务,根据节点命名可知, 节点 3的命名为 1.1, 节点 4的命名为 1.2, 从而可确定出节点 3与节点 4 属于同一个通道, 即节点 4也属于服务层业务节点。 在本实施例中, 节点 命名规则例如: 节点 4的命名为 1.2, 其中 1表示通道号为 1 ; 2表示第一 个通道的第 2个端点。 系统进一步判断出节点 4到节点 5之间没有发生复 用也没有发生解复用, 则确定节点 4与节点 5属于同一级的服务层业务, 再次判断出节点 5到节点 6需要发生第二次复用, 计数再增加一位, 同时 确定出节点 6所在的服务层业务为节点 5所在服务层业务的服务层业务, 再次根据节点命名可确定出与节点 6属于同一个通道的节点 7,系统再次判 断节点 7需要发生一次解复用到节点 8, 则计数减少一位, 该计数减少一位 则判断节点 8与节点 5属于同一级别的服务层业务, 节点 8到节点 9的判 断方式与节点 4到节点 5相同, 节点 9到节点 10的判断方式与节点 3到节 点 4相同, 节点 10到节点 11的判断方式与节点 7到节点 8相同, 所以, 最终确定出除了客户层业务 A-2-11-Z外, 还有服务层业务 3-4-5-8-9-10; 以 及服务层业务所需服务层业务 6-7。 In the process of completing the entire traversal, according to the starting point A and the ending point Z of the customer layer service, it can be determined that the service corresponding to the node connected to the starting point A and the ending point Z is the customer layer service, that is, the customer layer service A- 2-11-Z; wherein, the first multiplexing occurs when the slave node 2 enters the node 3, the number is incremented by one, and the node 3 is determined to be the service layer service. According to the node naming, the node 3 is named 1.1. The name of node 4 is 1.2, so that it can be determined that node 3 and node 4 belong to the same channel, that is, node 4 also belongs to the service layer service node. In this embodiment, the node The naming rules are as follows: Node 4 is named 1.2, where 1 indicates that the channel number is 1; 2 indicates the second endpoint of the first channel. The system further determines that no demultiplexing occurs between the node 4 and the node 5, and it is determined that the node 4 and the node 5 belong to the service layer service of the same level, and it is determined that the node 5 to the node 6 need to occur for the second time. Reuse, increase the number by one, and determine that the service layer service where the node 6 is located is the service layer service of the service layer service where the node 5 is located, and again according to the node naming, the node 7 that belongs to the same channel as the node 6 can be determined. It is judged again that the node 7 needs to be demultiplexed to the node 8 once, and the count is reduced by one bit. When the count is decreased by one bit, it is judged that the node 8 and the node 5 belong to the same level of the service layer service, and the node 8 to the node 9 determine the manner and the node. 4 to node 5 are the same, node 9 to node 10 are judged in the same manner as node 3 to node 4, and node 10 to node 11 are judged in the same manner as node 7 to node 8, so that the client layer service A-2 is finally determined. In addition to -11-Z, there are service layer services 3-4-5-8-9-10; and service layer services required for service layer services 6-7.
优选的, 在步骤 102 中, 业务信息还包括条件约束信息, 系统根据客 户层业务的起始信息和终止信息, 再结合条件约束信息创建客户层业务和 / 或服务层业务, 增加该条件约束信息能够更加准备的创建出用户所需要的 业务, 所述条件约束信息包括信号必经和 /或者禁止的信息, 该条件约束信 息包括但不限于以下中的任意一种: 服务层端点、 端口、 单板、 网元、 月良 务层业务。 实施例二:  Preferably, in step 102, the service information further includes condition constraint information, and the system creates the client layer service and/or the service layer service according to the start information and the termination information of the client layer service, and adds the condition constraint information. The service required by the user can be more prepared, and the condition constraint information includes information that the signal must pass and/or prohibit. The condition constraint information includes but is not limited to any one of the following: service layer endpoint, port, and single Board, network element, monthly service layer business. Embodiment 2:
图 3是本实施例提供的业务创建装置, 包括: 路径获取模块 301和业 务创建模块 302;  Figure 3 is a service creation apparatus provided by this embodiment, including: a path acquisition module 301 and a service creation module 302;
路径获取模块 301, 配置为根据业务信息获取所有可能的业务路径, 并 选取其中一条业务路径, 所述用户信息包括客户层业务起始信息和终止信 息;  The path obtaining module 301 is configured to acquire all possible service paths according to the service information, and select one of the service paths, where the user information includes the client layer service start information and the termination information.
业务创建模块 302,配置为根据路径获取模块 301选取的业务路径创建 客户层业务和对应的服务层业务。 The service creation module 302 is configured to create according to the service path selected by the path obtaining module 301. Customer layer business and corresponding service layer business.
在本实施例中, 创建客户层业务和对应的服务层业务包括客户层业务、 服务层业务、 客户层业务所需要的服务层业务以及服务层业务所需的服务 层业务中的至少一种, 所述对应的服务层业务包括客户层业务所需的服务 层业务和服务层业务所需的服务层业务。  In this embodiment, the client layer service and the corresponding service layer service include at least one of a client layer service, a service layer service, a service layer service required by the client layer service, and a service layer service required by the service layer service, The corresponding service layer service includes a service layer service required by the client layer service and a service layer service required by the service layer service.
优选的, 路径获取模块 301 选取其中一条业务路径的方式至少包括以 下三种方式中的一种:  Preferably, the manner in which the path obtaining module 301 selects one of the service paths includes at least one of the following three modes:
方式一: 系统随机选择其中一业务路径;  Method 1: The system randomly selects one of the service paths;
方式二: 根据用户条件选择其中一条业务路径;  Method 2: Select one of the service paths according to user conditions;
方式三: 选择其中一条最短的业务路径。  Method 3: Choose one of the shortest business paths.
在本实施例中, 路径获取模块 301 选取其中一条最短路径; 该最短业 务路径表示从客户层业务起始信息到终止信息之间的距离最短。 该最短业 务路径包括但不限于业务路径经过的通道数以及业务通道端点, 该业务通 道端点简称业务端点。 在本实施例中, 之所以优选最短业务路径, 主要在 于根据该最短业务路径创建出的业务在使用过程中比较节省资源。  In this embodiment, the path obtaining module 301 selects one of the shortest paths; the shortest service path indicates that the distance from the client layer service start information to the termination information is the shortest. The shortest service path includes, but is not limited to, the number of channels through which the service path passes and the service channel endpoint, which is referred to as the service endpoint. In this embodiment, the shortest service path is preferred, and the service created according to the shortest service path is mainly used to save resources during use.
优选的, 业务创建模块 302包括获取子模块 3021和创建子模块 3022; 获取子模块 3021, 配置为获取业务路径经过的所有节点的信息, 所述 节点包括业务通道端点;  Preferably, the service creation module 302 includes an acquisition submodule 3021 and a creation submodule 3022. The acquisition submodule 3021 is configured to obtain information of all nodes through which the service path passes, and the node includes a service channel endpoint.
创建子模块 3022,配置为根据获取子模块 3021获取的所述节点的信息 创建客户层业务和对应的服务层业务。  The sub-module 3022 is configured to create a client layer service and a corresponding service layer service according to the information about the node acquired by the obtaining sub-module 3021.
优选的, 业务创建模块 302中的获取子模块 3021获取的节点的信息还 包括相邻节点之间发生复用或者解复用的信息; 所述相邻节点包括可彼此 发生复用或者解复用的两个节点。  Preferably, the information about the node acquired by the obtaining submodule 3021 in the service creating module 302 further includes information about multiplexing or demultiplexing between adjacent nodes; the neighboring nodes include multiplexing or demultiplexing with each other. Two nodes.
在本实施例中, 相邻节点之间发生复用或者解复用的信息包括相邻节 点之间发生复用或者解复用的次数, 或者发生复用或者解复用的相邻节点 的个数等, 只要涉及到节点或者相邻节点得到实现与本申请相同功能的信 息都属于本实施例请求保护的范围。 优选地, 当某一节点发生一次复用, 则系统计数增加一次, 当某一节点发生一次解复用则计数减少一次。 In this embodiment, the information that is multiplexed or demultiplexed between adjacent nodes includes the number of times of multiplexing or demultiplexing between adjacent nodes, or the neighboring nodes that are multiplexed or demultiplexed. Number, etc., as long as the node or neighboring node is involved in obtaining the same function as the present application The information is within the scope of the claimed embodiment. Preferably, when a node is multiplexed once, the system count is incremented once, and when a node is demultiplexed once, the count is decreased once.
在本实施例中, 客户层业务节点到服务层业务节点或者服务层业务节 点到所需服务层业务节点为节点发生一次复用, 相反, 服务层业务节点到 客户层业务节点或者服务层业务所需服务层业务节点到该服务层业务节点 为节点发生一次解复用; 节点复用到服务层业务节点或者节点解复用到客 户层业务节点或服务层业务所需服务层业务节点解复用到该服务层业务节 点, 则称该节点与复用或者解复用到的另外一个节点为相邻节点。  In this embodiment, the client layer service node to the service layer service node or the service layer service node to the required service layer service node is once multiplexed for the node, and the service layer service node is connected to the client layer service node or the service layer service node. The service layer service node to the service layer service node is demultiplexed once for the node; the node is multiplexed to the service layer service node or the node is demultiplexed to the client layer service node or the service layer service required service layer service node demultiplexing To the service layer service node, the node is said to be adjacent to another node that is multiplexed or demultiplexed.
在本实施例中, 扩展了节点的定义, 节点不再是现有中网元节点, 而 是进一步包括业务端点, 同时, 本实施例中也扩展了相邻节点的含义, 相 邻节点不仅仅再为现有业务两条边的端点, 而是进一步包括了从客户层业 务端点复用到服务层业务端点, 或者服务层业务端点解复用到客户层业务 端点, 也即, 将这些端点也作为业务边的相邻节点, 这样, 扩大了相邻节 点的范围, 方便系统根据业务信息快速创建客户层业务以及对应的服务层 业务。  In this embodiment, the definition of the node is extended, and the node is no longer the existing network element node, but further includes the service end point. At the same time, the meaning of the adjacent node is also extended in this embodiment, and the adjacent node is not only And then the endpoints of the two sides of the existing service, but further include multiplexing from the client layer service endpoint to the service layer service endpoint, or the service layer service endpoint demultiplexing to the client layer service endpoint, that is, the endpoints are also As a neighboring node of the service side, the scope of the adjacent nodes is expanded, and the system can quickly create the client layer service and the corresponding service layer service according to the service information.
优选的, 业务创建模块 302中的创建子模块 3022根据所述节点的信息 创建客户层业务和对应的服务层业务包括:  Preferably, the creating submodule 3022 in the service creating module 302 creates the client layer service and the corresponding service layer service according to the information of the node, including:
根据起始信息和终止信息确定客户层业务和对应的服务层业务, 该起 始信息与终止信息为客户层业务的起始点与终止点, 其中, 该起始点可以 有多个。  The client layer service and the corresponding service layer service are determined according to the start information and the termination information, where the start information and the termination information are start points and end points of the client layer service, wherein the start point may have multiple.
根据相邻节点之间发生复用或者解复用的信息确定客户层业务和服务 层业务之间的层次关系, 并根据层次关系生成各层业务的业务路由, 本实 施例中相邻节点之间发生复用或者解复用的信息为相邻节点之间发生复用 或者解复用的次数。  Determining the hierarchical relationship between the client layer service and the service layer service according to the information that is multiplexed or demultiplexed between the adjacent nodes, and generating the service route of each layer service according to the hierarchical relationship, in this embodiment, between adjacent nodes The information that occurs or is demultiplexed is the number of times that multiplexing or demultiplexing occurs between adjacent nodes.
在本实施例中, 优选通过节点遍历的方式, 创建客户层业务和对应的 服务层业务。 通过节点遍历的方式, 首先根据客户层业务的起始信息和终 止信息确定出该条业务路径中存在客户层业务与服务层业务, 在该条业务 路径中只能确定出客户层业务, 但是客户层业务与对应服务层业务之间没 有层次关系, 不知道客户层业务所需的服务层业务以及服务层业务所需的 服务层业务应该属于哪个业务层次。 在本实施例中, 优选地需要借助相邻 节点发生复用或者解复用的次数来确定业务层次关系, 从客户层业务的起 始点开始, 当该节点发生一次复用, 则说明客户层业务的起始点复用到的 该节点为其服务层业务节点, 如果没有发生复用或者解复用, 则说明该节 点与客户层业务节点为同层业务节点, 依次类推, 直到客户层业务的终止 点, 这样就可以确定出客户层业务, 客户层业务所需要的服务层业务以及 服务层业务所需要的服务层业务, 进而创建出业务层次关系。 In this embodiment, the client layer service and the corresponding service layer service are preferably created by means of node traversal. Through the way of node traversal, first according to the starting information and end of the customer layer business The information indicates that there is a client layer service and a service layer service in the service path, and only the client layer service can be determined in the service path, but there is no hierarchical relationship between the client layer service and the corresponding service layer service, and the customer is not known. The service layer service required by the layer service and the service layer service required by the service layer service should belong to which service level. In this embodiment, it is preferable to determine the service hierarchy relationship by the number of times the neighboring node performs multiplexing or demultiplexing, starting from the starting point of the client layer service, and when the node is once multiplexed, the client layer service is indicated. The node to which the starting point is multiplexed is its service layer service node. If no multiplexing or demultiplexing occurs, it indicates that the node and the client layer service node are peer-level service nodes, and so on, until the termination of the client layer service. In this way, the service layer service required by the client layer service, the service layer service required by the client layer service, and the service layer service required by the service layer service can be determined, thereby creating a business hierarchy relationship.
优选地, 本实施例中路径获取模块 301 根据业务信息获取所有可能的 业务路径, 其中, 业务信息进一步还包括条件约束信息, 所述约束信息包 括服务层端点、 端口、 单板、 网元、 服务层业务中的至少一种。  Preferably, in this embodiment, the path obtaining module 301 obtains all possible service paths according to the service information, where the service information further includes condition constraint information, where the constraint information includes a service layer endpoint, a port, a board, a network element, and a service. At least one of the layers of business.
需要说明的是, 上述路径获取模块 301和业务创建模块 302, 获取子模 块 3021 和创建子模块 3022, 可以由业务创建装置的中央处理器(CPU, Central Processing Unit )、 处理器(MPU, Micro Processing Unit )、 数字信 号处理器(DSP, Digital Signal Processor )或可编程逻辑阵列(FPGA, Field - Programmable Gate Array ) 实现。 实施例三:  It should be noted that the path obtaining module 301 and the service creating module 302, the obtaining sub-module 3021 and the creating sub-module 3022, may be implemented by a central processing unit (CPU, Central Processing Unit) and a processor (MPU, Micro Processing) of the service creation device. Unit), Digital Signal Processor (DSP) or Field-Programmable Gate Array (FPGA). Embodiment 3:
图 4是本实施例中提供的网元设备, 包括: 存储器 401、 处理器 402; 存储器 401, 配置为存储业务信息;  FIG. 4 is a network element device provided in this embodiment, including: a memory 401, a processor 402, and a memory 401 configured to store service information;
处理器 402, 配置为执行以下步骤:  The processor 402 is configured to perform the following steps:
根据存储器 401 存储的业务信息获取所有可能的业务路径, 并选取其 中一条业务路径; 所述业务信息包括客户层业务的起始信息和终止信息; 根据选取的所述业务路径创建客户层业务和对应的服务层业务。 在本实施例中, 处理器 402根据业务信息获取所有可能的业务路径, 其中, 业务信息的设置至少包括以下两种方式中的一种: Obtaining all possible service paths according to the service information stored in the memory 401, and selecting one of the service paths; the service information includes start information and termination information of the client layer service; and creating a client layer service and corresponding according to the selected service path Service layer business. In this embodiment, the processor 402 obtains all possible service paths according to the service information, where the setting of the service information includes at least one of the following two modes:
方式一、 每次创建业务时都手动设置业务信息;  Method 1: Manually set business information each time a business is created;
方式二、 从系统数据库或者设备中自动提取之前存有的业务信息。 在本实施例中, 优选釆用方式一, 即手动设置业务信息。  Method 2: Automatically extract the previously stored business information from the system database or device. In this embodiment, the first mode is used, that is, the service information is manually set.
在上述两种方式中, 业务信息包括客户层业务的起始信息和终止信息, 其中, 该客户层业务的起始信息可以为多个。  In the above two manners, the service information includes the start information and the termination information of the client layer service, where the start information of the client layer service may be multiple.
根据业务信息获取所有可能的业务路径, 获取出的该所有可能业务路 径中的每一条业务路径中的客户层业务与服务层业务是混合在一起, 没有 客户层业务与服务层业务的层次关系, 仅为从客户层业务的起始信息到终 止信息的一条业务路径。 在本实施例中, 优选网管系统根据业务信息获取 所有可能的业务路径, 当然, 还可以是具有相同功能的第三方设备;  All the possible service paths are obtained according to the service information, and the client layer service and the service layer service in each of the all possible service paths are mixed, and there is no hierarchical relationship between the client layer service and the service layer service. It is only a business path from the start information of the client layer service to the termination information. In this embodiment, the network management system preferably obtains all possible service paths according to the service information, and may also be a third-party device having the same function.
在本实施例中, 处理器 402根据业务信息获取所有可能的业务路径的 方式包括以下两种情况中的任意一种:  In this embodiment, the manner in which the processor 402 obtains all possible service paths according to the service information includes any one of the following two situations:
方式一: 根据业务信息直接获取所有可能的业务路径;  Method 1: Obtain all possible service paths directly according to service information;
方式二: 在业务信息的基础上, 获取计算数据, 两者结合获取所有可 能的业务路径。  Method 2: Based on the business information, obtain the calculated data, and combine the two to obtain all possible service paths.
方式一中, 获取所有可能的业务路径不需要借助其他的数据, 仅根据 业务信息即可直接获取所有可能的路径;  In the first method, all possible service paths are obtained without using other data, and all possible paths can be directly obtained according to the service information only;
在方式二中, 业务信息还包括计算数据, 该计算数据为获取所有可能 的业务路径需要的数据, 先根据计算数据获取业务路径, 然后根据业务信 息确定所有可能的业务路径, 或者计算数据以业务起始信息和终止信息作 为条件获取所有可能的业务路径。  In the second method, the service information further includes calculation data, which is data required for obtaining all possible service paths, first obtaining a service path according to the calculation data, and then determining all possible service paths according to the service information, or calculating data for the service. The start information and the termination information are used as conditions to obtain all possible service paths.
在本实施例中, 优选通过第二种方式进行获取所有可能的业务路径。 获取所有可能的业务路径所需要的计算数据是系统从网关数据库或者 其他网络设备中读取的数据, 该计算数据包括但不限于所有层的业务信息、 物理链路数据、 客户层业务端点、 客户层各层服务层业务端点、 端点间的 可连通能力数据等至少一种。 In this embodiment, all possible service paths are preferably obtained in the second manner. The calculation data required to obtain all possible service paths is data read by the system from the gateway database or other network devices, including but not limited to business information of all layers, At least one of physical link data, a client layer service endpoint, a service layer service layer at each layer of the client layer, and connectivity capability data between the endpoints.
在本实施例中, 端点间的可连通能力数据是指如果通过网管向设备下 发命令, 使得信号可以从一个端点传递到另外一个端点, 就说明两个端点 具有可连通的能力。  In this embodiment, the connectivity capability data between the endpoints indicates that if the command is sent to the device through the network management system, so that the signal can be transmitted from one endpoint to another, the two endpoints have the ability to connect.
根据上述的业务信息, 获取所有可能的业务路径的具体过程包括根据 图论理论获取满足一次计算可计算出多层业务的图形, 该计算由系统执行, 然后系统根据获取出的图形, 从中选择一条业务路径, 选择该条业务路径 的方式至少包括以下方式中的任意一种:  According to the above business information, the specific process of obtaining all possible business paths includes obtaining a graph that can calculate a multi-layer service by one calculation according to the theory of graph theory, the calculation is performed by the system, and then the system selects one according to the acquired graph. The service path, the way to select the service path, includes at least one of the following methods:
方式一: 系统随机选择其中一业务路径;  Method 1: The system randomly selects one of the service paths;
方式二: 根据用户条件选择其中一条业务路径;  Method 2: Select one of the service paths according to user conditions;
方式三: 选择其中一条最短的业务路径。  Method 3: Choose one of the shortest business paths.
在本实施例中, 优选第三种方式, 选择其中一条最短的业务路径, 执 行该操作的主体可以是用户也可以是系统。 该最短业务路径表示从客户层 业务起始信息到终止信息之间的距离最短。 该最短业务路径包括但不限于 业务路径经过的通道数以及业务通道端点, 该业务通道端点简称业务端点。 在本实施例中, 之所以优选最短业务路径, 主要在于根据该最短业务路径 创建出的业务在使用过程中比较节省资源。  In this embodiment, a third mode is selected, and one of the shortest service paths is selected, and the subject performing the operation may be a user or a system. The shortest service path represents the shortest distance from the client layer service start information to the termination information. The shortest service path includes, but is not limited to, the number of channels through which the service path passes and the service channel endpoint, which is referred to as a service endpoint. In this embodiment, the shortest service path is preferred, and the service created according to the shortest service path is more resource-saving during use.
处理器 402根据选取的所述最短业务路径创建客户层业务和对应的服 务层业务, 在本实施例中, 创建出的客户层业务和对应的服务层业务包括 客户层业务、 服务层业务、 客户层业务所需要的服务层业务以及服务层业 务所需的服务层业务中的至少一种, 所述对应的服务层业务包括客户层业 务所需的服务层业务和服务层业务所需的服务层业务。  The processor 402 creates a client layer service and a corresponding service layer service according to the selected shortest service path. In this embodiment, the created client layer service and the corresponding service layer service include a client layer service, a service layer service, and a client. At least one of a service layer service required by the layer service and a service layer service required by the service layer service, where the corresponding service layer service includes a service layer service required by the client layer service and a service layer required by the service layer service business.
由于选取的业务路径中客户层业务与服务层业务之间没有层次关系, 只是从客户层业务的起始信息到终止信息的一条业务路径, 为了创建业务 之间的层次结构, 根据选取的最短路径创建客户层业务和对应的服务层业 务的过程包括: 获取最短业务路径经过的所有节点的信息, 该节点的信息 包括业务通道端点, 根据所述节点的信息创建客户层业务和 /或对应的服务 层业务。 Since there is no hierarchical relationship between the client layer service and the service layer service in the selected service path, only a service path from the start information of the client layer service to the termination information is used, in order to create a hierarchical structure between services, according to the selected shortest path Create customer layer business and corresponding service layer industry The process includes: obtaining information of all nodes through which the shortest service path passes, the information of the node includes a service channel endpoint, and creating a client layer service and/or a corresponding service layer service according to the information of the node.
优选的, 该节点的信息还包括相邻节点之间发生复用或者解复用的信 息; 所述相邻节点包括可彼此发生复用或者解复用的两个节点, 在本实施 例中, 相邻节点之间发生复用或者解复用的信息包括相邻节点之间发生复 用或者解复用的次数, 优选地, 当某一节点发生一次复用, 则系统计数增 加一次, 当某一节点发生一次解复用则计数减少一次。  Preferably, the information of the node further includes information that is multiplexed or demultiplexed between adjacent nodes; the neighboring node includes two nodes that can be multiplexed or demultiplexed with each other, in this embodiment, The information that is multiplexed or demultiplexed between adjacent nodes includes the number of times of multiplexing or demultiplexing between adjacent nodes. Preferably, when a node performs multiplexing once, the system count is incremented once, when When a node undergoes demultiplexing once, the count is reduced once.
在本实施例中, 客户层业务节点到服务层业务节点或者服务层业务节 点到所需服务层业务节点为节点发生一次复用, 相反, 服务层业务节点到 客户层业务节点或者服务层业务所需服务层业务到该服务层业务节点为节 点发生一次解复用; 节点复用到服务层业务节点或者节点解复用到客户层 业务节点或者服务层业务所需服务层业务节点解复用到该服务层业务节点, 则称该节点与复用或者解复用到的另外一个节点为相邻节点。  In this embodiment, the client layer service node to the service layer service node or the service layer service node to the required service layer service node is once multiplexed for the node, and the service layer service node is connected to the client layer service node or the service layer service node. The service layer service to the service layer service node is demultiplexed once for the node; the node is multiplexed to the service layer service node or the node is demultiplexed to the client layer service node or the service layer service required service layer service node is demultiplexed to The service layer service node is said to be an adjacent node to which the node is multiplexed or demultiplexed.
在本实施例中, 扩展了节点的定义, 节点不再是现有中网元节点, 而 是进一步包括业务端点, 同时, 本实施例中也扩展了相邻节点的含义, 相 邻节点不仅仅再为现有业务两条边的端点, 而是进一步包括了从客户层业 务端点复用到服务层业务端点, 或者服务层业务端点解复用到客户层业务 端点, 也即, 将这些端点也作为业务边的相邻节点, 这样, 扩大了相邻节 点的范围, 方便系统根据业务信息快速创建客户层以及对应的服务层。  In this embodiment, the definition of the node is extended, and the node is no longer the existing network element node, but further includes the service end point. At the same time, the meaning of the adjacent node is also extended in this embodiment, and the adjacent node is not only And then the endpoints of the two sides of the existing service, but further include multiplexing from the client layer service endpoint to the service layer service endpoint, or the service layer service endpoint demultiplexing to the client layer service endpoint, that is, the endpoints are also As a neighboring node of the service side, the range of adjacent nodes is expanded, and the system can quickly create a client layer and a corresponding service layer according to service information.
优选的, 处理器 402根据节点的信息创建客户层业务和 /或对应的服务 层业务过程包括:  Preferably, the processor 402 creates a client layer service and/or a corresponding service layer service process according to the information of the node, including:
根据起始信息和终止信息确定客户层业务和对应的服务层业务; 根据相邻节点之间发生复用或者解复用的信息确定客户层业务和服务 层业务之间的层次关系, 并根据层次关系生成各层业务的业务路由, 本实 施例中的邻节点之间发生复用或者解复用的信息为邻节点之间发生复用或 者解复用的次数。 Determining the client layer service and the corresponding service layer service according to the start information and the termination information; determining the hierarchical relationship between the client layer service and the service layer service according to the information of multiplexing or demultiplexing between adjacent nodes, and according to the hierarchy The relationship between the neighboring nodes in the present embodiment is multiplexed or demultiplexed between the neighboring nodes. The number of times of demultiplexing.
在本实施例中, 优选通过节点遍历的方式, 创建客户层业务和对应的 服务层业务。 通过节点遍历的方式, 首先根据客户层业务的起始信息和终 止信息确定出该条业务路径中存在客户层业务与服务层业务, 在该条业务 路径中只能确定出客户层业务, 但是客户层业务与对应服务层业务之间没 有层次关系, 不知道客户层业务所需的服务层业务以及服务层业务所需的 服务层业务应该属于哪个业务层次。 在本实施例中, 优选地需要借助相邻 节点发生复用或者解复用的次数来确定业务层次关系, 从客户层业务的起 始点开始, 当该节点发生一次复用, 则说明客户层业务的起始点复用到的 该节点为其服务层业务节点, 如果没有发生复用或者解复用, 则说明该节 点为同层业务节点, 依次类推, 直到客户层业务的终止点, 这样就可以确 定出客户层业务, 服务层业务, 客户层业务所需要的服务层业务以及服务 层业务所需要的服务层业务, 进而创建出业务层次关系。  In this embodiment, the client layer service and the corresponding service layer service are preferably created by means of node traversal. The node traversal method first determines that there is a client layer service and a service layer service in the service path according to the start information and the termination information of the client layer service, and only the client layer service can be determined in the service path, but the client There is no hierarchical relationship between the layer service and the corresponding service layer service. It is not known which service level the service layer service required by the client layer service and the service layer service required by the service layer service belong to. In this embodiment, it is preferable to determine the service hierarchy relationship by the number of times the neighboring node performs multiplexing or demultiplexing, starting from the starting point of the client layer service, and when the node is once multiplexed, the client layer service is indicated. The node to which the starting point is multiplexed is its service layer service node. If no multiplexing or demultiplexing occurs, the node is a peer service node, and so on, until the termination point of the client layer service, so that The service layer service required by the client layer service, the service layer service, the client layer service, and the service layer service required by the service layer service are determined, thereby creating a business hierarchy relationship.
优选的, 处理器 402根据业务信息获取所有可能的业务路径, 其中, 业务信息还包括条件约束信息, 系统根据客户层业务的起始信息和终止信 息, 再结合条件约束信息创建客户层业务和服务层业务, 增加该条件约束 信息能够更加准备的创建出用户所需要的业务, 所述条件约束信息包括信 号必经和 /或者禁止的信息, 该条件约束信息包括但不限于以下中的任意一 种: 服务层端点、 端口、 单板、 网元、 服务层业务。 实施例四:  Preferably, the processor 402 obtains all possible service paths according to the service information, where the service information further includes condition constraint information, and the system creates the client layer service and service according to the start information and the termination information of the client layer service, and the condition constraint information. Layer service, the condition constraint information is added to be more ready to create a service required by the user, and the condition constraint information includes information that the signal must pass and/or prohibit, and the condition constraint information includes but is not limited to any one of the following : Service layer endpoints, ports, boards, NEs, and service layer services. Embodiment 4:
为了对上述业务创建进一步说明,图 5为本实例提供的创建一条 WDM 的 GE层业务的方法。  In order to further explain the above service creation, FIG. 5 is a method for creating a WDM GE layer service provided by the example.
GE层业务的服务层是 ODU业务, ODU层业务的服务层是 OCH业务, OCH层业务的服务层是 OMS业务。 在普通的创建中, 需要先将每一层的 服务层业务创建好, 最后才创建需要的 GE层业务, 在本实施例中, 釆用本 申请实施例一中的方法进行 GE层业务的创建, 该方法包括: 步骤 501 : 设定包括业务起始端点和终止端点的基础数据; The service layer of the GE layer service is the ODU service, the service layer of the ODU layer service is the OCH service, and the service layer of the OCH layer service is the OMS service. In the normal creation, the service layer service of each layer needs to be created first, and then the required GE layer service is created. In this embodiment, the application is used. Applying the method in the first embodiment to create a GE layer service, where the method includes: Step 501: Setting basic data including a service start endpoint and a terminating endpoint;
步骤 502: 获取计算数据;  Step 502: Obtain calculation data.
步骤 503: 创建业务路由;  Step 503: Create a service route.
步骤 504: 判断创建的业务路由是否合适, 如是, 则进入步骤 505, 如 否, 进入步骤 501 ;  Step 504: Determine whether the created service route is suitable. If yes, go to step 505. If no, go to step 501;
步骤 505: 下发到设备, 使创建的业务路由使能。  Step 505: The device is delivered to the device to enable the created service route.
在步骤 501 中, 除了业务的起始端点和终止端点外, 还可以设定创建 的层次 GE, 在业务创建之前, 需要提前规划好需要创建的业务层次 GE, 以及业务的起始点和终止点, 该业务的起始点可以有多个;  In step 501, in addition to the starting and ending endpoints of the service, the created hierarchical GE may be set. Before the service is created, the service level GE to be created and the starting point and the ending point of the service need to be planned in advance. There may be more than one starting point for this business;
在步骤 501 中, 为了使业务创建出来更加符合用户的需求, 可以设置 约束信息, 约束信息一般分为必经和 /或禁止经过的信息;  In step 501, in order to make the service more suitable for the user's needs, the constraint information may be set, and the constraint information is generally divided into information that must be passed and/or prohibited.
在本实施例中创建 GE层业务, 可以跳过 ODU层业务, 约束到 OCH 层业务, 不仅如此, 也可以进行端口的约束, 可以约束到 OMS层业务的端 口, 即业务经过或者不允许业务经过该端口。  In this embodiment, the GE layer service is created, and the ODU layer service can be skipped and bound to the OCH layer service. In addition, the port constraint can be restricted to the port of the OMS layer service, that is, the service passes or is not allowed to pass the service. The port.
在步骤 502 中, 获取计算数据, 该步骤为网管系统从数据库中读取为 计算业务路由所需的数据, 比如, 从业务表中读取服务层业务路径。 在上 述数据都设置好以后, 开始路由计算, 在计算路由的时候, 考虑到端点不 仅仅是各个网元中 GE层业务的端点,还包括 ODU、 OCH等层业务的端点。 将这些端点也视为业务边的相邻节点, 加入到路由算法中。 这样, 扩大了 计算的范围, 包含了所有的层次, 从而能够将所有服务层业务以及服务层 业务的服务层业务计算出来。  In step 502, the calculation data is obtained. The step is that the network management system reads the data required for calculating the service route from the database, for example, reading the service layer service path from the service table. After the above data is set, the route calculation is started. When calculating the route, it is considered that the endpoint is not only the endpoint of the GE layer service in each network element, but also the endpoints of the ODU, OCH, and other layer services. These endpoints are also considered as neighbors of the service side and are added to the routing algorithm. In this way, the scope of the calculation is expanded, and all levels are included, so that all service layer services and service layer services of the service layer service can be calculated.
在步骤 503中, 创建业务路由, 在该步骤中, GE层业务经过计算, 得 到了 ODUl、 ODU2、 ODU3、 OCHl、 OCH2、 OCH3这六条路由。 首先, 发现 ODU3经过了业务的起始点 A点, ODU1经过了业务的终止点,那么, 就可以将整条路径联通起来: ODU3- -— ODU1 , 连通后的该条路径中没有 明确的客户层业务与服务层业务层次关系, 因此, 需要遍历所有的路由, 建立层次关系。 通过遍历发现 ODU2与 ODU3和 ODU1属于同一层业务一 客户层业务, 且进一步发现 0DU3的服务层业务是 0CH3, 0DU2的服务 层业务是 0CH2,0DU1的服务层业务是 0CH1,因此,明确了路径中 ODU3、In step 503, a service route is created. In this step, the GE layer service is calculated, and six routes of ODU1, ODU2, ODU3, OCH1, OCH2, and OCH3 are obtained. First, it is found that ODU3 has passed the service starting point A, and ODU1 has passed the service termination point. Then, the entire path can be connected: ODU3--- ODU1, there is no connected path after the connection Clear customer layer business and service layer business hierarchy, therefore, it is necessary to traverse all routes and establish hierarchical relationships. It is found that ODU2 belongs to the same layer of service-customer layer service as ODU3 and ODU1, and further discovers that the service layer service of 0DU3 is 0CH3, the service layer service of 0DU2 is 0CH2, and the service layer service of 0DU1 is 0CH1, therefore, the path is clear. ODU3,
ODU2、 ODU1、 OCH1、 OCH2、 OCH3这六条路由之间的层次关系。 The hierarchical relationship between the six routes ODU2, ODU1, OCH1, OCH2, and OCH3.
路由创建出来以后, 在本实施例中, 通过用户交互界面展示给用户, 在本实施例中, 路由展示的方式至少有以下三种方式:  After the route is created, in this embodiment, the user is displayed to the user through the user interaction interface. In this embodiment, the route display manner has at least the following three modes:
第一种: 通过拓朴连线的方式展示;  The first type: display through the connection of the topology;
第二种: 通过文本(比如表格) 的方式展示;  The second type: by means of text (such as a table);
第三种: 树状展开和拓朴连线展开相结合的展示形式;  The third type: a combination of tree expansion and topology expansion;
通过上述方式展示给用户以后, 如果用户满意, 则进入步骤 505, 如果 不满意, 则返回到步骤 501中, 重新创建路由。  After being displayed to the user in the above manner, if the user is satisfied, the process proceeds to step 505. If not, the process returns to step 501 to re-create the route.
步骤 505下发到设备, 使创建的业务路由使能。  Step 505 is sent to the device to enable the created service route.
当用户得到其想要的路由以后, 则可以下发到设备上, 该设备为网元 设备, 在设备上创建出真正的业务路由。  After the user obtains the route that he wants, the device can be delivered to the device. The device is a network element device and creates a real service route on the device.
本发明实施例还提供了一种计算机可读存储介质, 所述存储介质包括 一组计算机可执行指令, 所述指令用于执行本发明实施例所述的业务创建 方法。  The embodiment of the present invention further provides a computer readable storage medium, the storage medium comprising a set of computer executable instructions, the instructions being used to execute the service creation method according to the embodiment of the present invention.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本发明可釆用硬件实施例、 软件实施例、 或结 合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个或多个其 中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器和光学存储器等 )上实施的计算机程序产品的形式。  Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment of a combination of software and hardware. Moreover, the invention can be embodied in the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程 图和 /或方框图中的每一流程和 /或方框、以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的装置。 The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each of the processes and/or blocks in the flowcharts and/or block diagrams, and in the flowcharts and/or block diagrams, can be implemented by computer program instructions. / or a combination of boxes. These computer program instructions can be provided to a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device processor to produce a machine such that a flow or a block diagram of a flow or a block diagram or A device that has multiple functions specified in the box.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现 的处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现在流 程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 步骤。  These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上内容是结合具体的实施方式对本发明所作的进一步详细说明, 不 能认定本发明的具体实施只局限于这些说明。 对于本发明所属技术领域的 普通技术人员来说, 在不脱离本发明构思的前提下, 还可以做出若干简单 推演或替换, 都应当视为属于本发明的保护范围。  The above is a further detailed description of the present invention in connection with the specific embodiments, and the specific embodiments of the present invention are not limited to the description. It is to be understood by those skilled in the art that the present invention may be practiced without departing from the spirit and scope of the invention.

Claims

权利要求书 claims
1、 一种业务创建的方法, 包括: 1. A method of business creation, including:
根据业务信息获取所有可能的业务路径, 并选取其中一条业务路径, 所述业务信息包括客户层业务的起始信息和终止信息; Obtain all possible service paths according to the service information, and select one of the service paths. The service information includes the start information and termination information of the customer layer service;
根据选取的所述业务路径创建客户层业务和对应的服务层业务。 Create customer layer services and corresponding service layer services according to the selected service path.
2、 如权利要求 1所述的业务创建方法, 其中, 所述选取其中一条业 务路径的步骤包括: 选取所有可能的业务路径中的最短业务路径。 2. The service creation method according to claim 1, wherein the step of selecting one of the service paths includes: selecting the shortest service path among all possible service paths.
3、 如权利要求 1或 2所述的业务创建方法, 其中, 根据选取的所述 业务路径创建客户层业务和对应的服务层业务的过程包括: 3. The service creation method as claimed in claim 1 or 2, wherein the process of creating customer layer services and corresponding service layer services according to the selected service path includes:
获取业务路径经过的所有节点的信息, 所述节点包括业务通道端点; 根据所述节点的信息创建客户层业务和对应的服务层业务。 Obtain information on all nodes that the service path passes through, where the nodes include service channel endpoints; and create client layer services and corresponding service layer services based on the information on the nodes.
4、 如权利要求 3所述的业务创建方法, 其中, 所述节点的信息还包 括相邻节点之间发生复用或者解复用的信息; 所述相邻节点包括可彼此 发生复用或者解复用的两个节点; 4. The service creation method according to claim 3, wherein the node information also includes information on multiplexing or demultiplexing between adjacent nodes; the adjacent nodes include multiplexing or demultiplexing on each other. Two nodes are reused;
根据所述节点的信息创建客户层业务和对应的服务层业务包括: 根据所述起始信息和终止信息确定客户层业务和对应的服务层业务; 根据所述相邻节点之间发生复用或者解复用的信息确定客户层业务 和服务层业务之间的层次关系, 并根据层次关系生成各层业务的业务路 由。 Creating client layer services and corresponding service layer services based on the node information includes: determining client layer services and corresponding service layer services based on the start information and termination information; determining multiplexing between adjacent nodes or The demultiplexed information determines the hierarchical relationship between the client layer business and the service layer business, and generates service routes for each layer of business based on the hierarchical relationship.
5、 如权利要求 1所述的业务创建方法, 其中, 所述业务信息还包括 条件约束信息, 所述条件约束信息包括服务层端点、 端口、单板、 网元、 服务层业务中的至少一种。 5. The service creation method according to claim 1, wherein the service information further includes conditional constraint information, and the conditional constraint information includes at least one of a service layer endpoint, a port, a single board, a network element, and a service layer service. kind.
6、 一种业务创建装置, 包括: 路径获取模块和业务创建模块; 所述路径获取模块, 配置为根据业务信息获取所有可能的业务路径, 并选取其中一条业务路径, 所述用户信息包括客户层业务起始信息和终 止信息; 6. A service creation device, including: a path acquisition module and a service creation module; the path acquisition module is configured to acquire all possible service paths according to service information, and select one of the service paths, and the user information includes a customer layer Business start information and end stop information;
所述业务创建模块, 配置为根据选取的所述业务路径创建客户层业 务和对应的服务层业务。 The service creation module is configured to create a customer layer service and a corresponding service layer service according to the selected service path.
7、 如权利要求 6所述的业务创建装置, 其中, 所述路径获取模块选 取其中一条业务路径包括: 选取所有可能的业务路径中的最短业务路径。 7. The service creation device according to claim 6, wherein the path acquisition module selecting one of the service paths includes: selecting the shortest service path among all possible service paths.
8、 如权利要求 6或 7所述的业务创建装置, 其中, 所述业务创建模 块包括获取子模块和创建子模块; 8. The service creation device according to claim 6 or 7, wherein the service creation module includes an acquisition sub-module and a creation sub-module;
所述获取子模块, 配置为获取业务路径经过的所有节点的信息, 所 述节点包括业务通道端点; The acquisition sub-module is configured to acquire information on all nodes through which the service path passes, and the nodes include service channel endpoints;
所述创建子模块, 配置为根据所述节点的信息创建客户层业务和对 应的服务层业务。 The creation sub-module is configured to create a client layer service and a corresponding service layer service according to the information of the node.
9、 如权利要求 8所述的业务创建装置, 其中, 所述业务创建模块中 的获取子模块获取节点的信息还包括相邻节点之间发生复用或者解复用 的信息; 所述相邻节点包括可彼此发生复用或者解复用的两个节点; 9. The service creation device according to claim 8, wherein the acquisition sub-module in the service creation module obtains node information and also includes information on multiplexing or demultiplexing between adjacent nodes; A node includes two nodes that can be multiplexed or demultiplexed with each other;
所述业务创建模块中的创建子模块根据所述节点的信息创建客户层 业务和对应的服务层业务包括: The creation sub-module in the service creation module creates customer layer services and corresponding service layer services based on the information of the nodes, including:
根据所述起始信息和终止信息确定客户层业务和对应的服务层业务; 根据所述相邻节点之间发生复用或者解复用的信息确定客户层业务 和服务层业务之间的层次关系, 并根据层次关系生成各层业务的业务路 由。 Determine client layer services and corresponding service layer services based on the start information and termination information; determine the hierarchical relationship between client layer services and service layer services based on the information on multiplexing or demultiplexing between adjacent nodes. , and generate service routes for each layer of services based on hierarchical relationships.
10、 一种网元设备, 包括: 存储器和处理器; 10. A network element device, including: memory and processor;
所述存储器, 配置为存储业务信息; The memory is configured to store business information;
所述处理器, 配置为执行以下步骤: The processor is configured to perform the following steps:
根据存储器存储的业务信息获取所有可能的业务路径, 并选取其中 一条业务路径; 所述业务信息包括客户层业务的起始信息和终止信息; 根据选取的所述业务路径创建客户层业务和对应的服务层业务。 Obtain all possible service paths according to the service information stored in the memory, and select one of the service paths; The service information includes the start information and termination information of the customer layer service; Create the customer layer service and the corresponding service path according to the selected service path Service layer business.
11、 一种计算机可读存储介质, 所述存储介质包括一组计算机可执 行指令, 所述指令用于执行权利要求 1-5任一项所述的业务创建方法。 11. A computer-readable storage medium, the storage medium includes a set of computer-executable instructions, the instructions are used to execute the service creation method according to any one of claims 1-5.
PCT/CN2014/079971 2014-01-24 2014-06-16 Service creation method, apparatus and network element device WO2015109735A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410033921.8A CN104812085A (en) 2014-01-24 2014-01-24 Service creating method and apparatus, and network element device
CN201410033921.8 2014-01-24

Publications (1)

Publication Number Publication Date
WO2015109735A1 true WO2015109735A1 (en) 2015-07-30

Family

ID=53680740

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/079971 WO2015109735A1 (en) 2014-01-24 2014-06-16 Service creation method, apparatus and network element device

Country Status (2)

Country Link
CN (1) CN104812085A (en)
WO (1) WO2015109735A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130899A (en) * 2016-07-14 2016-11-16 华为技术有限公司 A kind of method and apparatus generating service path

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929401A (en) * 2006-07-26 2007-03-14 华为技术有限公司 Method for end-to-end data business establishment
EP2075966A1 (en) * 2006-10-09 2009-07-01 Huawei Technologies Co Ltd A calculating method and apparatus of service path
CN101605139A (en) * 2009-07-10 2009-12-16 中兴通讯股份有限公司 The method and apparatus of P 2 P service establishing
CN102118259A (en) * 2009-12-30 2011-07-06 华为技术有限公司 Method and device for creating Ethernet route

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130232193A1 (en) * 2012-03-04 2013-09-05 Zafar Ali Control-Plane Interface Between Layers in a Multilayer Network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929401A (en) * 2006-07-26 2007-03-14 华为技术有限公司 Method for end-to-end data business establishment
EP2075966A1 (en) * 2006-10-09 2009-07-01 Huawei Technologies Co Ltd A calculating method and apparatus of service path
CN101605139A (en) * 2009-07-10 2009-12-16 中兴通讯股份有限公司 The method and apparatus of P 2 P service establishing
CN102118259A (en) * 2009-12-30 2011-07-06 华为技术有限公司 Method and device for creating Ethernet route

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130899A (en) * 2016-07-14 2016-11-16 华为技术有限公司 A kind of method and apparatus generating service path
CN106130899B (en) * 2016-07-14 2019-09-13 华为技术有限公司 A kind of method and apparatus generating service path

Also Published As

Publication number Publication date
CN104812085A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
US11558247B2 (en) Method and apparatus for implementing composed virtual private network VPN
CN105024844B (en) A kind of method calculating cross-domain routing, server and system
KR101430544B1 (en) Method for inheriting attribute of forwarding adjacency in multilayer network and corresponding multilayer network
WO2018223617A1 (en) Cross-domain path computation method for multi-domain controller
US20130329601A1 (en) Defining Data Flow Paths in Software-Defined Networks with Application-Layer Traffic Optimization
EP3780514B1 (en) Tunnel setup method, apparatus, and system
US11075814B2 (en) Sub-topology discovery for operating hybrid solutions
CN108809794B (en) SDN-based transport network virtual network creating method and device and transport network system
WO2017032024A1 (en) Method and device for processing potn virtual interface
Dai et al. A general model for hybrid fiber-wireless (FiWi) access network virtualization
CN104219098A (en) Hard pipe building method, packet forwarding method and device in network
CN104040972A (en) Path Establishing Method And Device
CN113242179A (en) SDN-based SR path calculation and label stack generation method and SDN controller
WO2015196646A1 (en) Method for acquiring cross-domain separation paths, path computation element and related storage medium
WO2015109735A1 (en) Service creation method, apparatus and network element device
WO2018177256A1 (en) Method and device for announcing delay information
CN109962937B (en) Multi-domain multi-layer connection service establishing method and device
WO2018054209A1 (en) Method, device and system for processing transport multi-protocol packet segmented layer (tms)
Farrel et al. Problem Statement and Architecture for Information Exchange between Interconnected Traffic-Engineered Networks
WO2016062071A1 (en) Concurrence processing method, apparatus and system for service creation and increment discovery
KR102353585B1 (en) Network route publishing method and device
CN112260847B (en) Method for sending OSPF domain information, method and device for acquiring OSPF domain information
Ceccarelli et al. Transport aspects of network slicing: existing solutions and gaps
JP2005333454A (en) Server apparatus for setting path, method for setting path and path setting program
CN103825827A (en) Routing advertisement method and equipment

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: 14880293

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: 14880293

Country of ref document: EP

Kind code of ref document: A1