Home gateway intercommunication method and device and storage medium
By presetting the vendor id and OMCI version information of the OLT device in the home gateway and trying to modify the registration parameters in the intercommunication program, the problem that the home network cannot be successfully registered is solved, and intuitive indication of the registration status is realized, and problem diagnosis is simplified. process.
Patent Information
- Application Number
- CN202411270847.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2024-12-24
AI Technical Summary
In the prior art, the problem of inability to communicate with the home network leads to the failure to register successfully, and the failure to intuitively display the registration status to the user, making it difficult to accurately find the cause of the problem.
Preset the vendor id and OMCI version information of OLT devices of different manufacturers in the home gateway, and set up intercommunication programs. When the intercommunication program determines that the conditions are met, enter intercommunication diagnostic mode. By trying to modify the vendor id and OMCI version and re-initiate the registration process. Until the registration is successful, the interoperability status is displayed through the LED indicator.
It solves the problem that home network cannot be successfully registered, and intuitively displays the registration status through LED indicators, helping users quickly identify the problem and simplifies the equipment maintenance process.
Smart Images

Figure CN119183045A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to network communication technology, and in particular to a home gateway intercommunication method, device and storage medium. Background Art
[0002] With the rapid development of Internet broadband and the popularization of broadband of various operators, home gateway, as a broadband access device, provides users with a variety of service functions such as Internet, IPTV, VOIP, etc. The registration of home gateway (ONU) on OLT (optical line terminal) is the most important and basic function.
[0003] Because some OLT manufacturers restrict other manufacturers' ONUs from accessing the OLT in order to protect their own brand of ONUs, other manufacturers' ONUs cannot be registered normally or are kicked offline after registration. In the prior art, when such registration failure occurs, there is no intuitive and effective means to display the registration status to the user, which is easy to be confused with general registration problems, and is not conducive to accurately finding the cause of the problem and thus performing equipment maintenance. Summary of the invention
[0004] The technical problem to be solved by the present invention is: to propose a home gateway intercommunication method, device and storage medium to solve the problem in the prior art that home networks cannot intercommunication resulting in unsuccessful registration, and further solve the problem that the registration status is not intuitively displayed to the user, which is not conducive to accurately finding the problem.
[0005] The technical solution adopted by the present invention to solve the above technical problems is:
[0006] On the one hand, the present invention provides a home gateway intercommunication method, which is applied to a home gateway, wherein the home gateway is pre-set with vendor ID and OMCC version information of OLT devices of different manufacturers, and the method comprises the following steps:
[0007] After the home gateway starts up normally, it first checks the optical signal. If the optical signal is normal, it initiates the registration process to the OLT device. If the registration fails a certain number of times, it enters the intercommunication diagnosis mode.
[0008] In the intercommunication diagnosis mode, the home gateway modifies the vendor id (manufacturer identification) and / or OMCI version (management control channel version) and re-initiates the registration process. If the registration is successful, the registered vendor id and OMCI version information will be saved in the gateway configuration file.
[0009] Furthermore, in the intercommunication diagnosis mode, if the registration fails, all the vendor IDs and OMCC versions that have been attempted are recorded and a log file is formed and saved to the home gateway.
[0010] Furthermore, the home gateway modifies the vendor ID and / or OMCI version and re-initiates the registration process, which specifically includes:
[0011] First try to modify the vendor id and re-initiate the registration process. If it still fails, modify the OMCIversion simultaneously and re-initiate the registration process.
[0012] Furthermore, if the registration fails a certain number of times, the intercommunication diagnosis mode is entered, including:
[0013] By enabling the counter and timer for entering the O5 state, if the home gateway is forced to go offline within T1 time after entering the O5 state, and the number of times exceeds 3 times, it will enter the intercommunication diagnosis mode.
[0014] Furthermore, the home gateway is also provided with an LED indicator light for indicating the intercommunication status, and the method further includes:
[0015] When entering the intercommunication diagnosis mode, the control LED indicator flashes quickly;
[0016] If the communication is successful, the control LED indicator will be always on;
[0017] If the communication fails, the LED indicator will flash slowly.
[0018] In a second aspect, the present invention further provides a home gateway intercommunication device, which includes a processor and a memory, wherein the memory stores a computer program, and the processor implements the steps of the above method by executing the computer program.
[0019] In a third aspect, the present invention further provides a storage medium having a computer program stored thereon, which implements the steps of the above method when the computer program is executed by a processor.
[0020] The beneficial effects of the present invention are:
[0021] By presetting the vendor ID and OMCC version information of OLT devices of different manufacturers in the home gateway and setting the intercommunication program; when the intercommunication program determines that the conditions are met, it enters the intercommunication diagnosis mode, and in the intercommunication diagnosis mode, attempts to modify the vendor ID and OMCI version and re-initiate registration until the registration is successful. This solution can solve the problem of unsuccessful registration due to the inability of home networks to intercommunicate in the prior art. In addition, during the intercommunication process, the intercommunication status is indicated by the LED status indicator, so as to intuitively show the user the current registration status of the home gateway. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 The figure is a flow chart of the home gateway intercommunication method in an embodiment of the present invention. DETAILED DESCRIPTION
[0023] The present invention aims to provide a method, device and storage medium for home gateway intercommunication, so as to solve the problem in the prior art that the home network cannot be intercommunication, resulting in unsuccessful registration, and further solve the problem that the registration status is not intuitively displayed to the user, which is not conducive to accurately finding the problem. The core idea is: by presetting the vendor id and OMCC version information of OLT devices of different manufacturers in the home gateway, and setting the intercommunication program; when the intercommunication program determines that the conditions are met, it enters the intercommunication diagnosis mode, and in the intercommunication diagnosis mode, attempts to modify the vendor id and OMCI version and re-initiate registration until the registration is successful. During the intercommunication process, the intercommunication status is indicated by the LED status indicator, including the status indication after entering the intercommunication diagnosis, the status indication of successful intercommunication and the status indication of failed intercommunication.
[0024] Example
[0025] The home gateway intercommunication method provided in this embodiment is applied to the home gateway, in which the vendor ID and OMCC version information of OLT devices of different manufacturers are preset. The method flow is as follows: Figure 1 As shown, the following steps are included:
[0026] S1. After the home gateway starts normally, it first checks the optical signal. If the optical signal is normal, it initiates the registration process to the OLT device.
[0027] S2. By starting the counter and timer for entering the O5 state, if the home gateway is forced to go offline within T1 time after entering the O5 state, and the number of times exceeds 3 times, it enters the intercommunication diagnosis mode.
[0028] Among them, the O5 state is an "Operation-state" state in the ONU registration process, that is, an operation state. Entering the O5 state means that the registration is successful, but if it is subsequently kicked offline, it means that the OUN is restricted by the OLT; therefore, in this solution, by turning on the O5 state counter and timer, the number of times the ONU enters the O5 state and is kicked offline within the T1 time is counted, so as to accurately determine whether there is an interoperability problem of the ONU restricted by the OLT. In this embodiment, when the number of times the ONU enters the O5 state and is kicked offline within the T1 time exceeds 3 times, the interoperability diagnosis mode is entered, and the LED indicator flashes quickly.
[0029] The value of T1 can be set based on experience.
[0030] S3. The home gateway modifies the vendor ID and OMCI version and re-initiates registration.
[0031] In the intercommunication diagnosis mode, the home gateway attempts to modify the vendor ID and OMCI version and re-initiate the registration process. If the registration is successful, the LED indicator is always on, and the registered vendor ID and OMCI version information are saved in the gateway configuration file for next use; if the registration fails, the LED indicator flashes slowly, and the vendor ID and OMCI version continue to be modified and the registration is re-initiated until the registration is successful. Or if all vendor IDs and OMCI versions have been tried and registration still fails, the process is recorded in the log file to facilitate debugging and maintenance by the operation and maintenance personnel.
[0032] Finally, it should be noted that the above embodiments are only preferred implementations and are not intended to limit the present invention. It should be pointed out that for those skilled in the art, several modifications, equivalent replacements, improvements, etc. can be made without departing from the scope of the present invention and the scope of protection of the claims, and all of these should be included in the protection scope of the present invention.
Claims
1. A home gateway intercommunication method, applied to a home gateway, characterized in that: The home gateway is pre-set with vendor ID and OMCC version information of OLT devices of different manufacturers. The method comprises the following steps: After the home gateway starts up normally, it first checks the optical signal. If the optical signal is normal, it initiates the registration process to the OLT device. If the registration fails a certain number of times, it enters the intercommunication diagnosis mode. In the intercommunication diagnosis mode, the home gateway modifies the vendor ID and / or OMCI version and re-initiates the registration process. If the registration is successful, the registered vendor ID and OMCI version information is saved in the gateway configuration file.
2. A home gateway intercommunication method as claimed in claim 1, characterized in that: In intercommunication diagnosis mode, if registration fails, all vendor IDs and OMCC versions that have been attempted are recorded and saved in a log file to the home gateway.
3. A home gateway intercommunication method as claimed in claim 1, characterized in that: The home gateway modifies the vendor ID and / or OMCI version and re-initiates the registration process, including: First try to modify the vendor id and re-initiate the registration process. If it still fails, modify the OMCIversion simultaneously and re-initiate the registration process.
4. A home gateway intercommunication method as claimed in claim 1, characterized in that: If the registration fails a certain number of times, the intercommunication diagnosis mode is entered, including: By enabling the counter and timer for entering the O5 state, if the home gateway is forced to go offline within T1 time after entering the O5 state, and the number of times exceeds 3 times, it will enter the intercommunication diagnosis mode.
5. A home gateway intercommunication method according to any one of claims 1 to 4, characterized in that: The home gateway is also provided with an LED indicator light for indicating an intercommunication status. The method further comprises: When entering the intercommunication diagnosis mode, the control LED indicator flashes quickly; If the communication is successful, the control LED indicator will be always on; If the communication fails, the LED indicator will flash slowly.
6. A home gateway intercommunication device, comprising a processor and a memory, characterized in that: The memory stores a computer program, and the processor implements the steps of the home gateway intercommunication method as described in any one of claims 1 to 5 by executing the computer program.
7. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the home gateway intercommunication method according to any one of claims 1 to 5 are implemented.
