Slice determination method and apparatus, computer device, and storage medium
Patent Information
- Application Number
- CN202411432541.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2026-11-03
- Estimated Expiration
- 2044-10-14
AI Technical Summary
In existing technologies, the definition and description of ONU granular slicing in PON networks are insufficient, leading to the main use of OLT-PON board granular slicing and OLT-PON port granular slicing in practical applications, lacking effective ONU granular slicing methods and end-to-end slicing adjustment and configuration schemes.
A slice determination method is provided, which automatically allocates slice information based on actual resource and service information by obtaining the downlink resource slices and service slices of optical network units, thereby optimizing the slice determination process and supporting the adjustment and configuration of ONU-level slices.
It enables automatic adjustment and configuration of ONU granular slicing, improves the flexibility and intelligence of PON networks, reduces manual operation, and enhances user experience and network operation convenience.
Smart Images

Figure CN119421073B_ABST
Abstract
Description
Technical Field
[0001] 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
[0002] 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.
[0003] 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
[0004] 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.
[0005] Firstly, this application provides a method for determining slices. The method includes:
[0006] 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;
[0007] Based on the service information corresponding to the terminal, determine the first service slice corresponding to the terminal;
[0008] Based on the first resource slice and the first service slice, the slice information corresponding to the terminal is determined.
[0009] In one embodiment, 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.
[0010] The terminal's slice information is updated based on the second resource slice.
[0011] In one embodiment, 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.
[0012] The terminal's slice information is updated based on the third resource slice.
[0013] In one embodiment, it is verified whether the service information corresponding to the terminal has changed;
[0014] If so, then the second service slice corresponding to the terminal is determined based on the changed service information of the terminal.
[0015] The terminal's slice information is updated based on the second service slice.
[0016] In one embodiment, 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.
[0017] 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;
[0018] 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.
[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 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.
[0021] The identifiers include the Generic Encapsulation Method Port Identifier (GEMPortID), the Logical Link Identifier (LLID), and the Virtual Local Area Network Identifier (VLANID).
[0022] Secondly, this application also provides a slice determination apparatus. The apparatus includes:
[0023] 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.
[0024] 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.
[0025] 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.
[0026] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0027] 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;
[0028] Based on the service information corresponding to the terminal, determine the first service slice corresponding to the terminal;
[0029] Based on the first resource slice and the first service slice, the slice information corresponding to the terminal is determined.
[0030] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0031] 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;
[0032] Based on the service information corresponding to the terminal, determine the first service slice corresponding to the terminal;
[0033] Based on the first resource slice and the first service slice, the slice information corresponding to the terminal is determined.
[0034] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0035] 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;
[0036] Based on the service information corresponding to the terminal, determine the first service slice corresponding to the terminal;
[0037] Based on the first resource slice and the first service slice, the slice information corresponding to the terminal is determined.
[0038] 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
[0039] Figure 1 This application environment diagram illustrates a slice determination method provided in an embodiment of this application.
[0040] Figure 2 A flowchart illustrating the first slice determination method provided in this application embodiment;
[0041] Figure 3 This is a schematic diagram of the structure of the first slice determination method provided in the embodiments of this application;
[0042] Figure 4 This is a schematic diagram of the structure of the second slice determination method provided in the embodiments of this application;
[0043] Figure 5 A flowchart illustrating the second slice determination method provided in this application embodiment;
[0044] Figure 6 This is a schematic diagram of the structure of the third slice determination method provided in the embodiments of this application;
[0045] Figure 7 A flowchart illustrating the third slice determination method provided in this application embodiment;
[0046] Figure 8 This is a schematic diagram of the structure of the fourth slice determination method provided in the embodiments of this application;
[0047] Figure 9 A flowchart illustrating the fourth slice determination method provided in this application embodiment;
[0048] Figure 10 A flowchart illustrating the fifth slice determination method provided in this application embodiment;
[0049] Figure 11 This is a schematic diagram of the structure of the fifth slice determination method provided in the embodiments of this application;
[0050] Figure 12 A flowchart illustrating the sixth slice determination method provided in this application embodiment;
[0051] Figure 13 A structural block diagram of a slice determination device provided in an embodiment of this application;
[0052] Figure 14 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0053] 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.
[0054] The slice determination method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or placed on the cloud or other network servers. The system 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. 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. Server 104 can be implemented using a standalone server or a server cluster composed of multiple servers.
[0055] In one embodiment, such as Figure 2 As shown, a method for determining slices is provided, which is applied to... Figure 1 Taking terminal 102 as an example, the explanation includes the following steps:
[0056] S201, 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.
[0057] 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.
[0058] 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.
[0059] Among them, 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 (ONU-SN (ONU Serial Number) or ONU-MAC address).
[0060] 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).
[0061] Specifically, determining whether D-NetX is suitable for this ONU requires calculation and analysis based on two given conditions. These two conditions are:
[0062] (1) D-NetX-max (ONU) ≥ D-NetX-online (ONU).
[0063] (2) D-NetX-max(PON-Bandwidth) ≥ ∑D-NetX-max(ONUx-Bandwidth) (where X = 1, 2, 3, ..., n).
[0064] The first condition ensures that the maximum bandwidth capacity provided by the D-NetX network for the ONU (D-NetX-max(ONU)) is not less than the bandwidth required for the ONU to be currently online (D-NetX-online(ONU)). The second condition ensures that the maximum bandwidth capacity provided by the D-NetX network for the entire PON (Passive Optical Network) (D-NetX-max(PON-Bandwidth)) is not less than the sum of the maximum bandwidths required by each of the ONUs (ONU1, ONU2, ..., ONUn).
[0065] 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 the first condition: check whether D-NetX-max(ONU) is greater than or equal to D-NetX-online(ONU); (3) Compare the second condition: calculate the sum of the maximum bandwidth required by all ONUs: ∑D-NetX-max(ONUx-Bandwidth). 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.
[0066] S202, Based on the service information corresponding to the terminal, determine the first service slice corresponding to the terminal.
[0067] 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.
[0068] 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.
[0069] The identifiers include the generic encapsulation method port identifier GEMPortID, the logical link identifier LLID, and the virtual local area network identifier VLANID.
[0070] 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 (LOID registration code, Password).
[0071] 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).
[0072] 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.
[0073] S203, determine the slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0074] 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.
[0075] In one embodiment of this application, such as Figure 3 As shown, 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 the resource information back to the slice configuration matching module, so that the slice configuration matching module determines the first resource slice based on the resource information and feeds the first resource slice back to the ONU through the OLT.
[0076] In one embodiment of this application, such as Figure 4 As shown, 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 the service information back to the slice configuration matching module, so that the slice configuration matching module determines the first service slice corresponding to the terminal based on the service information corresponding to the terminal, and feeds the first service slice back to the ONU through the OLT.
[0077] 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.
[0078] In one embodiment, such as Figure 5 As shown, when a 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 following may be included:
[0079] 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.
[0080] 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 of the first optical network unit based on the pre-determined candidate resource slices corresponding to each downlink port.
[0081] 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.
[0082] 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.
[0083] S502, update the terminal's slice information based on the second resource slice.
[0084] 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.
[0085] In one embodiment of this application, such as Figure 6 As shown, 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.
[0086] 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.
[0087] In one embodiment, such as Figure 7 As shown, when a terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, it may include the following:
[0088] 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.
[0089] 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.
[0090] 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.
[0091] 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.
[0092] S702 updates the terminal's slice information based on the third resource slice.
[0093] 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.
[0094] In one embodiment of this application, such as Figure 8 As shown, 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.
[0095] 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.
[0096] In one embodiment, such as Figure 9 As shown, when the service information corresponding to the terminal changes, it may include the following:
[0097] S901, verify whether the service information corresponding to the terminal has changed.
[0098] 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.
[0099] 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.
[0100] 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.
[0101] S902, if so, then determine the second service slice corresponding to the terminal based on the service information corresponding to the changed terminal.
[0102] 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.
[0103] S903, update the terminal's slice information according to the second service slice.
[0104] 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.
[0105] 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.
[0106] In one embodiment, such as Figure 10 As shown, when it is necessary to determine the resource slices corresponding to each downlink port of the first optical network unit, the following can be included:
[0107] 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.
[0108] 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.
[0109] like Figure 11 As shown, 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.
[0110] S1002, 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.
[0111] 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.
[0112] S1003, Based on the resource information corresponding to each downlink port of the first optical network unit, determine the resource slice corresponding to each downlink port of the first optical network unit.
[0113] 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.
[0114] 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.
[0115] In one embodiment, such as Figure 12 As shown, when it is necessary to determine the slice information corresponding to the terminal, the following can be included:
[0116] 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.
[0117] S1202, 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.
[0118] S1203, Based on the resource information corresponding to each downlink port of the first optical network unit, determine the resource slice corresponding to each downlink port of the first optical network unit.
[0119] S1204, when the terminal is connected to 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.
[0120] S1205, Based on the service information corresponding to the terminal, determine the first service slice corresponding to the terminal.
[0121] S1206, Determine the slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0122] 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.
[0123] 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.
[0124] 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.
[0125] In one embodiment, such as Figure 13 As shown, a slicing determination device is provided, comprising: an acquisition module 10, a first determination module 20, and a second determination module 30, wherein:
[0126] 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.
[0127] 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.
[0128] 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.
[0129] In one embodiment, 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.
[0130] The terminal's slice information is updated based on the second resource slice.
[0131] In one embodiment, 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.
[0132] The terminal's slice information is updated based on the third resource slice.
[0133] In one embodiment, it is verified whether the service information corresponding to the terminal has changed;
[0134] If so, then determine the second service slice corresponding to the terminal based on the service information corresponding to the changed terminal;
[0135] The terminal's slice information is updated based on the second service slice.
[0136] In one embodiment, 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.
[0137] 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;
[0138] 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.
[0139] 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.
[0140] In one embodiment, the service information includes at least one of 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.
[0141] The identifiers include the generic encapsulation method port identifier GEMPortID, the logical link identifier LLID, and the virtual local area network identifier VLANID.
[0142] 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, 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.
[0143] 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.
[0144] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 14 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and 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 provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the 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 media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface 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 executed by the processor, the computer program implements a slicing determination method. The display unit is used to form a visually visible image and can be a display screen, projection device, or 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.
[0145] Those skilled in the art will understand that Figure 14 The structure shown 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.
[0146] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0147] 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;
[0148] Based on the service information corresponding to the terminal, determine the first service slice corresponding to the terminal;
[0149] Based on the first resource slice and the first service slice, determine the slice information corresponding to the terminal.
[0150] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0151] 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.
[0152] The terminal's slice information is updated based on the second resource slice.
[0153] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0154] 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.
[0155] The terminal's slice information is updated based on the third resource slice.
[0156] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0157] Verify whether the business information corresponding to the terminal has changed;
[0158] If so, then determine the second service slice corresponding to the terminal based on the service information corresponding to the changed terminal;
[0159] The terminal's slice information is updated based on the second service slice.
[0160] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0161] 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.
[0162] 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;
[0163] 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.
[0164] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0165] Resource information includes at least one of the following: the optical network unit supporting the maximum configuration or performance, the optical network unit being 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 unit.
[0166] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0167] 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;
[0168] The identifiers include the generic encapsulation method port identifier GEMPortID, the logical link identifier LLID, and the virtual local area network identifier VLANID.
[0169] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0170] 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;
[0171] Based on the service information corresponding to the terminal, determine the first service slice corresponding to the terminal;
[0172] Based on the first resource slice and the first service slice, determine the slice information corresponding to the terminal.
[0173] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0174] 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.
[0175] The terminal's slice information is updated based on the second resource slice.
[0176] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0177] 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.
[0178] The terminal's slice information is updated based on the third resource slice.
[0179] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0180] Verify whether the business information corresponding to the terminal has changed;
[0181] If so, then determine the second service slice corresponding to the terminal based on the service information corresponding to the changed terminal;
[0182] The terminal's slice information is updated based on the second service slice.
[0183] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0184] 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.
[0185] 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;
[0186] 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.
[0187] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0188] Resource information includes at least one of the following: the optical network unit supporting the maximum configuration or performance, the optical network unit being 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 unit.
[0189] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0190] 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;
[0191] The identifiers include the generic encapsulation method port identifier GEMPortID, the logical link identifier LLID, and the virtual local area network identifier VLANID.
[0192] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0193] 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;
[0194] Based on the service information corresponding to the terminal, determine the first service slice corresponding to the terminal;
[0195] Based on the first resource slice and the first service slice, determine the slice information corresponding to the terminal.
[0196] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0197] 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.
[0198] The terminal's slice information is updated based on the second resource slice.
[0199] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0200] 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.
[0201] The terminal's slice information is updated based on the third resource slice.
[0202] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0203] Verify whether the business information corresponding to the terminal has changed;
[0204] If so, then determine the second service slice corresponding to the terminal based on the service information corresponding to the changed terminal;
[0205] The terminal's slice information is updated based on the second service slice.
[0206] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0207] 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.
[0208] 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;
[0209] 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.
[0210] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0211] Resource information includes at least one of the following: the optical network unit supporting the maximum configuration or performance, the optical network unit being 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 unit.
[0212] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0213] 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;
[0214] The identifiers include the generic encapsulation method port identifier GEMPortID, the logical link identifier LLID, and the virtual local area network identifier VLANID.
[0215] 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 related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0216] 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.
[0217] 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.
[0218] 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, characterized in that, The method includes: 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, a first service slice corresponding to the terminal is determined; if the service content corresponding to a candidate service slice is the same as the service information, then the candidate service slice is used as the first service slice; there is a slice mapping relationship between resource slices and service slices, and the resource slice corresponds to multiple service slices; Based on the first resource slice and the first service slice, determine the slice information corresponding to the terminal; Wherein, obtaining the first resource slice of the first downlink port includes: Searching in the storage unit according to the tag of the first downlink port; if the tag of the downlink port corresponding to the candidate resource slice is the same as the tag of the first downlink port, then the candidate resource slice is used as the first resource slice of the first downlink port. Specifically, when it is necessary to determine the candidate resource slices corresponding to each downlink port of the first optical network unit, the resource slice D-NetX is matched according to the ONU-SN or ONU-MAC address of each downlink port, and D-NetX is identified. The method further includes: determining that D-NetX is suitable for the first optical network unit if the following conditions are met: The first maximum bandwidth provided by the D-NetX network to the first optical network unit is not less than the bandwidth required for the first optical network unit to be currently online; and... The second maximum bandwidth provided by the D-NetX network for the passive optical network (PON) is no less than the sum of the maximum bandwidths required by each ONU.
2. The method according to claim 1, characterized in that, 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 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, characterized in that, 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 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, characterized in that, The method further includes: 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, characterized in that, The method further includes: 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, characterized in that, 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, characterized in that, The service 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. 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 slicing determination device, characterized in that, The device includes: 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; if the service content corresponding to the candidate service slice is the same as the service information, then the candidate service slice is used as the first service slice; there is a slice mapping relationship between resource slices and service slices, and the resource slice corresponds to multiple service slices; 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; Wherein, obtaining the first resource slice of the first downlink port includes: Searching in the storage unit according to the tag of the first downlink port; if the tag of the downlink port corresponding to the candidate resource slice is the same as the tag of the first downlink port, then the candidate resource slice is used as the first resource slice of the first downlink port. Specifically, when it is necessary to determine the candidate resource slices corresponding to each downlink port of the first optical network unit, the resource slice D-NetX is matched according to the ONU-SN or ONU-MAC address of each downlink port, and D-NetX is identified; it is then determined whether D-NetX is suitable for the first optical network unit; if the following conditions are met, then D-NetX is determined to be suitable for the first optical network unit: The first maximum bandwidth provided by the D-NetX network to the first optical network unit is not less than the bandwidth required for the first optical network unit to be currently online; and... The second maximum bandwidth provided by the D-NetX network for the passive optical network (PON) is no less than the sum of the maximum bandwidths required by each ONU.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, 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.
11. A computer program product, comprising 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.
