Optical network unit version upgrade method and system
An optical network unit and version technology, which is applied in the field of system management of optical network units, can solve the problems of ONU device function upgrade failure and inability to store ONU upgrade files, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0085] In this embodiment, the scheduling of writing tasks is:
[0086] According to the memory usage of the device at this level and the reading of the memory of the device at this level by the reading task, control the speed, frequency and data fragmentation size of the writing task of the device at the current level (that is, the gap between the file size of writing and reading is getting smaller and larger) When the value is larger, the speed of downloading files will slow down; when the gap between the size of the writing and reading files is getting smaller and smaller, the speed of downloading files will be accelerated). The safety threshold for the normal operation of the system; at the same time, control the location of the written data, so that the original data fragment at the written location has been read;
[0087] The scheduling of read tasks is:
[0088] According to the memory usage of the device at this level and the writing of the writing task to the device ...
Embodiment 2
[0090] In order to ensure that the data link between the main control panel of the FTP Client and the FTP SERVER is not disconnected, the data interaction between the main control panel and the FTP SERVER must not exceed the timeout period required by the FTP protocol for the time between two data packets. When the disk write task obtains the data fragments of the ONU upgrade file from the FTP server, the interval between two data fragments cannot be greater than the timeout period stipulated by the FTP protocol.
[0091] Correspondingly, the data interaction between the main control panel acting as FTP SERVER and the line card acting as FTP Client cannot exceed the timeout period between two data packets of the FTP protocol, that is, the writing task of the line card is obtained from the main control panel. When upgrading the data fragments of a file, the interval between two data fragments cannot be greater than the timeout specified by the FTP protocol.
Embodiment 3
[0093] The writing task constantly checks the running status of the reading task during the running process. If the reading task is abnormal (meaning that the reading task cannot read new data due to changes in the external environment), the writing task must be able to handle the exception and restore itself to the correct state. state (the correct state is when the task is restored to its initial state).
[0094] The read task constantly checks the running status of the write task during the running process. If the write task is abnormal (meaning that the data of the write task is blocked or cannot be written), the read task must be able to handle the exception and restore itself to the correct state (correct The state of the task is restored to its initial state).
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


