CN103634710A - Method and device for loading version file - Google Patents

Method and device for loading version file Download PDF

Info

Publication number
CN103634710A
CN103634710A CN201210312781.9A CN201210312781A CN103634710A CN 103634710 A CN103634710 A CN 103634710A CN 201210312781 A CN201210312781 A CN 201210312781A CN 103634710 A CN103634710 A CN 103634710A
Authority
CN
China
Prior art keywords
equipment
version
onu
onu equipment
version file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210312781.9A
Other languages
Chinese (zh)
Other versions
CN103634710B (en
Inventor
邓巍
曾华荣
赵林华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201210312781.9A priority Critical patent/CN103634710B/en
Publication of CN103634710A publication Critical patent/CN103634710A/en
Application granted granted Critical
Publication of CN103634710B publication Critical patent/CN103634710B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a method and a device for loading a version file, and relates to the field of communication so that objectives of saving storage space and lowering realization cost are realized in the process of loading the version file. The method comprises that: after an OLT device confirms that an ONU device fails to start, the ONU device receives the version file loaded by the OLT device via a physical layer operation administration and maintenance PLOAM protocol; and after the ONU device receives all information of the version file, loading completion information sent by the OLT device is received. The embodiment of the invention is used for loading the version file.

Description

A kind of method and apparatus of load application version file
Technical field
The present invention relates to the communications field, relate in particular to a kind of method and apparatus of load application version file.
Background technology
Along with the rise of FTTx, a large amount of optical network unit (English name is Optical Network Unit, referred to as ONU) equipment is put into huge numbers of families by operator's cloth.For the ease of upgrading version, this class Embedded Network Device is preserved software version with erasable FLASH conventionally.Due to the complexity of environment for use, deposit the in use destroyed risk of software version, the wrong version of for example having upgraded.Once just likely cause system to lose the managerial ability to ONU equipment and software version is destroyed in FLASH.
In prior art, need to for example, from firmware (BOOT or BIOS) during ONU device start load application version file, at Gigabit Passive Optical Network, (English name is Gigabit Passive Optical Network, referred to as GPON) or ten Gigabit Passive Optical Networks (English name is 10-Gigabit-capable Passive Optical Network, referred to as XGPON) in, by adopting the mode (dividing primary area and preparation area in firmware) of active and standby subregion to back up version file, wherein, primary area and preparation area all comprise version file, like this, when ONU device start, if primary area for example, by abnormal destruction (upgrading unsuccessfully), ONU equipment can also start from preparation area.But, adopt the mode in active and standby district to need larger FLASH in the process of upgrading ONU equipment, for example, if version size is 16MB, the FLASH needing is 32MB, has not only taken a large amount of memory spaces, and has improved and realized cost.
Summary of the invention
A kind of method and apparatus of load application version file is provided, thereby realize, saves memory space in the process of load application version file, reduce the object that realizes cost.
First aspect, the embodiment of the present invention provides a kind of method of load application version file, comprising:
At optical line terminal OLT equipment, determine after ONU appliance boot failure, described ONU equipment receives the version file that described OLT equipment loads by Physical Layer OAM PLOAM agreement;
At described ONU equipment, receive after the full detail of described version file, receive the loading end that described OLT equipment sends; Described loading end comprises the version identifier of described version file and the size of version file that described ONU equipment receives.
In the possible implementation of first aspect the first, described ONU equipment receives the version file that described OLT equipment loads by Physical Layer OAM PLOAM agreement, comprising:
Described ONU equipment receives the version file that described OLT equipment loads by the sliding window mode of PLOAM agreement utilization; Described version file comprises at least one data slot information.
In conjunction with the possible implementation of the first, in the possible implementation of the second, described ONU equipment receives the version file that described OLT equipment loads by the sliding window of PLOAM agreement utilization, specifically comprise: receive the version message that described OLT equipment loads by current window, and after the full detail of version message that receives described current window loading, to described OLT equipment, send the first response message; Described version message comprises data slot information and the sign of described data slot information in window of version file; Described the first response message comprises the sign of described current window;
Continue to receive the version message that described OLT equipment loads by next window, and after the full detail of version message that receives described next window loading, to described OLT equipment, send the second response message; Described the second response message comprises the sign of described next window, until described ONU equipment receives all information of described version file.
In conjunction with the possible implementation of the second, in the third possible implementation, it is described before OLT equipment is determined ONU appliance boot failure, also comprise: receive the loading Indication message that described OLT equipment sends, described loading Indication message comprises the size of maximum load window and the version identifier of described version file that described OLT equipment is supported;
When described ONU appliance boot failure, described ONU equipment sends and loads indication response message to described OLT equipment; Described loading indication response message comprises the size of the maximum load window that ONU equipment is supported.
In conjunction with the possible implementation of the second or the third possible implementation, in the 4th kind of possible implementation, after receiving the loading end of described OLT equipment transmission, also comprise: to described OLT equipment, send to load and finish response message; Described loading finishes the version identifier of version file and the size of version file that response message comprises that described ONU equipment sends.
In conjunction with first aspect to the 4th kind of first aspect possible implementation in any one, in the 5th kind of possible implementation, also comprise: receive the first check information that described OLT equipment sends, and after receiving the loading end of described OLT equipment transmission, the second check information of described ONU equipment and described the first check information are contrasted, if both are identical, described version file is write in the FLASH of described ONU equipment.
Second aspect, the embodiment of the present invention provides the method for another kind of load application version file, comprising: after definite ONU appliance boot failure, OLT equipment is loaded on described ONU equipment by PLOAM agreement by version file;
After described OLT equipment has loaded described version file, to described ONU equipment, send and load end; Described loading end comprises the version identifier of version file and the size of version file that described OLT equipment sends.
In the possible implementation of second aspect the first, described OLT equipment is loaded on described ONU equipment by PLOAM agreement by version file, comprise: OLT equipment is loaded on described ONU equipment by the sliding window of PLOAM agreement utilization by version file, and described version file comprises at least one data slot information.
In conjunction with the possible implementation of second aspect the first, in the possible implementation of the second, described OLT equipment is loaded on described ONU equipment by the sliding window of PLOAM agreement utilization by version file, specifically comprise: by current window, version message is loaded on to described ONU equipment, and at described ONU equipment, receive after the full detail of the version message that described current window loads, described OLT equipment receives the first response message that described ONU equipment sends; Described version message comprises data slot information and the sign of described data slot information in window of version file; Described the first response message comprises the sign of described current window;
Continuation is loaded on described ONU equipment by next window by described version message, and at described ONU equipment, receives after the full detail of the version message that described next window loads, and described OLT equipment receives the second response message that described ONU equipment sends; Described the second response message comprises the sign of described next window, until described OLT equipment sends all information of described version file to described ONU equipment.
In conjunction with the possible implementation of the second, in the third possible implementation, comprise: if described OLT equipment does not receive described ONU equipment for the response message of the version message transmission of current window loading in Preset Time, by described current window, repeat described version message to be loaded on described ONU equipment.
In conjunction with the possible implementation of the second or the third possible implementation, in the 4th kind of possible implementation, before definite ONU appliance boot failure, also comprise: to described ONU equipment, send and load Indication message, described loading Indication message comprises the size of maximum load window and the version identifier of described version file that described OLT equipment is supported;
Described definite ONU appliance boot failure specifically comprises: receive the loading indication response message that described ONU equipment sends; Described loading indication response message comprises the size of the maximum load window that ONU equipment is supported.
In conjunction with second aspect, it is any one in four kinds of possible implementations of the possible implementation to the of the second, in the 5th kind of possible implementation, after sending loading end to described ONU equipment, also comprise: the loading that receives described ONU equipment transmission finishes response message; Described loading finishes the version identifier of version file and the size of version file that response message comprises that described ONU equipment sends.
In conjunction with second aspect to the 5th kind of possible implementation of second aspect, in the 6th kind of possible implementation, also comprise: to described ONU equipment, send the first check information, so that described ONU equipment is after receiving the loading end of described OLT equipment transmission, the second check information of described ONU equipment and described the first check information are contrasted, if both are identical, described ONU equipment writes described version file in the FLASH of described ONU equipment.
The third aspect, provides a kind of ONU equipment, comprising: start unit, for starting ONU equipment;
Receiving element, for determining that at OLT equipment described start unit starts after the failure of ONU equipment, receives the version file that described OLT equipment loads by PLOAM agreement; And receive after the full detail of described version file at described ONU equipment, receive the loading end that described OLT equipment sends; Described loading end comprises the version identifier of described version file and the size of version file that described ONU equipment receives.
In the possible implementation of third aspect the first, described receiving element, the version file loading by the sliding window mode of PLOAM agreement utilization for receiving described OLT equipment; Described version file comprises at least one data slot information.
In conjunction with the possible implementation of third aspect the first, in the possible implementation of the second, described receiving element specifically for, receive the version message that described OLT equipment loads by current window, described version message comprises data slot information and the sign of described data slot information in window of version file; Described application entity also comprises: transmitting element, for receiving at described receiving element after the full detail of the version message that described current window loads, sends the first response message to described OLT equipment; Described the first response message comprises the sign of described current window;
Described receiving element also for, receive the version message that described OLT equipment loads by next window;
Described transmitting element also for, at described receiving element, receive after the full detail of the version message that described next window loads, to described OLT equipment, send the second response message; Described the second response message comprises the sign of described next window.
In conjunction with the possible implementation of the second, in the third possible implementation, described receiving element is also for before determining that at described OLT equipment described start unit starts the failure of ONU equipment, receive the loading Indication message that described OLT equipment sends, described loading Indication message comprises the size of maximum load window and the version identifier of described version file that described OLT equipment is supported;
Described transmitting element also, for when described start unit startup ONU equipment is failed, sends and loads indication response message to described OLT equipment; Described loading indication response message comprises the size of the maximum load window that ONU equipment is supported.
In conjunction with the possible implementation of the second or the third possible implementation, in the 4th kind of possible implementation, described transmitting element also finishes response message for sending to described OLT equipment to load; Described loading finishes the version identifier of version file and the size of version file that response message comprises that described ONU equipment sends.
In conjunction with the third aspect to any one in the 4th kind of possible implementation of the third aspect, in the 5th kind of possible implementation, the check information that described receiving element also sends for receiving described OLT equipment; Described ONU equipment also comprises: contrast unit, for receiving at described receiving element after the loading end of described OLT equipment transmission, contrasts the second check information of described ONU equipment and described the first check information;
Writing unit, in the situation that coming to the same thing of described contrast unit contrast described version file is write in the FLASH unit of described ONU equipment;
Described FLASH unit, for storing described version file.
Fourth aspect, provides a kind of ONU equipment, comprising:
Processor, for starting ONU equipment;
Receiver, for determining that at OLT equipment described processor starts after the failure of ONU equipment, receives the version file that described OLT equipment loads by PLOAM agreement; And receive after the full detail of described version file at described ONU equipment, receive the loading end that described OLT equipment sends; Described loading end comprises the version identifier of described version file and the size of version file that described ONU equipment receives.
In the possible implementation of fourth aspect the first, described receiver, the version file loading by the sliding window mode of PLOAM agreement utilization for receiving described OLT equipment; Described version file comprises at least one data slot information.
In conjunction with the possible implementation of fourth aspect the first, in the possible implementation of the second, described receiver specifically for, receive the version message that described OLT equipment loads by current window, described version message comprises data slot information and the sign of described data slot information in window of version file; Described application entity also comprises: transmitter, for receiving at described receiver after the full detail of the version message that described current window loads, sends the first response message to described OLT equipment; Described the first response message comprises the sign of described current window;
Described receiver also for, receive the version message that described OLT equipment loads by next window;
Described transmitter also for, at described receiver, receive after the full detail of the version message that described next window loads, to described OLT equipment, send the second response message; Described the second response message comprises the sign of described next window.
In conjunction with the possible implementation of fourth aspect the second, in the third possible implementation, described receiver is also for before determining that at described OLT equipment described processor starts the failure of ONU equipment, receive the loading Indication message that described OLT equipment sends, described loading Indication message comprises the size of maximum load window and the version identifier of described version file that described OLT equipment is supported;
Described transmitter also, for when described processor startup ONU equipment is failed, sends and loads indication response message to described OLT equipment; Described loading indication response message comprises the size of the maximum load window that ONU equipment is supported.
In conjunction with the possible implementation of fourth aspect the second or the third possible implementation, in the 4th kind of possible implementation, described transmitter also finishes response message for sending to described OLT equipment to load; Described loading finishes the version identifier of version file and the size of version file that response message comprises that described ONU equipment sends.
In conjunction with fourth aspect to any one in the 4th kind of possible implementation of fourth aspect, in the 5th kind of possible implementation, the check information that described receiver also sends for receiving described OLT equipment;
Described processor, for receiving at described receiver after the loading end of described OLT equipment transmission, the second check information of described ONU equipment and described the first check information are contrasted, if both are identical, described version file is write in the FLASH of described ONU equipment;
Described FLASH, for storing described version file.
The 5th aspect, provides a kind of OLT equipment, comprising:
Transmitting element, for after definite ONU appliance boot failure, is loaded on described ONU equipment by PLOAM agreement by version file, and described version file comprises at least one data slot information; And after described version file has loaded, to described ONU equipment, send and load end; Described loading end comprises the version identifier of version file and the size of version file that described OLT equipment sends.
In the implementation that the first is possible aspect the 5th, described transmitting element, for being loaded on described ONU equipment by the sliding window of PLOAM agreement utilization by version file.
In conjunction with the possible implementation of the first, in the possible implementation of the second, described transmitting element specifically for, by current window, version message is loaded on to described ONU equipment; Described OLT equipment also comprises: receiving element, for receiving at described ONU equipment after the full detail of the version message that described transmitting element loads by current window, receives the first response message that described ONU equipment sends; Described version message comprises data slot information and the sign of described data slot information in window of version file; Described the first response message comprises the sign of described current window;
Described transmitting element also for, by next window, described version message is loaded on to described ONU equipment;
Described receiving element also for, at described ONU equipment, receive after the full detail of the version message that described transmitting element loads by next window, receive the second response message that described ONU equipment sends; Described the second response message comprises the sign of described next window.
In conjunction with the possible implementation of the second, in the third possible implementation, described transmitting element also for, if described receiving element does not receive described ONU equipment for the response message of the version message transmission of current window loading in Preset Time, by described current window, repeat described version message to be loaded on described ONU equipment.
In conjunction with the possible implementation of the second or the third possible implementation, in the 4th kind of possible implementation, described transmitting element also for, before definite ONU appliance boot failure, to described ONU equipment, send and load Indication message, described loading Indication message comprises the size of maximum load window and the version identifier of described version file that described OLT equipment is supported;
Described receiving element also for, receive loading indication response message that described ONU equipment sends to determine described ONU appliance boot failure; Described loading indication response message comprises the size of the maximum load window that ONU equipment is supported.
In conjunction with any one in the possible four kinds of possible implementations of implementation to the of the second, in the 5th kind of possible implementation, described receiving element is also for after sending loading end at described transmitting element to described ONU equipment, and the loading that receives described ONU equipment transmission finishes response message; Described loading finishes the version identifier of version file and the size of version file that response message comprises that described ONU equipment sends.
In conjunction with any one in the possible implementation in the 5th kind of five aspect, the 5th aspect to the, in the 6th kind of possible implementation, described transmitting element also for, to described ONU equipment, send the first check information, so that described ONU equipment is after receiving the loading end of described OLT equipment transmission, the second check information of described ONU equipment and described the first check information are contrasted, if both are identical, described ONU equipment writes described version file in the FLASH unit of described ONU equipment.
The 6th aspect, provides a kind of OLT equipment, comprising:
Transmitter, for after definite ONU appliance boot failure, is loaded on described ONU equipment by PLOAM agreement by version file, and described version file comprises at least one data slot information; And after described version file has loaded, to described ONU equipment, send and load end; Described loading end comprises the version identifier of version file and the size of version file that described OLT equipment sends.
In the implementation that the first is possible aspect the 6th, described transmitter, for being loaded on described ONU equipment by the sliding window of PLOAM agreement utilization by version file.
In conjunction with the possible implementation of the 6th aspect the first, in the possible implementation of the second, described transmitter specifically for, by current window, version message is loaded on to described ONU equipment; Described OLT equipment also comprises: receiver, for receiving at described ONU equipment after the full detail of the version message that described transmitter loads by current window, receives the first response message that described ONU equipment sends; Described version message comprises data slot information and the sign of described data slot information in window of version file; Described the first response message comprises the sign of described current window;
Described transmitter also for, by next window, described version message is loaded on to described ONU equipment;
Described receiver also for, at described ONU equipment, receive after the full detail of the version message that described transmitter loads by next window, receive the second response message that described ONU equipment sends; Described the second response message comprises the sign of described next window.
In conjunction with the possible implementation of the 6th aspect the second, in the third possible implementation, described transmitter also for, if described receiver does not receive described ONU equipment for the response message of the version message transmission of current window loading in Preset Time, by described current window, repeat described version message to be loaded on described ONU equipment.
In conjunction with the possible implementation of the 6th aspect the second or the third possible implementation, in the 4th kind of possible implementation, described transmitter also for, before definite ONU appliance boot failure, to described ONU equipment, send and load Indication message, described loading Indication message comprises the size of maximum load window and the version identifier of described version file that described OLT equipment is supported;
Described receiver also for, receive loading indication response message that described ONU equipment sends to determine described ONU appliance boot failure; Described loading indication response message comprises the size of the maximum load window that ONU equipment is supported.
In conjunction with any one in the possible four kinds of possible implementations of implementation to the of the 6th aspect the second, in the 5th kind of possible implementation, described receiver is also for after sending loading end at described transmitter to described ONU equipment, and the loading that receives described ONU equipment transmission finishes response message; Described loading finishes the version identifier of version file and the size of version file that response message comprises that described ONU equipment sends.
In conjunction with any one in the possible implementation in the 5th kind of six aspect, the 6th aspect to the, in the 6th kind of possible implementation, described transmitter also for, to described ONU equipment, send the first check information, so that described ONU equipment is after receiving the loading end of described OLT equipment transmission, the second check information of described ONU equipment and described the first check information are contrasted, if both are identical, described ONU equipment writes described version file in the FLASH of described ONU equipment.
By adopting such scheme, owing to adopting PLOAM agreement, can simplify the processing of agreement, the application protocol of supporting in the process that makes to load is minimum, thereby make the process loading become simple, and do not need to divide again preparation area and just can prevent that the version file causing because version file is damaged from loading unsuccessfully, thereby in the process of load application version file, realized saving memory space, reduced the object that realizes cost.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, to the accompanying drawing of required use in embodiment be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The method schematic diagram of a kind of load application version file that Fig. 1 provides for the embodiment of the present invention;
The method schematic diagram of the another kind of load application version file that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of a kind of load application version document method that Fig. 3 provides for the embodiment of the present invention;
The structural representation of a kind of ONU equipment that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the another kind of ONU equipment that Fig. 5 provides for the embodiment of the present invention;
The structural representation of the another kind of ONU equipment that Fig. 6 provides for the embodiment of the present invention;
The structural representation of the another kind of ONU equipment that Fig. 7 provides for the embodiment of the present invention;
The structural representation of the another kind of ONU equipment that Fig. 8 provides for the embodiment of the present invention;
The structural representation of a kind of OLT equipment that Fig. 9 provides for the embodiment of the present invention;
The structural representation of the another kind of OLT equipment that Figure 10 provides for the embodiment of the present invention;
The structural representation of the another kind of OLT equipment that Figure 11 provides for the embodiment of the present invention;
The structural representation of the another kind of OLT equipment that Figure 12 provides for the embodiment of the present invention;
A kind of communication network that Figure 13 provides for the embodiment of the present invention;
The another kind of communication network that Figure 14 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of load application version file, and as shown in Figure 1, the executive agent of this embodiment is ONU equipment, comprising:
S101, at optical line terminal, (English name is optical line terminal, abbreviation OLT) equipment is determined after ONU appliance boot failure, this ONU equipment receives the version file that this OLT equipment loads by Physical Layer OAM (English name is Physical Layer Operation Administration and Maintenance, referred to as PLOAM) agreement.
For example: ONU equipment is when system normal boot-strap, and from BIOS or BOOT, loading system starts required version file failure (as abnormal in version file or destroyed) and causes ONU appliance boot failure; This system is the operating system that this version file is corresponding.
Wherein, PLOAM agreement is that (English name is Passive Optical Network to a kind of message based support passive optical-fiber network, referred to as PON) GTC layer-management function, and the agreement that the transmission channel between OLT equipment and ONU equipment is operated and managed.
Alternatively, this ONU equipment receives the version file that this OLT equipment loads by the sliding window mode of PLOAM agreement utilization.
Wherein, this version file comprises at least one data slot information.
Particularly, because version file is generally larger, therefore a possibly loading that cannot complete all information of version file of window, therefore this version file is divided into a plurality of data slot information, the sliding window of recycling loads and (after all version message in having loaded a window, continues to load the version message of subsequent window, until version message corresponding to all windows loaded), the method is specifically as follows: ONU equipment receives the version message that this OLT equipment loads by current window, and after the full detail of version message that receives this current window loading, to this OLT equipment, send the first response message.
Wherein, this version message comprises data slot information and the sign of this data slot information in window of version file; This first response message comprises the sign of this current window.
ONU equipment continues to receive the version message that this OLT equipment loads by next window, and after the full detail of version message that receives this next window loading, to this OLT equipment, sends the second response message; This second response message comprises the sign of this next window, until this ONU equipment receives all information of this version file.
It should be noted that, the corresponding a plurality of version message of each window, the corresponding Data Identification of data slot information in each version message, the numbering of data slot information in this window for example, after one of them data slot information has loaded, continue to load the numbering of data slot information in this window and add version message corresponding to the corresponding data slot information of numbering after, until all version message in this window have all loaded.
In addition, the same corresponding sign of each window, window number for example, after all version message in current window have all loaded, and OLT equipment receives the response message that ONU equipment sends, automatically load the window number that current window is corresponding and add the version message in the corresponding window of numbering after, until the version message in window corresponding to all data slot information of this version file has all loaded.
Further, before OLT equipment is determined ONU appliance boot failure, ONU equipment receives the loading Indication message that OLT equipment sends.
Wherein, this loading Indication message comprises the size (quantity of the data slot information that this window is supported) of the maximum load window that this OLT equipment is supported and the version identifier (as version number) of this version file.
In addition, when this ONU appliance boot failure, to this OLT equipment, send and load indication response message.
Wherein, this loading indication response message comprises the size (maximum quantity of the data slot information that this window is supported) of the maximum load window that ONU equipment is supported.
Particularly, boot can load according to a minimum window of size coupling of the window of the size of the maximum load window of the OLT equipment support in above-mentioned loading Indication message and the support of ONU equipment, this minimum window is the size of the maximum load window of the ONU equipment support in above-mentioned loading indication response message, this boot is included in the BOOT or BIOS of ONU equipment, for guiding aforesaid operations system to start; For example: if the size of the maximum load window of OLT equipment support is 300 blocks of data frag infos; And the size of the window of ONU equipment support is 500 blocks of data frag infos, due to OLT equipment, not supporting size is the window of 500 blocks of data frag infos, therefore, boot can be mated a size for holding the window of 300 blocks of data frag infos, so that OLT equipment is loaded on ONU equipment by version file by this window; Here just illustrate, the present invention is not construed as limiting this.
S102, at this ONU equipment, receive after the full detail of this version file, ONU equipment receives the loading end that this OLT equipment sends.
Wherein, this loading end comprises the version identifier (as version number) of version file and the size (as the data length of version file) of version file that ONU equipment receives.
Further, after receiving the loading end of this OLT equipment transmission, ONU equipment sends to load to this OLT equipment and finishes response message.
Wherein, this loading finishes the version identifier (as version number) of version file and the size (as the data length of version file) of version file that response message comprises that ONU equipment sends, like this, OLT equipment finishes version identifier (as version number) in response message according to the loading receiving and the size (as the data length of version file) of version file is further determined the correctness of the version file of loading.
Alternatively, this ONU equipment receives the first check information that OLT equipment sends (such as the version identifier of version file or check code etc.), and after receiving the loading end of this OLT equipment transmission, the second check information of this ONU equipment (such as the version identifier obtaining the version file from receiving or check code etc.) is contrasted with this first check information, if both are identical, this version file is write in the FLASH of this ONU equipment, thereby determine the correctness that version file transmits.
Wherein, this first check message can be included in OLT equipment in the loading Indication message of ONU equipment transmission, or is included in OLT equipment in the loading ending message of ONU equipment transmission; Or this first check message part is included in OLT equipment in the loading Indication message of ONU equipment transmission, another part is included in the loading ending message of ONU equipment reception OLT equipment transmission; The present invention is not construed as limiting this.
In addition, ONU equipment, this version file is write after the FLASH of this ONU equipment, restarts.
By the technical scheme in load application version document method of the present invention, the executive agent of this scheme is ONU equipment, ONU equipment receives the version file that OLT equipment loads by PLOAM agreement, owing to adopting PLOAM agreement, can simplify the processing of agreement, the application protocol of supporting in the process that makes to load is minimum, thereby make the process loading become simple, and do not need to divide again backup area and just can prevent that the version file causing because version file is damaged from loading unsuccessfully, thereby in the process of load application version file, realized saving memory space, reduced the object that realizes cost.
The embodiment of the present invention provides the method for another kind of load application version file, and as shown in Figure 2, the executive agent of this embodiment is OLT equipment, comprising:
S201, after definite ONU appliance boot failure, OLT equipment is loaded on this ONU equipment by PLOAM agreement by version file.
For example: ONU equipment is when system normal boot-strap, and from BIOS or BOOT, loading system starts required version file failure (as abnormal in version file or destroyed) and causes ONU appliance boot failure; This system is the operating system that this version file is corresponding.
Wherein, PLOAM agreement is the GTC layer-management function of a kind of message based support PON the agreement that the transmission channel between OLT equipment and ONU equipment is operated and managed.
Alternatively, this version file comprises at least one data slot information.
Particularly, because version file is generally larger, therefore a possibly loading that cannot complete all information of version file of window, therefore this version file being divided into the sliding windows of a plurality of data slot information utilizations loads and (after all version message in having loaded a window, continues the version message of loading subsequent window, until version message corresponding to all windows loaded), the method specifically comprises: OLT equipment is loaded on this ONU equipment by current window by version message, and at this ONU equipment, receive after the full detail of the version message that this current window loads, this OLT equipment receives the first response message that this ONU equipment sends.
Wherein, this version message comprises data slot information and the sign of this data slot information in window of version file; This first response message comprises the sign of this current window.
OLT equipment continues, by next window, this version message to be loaded on to this ONU equipment, and at this ONU equipment, receives after the full detail of the version message that this next window loads, and this OLT equipment receives the second response message that this ONU equipment sends; This second response message comprises the sign of this next window, until this OLT equipment sends all information of this version file to this ONU equipment.
It should be noted that, the corresponding a plurality of version message of each window, the corresponding Data Identification of data slot information in each version message, the numbering of data slot information in this window for example, after one of them data slot information has loaded, continue to load the numbering of data slot information in this window and add version message corresponding to the corresponding data slot information of numbering after, until all version message in this window have all loaded.
In addition, the same corresponding sign of each window, window number for example, after all version message in current window have all loaded, and OLT equipment receives the response message that ONU equipment sends, automatically load the window number that current window is corresponding and add the version message in the corresponding window of numbering after, until the version message in window corresponding to all data slot information of this version file has all loaded.
Alternatively, if this OLT equipment does not receive this ONU equipment for the response message of the version message transmission of current window loading in Preset Time, by this current window, repeat this version message to be loaded on this ONU equipment, thereby guarantee complete this version file to be loaded on to ONU equipment, this Preset Time can obtain according to practical application or empirical value.
Further, before definite ONU appliance boot failure, OLT equipment sends and loads Indication message to this ONU equipment.
Wherein, this loading Indication message comprises the size (maximum quantity of the data slot information that this window is supported) of the maximum load window that this OLT equipment is supported and the version identifier (as version number) of this version file.
OLT equipment, when receiving the loading indication response message of this ONU equipment transmission, is determined this ONU appliance boot failure.
Wherein, this loading indication response message comprises the size (maximum quantity of the data slot information that this window is supported) of the maximum load window that ONU equipment is supported.
Particularly, boot can load according to a minimum window of size coupling of the window of the size of the maximum load window of the OLT equipment support in above-mentioned loading Indication message and the support of ONU equipment, this minimum window is the size of the maximum load window of the ONU equipment support in above-mentioned loading indication response message, this boot is included in the BOOT or BIOS of ONU equipment, for guiding aforesaid operations system to start; For example: if the size of the maximum load window of OLT equipment support is 300 blocks of data frag infos; And the size of the window of ONU equipment support is 500 blocks of data frag infos, due to OLT equipment, not supporting size is the window of 500 blocks of data frag infos, therefore, boot can be mated a size for holding the window of 300 blocks of data frag infos, so that OLT equipment is loaded on ONU equipment by version file by this window; Here just illustrate, the present invention is not construed as limiting this.
S202, after this OLT equipment has loaded this version file, to this ONU equipment, send and load end.
Wherein, this loading end comprises the version identifier (as version number) of version file and the size (as the data length of version file) of version file that OLT equipment sends.
Further, after sending loading end to this ONU equipment, the loading that this OLT equipment receives this ONU equipment transmission finishes response message.
Wherein, this loading finishes the version identifier (as version number) of version file and the size (as the data length of version file) of version file that response message comprises that ONU equipment sends, like this, OLT equipment finishes version identifier (as version number) in response message according to the loading receiving and the size (as the data length of version file) of version file is further determined the correctness of the version file of loading.
Alternatively, this ONU equipment receives the first check information that OLT equipment sends (such as the version identifier of version file or check code etc.), and after receiving the loading end of this OLT equipment transmission, the second check information of this ONU equipment (such as the version identifier obtaining the version file from receiving or check code etc.) is contrasted with this first check information, if both are identical, this version file is write in the FLASH of this ONU equipment, thereby determine the correctness that version file transmits.
Wherein, this first check message can be included in OLT equipment in the loading Indication message of ONU equipment transmission, or is included in OLT equipment in the loading ending message of ONU equipment transmission; Or this first check message part is included in OLT equipment in the loading Indication message of ONU equipment transmission, another part is included in the loading ending message of ONU equipment reception OLT equipment transmission; The present invention is not construed as limiting this.
In addition, ONU equipment, this version file is write after the FLASH of this ONU equipment, restarts.
By the technical scheme in load application version document method of the present invention, the executive agent of this scheme is OLT equipment, OLT equipment is loaded on ONU equipment by PLOAM agreement by version file, owing to adopting PLOAM agreement, can simplify the processing of agreement, the application protocol of supporting in the process that makes to load is minimum, thereby make the process loading become simple, and do not need to divide again backup area and just can prevent that the version file causing because version file is damaged from loading unsuccessfully, thereby in the process of load application version file, realized saving memory space, reduced the object that realizes cost.
Preferably, the embodiment of the present invention provides the method for another kind of load application version file, as shown in Figure 3, comprising:
S301, OLT equipment, when ONU equipment being detected and reach the standard grade, send and load Indication message to ONU equipment.
Wherein, this loading Indication message comprises the size (maximum quantity of the data slot information that this window is supported) of the maximum load window that this OLT equipment is supported and the version identifier (as version number) of this version file.
S302, when ONU appliance boot failure, ONU equipment loads Indication message for this and sends and load indication response message to OLT equipment.
For example: ONU equipment is when system normal boot-strap, and from BIOS or BOOT, loading system starts required version file failure (as abnormal in version file or destroyed) and causes ONU appliance boot failure; This system is the operating system that this version file is corresponding.
Wherein, this loading indication response message comprises the size (maximum quantity of the data slot information that this window is supported) of the maximum load window that ONU equipment is supported.
Particularly, boot can load according to a minimum window of size coupling of the window of the size of the maximum load window of the OLT equipment support in above-mentioned loading Indication message and the support of ONU equipment, this minimum window is the size of the maximum load window of the ONU equipment support in above-mentioned loading indication response message, this boot is included in the BOOT or BIOS of ONU equipment, for guiding aforesaid operations system to start; For example: if the size of the maximum load window of OLT equipment support is 300 blocks of data frag infos; And the size of the window of ONU equipment support is 500 blocks of data frag infos, due to OLT equipment, not supporting size is the window of 500 blocks of data frag infos, therefore, boot can be mated a size for holding the window of 300 blocks of data frag infos, so that OLT equipment is loaded on ONU equipment by version file by this window; Here just illustrate, the present invention is not construed as limiting this.
In addition, if this ONU equipment normally starts, ONU equipment is ignored above-mentioned loading Indication message.
S303, OLT equipment, when receiving this loading indication response message, are determined this ONU appliance boot failure.
Further, if OLT equipment does not receive this loading indication response message in Preset Time, determine that this ONU equipment normally starts, and does not need to carry out follow-up load step.
S304, OLT equipment are loaded on ONU equipment by the sliding window of PLOAM agreement utilization by version file.
Wherein, PLOAM agreement is the GTC layer-management function of a kind of message based support PON the agreement that the transmission channel between OLT equipment and ONU equipment is operated and managed.
Particularly, because version file is generally larger, therefore a possibly loading that cannot complete all information of version file of window, therefore this version file is divided into a plurality of data slot information, the sliding window of recycling loads and (after all version message in having loaded a window, continues to load the version message of subsequent window, until version message corresponding to all windows loaded), therefore, this step S304 is specially:
OLT equipment is loaded on this ONU equipment by current window by version message, and this ONU equipment, after the full detail of version message that receives this current window loading, sends the first response message to this OLT equipment.
Wherein, this version message comprises data slot information and the sign of this data slot information in window of version file; This first response message comprises the sign of this current window.
OLT equipment continues, by next window, version message is loaded on to ONU equipment, and after the full detail of version message that receives next window loading, to this OLT equipment, send the second response message, until this ONU equipment receives all information of this version file.
Wherein, this second response message comprises the sign of this next window.
It should be noted that, the corresponding a plurality of version message of each window, the corresponding Data Identification of data slot information in each version message, the numbering of data slot information in this window for example, after one of them data slot information has loaded, continue to load the numbering of data slot information in this window and add version message corresponding to the corresponding data slot information of numbering after, until all version message in this window have all loaded.
In addition, the same corresponding sign of each window, window number for example, after all version message in current window have all loaded, and OLT equipment receives the response message that ONU equipment sends, automatically load the window number that current window is corresponding and add the version message in the corresponding window of numbering after, until the version message in window corresponding to all data slot information of this version file has all loaded.
Alternatively, if this OLT equipment does not receive this ONU equipment for the response message of the version message transmission of current window loading in Preset Time, by this current window, repeat this version message to be loaded on this ONU equipment, thereby guarantee complete this version file to be loaded on to ONU equipment, this Preset Time can obtain according to practical application or empirical value.
S305, after this OLT equipment has loaded this version file, OLT equipment sends and loads end to this ONU equipment.
Wherein, this loading end comprises the version identifier (as version number) of version file and the size (as the data length of version file) of version file that this OLT equipment sends.
S306, at this ONU equipment, receive after this loading end, to this OLT equipment, send to load and finish response message.
Wherein, this loading finishes the version identifier (as version number) of version file and the size (as the data length of version file) of version file that response message comprises that this ONU equipment sends, like this, the loading that OLT equipment sends according to ONU equipment finishes version identifier (as version number) in response message and the size (as the data length of version file) of version file is further determined the correctness of the version file of loading.
S307, ONU equipment contrast the second checking information (such as the version identifier obtaining the version file from receiving or check code etc.) and the first check information receiving from OLT equipment (such as the version identifier of version file or check code etc.), if both are identical, this version file is write in the FLASH of this ONU equipment.
Wherein, this first check message can be included in OLT equipment in the loading Indication message of ONU equipment transmission, or is included in OLT equipment in the loading ending message of ONU equipment transmission; Or this first check message part is included in OLT equipment in the loading Indication message of ONU equipment transmission, another part is included in the loading ending message of ONU equipment reception OLT equipment transmission; The present invention is not construed as limiting this.
S308, ONU equipment, this version file is write after the FLASH of this ONU equipment, restart.
By the technical scheme in load application version document method of the present invention, because the loading that adopts PLOAM agreement to carry out version file can be simplified the processing of agreement, the application protocol of supporting in the process that makes to load is minimum, thereby make the process loading become simple, and do not need to divide again backup area and just can prevent that the version file causing because version file is damaged from loading unsuccessfully, thereby in the process of load application version file, realized saving memory space, reduced the object that realizes cost.
It should be noted that, for aforesaid each embodiment of the method, for simple description, thus it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement; Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
The embodiment of the present invention provides a kind of ONU equipment 400, as shown in Figure 4, comprising:
Start unit 401, for starting ONU equipment;
Receiving element 402, for determining that at OLT equipment this start unit 401 starts after the failure of ONU equipment, receives the version file that this OLT equipment loads by PLOAM agreement; And receive after the full detail of this version file at this ONU equipment, receive the loading end that this OLT equipment sends.
For example: ONU equipment is when system normal boot-strap, and from BIOS or BOOT, loading system starts required version file failure (as abnormal in version file or destroyed) and causes ONU appliance boot failure; This system is the operating system that this version file is corresponding.
Wherein, PLOAM agreement is the GTC layer-management function of a kind of message based support PON the agreement that the transmission channel between OLT equipment and ONU equipment is operated and managed; This loading end comprises the version identifier of this version file and the size of version file that this ONU equipment receives.
Alternatively, this receiving element 402, the version file loading by the sliding window mode of PLOAM agreement utilization for receiving this OLT equipment.
Wherein, this version file comprises at least one data slot information.
Further, this receiving element 402 specifically for, receive the version message that this OLT equipment loads by current window.
Wherein, this version message comprises data slot information and the sign of this data slot information in window of version file.
As shown in Figure 5, this ONU equipment 400 also comprises: transmitting element 403, after the full detail for the version message in this this current windows loading of receiving element 402 receptions, sends the first response message to this OLT equipment.
Wherein, this first response message comprises the sign of this current window;
This receiving element 402 also for, receive the version message that this OLT equipment loads by next window.
This transmitting element 403 also for, at this receiving element 402, receive after the full detail of the version message that these next windows load, to this OLT equipment, send the second response message.
Wherein, this second response message comprises the sign of this next window.
It should be noted that, the corresponding a plurality of version message of each window, the corresponding Data Identification of data slot information in each version message, the numbering of data slot information in this window for example, after one of them data slot information has loaded, continue to load the numbering of data slot information in this window and add version message corresponding to the corresponding data slot information of numbering after, until all version message in this window have all loaded.
In addition, the same corresponding sign of each window, window number for example, after all version message in current window have all loaded, and OLT equipment receives the response message that ONU equipment sends, automatically load the window number that current window is corresponding and add the version message in the corresponding window of numbering after, until the version message in window corresponding to all data slot information of this version file has all loaded.
Alternatively, this receiving element 402, also for determine this startup ONU appliance boot failure at OLT equipment before, receives the loading Indication message that this OLT equipment sends.
Wherein, this loading Indication message comprises the size of maximum load window and the version identifier of this version file that this OLT equipment is supported;
This transmitting element 403, also for when this ONU appliance boot failure, sends and loads indication response message to this OLT equipment.
Wherein, this loading indication response message comprises the size of the maximum load window that ONU equipment is supported.
Particularly, boot can load according to a minimum window of size coupling of the window of the size of the maximum load window of the OLT equipment support in above-mentioned loading Indication message and the support of ONU equipment, this minimum window is the size of the maximum load window of the ONU equipment support in above-mentioned loading indication response message, this boot is included in the BOOT or BIOS of ONU equipment, for guiding aforesaid operations system to start; For example: if the size of the maximum load window of OLT equipment support is 300 blocks of data frag infos; And the size of the window of ONU equipment support is 500 blocks of data frag infos, due to OLT equipment, not supporting size is the window of 500 blocks of data frag infos, therefore, boot can be mated a size for holding the window of 300 blocks of data frag infos, so that OLT equipment is loaded on ONU equipment by version file by this window; Here just illustrate, the present invention is not construed as limiting this.
Alternatively, this transmitting element 403 also finishes response message for sending to this OLT equipment to load.
Wherein, this loading finishes the version identifier of version file and the size of version file that response message comprises that this ONU equipment sends, like this, the loading that OLT equipment sends according to ONU equipment finishes version identifier (as version number) in response message and the size (as the data length of version file) of version file is further determined the correctness of the version file of loading.
Alternatively, this receiving element 402 is also for receiving the first check information that this OLT equipment sends (such as the version identifier of version file or check code etc.).
As shown in Figure 6, this ONU equipment 400 also comprises: contrast unit 404, for receiving after the loading end of this OLT equipment transmission at this receiving element 402, the second check information of this ONU equipment (such as the version identifier obtaining the version file from receiving or check code etc.) is contrasted with described the first check information;
Writing unit 405, in the situation that coming to the same thing of contrast unit 404 contrast this version file is write in the FLASH unit of this ONU equipment;
FLASH unit 406, for storing this version file.
Alternatively, above-mentioned start unit also, at writing unit, this version file being write behind this FLASH unit, restarts ONU equipment.
Wherein, this first check message can be included in OLT equipment in the loading Indication message of ONU equipment transmission, or is included in OLT equipment in the loading ending message of ONU equipment transmission; Or this first check message part is included in OLT equipment in the loading Indication message of ONU equipment transmission, another part is included in the loading ending message of ONU equipment reception OLT equipment transmission; The present invention is not construed as limiting this.
Adopt above-mentioned ONU equipment, ONU equipment receives the version file that OLT equipment loads by PLOAM agreement, owing to adopting PLOAM agreement, can simplify the processing of agreement, the application protocol of supporting in the process that makes to load is minimum, thereby make the process loading become simple, and do not need to divide again backup area and just can prevent that the version file causing because version file is damaged from loading unsuccessfully, thereby realized saving memory space in the process of load application version file, reduce the object that realizes cost.
It should be noted that, the unit of above-mentioned ONU equipment both can adopt the form of hardware to realize, and the form that also can adopt hardware to add SFU software functional unit realizes.
In addition, affiliated those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the ONU equipment of foregoing description, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
The embodiment of the present invention provides a kind of ONU equipment 700, as shown in Figure 7, comprising:
Processor 701, for starting ONU equipment;
Receiver 702, for determining that at OLT equipment this processor 701 starts after the failure of ONU equipment, receives the version file that this OLT equipment loads by PLOAM agreement; And receive after the full detail of this version file at this ONU equipment, receive the loading end that this OLT equipment sends.
Wherein, this loading end comprises the version identifier of this version file and the size of version file that this ONU equipment receives.
For example: ONU equipment is when system normal boot-strap, and from BIOS or BOOT, loading system starts required version file failure (as abnormal in version file or destroyed) and causes ONU appliance boot failure; This system is the operating system that this version file is corresponding.
Wherein, PLOAM agreement is the GTC layer-management function of a kind of message based support PON the agreement that the transmission channel between OLT equipment and ONU equipment is operated and managed; This loading end comprises the version identifier of this version file and the size of version file that this ONU equipment receives.
Alternatively, this receiver 702, the version file loading by the sliding window mode of PLOAM agreement utilization for receiving this OLT equipment.
Wherein, this version file comprises at least one data slot information.
Further, this receiver specifically for, receive the version message that this OLT equipment loads by current window.
Wherein, this version message comprises data slot information and the sign of this data slot information in window of version file.
As shown in Figure 8, this ONU equipment 700 also comprises: transmitter 703, after the full detail for the version message in this this current windows loading of receiver 702 receptions, sends the first response message to this OLT equipment.
Wherein, this first response message comprises the sign of this current window;
This receiver 702 also for, receive the version message that this OLT equipment loads by next window.
This transmitter 703 also for, at this receiver 702, receive after the full detail of the version message that these next windows load, to this OLT equipment, send the second response message.
Wherein, this second response message comprises the sign of this next window.
It should be noted that, the corresponding a plurality of version message of each window, the corresponding Data Identification of data slot information in each version message, the numbering of data slot information in this window for example, after one of them data slot information has loaded, continue to load the numbering of data slot information in this window and add version message corresponding to the corresponding data slot information of numbering after, until all version message in this window have all loaded.
In addition, the same corresponding sign of each window, window number for example, after all version message in current window have all loaded, and OLT equipment receives the response message that ONU equipment sends, automatically load the window number that current window is corresponding and add the version message in the corresponding window of numbering after, until the version message in window corresponding to all data slot information of this version file has all loaded.
Alternatively, this receiver 702, also for determine this startup ONU appliance boot failure at OLT equipment before, receives the loading Indication message that this OLT equipment sends.
Wherein, this loading Indication message comprises the size of maximum load window and the version identifier of this version file that this OLT equipment is supported;
This transmitter 703, also for when this ONU appliance boot failure, sends and loads indication response message to this OLT equipment.
Wherein, this loading indication response message comprises the size of the maximum load window that ONU equipment is supported.
Particularly, boot can load according to a minimum window of size coupling of the window of the size of the maximum load window of the OLT equipment support in above-mentioned loading Indication message and the support of ONU equipment, this minimum window is the size of the maximum load window of the ONU equipment support in above-mentioned loading indication response message, this boot is included in the BOOT or BIOS of ONU equipment, for guiding aforesaid operations system to start; For example: if the size of the maximum load window of OLT equipment support is 300 blocks of data frag infos; And the size of the window of ONU equipment support is 500 blocks of data frag infos, due to OLT equipment, not supporting size is the window of 500 blocks of data frag infos, therefore, boot can be mated a size for holding the window of 300 blocks of data frag infos, so that OLT equipment is loaded on ONU equipment by version file by this window; Here just illustrate, the present invention is not construed as limiting this.
Alternatively, this transmitter 703 also finishes response message for sending to this OLT equipment to load.
Wherein, this loading finishes the version identifier of version file and the size of version file that response message comprises that this ONU equipment sends, like this, the loading that OLT equipment sends according to ONU equipment finishes version identifier (as version number) in response message and the size (as the data length of version file) of version file is further determined the correctness of the version file of loading.
Alternatively, this receiver 702 is also for receiving the first check information that this OLT equipment sends (such as the version identifier of version file or check code etc.).
This processor 701, also for receiving after the loading end of this OLT equipment transmission at this receiver 702, the second check information of described ONU equipment (such as the version identifier obtaining the version file from receiving or check code etc.) is contrasted with described the first check information, if both are identical, this version file is write in the FLASH of this ONU equipment;
FLASH704, for storing this version file.
Alternatively, above-mentioned processor also, for this version file is being write after FLASH, restarts ONU equipment.
Wherein, this first check message can be included in OLT equipment in the loading Indication message of ONU equipment transmission, or is included in OLT equipment in the loading ending message of ONU equipment transmission; Or this first check message part is included in OLT equipment in the loading Indication message of ONU equipment transmission, another part is included in the loading ending message of ONU equipment reception OLT equipment transmission; The present invention is not construed as limiting this.
Adopt above-mentioned ONU equipment, ONU equipment receives the version file that OLT equipment loads by PLOAM agreement, owing to adopting PLOAM agreement, can simplify the processing of agreement, the application protocol of supporting in the process that makes to load is minimum, thereby make the process loading become simple, and do not need to divide again backup area and just can prevent that the version file causing because version file is damaged from loading unsuccessfully, thereby realized saving memory space in the process of load application version file, reduce the object that realizes cost.
In addition, affiliated those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the ONU equipment of foregoing description, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
The embodiment of the present invention provides a kind of OLT equipment equipment 900, as shown in Figure 9, comprising:
Transmitting element 901, for after definite ONU appliance boot failure, is loaded on this ONU equipment by PLOAM agreement by version file, and after this version file has loaded, to this ONU equipment, sends and load end.
For example: ONU equipment is when system normal boot-strap, and from BIOS or BOOT, loading system starts required version file failure (as abnormal in version file or destroyed) and causes ONU appliance boot failure; This system is the operating system that this version file is corresponding.
Wherein, PLOAM agreement is the GTC layer-management function of a kind of message based support PON the agreement that the transmission channel between OLT equipment and ONU equipment is operated and managed; This version file comprises at least one data slot information; This loading end comprises the version identifier of version file and the size of version file that OLT equipment sends.
Alternatively, this transmitting element 901, for being loaded on this ONU equipment by the sliding window of PLOAM agreement utilization by version file.
Further, this transmitting element 901 specifically for, by current window, version message is loaded on to this ONU equipment.
As shown in figure 10, this OLT equipment 900 also comprises: receiving element 902, for receiving at this ONU equipment after the full detail of the version message that this transmitting element 901 loads by current window, receives the first response message that this ONU equipment sends.
Wherein, this version message comprises data slot information and the sign of this data slot information in window of version file; This first response message comprises the sign of this current window;
This transmitting element 901 also for, by next window, described version message is loaded on to described ONU equipment;
This receiving element 902 also for, at this ONU equipment, receive after the full detail of the version message that this transmitting element loads by next window, receive the second response message that this ONU equipment sends.
Wherein, this second response message comprises the sign of this next window.
It should be noted that, the corresponding a plurality of version message of each window, the corresponding Data Identification of data slot information in each version message, the numbering of data slot information in this window for example, after one of them data slot information has loaded, continue to load the numbering of data slot information in this window and add version message corresponding to the corresponding data slot information of numbering after, until all version message in this window have all loaded.
In addition, the same corresponding sign of each window, window number for example, after all version message in current window have all loaded, and OLT equipment receives the response message that ONU equipment sends, automatically load the window number that current window is corresponding and add the version message in the corresponding window of numbering after, until the version message in window corresponding to all data slot information of this version file has all loaded.
Alternatively, this transmitting element 901 also for, if this receiving element does not receive the response message that version message that this ONU equipment loads for current window sends in Preset Time, by this current window, repeat this version message to be loaded on this ONU equipment; Wherein, this Preset Time can obtain according to practical application or empirical value.
Alternatively, this transmitting element 901 also for, before definite ONU appliance boot failure, to this ONU equipment, send and load Indication message.
This receiving element 902 also for, receive loading indication response message that this ONU equipment sends to determine this ONU appliance boot failure.
Wherein, this loading Indication message comprises the size (maximum quantity of the data slot information that this window is supported) of the maximum load window that this OLT equipment is supported and the version identifier (as version number) of this version file; This loading indication response message comprises the size (maximum quantity of the data slot information that this window is supported) of the maximum load window that ONU equipment is supported.
Particularly, boot can load according to a minimum window of size coupling of the window of the size of the maximum load window of the OLT equipment support in above-mentioned loading Indication message and the support of ONU equipment, this minimum window is the size of the maximum load window of the ONU equipment support in above-mentioned loading indication response message, this boot is included in the BOOT or BIOS of ONU equipment, for guiding aforesaid operations system to start; For example: if the size of the maximum load window of OLT equipment support is 300 blocks of data frag infos; And the size of the window of ONU equipment support is 500 blocks of data frag infos, due to OLT equipment, not supporting size is the window of 500 blocks of data frag infos, therefore, boot can be mated a size for holding the window of 300 blocks of data frag infos, so that OLT equipment is loaded on ONU equipment by version file by this window; Here just illustrate, the present invention is not construed as limiting this.
Alternatively, this receiving element 902 is also for after sending loading end at this transmitting element 901 to this ONU equipment, and the loading that receives this ONU equipment transmission finishes response message.
Wherein, this loading finishes the version identifier (as version number) of version file and the size (as the data length of version file) of version file that response message comprises that this ONU equipment sends, like this, the loading that OLT equipment sends according to ONU equipment finishes version identifier (as version number) in response message and the size (as the data length of version file) of version file is further determined the correctness of the version file of loading.
Alternatively, this transmitting element 901 also for, to this ONU equipment, send the first check information (such as the version identifier of version file or check code etc.), so that this ONU equipment is after receiving the loading end of this OLT equipment transmission, the second check information of described ONU equipment (such as the version identifier obtaining the version file from receiving or check code etc.) is contrasted with described the first check information, if both are identical, this ONU equipment writes this version file in the FLASH unit of this ONU equipment.
Wherein, this first check message can be included in OLT equipment in the loading Indication message of ONU equipment transmission, or is included in OLT equipment in the loading ending message of ONU equipment transmission; Or this first check message part is included in OLT equipment in the loading Indication message of ONU equipment transmission, another part is included in the loading ending message of ONU equipment reception OLT equipment transmission; The present invention is not construed as limiting this.
Adopt above-mentioned OLT equipment, OLT equipment is loaded on ONU equipment by PLOAM agreement by version file, owing to adopting PLOAM agreement, can simplify the processing of agreement, the application protocol of supporting in the process that makes to load is minimum, thereby make the process loading become simple, and do not need to divide again backup area and just can prevent that the version file causing because version file is damaged from loading unsuccessfully, thereby realized saving memory space in the process of load application version file, reduce the object that realizes cost.
It should be noted that, it should be noted that, the unit of above-mentioned OLT equipment both can adopt the form of hardware to realize, and the form that also can adopt hardware to add SFU software functional unit realizes.
In addition, affiliated those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the OLT equipment of foregoing description, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
The embodiment of the present invention provides a kind of OLT equipment 1100, as shown in figure 11, comprising:
Transmitter 1101, for after definite ONU appliance boot failure, is loaded on this ONU equipment by PLOAM agreement by version file, and after this version file has loaded, to this ONU equipment, sends and load end.
For example: ONU equipment is when system normal boot-strap, and from BIOS or BOOT, loading system starts required version file failure (as abnormal in version file or destroyed) and causes ONU appliance boot failure; This system is the operating system that this version file is corresponding.
Wherein, PLOAM agreement is the GTC layer-management function of a kind of message based support PON the agreement that the transmission channel between OLT equipment and ONU equipment is operated and managed; This version file comprises at least one data slot information; This loading end comprises the version identifier of version file and the size of version file that OLT equipment sends.
Alternatively, this transmitter 1101, for being loaded on this ONU equipment by the sliding window of PLOAM agreement utilization by version file.
Further, this transmitter specifically for, by current window, version message is loaded on to this ONU equipment.
As shown in figure 12, this OLT equipment 1100 also comprises: receiver 1102, for receiving at this ONU equipment after the full detail of the version message that this transmitter 1101 loads by current window, receives the first response message that this ONU equipment sends.
Wherein, this version message comprises data slot information and the sign of this data slot information in window of version file; This first response message comprises the sign of this current window;
This transmitter 1101 also for, by next window, described version message is loaded on to described ONU equipment;
This receiver 1102 also for, at this ONU equipment, receive after the full detail of the version message that this transmitter 1101 loads by next window, receive the second response message that this ONU equipment sends.
Wherein, this second response message comprises the sign of this next window.
It should be noted that, the corresponding a plurality of version message of each window, the corresponding Data Identification of data slot information in each version message, the numbering of data slot information in this window for example, after one of them data slot information has loaded, continue to load the numbering of data slot information in this window and add version message corresponding to the corresponding data slot information of numbering after, until all version message in this window have all loaded.
In addition, the same corresponding sign of each window, window number for example, after all version message in current window have all loaded, and OLT equipment receives the response message that ONU equipment sends, automatically load the window number that current window is corresponding and add the version message in the corresponding window of numbering after, until the version message in window corresponding to all data slot information of this version file has all loaded.
Alternatively, this transmitter 1101 also for, if this receiver 1102 does not receive the response message that version message that this ONU equipment loads for current window sends in Preset Time, by this current window, repeat this version message to be loaded on this ONU equipment; Wherein, this Preset Time can obtain according to practical application or empirical value.
Alternatively, this transmitter 1101 also for, before definite ONU appliance boot failure, to this ONU equipment, send and load Indication message.
This receiver 1102 also for, receive loading indication response message that this ONU equipment sends to determine this ONU appliance boot failure.
Wherein, this loading Indication message comprises the size (maximum quantity of the data slot information that this window is supported) of the maximum load window that this OLT equipment is supported and the version identifier (as version number) of this version file; This loading indication response message comprises the size (maximum quantity of the data slot information that this window is supported) of the maximum load window that ONU equipment is supported.
Particularly, boot can load according to a minimum window of size coupling of the window of the size of the maximum load window of the OLT equipment support in above-mentioned loading Indication message and the support of ONU equipment, this minimum window is the size of the maximum load window of the ONU equipment support in above-mentioned loading indication response message, this boot is included in the BOOT or BIOS of ONU equipment, for guiding aforesaid operations system to start; For example: if the size of the maximum load window of OLT equipment support is 300 blocks of data frag infos; And the size of the window of ONU equipment support is 500 blocks of data frag infos, due to OLT equipment, not supporting size is the window of 500 blocks of data frag infos, therefore, boot can be mated a size for holding the window of 300 blocks of data frag infos, so that OLT equipment is loaded on ONU equipment by version file by this window; Here just illustrate, the present invention is not construed as limiting this.
Alternatively, this receiver 1102 is also for after sending loading end at this transmitter 1101 to this ONU equipment, and the loading that receives this ONU equipment transmission finishes response message.
Wherein, this loading finishes the version identifier (as version number) of version file and the size (as the data length of version file) of version file that response message comprises that this ONU equipment sends, like this, the loading that OLT equipment sends according to ONU equipment finishes version identifier (as version number) in response message and the size (as the data length of version file) of version file is further determined the correctness of the version file of loading.
Alternatively, this transmitter 1101 also for, to this ONU equipment, send the first check information (such as the version identifier of version file or check code etc.), so that this ONU equipment is after receiving the loading end of this OLT equipment transmission, the second check information of described ONU equipment (such as the version identifier obtaining the version file from receiving or check code etc.) is contrasted with described the first check information, if both are identical, this ONU equipment writes this version file in the FLASH unit of this ONU equipment.
Wherein, this first check message can be included in OLT equipment in the loading Indication message of ONU equipment transmission, or is included in OLT equipment in the loading ending message of ONU equipment transmission; Or this first check message part is included in OLT equipment in the loading Indication message of ONU equipment transmission, another part is included in the loading ending message of ONU equipment reception OLT equipment transmission; The present invention is not construed as limiting this.
Adopt above-mentioned OLT equipment, OLT equipment is loaded on ONU equipment by PLOAM agreement by version file, owing to adopting PLOAM agreement, can simplify the processing of agreement, the application protocol of supporting in the process that makes to load is minimum, thereby make the process loading become simple, and do not need to divide again backup area and just can prevent that the version file causing because version file is damaged from loading unsuccessfully, thereby realized saving memory space in the process of load application version file, reduce the object that realizes cost.
In addition, affiliated those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the OLT equipment of foregoing description, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
The embodiment of the present invention provides a kind of communication network, as shown in figure 13, comprises ONU equipment 400 and OLT equipment 900 that above-described embodiment is described.
Wherein, this communication network can be GPON or XGPON.
Adopt above-mentioned communication network, ONU equipment receives the version file that OLT equipment loads by PLOAM agreement, owing to adopting PLOAM agreement, can simplify the processing of agreement, the application protocol of supporting in the process that makes to load is minimum, thereby make the process loading become simple, and do not need to divide again backup area and just can prevent that the version file causing because version file is damaged from loading unsuccessfully, thereby realized saving memory space in the process of load application version file, reduce the object that realizes cost.
The embodiment of the present invention provides a kind of communication network, as shown in figure 14, comprises ONU equipment 700 and OLT equipment 1100 that above-described embodiment is described.
Wherein, this communication network can be GPON or XGPON.
Adopt above-mentioned communication network, ONU equipment receives the version file that OLT equipment loads by PLOAM agreement, owing to adopting PLOAM agreement, can simplify the processing of agreement, the application protocol of supporting in the process that makes to load is minimum, thereby make the process loading become simple, and do not need to divide again backup area and just can prevent that the version file causing because version file is damaged from loading unsuccessfully, thereby realized saving memory space in the process of load application version file, reduce the object that realizes cost.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (39)

1. a method for load application version file, is characterized in that, comprising:
At optical line terminal OLT equipment, determine after ONU appliance boot failure, described ONU equipment receives the version file that described OLT equipment loads by Physical Layer OAM PLOAM agreement;
At described ONU equipment, receive after the full detail of described version file, receive the loading end that described OLT equipment sends; Described loading end comprises the version identifier of described version file and the size of version file that described ONU equipment receives.
2. method according to claim 1, is characterized in that, described ONU equipment receives the version file that described OLT equipment loads by Physical Layer OAM PLOAM agreement, comprising:
Described ONU equipment receives the version file that described OLT equipment loads by the sliding window mode of PLOAM agreement utilization; Described version file comprises at least one data slot information.
3. method according to claim 2, is characterized in that, described ONU equipment receives the version file that described OLT equipment loads by the sliding window of PLOAM agreement utilization, specifically comprises:
Receive the version message that described OLT equipment loads by current window, and after the full detail of version message that receives described current window loading, to described OLT equipment, send the first response message; Described version message comprises data slot information and the sign of described data slot information in window of version file; Described the first response message comprises the sign of described current window;
Continue to receive the version message that described OLT equipment loads by next window, and after the full detail of version message that receives described next window loading, to described OLT equipment, send the second response message; Described the second response message comprises the sign of described next window, until described ONU equipment receives all information of described version file.
4. method according to claim 3, it is characterized in that, it is described before OLT equipment is determined ONU appliance boot failure, also comprise: receive the loading Indication message that described OLT equipment sends, described loading Indication message comprises the size of maximum load window and the version identifier of described version file that described OLT equipment is supported;
When described ONU appliance boot failure, described ONU equipment sends and loads indication response message to described OLT equipment; Described loading indication response message comprises the size of the maximum load window that ONU equipment is supported.
5. according to the method described in claim 3 or 4, it is characterized in that, after receiving the loading end of described OLT equipment transmission, also comprise: to described OLT equipment, send to load and finish response message; Described loading finishes the version identifier of version file and the size of version file that response message comprises that described ONU equipment sends.
6. according to the method described in claim 1 to 5 any one, it is characterized in that, also comprise: receive the first check information that described OLT equipment sends, and after receiving the loading end of described OLT equipment transmission, the second check information of described ONU equipment and described the first check information are contrasted, if both are identical, described version file is write in the FLASH of described ONU equipment.
7. a method for load application version file, is characterized in that, comprising:
After definite ONU appliance boot failure, OLT equipment is loaded on described ONU equipment by PLOAM agreement by version file;
After described OLT equipment has loaded described version file, to described ONU equipment, send and load end; Described loading end comprises the version identifier of version file and the size of version file that described OLT equipment sends.
8. method according to claim 7, it is characterized in that, described OLT equipment is loaded on described ONU equipment by PLOAM agreement by version file, comprise: OLT equipment is loaded on described ONU equipment by the sliding window of PLOAM agreement utilization by version file, and described version file comprises at least one data slot information.
9. method according to claim 8, it is characterized in that, described OLT equipment is loaded on described ONU equipment by the sliding window of PLOAM agreement utilization by version file, specifically comprise: by current window, version message is loaded on to described ONU equipment, and at described ONU equipment, receive after the full detail of the version message that described current window loads, described OLT equipment receives the first response message that described ONU equipment sends; Described version message comprises data slot information and the sign of described data slot information in window of version file; Described the first response message comprises the sign of described current window;
Continuation is loaded on described ONU equipment by next window by described version message, and at described ONU equipment, receives after the full detail of the version message that described next window loads, and described OLT equipment receives the second response message that described ONU equipment sends; Described the second response message comprises the sign of described next window, until described OLT equipment sends all information of described version file to described ONU equipment.
10. method according to claim 9, it is characterized in that, comprise: if described OLT equipment does not receive described ONU equipment for the response message of the version message transmission of current window loading in Preset Time, by described current window, repeat described version message to be loaded on described ONU equipment.
11. according to the method described in claim 9 or 10, it is characterized in that, before definite ONU appliance boot failure, also comprise: to described ONU equipment, send and load Indication message, described loading Indication message comprises the size of maximum load window and the version identifier of described version file that described OLT equipment is supported;
Described definite ONU appliance boot failure specifically comprises: receive the loading indication response message that described ONU equipment sends; Described loading indication response message comprises the size of the maximum load window that ONU equipment is supported.
12. according to the method described in claim 9 to 11 any one, it is characterized in that, after sending loading end to described ONU equipment, also comprises: the loading that receives described ONU equipment transmission finishes response message; Described loading finishes the version identifier of version file and the size of version file that response message comprises that described ONU equipment sends.
13. according to the method described in claim 7 to 12 any one, it is characterized in that, also comprise: to described ONU equipment, send the first check information, so that described ONU equipment is after receiving the loading end of described OLT equipment transmission, the second check information of described ONU equipment and described the first check information are contrasted, if both are identical, described ONU equipment writes described version file in the FLASH of described ONU equipment.
14. 1 kinds of ONU equipment, is characterized in that, comprising:
Start unit, for starting ONU equipment;
Receiving element, for determining that at OLT equipment described start unit starts after the failure of ONU equipment, receives the version file that described OLT equipment loads by PLOAM agreement; And receive after the full detail of described version file at described ONU equipment, receive the loading end that described OLT equipment sends; Described loading end comprises the version identifier of described version file and the size of version file that described ONU equipment receives.
15. ONU equipment according to claim 14, is characterized in that, described receiving element, the version file loading by the sliding window mode of PLOAM agreement utilization for receiving described OLT equipment; Described version file comprises at least one data slot information.
16. ONU equipment according to claim 15, it is characterized in that, described receiving element specifically for, receive the version message that described OLT equipment loads by current window, described version message comprises data slot information and the sign of described data slot information in window of version file; Described ONU equipment also comprises: transmitting element, for receiving at described receiving element after the full detail of the version message that described current window loads, sends the first response message to described OLT equipment; Described the first response message comprises the sign of described current window;
Described receiving element also for, receive the version message that described OLT equipment loads by next window;
Described transmitting element also for, at described receiving element, receive after the full detail of the version message that described next window loads, to described OLT equipment, send the second response message; Described the second response message comprises the sign of described next window.
17. ONU equipment according to claim 16, it is characterized in that, described receiving element is also for before determining that at described OLT equipment described start unit starts the failure of ONU equipment, receive the loading Indication message that described OLT equipment sends, described loading Indication message comprises the size of maximum load window and the version identifier of described version file that described OLT equipment is supported;
Described transmitting element also, for when described start unit startup ONU equipment is failed, sends and loads indication response message to described OLT equipment; Described loading indication response message comprises the size of the maximum load window that ONU equipment is supported.
18. according to the ONU equipment described in claim 16 or 17, it is characterized in that, described transmitting element also finishes response message for sending to described OLT equipment to load; Described loading finishes the version identifier of version file and the size of version file that response message comprises that described ONU equipment sends.
19. according to claim 14 to the ONU equipment described in 18 any one, it is characterized in that the check information that described receiving element also sends for receiving described OLT equipment; Described ONU equipment also comprises: contrast unit, for receiving at described receiving element after the loading end of described OLT equipment transmission, contrasts the second check information of described ONU equipment and described the first check information;
Writing unit, in the situation that coming to the same thing of described contrast unit contrast described version file is write in the FLASH unit of described ONU equipment;
Described FLASH unit, for storing described version file.
20. 1 kinds of ONU equipment, is characterized in that, comprising:
Processor, for starting ONU equipment;
Receiver, for determining that at OLT equipment described processor starts after the failure of ONU equipment, receives the version file that described OLT equipment loads by PLOAM agreement; And receive after the full detail of described version file at described ONU equipment, receive the loading end that described OLT equipment sends; Described loading end comprises the version identifier of described version file and the size of version file that described ONU equipment receives.
21. ONU equipment according to claim 20, is characterized in that, described receiver, the version file loading by the sliding window mode of PLOAM agreement utilization for receiving described OLT equipment; Described version file comprises at least one data slot information.
22. ONU equipment according to claim 21, it is characterized in that, described receiver specifically for, receive the version message that described OLT equipment loads by current window, described version message comprises data slot information and the sign of described data slot information in window of version file; Described application entity also comprises: transmitter, for receiving at described receiver after the full detail of the version message that described current window loads, sends the first response message to described OLT equipment; Described the first response message comprises the sign of described current window;
Described receiver also for, receive the version message that described OLT equipment loads by next window;
Described transmitter also for, at described receiver, receive after the full detail of the version message that described next window loads, to described OLT equipment, send the second response message; Described the second response message comprises the sign of described next window.
23. ONU equipment according to claim 22, it is characterized in that, described receiver is also for before determining that at described OLT equipment described processor starts the failure of ONU equipment, receive the loading Indication message that described OLT equipment sends, described loading Indication message comprises the size of maximum load window and the version identifier of described version file that described OLT equipment is supported;
Described transmitter also, for when described processor startup ONU equipment is failed, sends and loads indication response message to described OLT equipment; Described loading indication response message comprises the size of the maximum load window that ONU equipment is supported.
24. according to the ONU equipment described in claim 22 or 23, it is characterized in that, described transmitter also finishes response message for sending to described OLT equipment to load; Described loading finishes the version identifier of version file and the size of version file that response message comprises that described ONU equipment sends.
25. according to the ONU equipment described in claim 20 to 24 any one, it is characterized in that the check information that described receiver also sends for receiving described OLT equipment;
Described processor, for receiving at described receiver after the loading end of described OLT equipment transmission, the second check information of described ONU equipment and described the first check information are contrasted, if both are identical, described version file is write in the FLASH of described ONU equipment;
Described FLASH, for storing described version file.
26. 1 kinds of OLT equipment, is characterized in that, comprising:
Transmitting element, for after definite ONU appliance boot failure, is loaded on described ONU equipment by PLOAM agreement by version file, and described version file comprises at least one data slot information; And after described version file has loaded, to described ONU equipment, send and load end; Described loading end comprises the version identifier of version file and the size of version file that described OLT equipment sends.
27. OLT equipment according to claim 26, is characterized in that, described transmitting element, for being loaded on described ONU equipment by the sliding window of PLOAM agreement utilization by version file.
28. OLT equipment according to claim 27, is characterized in that, described transmitting element specifically for, by current window, version message is loaded on to described ONU equipment; Described OLT equipment also comprises: receiving element, for receiving at described ONU equipment after the full detail of the version message that described transmitting element loads by current window, receives the first response message that described ONU equipment sends; Described version message comprises data slot information and the sign of described data slot information in window of version file; Described the first response message comprises the sign of described current window;
Described transmitting element also for, by next window, described version message is loaded on to described ONU equipment;
Described receiving element also for, at described ONU equipment, receive after the full detail of the version message that described transmitting element loads by next window, receive the second response message that described ONU equipment sends; Described the second response message comprises the sign of described next window.
29. OLT equipment according to claim 28, it is characterized in that, described transmitting element also for, if described receiving element does not receive described ONU equipment for the response message of the version message transmission of current window loading in Preset Time, by described current window, repeat described version message to be loaded on described ONU equipment.
30. according to the OLT equipment described in claim 28 or 29, it is characterized in that, described transmitting element also for, before definite ONU appliance boot failure, to described ONU equipment, send and load Indication message, described loading Indication message comprises the size of maximum load window and the version identifier of described version file that described OLT equipment is supported;
Described receiving element also for, receive loading indication response message that described ONU equipment sends to determine described ONU appliance boot failure; Described loading indication response message comprises the size of the maximum load window that ONU equipment is supported.
31. according to the OLT equipment described in claim 28 to 30 any one, it is characterized in that, described receiving element is also for after sending loading end at described transmitting element to described ONU equipment, and the loading that receives described ONU equipment transmission finishes response message; Described loading finishes the version identifier of version file and the size of version file that response message comprises that described ONU equipment sends.
32. according to the OLT equipment described in claim 26 to 31 any one, it is characterized in that, described transmitting element also for, to described ONU equipment, send the first check information, so that described ONU equipment is after receiving the loading end of described OLT equipment transmission, the second check information of described ONU equipment and described the first check information are contrasted, if both are identical, described ONU equipment writes described version file in the FLASH unit of described ONU equipment.
33. 1 kinds of OLT equipment, is characterized in that, comprising:
Transmitter, for after definite ONU appliance boot failure, is loaded on described ONU equipment by PLOAM agreement by version file, and described version file comprises at least one data slot information; And after described version file has loaded, to described ONU equipment, send and load end; Described loading end comprises the version identifier of version file and the size of version file that described OLT equipment sends.
34. OLT equipment according to claim 33, is characterized in that, described transmitter, for being loaded on described ONU equipment by the sliding window of PLOAM agreement utilization by version file.
35. OLT equipment according to claim 34, is characterized in that, described transmitter specifically for, by current window, version message is loaded on to described ONU equipment; Described OLT equipment also comprises: receiver, for receiving at described ONU equipment after the full detail of the version message that described transmitter loads by current window, receives the first response message that described ONU equipment sends; Described version message comprises data slot information and the sign of described data slot information in window of version file; Described the first response message comprises the sign of described current window;
Described transmitter also for, by next window, described version message is loaded on to described ONU equipment;
Described receiver also for, at described ONU equipment, receive after the full detail of the version message that described transmitter loads by next window, receive the second response message that described ONU equipment sends; Described the second response message comprises the sign of described next window.
36. OLT equipment according to claim 35, it is characterized in that, described transmitter also for, if described receiver does not receive described ONU equipment for the response message of the version message transmission of current window loading in Preset Time, by described current window, repeat described version message to be loaded on described ONU equipment.
37. according to the OLT equipment described in claim 35 or 36, it is characterized in that, described transmitter also for, before definite ONU appliance boot failure, to described ONU equipment, send and load Indication message, described loading Indication message comprises the size of maximum load window and the version identifier of described version file that described OLT equipment is supported;
Described receiver also for, receive loading indication response message that described ONU equipment sends to determine described ONU appliance boot failure; Described loading indication response message comprises the size of the maximum load window that ONU equipment is supported.
38. according to the OLT equipment described in claim 35 to 37 any one, it is characterized in that, described receiver is also for after sending loading end at described transmitter to described ONU equipment, and the loading that receives described ONU equipment transmission finishes response message; Described loading finishes the version identifier of version file and the size of version file that response message comprises that described ONU equipment sends.
39. according to the OLT equipment described in claim 33 to 38 any one, it is characterized in that, described transmitter also for, to described ONU equipment, send the first check information, so that described ONU equipment is after receiving the loading end of described OLT equipment transmission, the second check information of described ONU equipment and described the first check information are contrasted, if both are identical, described ONU equipment writes described version file in the FLASH of described ONU equipment.
CN201210312781.9A 2012-08-29 2012-08-29 A kind of method and apparatus of load application version file Active CN103634710B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210312781.9A CN103634710B (en) 2012-08-29 2012-08-29 A kind of method and apparatus of load application version file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210312781.9A CN103634710B (en) 2012-08-29 2012-08-29 A kind of method and apparatus of load application version file

Publications (2)

Publication Number Publication Date
CN103634710A true CN103634710A (en) 2014-03-12
CN103634710B CN103634710B (en) 2017-12-29

Family

ID=50215269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210312781.9A Active CN103634710B (en) 2012-08-29 2012-08-29 A kind of method and apparatus of load application version file

Country Status (1)

Country Link
CN (1) CN103634710B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090095A (en) * 2022-01-19 2022-02-25 苏州浪潮智能科技有限公司 BIOS loading method and related components of CPU in multi-path server

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217412A (en) * 2008-01-03 2008-07-09 烽火通信科技股份有限公司 A method of optical network terminal batch grading in passive optical network system on gigabit Ethernet
CN101860456A (en) * 2010-06-29 2010-10-13 中兴通讯股份有限公司 Method and system for updating software of optical network units (ONUs) in Ethernet passive optical network
CN101924958A (en) * 2009-06-09 2010-12-22 上海贝尔股份有限公司 Updating method of optical networking unit of Ethernet passive optical network and device thereof
CN101998180A (en) * 2009-08-25 2011-03-30 中兴通讯股份有限公司 Method and system for supporting version compatibility between optical line terminal and optical network unit
CN102104810A (en) * 2009-12-21 2011-06-22 中兴通讯股份有限公司 Method and system for upgrading software versions of passive optical network unit in batch
CN102195798A (en) * 2010-03-16 2011-09-21 中兴通讯股份有限公司 Method for upgrading optical network unit
CN102214106A (en) * 2010-04-08 2011-10-12 三星电子(中国)研发中心 Automatic dual-system guide method of embedded device
CN102571462A (en) * 2012-04-06 2012-07-11 烽火通信科技股份有限公司 Self-protecting method for long-distance upgrading of optical network unit

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217412A (en) * 2008-01-03 2008-07-09 烽火通信科技股份有限公司 A method of optical network terminal batch grading in passive optical network system on gigabit Ethernet
CN101924958A (en) * 2009-06-09 2010-12-22 上海贝尔股份有限公司 Updating method of optical networking unit of Ethernet passive optical network and device thereof
CN101998180A (en) * 2009-08-25 2011-03-30 中兴通讯股份有限公司 Method and system for supporting version compatibility between optical line terminal and optical network unit
CN102104810A (en) * 2009-12-21 2011-06-22 中兴通讯股份有限公司 Method and system for upgrading software versions of passive optical network unit in batch
CN102195798A (en) * 2010-03-16 2011-09-21 中兴通讯股份有限公司 Method for upgrading optical network unit
CN102214106A (en) * 2010-04-08 2011-10-12 三星电子(中国)研发中心 Automatic dual-system guide method of embedded device
CN101860456A (en) * 2010-06-29 2010-10-13 中兴通讯股份有限公司 Method and system for updating software of optical network units (ONUs) in Ethernet passive optical network
CN102571462A (en) * 2012-04-06 2012-07-11 烽火通信科技股份有限公司 Self-protecting method for long-distance upgrading of optical network unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090095A (en) * 2022-01-19 2022-02-25 苏州浪潮智能科技有限公司 BIOS loading method and related components of CPU in multi-path server

Also Published As

Publication number Publication date
CN103634710B (en) 2017-12-29

Similar Documents

Publication Publication Date Title
CN103458086B (en) A kind of smart mobile phone and fault detection method thereof
CN101925098B (en) Mobile terminal and failure recovering method thereof
US9712237B2 (en) Optical distribution method, device, and system
CN105516300A (en) Equipment version upgrading method and system
CN102035683B (en) Control method and system for switching of main board and standby board
CN101593119A (en) A kind of aerial firmware upgrade method of flash memory unit equipment and device monopolized
CN104202440A (en) Method for identifying terminal, server and system
CN101373433A (en) Method for updating BIOS and computer and system using the same
CN101808010B (en) Equipment management method and equipment management device and main control board
CN101848101A (en) Method, device and system for network element management in network system
CN104750428A (en) Block storage access and gateway module, storage system and method, and content delivery apparatus
CN102396172A (en) Method for obtaining optical link relationship, panel point device and optical networking system
CN103810004A (en) Method and device for upgrading embedded system as well as equipment
CN103209429A (en) Data auditing method and system for mobile communication services
CN103237118A (en) Mobile terminal startup method and system, and mobile terminal
CN105263132A (en) eUICC standby configuration file selection method and user terminal
CN102916776B (en) optical module parameter transmission method and device
CN105550071A (en) System file upgrading and detecting method and communication device
CN107995033B (en) ONU configuration file upgrading method and device
CN105573872A (en) Hardware maintenance method and device of data storage system
CN103634710A (en) Method and device for loading version file
CN108920338A (en) A kind of method and terminal indicating file system state
US9058264B2 (en) Method for repairing communication abnormality between data card and host and data card
WO2009097768A1 (en) Configuration migration method and device
JP2008252245A (en) Remote downloading system and remote downloading method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee after: Huawei terminal (Shenzhen) Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: HUAWEI DEVICE Co.,Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20181219

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: Huawei terminal (Shenzhen) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210427

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Shenzhen Zhixin new information technology Co.,Ltd.

Address before: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211021

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee before: Shenzhen Zhixin new information technology Co.,Ltd.

TR01 Transfer of patent right