Service configuration method and device

By dynamically configuring and adjusting service paths and bandwidths in OTN devices, the problems of waste of resources and high network construction costs in virtual reality games and other services are solved, and efficient resource utilization and cost reduction are achieved.

CN119094921APending Publication Date: 2024-12-06HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411310689.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2020-12-31
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

In emerging virtual reality games, cloud games and ultra-definition video services, users have increasingly demanded on low latency and low jitter network quality, but existing optical transmission networks (OTNs) have resources in resource utilization and cost management. The problem of waste leads to high cost of building a network.

Method used

By realizing dynamic configuration and bandwidth adjustment of service paths in OTN devices, paths are established or adjusted according to the actual needs of services, avoiding the waste of pre-configured large bandwidth resources, and adjusting bandwidth only when needed to meet the needs.

Benefits of technology

It effectively reduces resource waste, improves resource utilization, reduces network construction costs, and dynamically configures bandwidth according to business needs, avoiding excessive resource reservation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094921A_ABST
    Figure CN119094921A_ABST
Patent Text Reader

Abstract

The invention relates to a service configuration method and device. A first OTN device receives a first message from an OLT device, the first message comprising first address information of a service. And the first OTN equipment determines whether a first path is established in the OTN according to the first message, the first path is used for transmitting the service, and the first path satisfies the first address information. And the first OTN device establishes a path for transmitting the service or adjusts the bandwidth of the established first path according to the determination result. According to the embodiment of the invention, the path of the service in the OTN can be established for the service when the terminal equipment initiates the service, that is, the path of the service in the OTN does not need to be maintained all the time, so that the waste of resources is reduced, the utilization rate of the resources is improved, and the networking cost is also reduced.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the original application is 202011618703.2, and the original application date is December 31, 2020. The entire contents of the original application are incorporated into this application by reference. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a method and device for configuring a service. Background Art

[0003] In emerging virtual reality (VR) games, cloud games, ultra-high-definition video and other services, users have increasingly strong requirements for low-latency and low-jitter network quality. The optical transport network (OTN) can provide promised bandwidth isolation and stable latency performance, which is just right for such services.

[0004] For a user equipment (UE), the path of the UE's service in the OTN is pre-configured. And because the paths are all pre-configured, the parameters of the path (such as bandwidth and other parameters) cannot be adjusted later. Therefore, in order to ensure the user's quality of experience, bandwidth will be reserved for the path according to the user's peak demand when the path is initially configured. That is, the bandwidth currently configured for the pre-configured path is also relatively large. However, the UE does not necessarily always execute the corresponding service. For example, the user may stop playing the game after a few hours, and will not always be in the state of playing games. However, the path that has been built for the UE's service will not be deleted. Even if the user does not use the path, the path will continue to exist, and the bandwidth and other resources configured for the path cannot be occupied by other users or other services. This has caused a huge waste of resources for the entire network, resulting in very high network construction costs. Summary of the invention

[0005] The embodiments of the present application provide a method and device for configuring a service, which are used to save resources and reduce network construction costs.

[0006] In a first aspect, a method for configuring a service is provided. The method can be executed by a first device, such as an OTN device, or a chip system set in the OTN device, or the first device is, for example, an access network controller, etc. In the following introduction, the first device is an OTN device as an example, and the OTN device as the first device is referred to as a first OTN device. The first OTN device receives a first message from an OLT device, and the first message includes first address information of the service; the first OTN device determines whether a first path has been established in the OTN according to the first message, the first path is used to transmit the service, and the first path satisfies the first address information; the first OTN device establishes a path for transmitting the service or adjusts the bandwidth of the established first path according to the determination result. The first path satisfies the first address information, which can also be referred to as the first path corresponding to the first address information, etc. It can be understood that the path determined according to the first address information is the first path, or the first path is determined according to the first address information. That is, a path can be determined in the OTN according to the first address information, and the path is the first path.

[0007] In an embodiment of the present application, a path in the OTN can be established for the service when the terminal device initiates the service, that is, it is not necessary to always maintain the path of the service in the OTN, thereby reducing the waste of resources, improving the utilization of resources, and reducing the cost of network construction. Alternatively, the bandwidth of the established path can be adjusted when the terminal device initiates the service, so even if the path of the service in the OTN is maintained, it can be maintained at a smaller bandwidth, and the bandwidth can be adjusted when the path is needed, which can also reduce the waste of resources. Moreover, since the embodiment of the present application can establish a path in the OTN for the service when the service is initiated, or can adjust the bandwidth of the established path, the bandwidth can be configured for the corresponding path according to the actual needs of the service, without having to configure the bandwidth according to the peak demand of the user, which can further reduce the waste of resources.

[0008] In an optional implementation, the first address information includes one or more of the following: the source IP address of the service, the destination IP address of the service, the egress address of the service on the first OTN device, and the next hop address of the service after passing through the OTN. The source IP address of the service is the IP address of the terminal device requesting the service, and the destination IP address of the service is the IP address of the application server providing the service. By including the first address information in the first message, the first OTN device can determine whether the first path has been established in the OTN, and if the first path has not been established in the OTN, a new path can be created according to the first address information to meet the service transmission requirements.

[0009] In an optional implementation manner, the first OTN device determines whether the first path has been established in the OTN according to the first message, including: the first OTN device determines second address information according to the first address information, the second address information includes a source device identifier, a destination device identifier, and a time slot number of the first path in the OTN; the first OTN device determines whether the first path has been established in the OTN according to the second address information. Here is a way for the first OTN device to determine whether the first path has been established in the OTN.

[0010] In an optional implementation, the first OTN device establishes a path for transmitting the service according to the determination result, including: when the first path has not been established in the OTN, the first OTN device sends a second message to the CCU, and the second message is used to request the establishment of a second path for transmitting the service. If the first path is not established in the OTN, the first OTN device can request the establishment of a second path to meet the transmission requirements of the service. It can be seen that in the embodiment of the present application, when a path is not used, the path can be deleted, and the path can be established when it is needed, which can effectively reduce the waste of resources.

[0011] In an optional implementation, the second message further includes second address information, the second address information including a source device identifier, a destination device identifier, and a timeslot number of the second path in the OTN, wherein the second address information is obtained according to the first address information. If a request is made to establish a second path, the second address information may be sent to the CCU, and the second address information is equivalent to describing the second path, so that the CCU knows which path the second path is.

[0012] In an optional implementation, the first OTN device adjusts the bandwidth of the first established path according to the determination result, including: when the first path has been established in the OTN, the first OTN device determines whether the bandwidth of the first path meets the bandwidth requirement of the service; when the bandwidth of the first path does not meet the bandwidth requirement of the service, the first OTN device sends a second message to the CCU, the second message is used to request adjustment of the bandwidth of the first path, wherein the adjusted bandwidth can meet the bandwidth requirement of the service. If the first path already exists, the first path can continue to be used without creating a new path, thereby reducing the signaling consumption caused by the new path. However, the parameters of the existing first path may not meet the current requirements of the service, for example, the bandwidth of the first path may not meet the bandwidth requirement of the service, then the first OTN device may request adjustment of the bandwidth of the first path so that the adjusted bandwidth can meet the requirements of the service.

[0013] In an optional implementation, the first message is a PCEP message, or the first message may be other types of messages, which are not limited.

[0014] In an optional implementation, the PCEP message is also used to indicate a path update. For example, creating a new path or adjusting parameters (such as bandwidth) of an existing path can be considered as a path update.

[0015] In an optional implementation, the method further includes: the first OTN device receives a third message from the OLT device, the third message is used to request to delete the path of the service in the OTN; the first OTN device sends a fourth message to the CCU, the fourth message is used to request to delete the path of the service in the OTN. When a certain service is not needed, the path of the service in the OTN can be deleted, or the bandwidth of the path of the service in the OTN can be reduced to reduce resource waste. For example, if a terminal device does not execute a certain service for a long time, the path of the service in the OTN can be deleted to reduce resource waste to a greater extent.

[0016] In an optional implementation, the method further includes: the first OTN device receives a third message from the OLT device, the third message is used to request adjustment of the bandwidth of the path of the service in the OTN; the first OTN device sends a fourth message to the CCU, the fourth message is used to request adjustment of the bandwidth of the path of the service in the OTN, wherein the adjusted bandwidth is less than the bandwidth before adjustment. Optionally, the first OTN device may also receive a seventh message from the CCU, the seventh message indicating whether the bandwidth of the path of the service in the OTN can be adjusted. When a certain service is not required to be executed, the path of the service in the OTN may be deleted, or the bandwidth of the path of the service in the OTN may be reduced to reduce resource waste. For example, the terminal device may not execute a certain service in the short term, but may execute the service again after a period of time, then the bandwidth of the path of the service in the OTN may be adjusted to reduce resource waste, and the path of the service in the OTN may also be maintained, reducing resource consumption caused by establishing the path.

[0017] In a second aspect, another method for configuring a service is provided, which can be executed by a second device, such as an OLT device, or a chip system set in the OLT device. In the following introduction, the second device is taken as an example that the OLT device is an OLT device. The OLT device receives a first signaling from a terminal device, and the first signaling is used to request configuration of a service; the OLT device sends a first message to a first OTN device, and the first message is used to determine a path of the service in the OTN, and the first message includes first address information of the service.

[0018] In an optional implementation, the first address information includes one or more of the following: the first address information includes the source IP address of the service, the destination IP address of the service, the egress address of the service on the first OTN device, and the next hop address of the service after passing through the OTN. The source IP address of the service is the IP address of the terminal device requesting the service, and the destination IP address of the service is the IP address of the application server providing the service.

[0019] In an optional implementation, the first message is a PCEP message.

[0020] In an optional implementation, the PCEP message is used to indicate an update path.

[0021] In an optional implementation, the method further includes: the OLT device receiving a fifth message from the first OTN device, where the fifth message is used to indicate whether a path of the service in the OTN is available or unavailable.

[0022] In an optional implementation, the method further includes: the OLT device sending a third message to the first OTN device, where the third message is used to request deletion of a path of the service in the OTN, or to request adjustment of a bandwidth of a path of the service in the OTN.

[0023] Regarding the technical effects brought about by the second aspect or various optional implementations of the second aspect, reference may be made to the introduction to the technical effects of the first aspect or corresponding implementations.

[0024] In a third aspect, a communication device is provided. The communication device may be the first device described in any one of the first to second aspects. The communication device has the functions of the first device. In an optional implementation, the communication device includes a baseband device and a radio frequency device. In another optional implementation, the communication device includes a processing unit (sometimes also referred to as a processing module) and a transceiver unit (sometimes also referred to as a transceiver module). The transceiver unit can implement a sending function and a receiving function. When the transceiver unit implements the sending function, it may be referred to as a sending unit, and when the transceiver unit implements the receiving function, it may be referred to as a receiving unit. The sending unit and the receiving unit may be the same functional module, which is called a transceiver unit, and the functional module can implement a sending function and a receiving function; or, the sending unit and the receiving unit may be different functional modules, and the transceiver unit is a general term for these functional modules.

[0025] For example, the transceiver unit (or the receiving unit) is used to receive a first message from an optical line terminal OLT device, where the first message includes first address information of a service;

[0026] The processing unit is configured to determine, according to the first message, whether a first path has been established in the OTN, the first path being used to transmit the service, and the first path satisfying the first address information;

[0027] The processing unit is further configured to establish a path for transmitting the service or adjust a bandwidth of the established first path according to the determination result.

[0028] In another optional implementation, the communication device includes a storage unit and a processing unit, and the processing unit is used to couple with the storage unit and execute the program or instructions in the storage unit to enable the communication device to perform the function of the above-mentioned first device.

[0029] In a fourth aspect, another communication device is provided. The communication device may be the second device described in any one of the first to second aspects. The communication device has the functions of the second device. In an optional implementation, the communication device includes a baseband device and a radio frequency device. In another optional implementation, the communication device includes a processing unit (sometimes also referred to as a processing module) and a transceiver unit (sometimes also referred to as a transceiver module). The implementation of the transceiver unit can refer to the introduction of the third aspect.

[0030] For example, the receiving unit is used to receive a first signaling from a terminal device, where the first signaling is used to request execution of a service;

[0031] The sending unit is used to send a first message to a first OTN device, where the first message is used to determine a path of a service in the OTN, and the first message includes first address information of the service.

[0032] Alternatively, the processing unit is used to receive a first signaling from a terminal device through the transceiver unit, where the first signaling is used to request execution of a service;

[0033] The processing unit is further used to send a first message to the first OTN device through the transceiver unit, where the first message is used to determine a path of the service in the OTN, and the first message includes first address information of the service.

[0034] In another optional implementation, the communication device includes a storage unit and a processing unit, and the processing unit is used to couple with the storage unit and execute the program or instructions in the storage unit to enable the communication device to perform the function of the above-mentioned second device.

[0035] In a fifth aspect, a communication system is provided, or the communication system may also be referred to as a service configuration system. For example, the communication system may include the communication device described in the third aspect, and may include the communication device described in the fourth aspect.

[0036] In a sixth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium is used to store a computer program or instruction, and when the computer-readable storage medium is executed, the method executed by the first device or the second device in the above aspects is implemented.

[0037] According to a seventh aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the methods described in the above aspects to be implemented.

[0038] In the embodiment of the present application, since the first OTN device can perform corresponding processing according to whether the first path is established in the OTN when the terminal device initiates the service, for example, a new path can be created or the bandwidth of an existing path can be adjusted according to the determination result, which indicates that a path in the OTN can be established for the service when the terminal device initiates the service, or even if the path in the OTN is maintained for the corresponding service, it is not necessary to maintain it according to a large bandwidth, but only a small bandwidth is needed to maintain the path, thereby reducing the waste of resources, improving the utilization of resources, and reducing the cost of network construction. Moreover, since the embodiment of the present application can establish a path in the OTN for the service when the service is initiated, or can adjust the bandwidth of the established path, the bandwidth can be configured for the corresponding path according to the actual needs of the service, without having to configure the bandwidth according to the peak demand of the user, which can further reduce the waste of resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1A A schematic diagram of an application scenario of an embodiment of the present application;

[0040] Figure 1B This is the execution flow chart of the cloud VR business;

[0041] Figure 2 A schematic diagram of another application scenario of an embodiment of the present application;

[0042] Figure 3 A flowchart of a method for configuring a service provided in an embodiment of the present application;

[0043] Figure 4 A schematic diagram of a format of an intermediate node field provided in an embodiment of the present application;

[0044] Figure 5 A schematic diagram of a format of an ERP field provided in an embodiment of the present application;

[0045] Figure 6A flowchart of another method for configuring a service provided in an embodiment of the present application;

[0046] Figure 7 A schematic diagram of the structure of a communication device provided in an embodiment of the present application;

[0047] Figure 8 A schematic diagram of the structure of another communication device provided in an embodiment of the present application;

[0048] Fig. 9 A schematic diagram of the structure of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0050] Below, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.

[0051] In the embodiment of the present application, the terminal device is a device with wireless transceiver function, which can be a fixed device, a mobile device, a handheld device (such as a mobile phone), a wearable device, a vehicle-mounted device, or a wireless device built into the above device (for example, a communication module, a modem, or a chip system, etc.). The terminal device is used to connect people, objects, machines, etc., and can be widely used in various scenarios, such as but not limited to the following scenarios: cellular communication, device-to-device communication (device-to-device, D2D), vehicle to everything (vehicle to everything, V2X), machine-to-machine / machine-type communication (machine-to-machine / machine-type communications, M2M / MTC), Internet of Things (Internet of Things, IoT), virtual reality (virtual reality, VR), augmented reality (augmented reality, AR), industrial control (industrial control), self-driving, remote medical, smart grid (smart grid), smart furniture, smart office, smart wear, smart transportation, smart city (smart city), drones, robots and other scenarios of terminal devices. The terminal device may sometimes be referred to as user equipment (UE), terminal, access station, UE station, remote station, wireless communication device, or user device, etc.

[0052] In the embodiments of the present application, the number of nouns, unless otherwise specified, means "singular noun or plural noun", that is, "one or more". "At least one" means one or more, and "plural" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. For example, A / B means: A or B. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c means: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.

[0053] The ordinal numbers such as "first" and "second" mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the size, content, order, timing, priority or importance of the multiple objects. For example, the first message and the second message can be the same message or different messages, and such names do not indicate the difference in size, content, sending order, priority or importance of the two messages.

[0054] In emerging VR games, cloud games, ultra-high-definition video and other services, users have increasingly strong requirements for low-latency and low-jitter network quality. OTN can provide promised bandwidth isolation and stable latency performance, which is just suitable for such services. For example, a typical application scenario can be referred to Figure 1A . Figure 1A It includes terminal equipment, optical network terminal (ONT), optical line terminal (OLT), multiple OTN devices, central control unit (CCU), gateway, and application server. Figure 1A The terminal device in the example is smart glasses, such as VR glasses. It can be considered that multiple OTN devices belong to the OTN network, or in other words, Figure 1A In the OTN network, there are multiple OTN devices. Figure 1AOnly some OTN devices are drawn, and some OTN devices are not drawn. In fact, the OTN network may include one or more OTN devices. The CCU is located in the OTN and can also be regarded as an OTN device, but the embodiment of the present application will involve the function of the CCU, so the CCU is drawn separately. The application server can provide services for corresponding applications, for example, it can provide services for video applications, etc. Taking the example of the application server providing services for VR applications, the application server is, for example, a VR rendering cloud (or called a VR rendering server). In addition, if Figure 1A The scenario shown is applied to VR business, then Figure 1A A VR scheduling platform may also be included. The VR scheduling platform may be used to manage one or more VR devices, for example, providing the address of a VR rendering cloud to these VR devices.

[0055] To Figure 1A The scenario shown is applied to VR business as an example. The cloud VR business process can be referred to Figure 1B .

[0056] S11, the VR device sends a VR business service request to the VR scheduling platform, and the VR scheduling platform receives the VR business service request from the VR device. The VR game service request can be used to request execution of the VR business, and the VR business is, for example, a VR game business.

[0057] S12, the VR scheduling platform sends the address of the VR rendering cloud to the VR device, and the VR device receives the address of the VR rendering cloud from the VR scheduling platform. The VR rendering cloud is an application server that provides services for the VR business.

[0058] For example, after the VR device is started, it first obtains the address of the VR rendering cloud through the Internet channel. The Internet channel is the channel between the VR device and the VR scheduling platform, that is, the VR device obtains the address of the VR rendering cloud from the VR scheduling platform.

[0059] S13: The VR device sends a signaling for connecting to the VR rendering cloud to the ONT, and the ONT receives the signaling from the VR device. The signaling is used to request execution of the VR service.

[0060] S14. The ONT identifies the service flow.

[0061] The ONT can identify the service requested by the signaling to determine the path of the service. For example, if the service is identified as a VR service, the signaling is sent to the VR rendering cloud through the OLT device, OTN, etc., while if the service is other services, the signaling may be sent through other paths.

[0062] S15. The OLT device sends the signaling to the VR rendering cloud through OTN, gateway and other devices, and the VR rendering cloud receives the signaling from the gateway.

[0063] If the path corresponding to the VR service has been established in the OTN, S15 can be executed; if the path corresponding to the VR service has not been established in the OTN, S15 cannot be executed and the service execution fails.

[0064] S16. The VR rendering cloud sends the data stream of the VR service to the VR device through the gateway, OTN, OLT device, ONT and other devices. The data stream of the VR service is, for example, a VR game video rendering stream.

[0065] pass Figure 1B According to the process shown, the VR device can start to execute VR services, and the user can watch the corresponding images through the VR device.

[0066] At present, for a UE, the path of the UE's service in OTN is pre-configured. And because the paths are pre-configured, the parameters of the path (such as bandwidth and other parameters) cannot be adjusted later. Therefore, in order to ensure the user's quality of experience, bandwidth will be reserved for the path according to the user's peak demand when the path is initially configured, that is, the bandwidth currently configured for the pre-configured path is also relatively large. For example, if the UE is a VR device, the path of the VR service executed by the VR device in OTN will be pre-configured, and the bandwidth configured for the path is the peak bandwidth of the VR service. However, the UE may not always execute the corresponding service. For example, the user may stop playing the game after a few hours, and will not always be in the state of playing games. However, the path that has been built for the UE's service will not be deleted. Even if the user does not use the path, the path will continue to exist, and the bandwidth and other resources reserved for the path cannot be occupied by other users or other services. This has caused a huge waste of resources in the entire network, resulting in very high network construction costs.

[0067] Considering this problem, it is also possible to use other tunnels to transmit services instead of OTN. For example, MPLS tunnels and SR tunnels can be used. With this kind of tunnel, even if a path is pre-configured for a service, if the user does not use the service, other users or other services can also use the path, which solves the problem of resource waste. Using this kind of tunnel is equivalent to multiple users sharing resources, and different users can use resources by preemption. However, this method will cause congestion problems. Therefore, if this kind of tunnel is used, the performance indicators of the service such as latency and jitter will be poor, and it cannot meet the services with high requirements on these indicators.

[0068] In view of this, a technical solution of an embodiment of the present application is provided. In an embodiment of the present application, a path in the OTN can be established for the service when the terminal device initiates the service, that is, it is not necessary to always maintain the path of the service in the OTN, thereby reducing the waste of resources, improving the utilization rate of resources, and reducing the cost of network construction. Alternatively, the bandwidth of the established path can be adjusted when the terminal device initiates the service, so even if the path of the service in the OTN is maintained, it can be maintained at a smaller bandwidth, and the bandwidth can be adjusted when the path is needed, which can also reduce the waste of resources. Moreover, since the embodiment of the present application can establish a path in the OTN for the service when the service is initiated, or can adjust the bandwidth of the established path, the bandwidth can be configured for the corresponding path according to the actual needs of the service, without having to configure the bandwidth according to the peak demand of the user, which can further reduce the waste of resources.

[0069] The technical solution provided in the embodiment of the present application can be applied to OTN, or can also be applied to other similar networks. Figure 1A It can be used as an application scenario of the embodiment of this application. Figure 2 , which is another application scenario of the embodiment of the present application. Figure 2 It includes terminal equipment, ONT, OLT equipment, multiple OTN equipment, CCU, gateway, application server, access network controller, and transmission network controller. The access network controller can be provided by a communication operator, and can be located in the access network equipment as a functional module in the access network equipment, or it may not be located in the access network equipment, but in other equipment as a functional module in other equipment, or it can also be an independent device. The access network controller can manage one or more OLT devices as a whole. The transmission network controller can manage the OTN. The transmission network controller can be provided by a communication operator, and can be located in the access network equipment as a functional module in the access network equipment, or it may not be located in the access network equipment, but in other equipment as a functional module in other equipment, or it can also be an independent device. Figure 2 In the example, the transport network controller can communicate with the ingress OTN equipment and the egress OTN equipment of the OTN. This is just an example. In fact, the transport network controller can communicate with all or part of the OTN equipment included in the OTN. Figure 2 For an introduction to other equipment included, please refer to the previous article on Figure 1A Introduction.

[0070] The following describes the method provided by the embodiments of the present application in conjunction with the accompanying drawings. The various embodiments of the present application can be applied to Figure 1A The scene shown or Figure 2 In the following introduction, the technical solutions provided by various embodiments of the present application are mainly applied to Figure 1ATake the scenario shown in the figure as an example. If the technical solutions provided by the various embodiments of this application are applied to Figure 2 In the scenario shown in FIG. 1 , the steps performed by the first OTN device in the following description may be replaced by the access network controller, and the steps performed by the CCU in the following description may be replaced by the transport network controller. Figure 1A or Figure 2 includes multiple OTN devices, and the first OTN device described in each embodiment of the present application can be Figure 1A or Figure 2 The leftmost OTN device, or the first OTN device described in each embodiment of the present application, is an inlet OTN device for entering the OTN from the user side. Figure 3 or Figure 6 ), all steps indicated by dotted lines are optional steps.

[0071] Please refer to Figure 3 , which is a method for configuring a service provided in an embodiment of the present application.

[0072] S301: The OLT device sends a first message to the first OTN device, and correspondingly, the first OTN device receives the first message from the OLT device. Figure 1A As an example, if the technical solution of the embodiment of the present application is applied to Figure 2 In the scenario shown, S301 can be replaced by: the OLT device sends a first message to the access network controller, and accordingly, the access network controller receives the first message from the OLT device. Accordingly, the processes performed by the first OTN device in the subsequent steps can be performed by the access network controller instead.

[0073] The first message may include the first address information of the service, and the first address information includes the address information that the path of the service in the OTN needs to satisfy. This is equivalent to the OLT device notifying the first OTN device that the path for transmitting the service needs to satisfy the first address information. The so-called path satisfying the first address information can be understood as that the path is determined based on the first address information, or in other words, a path can be determined based on the first address information, and the path is the path that satisfies the first address information. The first address information may include one or more of the following: the source Internet protocol (IP) address of the service, the destination IP address of the service, the exit address of the service on the first OTN device, and the next hop address of the service after passing through the OTN. For example, the first address information includes the source IP address of the service and the destination IP address of the service; or, the first address information includes the egress address of the service on the first OTN device and the next hop address of the service after passing through the OTN; or, the first address information includes the destination IP address of the service; or, the first address information includes the next hop address of the service after passing through the OTN; or, the first address information includes the source IP address of the service, the destination IP address of the service, the egress address of the service on the first OTN device, and the next hop address of the service after passing through the OTN, and so on.

[0074] The source IP address of the service is, for example, the IP address of the terminal device that requests the service. The destination IP address of the service is, for example, the IP address of the application server that provides the service. For example, if the service is a VR service, the destination IP address of the VR service may be the IP address of the VR rendering cloud that provides the VR service. The destination IP address of the service may also be obtained from the first signaling. The egress address of the service on the first OTN device is, for example, the address of the interface on the first OTN device used to send the service. The next-hop address of the service after passing through the OTN is, for example, the IP address of the next-hop device after the service passes through the OTN. For example, if the service reaches the gateway after passing through the OTN, the IP address of the next-hop device after the service passes through the OTN is the IP address of the gateway. The egress address of the service on the first OTN device and the next-hop address of the service after passing through the OTN may also be obtained from the first signaling, or may be determined by the OLT device.

[0075] Since a PCEP session has been established between the first OTN device and the OLT device, for example, the first message is a PCEP message, such as a PCEP request message, or the first message may also be other messages. Optionally, the embodiment of the present application may add a first field to the PCEP request message, that is, add a first field on the basis of the message format specified by the existing PCEP protocol, and the first field may be used to carry the exit address of the service on the first OTN device and the next hop address of the service after passing through the OTN. The first field is called, for example, the intermediate node (MIDDLE-POINTS) field, or it may be another name. Alternatively, the existing fields in the PCEP request message may be used to carry the exit address of the service on the first OTN device and the next hop address of the service after passing through the OTN. Please refer to Figure 4 , is an example of the format of a MIDDLE-POINTS object. Figure 4 In the field, the object class (Object-Class) refers to the type of the MIDDLE-POINTS object, for example, 44, or other values; OT represents the object type (Object-Type), for example, the value of OT is "1", indicating that the path is updated, and the value of OT is "2", indicating that the path is deleted; RES represents a reserved bit, for example, it can be fixed to 0; the P flag indicates that the MIDDLE-POINTS field is an optional field or a mandatory field. In the embodiment of the present application, the P flag can be set to 1, indicating that the MIDDLE-POINTS field is a mandatory field; since the P flag is set to 1, the I flag needs to be set to 0, indicating that the MIDDLE-POINTS field cannot be ignored; the object length (Object Length) can indicate the length of the information carried by the MIDDLE-POINTS field, for example, the length of the egress address of the service on the first OTN device and the next hop address of the service after passing through the OTN is 8, then the Object Length can be set to 8. The outbound interface IP (Out Interface IP) can be filled with the egress address of the service on the first OTN device, and the next hop IP (Next Hop IP) can be filled with the next hop address of the service after passing through the OTN.

[0076] The source IP address of the service and the destination IP address of the service can be carried by the second field in the PCEP request message. The second field can be a newly added field based on the message format specified by the existing PCEP protocol, or it can be an existing field in the PCEP request message. For example, the embodiment of the present application uses the existing end point (END-POINTS) field in the PCEP request message as the second field. The END-POINTS field itself is used to carry the IP address of the ingress OTN device and the IP address of the egress OTN device in the OTN. However, the embodiment of the present application allows the END-POINTS field to carry the IP address of the terminal device requesting the service and the IP address of the application server providing the service. This makes the terminal device and the application server visible to the OTN device, which is beneficial for the OTN to establish or maintain the corresponding path for the terminal device.

[0077] In addition to including the first address information, the first message may optionally indicate an update path or a deletion path. For example, the first message is a PCEP request message, and the PCEP request message includes a third field, and the third field may indicate an update path or a deletion path. For example, if the terminal device is requesting a service, the third field may indicate an update path, and the update path may include a new path, or may include adjusting the bandwidth of an existing path, etc.; if the terminal device is offline, or requests to delete a path, etc., the third field may indicate a deletion path. The third field included in the first message in S301 indicates an update path.

[0078] The third field can be a newly added field based on the message format specified by the existing PCEP protocol, or it can also be an existing field in the PCEP request message. For example, if the third field is a newly added field, the third field is called an ERP field, or it can be called another name. Figure 5 , is an example of the format of an ERP object. Figure 5 In the above, Object-Class refers to the type of ERP object, such as 43, or may be other values; OT represents Object-Type, for example, the value of OT is "1", indicating an update path, and the value of OT is "2", indicating a deletion path; RES represents a reserved bit, for example, it can be fixed to 0; the P flag indicates that the ERP field is an optional field or a mandatory field. In the embodiment of the present application, the P flag can be set to 1, indicating that the ERP field is a mandatory field; since the P flag is set to 1, the I flag needs to be set to 0, indicating that the ERP field cannot be ignored; since the ERP object has indicated the update path or the deletion path through OT, there is no further object body, so the Object Length can be set to 0, indicating that there is no object body.

[0079] Optionally, in addition to the first address information, the first message may also include bandwidth requirement information, or delay requirement information, or bandwidth requirement information and time domain requirement information. The bandwidth requirement information and delay requirement information are both information that needs to be satisfied by the path used to transmit the service. For example, the bandwidth requirement information may indicate the bandwidth that needs to be satisfied by the path used to transmit the service, and the delay requirement information may indicate the delay that needs to be satisfied by the path used to transmit the service. Of course, in addition to this information, the first message may also include other information that is satisfied by the path used to transmit the service.

[0080] The first field, the second field, the third field, and the bandwidth requirement information and the delay requirement information, etc., can all be included in the message header of the first message. Taking the first message as a PCEP request message, and the first message including the first field, the second field, the third field, and the bandwidth requirement information and the delay requirement information as an example, an example of the message header of the PCEP request message provided in the embodiment of the present application is as follows:

[0081] <PCReq Message> ::=<Message Common Header>

[0082] <erp>: Instructs to establish / delete a connection

[0083] : Bearer Request-ID-number

[0084] <end-points>: Carrying service source / destination IP

[0085] <middle-points>: Bearer egress and next hop IP

[0086] [ <bandwidth>]: Carrying bandwidth demand information

[0087] [ <delay>]: Bearer delay requirement information

[0088] In this example, the bandwidth (BANDWIDTH) field carries bandwidth requirement information, and the delay (DELAY) field carries delay requirement information. In addition, the RP field is an original field in the PCEP request message, which can be used to carry the request ID number (Request-ID-number), and the Request-ID-number can indicate the sequence number of the PCEP request message.

[0089] S302: The first OTN device determines whether a path for transmitting the service has been established in the OTN according to the first message. In the embodiment of the present application, the path for transmitting the service in the OTN may also be referred to as a pipe for transmitting the service, or a channel for transmitting the service.

[0090] The first message includes some requirements (such as first address information, etc.) that the path used to transmit the service in the OTN needs to meet, and the first OTN device can determine whether there is a path in the OTN that meets the requirements of the first message. Specifically, if there is a path in the OTN that can meet the requirements of the first message, the first OTN device determines that a path for transmitting the service has been established in the OTN, and if there is no path in the OTN that can meet the requirements of the first message, the first OTN device determines that no path for transmitting the service has been established in the OTN.

[0091] For example, the first OTN device can obtain the second address information according to the first address information, and the second address information is the address information in the OTN. This process can be understood as the first OTN device mapping the first address information to the address information in the OTN. The first OTN device can determine whether a path for transmitting the service has been established in the OTN according to the second address information.

[0092] For example, the second address information includes the source device (or source node) identifier, the destination device (or destination node) identifier, and the time slot number of the first path in the OTN. The source device identifier is, for example, the identity number (ID) of the source device, and the destination device identifier is, for example, the ID of the destination device. The source device of the first path in the OTN is, for example, the ingress OTN device where the first path enters the OTN, and the destination device of the first path in the OTN is, for example, the egress OTN device where the first path leaves the OTN. The time slot number includes, for example, the ingress time slot number (or ingress time slot channel number) corresponding to the source device, and the egress time slot number (or egress time slot channel number) corresponding to the destination device. The ingress time slot number and the egress time slot number can be used as the number of the first path. It can be understood that the second address information indicates the source device, destination device, and number of the first path in the OTN, so whether the first path exists in the OTN network can be determined based on the second address information. If the first path already exists, it is considered that a path capable of transmitting the service has been established. If the first path does not exist, it is considered that a path capable of transmitting the service has not been established. Among them, the first path is a path that can satisfy the first address information and also a path that can satisfy the second address information. The first path satisfies the first address information (or, the second address information), and can also be called the first path corresponding to the first address information (or, the second address information), etc. It can be understood that the path determined according to the first address information (or, the second address information) is the first path, or the first path is determined according to the first address information (or, the second address information). In other words, a path can be determined in the OTN according to the first address information (or, the second address information), and the path is the first path.

[0093] S303: The first OTN device establishes a path for transmitting the service according to the determination result, or adjusts the bandwidth of the established first path.

[0094] If the first path does not exist, the first OTN device can create a new path in the OTN to transmit the service; if the first path already exists, the first OTN device can adjust the bandwidth of the first path according to the situation. How the first OTN device creates a new path and how to adjust the bandwidth of the first path will be introduced in the next embodiment, so it will not be described here in detail.

[0095] In the embodiment of the present application, since the first OTN device can perform corresponding processing according to whether the first path is established in the OTN when the terminal device initiates the service, for example, a new path can be created or the bandwidth of an existing path can be adjusted according to the determination result, which indicates that a path in the OTN can be established for the service when the terminal device initiates the service, or even if the path in the OTN is maintained for the corresponding service, it is not necessary to maintain it according to a large bandwidth, but only a small bandwidth is needed to maintain the path, thereby reducing the waste of resources, improving the utilization of resources, and reducing the cost of network construction. Moreover, since the embodiment of the present application can establish a path in the OTN for the service when the service is initiated, or can adjust the bandwidth of the established path, the bandwidth can be configured for the corresponding path according to the actual needs of the service, without having to configure the bandwidth according to the peak demand of the user, which can further reduce the waste of resources.

[0096] Please refer to Figure 6 , which is another service configuration method provided in an embodiment of the present application. Figure 6 The method shown can be regarded as Figure 3 A refinement of the method shown, or, Figure 6 The method shown can be considered as Figure 3 An embodiment of the method is shown.

[0097] S601: A path computation element communication protocol (PCEP) session is established between an OLT device and a first OTN device. For example, the PCEP session is a session based on a user network interface (UNI). For example, S601 may be implemented as a PCEP session being established between a UNI-PCE in the first OTN device and an NNI-PCC in the OLT device.

[0098] Since the technical solution provided in the embodiment of the present application involves the process of determining the path of the service in the OTN, or involves the process of path calculation, it involves two functional units, path computation clients (PCC) and path computation elements (PCE), wherein the PCC can be regarded as a client and the PCE can be regarded as a server of the client. For example, a PCC (for example, called UNI-PCC) is provided in the OLT device, and a corresponding PCE (for example, called UNI-PCE) is provided in the first OTN device, so the OLT device can be regarded as a client and the OTN device can be regarded as a server. The information interaction between the OLT device and the first OTN device described in the embodiment of the present application can be realized through the UNI-PCC in the OLT device and the UNI-PCE in the first OTN device.

[0099] S602: The first OTN device establishes a PCEP session with the CCU, for example, the PCEP session is a session based on a network node interface (NNI). For example, S602 may be implemented as the NNI-PCC in the first OTN device establishing a PCEP session with the NNI-PCE in the CCU.

[0100] For example, a PCC (e.g., called NNI-PCC) is provided in the first OTN device, and a PCE (e.g., called NNI-PCE) is provided in the CCU, so the first OTN device can be regarded as a client, and the CCU can be regarded as a server. The information interaction between the CCU and the first OTN device described in the embodiment of the present application can be implemented through the NNI-PCE in the CCU and the NNI-PCC in the first OTN device.

[0101] When deploying OTN, a PCEP session can be established between the OLT device and the first OTN device, and between the first OTN device and the CCU. S601 may occur before S602, or S601 may occur after S602, or S601 and S602 may occur simultaneously.

[0102] S603, the terminal device sends a first signaling to the ONT, and correspondingly, the ONT receives the first signaling from the VR device. The first signaling is used to request a service, or the first signaling is used to request configuration of the service. For example, if the first signaling is used to request connection to an application server of the service, it is considered that the first signaling is used to request configuration of the service.

[0103] In the embodiment of the present application, the service is, for example, a video service, an audio service, or other data service, and there is no restriction on the type of the service, etc. For example, when the terminal device needs to request the service (for example, the terminal device is online, or the user calls an application installed on the terminal device, and the application corresponds to the service), the terminal device can send a first signaling to the ONT.

[0104] S604: The ONT sends the first signaling to the OLT device. Correspondingly, the OLT device receives the first signaling from the ONT.

[0105] S605: The OLT device identifies the service.

[0106] The OLT device can identify the service requested by the first signaling to determine how the service should be transmitted. For example, if it is determined that the service is a high-quality service, or the service is a service with high transmission quality requirements, the service can be transmitted through OTN, and the OLT device can send the first signaling to the application server of the service through OTN; if it is determined that the service is other than the high-quality service, it may not be transmitted through OTN, but through other devices, and the OLT device may send the signaling through other paths.

[0107] For example, high-quality services include video services, such as VR services, etc., and high-quality services may also include other services. As for which services belong to high-quality services, they can be pre-configured in the OLT device.

[0108] S606, the OLT device sends a first message to the first OTN device, and correspondingly, the first OTN device receives the first message from the OLT device. For example, S606 can be implemented as the UNI-PCC in the OLT device sending the first message to the UNI-PCE of the first OTN device. For example, if the service in the embodiment of the present application is a high-quality service, the OLT device sends the first message to the first OTN device.

[0109] For example, the first message may include the first address information. The source IP address of the service included in the first address information is, for example, the IP address of the terminal device requesting the service, that is, the IP address of the terminal device described in S603. The IP address of the terminal device can be obtained from the first signaling. The destination IP address of the service is, for example, the IP address of the application server providing the service. For example, if the service is a VR service, the destination IP address of the VR service can be the IP address of the VR rendering cloud providing the VR service. The destination IP address of the service can also be obtained from the first signaling. The egress address of the service on the first OTN device is, for example, the address of the interface on the first OTN device used to send the service. The next hop address of the service after passing through the OTN is, for example, the IP address of the next hop device after the service passes through the OTN. For example, if the service reaches the gateway after passing through the OTN, the IP address of the next hop device after the service passes through the OTN is the IP address of the gateway. The egress address of the service on the first OTN device and the next hop address of the service after passing through the OTN can also be obtained from the first signaling, or can also be determined by the OLT device. In addition, the bandwidth requirement information and / or delay requirement information included in the first message may also be obtained from the first signaling.

[0110] For more information about S606, please refer to Figure 3 Introduction of S301 in the illustrated embodiment.

[0111] S607: The first OTN device determines whether a path for transmitting the service has been established in the OTN according to the first message. In the embodiment of the present application, the path for transmitting the service in the OTN may also be referred to as a pipe for transmitting the service, or a channel for transmitting the service.

[0112] For more information about S607, please refer to Figure 3 S302 in the embodiment shown is introduced. The first OTN device obtains the second address information according to the first address information, which can be implemented as, for example, the UNI-PCE in the first OTN device parses the first address information, maps the first address information to the second address information, and sends the second address information to the NNI-PCC in the first OTN device.

[0113] according to Figure 3 From the introduction of S303 in the illustrated embodiment, it can be seen that if the first path does not exist, the first OTN device can create a new path in the OTN to transmit the service; if the first path already exists, the first OTN device can adjust the bandwidth of the first path. The following introduces these two processes separately, where S608 to S613 introduce the process of the first OTN device creating a new path, and S613 to S618 introduce the process of the first OTN device adjusting the bandwidth of the first path. These two processes will not occur at the same time, but one of them will occur depending on whether the first path exists.

[0114] S608, the first OTN device sends a second message to the CCU, and accordingly, the CCU receives the second message from the first OTN device. Since a PCEP session has been established between the first OTN device and the CCU, for example, the second message is a PCEP message, such as a PCEP request message, or may be other messages. In S609, the second message may be used to request the establishment of a second path, or the second message may be used to determine whether the second path can be established, or the second message may be used to determine whether the second path is available. For example, S608 may be implemented as the NNI-PCC in the first OTN device sending the second message to the NNI-PCE in the CCU.

[0115] This is to apply the technical solution of the embodiment of the present application to Figure 1A As an example, if the technical solution of the embodiment of the present application is applied to Figure 2 In the scenario shown in FIG. 1 , S608 can be replaced by: the access network controller sends a second message to the transport network controller, and accordingly, the transport network controller receives the second message from the access network controller. Accordingly, the processes performed by the first OTN device in the subsequent steps can be performed by the access network controller, and the processes performed by the CCU in the subsequent steps can be performed by the transport network controller.

[0116] The second message may include second address information, and the second address information is the address information that needs to be satisfied by the second path requested to be established by the second message. The second path satisfies the second address information, which can also be referred to as the second path corresponding to the second address information, etc. It can be understood that the path determined according to the second address information is the second path, or the second path is determined according to the second address information. In other words, a path can be determined in the OTN according to the second address information, and the path is the second path. Optionally, the second message may also include bandwidth requirement information and / or latency requirement information, etc., which are all obtained from the first message, and this information is also the information that needs to be satisfied by the second path requested to be established by the second message. If the second message is a PCEP request message, a format of the second message can refer to the format of the first message introduced above.

[0117] This means that the first OTN device can determine the first path according to the first message. If the first path has not been established in the OTN, the first OTN device can create a new path for transmitting the service. For example, the newly created path is called the second path. However, the first OTN device cannot determine whether the OTN can support the second path, for example, it cannot determine whether the OTN can support the bandwidth and other parameters of the second path. Therefore, the first OTN device needs to send a second message to the CCU to inquire whether the second path can be established.

[0118] S609: The CCU sends a sixth message to the first OTN device, and correspondingly, the first OTN device receives the sixth message from the CCU. For example, S609 may be implemented as the NNI-PCE in the CCU sending the sixth message to the NNI-PCC in the first OTN device.

[0119] If the second message is used to request the establishment of the second path, or the second message is used to determine whether the second path can be established, then the sixth message can be used to indicate that the second path can be established, or that the second path cannot be established; or, if the second message is used to determine whether the second path is available, then the sixth message can be used to indicate that the second path is available or unavailable. If the sixth message indicates that the second path cannot be established, or indicates that the second path is unavailable, then optionally, the sixth message can also indicate the reason why the second path cannot be established or the second path is unavailable, for example, the reason is that the OTN does not support the bandwidth required by the second path, or the OTN does not support the delay required by the second path, etc.

[0120] If the sixth message indicates that the second path can be established, or indicates that the second path is available, S610 is executed; if the sixth message indicates that the second path cannot be established, or indicates that the second path is unavailable, S611 is executed.

[0121] S610: The first OTN device creates a second path.

[0122] If the sixth message indicates that the second path can be established, or indicates that the second path is available, the first OTN device may create a new second path in the OTN.

[0123] If the technical solution provided in the embodiment of the present application is applied to Figure 2 In the scenario shown, after executing S610 (S610 needs to be replaced by: the transport network controller sends the sixth message to the access network controller, and correspondingly, the access network controller receives the sixth message from the transport network controller), the transport network controller may send the first indication information to the first OTN device, and the first indication information may indicate the creation of a new second path. For example, the first indication information may include the second address information, and may also include other information in the first message, such as bandwidth requirement information and / or delay requirement information. After receiving the first indication information, the first OTN device may execute S610.

[0124] S611. The first OTN device sends a fifth message to the OLT device, and accordingly, the OLT device receives the fifth message from the first OTN device. For example, the fifth message may also be a PCEP message, and for example, if the first message is a PCEP request message, then the fifth message may be regarded as a PCEP reply message of the PCEP request message. For example, S611 may be implemented as the UNI-PCE in the first OTN device sending the fifth message to the UNI-PCC in the OLT device.

[0125] If the sixth message indicates that the second path can be established, or indicates that the second path is available, the fifth message indicates that the second path is available; if the sixth message indicates that the second path cannot be established, or indicates that the second path is unavailable, the fifth message indicates that the second path is unavailable. If S610 is to be executed, S611 may occur after S610, or may also occur before S610, or may also occur simultaneously with S610.

[0126] The fifth message may include the third field, for example, and the introduction of the third field may refer to the above text. Taking the fifth message as a PECP reply message and the fifth message including the third field as an example, an example of the PECP reply message is as follows:

[0127] <PCRep Message> ::=<Message Common Header>

[0128] <erp>: Instructs to establish / delete a connection

[0129] : Sequence number when sending back the request

[0130] [ <no-path>]: Used when processing fails

[0131] The ERP field may be used as the third field, and the format of the ERP object may refer to the above description. The NO-PATH field may be used to indicate that the second path is unavailable.

[0132] If the fifth message indicates that the second path is unavailable, the OLT device may also forward the fifth message to the terminal device through the ONT. After receiving the fifth message, the terminal device may learn that the service cannot be performed through the OTN, and the terminal device may take corresponding measures, such as suspending the execution of the service, or changing the path, etc.; or, if the fifth message indicates that the second path can be established, or indicates that the second path is available, the OLT device may also forward the fifth message to the terminal device through the ONT. After the terminal device receives the fifth message, it can perform the service normally; or, if the fifth message indicates that the second path can be established, or indicates that the second path is available, then the subsequent application server will send the data of the service (such as the first data) to the terminal device. Therefore, the OLT device does not need to forward the fifth message to the terminal device. The terminal device receives the data of the service from the application server, and it can also be clear that the second path is available.

[0133] Alternatively, if the technical solution provided in the embodiment of the present application is applied to Figure 2 In the scenario shown, if the sixth message indicates that the second path cannot be established, or indicates that the second path is unavailable, the transport network controller can send the sixth message to all or part of the OTN devices in the OTN except the first OTN device in addition to the first OTN device. In addition, after the OLT device receives the fifth message, it can forward the fifth message to the terminal device through the ONT. After the terminal device receives the fifth message, it can be learned that the service cannot be performed through the OTN, and the terminal device can take corresponding measures, such as suspending the execution of the service, or changing the path, etc.; or, if the fifth message indicates that the second path can be established, or indicates that the second path is available, the OLT device can forward the fifth message to the terminal device through the ONT, and the terminal device can perform the service normally after receiving the fifth message; or, if the fifth message indicates that the second path can be established, or indicates that the second path is available, then the subsequent application server will send the data of the service (such as the first data) to the terminal device, so the OLT device does not need to send the fifth message to the terminal device. The terminal device receives the data of the service from the application server, and it can also be clear that the second path is available.

[0134] S612: The OLT device forwards the first signaling through a second path. Figure 1A In the scenario shown, the OLT device sends the first signaling to the first OTN device, the first OTN device sends the first signaling to the gateway through the second path, and the gateway then forwards the first signaling to the application server that provides the service. S612 also takes this as an example.

[0135] S613: The application server sends the first data to the terminal device via the second path, and correspondingly, the terminal device receives the first data from the application server via the second path. Figure 1A In the scenario shown, the process of S613 is: the application server sends the first data to the gateway, and the gateway receives the first data from the application server; the gateway sends the first data to the first OTN device through the second path, and the first OTN device receives the first data from the gateway through the second path; the first OTN device sends the first data to the OLT device, and the OLT device receives the first data from the first OTN device; the OLT device sends the first data to the ONT, and the ONT receives the first data from the OLT device; the ONT sends the first data to the terminal device, and the terminal device receives the first data from the ONT.

[0136] The first data is data of the service, that is, the application server receives the first signaling from the terminal device, and the first signaling is used to request the service. Then the application server can provide the data of the service to the terminal device, so that the terminal device can execute the service.

[0137] S614: The first OTN device determines whether the parameters of the first path meet the parameter requirements of the service.

[0138] S614 and onwards, the situation where the first path already exists is introduced. Since the first message may include other information (or parameters) that the path for transmitting the service needs to meet in addition to the first address information, such as bandwidth requirement information (or bandwidth requirement parameters) and / or delay requirement information (or delay requirement parameters), etc., the first OTN device also needs to determine whether the established first path can meet the various parameter requirements of the first message. For example, if the first message also includes bandwidth requirement information, the first OTN device can determine whether the bandwidth of the first path can meet the bandwidth requirement information; for another example, if the first message also includes delay requirement information, the first OTN device can determine whether the delay indicator of the first path can meet the delay requirement information.

[0139] If the parameters of the first path do not meet the parameter requirements of the service (or, do not meet the parameter requirements included in the first message), S615 to S617 can be executed; if the parameters of the first path can meet the parameter requirements of the service (or, can meet the parameter requirements included in the first message), S615 to S617 do not need to be executed, but S618 can be executed, so S615 to S617 are optional steps. For example, as long as there is one parameter of the first path that does not meet the parameter requirements of the service, S615 to S617 can be executed, and if all parameters of the first path can meet the parameter requirements of the service, S615 to S617 do not need to be executed.

[0140] S615. The first OTN device sends a second message to the CCU, and accordingly, the CCU receives the second message from the first OTN device. Since a PCEP session has been established between the first OTN device and the CCU, for example, the second message is a PCEP message, such as a PCEP request message, or may be other messages. In S615, the second message may be used to request adjustment of parameters of the first path. For example, S615 may be implemented as the NNI-PCC in the first OTN device sending the second message to the NNI-PCE in the CCU.

[0141] This is to apply the technical solution of the embodiment of the present application to Figure 1A As an example, if the technical solution of the embodiment of the present application is applied to Figure 2 In the scenario shown in FIG. 1 , S615 can be replaced by: the access network controller sends a second message to the transport network controller, and accordingly, the transport network controller receives the second message from the access network controller. Accordingly, the processes performed by the first OTN device in the subsequent steps can be performed by the access network controller, and the processes performed by the CCU in the subsequent steps can be performed by the transport network controller.

[0142] The second message may include second address information, which is the address information that needs to be satisfied by the first path that the second message requests to adjust. It can be understood that the second message indicates that the first path is to be adjusted through the second address information. In addition, the second message may also include information to be adjusted. For example, if the first OTN device determines in S614 that the bandwidth of the first path cannot meet the bandwidth indicated by the bandwidth requirement information, then the second message may include bandwidth requirement information; for another example, if the first OTN device determines in S614 that the delay of the first path cannot meet the delay indicated by the delay requirement information, then the second message may include delay requirement information, and so on.

[0143] If the second message is a PCEP request message, a format of the second message may refer to the format of the first message introduced above.

[0144] This is equivalent to the first OTN device determining that the existing first path does not meet the current needs of the service, and the first OTN device can also determine what the current needs of the service are, but the first OTN device cannot determine whether the parameters of the first path can be adjusted according to the current needs of the service, or in other words, the first OTN device cannot determine whether OTN can support adjustment of the parameters of the first path according to the current needs of the service, for example, it cannot be determined whether OTN can support the adjusted parameters, so the first OTN device needs to send a second message to the CCU to inquire whether the parameters of the first path can be adjusted.

[0145] S616. The CCU sends a sixth message to the first OTN device, and accordingly, the first OTN device receives the sixth message from the CCU. The sixth message may be used to indicate that the parameters of the first path can be adjusted, or to indicate that the parameters of the first path cannot be adjusted. For example, S616 may be implemented as the NNI-PCE in the CCU sending the sixth message to the NNI-PCC in the first OTN device.

[0146] If the sixth message indicates that the parameters of the first path can be adjusted, S617 is executed; if the sixth message indicates that the parameters of the first path cannot be adjusted, S618 is executed.

[0147] S617: The first OTN device adjusts parameters of the first path, wherein the first path after the parameters are adjusted can meet the requirements of the first message.

[0148] If the sixth message indicates that the parameters of the first path can be adjusted, the first OTN device can adjust the parameters of the first path according to the parameter requirements of the first message, so that the first path after the parameters are adjusted can meet the current demand of the service.

[0149] If the technical solution provided in the embodiment of the present application is applied to Figure 2 In the scenario shown, after executing S616 (S616 needs to be replaced by: the transport network controller sends the sixth message to the access network controller, and correspondingly, the access network controller receives the sixth message from the transport network controller), the transport network controller may send second indication information to the first OTN device, and the second indication information may indicate adjusting the parameters of the first path, for example, the second indication information may include the second address information, and may also include other information in the first message, such as bandwidth requirement information and / or delay requirement information. After receiving the first indication information, the first OTN device may execute S617.

[0150] S618. The first OTN device sends a fifth message to the OLT device, and accordingly, the OLT device receives the fifth message from the first OTN device. For example, the fifth message may also be a PCEP message, and for example, if the first message is a PCEP request message, then the fifth message may be regarded as a PCEP reply message of the PCEP request message. For example, S618 may be implemented as the UNI-PCE in the first OTN device sending the fifth message to the UNI-PCC in the OLT device.

[0151] If the parameters of the established first path do not need to be adjusted, or the sixth message indicates that the parameters of the first path can be adjusted, the fifth message indicates that the first path is available; if the sixth message indicates that the parameters of the first path cannot be adjusted, the fifth message indicates that the first path is unavailable. If S617 is to be executed, S618 may occur after S617, or may also occur before S617, or may also occur simultaneously with S617.

[0152] If the fifth message indicates that the first path is unavailable, the OLT device may forward the fifth message to the terminal device through the ONT. After receiving the fifth message, the terminal device may learn that the service cannot be performed through the OTN, and the terminal device may take corresponding measures, such as suspending the execution of the service, or changing the path, etc.; or, if the fifth message indicates that the first path is available, the OLT device may forward the fifth message to the terminal device through the ONT. After receiving the fifth message, the terminal device may perform the service normally; or, if the fifth message indicates that the first path is available, the subsequent application server will send the data of the service (such as the first data) to the terminal device. Therefore, the OLT device does not need to forward the fifth message to the terminal device. The terminal device receives the data of the service from the application server, and it can be clear that the second path is available.

[0153] Alternatively, if the technical solution provided in the embodiment of the present application is applied to Figure 2 In the scenario shown, if the sixth message indicates that the parameters of the first path cannot be adjusted, the transport network controller can send the sixth message to all or part of the OTN devices in the OTN except the first OTN device in addition to sending the sixth message to the first OTN device. In addition, after the OLT device receives the fifth message, it can forward the fifth message to the terminal device through the ONT. After the terminal device receives the fifth message, it can be learned that the service cannot be performed through the OTN, and the terminal device can take corresponding measures, such as suspending the execution of the service, or changing the path, etc.; or, if the fifth message indicates that the first path is available, the OLT device can forward the fifth message to the terminal device through the ONT, and the terminal device can perform the service normally after receiving the fifth message; or, if the fifth message indicates that the first path is available, the subsequent application server will send the data of the service (such as the first data) to the terminal device, so the OLT device does not need to send the fifth message to the terminal device. The terminal device receives the data of the service from the application server, and it can be clear that the first path is available.

[0154] After executing S618, if the fifth message indicates that the first path is available, S612 and S613 may be executed, and it is only necessary to replace the "second path" in S612 and S613 with the "first path", which will not be described in detail.

[0155] Optionally, in the embodiment of the present application, if the terminal device temporarily no longer uses the path established for the service, the first OTN device may also delete the path, or may also adjust the bandwidth of the path, for example, by reducing the bandwidth of the path, and only needs to maintain the path without reserving too much bandwidth for the path, so as to save resources. The following further introduces the corresponding process through some steps.

[0156] S619, the OLT device sends a third message to the first OTN device, and correspondingly, the first OTN device receives the third message from the OLT device. The third message may request to delete the path of the service in the OTN, or may request to adjust the bandwidth of the path of the service in the OTN. The path of the service in the OTN mentioned here is, for example, the newly created second path in S610, or the first path after adjusting the parameters in S617, or the established first path without adjusting the parameters. For the convenience of calling, the path indicated by the third message is referred to as the third path below. Figure 6 In the example, the third message is used to request to delete the third path. For example, S619 can be implemented as the UNI-PCC in the OLT device sends the third message to the UNI-PCE in the first OTN device.

[0157] For example, before the terminal device goes offline, or before it stops using the service, it can send a notification message to the OLT device through the ONT. The notification message can request to delete the path of the service in the OTN, or can request to adjust the bandwidth of the path of the service in the OTN. After receiving the notification message, the OLT device can send a third message to the first OTN device. For example, if the third message is used to request to adjust the bandwidth of the path of the service in the OTN, then the third message and the first message can be messages of the same type, for example, the information included in the third message and the first message may be the same or similar. In an embodiment of the present application, the terminal device can actively request to delete the path or adjust the bandwidth of the path. Since the service is used by the terminal device, the terminal device actively requests to delete the path or adjust the bandwidth of the path, which can make the operation of deleting the path or adjusting the bandwidth of the path more in line with the execution of the service, reduce the impact on the service, and save resources.

[0158] Alternatively, the terminal device may not actively request, but the OLT device may sense the behavior of the terminal device. For example, the OLT device may sense whether the terminal device is offline, or sense whether the terminal device is executing a service. If it senses that the terminal device is offline, or senses that the terminal device has not executed the service for a period of time, the OLT device may send a third message to the first OTN. The OLT device senses whether the terminal device is offline. One way is that the heartbeat data can be maintained between the ONT and the terminal device. If the ONT does not receive the heartbeat data from the terminal device within the first period of time, the OLT device can be notified, so that the OLT device believes that the terminal device is offline. The OLT device senses that the terminal device has not executed the service for a period of time. One way is that the OLT device does not receive the data corresponding to the service from the terminal device or from the application server within the second period of time, and the OLT device believes that the terminal device is no longer executing the service. This method does not require the terminal device to actively request, reduces the burden on the terminal device, and simplifies the implementation of the terminal device.

[0159] S620. The first OTN device sends a fourth message to the CCU, and accordingly, the CCU receives the fourth message from the first OTN device. If the third message requests to delete the third path, the fourth message may be used to request to delete the third path; or, if the third message requests to adjust the bandwidth of the third path, the fourth message may be used to request to adjust the bandwidth of the third path, or the fourth message may be used to inquire whether the bandwidth of the third path can be adjusted. For example, if the fourth message is used to request to adjust the bandwidth of the path of the service in the OTN, the fourth message and the second message may be messages of the same type, for example, the information included in the fourth message and the second message may be the same or similar. Figure 6 In the example, the fourth message is used to request the deletion of the third path. The first OTN device may forward the third message to the CCU, and the third message and the fourth message are the same message; or the first OTN device may not forward the third message, but generate the fourth message according to the third message, and the third message and the fourth message are different messages. For example, S620 may be implemented as the NNI-PCC in the first OTN device sending the fourth message to the NNI-PCE in the CCU.

[0160] Equivalently, the first OTN device may notify the CCU that the third path is to be deleted; or, the first OTN device cannot determine whether the bandwidth of the third path can be adjusted, so the first OTN device needs to inquire the CCU.

[0161] For example, the second message includes the second address information, so that the CCU can determine the third path according to the second address information. If the fourth message is used to request adjustment of the bandwidth of the third path, or the fourth message can be used to inquire whether the bandwidth of the third path can be adjusted, then the fourth message may also include bandwidth adjustment information, which may indicate the bandwidth adjustment amount, or indicate the adjusted bandwidth. The bandwidth adjustment information may be obtained from the third message, or the third message may not include the bandwidth adjustment information, but the bandwidth adjustment information is determined by the first OTN device. For example, the adjusted bandwidth may be smaller than the bandwidth before adjustment, that is, the terminal device may not use the path temporarily, but may use the path again after a while, so there is no need to delete the path, but the bandwidth of the path can be reduced, which can maintain the path and reduce resource waste.

[0162] S621: The first OTN device deletes the third path, or adjusts the bandwidth of the third path. Figure 6 In the example, the first OTN device deletes the third path.

[0163] If the fourth message is used to request to delete the third path, and the CCU believes that the third path can be deleted, the CCU does not need to reply to the first OTN device, which is equivalent to the first OTN device notifying the CCU device that the third path will be deleted, and the first OTN device can delete the third path. In this case, S620 can be executed before S621, or S620 can be executed after S621, or S620 and S621 can be executed at the same time.

[0164] If the fourth message is used to request adjustment of the bandwidth of the third path, or the fourth message is used to inquire whether the bandwidth of the third path can be adjusted, then after executing S620, or after the CCU receives the fourth message from the first OTN device, the seventh message can also be sent to the first OTN device, and accordingly, the first OTN device receives the seventh message from the CCU. Then the seventh message can indicate that the bandwidth of the third path can be adjusted, or that the bandwidth of the third path cannot be adjusted. Among them, if the seventh message indicates that the bandwidth of the third path can be adjusted, the first OTN device can adjust the bandwidth of the third path, that is, execute S621, for example, the first OTN device can adjust the bandwidth of the third path according to the bandwidth adjustment information; if the seventh message indicates that the bandwidth of the third path cannot be adjusted, the first OTN device may not adjust the bandwidth of the third path.

[0165] Optionally, the first OTN device may also send an eighth message to the OLT device, and correspondingly, the OLT device receives the eighth message from the first OTN device.

[0166] If the third message requests deletion of the third path, the eighth message may be used to indicate that the third path has been deleted; or, if the third message requests adjustment of the bandwidth of the third path, the eighth message may be used to indicate that the bandwidth of the third path can be adjusted, or that the bandwidth of the third path cannot be adjusted.

[0167] After receiving the eighth message, the OLT device may forward the eighth message to the terminal device through the ONT, so that the terminal device can clearly know whether the third path can be deleted or whether the bandwidth of the third path can be adjusted.

[0168] In an embodiment of the present application, a path in the OTN can be established for the service when the terminal device requests the service, that is, it is not necessary to always maintain the path of the service in the OTN, thereby reducing the waste of resources, improving the utilization of resources, and reducing the cost of network construction. Alternatively, the bandwidth of the established path can be adjusted when the terminal device initiates the service, so even if the path of the service in the OTN is maintained, it can be maintained at a smaller bandwidth, and the bandwidth can be adjusted when the path is needed, which can also reduce the waste of resources. Moreover, since the embodiment of the present application can establish a path in the OTN for the service when the service is initiated, or can adjust the bandwidth of the established path, the bandwidth can be configured for the corresponding path according to the actual needs of the service, without having to configure the bandwidth according to the peak demand of the user, which can further reduce the waste of resources.

[0169] Moreover, in the embodiment of the present application, when a certain service is not required to be executed, the path of the service in the OTN can be deleted. For example, if the terminal device does not execute a certain service for a long time, the path of the service in the OTN can be deleted to reduce resource waste. Alternatively, when a certain service is not required to be executed, for example, the terminal device may not execute a certain service in the short term, but may execute the service again after a period of time, the bandwidth of the path of the service in the OTN can be adjusted to reduce resource waste, and the path of the service in the OTN can also be maintained, reducing the resource consumption caused by establishing the path.

[0170] Figure 7 A schematic diagram of the structure of a communication device provided in an embodiment of the present application is given. The communication device 700 may be Figure 3 The embodiment shown or Figure 6 The first OTN device or access network controller described in the embodiment shown is used to implement the method performed by the first OTN device or access network controller in the above method embodiment. Alternatively, the communication device 700 may be Figure 3 The embodiment shown or Figure 6 The OLT device described in the embodiment shown is used to implement the method corresponding to the OLT device in the above method embodiment. For specific functions, please refer to the description in the above method embodiment.

[0171] The communication device 700 includes one or more processors 701. The processor 701 may also be referred to as a processing unit, which may implement certain control functions. The processor 701 may be a general-purpose processor or a dedicated processor, etc. For example, it may include: a baseband processor, a central processing unit, an application processor, a modem processor, a graphics processor, an image signal processor, a digital signal processor, a video codec processor, a controller, and / or a neural network processor, etc. The baseband processor may be used to process communication protocols and communication data. The central processing unit may be used to control the communication device 700, execute software programs and / or process data. Different processors may be independent devices, or they may be arranged in one or more processing circuits, for example, integrated on one or more dedicated integrated circuits.

[0172] Optionally, the communication device 700 includes one or more memories 702 for storing instructions 704, and the instructions can be executed on the processor so that the communication device 700 performs the method described in the above method embodiment. Optionally, data can also be stored in the memory 702. The processor and the memory can be set separately or integrated together.

[0173] Optionally, the communication device 700 may include instructions 703 (sometimes also referred to as codes or programs), and the instructions 703 may be executed on the processor so that the communication device 700 executes the method described in the above embodiment. The processor 701 may store data.

[0174] Optionally, the communication device 700 may further include a transceiver 705 and an antenna 706. The transceiver 705 may be referred to as a transceiver unit, a transceiver, a transceiver circuit, a transceiver, an input / output interface, etc., and is used to implement the transceiver function of the communication device 700 through the antenna 706.

[0175] Optionally, the communication device 700 may also include one or more of the following components: a wireless communication module, an external memory interface, an internal memory, a universal serial bus (USB) interface, a power management module, an antenna, an input / output module, a sensor module, or a motor, etc. It is understood that in some embodiments, the communication device 700 may include more or fewer components, or some components may be integrated, or some components may be separated. These components may be implemented in hardware, software, or a combination of software and hardware.

[0176] The processor 701 and the transceiver 705 described in the embodiment of the present application may be implemented in an integrated circuit (IC), an analog IC, a radio frequency integrated circuit (RFID), a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), or an electronic device, etc. The communication device described herein may be an independent device (e.g., an independent integrated circuit, etc.), or may be a part of a larger device (e.g., a module that can be embedded in other devices). For details, please refer to the above description of the first OTN device or the access network controller, or the OLT device, which will not be repeated here.

[0177] Figure 8 The schematic block diagram of the communication device 800 provided in the embodiment of the present application is shown in FIG. Figure 3 or Figure 6 The functions of the first OTN device or access network controller described in the illustrated embodiment.

[0178] The communication device 800 includes a processing unit 810. Optionally, it may further include a transceiver unit 820. Exemplarily, the communication device 800 may be a device, such as a first OTN device or an access network controller; or, the communication device 800 may also be a functional module, such as a chip applied to the first OTN device or other combined devices and components having the functions of the first OTN device, or a chip applied to the access network controller or other combined devices and components having the functions of the access network controller. When the communication device 800 is a device, the transceiver unit 820 may be a transceiver, which may include an antenna and a radio frequency circuit, etc., and the processing unit 810 may be a processor (or a processing circuit), such as a baseband processor, which may include one or more central processing units (CPUs). When the communication device 800 is a functional module, the transceiver unit 820 may be a radio frequency unit, and the processing unit 810 may be a processor (or a processing circuit), such as a baseband processor. When the communication device 800 is a chip system, the transceiver unit 820 may be an input / output interface of the chip (e.g., a baseband chip), and the processing unit 810 may be a processor (or a processing circuit) of the chip system, which may include one or more central processing units. It should be understood that the processing unit 810 in the embodiment of the present application may be implemented by a processor or a processor-related circuit component (or a processing circuit). For example, the processing unit 810 may be implemented by Figure 7 The one or more processors 701 described in the embodiment shown in the figure are implemented; the transceiver unit 820 can be implemented by a transceiver or a transceiver related circuit component, for example, the transceiver unit 820 can be implemented by Figure 7 The illustrated embodiment is implemented by the transceiver 705 or by the transceiver 705 and the antenna 706 .

[0179] In addition, the transceiver unit 820 may be a functional module that can perform both sending and receiving operations. For example, the transceiver unit 820 may be used to perform Figure 3 or Figure 6 In the embodiment shown, all sending operations and receiving operations performed by the first OTN device or the access network controller, for example, when performing a sending operation, the transceiver unit 820 can be considered as a sending unit, and when performing a receiving operation, the transceiver unit 820 can be considered as a receiving unit; or, the transceiver unit 820 can also be two functional modules, and the transceiver unit 820 can be regarded as a general term for the two functional modules, which are respectively a sending unit and a receiving unit, and the sending unit is used to complete the sending operation, for example, the sending unit can be used to perform Figure 3 or Figure 6 In the embodiment shown, all sending operations are performed by the first OTN device or the access network controller. The receiving unit is used to complete the receiving operation. For example, the receiving unit can be used to perform Figure 3 or Figure 6 In the illustrated embodiment, all receiving operations are performed by the first OTN device or the access network controller.

[0180] The transceiver unit 820 (or receiving unit) is used to receive a first message from the OLT device, the first message including the first address information of the service. The processing unit 810 is used to determine whether a first path has been established in the OTN according to the first message, the first path is used to transmit the service, and the first path satisfies the first address information. The processing unit 810 is also used to establish a path for transmitting the service or adjust the bandwidth of the established first path according to the determination result.

[0181] As an optional implementation, the first address information includes one or more of the following: the source IP address of the service; the destination IP address of the service, the egress address of the service on the first OTN device, and the next hop address of the service after passing through the OTN. The source IP address of the service is the IP address of the terminal device requesting the service, and the destination IP address of the service is the IP address of the application server providing the service.

[0182] As an optional implementation, the processing unit 810 may determine whether the first path has been established in the OTN according to the first message in the following manner: determine the second address information according to the first address information, and determine whether the first path has been established in the OTN according to the second address information. The second address information includes a source device identifier, a destination device identifier, and a time slot number of the first path in the OTN.

[0183] As an optional implementation, the processing unit 810 may establish a path for transmitting the service according to the determination result in the following manner: when the first path has not yet been established in the OTN, a second message is sent to the CCU through the transceiver unit 820 (or, the sending unit), and the second message is used to request the establishment of a second path for transmitting the service.

[0184] As an optional implementation, the second message further includes second address information, the second address information including a source device identifier, a destination device identifier, and a timeslot number of the second path in the OTN, wherein the second address information is obtained based on the first address information.

[0185] As an optional implementation, the processing unit 810 may adjust the bandwidth of the established first path according to the determination result in the following manner: when the first path has been established in the OTN, determine whether the bandwidth of the first path meets the bandwidth requirement of the service. When the bandwidth of the first path does not meet the bandwidth requirement of the service, send a second message to the CCU through the transceiver unit 820 (or the sending unit), and the second message is used to request adjustment of the bandwidth of the first path. The adjusted bandwidth can meet the bandwidth requirement of the service.

[0186] As an optional implementation, the first message is a PCEP message.

[0187] As an optional implementation, the PCEP message is also used to indicate an update path.

[0188] As an optional implementation, the transceiver unit 820 (or the receiving unit) is further configured to receive a third message from the OLT device, the third message being used to request deletion of the path of the service in the OTN. The transceiver unit 820 (or the sending unit) is further configured to send a fourth message to the CCU, the fourth message being used to request deletion of the path of the service in the OTN.

[0189] As an optional implementation, the transceiver unit 820 (or the receiving unit) is further used to receive a third message from the OLT device, wherein the third message is used to request adjustment of the bandwidth of the path of the service in the OTN. The transceiver unit 820 (or the sending unit) is further used to send a fourth message to the CCU, wherein the fourth message is used to request adjustment of the bandwidth of the path of the service in the OTN. The adjusted bandwidth is less than the bandwidth before the adjustment.

[0190] The transceiver unit 820 of the communication device 800 may be used to perform Figure 3 or Figure 6 In the embodiment shown, the processing unit 810 may be used to perform all or part of the receiving and sending operations of the first OTN device or access network controller. Figure 3 or Figure 6 The first OTN device or access network controller in the embodiment shown in the figure performs other operations besides the transceiver operation. Therefore, for more information about the functions that the transceiver unit 820 and the processing unit 810 can implement, please refer to Figure 3 or Figure 6 The embodiment shown.

[0191] Fig. 9 The schematic block diagram of the communication device 900 provided in the embodiment of the present application is shown in FIG. Figure 3 or Figure 6 The functions of the OLT device described in the illustrated embodiment.

[0192] The communication device 900 includes a processing unit 910. Optionally, it may also include a transceiver unit 920. Exemplarily, the communication device 900 may be a device, such as an OLT device; or, the communication device 900 may also be a functional module, such as a chip applied to the OLT device or other combined devices, components, etc. having the above-mentioned OLT device functions. When the communication device 900 is a device, the transceiver unit 920 may be a transceiver, and the transceiver may include an antenna and a radio frequency circuit, etc. The processing unit 910 may be a processor (or a processing circuit), such as a baseband processor, and the baseband processor may include one or more CPUs. When the communication device 900 is a functional module, the transceiver unit 920 may be a radio frequency unit, and the processing unit 910 may be a processor (or a processing circuit), such as a baseband processor. When the communication device 900 is a chip system, the transceiver unit 920 may be an input and output interface of a chip (such as a baseband chip), and the processing unit 910 may be a processor (or a processing circuit) of the chip system, which may include one or more central processing units. It should be understood that the processing unit 910 in the embodiment of the present application can be implemented by a processor or a processor-related circuit component (or a processing circuit). For example, the processing unit 910 can be implemented by Figure 7 The one or more processors 701 described in the embodiment shown in the figure are implemented; the transceiver unit 920 can be implemented by a transceiver or a transceiver-related circuit component, for example, the transceiver unit 920 can be implemented by Figure 7 The illustrated embodiment is implemented by the transceiver 705 or by the transceiver 705 and the antenna 706 .

[0193] In addition, regarding the implementation of the transceiver unit 920 , reference may be made to the introduction to the implementation of the transceiver unit 820 .

[0194] The transceiver unit 920 (or receiving unit) is used to receive a first signaling from a terminal device, the first signaling is used to request configuration of a service. The transceiver unit 920 (or sending unit) is used to send a first message to a first OTN device, the first message is used to determine a path of the service in the OTN, and the first message includes first address information of the service.

[0195] As an optional implementation, the first address information includes one or more of the following: the source IP address of the service, the destination IP address of the service, the egress address of the service on the first OTN device, and the next hop address of the service after passing through the OTN. The source IP address of the service is the IP address of the terminal device requesting the service, and the destination IP address of the service is the IP address of the application server providing the service.

[0196] As an optional implementation, the first message is a PCEP message.

[0197] As an optional implementation, the PCEP message is also used to indicate an update path.

[0198] As an optional implementation manner, the transceiver unit 920 (or the receiving unit) is further configured to receive a fifth message from the first OTN device, where the fifth message is used to indicate whether a path of the service in the OTN is available or unavailable.

[0199] As an optional implementation, the transceiver unit 920 (or, the sending unit) is further used to send a third message to the first OTN device, where the third message is used to request deletion of a path of the service in the OTN, or to request adjustment of the bandwidth of the path of the service in the OTN.

[0200] The transceiver unit 920 of the communication device 900 may be used to perform Figure 3 or Figure 6 In the embodiment shown, the processing unit 810 may be used to perform all or part of the transceiver operations of the OLT device. Figure 3 or Figure 6 The OLT device in the embodiment shown in the figure performs other operations besides the transceiver operation. Therefore, for more information about the functions that the transceiver unit 920 and the processing unit 910 can implement, please refer to Figure 3 or Figure 6 The embodiment shown.

[0201] Those of ordinary skill in the art will appreciate that the units and steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0202] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.

[0203] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned computer-readable storage medium can be any available medium that can be accessed by a computer. By way of example and not limitation, computer-readable media may include random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), universal serial bus flash disk, mobile hard disk, or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer. In addition, by way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), or direct memory bus random access memory (DR RAM).

[0204] The above is only a specific implementation of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the embodiments of the present application, which should be included in the protection scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application should be based on the protection scope of the claims. < / erp> < / delay> < / bandwidth> < / erp>

Claims

1. A method for configuring a service, characterized in that: include: An optical transport network OTN device receives a first message, where the first message includes address information of the service; The OTN device maps the address information to an OTN path, where the OTN path is used to transmit the service; The OTN device establishes the OTN path or transmits the service through the established OTN path.

2. The method according to claim 1, characterized in that The address information includes: The source IP address of the service and / or the destination IP address of the service.

3. The method according to claim 1 or 2, characterized in that: The OTN device maps the address information to an OTN path, including: The OTN device maps the address to an identifier of the OTN path.

4. The method according to any one of claims 1 to 3, characterized in that: In the case that the OTN path has not been established, the method includes: The OTN device sends a second message to the transport network controller, where the second message is used to request the OTN path.

5. The method according to any one of claims 1 to 3, characterized in that: When the OTN path has been established and the bandwidth of the OTN path does not meet the bandwidth requirement of the service, the method further includes: The OTN device adjusts the bandwidth of the OTN path.

6. The method according to any one of claims 1 to 5, characterized in that: The first message is a Path Computation Element Communication Protocol (PCEP) message.

7. An OTN device, characterized in that: include: A receiving unit, configured to receive a first message, wherein the first message includes address information of the service; A processing unit, configured to map the address information to an OTN path, where the OTN path is used to transmit the service; The processing unit is further configured to establish the OTN path or transmit the service through the established OTN path.

8. The method according to claim 7, characterized in that The address information includes: The source IP address of the service and / or the destination IP address of the service.

9. The method according to claim 7 or 8, characterized in that: The processing unit is used for: The address is mapped to an identifier of the OTN path.

10. The method according to any one of claims 7 to 9, characterized in that: The OTN device further includes a sending unit, and when the OTN path has not been established, the sending unit is used to: A second message is sent to the transport network controller, where the second message is used to request the OTN path.

11. The method according to any one of claims 7 to 9, characterized in that: When the OTN path has been established and the bandwidth of the OTN path does not meet the bandwidth requirement of the service, the processing unit is further configured to: The bandwidth of the OTN path is adjusted.

12. The method according to any one of claims 1 to 5, characterized in that: The first message is a Path Computation Element Communication Protocol (PCEP) message.

13. A communication device, characterized in that: The method comprises a transceiver and a processor, wherein the transceiver and the processor are coupled and can execute the method according to any one of claims 1 to 6.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program. When the computer program is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 6.