CN108768709A - A kind of serial ports remote upgrade method of the network equipment - Google Patents

A kind of serial ports remote upgrade method of the network equipment Download PDF

Info

Publication number
CN108768709A
CN108768709A CN201810480457.5A CN201810480457A CN108768709A CN 108768709 A CN108768709 A CN 108768709A CN 201810480457 A CN201810480457 A CN 201810480457A CN 108768709 A CN108768709 A CN 108768709A
Authority
CN
China
Prior art keywords
network equipment
upgrading
upgraded
upgrade
version
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.)
Pending
Application number
CN201810480457.5A
Other languages
Chinese (zh)
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.)
Shenzhen Compatriots Ltd Co That Communicates By Letter
China Grentech Corp Ltd
Original Assignee
Shenzhen Compatriots Ltd Co That Communicates By Letter
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 Shenzhen Compatriots Ltd Co That Communicates By Letter filed Critical Shenzhen Compatriots Ltd Co That Communicates By Letter
Priority to CN201810480457.5A priority Critical patent/CN108768709A/en
Publication of CN108768709A publication Critical patent/CN108768709A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to a kind of serial ports remote upgrade method of network equipment, the updating operation step of the upgrading terminals includes:S1, serial port corresponding with the serial ports that the network equipment to be upgraded uses is obtained;S2, the software version upgraded is needed from the local acquisition network equipment to be upgraded, and sends upgrading to the network equipment to be upgraded and starts check command;S3, upgrade file data packet is sent to the network equipment to be upgraded, the upgrade file data packet is multiple, if receiving the upgrade file data packet that the network equipment to be upgraded returns before reaching timeout threshold receives success command, next upgrade file data packet is sent;S4, upgrading is sent to the network equipment to be upgraded terminating order, it includes version file length and version file CRC that upgrading, which terminates order, and the updating operation of upgrading terminals is completed if upgrading successfully order if receive that the network equipment to be upgraded returns.The present invention can realize the remote upgrade of the program of the batch network equipment by way of serial ports, reduce workload and cost.

Description

A kind of serial ports remote upgrade method of the network equipment
【Technical field】
The present invention relates to a kind of serial ports remote upgrade methods of the Embedded Network Device based on LINUX operating systems.
【Background technology】
In engineering when the network equipment of network operation needs to repair bug (loophole) or increase new function, usually to update Program, i.e. program upgrade.However network equipment number is more, distance dispersion in the case of, if point-to-point, risen one by one Grade, workload can be bigger, inconvenient for operation, and cost of labor is higher.
Therefore, there is an urgent need for a kind of remote upgrade methods of the program of achievable batch network equipment upgrading.
【Invention content】
It is an object of the invention to overcome the shortcomings of above-mentioned technology, a kind of serial ports remote upgrade side of the network equipment is provided Method can realize the remote upgrade of the program of the batch network equipment by way of serial ports.
The first aspect of the present invention provides a kind of serial ports remote upgrade method of the network equipment, includes the upgrading of upgrading terminals The updating operation step of operating procedure, the upgrading terminals includes:
S1, the connection between upgrading terminals and the network equipment to be upgraded is established by serial ports cable, obtain and net to be upgraded The corresponding serial port of serial ports that network equipment uses;
S2, the software version upgraded is needed from the local acquisition network equipment to be upgraded, and is sent to the network equipment to be upgraded Upgrading starts check command, and the upgrading starts the version name and checkout of version number that check command includes upgrading, waits for and wait rising The grade network equipment returns to upgrade file and verifies OK orders, is returned if receiving the network equipment to be upgraded before reaching timeout threshold Upgrade file verify OK orders, then enter next step;
S3, upgrade file data packet is sent to the network equipment to be upgraded, the upgrade file data packet is multiple, Mei Gesheng Grade file data packet all carries version file, wherein it is impartial often to send a upgrade file data packet to the network equipment to be upgraded It waits for that the network equipment to be upgraded returns to upgrade file data packet and receives success command, waits rising if receiving before reaching timeout threshold The upgrade file data packet that the grade network equipment returns receives success command, then sends next upgrade file data packet, until institute Some upgrade file data packets are all sent completely;
S4, upgrading end order is sent to the network equipment to be upgraded, it includes version file length that the upgrading, which terminates order, And version file CRC, wait for network equipment return to be upgraded to upgrade successfully order, if receiving what the network equipment to be upgraded returned Upgrade successfully order then upgrading terminals updating operation complete.
Further, it in the step S2, is returned if not receiving the network equipment to be upgraded when reaching timeout threshold Upgrade file verify OK orders, then retransmitting primary upgrading to the network equipment to be upgraded starts check command, if overtime reaching The upgrade file verification OK orders that the network equipment to be upgraded returns are not received when thresholding yet, then upgrading is prompted to fail.
Further, in the step S3, multiple upgrade file data packets are sequentially sent;Each upgrade file data packet is taken Version file with 1024 bytes;In the step S3, if not receiving the network equipment to be upgraded when reaching timeout threshold The upgrade file data packet of return receives success command, then retransmits the primary upgrade file data packet to the network equipment to be upgraded, If not receiving the upgrade file data packet that the network equipment to be upgraded returns yet when reaching timeout threshold receives success command, Upgrading is then prompted to fail.
Further, it in the step S4, if do not receive that the network equipment to be upgraded returns upgrades successfully order, carries Show upgrading failure.
The second aspect of the present invention provides a kind of serial ports remote upgrade method of the network equipment, including the network equipment to be upgraded Updating operation step, the updating operation step of the network equipment to be upgraded includes:
S11, after establishing the connection between upgrading terminals by serial ports cable, monitor whether serial ports receives upgrading terminals The upgrading of transmission starts check command, the version name that sends upgrading terminals if receiving and version number and current version Version name and version number are compared, and returning to upgrade file to upgrading terminals if identical verifies OK orders;
S12, the upgrade file data packet that upgrading terminals are sent is received, each upgrade file data packet received is sentenced Whether the version file length for the upgrade file data packet of breaking is more than legitimate value, if being not more than legitimate value, by the upgrade file Microcontroller backup regional address is written in the version file of data packet, and receives to upgrading terminals return upgrade file data packet and successfully order It enables, until all upgrade file data packets all finish receiving;
S13, the upgrading for receiving upgrading terminals transmission terminate order, judge the version file length being an actually-received and upgrading Whether the version file length that terminal is sent equal, and calculate the CRC of version file that is an actually-received whether with upgrading eventually Hold the version file CRC sent equal, upgrade successfully order to upgrading terminals return if all equal and generate system start plus The guiding file of load;
S14, restart the network equipment to be upgraded, read guiding file, read the length of upgrade procedure and judge upgrade procedure Length whether be legitimate value, if the then system file of bootload file meaning, deletes extra software version, then waits rising The software release upgrade of the grade network equipment is completed.
Further, in the step S11, if the version of version name and version number and current version that upgrading terminals are sent This title and version number differ or in which one of differ, then to upgrading terminals return upgrading unsuccessfully order.
Further, in the step S12, if the version file length of upgrade file data packet is more than legitimate value, to Upgrading terminals return to upgrading and unsuccessfully order.
Further, in the step S13, if the version that the version file length being an actually-received is sent with upgrading terminals The CRC of version file that file size and calculating the are an actually-received and version file CRC that upgrading terminals are sent it is unequal or One of them is unequal, then returning to upgrading to upgrading terminals unsuccessfully orders.
Further, in the step S14, if the length of upgrading ascending order is not legitimate value, backup guiding file is loaded Signified system file, deletes extra software version, then the software release upgrade of the network equipment to be upgraded is completed.
The third aspect of the present invention provides a kind of serial ports remote upgrade method of the network equipment, includes the upgrading of upgrading terminals The updating operation step of operating procedure and the network equipment to be upgraded,
The updating operation step of the upgrading terminals includes:
S1, the connection between upgrading terminals and the network equipment to be upgraded is established by serial ports cable, obtain and net to be upgraded The corresponding serial port of serial ports that network equipment uses;
S2, the software version upgraded is needed from the local acquisition network equipment to be upgraded, and is sent to the network equipment to be upgraded Upgrading starts check command, and the upgrading starts the version name and checkout of version number that check command includes upgrading, waits for and wait rising The grade network equipment returns to upgrade file and verifies OK orders, is returned if receiving the network equipment to be upgraded before reaching timeout threshold Upgrade file verify OK orders, then enter next step;
S3, upgrade file data packet is sent to the network equipment to be upgraded, the upgrade file data packet is multiple, Mei Gesheng Grade file data packet all carries version file, wherein it is impartial often to send a upgrade file data packet to the network equipment to be upgraded It waits for that the network equipment to be upgraded returns to upgrade file data packet and receives success command, waits rising if receiving before reaching timeout threshold The upgrade file data packet that the grade network equipment returns receives success command, then sends next upgrade file data packet, until institute Some upgrade file data packets are all sent completely;
S4, upgrading end order is sent to the network equipment to be upgraded, it includes version file length that the upgrading, which terminates order, And version file CRC, wait for network equipment return to be upgraded to upgrade successfully order, if receiving what the network equipment to be upgraded returned Upgrade successfully order then upgrading terminals updating operation complete;
The updating operation step of the network equipment to be upgraded includes:
S11, after establishing the connection between upgrading terminals by serial ports cable, monitor whether serial ports receives upgrading terminals The upgrading of transmission starts check command, the version name that sends upgrading terminals if receiving and version number and current version Version name and version number are compared, and returning to upgrade file to upgrading terminals if identical verifies OK orders;
S12, the upgrade file data packet that upgrading terminals are sent is received, each upgrade file data packet received is sentenced Whether the version file length for the upgrade file data packet of breaking is more than legitimate value, if being not more than legitimate value, by the upgrade file Microcontroller backup regional address is written in the version file of data packet, and receives to upgrading terminals return upgrade file data packet and successfully order It enables, until all upgrade file data packets all finish receiving;
S13, the upgrading for receiving upgrading terminals transmission terminate order, judge the version file length being an actually-received and upgrading Whether the version file length that terminal is sent equal, and calculate the CRC of version file that is an actually-received whether with upgrading eventually Hold the version file CRC sent equal, upgrade successfully order to upgrading terminals return if all equal and generate system start plus The guiding file of load;
S14, restart the network equipment to be upgraded, read guiding file, read the length of upgrade procedure and judge upgrade procedure Length whether be legitimate value, if the then system file of bootload file meaning, deletes extra software version, then waits rising The software release upgrade of the grade network equipment is completed.
The present invention can realize the remote upgrade of the program of the batch network equipment by way of serial ports, easy to operate, reduce Artificial intensity and cost of labor, meet use demand.
【Description of the drawings】
Fig. 1 is a kind of liter of the upgrading terminals of the serial ports remote upgrade method for network equipment that one embodiment of the invention provides The flow diagram of grade operating procedure;
Fig. 2 is the flow principle schematic of the updating operation step of upgrading terminals shown in Fig. 1;
Fig. 3 is that a kind of network to be upgraded of the serial ports remote upgrade method for network equipment that one embodiment of the invention provides is set The flow diagram of standby updating operation step;
Fig. 4 is the flow principle schematic of the updating operation step of the network equipment to be upgraded shown in Fig. 3.
【Specific implementation mode】
The invention will be further described with reference to the accompanying drawings and examples.
Referring to figs. 1 to Fig. 4, a kind of serial ports remote upgrade method of the network equipment provided by the invention, which is Based on the Embedded Network Device of LINUX operating systems, this method includes the updating operation step of upgrading terminals and net to be upgraded The updating operation step of network equipment.Wherein, upgrading terminals are a host computer.
As depicted in figs. 1 and 2, the updating operation step of upgrading terminals includes:
S1, the connection between upgrading terminals and the network equipment to be upgraded is established by serial ports cable, from the liter of upgrading terminals Grade interface obtains serial port corresponding with the serial ports that the network equipment to be upgraded uses.
S2, the software version upgraded is needed from the local acquisition network equipment to be upgraded, and is sent to the network equipment to be upgraded Upgrading starts check command, and the upgrading starts the version name and checkout of version number that check command includes upgrading, waits for and wait rising The grade network equipment returns to upgrade file and verifies OK orders, is returned if receiving the network equipment to be upgraded before reaching timeout threshold Upgrade file verify OK orders, then enter next step.If not receiving the network equipment to be upgraded when reaching timeout threshold The upgrade file of return verifies OK orders, then retransmitting primary upgrading to the network equipment to be upgraded starts check command.If reaching The upgrade file verification OK orders for not receiving the network equipment to be upgraded when timeout threshold yet, then prompt upgrading to fail.Step The timeout threshold of S2 is preset, can be set as the case may be in practical applications.
S3, upgrade file data packet is sent to the network equipment to be upgraded, upgrade file data packet is multiple, each upgrading text Part data packet all carries version file, wherein often sends a upgrade file data packet to the network equipment to be upgraded and waits for Upgrade of network apparatus returns to upgrade file data packet and receives success command, if receiving net to be upgraded before reaching timeout threshold The upgrade file data packet that network equipment returns receives success command, then sends next upgrade file data packet, until all Upgrade file data packet is all sent completely.If not receiving the upgrading that the network equipment to be upgraded returns when reaching timeout threshold File data packet receives success command, then retransmits the primary upgrade file data packet to the network equipment to be upgraded.If super reaching When thresholding when do not receive the upgrade file data packet that the network equipment to be upgraded returns yet and receive success command, then prompt to upgrade Failure.In the present embodiment, upgrading terminals sequentially send multiple upgrade file data packets to the network equipment to be upgraded.Each ascending series The version file of 1024 bytes is carried according to packet.The timeout threshold of step S3 be it is preset, in practical applications can be according to tool Body situation is set.The timeout threshold of step S3 is identical as the timeout threshold of step S2.It is to be appreciated that the time-out of step S3 The timeout threshold of thresholding and step S2 can also be different.
S4, upgrading end order is sent to the network equipment to be upgraded, upgrading terminates order and includes version file length and version This document CRC (cyclic redundancy check code) waits for network equipment return to be upgraded to upgrade successfully order, if receiving net to be upgraded Network equipment return upgrade successfully order then upgrading terminals updating operation complete.If not receiving the network equipment to be upgraded to return Upgrade successfully order, then prompt upgrading fail.
As shown in Figure 3 and Figure 4, the updating operation step of the network equipment to be upgraded includes:
S11, after establishing the connection between upgrading terminals by serial ports cable, monitor whether serial ports receives upgrading terminals The upgrading of transmission starts check command, the version name that sends upgrading terminals if receiving and version number and current version Version name and version number are compared, and returning to upgrade file to upgrading terminals if identical verifies OK orders.If upgrading terminals The version name and version number of the version name of transmission and version number and current version differ or in which one of differ, then to Upgrading terminals return to upgrading and unsuccessfully order.
S12, the upgrade file data packet that upgrading terminals are sent is monitored, the upgrading of upgrading terminals transmission is received if listening to File data packet judges that the version file length of the upgrade file data packet is to each upgrade file data packet received It is no to be more than legitimate value, if being not more than legitimate value, microcontroller backup area is written by the version file of the upgrade file data packet Location, and return to upgrade file data packet to upgrading terminals and receive success command, until all upgrade file data packets all receive It completes.If the version file length of upgrade file data packet is more than legitimate value, returns to upgrading to upgrading terminals and unsuccessfully order.
S13, the upgrading for receiving upgrading terminals transmission terminate order, judge the version file length being an actually-received and upgrading Whether the version file length that terminal is sent equal, and calculate the CRC of version file that is an actually-received whether with upgrading eventually Hold the version file CRC sent equal, upgrade successfully order to upgrading terminals return if all equal and generate system start plus The guiding file of load.If version file length and calculate real that the version file length being an actually-received is sent with upgrading terminals The CRC for the version file that border the receives and version file CRC that upgrading terminals are sent it is unequal or in which one of it is unequal, then to Upgrading terminals return to upgrading and unsuccessfully order.
S14, restart the network equipment to be upgraded, read guiding file, read the length of upgrade procedure and judge upgrade procedure Length whether be legitimate value, if the then system file of bootload file meaning, deletes extra software version, then waits rising The software release upgrade of the grade network equipment is completed.If the length of upgrade procedure is not legitimate value, backup guiding file institute is loaded The system file of finger deletes extra software version, then the software release upgrade of the network equipment to be upgraded is completed.
The present invention can realize the remote upgrade of the program of the batch network equipment by way of serial ports, easy to operate, reduce Artificial intensity and cost of labor, meet use demand.
Above example only expresses the preferred embodiment of the present invention, the description thereof is more specific and detailed, but can not Therefore it is interpreted as the limitation to the scope of the claims of the present invention.It should be pointed out that for those of ordinary skill in the art, Without departing from the inventive concept of the premise, various modifications and improvements can be made, it is such as special to the difference in each embodiment Sign is combined, and these are all within the scope of protection of the present invention.

Claims (10)

1. a kind of serial ports remote upgrade method of network equipment includes the updating operation step of upgrading terminals, it is characterised in that:Institute The updating operation step for stating upgrading terminals includes:
S1, the connection between upgrading terminals and the network equipment to be upgraded is established by serial ports cable, acquisition is set with network to be upgraded The standby corresponding serial port of serial ports used;
S2, the software version upgraded is needed from the local acquisition network equipment to be upgraded, and sends and upgrades to the network equipment to be upgraded Start check command, the upgrading starts the version name and checkout of version number that check command includes upgrading, waits for net to be upgraded Network equipment returns to upgrade file and verifies OK orders, if receiving the liter that the network equipment to be upgraded returns before reaching timeout threshold Grade file verification OK orders then enter in next step;
S3, upgrade file data packet is sent to the network equipment to be upgraded, the upgrade file data packet is multiple, each upgrading text Part data packet all carries version file, wherein often sends a upgrade file data packet to the network equipment to be upgraded and waits for Upgrade of network apparatus returns to upgrade file data packet and receives success command, if receiving net to be upgraded before reaching timeout threshold The upgrade file data packet that network equipment returns receives success command, then sends next upgrade file data packet, until all Upgrade file data packet is all sent completely;
S4, upgrading end order is sent to the network equipment to be upgraded, it includes version file length and version that the upgrading, which terminates order, This document CRC waits for network equipment return to be upgraded to upgrade successfully order, if receiving the upgrading that the network equipment to be upgraded returns Success command then upgrading terminals updating operation complete.
2. the serial ports remote upgrade method of the network equipment according to claim 1, it is characterised in that:In the step S2, If not receiving the upgrade file verification OK orders that the network equipment to be upgraded returns when reaching timeout threshold, to be upgraded The network equipment retransmits primary upgrading and starts check command, if not receiving the network equipment to be upgraded yet when reaching timeout threshold The upgrade file of return verifies OK orders, then upgrading is prompted to fail.
3. the serial ports remote upgrade method of the network equipment according to claim 1, it is characterised in that:In the step S3, Multiple upgrade file data packets are sequentially sent;Each upgrade file data packet carries the version file of 1024 bytes;The step In S3, successfully ordered if not receiving the upgrade file data packet that the network equipment to be upgraded returns when reaching timeout threshold and receiving It enables, then the primary upgrade file data packet is retransmitted to the network equipment to be upgraded, if not received yet when reaching timeout threshold The upgrade file data packet that the network equipment to be upgraded returns receives success command, then upgrading is prompted to fail.
4. the serial ports remote upgrade method of the network equipment according to claim 1, it is characterised in that:In the step S4, If do not receive network equipment return to be upgraded upgrades successfully order, upgrading is prompted to fail.
5. a kind of serial ports remote upgrade method of network equipment includes the updating operation step of the network equipment to be upgraded, feature It is:The updating operation step of the network equipment to be upgraded includes:
S11, after establishing the connection between upgrading terminals by serial ports cable, monitor whether serial ports receives upgrading terminals transmission Upgrading start check command, if receiving by upgrading terminals send version name and version number and current version version Title and version number are compared, and returning to upgrade file to upgrading terminals if identical verifies OK orders;
S12, the upgrade file data packet that upgrading terminals are sent is received, judging each upgrade file data packet received should Whether the version file length of upgrade file data packet is more than legitimate value, if being not more than legitimate value, by the upgrade file data Microcontroller backup regional address is written in the version file of packet, and returns to upgrade file data packet to upgrading terminals and receive success command, Until all upgrade file data packets all finish receiving;
S13, the upgrading for receiving upgrading terminals transmission terminate order, judge the version file length being an actually-received and upgrading terminals Whether the version file length of transmission is equal, and calculates whether the CRC of version file being an actually-received sends out with upgrading terminals The version file CRC sent is equal, upgrades successfully order to upgrading terminals return if all equal and generates system start-up loading Guide file;
S14, restart the network equipment to be upgraded, read guiding file, read the length of upgrade procedure and judge the length of upgrade procedure Whether degree is legitimate value, if the then system file of bootload file meaning, deletes extra software version, then net to be upgraded The software release upgrade of network equipment is completed.
6. the serial ports remote upgrade method of the network equipment according to claim 5, it is characterised in that:In the step S11, If upgrading terminals send version name and version number and current version version name and version number differ or in which one of It differs, then returning to upgrading to upgrading terminals unsuccessfully orders.
7. the serial ports remote upgrade method of the network equipment according to claim 5, it is characterised in that:In the step S12, If the version file length of upgrade file data packet is more than legitimate value, returns to upgrading to upgrading terminals and unsuccessfully order.
8. the serial ports remote upgrade method of the network equipment according to claim 5, it is characterised in that:In the step S13, If version file length and calculate the version being an actually-received that the version file length being an actually-received is sent with upgrading terminals The CRC of this document and version file CRC that upgrading terminals are sent it is unequal or in which one of it is unequal, then to upgrading terminals return Upgrading is unsuccessfully ordered.
9. the serial ports remote upgrade method of the network equipment according to claim 5, it is characterised in that:In the step S14, If the length for upgrading ascending order is not legitimate value, the system file of backup guiding file meaning is loaded, extra software version is deleted This, then the software release upgrade of the network equipment to be upgraded is completed.
10. a kind of serial ports remote upgrade method of network equipment, including the updating operation step of upgrading terminals and network to be upgraded The updating operation step of equipment, it is characterised in that:
The updating operation step of the upgrading terminals includes:
S1, the connection between upgrading terminals and the network equipment to be upgraded is established by serial ports cable, acquisition is set with network to be upgraded The standby corresponding serial port of serial ports used;
S2, the software version upgraded is needed from the local acquisition network equipment to be upgraded, and sends and upgrades to the network equipment to be upgraded Start check command, the upgrading starts the version name and checkout of version number that check command includes upgrading, waits for net to be upgraded Network equipment returns to upgrade file and verifies OK orders, if receiving the liter that the network equipment to be upgraded returns before reaching timeout threshold Grade file verification OK orders then enter in next step;
S3, upgrade file data packet is sent to the network equipment to be upgraded, the upgrade file data packet is multiple, each upgrading text Part data packet all carries version file, wherein often sends a upgrade file data packet to the network equipment to be upgraded and waits for Upgrade of network apparatus returns to upgrade file data packet and receives success command, if receiving net to be upgraded before reaching timeout threshold The upgrade file data packet that network equipment returns receives success command, then sends next upgrade file data packet, until all Upgrade file data packet is all sent completely;
S4, upgrading end order is sent to the network equipment to be upgraded, it includes version file length and version that the upgrading, which terminates order, This document CRC waits for network equipment return to be upgraded to upgrade successfully order, if receiving the upgrading that the network equipment to be upgraded returns Success command then upgrading terminals updating operation complete;
The updating operation step of the network equipment to be upgraded includes:
S11, after establishing the connection between upgrading terminals by serial ports cable, monitor whether serial ports receives upgrading terminals transmission Upgrading start check command, if receiving by upgrading terminals send version name and version number and current version version Title and version number are compared, and returning to upgrade file to upgrading terminals if identical verifies OK orders;
S12, the upgrade file data packet that upgrading terminals are sent is received, judging each upgrade file data packet received should Whether the version file length of upgrade file data packet is more than legitimate value, if being not more than legitimate value, by the upgrade file data Microcontroller backup regional address is written in the version file of packet, and returns to upgrade file data packet to upgrading terminals and receive success command, Until all upgrade file data packets all finish receiving;
S13, the upgrading for receiving upgrading terminals transmission terminate order, judge the version file length being an actually-received and upgrading terminals Whether the version file length of transmission is equal, and calculates whether the CRC of version file being an actually-received sends out with upgrading terminals The version file CRC sent is equal, upgrades successfully order to upgrading terminals return if all equal and generates system start-up loading Guide file;
S14, restart the network equipment to be upgraded, read guiding file, read the length of upgrade procedure and judge the length of upgrade procedure Whether degree is legitimate value, if the then system file of bootload file meaning, deletes extra software version, then net to be upgraded The software release upgrade of network equipment is completed.
CN201810480457.5A 2018-05-18 2018-05-18 A kind of serial ports remote upgrade method of the network equipment Pending CN108768709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810480457.5A CN108768709A (en) 2018-05-18 2018-05-18 A kind of serial ports remote upgrade method of the network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810480457.5A CN108768709A (en) 2018-05-18 2018-05-18 A kind of serial ports remote upgrade method of the network equipment

Publications (1)

Publication Number Publication Date
CN108768709A true CN108768709A (en) 2018-11-06

Family

ID=64008214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810480457.5A Pending CN108768709A (en) 2018-05-18 2018-05-18 A kind of serial ports remote upgrade method of the network equipment

Country Status (1)

Country Link
CN (1) CN108768709A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857433A (en) * 2019-01-15 2019-06-07 四川虹美智能科技有限公司 A kind of scm software upgrading tool and method
CN109885327A (en) * 2019-02-28 2019-06-14 新华三信息安全技术有限公司 A kind of method and device upgrading CPLD
CN111327454A (en) * 2020-01-20 2020-06-23 深圳市广和通无线股份有限公司 File upgrading method and device, computer equipment and storage medium
CN112423321A (en) * 2020-11-11 2021-02-26 浙江大华技术股份有限公司 Upgrading method and device based on wireless broadcast and electronic equipment
CN112505607A (en) * 2020-12-22 2021-03-16 昆明自动化成套集团股份有限公司 Voltage monitoring device with positioning function and remote upgrading support function

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070061800A1 (en) * 2005-09-09 2007-03-15 Hon Hai Precision Industry Co., Ltd. System and method for updating software in a network device
CN101221506A (en) * 2007-01-12 2008-07-16 深圳市科陆电子科技股份有限公司 Method for downloading and updating chip program of electric energy meter
CN101820447A (en) * 2010-03-31 2010-09-01 青岛海信宽带多媒体技术有限公司 Software upgrading method and upgrading device
CN103246535A (en) * 2013-04-26 2013-08-14 广州德浩科视电子科技有限公司 Spliced screen updating system and spliced screen updating method
CN104899065A (en) * 2015-06-11 2015-09-09 武汉虹信通信技术有限责任公司 Method and system for batch online recovery and software online upgrading
CN107329787A (en) * 2017-06-27 2017-11-07 广州市鸿远电子科技有限公司 One kind updates terminal device program technic

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070061800A1 (en) * 2005-09-09 2007-03-15 Hon Hai Precision Industry Co., Ltd. System and method for updating software in a network device
CN101221506A (en) * 2007-01-12 2008-07-16 深圳市科陆电子科技股份有限公司 Method for downloading and updating chip program of electric energy meter
CN101820447A (en) * 2010-03-31 2010-09-01 青岛海信宽带多媒体技术有限公司 Software upgrading method and upgrading device
CN103246535A (en) * 2013-04-26 2013-08-14 广州德浩科视电子科技有限公司 Spliced screen updating system and spliced screen updating method
CN104899065A (en) * 2015-06-11 2015-09-09 武汉虹信通信技术有限责任公司 Method and system for batch online recovery and software online upgrading
CN107329787A (en) * 2017-06-27 2017-11-07 广州市鸿远电子科技有限公司 One kind updates terminal device program technic

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857433A (en) * 2019-01-15 2019-06-07 四川虹美智能科技有限公司 A kind of scm software upgrading tool and method
CN109885327A (en) * 2019-02-28 2019-06-14 新华三信息安全技术有限公司 A kind of method and device upgrading CPLD
CN111327454A (en) * 2020-01-20 2020-06-23 深圳市广和通无线股份有限公司 File upgrading method and device, computer equipment and storage medium
CN112423321A (en) * 2020-11-11 2021-02-26 浙江大华技术股份有限公司 Upgrading method and device based on wireless broadcast and electronic equipment
CN112505607A (en) * 2020-12-22 2021-03-16 昆明自动化成套集团股份有限公司 Voltage monitoring device with positioning function and remote upgrading support function
CN112505607B (en) * 2020-12-22 2023-07-04 昆明自动化成套集团股份有限公司 Voltage monitoring device with positioning function and supporting remote upgrading

Similar Documents

Publication Publication Date Title
CN108768709A (en) A kind of serial ports remote upgrade method of the network equipment
CN103677946B (en) Method and system for updating elevator device control programs
CN107193612B (en) Version upgrading method and device for mobile terminal
US7284155B2 (en) Remote software support agent system with electronic documents for troubleshooting
CN106325929B (en) Firmware upgrading method, firmware upgrading device, refrigerator and server
CN104657174A (en) Method and device for dynamically realizing application function
CN105183515A (en) Cloud deck firmware updating method and device
CN105897461A (en) Multi-system OTA upgrading method and multi-system device
CN109753301A (en) Application system dispositions method, device, storage medium and electronic equipment
CN107168739A (en) POS, POS wireless communication module firmware upgrade method and device
CN109976767B (en) Software burning method and device
CN104461897A (en) Application program test method and device
CN106648781B (en) Method and system for upgrading remote firmware of communication equipment
RU2554570C2 (en) Method and system for executing services on server and client of client-server architecture
CN103036706A (en) Local processing method of application upgrading abnormity
CN101442688A (en) Method and system for updating intelligent network platform, controller and intelligent network platform equipment
CN105812426A (en) Upgrade system and upgrade method for multi-business access platform
CN113391845A (en) Data interaction method and device and related components
CN105786636A (en) System repairing method and device
CN108572847B (en) Method for upgrading single chip microcomputer software version through USB port
CN114221866A (en) Method, device and medium for upgrading terminal
CN111090537B (en) Cluster starting method and device, electronic equipment and readable storage medium
CN112882743A (en) Software upgrading method
US20210096838A1 (en) Firmware update with integrated smart sequence and action engine
CN110795111B (en) Remote automatic upgrading method for communication equipment and management terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106