Method for processing multicast message, OLT device, ONU device and storage medium
By encrypting multicast messages on the OLT device and using a key mechanism, the problem of the ONU device being unable to distinguish multicast messages is solved, enabling on-demand reception of multicast messages and improving transmission performance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-23
- Publication Date
- 2026-04-14
AI Technical Summary
In optical access networks, ONU devices cannot distinguish between multicast messages from different operators, leading to problems such as receiving unwanted multicast messages or repeatedly receiving the same multicast message.
By encrypting multicast messages on the OLT device and using a key mechanism, ONU devices carrying matching keys can decrypt and transmit the required multicast messages, while ONU devices with mismatched keys discard the encrypted messages.
It improves the transmission performance of multicast messages, avoids the ONU device from parsing all multicast messages, reduces unnecessary data processing, and improves transmission efficiency.
Smart Images

Figure CN113840185B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to, but are not limited to, the field of information processing technology, and particularly to a multicast message processing method, an OLT device, an ONU device, and a computer-readable storage medium. Background Technology
[0002] In optical access networks, network slicing technology and applications are primarily manifested in Optical Line Terminal (OLT) equipment, which can virtualize a single physical OLT into multiple sliced OLTs. Operators owning OLT equipment are called infrastructure operators, while operators sharing OLT equipment to conduct business are called virtual network operators (MVNOs). Infrastructure operators can use sliced OLTs to connect to the OSS (Operational Support System) of each MVNO to achieve independent service provisioning and operation and maintenance, while users can independently choose their preferred MVNO for broadband access and services.
[0003] When a sliced OLT runs multicast services, it copies multicast packets to the physical PON (Passive Optical Network) port. Each ONU (Optical Network Unit) under this physical PON port must receive and parse all multicast packets. When different operators use the same MVLAN (Multicast Virtual Local Area Network) and the same multicast group address, the downstream ONU devices cannot distinguish which multicast packets are sent by their selected operator. Therefore, they parse all packets and forward them to the set-top box, which can result in receiving the same multicast packet twice or receiving unwanted multicast packets. Summary of the Invention
[0004] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of the claims.
[0005] This invention provides a multicast message processing method, an OLT device, an ONU device, and a computer-readable storage medium, which enables the ONU device to receive multicast messages on demand, thereby improving the transmission performance of multicast messages.
[0006] In a first aspect, embodiments of the present invention provide a multicast message processing method applied to an OLT device, the method comprising:
[0007] Encrypt the multicast message to obtain an encrypted message;
[0008] The encrypted message is sent to the ONU device in the multicast group member list, so that the ONU device carrying the key that matches the encrypted message can decrypt the encrypted message and send the decrypted multicast message to the user-side interface.
[0009] Secondly, embodiments of the present invention also provide a multicast message processing method applied to an ONU device, the method comprising:
[0010] Obtain encrypted messages from the OLT device, wherein the encrypted messages are obtained by the OLT device encrypting multicast messages;
[0011] The encrypted message is decrypted using a key that matches the encrypted message, and the decrypted multicast message is sent to the user-side interface.
[0012] Thirdly, embodiments of the present invention also provide an OLT device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the multicast message processing method as described in the first aspect above.
[0013] Fourthly, embodiments of the present invention also provide an ONU device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the multicast message processing method as described in the second aspect above.
[0014] Fifthly, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions for performing the multicast message processing method as described above.
[0015] This invention includes the following steps: an OLT device encrypts a multicast message to obtain an encrypted message; then, the OLT device sends the encrypted message to an ONU device in the multicast group member list, so that the ONU device carrying a key matching the encrypted message can decrypt the encrypted message and send the decrypted multicast message to the user-side interface. According to the solution provided by this invention, when the OLT device sends an encrypted message, if the downstream ONU device carries a key matching the encrypted message, then the ONU device can decrypt the encrypted message using the key. The successfully decrypted multicast message is the multicast message required by the ONU device, and the ONU device will then send the decrypted multicast message to the user-side interface. If the downstream ONU device does not carry a key matching the encrypted message, then the ONU device cannot decrypt the encrypted message, indicating that the undecrypted multicast message is not the multicast message required by the ONU device, and the undecrypted encrypted message will be discarded. Therefore, the embodiments of the present invention enable ONU devices to receive multicast messages on demand using a key, without having to parse all multicast messages, thereby improving the transmission performance of multicast messages.
[0016] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the description, claims, and drawings. Attached Figure Description
[0017] The accompanying drawings are provided to further understand the technical solutions of the present invention and constitute a part of the specification. They are used together with the embodiments of the present invention to explain the technical solutions of the present invention, and do not constitute a limitation on the technical solutions of the present invention.
[0018] Figure 1 This is a schematic diagram of a system architecture platform for performing a multicast message processing method according to an embodiment of the present invention;
[0019] Figure 2 This is a flowchart of a multicast message processing method provided in an embodiment of the present invention;
[0020] Figure 3 This is a schematic diagram of the message structure of a multicast message provided in another embodiment of the present invention;
[0021] Figure 4 This is a flowchart of a multicast message processing method provided in another embodiment of the present invention;
[0022] Figure 5 This is a flowchart of a multicast message processing method provided in another embodiment of the present invention;
[0023] Figure 6 This is a flowchart of a multicast message processing method provided in another embodiment of the present invention;
[0024] Figure 7 This is a flowchart of a multicast message processing method provided in another embodiment of the present invention;
[0025] Figure 8 This is a flowchart of a multicast message processing method provided in an embodiment of the present invention;
[0026] Figure 9 This is a flowchart of a multicast message processing method provided in another embodiment of the present invention;
[0027] Figure 10 This is a flowchart of a multicast message processing method provided in another embodiment of the present invention;
[0028] Figure 11 This is a flowchart of a multicast message processing method provided in another embodiment of the present invention;
[0029] Figure 12 This is a flowchart of a multicast message processing method provided in another embodiment of the present invention;
[0030] Figure 13 This is a flowchart of a multicast message processing method provided in another embodiment of the present invention;
[0031] Figure 14 This is a flowchart of a multicast message processing method provided in another embodiment of the present invention;
[0032] Figure 15 This is a flowchart of a multicast message processing method provided in another embodiment of the present invention. Detailed Implementation
[0033] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0034] It should be noted that although functional modules are divided in the device schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first," "second," etc., in the specification, claims, or the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0035] This invention provides a multicast message processing method, an OLT device, an ONU device, and a computer-readable storage medium. The OLT device can encrypt multicast messages to obtain encrypted messages. The OLT device can then send the encrypted messages to ONU devices in the multicast group member list. If the downstream ONU device carries a key matching the encrypted message, it can decrypt the encrypted message using the key, obtain the required multicast message, and send it to the user-side interface. If the downstream ONU device does not carry a key matching the encrypted message, it cannot decrypt the encrypted message, indicating that the undecrypted multicast message is not the required multicast message, and will be discarded. Therefore, this invention enables ONU devices to receive multicast messages on demand using a key, without needing to parse all multicast messages, thereby improving multicast message transmission performance.
[0036] The embodiments of the present invention will be further described below with reference to the accompanying drawings.
[0037] like Figure 1 As shown, Figure 1 This is a schematic diagram of a system architecture platform for performing a multicast message processing method according to an embodiment of the present invention.
[0038] exist Figure 1 In this example, the system architecture platform includes an OLT device 100 and an ONU device 200. Both the OLT device 100 and the ONU device 200 are equipped with a memory 120 and a processor 110, which can be connected via a bus or other means. Figure 1 Taking the example of a connection between China and Israel via a bus.
[0039] Memory 120, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory 120 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 120 may optionally include memory remotely located relative to processor 110, and these remote memories can be connected to the system architecture platform via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0040] In related technologies, network slicing technology and applications are mainly reflected in OLT devices 100, which can virtualize a single physical OLT device 100 into multiple sliced OLTs. The operator that owns the OLT device 100 is called the infrastructure operator, and the operator that shares the OLT device 100 to conduct business is called the virtual network operator. The infrastructure operator can use sliced OLTs to connect to the OSS of each virtual operator to achieve independent service provisioning and operation and maintenance, while users can independently choose their preferred virtual operator for broadband access and services.
[0041] When the sliced OLT runs multicast services, it copies multicast packets to the physical PON port. Each ONU device 200 under this physical PON port must receive and parse all multicast packets. When different operators use the same MVLAN and the same multicast group address, the downstream ONU device 200 cannot distinguish which multicast packets are sent by its selected operator. Therefore, it will parse all packets and forward them to the set-top box. This can result in the same multicast packet being received twice, or receiving unwanted multicast packets.
[0042] Therefore, based on the above situation, in Figure 1 In the system architecture platform provided in the example, the OLT device 100 can encrypt multicast messages to obtain encrypted messages. Then, the OLT device 100 can send the encrypted messages to the ONU device 200 in the multicast group member list. If the ONU device 200 carries a key matching the encrypted message, it can decrypt the encrypted message using the key, obtain the required multicast message, and send it to the user-side interface. If the ONU device 200 does not carry a key matching the encrypted message, it cannot decrypt the encrypted message, indicating that the undecrypted multicast message is not the required multicast message, and will be discarded. Therefore, this embodiment of the invention enables the ONU device 200 to receive multicast messages on demand using a key, without needing to parse all multicast messages, thereby improving the transmission performance of multicast messages.
[0043] Those skilled in the art will understand that this system architecture platform can be applied to 3G communication network systems, LTE communication network systems, 5G communication network systems and subsequent evolved mobile communication network systems, etc., and this embodiment does not specifically limit it in this regard.
[0044] It will be understood by those skilled in the art that Figure 1 The system architecture platform shown does not constitute a limitation on the embodiments of the present invention, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0045] exist Figure 1 In the system architecture platform shown, processor 110 can call the multicast message processing program stored in memory 120 to execute the multicast message processing method.
[0046] Based on the above system architecture platform, various embodiments of the multicast message processing method of the present invention are proposed below.
[0047] like Figure 2 As shown, Figure 2 This is a flowchart of a multicast message processing method provided in an embodiment of the present invention. The multicast message processing method can be applied to OLT devices, including but not limited to steps S100 and S200.
[0048] Step S100: Encrypt the multicast message to obtain an encrypted message;
[0049] Step S200: Send the encrypted message to the ONU device in the multicast group member list so that the ONU device carrying the key matching the encrypted message can decrypt the encrypted message and send the decrypted multicast message to the user-side interface.
[0050] In one embodiment, when the OLT device is running a multicast service, the OLT device can encrypt the multicast packets to obtain encrypted packets, and send the encrypted packets through the physical PON port to all ONU devices under that physical PON port. ONU devices not present in the multicast group member list will discard the encrypted packets, while ONU devices already present in the multicast group member list will receive the encrypted packets, thus ensuring that the encrypted packets are successfully sent to the ONU devices in the multicast group member list. If the encrypted packets are sent by an operator selected by some of the ONU devices in the multicast group member list, therefore, this embodiment of the invention... In this multicast group member list, only ONU devices that carry a key matching the encrypted message can successfully decrypt the encrypted message. This indicates that the successfully decrypted multicast message is the multicast message required by the ONU device, and the decrypted multicast message is sent to the user-side interface, which then sends it to the set-top box. ONU devices that do not carry a key matching the encrypted message in their multicast group member list cannot decrypt the encrypted message, indicating that the undecrypted multicast message is not the multicast message required by the ONU device, and will therefore discard the undecrypted encrypted message without parsing it. Therefore, this embodiment of the invention enables ONU devices to receive multicast messages on demand using a key, without needing to parse all multicast messages, thereby improving the transmission performance of multicast messages.
[0051] For example, when the OLT device connects to the OSS of the first operator, and the OLT device is running multicast services, the OLT device will encrypt the multicast messages of the first operator to obtain encrypted messages. These encrypted messages will then be sent via the physical PON port to all ONU devices that exist in the multicast group member list under that physical PON port. If the multicast group member list includes both the first ONU device and the second ONU device, where the operator corresponding to the first ONU device is the first operator, but the operator corresponding to the second ONU device is not, only the first ONU device will carry the key corresponding to the encrypted message. Therefore, the first ONU device can decrypt the encrypted message using the key. Since the second ONU device does not have the key corresponding to the encrypted message, it cannot decrypt the encrypted message and will discard the undecrypted encrypted message without further processing.
[0052] It is worth noting that the format of the aforementioned multicast messages may include, but is not limited to, references to... Figure 3 The format of the multicast message shown includes a GEM frame header and a payload segment. The GEM frame header includes, but is not limited to, a payload length indicator field, a port identifier field, a payload type indicator field, and a header error control field. The payload segment is used to fill the encrypted multicast message.
[0053] In another embodiment, when the OLT device is configured with at least two slice OLTs, each slice OLT uses a different encryption algorithm to encrypt its own multicast messages. Each ONU device in the multicast group member list corresponds to a slice OLT, and each ONU device carries a key that matches the encryption algorithm used by the corresponding slice OLT.
[0054] In one embodiment, when an OLT device needs to connect to multiple operators simultaneously, the OLT device can be virtualized into multiple slice OLTs, with each operator and slice OLT corresponding one-to-one. When different operators use the same multicast VLAN and the same multicast group address, each slice OLT will use its own encryption algorithm to encrypt the multicast packets of its respective operator, resulting in multiple encrypted packets. These encrypted packets will then be sent through the physical PON port to all ONU devices under that physical PON port. ONU devices not present in the multicast group member list will discard the encrypted packets. ONU devices already in the multicast group member list will receive encrypted messages, allowing multiple encrypted messages to be successfully sent to ONU devices in the multicast group member list. Since each ONU device in the multicast group member list is associated with one operator, each ONU device in the list can only decrypt encrypted messages from its associated operator using its corresponding key, and cannot decrypt encrypted messages from other operators. If decryption is successful, the decrypted multicast message will be sent to the user-side interface; if decryption fails, the undecrypted encrypted message will be discarded without further parsing. Therefore, this embodiment of the invention enables each ONU device to receive multicast messages from its corresponding operator on demand using a key, without needing to parse all multicast messages, thereby improving the transmission performance of multicast messages.
[0055] It's worth noting that the aforementioned slicing OLT is used to logically divide the physical network, virtualizing multiple logical devices on a single physical device. This reduces redundant network investment and enables service aggregation, security isolation, and differentiated services. Slicing OLTs can be categorized into PON board-level slicing, PON port-level slicing, ONU-level slicing, and hybrid-mode slicing, depending on the slicing granularity. From the perspective of maximizing shared access network infrastructure resources, infrastructure operators can use ONU-level slicing granularity to connect with various virtual operator OSS systems for independent service provisioning and maintenance. Besides sharing OLT equipment and access data centers, they can also share fiber optic pipelines, ODN (Optical Distribution Network), and other critical resources. Furthermore, infrastructure operators can maximize investment value, and users can independently choose their preferred virtual operator broadband access and services.
[0056] Additionally, refer to Figure 4 In one embodiment, prior to step S100, the multicast message processing method may include, but is not limited to, steps S410, S420, S430, and S440.
[0057] Step S410: Generate a key according to a preset encryption algorithm;
[0058] Step S420: Obtain the join message information from the ONU device;
[0059] Step S430: Add the ONU device to the multicast group member list according to the join message information;
[0060] Step S440: Exchange key information with the ONU device to send the key to the ONU device.
[0061] In one embodiment, after the OLT device enables multicast, it generates a key according to a preset encryption algorithm. Then, the OLT device listens for join messages from the downstream ONU, such as IGMP (Internet Group Management Protocol) join messages. If the OLT device receives a join message from the ONU device, it adds the corresponding interface of the ONU device to the multicast group member list. The OLT device then sends the generated key to the ONU device by exchanging key information with the ONU device, thereby realizing the key transmission from the OLT device to the ONU device.
[0062] It is worth noting that when an OLT device has multiple slice OLTs, once the multicast function is enabled on a slice OLT, the slice OLT will generate, store, and activate keys. Specifically, each slice OLT independently generates its own key according to its preset encryption algorithm, ensuring that each slice OLT's key is unique. The new key is then stored in the backup key register within the slice OLT. Finally, the contents of the backup key register are copied to the activation key register within the slice OLT for key activation.
[0063] It is understandable that when an ONU device is added or its lease is renewed, the aforementioned add message information will be sent to the OLT device.
[0064] Additionally, refer to Figure 5 In one embodiment, step S440 includes, but is not limited to, steps S510, S520, S530 and S540.
[0065] Step S510: Send a key notification message to the ONU device so that the ONU device generates a key request message based on the key notification message;
[0066] Step S520: Obtain the key request message from the ONU device;
[0067] Step S530: Send the key to the ONU device according to the key request message, so that the ONU device can generate key confirmation information based on the key;
[0068] Step S540: Obtain key confirmation information from the ONU device.
[0069] In one embodiment, the segmented OLT can send a key notification message to a newly joined or renewed ONU device via a unicast channel. Upon receiving the key notification message, the ONU device sends a key request message to the segmented OLT via the unicast channel. If the segmented OLT receives the key request message from the ONU device, it assumes that the newly joined or renewed ONU device can receive encrypted multicast messages. The segmented OLT then responds by sending the key to the newly joined or renewed ONU device via the unicast channel. Once the ONU device obtains the key, it sends a key confirmation message to the segmented OLT via the unicast channel. If the segmented OLT receives the key confirmation message from the ONU device, it assumes that the ONU device can decrypt the encrypted multicast message. Therefore, the segmented OLT can subsequently encrypt the multicast messages to be forwarded and then forward them via the multicast channel. If there are already other members in the multicast group and the encrypted multicast message has already been sent, the segmented OLT does not need to send another encrypted multicast message; it only needs to maintain its multicast group member list.
[0070] It is worth noting that the processing flow for normal ONU device leave messages, special query messages for multicast groups, and normal multicast messages is the same, and will not be discussed further in this embodiment. The general query message processing flow is the same as the join message processing flow of this invention, and will not be discussed further in this embodiment either.
[0071] It should be noted that the communication between the sliced OLT and the ONU devices is achieved through a unicast channel in steps S510 to S540 above. When the sliced OLT executes steps S510 to S540, that is, when the sliced OLT is running unicast services, the downlink data is broadcast. All ONU devices under the same physical PON port can receive the same data. However, the GEM Port ID (GPON Encapsulation Mode Port Identifier) corresponding to each ONU device under the same physical PON port is different. For example, the GEM Port IDs of ONU devices under the same physical PON port are assigned starting from 129 and are not 4095. ONU devices can filter and only receive data that belongs to them through the GEM Port ID.
[0072] Accordingly, step S200 is implemented via multicast. Due to the characteristics of PON networks and sliced OLTs, the sliced OLT system copies the multicast message to its corresponding physical PON port. For example, the GEM Port ID of the message is the broadcast ID, such as 4095. Each ONU device under this physical PON port will receive the multicast message.
[0073] It is understood that the specific message formats for the aforementioned key notification messages, key request messages, keys, and key confirmation information can be PLOAM (Physical Layer Operations Administration and Maintenance), OMCI (ONU Management and Control Interface), or ordinary data packets, etc., and this embodiment of the invention does not impose any particular limitations. When using the PLOAM format to send keys, due to the limited length of PLOAM messages, the key will be sent in two parts, using a fragment field to indicate which part of the key is being sent.
[0074] Additionally, refer to Figure 6 and Figure 7 In one embodiment, during the execution of step S440, the multicast message processing method further includes... Figure 6 Step S600 or Figure 7 Step S700 in the process.
[0075] Step S600: If the number of times the key notification message is sent reaches the first preset number and no key request message is received from the ONU device, send a key synchronization failure message to the ONU device and remove the ONU device from the multicast group member list;
[0076] In one embodiment, if the slice OLT does not receive a key request message from a newly joined or renewed ONU device within a given time, it will send a key notification message to the ONU device via a unicast channel and wait for the ONU device's key request message. If, after the number of key notification messages sent reaches a first preset number, such as three times, the key request message from the ONU device is still not received, the slice OLT will send a key synchronization failure message to the ONU device via a unicast channel and remove the corresponding interface of the ONU device from the multicast group member list.
[0077] In step S700, if the number of key transmissions reaches the second preset number and no key confirmation information is obtained from the ONU device, a key synchronization failure message is sent to the ONU device, and the ONU device is removed from the multicast group member list.
[0078] In one embodiment, if the slice OLT does not receive key confirmation information from a newly joined or renewed ONU device within a given time, it will resend the key to the ONU device via a unicast channel. If, after the key is sent a second preset number of times, such as three times, the key confirmation information from the ONU device is still not received, the slice OLT will send a key synchronization failure message to the ONU device via a unicast channel and remove the corresponding interface of the ONU from the multicast group member list.
[0079] like Figure 8 As shown, Figure 8 This is a flowchart of a multicast message processing method provided in an embodiment of the present invention. The multicast message processing method can be applied to ONU devices, including but not limited to steps S800 and S900.
[0080] Step S800: Obtain the encrypted message from the OLT device. The encrypted message is obtained by the OLT device encrypting the multicast message.
[0081] Step S900: Decrypt the encrypted message using a key that matches the encrypted message and send the decrypted multicast message to the user-side interface.
[0082] In one embodiment, when the OLT device is running a multicast service, the OLT device can encrypt the multicast message to obtain an encrypted message, and send the encrypted message through the physical PON port to all ONU devices that exist in the multicast group member list under that physical PON port. If the current ONU device carries a key matching the encrypted message, it can decrypt the encrypted message using the key. Successful decryption indicates that the multicast message is the one required by the current ONU device, and then the current ONU device sends the decrypted multicast message to the user-side interface, and then to the set-top box through the user-side interface. If the current ONU device does not carry a key matching the encrypted message, it cannot decrypt the encrypted message. Unsuccessful decryption indicates that the undecrypted multicast message is not the one required by the current ONU device, and then the current ONU device discards the undecrypted encrypted message without further parsing. Therefore, the embodiments of the present invention enable ONU devices to receive multicast messages on demand using a key, without having to parse all multicast messages, thereby improving the transmission performance of multicast messages.
[0083] It is worth noting that the specific implementation methods and corresponding technical effects of the multicast message processing method in this invention can be referred to the embodiments of the multicast message processing method described above.
[0084] Additionally, refer to Figure 9 and Figure 10 In one embodiment, when each ONU device carries a key that matches the encryption algorithm used by the corresponding slice OLT; the step S800 above, obtaining the encrypted message from the OLT device, includes, but is not limited to, […]. Figure 9 In step S1000, correspondingly, the above-mentioned step S900 includes, but is not limited to, having Figure 10 Step S1100 in the process.
[0085] Step S1000: Obtain encrypted messages from at least two slice OLTs in the OLT device; wherein the encrypted messages are obtained by encrypting their respective multicast messages by their respective slice OLTs.
[0086] In one embodiment, when an OLT device needs to connect to multiple operators simultaneously, the OLT device can be virtualized into multiple slice OLTs, with each operator and slice OLT corresponding one-to-one. When different operators use the same multicast VLAN and the same multicast group address, each slice OLT will use its own encryption algorithm to encrypt the multicast packets of its respective operator, resulting in multiple encrypted packets. These encrypted packets will then be sent through the physical PON port to all ONU devices under that physical PON port. ONU devices not present in the multicast group member list will discard the encrypted packets, while ONU devices already present in the multicast group member list will receive the encrypted packets. This allows multiple encrypted packets to be successfully sent to the ONU devices in the multicast group member list.
[0087] It is worth noting that the specific implementation methods and corresponding technical effects of the multicast message processing method in this invention can be referred to the embodiments of the multicast message processing method described above.
[0088] Step S1100: Decrypt the encrypted message from the corresponding OLT segment using the key corresponding to the encrypted message of the corresponding OLT segment, and send the decrypted multicast message to the user-side interface.
[0089] In one embodiment, since each ONU device in the multicast group member list is associated with one operator, each ONU device in the multicast group member list can only decrypt encrypted messages from its associated operator using the corresponding key, and cannot decrypt encrypted messages from other operators. If decryption is successful, the decrypted multicast message is sent to the user-side interface; if decryption fails, the undecrypted encrypted message is discarded without further parsing. Therefore, this embodiment of the invention enables each ONU device to receive multicast messages from its corresponding operator on demand using a key, without needing to parse all multicast messages, thereby improving the transmission performance of multicast messages.
[0090] It is worth noting that the specific implementation methods and corresponding technical effects of the multicast message processing method in this invention can be referred to the embodiments of the multicast message processing method described above.
[0091] Additionally, refer to Figure 11 In one embodiment, prior to step S800, the multicast message processing method may include, but is not limited to, steps S1210, S1220, and S1230.
[0092] Step S1210: Obtain the joining message information;
[0093] Step S1220: Send the joining message information to the OLT device;
[0094] Step S1230: Exchange key information with the OLT device to obtain the key from the OLT device.
[0095] In one embodiment, after the OLT device enables multicast, it generates a key according to a preset encryption algorithm. Then, the OLT device listens for join messages from the connected ONU. When a set-top box joins the ONU device, the ONU device receives the join message and sends it to the OLT device. If the OLT device receives the join message from the ONU device, it adds the corresponding interface of the ONU device to the multicast group member list. The OLT device then sends the generated key to the ONU device by exchanging key information with the ONU device, thereby realizing the key transmission from the OLT device to the ONU device.
[0096] It is worth noting that the specific implementation methods and corresponding technical effects of the multicast message processing method in this invention can be referred to the embodiments of the multicast message processing method described above.
[0097] Additionally, refer to Figure 12In one embodiment, step S1230 includes, but is not limited to, steps S1310, S1320, S1330 and S1340.
[0098] Step S1310: Obtain a key notification message from the OLT device and generate a key request message based on the key notification message;
[0099] Step S1320: Send a key request message to the OLT device so that the OLT device can issue a key based on the key request message;
[0100] Step S1330: Obtain the key from the OLT device and generate key confirmation information based on the key;
[0101] Step S1340: Send the key confirmation information to the OLT device.
[0102] In one embodiment, the segmented OLT can send a key notification message to a newly joined or renewed ONU device via a unicast channel. Upon receiving the key notification message, the ONU device sends a key request message to the segmented OLT via the unicast channel. If the segmented OLT receives the key request message from the ONU device, it assumes that the newly joined or renewed ONU device can receive encrypted multicast messages. The segmented OLT then responds by sending the key to the newly joined or renewed ONU device via the unicast channel. Once the ONU device obtains the key, it sends a key confirmation message to the segmented OLT via the unicast channel. If the segmented OLT receives the key confirmation message from the ONU device, it assumes that the ONU device can decrypt the encrypted multicast message. Therefore, the segmented OLT can subsequently encrypt the multicast messages to be forwarded and then forward them via the multicast channel. If there are already other members in the multicast group and the encrypted multicast message has already been sent, the segmented OLT does not need to send another encrypted multicast message; it only needs to maintain its multicast group member list.
[0103] It is worth noting that the specific implementation methods and corresponding technical effects of the multicast message processing method in this invention can be referred to the embodiments of the multicast message processing method described above.
[0104] Additionally, refer to Figure 13 In one embodiment, during the execution of step S1230, the multicast message processing method further includes, but is not limited to, step S1400.
[0105] Step S1400: If a key synchronization failure message is sent to the OLT device after sending the key request message and no key is received from the OLT device within a preset time, a key synchronization failure message is sent to the OLT device.
[0106] In one embodiment, after a newly added or renewed ONU device sends a key request message, it will be in a state of waiting to receive a key from the slice OLT. If it does not receive a key from the slice OLT within a preset time, it will send a key synchronization failure message to the slice OLT through a unicast channel.
[0107] It is understood that the specific message format for the aforementioned key synchronization failure information can be PLOAM, OMCI, or ordinary data packets, etc., and this embodiment of the invention does not impose any special restrictions.
[0108] It is worth noting that the specific implementation methods and corresponding technical effects of the multicast message processing method in this invention can be referred to the embodiments of the multicast message processing method described above.
[0109] Additionally, refer to Figure 14 and Figure 15 In one embodiment, when the ONU device is configured with a backup key register and an activation key register; after obtaining the key from the OLT device in step S1330 above, the multicast message processing method further includes, but is not limited to, the following: Figure 14 Step S1500 or Figure 15 Step S1600 in the process.
[0110] Step S1500: Store the key from the OLT device in the backup key register, and compare the key in the backup key register with the original key in the activation key register. If the key in the backup key register matches the original key in the activation key register, activate the original key in the activation key register.
[0111] In one embodiment, if the current ONU device receives a key sent by the slice OLT within a given time, the new valid key is stored in the backup key register of the current ONU device. The ONU device then compares the contents of its backup key register with the contents of its active key register. If the contents match, the key in the active key register is used. After comparing the old and new keys and deciding to continue using the old key, the ONU device sends a key confirmation message to the slice OLT via a unicast channel.
[0112] Step S1600: Store the key from the OLT device in the backup key register, compare the key in the backup key register with the original key in the activation key register, and if the key in the backup key register is inconsistent with the original key in the activation key register, delete the original key in the activation key register, store the key in the backup key register into the activation key register, and activate the key in the activation key register.
[0113] In one embodiment, if the current ONU device receives a key sent by the slice OLT within a given time, the new valid key is stored in the backup key register of the current ONU device. The ONU device then compares the contents of its backup key register with the contents of its active key register. If the two contents do not match, a key switch is performed, and the contents of the backup key register are copied to the active key register. Thus, both the slice OLT and the ONU device begin using the new key. After comparing the old and new keys and confirming the continued use of the new key, the ONU device sends a key confirmation message to the slice OLT via a unicast channel.
[0114] Based on the above multicast message processing method, the following are various embodiments of the OLT device, ONU device and computer-readable storage medium of the present invention.
[0115] In addition, one embodiment of the present invention provides an OLT device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor.
[0116] The processor and memory can be connected via a bus or other means.
[0117] It should be noted that the OLT device in this embodiment can be applied to, for example... Figure 1 The system architecture platform shown in the embodiment, and the OLT device in this embodiment, can constitute... Figure 1 The system architecture platform shown in the embodiment is part of the same inventive concept, and therefore has the same implementation principle and beneficial effects, which will not be described in detail here.
[0118] The non-transient software program and instructions required to implement the multicast message processing method of the above embodiments are stored in memory. When executed by a processor, the multicast message processing method of the above embodiments is executed, for example, the method described above is executed. Figure 2 Method steps S100 to S200, Figure 4 Method steps S410 to S440 in the text Figure 5 Method steps S510 to S540 in the text Figure 6 Method steps S600, Figure 7 Method step S700.
[0119] Furthermore, one embodiment of the present invention provides an ONU device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor.
[0120] The processor and memory can be connected via a bus or other means.
[0121] It should be noted that the ONU device in this embodiment can be applied to, for example... Figure 1 The system architecture platform shown in the embodiment, and the ONU device in this embodiment, can constitute... Figure 1 The system architecture platform shown in the embodiment is part of the same inventive concept, and therefore has the same implementation principle and beneficial effects, which will not be described in detail here.
[0122] The non-transient software program and instructions required to implement the multicast message processing method of the above embodiments are stored in memory. When executed by a processor, the multicast message processing method of the above embodiments is executed, for example, the method described above is executed. Figure 8 Method steps S800 to S900, Figure 9 Step S1000 in the process Figure 10 Step S1100 in the middle Figure 11 Method steps S1210 to S1230, Figure 12 Method steps S1310 to S1340 in the text Figure 13 Step S1400 in the middle Figure 14 Step S1500 in the middle Figure 15 Step S1600 in the process.
[0123] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0124] Furthermore, one embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions for performing the multicast message processing method described above. For example, when executed by a processor in the above-described OLT device embodiment, the processor can perform the multicast message processing method described above, such as executing the method described above. Figure 2 Method steps S100 to S200, Figure 4 Method steps S410 to S440 in the text Figure 5 Method steps S510 to S540 in the text Figure 6 Method steps S600, Figure 7 The method step S700. For example, if executed by a processor in the above-described ONU device embodiment, the processor can perform the multicast message processing method in the above embodiment, for example, performing the method described above. Figure 8 Method steps S800 to S900, Figure 9 Step S1000 in the process Figure 10 Step S1100 in the middle Figure 11 Method steps S1210 to S1230, Figure 12 Method steps S1310 to S1340 in the text Figure 13 Step S1400 in the middle Figure 14 Step S1500 in the middle Figure 15 Step S1600 in the process.
[0125] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically include computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0126] The above provides a detailed description of the preferred embodiments of the present invention. However, the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. All such equivalent modifications or substitutions are included within the scope defined by the claims of the present invention.
Claims
1. A multicast message processing method, applied to an optical line terminal (OLT) device, the method comprising: Encrypt the multicast message to obtain an encrypted message; The encrypted message is sent through the physical PON port to the optical network unit (ONU) device in the multicast group member list under the physical PON port, so that the ONU device carrying the key matching the encrypted message can decrypt the encrypted message and send the decrypted multicast message to the user-side interface. In addition, the OLT device is equipped with at least two slice OLTs, each slice OLT uses a different encryption algorithm to encrypt its own multicast messages, each ONU device in the multicast group member list corresponds to one slice OLT, and each ONU device carries a key that matches the encryption algorithm used by the corresponding slice OLT; In addition, the encryption of multicast messages to obtain encrypted messages includes: When an OLT device is connected to multiple operators, the OLT device is virtualized into multiple slice OLTs, and the operators and slice OLTs correspond one-to-one. When different operators use the same multicast virtual LAN and the same multicast group address, each slice OLT uses its own encryption algorithm to encrypt the multicast messages of its respective operator, resulting in multiple encrypted messages.
2. The multicast message processing method according to claim 1, characterized in that, Before encrypting the multicast message, the method further includes: The key is generated according to a preset encryption algorithm; Obtain join message information from ONU device; The ONU device is added to the multicast group member list according to the join message information; The key information is exchanged with the ONU device to send the key to the ONU device.
3. The multicast message processing method according to claim 2, characterized in that, The step of exchanging key information with the ONU device to send the key to the ONU device includes: A key notification message is sent to the ONU device so that the ONU device generates a key request message based on the key notification message. Obtain the key request message from the ONU device; The key is sent to the ONU device according to the key request message, so that the ONU device generates key confirmation information based on the key; Obtain the key confirmation information from the ONU device.
4. The multicast message processing method according to claim 3, characterized in that, It also includes one of the following: If the number of times the key notification message is sent reaches a first preset number and no key request message is received from the ONU device, a key synchronization failure message is sent to the ONU device, and the ONU device is removed from the multicast group member list; If the number of key transmissions reaches a second preset number and no key confirmation information is obtained from the ONU device, a key synchronization failure message is sent to the ONU device, and the ONU device is removed from the multicast group member list.
5. A multicast message processing method, applied to an ONU device, the method comprising: The encrypted message sent by the OLT device through the physical PON port is obtained. The encrypted message is obtained by the OLT device encrypting the multicast message. The ONU device is located in the multicast group member list under the physical PON port. The encrypted message is decrypted using a key that matches the encrypted message, and the decrypted multicast message is sent to the user-side interface. The OLT device is configured with at least two slice OLTs, each slice OLT using a different encryption algorithm to encrypt its respective multicast messages. Each ONU device in the multicast group member list corresponds to one slice OLT, and each ONU device carries a key that matches the encryption algorithm used by the corresponding slice OLT. In addition, when an OLT device is connected to multiple operators, the OLT device is virtualized into multiple slice OLTs, with each operator and slice OLT corresponding one-to-one. When different operators use the same multicast VLAN and the same multicast group address, each slice OLT uses its own encryption algorithm to encrypt the multicast packets of its respective operator, resulting in multiple encrypted packets.
6. The multicast message processing method according to claim 5, characterized in that, The process of obtaining encrypted messages from the OLT device includes: Obtain encrypted packets from at least two slice OLTs in the OLT device; wherein the encrypted packets are obtained by encrypting their respective multicast packets by their respective slice OLTs; The step of decrypting the encrypted message using a key matching the encrypted message and sending the decrypted multicast message to the user-side interface includes: Each party uses its own key to decrypt the encrypted message from its corresponding OLT slice, and then sends the decrypted multicast message to the user-side interface.
7. The multicast message processing method according to claim 5, characterized in that, Before obtaining the encrypted message from the OLT device, the method further includes: Retrieve join message information; The join message information is sent to the OLT device; The key is obtained by exchanging key information with the OLT device.
8. The multicast message processing method according to claim 7, characterized in that, The step of exchanging key information with the OLT device to obtain the key from the OLT device includes: Obtain a key notification message from the OLT device, and generate a key request message based on the key notification message; The key request message is sent to the OLT device so that the OLT device issues the key based on the key request message. Obtain the key from the OLT device and generate key confirmation information based on the key; The key confirmation information is sent to the OLT device.
9. The multicast message processing method according to claim 8, characterized in that, Also includes: If the key request message is sent to the OLT device and the key is not received from the OLT device within a preset time, a key synchronization failure message is sent to the OLT device.
10. The multicast message processing method according to claim 8, characterized in that, The ONU device is equipped with a backup key register and an activation key register. After obtaining the key from the OLT device, the method further includes one of the following: The key from the OLT device is stored in the backup key register, and the key in the backup key register is compared with the original key in the activation key register. If the key in the backup key register matches the original key in the activation key register, the original key in the activation key register is activated. The key from the OLT device is stored in the backup key register, and the key in the backup key register is compared with the original key in the activation key register. If the key in the backup key register is inconsistent with the original key in the activation key register, the original key in the activation key register is deleted, the key in the backup key register is stored in the activation key register, and the key in the activation key register is activated.
11. An OLT device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the multicast message processing method as described in any one of claims 1 to 4.
12. An ONU device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the multicast message processing method as described in any one of claims 5 to 10.
13. A computer-readable storage medium, characterized in that, The device stores computer-executable instructions for performing the multicast message processing method as described in any one of claims 1 to 10.
Citation Information
Patent Citations
Multicast message transmission method and device
CN105610590A
A method and system for OLT slicing of access network based on ONU granularity
CN108989915A