Active optical modem restarting method and system
By screening users based on AAA authentication and time difference in lightmap temperature reporting, and combining with the traffic query interface to determine the user's online status, the problem of remote restart affecting user use is solved, and a safe and efficient lightmap restart is achieved, improving user experience and device efficiency.
Patent Information
- Application Number
- CN202411408180.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2044-10-10
AI Technical Summary
In the prior art, it is difficult to determine whether the user is online when rebooting the optical cat remotely, resulting in a restart that may affect the user's use, or the network speed will slow down due to a long period of not restarting.
By filtering long-term online users based on AAA authentication and time difference in lightmao temperature reporting, users with high temperature or poor quality are further screened, and users are called to call the traffic query interface to determine whether the user is using the service. If there is no use, restart preparation and remote restart are carried out.
It effectively avoids the impact of remote restart on user usage, improves the efficiency of Lightmao equipment and user perception, and ensures that the user experience does not affect the restart.
Smart Images

Figure CN119276706A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of detection data network technology, and specifically provides an active optical modem restart method and system. Background Art
[0002] Now the Internet has entered every household and has become indispensable in people's lives. Without the Internet, it will cause great trouble to individual families or government enterprises. Sometimes there are frequent problems with the home network, and it takes a long time for the repairman to come to the door. Sometimes the result may be a small problem, just restart the optical modem and the router. The optical modem loses the Internet every two or three days and needs to be restarted, so how to restart the optical modem?
[0003] There are several ways to restart: unplug the power supply, press the optical modem power button, enter the optical modem restart, and call the optical modem remote restart command provided by the ITMS system. The first three restarts are performed by the user himself or by a technician who comes to the site. The technician can make the correct judgment and complete the restart without affecting the user's use. However, the fourth restart strategy is difficult to make a correct restart judgment because the technician or customer is not next to the optical modem.
[0004] When a remote restart is performed, if the user is using broadband, the restart will inevitably have an impact on the customer. At the very least, the video will be stuck, and at worst, commercial and government services will fail, which will give the customer a very bad experience.
[0005] In order to improve customer perception, it is necessary to determine whether the customer is using the network before restarting. If the customer is using the network, do not restart for the time being. If the customer does not use the network for a long time, the optical modem will accumulate a lot of garbage, causing the network speed to slow down. Therefore, restarting the optical modem is also to improve user perception. Summary of the invention
[0006] The present invention aims at the deficiencies of the above-mentioned prior art and provides a highly practical active optical modem restart method.
[0007] A further technical task of the present invention is to provide an active optical modem restart system that is reasonably designed, safe and applicable.
[0008] The technical solution adopted by the present invention to solve its technical problem is:
[0009] An active optical modem restart method comprises the following steps:
[0010] S1. Screen long-time online users based on AAA authentication and the time difference of optical modem temperature reporting;
[0011] S2. Further screen online users whose optical modems have high temperature or poor quality;
[0012] S3, preparation before restart;
[0013] S4. Execute restart.
[0014] Furthermore, in step S1, it includes:
[0015] S1-1. The user is considered to be online for a long time by judging the difference in AAA authentication time. For N consecutive days (N≥3), if the user's online authentication time and offline authentication time are less than or equal to a certain time every day, the user is considered to be online for a long time.
[0016] S1-2. The long-term online status is judged by the difference in minutes between the temperature reporting time of the optical modem. The standard is that the difference is less than or equal to N for N consecutive days, and N ≥ 3, then the user is considered to be long-term online.
[0017] Furthermore, among the users who have been online for a long time, we screened the optical modems whose temperature exceeded 50°C for three consecutive times, or the poor-quality optical modems whose CPU utilization was greater than 50% when sending files for three consecutive times. The temperature and CPU utilization data all come from the performance files actively sent by the optical modems.
[0018] Furthermore, the restart queue is set according to the target, where:
[0019] (1) Tianyi Gateway needs to call the Smart Home Port Traffic Query Interface twice before restarting;
[0020] (2) E8-C needs to call the ITMS port traffic query node twice before restarting;
[0021] For the above two situations, when the difference between the second flow rate and the first flow rate is 0 or very small, it is considered that the user does not use the service.
[0022] Furthermore, when a restart is performed, the Operate ID includes:
[0023] (1) Data json, "OperateID":"HG_COMMAND_REBOOT", "ProvinceID":"xxx", "AppID":"xxx", "Secret":"xxx", "token":"xxx", "MAC":"xxx", "SequenceId":"8-digit hexadecimal number", "body":{,"CmdType":"HG_COMMAND_REBOOT";
[0024] (2) Successful return, "Result": 0; "Status": "0";
[0025] (3) Return if failed, "Result": 0; "Status": "1";
[0026] Call the remote restart interface and pass in the device MAC address. Wait for the interface to respond and complete the restart. This completes the restart of the optical modem device.
[0027] Furthermore, Status=0 indicates that the gateway successfully receives the restart request, Status=1 indicates that the gateway fails to receive the restart request, and FailReason indicates the specific reason for the failure;
[0028] Note: decode=1, Ischeck=0, Flag=1.
[0029] An active optical modem restart system first screens long-time online users based on AAA authentication and the time difference of optical modem temperature reporting, then further screens online users with high optical modem temperature or poor quality, sets a restart queue according to the target, and prepares for restart;
[0030] Finally, execute the restart by calling the remote restart interface to pass in the device MAC address, and wait for the interface to respond to complete the restart to complete the restart of the optical modem device.
[0031] Furthermore, based on AAA authentication and the time difference of the optical modem temperature report, users who are online for a long time are screened, including:
[0032] (1) The user is considered to be online for a long time by judging the difference in AAA authentication time. For N consecutive days (N ≥ 3), if the user's online authentication time and offline authentication time are less than or equal to a certain time every day, the user is considered to be online for a long time.
[0033] (2) The user is considered to be online for a long time by measuring the difference in minutes between the temperature reports of the optical modem. The standard is that if the difference is less than or equal to N for N consecutive days, and N ≥ 3, the user is considered to be online for a long time.
[0034] Furthermore, when further screening online users whose optical modems have high temperatures or poor quality, we screen among the users who have been online for a long time, the optical modems whose temperatures have exceeded 50°C for three consecutive times, or the poor quality optical modems whose CPU utilization is greater than 50% for three consecutive times when sending files. The temperature and CPU utilization data are all derived from the performance files actively sent by the optical modem.
[0035] Furthermore, the restart queue is set according to the target, where:
[0036] (1) Tianyi Gateway needs to call the Smart Home Port Traffic Query Interface twice before restarting;
[0037] (2) E8-C needs to call the ITMS port traffic query node twice before restarting;
[0038] For the above two situations, when the difference between the second flow rate and the first flow rate is 0 or very small, it is considered that the user does not use the service.
[0039] Compared with the prior art, the active optical modem restart method and system of the present invention have the following outstanding beneficial effects:
[0040] Compared with directly calling the remote restart interface to restart the optical modem, the present invention can effectively avoid remote restart that affects user use. Combining AAA data and the optical modem temperature data can effectively determine whether the optical modem that has not been restarted for a long time can be restarted. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0042] Attached Figure 1 The present invention is a flowchart of an active optical modem restart method. DETAILED DESCRIPTION
[0043] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] A best embodiment is given below:
[0045] like Figure 1 As shown, an active optical modem restart method in this embodiment has the following steps:
[0046] S1. Screen long-time online users based on AAA authentication and the time difference of optical modem temperature reporting;
[0047] include:
[0048] S1-1. The user is considered to be online for a long time by judging the difference in AAA authentication time. For N consecutive days (N≥3), if the user's online authentication time and offline authentication time are less than or equal to 90 seconds each day, the user is considered to be online for a long time.
[0049] S1-2. The long-term online status is judged by the difference in minutes between the temperature reporting time of the optical modem. The standard is that the difference is less than or equal to N for N consecutive days, and N ≥ 3, then the user is considered to be long-term online.
[0050] S2. Further screen online users whose optical modems have high temperature or poor quality;
[0051] Among the users who have been online for a long time, we screened the optical modems whose temperature exceeded 50°C for three consecutive times, or the poor-quality optical modems whose CPU utilization was greater than 50% for three consecutive times. The temperature and CPU utilization data are all derived from the performance files actively sent by the optical modems.
[0052] S3, preparation before restart;
[0053] Restart the queue according to the target settings, where:
[0054] (1) Tianyi Gateway needs to call the Smart Home Port Traffic Query Interface twice before restarting;
[0055] (2) E8-C needs to call the ITMS port traffic query node twice before restarting;
[0056] For the above two situations, when the difference between the second flow rate and the first flow rate is 0 or very small, it is considered that the user does not use the service.
[0057] S4, execute restart;
[0058]
[0059]
[0060] By calling the remote restart interface to pass in the device MAC address, and waiting for the interface to respond and complete the restart, the optical modem device is restarted. This restart of the optical modem will not affect user use, but can also improve the efficiency of the optical modem device and user perception.
[0061] Based on the above method, an active optical modem restart system in this embodiment first screens long-time online users based on AAA authentication and the time difference of optical modem temperature reporting, and then further screens online users with high optical modem temperature or poor quality, sets a restart queue according to the target, and prepares for restart;
[0062] Finally, execute the restart by calling the remote restart interface to pass in the device MAC address, and wait for the interface to respond to complete the restart to complete the restart of the optical modem device.
[0063] Among them, users who are online for a long time are screened based on AAA authentication and the time difference of the optical modem temperature report, including:
[0064] (1) The user is considered to be online for a long time by judging the difference in AAA authentication time. For N consecutive days (N ≥ 3), if the user's online authentication time and offline authentication time are less than or equal to a certain time every day, the user is considered to be online for a long time.
[0065] (2) The user is considered to be online for a long time by measuring the difference in minutes between the temperature reports of the optical modem. The standard is that if the difference is less than or equal to N for N consecutive days, and N ≥ 3, the user is considered to be online for a long time.
[0066] When further screening online users with high optical modem temperature or poor quality, screen among the users who have been online for a long time, optical modems whose temperature has exceeded 50°C for three consecutive times, or poor quality optical modems whose CPU utilization is greater than 50% for three consecutive times. The temperature and CPU utilization data are all derived from the performance files actively sent by the optical modem.
[0067] Restart the queue according to the target settings, where:
[0068] (1) Tianyi Gateway needs to call the Smart Home Port Traffic Query Interface twice before restarting;
[0069] (2) E8-C needs to call the ITMS port traffic query node twice before restarting;
[0070] For the above two situations, when the difference between the second flow rate and the first flow rate is 0 or very small, it is considered that the user does not use the service.
[0071] The above-mentioned specific implementations are only specific cases of the present invention. The patent protection scope of the present invention includes but is not limited to the above-mentioned specific implementations. Any technical solutions that conform to the above-mentioned specific implementations of the present invention and any appropriate changes or substitutions made by ordinary technicians in the relevant technical field shall fall within the patent protection scope of the present invention.
[0072] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. An active optical modem restart method, characterized in that: The steps are as follows: S1. Screen long-time online users based on AAA authentication and the time difference of optical modem temperature reporting; S2. Further screen online users whose optical modems have high temperature or poor quality; S3, preparation before restart; S4. Execute restart.
2. The active optical modem restart method according to claim 1, characterized in that: In step S1, it includes: S1-1. The user is considered to be online for a long time by judging the difference in AAA authentication time. For N consecutive days (N≥3), if the user's online authentication time and offline authentication time are less than or equal to a certain time every day, the user is considered to be online for a long time. S1-2. The long-term online status is judged by the difference in minutes between the temperature reporting time of the optical modem. The standard is that the difference is less than or equal to N for N consecutive days, and N ≥ 3, then the user is considered to be long-term online.
3. The active optical modem restart method according to claim 2, characterized in that: In step S2, optical modems whose temperature has exceeded 50°C for three consecutive times, or optical modems of poor quality users whose CPU utilization is greater than 50% for three consecutive times are screened among users who have been online for a long time. The temperature and CPU utilization data are all derived from the performance files actively sent by the optical modem.
4. The active optical modem restart method according to claim 3, characterized in that: In step S3, the queue is restarted according to the target setting, wherein: (1) Tianyi Gateway needs to call the Smart Home Port Traffic Query Interface twice before restarting; (2) E8-C needs to call the ITMS port traffic query node twice before restarting; For the above two situations, when the difference between the second flow rate and the first flow rate is 0 or very small, it is considered that the user does not use the service.
5. The active optical modem restart method according to claim 4, characterized in that: In step S4, when the restart is performed, the Operate ID includes: (1) Data json, "OperateID":"HG_COMMAND_REBOOT", "ProvinceID":"xxx", "AppID":"xxx", "Secret":"xxx", "token":"xxx", "MAC":"xxx", "SequenceId":"8-digit hexadecimal number", "body":{,"CmdType":"HG_COMMAND_REBOOT"; (2) Successful return, "Result": 0; "Status": "0"; (3) Return if failed, "Result": 0; "Status": "1"; Call the remote restart interface and pass in the device MAC address. Wait for the interface to respond and complete the restart. This completes the restart of the optical modem device.
6. The active optical modem restart method according to claim 5, characterized in that: In step S4, Status=0 indicates that the gateway successfully receives the restart request, Status=1 indicates that the gateway fails to receive the restart request, and FailReason indicates the specific reason for the failure; Note: decode=1, Ischeck=0, Flag=1.
7. An active optical modem restart system, characterized in that: First, users who have been online for a long time are screened based on AAA authentication and the time difference of the optical modem temperature reporting. Then, online users with high optical modem temperature or poor quality are further screened. Restart queues are set according to the targets to prepare for restart. Finally, execute the restart by calling the remote restart interface to pass in the device MAC address, and wait for the interface to respond to complete the restart to complete the restart of the optical modem device.
8. The active optical modem restart system according to claim 7, characterized in that: Based on AAA authentication and the time difference of the optical modem temperature report, users who are online for a long time are screened, including: (1) The user is considered to be online for a long time by judging the difference in AAA authentication time. For N consecutive days (N ≥ 3), if the user's online authentication time and offline authentication time are less than or equal to a certain time every day, the user is considered to be online for a long time. (2) The user is considered to be online for a long time by measuring the difference in minutes between the temperature reports of the optical modem. The standard is that if the difference is less than or equal to N for N consecutive days, and N ≥ 3, the user is considered to be online for a long time.
9. The active optical modem restart system according to claim 8, characterized in that: When further screening online users with high optical modem temperature or poor quality, screen among the users who have been online for a long time, optical modems whose temperature has exceeded 50°C for three consecutive times, or poor quality optical modems whose CPU utilization is greater than 50% for three consecutive times. The temperature and CPU utilization data are all derived from the performance files actively sent by the optical modem.
10. The active optical modem restart system according to claim 9, characterized in that: Restart the queue according to the target settings, where: (1) Tianyi Gateway needs to call the Smart Home Port Traffic Query Interface twice before restarting; (2) E8-C needs to call the ITMS port traffic query node twice before restarting; For the above two situations, when the difference between the second flow rate and the first flow rate is 0 or very small, it is considered that the user does not use the service.
Citation Information
Patent Citations
Home gateway and method for analyzing user online behavior and monitoring network quality
CN102664833A
Optical network terminal, working method therefor, and communication system
CN107465453A
Remote restart method, routing development board and hardware bottom plate
CN109194738A
Optical network terminating apparatus, optical subscriber line terminating apparatus and communication control method
JP2009065575A
A system for rapid remote management of equipment
WO2006047583A2