The content of the invention
To solve the problems, such as background technology, the invention provides a kind of microwave outdoor unit remote upgrade method, bag
Include following steps:
Step(1), IDU identification ODU software versions need upgrading, IDU and ODU begins setting up stabilized communication and links, and IDU is opened
Begin upgrading flow process;
Step(2), IDU split ODU software upgrade packages, start to ODU send monitoring software AKU, in escalation process
Interaction confirms to be verified using often bag, often bag validation testing;
Step(3), ODU carry out software efficiency verification, back up original program, switch new procedures.
Step(1)Described in IDU identification ODU software versions need upgrading, IDU and ODU begins setting up stabilized communication and links,
IDU starts flow process of upgrading, and further includes herein below:
When IDU is received to the control instruction of ODU upgradings, and IDU is detected in the current software version and IDU of ODU
During the ODU non-uniformity of software versions of storage, IDU sends test data bag test and ODU communication link stability, if communicated into
Power is more than 95%, then prepare to send software upgrade package to ODU(Step 104), prepare to give ODU upgrading softwares(Step 101,
102);
2. IDU detect ODU current software version it is consistent with the ODU software versions of IDU memory storages when, IDU stop rise
Level flow process(Step 103).
Step(2)Described in IDU split ODU software upgrade packages, start to send monitoring software AKU to ODU, and realize
Interaction confirmation in escalation process, further includes herein below:
IDU sends the essential information of software upgrade package, including the fileinfo of ODU AKUs, upgrading data packet to ODU
Check code, AKU size, AKU split after each packet magnitude of load(Step 105);
2. ODU is received after the essential information of the software upgrade package of IDU transmissions, checks the fileinfo of AKU;If
Fileinfo is legal, and ODU starts software upgrade package and receives flow process, notifies that IDU prepares the transmission of upgrading data packet(Step 107);
If fileinfo is illegal, ODU stops upgrading, notifies that IDU files are illegal, stops upgrading flow process(Step 106);
3. IDU is received after the information after ODU prepares, and sends packet successively in order(Step 111);
If 4. ODU receives serial number data bag check code mismatch, notify that IDU resends certain serial number data bag(Step
Rapid 112, step 113, step 114);
If 5. ODU receives packet sequence number and mismatches with AKU transmission order, notify that IDU sends appointed sequence number number
According to bag(Step 115, step 116, step 117);
If 6. ODU when next time upgrades again, notifies IDU from last time because abnormal end is upgraded in escalation process
Disconnected sequence number starts upgrading(Step 108, step 109, step 110).
Step(3)Described in ODU carry out software efficiency verification, back up original program, switch new procedures, further include with
Lower content:
1. ODU is received after the completion of AKU, and it has received all packets to notify IDU(Step 118);
ODU is integrated to all upgrading data packets by sequence number, and calculates check code, if when check code starts with upgrading
Information is consistent, notifies that IDU AKUs are properly received and finishes;Otherwise notify that IDU upgrade files preserve failure, upgrading needs again
Start(Step 118, step 119, step 120, step 121);
After the verification success of ODU AKUs, original program is backed up, preparation is switched to new procedures;
ODU runs new procedures, if ODU to start new procedures unsuccessful, automatically switch to original program operation, and to IDU
Report ODU updating results(Step 122, step 123, step 124).
Compared with prior art, it is an advantage of the invention that:
1. upgraded to ODU softwares by IDU, it is possible to achieve efficient to ODU, safe upgrading;
2. escalation process whole process is controllable, using often bag verification, often bag validation testing, it is ensured that upgrading reliability;
3. breaker point continuous transmission method is employed, if communication link breaks down, ODU can preserve last time IDU and send over
Successful packet information, as the starting point of next same upgrade file, improve and rise a stage efficiency;
4. the new early version backup of ODU programs, if exception occurs in new ROMPaq, can revert to legacy code operation, protect
The security of card software upgrading.
English to Chinese:
IDU:Indoor unit, indoor unit;
ODU:Outdoor unit, outdoor unit;
CRC:Cyclic redundancy check, CRC.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention are more clear, below with reference to accompanying drawing, to the present invention
Further describe:
As shown in Figure 1 and Figure 2, flowchart of the invention includes following steps:
(1)IDU is received to be needed to the instruction 101 of ODU upgradings;
(2)IDU judges current ODU runs softwares version with upgraded version whether consistent 102;
(3)IDU judges that current ODU runs softwares version is consistent with upgraded version, and IDU stops upgrading flow process 103;
(4)IDU judges that current ODU runs softwares version is inconsistent with upgraded version, and IDU continues flow process of upgrading, and tests
IDU and ODU communication links, it is ensured that communication unobstructed 104;
(5)IDU sends the essential information of AKU, including AKU fileinfo, AKU size, AKU to ODU
The information 105 such as check code;
(6)ODU checks whether AKU fileinfo is legal, that is, judge that whether the software upgrade package is the software liter of ODU
Level bag 105;
(7)ODU checks that AKU fileinfo is illegal, and ODU stops upgrading, and notifies that IDU fileinfos are illegal, stops
Only upgrade flow process 106;
(8)ODU checks that AKU fileinfo is correct, then continue checking for the breakpoint for whether having same upgrade file in ODU
Information, it is to unwrap the beginning from AKU first or the upgrading 107,108 from breakpoint to be easy to ODU to judge;
(9)ODU does not check AKU breakpoint information, notifies that IDU unwraps beginning upgrading 109 from first;
(10)ODU checks AKU breakpoint information, notifies that IDU starts to continue upgrading 110 from breakpoint;
(11)IDU sends in order upgrading data packet 111;
(12)ODU carries out CRC check to each upgrading data packet for receiving, and judges check code whether consistent 112;
(13)ODU judges that check code is inconsistent, notifies that IDU retransmits the serial number data bag 113;
(14)ODU judges that check code is consistent, notifies that IDU sends in order next packet 114;
(15)ODU judges whether the packet sequence number for receiving sends in order 115;
(16)ODU judges that packet sequence number does not send in order, then require that IDU retransmits appointed sequence number packet, and IDU is pressed
Respond according to ODU and send appointed sequence number packet 117;
(17)ODU judges that packet sends according to sequence number, receives the packet and notifies that IDU continues to send next in order
Bag 116;
(18)IDU notifies that ODU packets are sent completely, ODU integral data bags in order, and calculates whole AKU
Check code 118;
(19)ODU judges check code and the check code in upgrade information whether consistent 119 for calculating;
(20)ODU judges that the check code for calculating is inconsistent with the check code in upgrade information, notifies that IDU files are preserved and loses
Lose, upgrading needs to restart 121;
(21)ODU judges that the check code for calculating is consistent with the check code in upgrade information, then back up original program, prepares to cut
Change to new procedures operation 120;
(22)ODU judges whether new procedures run successfully 122;
(23)ODU judges that new procedures operation is unsuccessful, is switched to legacy code operation, and reports upgrading handoff failure to IDU
124;
(24)ODU judges that new procedures run successfully, reports to upgrade successfully to IDU and completes 123.