Slice determination method and device, computer equipment and storage medium
By obtaining the resource slice and service slice of the lower link interface accessed by the terminal, the terminal's slice information is automatically determined, which solves the problem of limited definition of ONU granular slices in the prior art, realizes automatic allocation of resources and service slices, and improves the PON network flexibility and intelligence.
Patent Information
- Application Number
- CN202411432541.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-02-11
AI Technical Summary
The definition and description of ONU particle size slices in the prior art are relatively limited, resulting in the use of OLT-PON plate particle size slices and OLT-PON port particle size slices in practical applications, and the end-to-end slice adjustment is lacking in realizing the link adjustment under ONU. /Configuration method.
By obtaining the resource slice and service slice of the lower link interface accessed by the terminal, the terminal's slice information is automatically determined, and the automatic allocation of resource slices and service slices is realized.
The process of determining the corresponding resource slicing and business slicing of the terminal has been optimized, the business experience of industry customers has been improved, the flexibility and intelligence of the industrial PON network have been improved, and daily manual operation configuration has been reduced.
Smart Images

Figure CN119421073A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical communication technology, and in particular to a slice determination method, device, computer equipment and storage medium. Background Art
[0002] The current standard defines three granularities of PON (Passive Optical Network) slicing, namely OLT (Optical Line Terminal)-PON board granularity, OLT-PON port granularity and ONU (Optical Network Unit) granularity. However, the standard obviously provides a more comprehensive definition and description of OLT-PON board granularity slicing and OLT-PON port granularity slicing, while the definition and description of ONU granularity slicing are very limited, resulting in the main use of OLT-PON board granularity slicing and OLT-PON port granularity slicing in actual applications.
[0003] Therefore, it is very necessary to study the method of realizing ONU granularity slicing and the method of adjusting / configuring end-to-end slicing brought about by adjusting the ONU downlink port. Summary of the invention
[0004] Based on this, it is necessary to provide a slice determination method, device, computer equipment and storage medium that can realize the adjustment / configuration of end-to-end slices brought about by adjusting the ONU downlink port to address the above technical problems.
[0005] In a first aspect, the present application provides a slice determination method. The method comprises:
[0006] When the terminal accesses a first downlink port among the downlink ports of the first optical network unit, obtaining a first resource slice of the first downlink port;
[0007] Determine a first service slice corresponding to the terminal according to the service information corresponding to the terminal;
[0008] Determine the slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0009] In one of the embodiments, if the terminal switches from accessing the first downlink port to accessing a second downlink port among the downlink ports of the first optical network unit, a second resource slice corresponding to the second downlink port is obtained;
[0010] According to the second resource slice, the slice information of the terminal is updated.
[0011] In one of the embodiments, if the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, a third resource slice corresponding to the third downlink port is obtained;
[0012] According to the third resource slice, the slice information of the terminal is updated.
[0013] In one of the embodiments, verifying whether the service information corresponding to the terminal has changed;
[0014] If yes, determining the second service slice corresponding to the terminal according to the service information corresponding to the terminal after the change;
[0015] According to the second business slice, the slice information of the terminal is updated.
[0016] In one of the embodiments, when the first optical network unit is connected to an access network control system, an initial resource slice corresponding to each downlink port of the first optical network unit is determined;
[0017] Acquire resource information corresponding to each downlink port of the first optical network unit according to the initial resource slices corresponding to each downlink port of the first optical network unit;
[0018] According to the resource information corresponding to each downlink port of the first optical network unit, the resource slices corresponding to each downlink port of the first optical network unit are determined.
[0019] In one embodiment, the resource information includes at least one of an optical network unit supporting a maximum configuration or performance, an optical network unit that is online or running in real time, a maximum bandwidth supported by a passive optical network PON, and a maximum bandwidth supported by the optical network unit.
[0020] In one of the embodiments, the service information includes at least one of 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;
[0021] The identifiers include a general encapsulation method port identifier GEMPortID, a logical link identifier LLID and a virtual local area network identifier VLANID.
[0022] In a second aspect, the present application further provides a slice determination device. The device comprises:
[0023] An acquisition module, configured to acquire a first resource slice of a first downlink port among the downlink ports of a first optical network unit when a terminal accesses the first downlink port;
[0024] A first determination module, used to determine a first service slice corresponding to the terminal according to the service information corresponding to the terminal;
[0025] The second determination module is used to determine the slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0026] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0027] When the terminal accesses a first downlink port among the downlink ports of the first optical network unit, obtaining a first resource slice of the first downlink port;
[0028] Determine a first service slice corresponding to the terminal according to the service information corresponding to the terminal;
[0029] Determine the slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0030] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0031] When the terminal accesses a first downlink port among the downlink ports of the first optical network unit, obtaining a first resource slice of the first downlink port;
[0032] Determine a first service slice corresponding to the terminal according to the service information corresponding to the terminal;
[0033] Determine the slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0034] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0035] When the terminal accesses a first downlink port among the downlink ports of the first optical network unit, obtaining a first resource slice of the first downlink port;
[0036] Determine a first service slice corresponding to the terminal according to the service information corresponding to the terminal;
[0037] Determine the slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0038] The above-mentioned slice determination method, device, computer equipment and storage medium obtain the first resource slice of the first downlink port and the first service slice corresponding to the terminal; then, according to the first resource slice and the first service slice, determine the slice information corresponding to the terminal. According to the above content, the present application determines the first resource slice and the first service slice by the actual resource situation of the optical network unit and the actual service situation corresponding to the terminal. Then, in the process of determining the slice information corresponding to the terminal according to the first resource slice and the first service slice, the resource slice and the service slice corresponding to the terminal are automatically allocated, the process of determining the first resource slice and the first service slice corresponding to the terminal is optimized, the portability of determining the slice information corresponding to the terminal is ensured, the service experience of industry customers is improved, the flexibility and intelligence of the industrial PON network are improved, the daily manual operation configuration of the industrial PON network is reduced, and the demand of industry users for the convenience of industrial PON network operation is met. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] FIG1 is an application environment diagram of a slice determination method provided in an embodiment of the present application;
[0040] FIG2 is a schematic diagram of a flow chart of a first slice determination method provided in an embodiment of the present application;
[0041] FIG3 is a schematic diagram of the structure of a first slice determination method provided in an embodiment of the present application;
[0042] FIG4 is a schematic diagram of the structure of a second slice determination method provided in an embodiment of the present application;
[0043] FIG5 is a schematic diagram of a flow chart of a second slice determination method provided in an embodiment of the present application;
[0044] FIG6 is a schematic diagram of the structure of a third slice determination method provided in an embodiment of the present application;
[0045] FIG7 is a schematic diagram of a flow chart of a third slice determination method provided in an embodiment of the present application;
[0046] FIG8 is a schematic diagram of the structure of a fourth slice determination method provided in an embodiment of the present application;
[0047] FIG9 is a schematic flow chart of a fourth slice determination method provided in an embodiment of the present application;
[0048] FIG10 is a schematic diagram of a flow chart of a fifth slice determination method provided in an embodiment of the present application;
[0049] FIG11 is a schematic diagram of the structure of a fifth slice determination method provided in an embodiment of the present application;
[0050] FIG12 is a schematic flow chart of a sixth slice determination method provided in an embodiment of the present application;
[0051] FIG13 is a structural block diagram of a slice determination device provided in an embodiment of the present application;
[0052] FIG. 14 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0054] The slice determination method provided in the embodiment of the present application can be applied to the application environment shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the network. The 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 it can be placed on the cloud or other network servers. Obtain the first resource slice of the first downlink port, and the first business slice corresponding to the terminal; then, according to the first resource slice and the first business slice, determine the slice information corresponding to the terminal. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. Server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0055] In one embodiment, as shown in FIG. 2 , a slice determination method is provided, which is described by taking the method applied to the terminal 102 in FIG. 1 as an example, including the following steps:
[0056] S201: When a terminal accesses a first downlink port among downlink ports of a first optical network unit, obtain a first resource slice of the first downlink port.
[0057] It should be noted that in order 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. Furthermore, 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 the present application, a storage unit that records candidate resource slices corresponding to each downlink port of the first optical network unit can be pre-set. When it is necessary to determine the first resource slice of the first downlink port, it can be searched in the storage unit 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, the candidate resource slice is used as the first resource slice of the first downlink port.
[0059] Among them, resource slices are allocated to the corresponding resource slices D-NetX (X=0, 1, 2, 3, 4, 5, 6, 7, 8) according to the physical identifier (ONU-SN (ONU Serial Number) or ONU-MAC address).
[0060] To further illustrate, 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, to determine whether D-NetX is suitable for the ONU, calculation and analysis are required 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 capability provided by the D-NetX network for the ONU (D-NetX-max (ONU)) is not less than the bandwidth currently required by the ONU online (D-NetX-online (ONU)). The second condition ensures that the maximum bandwidth capability 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 all 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) of each ONU, calculate their sum, and 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, D-NetX is suitable for the ONU.
[0066] S202: Determine the first business slice corresponding to the terminal based on the business information corresponding to the terminal.
[0067] It should be noted that when it is necessary to determine the first business slice corresponding to the terminal, the business information corresponding to the terminal can be obtained in advance, and then compared one by one with at least one candidate business slice based on the business information. If the business content corresponding to a candidate business slice is the same as the business information, the candidate business slice will be used as the first business slice corresponding to the terminal.
[0068] The service information includes at least one of 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;
[0069] The identifiers include a general encapsulation method port identifier GEMPortID, a logical link identifier LLID and a virtual local area network identifier VLANID.
[0070] Among them, the business slice is assigned to the business slice NSIY (Y=0,1,2,3,4,5,6,7,8) according to the logical identifier (LOID registration code, Password)
[0071] To further illustrate, there is a slice mapping relationship between resource slices and service slices, which is as follows: through resource slices, OLT virtualizes up to 8 slices as resource slices D-NetX (X=0,1,2,3,4,5,6,7,8); under each resource slice, ONU is assigned to up to 8 service slices NSIY (Y=0,1,2,3,4,5,6,7,8) according to the 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 the present application, it is necessary to determine the first service slice corresponding to the terminal, customize the priority of the service slice information, match one by one from the highest priority information, and mark NSIY (Y=0,1,2,3,4,5,6,7,8). In exceptional cases, if the service slice information cannot be matched, it is automatically assigned to the default slice NSI0.
[0073] S203: Determine slice information corresponding to the terminal according to the first resource slice and the first service slice.
[0074] It should be noted that after determining the first resource slice and the first business slice, the first resource slice and the first business slice are used as the slice information corresponding to the terminal.
[0075] In one embodiment of the present application, as shown in Figure 3, the ONU can report the physical identifier corresponding to its own resource information to the access network control system that executes 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 based on the resource information, and feeds back the first resource slice to the ONU through the OLT.
[0076] In one embodiment of the present application, as shown in Figure 4, the terminal can report its own service information to the access network control system that executes 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.
[0077] The above-mentioned slice determination method obtains the first resource slice of the first downlink port and the first service slice corresponding to the terminal; then, according to the first resource slice and the first service slice, the slice information corresponding to the terminal is determined. According to the above content, the present application determines the first resource slice and the first service slice by the actual resource situation of the optical network unit and the actual service situation corresponding to the terminal. Then, in the process of determining the slice information corresponding to the terminal according to the first resource slice and the first service slice, the resource slice and the service slice corresponding to the terminal are automatically allocated, the process of determining the first resource slice and the first service slice corresponding to the terminal is optimized, the portability of determining the slice information corresponding to the terminal is ensured, the service experience of industry customers is improved, the flexibility and intelligence of the industrial PON network are enhanced, the daily manual operation configuration of the industrial PON network is reduced, and the demand of industry users for the convenience of industrial PON network operation is met.
[0078] In one embodiment, as shown in FIG. 5 , 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 following contents 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, a 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 based on the predetermined candidate resource slices corresponding to each downlink port of the first optical network unit.
[0081] Specifically, a storage unit that records candidate resource slices corresponding to each downlink port of the first optical network unit can be pre-set. When it is necessary to determine the second resource slice of the second downlink port, it can be searched in the storage unit 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, the candidate resource slice will be used as the second resource slice of the second downlink port.
[0082] Among them, the second resource slice may be the same as or different from the first resource slice, and the second resource slice is not limited here.
[0083] S502: Update the slice information of the terminal according to the second resource slice.
[0084] It should be noted that before updating the slice information of the terminal according to the second resource slice, it can be 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 slice information of the terminal is replaced with the second resource slice; if they are the same, there is no need to update the slice information of the terminal, or, when the slice information of the terminal carries the downlink port label of the first downlink port, the downlink port label of the first downlink port is replaced with the downlink port label of the second downlink port.
[0085] In one embodiment of the present application, as shown in Figure 6, 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 slice information of the terminal 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 slice.
[0086] The above-mentioned 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 slice information of the terminal according to the second resource slice.
[0087] In one embodiment, as shown in FIG. 7 , when the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, the following contents may be included:
[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, obtain a 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 based on the predetermined candidate resource slices corresponding to each downlink port of the second optical network unit.
[0090] Specifically, a storage unit that records candidate resource slices corresponding to each downlink port of the second optical network unit can be pre-set. When the second resource slice of the third downlink port needs to be determined, it can be searched in the storage unit 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, the candidate resource slice will be used as the third resource slice of the third downlink port.
[0091] Among them, the third resource slice may be the same as or different from the first resource slice, and the third resource slice is not limited here.
[0092] S702: Update the slice information of the terminal according to the third resource slice.
[0093] It should be noted that before updating the slice information of the terminal according to the third resource slice, it can be verified 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 slice information of the terminal is replaced with the third resource slice; if they are the same, there is no need to update the slice information of the terminal, or, when the slice information of the terminal carries the downlink port label of the first downlink port, the downlink port label of the first downlink port is replaced with the downlink port label of the third downlink port.
[0094] In one embodiment of the present application, as shown in Figure 8, 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 corresponding to the third downlink port is obtained, and it is verified 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 slice information of the terminal 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 slice.
[0095] The above-mentioned 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 to update the slice information of the terminal according to the third resource slice.
[0096] In one embodiment, as shown in FIG. 9 , when the service information corresponding to the terminal changes, the following contents may be included:
[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 business information corresponding to the terminal has changed, a business information acquisition request can be sent to the terminal periodically, so that after receiving the business information acquisition request, the terminal can feedback the latest business information to the access network control system that executes the slice determination method. After receiving the latest business information, the access network control system compares the latest business information with the historical business information to see if they are the same. If they are different, it is determined that the business information corresponding to the terminal has changed; if they are the same, it is determined that the business information corresponding to the terminal has not changed.
[0099] Among them, the period of sending the service information acquisition request to the terminal can be set or adjusted according to the actual situation and the historical operation experience of the access network, and the period of sending the service information acquisition request to the terminal is not limited here.
[0100] Further explanation: if it is pre-specified that after the terminal is connected to the ONU, if the service information changes, it is necessary to actively send a service information change description to the access network control system that executes the slice determination method. Therefore, if the access network control system that executes the slice determination method receives the service information change description, it is determined that the service information corresponding to the terminal has changed; if the access network control system that executes the slice determination method does not receive the service information change description, it is determined that the service information corresponding to the terminal has not changed.
[0101] S902: If yes, determine the second business slice corresponding to the terminal based on the business information corresponding to the changed terminal.
[0102] It should be noted that when it is necessary to determine the second business slice corresponding to the terminal based on the business information corresponding to the changed terminal, the priority corresponding to each candidate business slice can be pre-set. According to this priority, each candidate business slice can be matched one by one with the business information corresponding to the changed terminal. The obtained candidate business slice that matches the business information corresponding to the changed terminal is the second business slice corresponding to the terminal.
[0103] S903: Update the slice information of the terminal according to the second business slice.
[0104] It should be noted that before updating the slice information of the terminal according to the second business slice, it can be verified whether the second business slice is the same as the first business slice. If they are not the same, the first business slice in the slice information of the terminal is replaced with the second business slice; if the slice information of the terminal before the update is the first resource slice and the first business slice, the slice information of the terminal after the update is the first resource slice and the second business slice.
[0105] The above-mentioned slice determination method, when the business information corresponding to the terminal changes, determines the second business slice corresponding to the terminal according to the changed business information corresponding to the terminal, and then updates the slice information of the terminal according to the second business slice, thereby 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, and reducing the daily manual operation configuration of the industrial PON network.
[0106] In one embodiment, as shown in FIG. 10 , when it is necessary to determine the resource slices corresponding to each downlink port of the first optical network unit, the following contents may be specifically included:
[0107] S1001, when a first optical network unit is connected to an access network control system, determining 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 downstream port of the first optical network unit can be successfully obtained in the future, the initial resource slices corresponding to each downstream port of the first optical network unit can be pre-specified when the first optical network unit is connected to the access network control system, so as to determine the initial resource slices corresponding to each downstream port of the first optical network unit when the first optical network unit is connected to the access network control system.
[0109] As shown in FIG. 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 a pre-set access rule.
[0110] S1002: Acquire resource information corresponding to each downlink port of the first optical network unit according to initial resource slices corresponding to each downlink port of the first optical network unit.
[0111] The resource information includes at least one of an optical network unit supporting a maximum configuration or performance, an optical network unit in an online state or in real-time operation, a maximum bandwidth supported by a passive optical network PON, and a maximum bandwidth supported by an optical network unit.
[0112] S1003: Determine resource slices corresponding to each downlink port of the first optical network unit according to resource information 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 downstream port of the first optical network unit, the priority corresponding to each candidate service slice can be pre-set. According to this priority, each candidate service slice can be matched one by one with the resource information corresponding to each downstream port of the first optical network unit. The obtained candidate service slices that match the resource information corresponding to each downstream port of the first optical network unit and the candidate service slices that match the resource information corresponding to each downstream port are the resource slices corresponding to each downstream port.
[0114] The above-mentioned slice determination method obtains the resource information corresponding to each downstream port of the first optical network unit according to the initial resource slices corresponding to each downstream port of the first optical network unit, and then determines the resource slices corresponding to each downstream port of the first optical network unit according to the resource information corresponding to each downstream port of the first optical network unit, thereby 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 the daily manual operation configuration of the industrial PON network, and meeting the needs of industry users for convenient operation of the industrial PON network.
[0115] In an embodiment, as shown in FIG. 12 , when it is necessary to determine the slice information corresponding to the terminal, the following contents may be specifically included:
[0116] S1201: When a first optical network unit is connected to an access network control system, determine initial resource slices corresponding to each downlink port of the first optical network unit.
[0117] S1202: Acquire resource information corresponding to each downlink port of the first optical network unit according to initial resource slices corresponding to each downlink port of the first optical network unit.
[0118] S1203: Determine resource slices corresponding to each downlink port of the first optical network unit according to resource information corresponding to each downlink port of the first optical network unit.
[0119] S1204: When the terminal accesses a first downlink port among the downlink ports of the first optical network unit, obtain a first resource slice of the first downlink port.
[0120] S1205: Determine the first business slice corresponding to the terminal based on the business information corresponding to the terminal.
[0121] S1206: Determine the slice information corresponding to the terminal according to the first resource slice and the first service slice.
[0122] The above-mentioned slice determination method obtains the first resource slice of the first downlink port and the first service slice corresponding to the terminal; then, according to the first resource slice and the first service slice, the slice information corresponding to the terminal is determined. According to the above content, the present application determines the first resource slice and the first service slice by the actual resource situation of the optical network unit and the actual service situation corresponding to the terminal. Then, in the process of determining the slice information corresponding to the terminal according to the first resource slice and the first service slice, the resource slice and the service slice corresponding to the terminal are automatically allocated, the process of determining the first resource slice and the first service slice corresponding to the terminal is optimized, the portability of determining the slice information corresponding to the terminal is ensured, the service experience of industry customers is improved, the flexibility and intelligence of the industrial PON network are enhanced, the daily manual operation configuration of the industrial PON network is reduced, and the demand of industry users for the convenience of industrial PON network operation is met.
[0123] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0124] Based on the same inventive concept, the embodiment of the present application also provides a slice determination device for implementing the slice determination method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more slice determination device embodiments provided below can refer to the limitations of the slice determination method above, and will not be repeated here.
[0125] In one embodiment, as shown in FIG13 , a slice 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 a first resource slice of a first downlink port when a terminal accesses a first downlink port among the downlink ports of a first optical network unit.
[0127] The first determination module 20 is used to determine the first business slice corresponding to the terminal based on the business information corresponding to the terminal.
[0128] The second determination module 30 is used to determine the slice information corresponding to the terminal according to 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, a second resource slice corresponding to the second downlink port is obtained;
[0130] According to the second resource slice, the slice information of the terminal is updated.
[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, a third resource slice corresponding to the third downlink port is obtained;
[0132] According to the third resource slice, the slice information of the terminal is updated.
[0133] In one embodiment, verifying whether service information corresponding to the terminal has changed;
[0134] If yes, determine the second service slice corresponding to the terminal according to the service information corresponding to the changed terminal;
[0135] According to the second business slice, the slice information of the terminal is updated.
[0136] In one embodiment, when the first optical network unit is connected to the access network control system, determining the initial resource slices corresponding to each downlink port of the first optical network unit;
[0137] Acquire resource information corresponding to each downlink port of the first optical network unit according to the initial resource slices corresponding to each downlink port of the first optical network unit;
[0138] According to the resource information corresponding to each downlink port of the first optical network unit, the resource slices corresponding to each downlink port of the first optical network unit are determined.
[0139] In one embodiment, the resource information includes at least one of an optical network unit supporting a maximum configuration or performance, an optical network unit that is online or running in real time, a maximum bandwidth supported by a passive optical network PON, and a maximum bandwidth supported by an optical network unit.
[0140] In one embodiment, the service information includes at least one of 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;
[0141] The identifiers include a general encapsulation method port identifier GEMPortID, a logical link identifier LLID and a virtual local area network identifier VLANID.
[0142] The above-mentioned slice determination device obtains the first resource slice of the first downlink port and the first service slice corresponding to the terminal; then, according to the first resource slice and the first service slice, the slice information corresponding to the terminal is determined. According to the above content, the present application determines the first resource slice and the first service slice by the actual resource situation of the optical network unit and the actual service situation corresponding to the terminal. Then, in the process of determining the slice information corresponding to the terminal according to the first resource slice and the first service slice, the resource slice and the service slice corresponding to the terminal are automatically allocated, the process of determining the first resource slice and the first service slice corresponding to the terminal is optimized, the portability of determining the slice information corresponding to the terminal is ensured, the service experience of industry customers is improved, the flexibility and intelligence of the industrial PON network are enhanced, the daily manual operation configuration of the industrial PON network is reduced, and the demand of industry users for the convenience of industrial PON network operation is met.
[0143] Each module in the above-mentioned slice determination device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0144] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG14. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a slice determination method is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0145] Those skilled in the art will understand that the structure shown in FIG. 14 is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0146] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0147] When the terminal accesses a first downlink port among the downlink ports of the first optical network unit, obtaining a first resource slice of the first downlink port;
[0148] Determine a first service slice corresponding to the terminal according to the service information corresponding to the terminal;
[0149] Determine the slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0150] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0151] If the terminal switches from accessing the first downlink port to accessing a second downlink port among the downlink ports of the first optical network unit, obtaining a second resource slice corresponding to the second downlink port;
[0152] According to the second resource slice, the slice information of the terminal is updated.
[0153] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0154] If the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, obtaining a third resource slice corresponding to the third downlink port;
[0155] According to the third resource slice, the slice information of the terminal is updated.
[0156] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0157] Verify whether the business information corresponding to the terminal has changed;
[0158] If yes, determine the second service slice corresponding to the terminal according to the service information corresponding to the changed terminal;
[0159] According to the second business slice, the slice information of the terminal is updated.
[0160] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0161] When the first optical network unit is connected to the access network control system, determining the initial resource slices corresponding to each downlink port of the first optical network unit;
[0162] Acquire resource information corresponding to each downlink port of the first optical network unit according to the initial resource slices corresponding to each downlink port of the first optical network unit;
[0163] According to the resource information corresponding to each downlink port of the first optical network unit, the resource slices corresponding to each downlink port of the first optical network unit are determined.
[0164] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0165] The resource information includes at least one of an optical network unit supporting a maximum configuration or performance, an optical network unit in an online state or in real-time operation, a maximum bandwidth supported by a passive optical network PON, and a maximum bandwidth supported by an optical network unit.
[0166] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0167] The service information includes at least one of 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;
[0168] The identifiers include a general encapsulation method port identifier GEMPortID, a logical link identifier LLID and a virtual local area network identifier VLANID.
[0169] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0170] When the terminal accesses a first downlink port among the downlink ports of the first optical network unit, obtaining a first resource slice of the first downlink port;
[0171] Determine a first service slice corresponding to the terminal according to the service information corresponding to the terminal;
[0172] Determine the slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0173] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0174] If the terminal switches from accessing the first downlink port to accessing a second downlink port among the downlink ports of the first optical network unit, obtaining a second resource slice corresponding to the second downlink port;
[0175] According to the second resource slice, the slice information of the terminal is updated.
[0176] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0177] If the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, obtaining a third resource slice corresponding to the third downlink port;
[0178] According to the third resource slice, the slice information of the terminal is updated.
[0179] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0180] Verify whether the business information corresponding to the terminal has changed;
[0181] If yes, determine the second service slice corresponding to the terminal according to the service information corresponding to the changed terminal;
[0182] According to the second business slice, the slice information of the terminal is updated.
[0183] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0184] When the first optical network unit is connected to the access network control system, determining the initial resource slices corresponding to each downlink port of the first optical network unit;
[0185] Acquire resource information corresponding to each downlink port of the first optical network unit according to the initial resource slices corresponding to each downlink port of the first optical network unit;
[0186] According to the resource information corresponding to each downlink port of the first optical network unit, the resource slices corresponding to each downlink port of the first optical network unit are determined.
[0187] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0188] The resource information includes at least one of an optical network unit supporting a maximum configuration or performance, an optical network unit in an online state or in real-time operation, a maximum bandwidth supported by a passive optical network PON, and a maximum bandwidth supported by an optical network unit.
[0189] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0190] The service information includes at least one of 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;
[0191] The identifiers include a general encapsulation method port identifier GEMPortID, a logical link identifier LLID and a virtual local area network identifier VLANID.
[0192] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0193] When the terminal accesses a first downlink port among the downlink ports of the first optical network unit, obtaining a first resource slice of the first downlink port;
[0194] Determine a first service slice corresponding to the terminal according to the service information corresponding to the terminal;
[0195] Determine the slice information corresponding to the terminal based on the first resource slice and the first service slice.
[0196] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0197] If the terminal switches from accessing the first downlink port to accessing a second downlink port among the downlink ports of the first optical network unit, obtaining a second resource slice corresponding to the second downlink port;
[0198] According to the second resource slice, the slice information of the terminal is updated.
[0199] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0200] If the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, obtaining a third resource slice corresponding to the third downlink port;
[0201] According to the third resource slice, the slice information of the terminal is updated.
[0202] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0203] Verify whether the business information corresponding to the terminal has changed;
[0204] If yes, determine the second service slice corresponding to the terminal according to the service information corresponding to the changed terminal;
[0205] According to the second business slice, the slice information of the terminal is updated.
[0206] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0207] When the first optical network unit is connected to the access network control system, determining the initial resource slices corresponding to each downlink port of the first optical network unit;
[0208] Acquire resource information corresponding to each downlink port of the first optical network unit according to the initial resource slices corresponding to each downlink port of the first optical network unit;
[0209] According to the resource information corresponding to each downlink port of the first optical network unit, the resource slices corresponding to each downlink port of the first optical network unit are determined.
[0210] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0211] The resource information includes at least one of an optical network unit supporting a maximum configuration or performance, an optical network unit in an online state or in real-time operation, a maximum bandwidth supported by a passive optical network PON, and a maximum bandwidth supported by an optical network unit.
[0212] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0213] The service information includes at least one of 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;
[0214] The identifiers include a general encapsulation method port identifier GEMPortID, a logical link identifier LLID and a 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, stored data, displayed data, 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 relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0216] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium 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), magnetoresistive 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0217] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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 only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A slice determination method, characterized in that: The method comprises: When the terminal accesses a first downlink port among the downlink ports of the first optical network unit, obtaining a first resource slice of the first downlink port; Determine a first service slice corresponding to the terminal according to the service information corresponding to the terminal; Determine the slice information corresponding to the terminal based on the first resource slice and the first service slice.
2. The method according to claim 1, characterized in that The method further comprises: If the terminal switches from accessing the first downlink port to accessing a second downlink port among the downlink ports of the first optical network unit, obtaining a second resource slice corresponding to the second downlink port; According to the second resource slice, the slice information of the terminal is updated.
3. The method according to claim 1, characterized in that The method further comprises: If the terminal switches from accessing the first optical network unit to accessing the third downlink port of the second optical network unit, obtaining a third resource slice corresponding to the third downlink port; According to the third resource slice, the slice information of the terminal is updated.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Verify whether the service information corresponding to the terminal has changed; If yes, determining the second service slice corresponding to the terminal according to the service information corresponding to the terminal after the change; According to the second business slice, the slice information of the terminal is updated.
5. The method according to claim 1, characterized in that The method further comprises: When the first optical network unit is connected to an access network control system, determining initial resource slices corresponding to each downlink port of the first optical network unit; Acquire resource information corresponding to each downlink port of the first optical network unit according to the initial resource slices corresponding to each downlink port of the first optical network unit; According to the resource information corresponding to each downlink port of the first optical network unit, the resource slices corresponding to each downlink port of the first optical network unit are determined.
6. The method according to claim 5, characterized in that The resource information includes at least one of an optical network unit supporting a maximum configuration or performance, an optical network unit that is online or in real-time operation, a maximum bandwidth supported by a passive optical network PON, and a maximum bandwidth supported by an optical network unit.
7. The method according to claim 1, characterized in that The service information includes at least one of 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; The identifiers include a general encapsulation method port identifier GEMPortID, a logical link identifier LLID and a virtual local area network identifier VLANID.
8. A slice determination device, characterized in that: The device comprises: An acquisition module, configured to acquire a first resource slice of a first downlink port among the downlink ports of a first optical network unit when a terminal accesses the first downlink port; A first determination module, used to determine a first service slice corresponding to the terminal according to the service information corresponding to the terminal; The second determination module is used to determine the slice information corresponding to the terminal based on the first resource slice and the first service slice.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Service configuration method and system for optical network unit
CN102546221A
Virtual resource slice management method and apparatus of power optical fiber access network
CN108111931A
Dynamic slice management method and device based on network auto-negotiation
CN111865671A
Virtualization method and device
CN112770196A
Bandwidth allocation method and system and optical line terminal
CN112887107A
Cited By
Slice determination method and apparatus, computer device, and storage medium
WO2026081979A1