Slice determination method and apparatus, computer device, and storage medium
By using a method for determining resource and service slices in optical network units, slice information is automatically allocated, solving the problems of flexibility and convenience in ONU-level slicing, optimizing the slice determination process, and improving the user experience and ease of operation of industrial PON networks.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER
- Filing Date
- 2025-10-13
- Publication Date
- 2026-04-23
AI Technical Summary
In the existing technology, the definition and description of ONU granular slicing are insufficient, which leads to the main use of OLT-PON board granularity and OLT-PON port granularity slicing in practical applications. This lacks flexibility and convenience, and makes it difficult to achieve end-to-end slicing adjustment and configuration.
A slice determination method is provided, which automatically allocates slice information based on actual resource and service information by acquiring resource slices and service slices of optical network units, optimizes the slice determination process, and supports terminal switching between different downlink ports and service information changes.
It enables the portability and convenience of terminal slice information, enhances the flexibility and intelligence of industrial PON networks, reduces manual configuration operations, and improves user experience.
Smart Images

Figure CN2025127225_23042026_PF_FP_ABST
Abstract
Description
Methods, apparatus, computer equipment and storage media for determining slices
[0001] Related applications
[0002] This application claims priority to Chinese patent application filed on October 14, 2024, with application number 202411432541.1, entitled "Slice Determination Method, Apparatus, Computer Equipment and Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of optical communication technology, and in particular to a method, apparatus, computer device, and storage medium for determining optical slices. Background Technology
[0004] The current standard defines PON (Passive Optical Network) slicing in three granularities: OLT (Optical Line Terminal)-PON board granularity, OLT-PON port granularity, and ONU (Optical Network Unit) granularity. However, the standard provides more comprehensive definitions and descriptions for OLT-PON board granular slicing and OLT-PON port granular slicing, while the definition and description of ONU granular slicing are very limited. As a result, in practical applications, OLT-PON board granular slicing and OLT-PON port granular slicing are mainly used.
[0005] Therefore, it is essential to study methods for implementing ONU granular slicing, and methods for adjusting / configuring end-to-end slices resulting from ONU downlink port adjustments. Summary of the Invention
[0006] Therefore, it is necessary to provide a slice determination method, apparatus, computer equipment, and storage medium that can realize the end-to-end slice adjustment / configuration method brought about by the adjustment of the ONU downlink port, in order to address the above-mentioned technical problems.
[0007] This application provides a slice determination method in a first aspect. The method includes: when a terminal accesses a first downlink port among the downlink ports of a first optical network unit, obtaining a first resource slice of the first downlink port; determining a first service slice corresponding to the terminal based on service information corresponding to the terminal; and determining slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0008] In one embodiment, the method further includes: if the terminal switches from accessing the first downlink port to accessing the second downlink port among the downlink ports of the first optical network unit, then obtaining the second resource slice corresponding to the second downlink port; and updating the slice information of the terminal according to the second resource slice.
[0009] In one embodiment, the method further includes: if the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, then obtaining the third resource slice corresponding to the third downlink port; and updating the slice information of the terminal according to the third resource slice.
[0010] In one embodiment, the method further includes: verifying whether the service information corresponding to the terminal has changed; if so, determining the second service slice corresponding to the terminal based on the changed service information corresponding to the terminal; and updating the slice information of the terminal based on the second service slice.
[0011] In one embodiment, the method further includes: when the first optical network unit accesses the access network control system, determining the initial resource slice corresponding to each downlink port of the first optical network unit; obtaining resource information corresponding to each downlink port of the first optical network unit based on the initial resource slice corresponding to each downlink port of the first optical network unit; and determining the resource slice corresponding to each downlink port of the first optical network unit based on the resource information corresponding to each downlink port of the first optical network unit.
[0012] In one embodiment, the resource information includes at least one of the following: optical network unit supporting maximum configuration or performance, optical network unit in online or real-time operation, maximum bandwidth supported by passive optical network (PON), and maximum bandwidth supported by optical network unit.
[0013] In one embodiment, the service information includes at least one of the following: an identifier, a destination Internet Protocol address, Point-to-Point Protocol over Ethernet (PPPoE), Internet Protocol version 6 (IPv6), a priority field, a Transmission Control Protocol (TCP) source port, and a User Datagram Protocol (UDP) destination port; wherein the identifier includes a Generic Encapsulation Method Port Identifier (GEMPortID), a Logical Link Identifier (LLID), and a Virtual Local Area Network Identifier (VLANID).
[0014] This application also provides a slice determination apparatus in a second aspect. The apparatus includes: an acquisition module, configured to acquire a first resource slice of the first downlink port when a terminal accesses the first downlink port of a first optical network unit; a first determination module, configured to determine a first service slice corresponding to the terminal based on service information corresponding to the terminal; and a second determination module, configured to determine slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0015] In one embodiment, the acquisition module is further configured to: if the terminal switches from accessing the first downlink port to accessing the second downlink port among the downlink ports of the first optical network unit, then acquire the second resource slice corresponding to the second downlink port; the second determination module is further configured to: update the slice information of the terminal according to the second resource slice.
[0016] In one embodiment, the acquisition module is further configured to: if the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, acquire the third resource slice corresponding to the third downlink port; the second determination module is further configured to: update the slice information of the terminal according to the third resource slice.
[0017] In one embodiment, the first determining module is further configured to: verify whether the service information corresponding to the terminal has changed; if so, determine the second service slice corresponding to the terminal based on the changed service information corresponding to the terminal; the second determining module is further configured to: update the slice information of the terminal based on the second service slice.
[0018] In one embodiment, the acquisition module is further configured to: determine the initial resource slices corresponding to each downlink port of the first optical network unit when the first optical network unit is connected to the access network control system; acquire resource information corresponding to each downlink port of the first optical network unit based on the initial resource slices corresponding to each downlink port of the first optical network unit; and determine the resource slices corresponding to each downlink port of the first optical network unit based on the resource information corresponding to each downlink port of the first optical network unit.
[0019] In one embodiment, the resource information includes at least one of the following: optical network unit supporting maximum configuration or performance, optical network unit in online or real-time operation, maximum bandwidth supported by passive optical network (PON), and maximum bandwidth supported by optical network unit.
[0020] In one embodiment, the service information includes at least one of the following: an identifier, a destination Internet Protocol address, Point-to-Point Protocol over Ethernet (PPPoE), Internet Protocol version 6 (IPv6), a priority field, a Transmission Control Protocol (TCP) source port, and a User Datagram Protocol (UDP) destination port; wherein the identifier includes a Generic Encapsulation Method Port Identifier (GEMPortID), a Logical Link Identifier (LLID), and a Virtual Local Area Network Identifier (VLANID).
[0021] In a third aspect, this application also provides a computer device. The computer device includes a memory and a processor. The memory stores a computer program, and the processor, when executing the computer program, performs the following steps: when a terminal accesses a first downlink port among the downlink ports of a first optical network unit, acquiring a first resource slice of the first downlink port; determining a first service slice corresponding to the terminal based on service information corresponding to the terminal; and determining slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0022] This application also provides a non-volatile computer-readable storage medium in a fourth aspect. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, causes the processor to perform the following steps: when a terminal accesses a first downlink port among the downlink ports of a first optical network unit, acquiring a first resource slice of the first downlink port; determining a first service slice corresponding to the terminal based on service information corresponding to the terminal; and determining slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0023] This application also provides a computer program product in a fifth aspect. The computer program product includes a computer program that, when executed by a processor, causes the processor to perform the following steps: when a terminal accesses a first downlink port among the downlink ports of a first optical network unit, acquiring a first resource slice of the first downlink port; determining a first service slice corresponding to the terminal based on service information corresponding to the terminal; and determining slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0024] The aforementioned slice determination method, apparatus, computer equipment, and storage medium acquire the first resource slice of the first downlink port and the first service slice corresponding to the terminal; then, based on the first resource slice and the first service slice, determine the slice information corresponding to the terminal. As can be seen from the above, this application determines the first resource slice and the first service slice by considering the actual resource situation of the optical network unit and the actual service situation corresponding to the terminal. Furthermore, in the process of determining the slice information corresponding to the terminal based on the first resource slice and the first service slice, it automatically allocates the resource slice and service slice corresponding to the terminal, optimizing the process of determining the first resource slice and the first service slice corresponding to the terminal, ensuring the portability of determining the slice information corresponding to the terminal, improving the business experience of industry customers, enhancing the flexibility and intelligence of the industrial PON network, reducing daily manual operation configuration of the industrial PON network, and meeting the needs of industry users for convenient operation of the industrial PON network. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the accompanying drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are merely some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without any creative effort.
[0026] Figure 1 is an application environment diagram of a slice determination method provided in an embodiment of this application.
[0027] Figure 2 is a schematic flowchart of a slice determination method I provided in an embodiment of this application.
[0028] Figure 3 is a schematic diagram of the structure of a slice determination method I provided in an embodiment of this application.
[0029] Figure 4 is a schematic diagram of the structure of a slice determination method II provided in an embodiment of this application.
[0030] Figure 5 is a schematic flowchart of a slice determination method II provided in an embodiment of this application.
[0031] Figure 6 is a schematic diagram of the structure of a slice determination method III provided in an embodiment of this application.
[0032] Figure 7 is a schematic flowchart of a slice determination method III provided in an embodiment of this application.
[0033] Figure 8 is a schematic diagram of the structure of a slice determination method IV provided in an embodiment of this application.
[0034] Figure 9 is a schematic flowchart of a slice determination method IV provided in an embodiment of this application.
[0035] Figure 10 is a schematic flowchart of a slice determination method V provided in an embodiment of this application.
[0036] Figure 11 is a schematic diagram of the structure of a slice determination method V provided in an embodiment of this application.
[0037] Figure 12 is a schematic flowchart of a slice determination method VI provided in an embodiment of this application.
[0038] Figure 13 is a structural block diagram of a slice determination device provided in an embodiment of this application.
[0039] Figure 14 is an internal structural diagram of a computer device according to an embodiment of this application. Detailed Implementation
[0040] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0041] The slice determination method provided in this application embodiment can be applied to the application environment shown in Figure 1. The terminal 102 communicates with the server 104 via a network. A data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104 or placed on a cloud or other network server. The method involves obtaining the first resource slice of the first downstream port and the first service slice corresponding to the terminal; then, based on the first resource slice and the first service slice, determining the slice information corresponding to the terminal. The terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented using a standalone server or a server cluster composed of multiple servers.
[0042] In one embodiment, as shown in FIG2, a slice determination method is provided. Taking the application of this method to terminal 102 in FIG1 as an example, the method may include the following steps S201 to S203.
[0043] S201: When the terminal accesses the first downlink port among the downlink ports of the first optical network unit, obtain the first resource slice of the first downlink port.
[0044] It should be noted that, to ensure the timeliness of obtaining the first resource slice of the first downlink port, the candidate resource slices corresponding to each downlink port of the first optical network unit can be determined in advance. Then, when it is necessary to determine the resource slice corresponding to the first downlink port, the first resource slice of the first downlink port can be determined from the candidate resource slices corresponding to each downlink port.
[0045] In one embodiment of this application, a storage unit can be pre-set to record candidate resource slices corresponding to each downlink port of the first optical network unit. When it is necessary to determine the first resource slice of the first downlink port, the storage unit can be searched according to the label of the first downlink port. If the downlink port label corresponding to a candidate resource slice is the same as the label of the first downlink port, then the candidate resource slice is taken as the first resource slice of the first downlink port.
[0046] The resource slices are assigned to their respective resource slices D-NetX (X = 0, 1, 2, 3, 4, 5, 6, 7, 8) according to their physical identifiers (e.g., ONU-SN (ONU Serial Number) or ONU-MAC address).
[0047] To further explain, when it is necessary to determine the candidate resource slices corresponding to each downlink port of the first optical network unit, the resource slices can be matched according to the ONU-SN or ONU-MAC address of each downlink port, and identified as D-NetX (X=0,1,2,3,4,5,6,7,8).
[0048] Specifically, to determine whether D-NetX is suitable for this ONU, calculations and analysis need to be performed based on two given conditions. These two conditions are as follows:
[0049] Condition (I)D-NetX-max(ONU)≥D-NetX-online(ONU);
[0050] Condition (II) D-NetX-max(PON-Bandwidth)≥∑D-NetX-max(ONUx-Bandwidth) (where X=1,2,3,...,n).
[0051] Condition (I) ensures that the maximum bandwidth capacity (D-NetX-max(ONU)) provided by the D-NetX network for the ONU is not less than the bandwidth required for the ONU to be currently online (D-NetX-online(ONU)). Condition (II) ensures that the maximum bandwidth capacity (D-NetX-max(PON-Bandwidth)) provided by the D-NetX network for the entire Passive Optical Network (PON) is not less than the sum of the maximum bandwidths required by each of the ONUs (ONU1, ONU2, ..., ONUn).
[0052] As an example, (1) Collect data: obtain the value of D-NetX-max(ONU), obtain the value of D-NetX-online(ONU), obtain the value of D-NetX-max(ONUx-Bandwidth) for each ONU, and calculate their sum, obtain the value of D-NetX-max(PON-Bandwidth); (2) Compare condition (I): check whether D-NetX-max(ONU) is greater than or equal to D-NetX-online(ONU); (3) Compare condition (II): calculate the sum of the maximum bandwidth required by all ONUs ∑D-NetX-max(ONUx-Bandwidth), and check whether D-NetX-max(PON-Bandwidth) is greater than or equal to this sum; (4) Draw a conclusion: if both conditions are met, then D-NetX is suitable for the existence of this ONU.
[0053] S202: Determine the first service slice corresponding to the terminal based on the service information corresponding to the terminal.
[0054] It should be noted that when it is necessary to determine the first service slice corresponding to the terminal, the service information corresponding to the terminal can be obtained in advance, and then compared with at least one candidate service slice one by one according to the service information. If the service content corresponding to a certain candidate service slice is the same as the service information, then the candidate service slice is taken as the first service slice corresponding to the terminal.
[0055] The business information includes at least one of the following: identifier, destination Internet Protocol address, Point-to-Point Protocol over Ethernet (PPPoE), Internet Protocol version 6 (IPv6), priority field, Transmission Control Protocol (TCP) source port, and User Datagram Protocol (UDP) destination port.
[0056] The identifiers include the generic encapsulation method port identifier GEMPortID, the logical link identifier LLID, and the virtual local area network identifier VLANID.
[0057] Among them, the business slices are assigned to their respective business slices NSIY (Y = 0, 1, 2, 3, 4, 5, 6, 7, 8) according to their logical identifiers (e.g., LOID registration code, Password password).
[0058] To further explain, there is a slice mapping relationship between resource slices and service slices, as shown below: The OLT is virtually divided into up to 8 slices as resource slices D-NetX (X = 0, 1, 2, 3, 4, 5, 6, 7, 8); under each resource slice, the ONU is assigned to up to 8 service slices NSIY (Y = 0, 1, 2, 3, 4, 5, 6, 7, 8) based on its identifier. Example 1: Resource slice 1 (D-Net1) is divided into 3 service slices (NSI1, NSI2, NSI3); Example 2: Resource slice 2 (D-Net2) is divided into 2 service slices (NSI1, NSI2).
[0059] In one embodiment of this application, it is necessary to determine the first service slice corresponding to the terminal, customize the priority of service slice information, match one by one starting from the highest priority information, and identify NSIY (Y = 0, 1, 2, 3, 4, 5, 6, 7, 8). In exceptional cases, if no service slice information can be matched, it is automatically assigned to the default slice NSI0.
[0060] S203: Determine the slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0061] It should be noted that after determining the first resource slice and the first service slice, the first resource slice and the first service slice are used as the slice information corresponding to the terminal.
[0062] In one embodiment of this application, as shown in FIG3, the ONU can report the physical identifier corresponding to its own resource information to the access network control system that performs the slice determination through the OLT. After receiving the resource information, the slice configuration information module feeds back the resource information to the slice configuration matching module, so that the slice configuration matching module determines the first resource slice according to the resource information and feeds back the first resource slice to the ONU through the OLT.
[0063] In one embodiment of this application, as shown in FIG4, the terminal can report its own service information to the access network control system that performs the slice determination through the OLT. After receiving the service information, the slice configuration information module feeds back the service information to the slice configuration matching module, so that the slice configuration matching module determines the first service slice corresponding to the terminal according to the service information corresponding to the terminal, and feeds back the first service slice to the ONU through the OLT.
[0064] The aforementioned slice determination method obtains the first resource slice of the first downlink port and the first service slice corresponding to the terminal; then, based on the first resource slice and the first service slice, it determines the slice information corresponding to the terminal. As can be seen from the above, this application determines the first resource slice and the first service slice by considering the actual resource situation of the optical network unit and the actual service situation corresponding to the terminal. Furthermore, in the process of determining the slice information corresponding to the terminal based on the first resource slice and the first service slice, it automatically allocates the resource slice and service slice corresponding to the terminal, optimizing the process of determining the first resource slice and the first service slice corresponding to the terminal, ensuring the portability of determining the slice information corresponding to the terminal, improving the business experience of industry customers, enhancing the flexibility and intelligence of the industrial PON network, reducing daily manual operation configuration of the industrial PON network, and meeting the needs of industry users for convenient operation of the industrial PON network.
[0065] In one embodiment, as shown in FIG5, when the terminal switches from accessing the first downlink port to accessing the second downlink port among the downlink ports of the first optical network unit, the above method may further include the following steps S501 to S502.
[0066] S501: If the terminal switches from accessing the first downlink port to accessing the second downlink port among the downlink ports of the first optical network unit, then the second resource slice corresponding to the second downlink port is obtained.
[0067] It should be noted that if the terminal switches from accessing the first downlink port to accessing the second downlink port among the downlink ports of the first optical network unit, the second resource slice of the second downlink port can be determined from the candidate resource slices corresponding to each downlink port based on the pre-determined candidate resource slices corresponding to each downlink port of the first optical network unit.
[0068] Specifically, a storage unit can be pre-set to record the candidate resource slices corresponding to each downlink port of the first optical network unit. When it is necessary to determine the second resource slice of the second downlink port, the storage unit can be searched according to the label of the second downlink port. If the downlink port label corresponding to a candidate resource slice is the same as the label of the second downlink port, then the candidate resource slice is used as the second resource slice of the second downlink port.
[0069] The second resource slice may be the same as or different from the first resource slice; no restrictions are imposed on the second resource slice here.
[0070] S502: Update the terminal's slice information according to the second resource slice.
[0071] It should be noted that before updating the terminal's slice information based on the second resource slice, it is possible to verify whether the second resource slice is the same as the first resource slice. If they are different, the first resource slice in the terminal's slice information is replaced with the second resource slice. If they are the same, there is no need to update the terminal's slice information. Alternatively, if the terminal's slice information carries the downlink label of the first downlink port, the downlink label of the first downlink port is replaced with the downlink label of the second downlink port.
[0072] In one embodiment of this application, as shown in FIG6, if the terminal switches from accessing the first downlink port to accessing the second downlink port among the downlink ports of the first optical network unit, the second resource slice corresponding to the second downlink port is obtained; it is verified whether the second resource slice is the same as the first resource slice. If they are not the same, the first resource slice in the terminal's slice information is replaced with the second resource slice. At this time, the slice information corresponding to the terminal is the second resource slice and the first service switch.
[0073] The above-described slice determination method, when the terminal switches from accessing the first downlink port to accessing the second downlink port among the downlink ports of the first optical network unit, determines the second resource slice corresponding to the second downlink port to update the terminal's slice information based on the second resource slice.
[0074] In one embodiment, as shown in FIG7, when the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, the above method may further include the following steps S701 to S702.
[0075] S701: If the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, it obtains the third resource slice corresponding to the third downlink port.
[0076] It should be noted that if the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, the third resource slice of the third downlink port can be determined from the candidate resource slices corresponding to each downlink port of the second optical network unit based on the pre-determined candidate resource slices corresponding to each downlink port.
[0077] Specifically, a storage unit can be pre-set to record the candidate resource slices corresponding to each downlink port of the second optical network unit. When it is necessary to determine the second resource slice of the third downlink port, the storage unit can be searched according to the label of the third downlink port. If the downlink port label corresponding to a candidate resource slice is the same as the label of the third downlink port, then the candidate resource slice is used as the third resource slice of the third downlink port.
[0078] The third resource slice may be the same as or different from the first resource slice; no restrictions are imposed on the third resource slice here.
[0079] S702: Update the terminal's slice information based on the third resource slice.
[0080] It should be noted that before updating the terminal's slice information based on the third resource slice, it is possible to verify whether the third resource slice is the same as the first resource slice. If they are different, the first resource slice in the terminal's slice information is replaced with the third resource slice. If they are the same, there is no need to update the terminal's slice information. Alternatively, if the terminal's slice information carries the downlink label of the first downlink port, the downlink label of the first downlink port is replaced with the downlink label of the third downlink port.
[0081] In one embodiment of this application, as shown in FIG8, if the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, it obtains the third resource slice corresponding to the third downlink port and verifies whether the third resource slice is the same as the first resource slice. If they are not the same, the first resource slice in the terminal's slice information is replaced with the third resource slice. At this time, the slice information corresponding to the terminal is the third resource slice and the first service switch.
[0082] The above-described slice determination method, when the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, determines the third resource slice corresponding to the third downlink port, so as to update the slice information of the terminal based on the third resource slice.
[0083] In one embodiment, as shown in FIG9, when the service information corresponding to the terminal changes, the above method may further include the following steps S901 to S903.
[0084] S901: Verify whether the service information corresponding to the terminal has changed.
[0085] It should be noted that when it is necessary to verify whether the service information corresponding to the terminal has changed, a service information retrieval request can be sent to the terminal periodically. After receiving the service information retrieval request, the terminal will feed back the latest service information to the access network control system that executes the slice determination method. After receiving the latest service information, the access network control system will compare the latest service information with the historical service information. If they are different, it is determined that the service information corresponding to the terminal has changed; if they are the same, it is determined that the service information corresponding to the terminal has not changed.
[0086] The period for sending service information acquisition requests to terminals can be set or adjusted according to actual conditions and historical operating experience of the access network. Here, the period for sending service information acquisition requests to terminals is not limited.
[0087] To further explain, if it is pre-defined that after a terminal connects to the ONU, if any changes occur to the service information, it needs to actively send a service information change notification to the access network control system executing the slice determination method. Therefore, if the access network control system executing the slice determination method receives the service information change notification, it determines that the service information corresponding to the terminal has changed; if the access network control system executing the slice determination method does not receive the service information change notification, it determines that the service information corresponding to the terminal has not changed.
[0088] S902: If the service information corresponding to the terminal has changed, then the second service slice corresponding to the terminal shall be determined according to the changed service information corresponding to the terminal.
[0089] It should be noted that when it is necessary to determine the second service slice corresponding to the terminal based on the service information corresponding to the changed terminal, the priority of each candidate service slice can be preset. Based on the priority, each candidate service slice can be matched with the service information corresponding to the changed terminal one by one. The candidate service slice that matches the service information corresponding to the changed terminal is the second service slice corresponding to the terminal.
[0090] S903: Update the terminal's slice information according to the second service slice.
[0091] It should be noted that before updating the terminal's slice information based on the second service slice, it can be verified whether the second service slice is the same as the first service slice. If they are different, the first service slice in the terminal's slice information is replaced with the second service slice. If the terminal's slice information before the update is the first resource slice and the first service slice, then the terminal's slice information after the update is the first resource slice and the second service slice.
[0092] The above-described slice determination method determines the second service slice corresponding to the terminal based on the changed service information when the service information corresponding to the terminal changes. Then, the slice information of the terminal is updated based on the second service slice. This ensures the portability of determining the slice information corresponding to the terminal, improves the business experience of industry customers, enhances the flexibility and intelligence of industrial PON networks, and reduces the daily manual operation configuration of industrial PON networks.
[0093] In one embodiment, as shown in FIG10, when it is necessary to determine the resource slices corresponding to each downlink port of the first optical network unit, the above method may specifically include the following steps S1001 to S1003.
[0094] S1001: When the first optical network unit is connected to the access network control system, determine the initial resource slices corresponding to each downlink port of the first optical network unit.
[0095] It should be noted that, in order to ensure that the resource information corresponding to each downlink port of the first optical network unit can be successfully obtained in the future, the initial resource slices corresponding to each downlink port of the first optical network unit can be predetermined when the first optical network unit accesses the access network control system, so as to determine the initial resource slices corresponding to each downlink port of the first optical network unit when the first optical network unit accesses the access network control system.
[0096] As shown in Figure 11, after the ONU goes online and accesses the access network control system, the initial resource slices corresponding to each downlink port of the first optical network unit are determined based on the pre-set access rules.
[0097] S1002: Obtain the resource information corresponding to each downlink port of the first optical network unit based on the initial resource slices corresponding to each downlink port of the first optical network unit.
[0098] The resource information includes at least one of the following: the optical network unit supporting the maximum configuration or performance, the optical network unit in online or real-time operation, the maximum bandwidth supported by the passive optical network (PON), and the maximum bandwidth supported by the optical network unit.
[0099] S1003: Determine the resource slice corresponding to each downlink port of the first optical network unit based on the resource information corresponding to each downlink port of the first optical network unit.
[0100] It should be noted that when it is necessary to determine the resource slices corresponding to each downlink port of the first optical network unit, the priority of each candidate service slice can be preset. Based on this priority, each candidate service slice is matched with the resource information corresponding to each downlink port of the first optical network unit one by one. The candidate service slices that match the resource information corresponding to each downlink port of the first optical network unit are the resource slices corresponding to each downlink port.
[0101] The above-described slice determination method obtains the resource information corresponding to each downlink port of the first optical network unit based on the initial resource slices corresponding to each downlink port of the first optical network unit. Then, based on the resource information corresponding to each downlink port of the first optical network unit, it determines the resource slices corresponding to each downlink port of the first optical network unit. This ensures the portability of determining the slice information corresponding to the terminal, improves the business experience of industry customers, enhances the flexibility and intelligence of industrial PON networks, reduces daily manual operation configuration of industrial PON networks, and meets the needs of industry users for convenient operation of industrial PON networks.
[0102] In one embodiment, as shown in FIG12, when it is necessary to determine the slice information corresponding to the terminal, the above method may specifically include the following steps S1201 to S1206.
[0103] S1201: When the first optical network unit is connected to the access network control system, determine the initial resource slices corresponding to each downlink port of the first optical network unit.
[0104] S1202: Obtain the resource information corresponding to each downlink port of the first optical network unit based on the initial resource slices corresponding to each downlink port of the first optical network unit.
[0105] S1203: Determine the resource slice corresponding to each downlink port of the first optical network unit based on the resource information corresponding to each downlink port of the first optical network unit.
[0106] S1204: When the terminal accesses the first downlink port among the downlink ports of the first optical network unit, obtain the first resource slice of the first downlink port.
[0107] S1205: Determine the first service slice corresponding to the terminal based on the service information corresponding to the terminal.
[0108] S1206: Determine the slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0109] The aforementioned slice determination method obtains the first resource slice of the first downlink port and the first service slice corresponding to the terminal; then, based on the first resource slice and the first service slice, it determines the slice information corresponding to the terminal. As can be seen from the above, this application determines the first resource slice and the first service slice by considering the actual resource situation of the optical network unit and the actual service situation corresponding to the terminal. Furthermore, in the process of determining the slice information corresponding to the terminal based on the first resource slice and the first service slice, it automatically allocates the resource slice and service slice corresponding to the terminal, optimizing the process of determining the first resource slice and the first service slice corresponding to the terminal, ensuring the portability of determining the slice information corresponding to the terminal, improving the business experience of industry customers, enhancing the flexibility and intelligence of the industrial PON network, reducing daily manual operation configuration of the industrial PON network, and meeting the needs of industry users for convenient operation of the industrial PON network.
[0110] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0111] Based on the same inventive concept, this application also provides a slice determination apparatus for implementing the slice determination method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more slice determination apparatus embodiments provided below can be found in the limitations of the slice determination method described above, and will not be repeated here.
[0112] In one embodiment of this application, as shown in FIG13, a slice determination device is provided, including: an acquisition module 10, a first determination module 20, and a second determination module 30, wherein:
[0113] The acquisition module 10 is used to acquire the first resource slice of the first downlink port when the terminal is connected to the first downlink port of the first optical network unit.
[0114] The first determining module 20 is used to determine the first service slice corresponding to the terminal based on the service information corresponding to the terminal.
[0115] The second determining module 30 is used to determine the slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0116] In one embodiment, the acquisition module 10 is further configured to: if the terminal switches from accessing the first downlink port to accessing the second downlink port among the downlink ports of the first optical network unit, then acquire the second resource slice corresponding to the second downlink port;
[0117] The second determining module 30 is also used to: update the terminal's slice information according to the second resource slice.
[0118] In one embodiment, the acquisition module 10 is further configured to: if the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, then acquire the third resource slice corresponding to the third downlink port;
[0119] The second determining module 30 is also used to update the terminal's slice information based on the third resource slice.
[0120] In one embodiment, the first determining module 20 is further configured to: verify whether the service information corresponding to the terminal has changed;
[0121] If so, then determine the second service slice corresponding to the terminal based on the service information corresponding to the changed terminal;
[0122] The second determining module 30 is also used to update the terminal's slice information according to the second service slice.
[0123] In one embodiment, the acquisition module 10 is further configured to: determine the initial resource slices corresponding to each downlink port of the first optical network unit when the first optical network unit is connected to the access network control system.
[0124] Based on the initial resource slices corresponding to each downlink port of the first optical network unit, obtain the resource information corresponding to each downlink port of the first optical network unit;
[0125] Based on the resource information corresponding to each downlink port of the first optical network unit, the resource slice corresponding to each downlink port of the first optical network unit is determined.
[0126] In one embodiment, the resource information includes at least one of the following: optical network units supporting maximum configuration or performance, optical network units that are online or running in real time, the maximum bandwidth supported by the passive optical network (PON), and the maximum bandwidth supported by the optical network units.
[0127] In one embodiment, the service information includes at least one of the following: an identifier, a destination Internet Protocol address, a Point-to-Point Protocol over Ethernet (PPPoE), an Internet Protocol version 6 (IPv6), a priority field, a Transmission Control Protocol (TCP) source port, and a User Datagram Protocol (UDP) destination port.
[0128] The identifiers include the generic encapsulation method port identifier GEMPortID, the logical link identifier LLID, and the virtual local area network identifier VLANID.
[0129] The aforementioned slice determination device acquires the first resource slice of the first downlink port and the first service slice corresponding to the terminal; then, based on the first resource slice and the first service slice, the slice information corresponding to the terminal is determined. As can be seen from the above, this application determines the first resource slice and the first service slice based on the actual resource situation of the optical network unit and the actual service situation corresponding to the terminal. Furthermore, in the process of determining the slice information corresponding to the terminal based on the first resource slice and the first service slice, it automatically allocates the resource slice and service slice corresponding to the terminal, optimizing the process of determining the first resource slice and the first service slice corresponding to the terminal, ensuring the portability of determining the slice information corresponding to the terminal, improving the business experience of industry customers, enhancing the flexibility and intelligence of the industrial PON network, reducing daily manual operation configuration of the industrial PON network, and meeting the needs of industry users for convenient operation of the industrial PON network.
[0130] Each module in the aforementioned slicing determination device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0131] In one embodiment of this application, a computer device is provided, which may be a terminal, and its internal structure diagram is shown in Figure 14. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the computer device is used for exchanging information between the processor and external devices. The communication interface of the computer device is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a slice determination method. The display unit of the computer device is used to form a visually visible image and may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0132] Those skilled in the art will understand that the structure shown in Figure 14 is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0133] In one embodiment of this application, a computer device is also provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0134] When the terminal accesses the first downlink port among the downlink ports of the first optical network unit, the first resource slice of the first downlink port is obtained;
[0135] Based on the service information corresponding to the terminal, determine the first service slice corresponding to the terminal; and
[0136] Based on the first resource slice and the first service slice, determine the slice information corresponding to the terminal.
[0137] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0138] If the terminal switches from accessing the first downlink port to accessing the second downlink port among the downlink ports of the first optical network unit, it obtains the second resource slice corresponding to the second downlink port.
[0139] The terminal's slice information is updated based on the second resource slice.
[0140] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0141] If the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, it obtains the third resource slice corresponding to the third downlink port.
[0142] The terminal's slice information is updated based on the third resource slice.
[0143] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0144] Verify whether the business information corresponding to the terminal has changed;
[0145] If so, then determine the second service slice corresponding to the terminal based on the service information corresponding to the changed terminal;
[0146] The terminal's slice information is updated based on the second service slice.
[0147] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0148] When the first optical network unit is connected to the access network control system, the initial resource slices corresponding to each downlink port of the first optical network unit are determined.
[0149] Based on the initial resource slices corresponding to each downlink port of the first optical network unit, obtain the resource information corresponding to each downlink port of the first optical network unit;
[0150] Based on the resource information corresponding to each downlink port of the first optical network unit, the resource slice corresponding to each downlink port of the first optical network unit is determined.
[0151] In one embodiment, the resource information includes at least one of the following: the optical network unit supporting the maximum configuration or performance, the optical network unit in an online or real-time operating state, the maximum bandwidth supported by the passive optical network (PON), and the maximum bandwidth supported by the optical network unit.
[0152] In one embodiment, the service information includes at least one of the following: an identifier, a destination Internet Protocol address, a Point-to-Point Protocol over Ethernet (PPPoE), an Internet Protocol version 6 (IPv6), a priority field, a Transmission Control Protocol (TCP) source port, and a User Datagram Protocol (UDP) destination port.
[0153] The identifiers include the generic encapsulation method port identifier GEMPortID, the logical link identifier LLID, and the virtual local area network identifier VLANID.
[0154] In one embodiment of this application, a non-volatile computer-readable storage medium is also provided, on which a computer program is stored, which, when executed by a processor, causes the processor to perform the following steps:
[0155] When the terminal accesses the first downlink port among the downlink ports of the first optical network unit, the first resource slice of the first downlink port is obtained;
[0156] Based on the service information corresponding to the terminal, determine the first service slice corresponding to the terminal; and
[0157] Based on the first resource slice and the first service slice, determine the slice information corresponding to the terminal.
[0158] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0159] If the terminal switches from accessing the first downlink port to accessing the second downlink port among the downlink ports of the first optical network unit, it obtains the second resource slice corresponding to the second downlink port.
[0160] The terminal's slice information is updated based on the second resource slice.
[0161] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0162] If the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, it obtains the third resource slice corresponding to the third downlink port.
[0163] The terminal's slice information is updated based on the third resource slice.
[0164] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0165] Verify whether the business information corresponding to the terminal has changed;
[0166] If so, then determine the second service slice corresponding to the terminal based on the service information corresponding to the changed terminal;
[0167] The terminal's slice information is updated based on the second service slice.
[0168] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0169] When the first optical network unit is connected to the access network control system, the initial resource slices corresponding to each downlink port of the first optical network unit are determined.
[0170] Based on the initial resource slices corresponding to each downlink port of the first optical network unit, obtain the resource information corresponding to each downlink port of the first optical network unit;
[0171] Based on the resource information corresponding to each downlink port of the first optical network unit, the resource slice corresponding to each downlink port of the first optical network unit is determined.
[0172] In one embodiment, the resource information includes at least one of the following: the optical network unit supporting the maximum configuration or performance, the optical network unit in an online or real-time operating state, the maximum bandwidth supported by the passive optical network (PON), and the maximum bandwidth supported by the optical network unit.
[0173] In one embodiment, the service information includes at least one of the following: an identifier, a destination Internet Protocol address, a Point-to-Point Protocol over Ethernet (PPPoE), an Internet Protocol version 6 (IPv6), a priority field, a Transmission Control Protocol (TCP) source port, and a User Datagram Protocol (UDP) destination port.
[0174] The identifiers include the generic encapsulation method port identifier GEMPortID, the logical link identifier LLID, and the virtual local area network identifier VLANID.
[0175] In one embodiment of this application, a computer program product is also provided, including a computer program that, when executed by a processor, causes the processor to perform the following steps:
[0176] When the terminal accesses the first downlink port among the downlink ports of the first optical network unit, the first resource slice of the first downlink port is obtained;
[0177] Based on the service information corresponding to the terminal, determine the first service slice corresponding to the terminal; and
[0178] Based on the first resource slice and the first service slice, determine the slice information corresponding to the terminal.
[0179] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0180] If the terminal switches from accessing the first downlink port to accessing the second downlink port among the downlink ports of the first optical network unit, it obtains the second resource slice corresponding to the second downlink port.
[0181] The terminal's slice information is updated based on the second resource slice.
[0182] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0183] If the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, it obtains the third resource slice corresponding to the third downlink port.
[0184] The terminal's slice information is updated based on the third resource slice.
[0185] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0186] Verify whether the business information corresponding to the terminal has changed;
[0187] If so, then determine the second service slice corresponding to the terminal based on the service information corresponding to the changed terminal;
[0188] The terminal's slice information is updated based on the second service slice.
[0189] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0190] When the first optical network unit is connected to the access network control system, the initial resource slices corresponding to each downlink port of the first optical network unit are determined.
[0191] Based on the initial resource slices corresponding to each downlink port of the first optical network unit, obtain the resource information corresponding to each downlink port of the first optical network unit;
[0192] Based on the resource information corresponding to each downlink port of the first optical network unit, the resource slice corresponding to each downlink port of the first optical network unit is determined.
[0193] In one embodiment, the resource information includes at least one of the following: the optical network unit supporting the maximum configuration or performance, the optical network unit in an online or real-time operating state, the maximum bandwidth supported by the passive optical network (PON), and the maximum bandwidth supported by the optical network unit.
[0194] In one embodiment, the service information includes at least one of the following: an identifier, a destination Internet Protocol address, a Point-to-Point Protocol over Ethernet (PPPoE), an Internet Protocol version 6 (IPv6), a priority field, a Transmission Control Protocol (TCP) source port, and a User Datagram Protocol (UDP) destination port.
[0195] The identifiers include the generic encapsulation method port identifier GEMPortID, the logical link identifier LLID, and the virtual local area network identifier VLANID.
[0196] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0197] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0198] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0199] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for determining slices, the method comprising: When the terminal accesses the first downlink port among the downlink ports of the first optical network unit, the first resource slice of the first downlink port is obtained; Based on the service information corresponding to the terminal, determine the first service slice corresponding to the terminal; as well as Based on the first resource slice and the first service slice, the slice information corresponding to the terminal is determined.
2. The method according to claim 1, further comprising: If the terminal switches from accessing the first downlink port to accessing the second downlink port among the downlink ports of the first optical network unit, then the second resource slice corresponding to the second downlink port is obtained; The terminal's slice information is updated based on the second resource slice.
3. The method according to claim 1, further comprising: If the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, then the third resource slice corresponding to the third downlink port is obtained; The terminal's slice information is updated based on the third resource slice.
4. The method according to any one of claims 1-3, further comprising: Verify whether the service information corresponding to the terminal has changed; If so, then the second service slice corresponding to the terminal is determined based on the changed service information of the terminal. The terminal's slice information is updated based on the second service slice.
5. The method according to claim 1, further comprising: When the first optical network unit is connected to the access network control system, the initial resource slices corresponding to each downlink port of the first optical network unit are determined. Based on the initial resource slices corresponding to each downlink port of the first optical network unit, obtain the resource information corresponding to each downlink port of the first optical network unit; Based on the resource information corresponding to each downlink port of the first optical network unit, the resource slice corresponding to each downlink port of the first optical network unit is determined.
6. The method according to claim 5, wherein the resource information includes at least one of the following: optical network unit supporting maximum configuration or performance, optical network unit in online or real-time operation, maximum bandwidth supported by passive optical network (PON), and maximum bandwidth supported by optical network unit.
7. The method according to claim 1, wherein the service information includes at least one of the following: an identifier, a destination Internet Protocol address, a Point-to-Point Protocol over Ethernet (PPPoE), an Internet Protocol version 6 (IPv6), a priority field, a Transmission Control Protocol (TCP) source port, and a User Datagram Protocol (UDP) destination port; wherein, The identifiers include the Generic Encapsulation Method Port Identifier (GEMPortID), the Logical Link Identifier (LLID), and the Virtual Local Area Network Identifier (VLANID).
8. A slice determining device, the device comprising: The acquisition module is used to acquire the first resource slice of the first downlink port when the terminal is connected to the first downlink port of the first optical network unit. The first determining module is used to determine the first service slice corresponding to the terminal based on the service information corresponding to the terminal. as well as The second determining module is used to determine the slice information corresponding to the terminal based on the first resource slice and the first service slice.
9. The apparatus according to claim 8, wherein the acquisition module is further configured to: if the terminal switches from accessing the first downlink port to accessing the second downlink port among the downlink ports of the first optical network unit, then acquire the second resource slice corresponding to the second downlink port; The second determining module is further configured to: update the slice information of the terminal according to the second resource slice.
10. The apparatus according to claim 8, wherein the acquisition module is further configured to: if the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, acquire the third resource slice corresponding to the third downlink port; The second determining module is further configured to: update the slice information of the terminal based on the third resource slice.
11. The apparatus according to any one of claims 8-10, wherein the first determining module is further configured to: verify whether the service information corresponding to the terminal has changed; if so, determine the second service slice corresponding to the terminal based on the changed service information corresponding to the terminal; The second determining module is further configured to: update the slice information of the terminal according to the second service slice.
12. The apparatus according to claim 8, wherein the acquisition module is further configured to: determine the initial resource slices corresponding to each downlink port of the first optical network unit when the first optical network unit is connected to the access network control system; Based on the initial resource slices corresponding to each downlink port of the first optical network unit, obtain the resource information corresponding to each downlink port of the first optical network unit; Based on the resource information corresponding to each downlink port of the first optical network unit, the resource slice corresponding to each downlink port of the first optical network unit is determined.
13. The apparatus of claim 12, wherein the resource information includes at least one of the following: an optical network unit supporting maximum configuration or performance, an optical network unit in an online state or in real-time operation, the maximum bandwidth supported by a passive optical network (PON), and the maximum bandwidth supported by an optical network unit.
14. The apparatus of claim 8, wherein the service information includes at least one of the following: an identifier, a destination Internet Protocol address, a Point-to-Point Protocol over Ethernet (PPPoE), an Internet Protocol version 6 (IPv6), a priority field, a Transmission Control Protocol (TCP) source port, and a User Datagram Protocol (UDP) destination port; wherein The identifiers include the Generic Encapsulation Method Port Identifier (GEMPortID), the Logical Link Identifier (LLID), and the Virtual Local Area Network Identifier (VLANID).
15. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor executes the computer program to implement the steps of the method according to any one of claims 1 to 7.
16. A non-transitory computer readable storage medium having stored thereon a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
17. A computer program product comprising a computer program, characterized in that, The computer program, which when executed by the processor, implements the steps of the method of any one of claims 1 to 7.