Onu access control method and related device

CN116261068BActive Publication Date: 2026-10-13BOWEI TECHNOLOGY COMPANY LIMITED
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310228854.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-06
Publication Date
2026-10-13
Estimated Expiration
2043-03-06

AI Technical Summary

Technical Problem

[0005]鉴于上述问题,本发明提供一种ONU访问权限控制方法及相关设备,主要目的在于解决ONU访问权限控制不够安全过于依赖厂家操作的问题

Benefits of technology

[0036]借由上述技术方案,本发明提供的ONU访问权限控制方法及相关设备,对于ONU访问权限控制不够安全过于依赖厂家操作的问题,本发明通过ONU设备获取并分析控制端发送的第一私有OMCI报文,其中,上述第一私有OMCI报文包括第一时间字段,上述第一时间字段是基于控制端发送上述第一私有OMCI报文的公共时间确定的;在上述第一时间字段匹配的情况下,上述ONU设备基于上述第一时间字段和其他时间字段生成第二私有OMCI报文;上述ONU设备将上述第二私有OMCI报文发送至上述控制端以获取第三私有OMCI报文,其中,上述第三私有OMCI报文包括控制字段和第二时间字段,上述第二时间字段是基于上述其他时间字段确定的;在上述第二时间字段匹配的情况下,上述ONU设备基于上述控制字段执行操作。在上述方案中,控制端和ONU之间的信息交互使用了私有OMCI报文,并在私有OMCI报文中添加了包含时间参数的自定义字段的,因为时间具有不可逆性,私有OMCI报文不容易被模仿,保证了ONU的安全性。通过控制端控制ONU的Web和Telnet访问功能,解决需要拆开ONU外壳才能开启Web和Telnet访问功能的问题。通过点击控制端的按钮开启或关闭ONU的Web和Telnet访问功能。极大的简化了开启Web和Telnet访问功能的过程,避免拆开ONU外壳造成设备损坏,解放人力,提高设备维护效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116261068B_ABST
    Figure CN116261068B_ABST
Patent Text Reader

Abstract

The application discloses an ONU access permission control method and related equipment, and relates to the field of ONU, and mainly aims at solving the problem that ONU access permission control is not safe and too dependent on manufacturer operation. The method comprises the following steps: an ONU device acquires and analyzes a first private OMCI message sent by a control end; in the case that a first time field is matched, the ONU device generates a second private OMCI message based on the first time field and other time fields; the ONU device sends the second private OMCI message to the control end to acquire a third private OMCI message; and in the case that a second time field is matched, the ONU device performs operation based on the control field. The application is used for the ONU access permission control process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of ONUs, and more particularly to an ONU access control method and related equipment. Background Technology

[0002] A passive optical network (PON) system typically consists of an Optical Line Terminal (OLT) and an Optical Network Unit (ONU). This system can be used in both carrier networks and enterprise networks. The OLT is responsible for providing aggregation and distribution of Layer 2 services on the core network side, while the ONU is responsible for providing access and aggregation of Layer 2 services on the user side.

[0003] In passive optical network (PON) systems, to prevent the leakage of ONU information, especially to ensure that the ONU's configuration information is not modified by personnel other than network maintenance personnel, equipment manufacturers disable the ONU's Web and Telnet access functions at the factory. This prevents anyone from accessing the ONU via a network cable connected to the Ethernet port, and even a factory reset will not enable these functions. This ensures ONU security. In actual network applications, situations may arise where the ONU malfunctions. In such cases, network maintenance personnel need to check the ONU information or troubleshoot it. Because the Web and Telnet access functions are disabled, enabling them requires disassembling the ONU's casing and connecting a serial cable. This process is cumbersome and can easily damage the equipment.

[0004] At factories or equipment maintenance points, due to changes in customer needs or problems with existing software versions, it may be necessary to upgrade the software version of a batch of ONUs via Web or Telnet. This requires disassembling the casing of each ONU for operation. When the number of ONUs is large, this consumes a significant amount of manpower and time. Summary of the Invention

[0005] In view of the above problems, the present invention provides an ONU access control method and related equipment, the main purpose of which is to solve the problem that ONU access control is not secure enough and relies too much on the manufacturer's operation.

[0006] To address at least one of the aforementioned technical problems, in a first aspect, the present invention provides an ONU access control method, the method comprising:

[0007] The ONU device acquires and analyzes the first private OMCI message sent by the control terminal. The first private OMCI message includes a first time field, which is determined based on the common time when the control terminal sends the first private OMCI message.

[0008] In the case of matching the first time field mentioned above, the ONU device generates a second private OMCI message based on the first time field and other time fields.

[0009] The aforementioned ONU device sends the aforementioned second private OMCI message to the aforementioned control terminal to obtain the third private OMCI message, wherein the aforementioned third private OMCI message includes a control field and a second time field, and the aforementioned second time field is determined based on the aforementioned other time fields;

[0010] If the second time field matches, the ONU device performs an operation based on the control field.

[0011] Optionally, the other time fields mentioned above include a second time field and a third time field.

[0012] The above methods also include:

[0013] The aforementioned ONU device acquires and stores the second and third time fields.

[0014] The aforementioned second time field is determined based on the common time when the aforementioned ONU device receives the aforementioned first private OMCI message.

[0015] The aforementioned third time field is determined based on the private time when the aforementioned ONU device receives the aforementioned first private OMCI message.

[0016] Optionally, if the first time field matches, the ONU device generates a second private OMCI message based on the first time field and other time fields, including:

[0017] If the interval between the first time field and the second time field satisfies the transmission time of the first private OMCI message, the ONU device generates a second private OMCI message based on the first time field and other time fields.

[0018] Optionally, the other time fields mentioned above also include a fourth time field.

[0019] In the case of matching the first time field, the ONU device generates a second private OMCI message based on the first time field and other time fields, including:

[0020] If the format of the first time field matches the preset time format, the ONU device generates a second private OMCI message based on the first time field and other time fields.

[0021] Optionally, the aforementioned ONU device generates a second private OMCI message based on the first time field and other time fields, including:

[0022] The fourth time field is determined based on the first time field, the second time field, and the third time field as described above, according to a preset calculation rule.

[0023] The second private OMCI message is generated based on the third and fourth time fields mentioned above.

[0024] Optional,

[0025] The aforementioned first-time field is stored in the aforementioned control terminal.

[0026] The second time field of the aforementioned third private OMCI message is determined by the aforementioned control terminal through reverse calculation based on the other time fields of the aforementioned second private OMCI message and the aforementioned first time field using the aforementioned preset calculation rules.

[0027] Optionally, in the case of a match in the second time field, the ONU device performs an operation based on the control field, including:

[0028] If the second time field of the third private OMCI message matches the second time field stored in the aforementioned ONU device, the aforementioned ONU device performs an operation based on the aforementioned control field.

[0029] Secondly, embodiments of the present invention also provide an ONU access control device, comprising:

[0030] The acquisition unit is used for the ONU device to acquire and analyze the first private OMCI message sent by the control terminal, wherein the first private OMCI message includes a first time field, which is determined based on the common time when the control terminal sends the first private OMCI message;

[0031] The generation unit is used to generate a second private OMCI message based on the first time field and other time fields when the first time field is matched.

[0032] The sending unit is used for the ONU device to send the second private OMCI message to the control terminal to obtain the third private OMCI message, wherein the third private OMCI message includes a control field and a second time field, and the second time field is determined based on the other time fields.

[0033] An execution unit is used to perform an operation based on the control field when the second time field is matched.

[0034] To achieve the above objectives, according to a third aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium comprising a stored program, wherein, when the program is executed by a processor, the steps of the ONU access control method described above are implemented.

[0035] To achieve the above objectives, according to a fourth aspect of the present invention, an electronic device is provided, including at least one processor and at least one memory connected to the processor; wherein the processor is configured to invoke program instructions in the memory to execute the steps of the ONU access control method described above.

[0036] By employing the above technical solution, the ONU access control method and related equipment provided by this invention address the problem of insufficient security and over-reliance on manufacturer operation in ONU access control. This invention obtains and analyzes a first private OMCI message sent by the control terminal through the ONU device. This first private OMCI message includes a first time field, determined based on the common time of the control terminal sending the first private OMCI message. If the first time field matches, the ONU device generates a second private OMCI message based on the first time field and other time fields. The ONU device sends the second private OMCI message to the control terminal to obtain a third private OMCI message. This third private OMCI message includes a control field and a second time field, determined based on the other time fields. If the second time field matches, the ONU device performs an operation based on the control field. In this solution, the information exchange between the control terminal and the ONU uses private OMCI messages, and a custom field containing a time parameter is added to the private OMCI message. Because time is irreversible, the private OMCI message is not easily imitated, ensuring the security of the ONU. This system controls the ONU's Web and Telnet access functions via a control terminal, eliminating the need to disassemble the ONU casing to enable these functions. Users can simply click buttons on the control terminal to enable or disable these functions. This significantly simplifies the process, avoids damaging the device by disassembling the ONU casing, frees up manpower, and improves equipment maintenance efficiency.

[0037] Correspondingly, the ONU access control device, equipment, and computer-readable storage medium provided in the embodiments of the present invention also have the above-mentioned technical effects.

[0038] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0039] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:

[0040] Figure 1 A flowchart illustrating an ONU access control method provided by an embodiment of the present invention is shown;

[0041] Figure 2 This diagram illustrates a schematic block diagram of an ONU access control device provided in an embodiment of the present invention.

[0042] Figure 3 This diagram illustrates the composition of an ONU access control electronic device according to an embodiment of the present invention. Detailed Implementation

[0043] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this invention will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

[0044] To address the issues of insecure ONU access control and over-reliance on manufacturer operations, this invention provides an ONU access control method, such as... Figure 1 As shown, the method includes:

[0045] S101, the ONU device acquires and analyzes the first private OMCI message sent by the control terminal, wherein the first private OMCI message includes a first time field, which is determined based on the common time when the control terminal sends the first private OMCI message;

[0046] For example, in this embodiment of the invention, a control terminal for controlling the ONU access function is installed on a PC. A module is added to the ONU to receive and process private OMCI messages sent by the control terminal to enable or disable the ONU's Web and Telnet access functions. A time field and a control field are added to the private OMCI message. The time field contains 4 parameters and the control field contains 2 parameters. The format and definition of each parameter in the time field and the control field are known to both the ONU and the control terminal.

[0047] For example, when it is necessary to enable or disable the ONU's Web and Telnet access functions, clicking the enable or disable button on the control terminal will allow the control terminal to obtain the first time field and generate the aforementioned first private OMCI message.

[0048] S102. If the first time field is matched, the ONU device generates a second private OMCI message based on the first time field and other time fields.

[0049] For example, after the ONU receives the private OMCI message sent by the control terminal, it determines whether the first time field is correct. If the first time field is correct, it extracts the first time field and generates a second private OMCI message based on it and other time fields. If the first time field is incorrect, no processing is performed.

[0050] S103. The ONU device sends the second private OMCI message to the control terminal to obtain the third private OMCI message, wherein the third private OMCI message includes a control field and a second time field, and the second time field is determined based on the other time fields.

[0051] For example, the control terminal receives the second private OMCI message returned by the ONU and generates a third private OMCI message based on it. After the ONU successfully verifies the first private OMCI message sent by the control terminal, it does not directly grant permissions but returns to the control terminal for another judgment interaction. This prevents unauthorized devices from imitating the interaction message within a preset time range, thereby ensuring the security of message interaction.

[0052] S104. If the second time field is matched, the ONU device performs an operation based on the control field.

[0053] For example, since the ONU has added a module for receiving and processing private OMCI messages sent by the control terminal, it can receive private OMCI messages sent by the control terminal to enable or disable the ONU access function, and perform operations to enable or disable the ONU's Web and Telnet access functions. At the same time, combined with the convenient operation of the control terminal and the irreversibility of time, it is possible to enable or disable the ONU's Web and Telnet access functions with one click while ensuring security.

[0054] By employing the above technical solution, the ONU access control method provided by this invention addresses the problem of insufficient security and over-reliance on manufacturer operation in ONU access control. This invention obtains and analyzes a first private OMCI message sent by the control terminal through the ONU device. This first private OMCI message includes a first time field, determined based on the common time of the first private OMCI message sent by the control terminal. If the first time field matches, the ONU device generates a second private OMCI message based on the first time field and other time fields. The ONU device sends the second private OMCI message to the control terminal to obtain a third private OMCI message. This third private OMCI message includes a control field and a second time field, determined based on the other time fields. If the second time field matches, the ONU device performs an operation based on the control field. In this solution, the information exchange between the control terminal and the ONU uses private OMCI messages, and a custom field containing a time parameter is added to the private OMCI message. Because time is irreversible, the private OMCI message is not easily imitated, ensuring the security of the ONU. This system controls the ONU's Web and Telnet access functions via a control terminal, eliminating the need to disassemble the ONU casing to enable these functions. Users can simply click buttons on the control terminal to enable or disable these functions. This significantly simplifies the process, avoids damaging the device by disassembling the ONU casing, frees up manpower, and improves equipment maintenance efficiency.

[0055] In one embodiment, the other time fields mentioned above include a second time field and a third time field.

[0056] The above methods also include:

[0057] The aforementioned ONU device acquires and stores the second and third time fields.

[0058] The aforementioned second time field is determined based on the common time when the aforementioned ONU device receives the aforementioned first private OMCI message.

[0059] The aforementioned third time field is determined based on the private time when the aforementioned ONU device receives the aforementioned first private OMCI message.

[0060] For example, the second time field and the third time field are obtained at the same time. The second time field is the real-time time, such as 2023 / 2 / 24 13:51:00, and the third time field is the ONU's running time. For example, if the ONU has been running for one hour, it is 0 year 0 month 0 day 1 hour 0 minute 0 second.

[0061] In one embodiment, when the first time field matches, the ONU device generates a second private OMCI message based on the first time field and other time fields, including:

[0062] If the interval between the first time field and the second time field satisfies the transmission time of the first private OMCI message, the ONU device generates a second private OMCI message based on the first time field and other time fields.

[0063] For example, since an unauthorized device can obtain the interaction messages in some way, it may copy the interaction process. For instance, in a normal interaction process, the first time field is 2023 / 2 / 24 14:17:00, and the second time field is 2023 / 2 / 24 14:17:30. An unauthorized device may also send parameter A as is, but after the unauthorized device's operation, parameter B has changed to 2023 / 2 / 24 14:27:00 or other times, and the time difference becomes larger. Therefore, this embodiment of the invention judges the interval between the first time field and the second time field, because the difference between these two time values ​​is the transmission time of the aforementioned first private OMCI message. If they do not match, or exceed the preset time, it is invalid (the legitimate device only executes the acquisition time group message transmission, and if there is no abnormality and the time interval for checking validity is set reasonably, there should be no timeout or mismatch).

[0064] In one embodiment, the other time fields mentioned above also include a fourth time field.

[0065] In the case of matching the first time field, the ONU device generates a second private OMCI message based on the first time field and other time fields, including:

[0066] If the format of the first time field matches the preset time format, the ONU device generates a second private OMCI message based on the first time field and other time fields.

[0067] For example, embodiments of the present invention can also check the format of the time field. Since an unauthorized device is unaware that the first time field is time, it can be excluded based on this.

[0068] In one embodiment, the aforementioned ONU device generates a second private OMCI message based on the first time field and other time fields, including:

[0069] The fourth time field is determined based on the first time field, the second time field, and the third time field as described above, according to a preset calculation rule.

[0070] The second private OMCI message is generated based on the third and fourth time fields mentioned above.

[0071] For example, after receiving the first private OMCI message sent by the control terminal, the ONU determines whether the first time field is correct based on the method described above. If the first time field is correct, it extracts the first time field, then obtains the second and third time fields, and calculates the fourth time field based on the first, second, and third time fields (the calculation method can be customized according to user needs). The ONU then sends the second private OMCI message containing the third and fourth time fields to the control terminal. It is understood that the ONU needs to save the second time field, and each second time field can only be used once. No processing is performed if the first time field is incorrect.

[0072] In one embodiment,

[0073] The aforementioned first-time field is stored in the aforementioned control terminal.

[0074] The second time field of the aforementioned third private OMCI message is determined by the aforementioned control terminal through reverse calculation based on the other time fields of the aforementioned second private OMCI message and the aforementioned first time field using the aforementioned preset calculation rules.

[0075] For example, when it is necessary to enable or disable the Web and Telnet access functions of the ONU, click the enable or disable button on the control terminal. At the same time, the control terminal obtains the first time field and generates the aforementioned first private OMCI message, and at the same time, it needs to save the first time field.

[0076] For example, the control unit receives a private OMCI message from the ONU, extracts the third and fourth time fields, and uses these two parameters and the saved first time field to calculate the second time field using a known calculation method. The control unit then sends a third private OMCI message containing the second time field and the control field to the ONU. This ensures that even if an unauthorized device can copy the private OMCI messages exchanged between the ONU and the control unit, the ONU will not process private OMCI messages containing mismatched second time fields because the second time field is updated after each use, thus guaranteeing the ONU's security.

[0077] In one embodiment, when the second time field matches, the ONU device performs an operation based on the control field, including:

[0078] If the second time field of the third private OMCI message matches the second time field stored in the aforementioned ONU device, the aforementioned ONU device performs an operation based on the aforementioned control field.

[0079] For example, after receiving the third private OMCI message from the control terminal, the ONU retrieves the second time field from the message and determines whether it matches the second time field stored locally on the ONU. If the two times match, the ONU enables or disables its Web and Telnet access functions and sends a response message indicating successful configuration to the control terminal. If the two times do not match, no processing is performed. Because time is irreversible, the second time fields retrieved at different times cannot be the same, thus ensuring the non-replicable nature of the private OMCI message interaction process.

[0080] For example, the ONU's Web and Telnet access functions can be enabled with a single click via the control terminal while ensuring security. This significantly reduces the workload of equipment upgrade personnel and network maintenance personnel, and eliminates the problem of equipment damage caused by disassembling the ONU casing. It greatly improves the efficiency of equipment upgrades and debugging in actual network environments at equipment maintenance points. When a large number of ONUs at an equipment maintenance point need to be upgraded via Web or Telnet, this invention can save a significant amount of manpower and time.

[0081] Furthermore, as a response to the above Figure 1 In addition to the implementation of the method shown, this embodiment of the invention also provides an ONU access control device for controlling the above-mentioned... Figure 1The method shown is implemented accordingly. This device embodiment corresponds to the foregoing method embodiment. For ease of reading, this device embodiment will not repeat the details of the foregoing method embodiment, but it should be clear that the device in this embodiment can implement all the contents of the foregoing method embodiment. Figure 2 As shown, the device includes: an acquisition unit 21, a generation unit 22, a sending unit 23, and an execution unit 24, wherein...

[0082] The acquisition unit 21 is used for the ONU device to acquire and analyze the first private OMCI message sent by the control terminal, wherein the first private OMCI message includes a first time field, which is determined based on the common time when the control terminal sends the first private OMCI message;

[0083] The generation unit 22 is used to generate a second private OMCI message based on the first time field and other time fields when the first time field is matched.

[0084] The sending unit 23 is used for the ONU device to send the second private OMCI message to the control terminal to obtain the third private OMCI message, wherein the third private OMCI message includes a control field and a second time field, and the second time field is determined based on the other time fields.

[0085] The execution unit 24 is used to perform an operation based on the control field when the second time field is matched.

[0086] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and adjusting kernel parameters can implement an ONU access control method, addressing the issues of insecure ONU access control and over-reliance on manufacturer intervention.

[0087] This invention provides a computer-readable storage medium including a stored program that, when executed by a processor, implements the ONU access control method described above.

[0088] This invention provides a processor for running a program, wherein the program executes the ONU access control method during runtime.

[0089] This invention provides an electronic device, which includes at least one processor and at least one memory connected to the processor; wherein the processor is used to call program instructions in the memory to execute the ONU access control method described above.

[0090] This invention provides an electronic device 30, such as... Figure 3 As shown, the electronic device includes at least one processor 301, and at least one memory 302 and bus 303 connected to the processor; wherein, the processor 301 and the memory 302 communicate with each other through the bus 303; the processor 301 is used to call program instructions in the memory to execute the above-mentioned ONU access control method.

[0091] The smart electronic devices mentioned in this article can be PCs, tablets, mobile phones, etc.

[0092] This application also provides a computer program product that, when executed on a process management electronic device, is suitable for executing a program that initializes the steps of the above-described ONU access control method.

[0093] It should be noted that the descriptions of each embodiment in the above embodiments have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0094] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0095] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0096] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1The function specified in one or more boxes.

[0097] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0098] This application also provides a computer program product, which includes computer software instructions that, when executed on a processing device, cause the processing device to perform actions such as... Figure 1 The control flow of the memory in the corresponding embodiment.

[0099] A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0100] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0101] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or indirect coupling or communication connection between apparatuses or units, and may be electrical, mechanical, or other forms.

[0102] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0103] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0104] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0105] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. An ONU access control method for an ONU device, characterized in that, include: The ONU device acquires and analyzes the first private OMCI message sent by the control terminal, wherein the first private OMCI message includes a first time field, which is determined based on the common time when the control terminal sends the first private OMCI message; If the first time field matches, the ONU device generates a second private OMCI message based on the first time field and other time fields; The ONU device sends the second private OMCI message to the control terminal to obtain the third private OMCI message, wherein the third private OMCI message includes a control field and a second time field, and the second time field is determined based on the other time fields; If the second time field matches, the ONU device performs an operation based on the control field.

2. The method according to claim 1, characterized in that, The other time fields include a second time field and a third time field. The method further includes: The ONU device acquires and stores the second time field and the third time field. The second time field is determined based on the common time when the ONU device receives the first private OMCI message. The third time field is determined based on the private time when the ONU device receives the first private OMCI message.

3. The method according to claim 2, characterized in that, When the first time field matches, the ONU device generates a second private OMCI message based on the first time field and other time fields, including: If the interval between the first time field and the second time field satisfies the transmission time of the first private OMCI message, the ONU device generates a second private OMCI message based on the first time field and other time fields.

4. The method according to claim 2, characterized in that, The other time fields also include a fourth time field. When the first time field matches, the ONU device generates a second private OMCI message based on the first time field and other time fields, including: If the format of the first time field matches the preset time format, the ONU device generates a second private OMCI message based on the first time field and other time fields.

5. The method according to any one of claims 4, characterized in that, The ONU device generates a second private OMCI message based on the first time field and other time fields, including: The fourth time field is determined based on the first time field, the second time field, and the third time field using a preset calculation rule; The second private OMCI message is generated based on the third time field and the fourth time field.

6. The method according to claim 5, characterized in that, The first time field is stored in the control terminal. The second time field of the third private OMCI message is determined by the control terminal through reverse calculation based on the other time fields of the second private OMCI message and the first time field using the preset calculation rules.

7. The method according to claim 2, characterized in that, When the second time field matches, the ONU device performs an operation based on the control field, including: If the second time field of the third private OMCI message matches the second time field stored in the ONU device, the ONU device performs an operation based on the control field.

8. An ONU access control device, characterized in that, include: The acquisition unit is used for the ONU device to acquire and analyze the first private OMCI message sent by the control terminal, wherein the first private OMCI message includes a first time field, which is determined based on the common time when the control terminal sends the first private OMCI message; A generation unit is configured to generate a second private OMCI message based on the first time field and other time fields, provided that the first time field matches. A sending unit is configured to send the second private OMCI message to the control terminal to obtain a third private OMCI message, wherein the third private OMCI message includes a control field and a second time field, and the second time field is determined based on the other time fields; An execution unit is configured to perform an operation based on the control field when the second time field matches.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the ONU access control method as described in any one of claims 1 to 7 is implemented when the program is executed by a processor.

10. An electronic device, characterized in that, The electronic device includes at least one processor and at least one memory connected to the processor; wherein the processor is configured to invoke program instructions in the memory to execute the ONU access control method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and device for creating ONU management channel by OLT based on GPON

    CN112165660A

  • Bidirectional authentication method, device and system

    CN113411283A