CN105376086A - Method for EOC local side to upgrade terminals with WIFI in batches - Google Patents

Method for EOC local side to upgrade terminals with WIFI in batches Download PDF

Info

Publication number
CN105376086A
CN105376086A CN201510424346.9A CN201510424346A CN105376086A CN 105376086 A CN105376086 A CN 105376086A CN 201510424346 A CN201510424346 A CN 201510424346A CN 105376086 A CN105376086 A CN 105376086A
Authority
CN
China
Prior art keywords
upgrading
wifi
upgrade
eoc local
terminal
Prior art date
Application number
CN201510424346.9A
Other languages
Chinese (zh)
Other versions
CN105376086B (en
Inventor
李昭
Original Assignee
成都广达新网科技股份有限公司
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 成都广达新网科技股份有限公司 filed Critical 成都广达新网科技股份有限公司
Priority to CN201510424346.9A priority Critical patent/CN105376086B/en
Publication of CN105376086A publication Critical patent/CN105376086A/en
Application granted granted Critical
Publication of CN105376086B publication Critical patent/CN105376086B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance or administration or management of packet switching networks
    • H04L41/08Configuration management of network or network elements
    • H04L41/0803Configuration setting of network or network elements
    • H04L41/0813Changing of configuration
    • H04L41/082Changing of configuration due to updating or upgrading of network functionality, e.g. firmware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/06Network-specific arrangements or communication protocols supporting networked applications adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention provides a method for an EOC local side to upgrade terminals with WIFI in batches, comprising the following steps: presetting the upgrading start time and end time, an upgrading vlan and an IP address pool, pushing an upgrading file needed by the WIFI of home gateway terminals to the memory of an EOC local side through an FTP (File Transfer Protocol), and regularly upgrading the WIFI software version of online home gateway terminals in batches. After an offline home gateway terminal goes online, the home gateway terminal can be upgraded automatically. The method of the invention is simple to operate, and has a good effect. There is no need to manually upgrade online home gateway terminals one by one. The maintenance cost is lowered, the influence of upgrading on users is reduced, and the user experience is improved.

Description

A kind of method of EOC local side batch upgrade band WIFI terminal

Technical field

The invention belongs to data communication field, refer more particularly to a kind of method of EOC local side batch upgrade band WIFI terminal.

Background technology

Popular rapidly along with wireless devices such as present smart mobile phone, notebooks, in radio, TV and film industries, the EOC terminal of band WIFI is used by increasing user.When needing to carry out software release upgrade to the WIFI version of home gateway type terminal, needing manual to carry out updating operation one by one to online home gateway type terminal, and can not upgrade to the home gateway type terminal of off-line.Cause maintenance cost and maintenance difficulties all very large.Meanwhile, in order to reduce as far as possible, user's online be brought inconvenience, generally need attendant what time to carry out updating operation in morning, very large inconvenience is brought to attendant.

Summary of the invention

For solving the problem, the invention provides a kind of method of EOC local side batch upgrade band WIFI terminal, comprising the steps:

Step one: preset upgrading switch, upgrading initial time, upgrading end time, upgrading vlan, IP address pool, and by ftp host-host protocol, the upgrade file needed for the WIFI of home gateway type terminal is pushed in EOC local side internal memory;

Step 2: open upgrading switch, waits and arrives the upgrading time started, and EOC local side creates the process of a backstage upgrading thread execution batch upgrade, and sorted by all online WIFI to be upgraded, local side starts tftpserver;

Step 3: perform updating operation from the online WIFI that sequence number is 1;

Step 4: what check upgrading thread exits mark, if be set to true, then exit thread and terminate upgrading, otherwise check the online WIFI current software version number carrying out upgrading processing and the software version number of upgrading whether consistent, if consistent, do not upgrade, and the online WIFI sequence number of next sequence number becomes 1, return the 3rd step and perform; If inconsistent, issue corresponding vlan and IP address to this online WIFI, configure an identical vlan and with the address of IP network section as the address of tftpserver, EOC local side is communicated with WIFI terminal at EOC local side;

Step 5: online WIFI downloads upgrade file, write flash is also restarted after preserving configuration;

Step 6: the WIFI of having restarted reaches the standard grade again, EOC terminal obtains its software version number, the version number in this way after upgrading; then judge to upgrade successfully; otherwise failure, the failed WIFI that upgrades then is ordered in the end of described sequence again, and the WIFI sequence number of its rear adjacent sequence number becomes 1;

Step 7: upgrading the duration in repeat step 3-step 6, until arrive upgrading the end time, although or upgrading the end time do not arrive, all online WIFI to be upgraded have been upgraded or have not needed to upgrade again;

Step 8: close upgrading switch, turn off tftpserver.

Further, timer setting upgrading time started and upgrading end time is adopted.

Further, described EOC local side is configured with upgrade state machine, and the state that can characterize comprises: the WIFI of the home gateway type terminal of do not carry out upgrading processing, do not need to carry out to upgrade, carrying out upgrading, upgrading is carrying out restarting, upgrade successfully, failure of upgrading.

Further, in step one, address, the user name password of ftp server are saved in EOC local side.

Further, before step 3, backstage upgrading thread checks whether EOC local side upgrade file exists, if do not exist, is then again downloaded to the internal memory of EOC local side from ftp server by upgrade file with the ftp server relevant information that the first step is preserved.

Further, in step 4, WIFI terminal is downloaded and is replied a message to EOC local side after upgrade file and represent and download successfully, if EOC local side receives reply message, upgrade status is set to " WIFI of the home gateway type terminal of upgrading is restarted ", otherwise think and upgrade unsuccessfully, upgrade status is set to " upgrading unsuccessfully ".

Further, in step one, by CLI configuration mode or webmaster, upgrade file is pushed in EOC local side internal memory.

Beneficial effect of the present invention is:

The invention provides the batch upgrading method of EOC local side to a kind of simple efficiency of lower extension home gateway type terminal.Can timing WIFI software release upgrade is carried out to online home gateway type terminal batch.For the home gateway type terminal of off-line after reaching the standard grade, also can carry out updating operation to it automatically, reduce the impact that upgrading uses user, improve the Experience Degree of user.

Accompanying drawing explanation

Fig. 1 is the sequential chart of the method for the invention.

Embodiment

The present invention includes following steps:

Step one: preset upgrading switch, upgrading initial time, upgrading end time, upgrading vlan, IP address pool, and by ftp host-host protocol, the upgrade file needed for the WIFI of home gateway type terminal is pushed in EOC local side internal memory;

Preferably, in order to guarantee the source reviewing upgrade file, the address of ftp server, user name password are kept at EOC local side.

By CLI configuration mode or webmaster, upgrade file can be pushed in EOC local side internal memory.

EOC local side webmaster personnel depaly upgrading initial time, upgrading end time, upgrading vlan and upgrading address pool, upgrading switch.Time between upgrading initial time and upgrading end time is the upgrading duration, be used for regularly carrying out upgrading processing in this time period to all online home gateway type terminals, like this for the home gateway type terminal of off-line after reaching the standard grade, automatically will be carried out upgrading processing in next upgrade cycle (upgrade cycle can be a day).Upgrading vlan and IP address pool is used for guaranteeing that the WIFI of EOC local side and home gateway type terminal can interconnect and makes WIFI can download to file needed for upgrading from EOC local side internal memory.Here adopt self-defining IP address pool to come allocation address instead of dhcp instrument, be the address in order to prevent other dhcp client from getting this address pool, upgrading is impacted.

Step 2: open upgrading switch, waits and arrives the upgrading time started, and EOC local side creates the process of a backstage upgrading thread execution batch upgrade, and sorted by all online WIFI to be upgraded, EOC local side starts tftpserver;

Also upgrading switch can being set, being used for controlling to carry out upgrading processing the need of going every day.Open upgrading switch, the update time section according to current time and configuration calculates the first time time interval time1 starting to upgrade and the duration time2 that upgrades.Initiating switchup timer (time-out time is time1), upon expiry of the timer, creates a background thread (being designated as thread) and performs batch upgrade process, arrange simultaneously this timer next time time-out time be time2.After time2 expires, mark (being designated as exit_flag) is set and allows thread thread exit end epicycle upgrading processing.The process of next round batch upgrade, needing to arrange the timer expiry time is the time interval deducting tim2 in 24 hours.

Step 3: perform updating operation from the online WIFI that sequence number is 1.

Preferably, the upgrade file for preventing from EOC local side from restarting causing the first step to download in local side internal memory is lost.Thread, before this step, should check whether EOC local side upgrade file exists again, if do not exist, is then again downloaded to the internal memory of EOC local side from ftp server by upgrade file with the ftp server relevant information that the first step is preserved.If failed download, then exit the process of thread stall epicycle batch upgrade.

Step 4: check whether backstage upgrading thread exits, as exited, then terminate upgrading, otherwise check the online WIFI current software version number carrying out upgrading processing and the software version number of upgrading whether consistent, if consistent, do not upgrade, and the online WIFI sequence number of next sequence number becomes 1, return the 3rd step and perform; If inconsistent, issue corresponding vlan and static ip address (IP1) to this online WIFI, configure an identical vlan and with the address (IP2) of IP network section as the address of tftpserver, EOC local side is communicated with WIFI terminal at EOC local side.

In order to better characterize upgrade status, the present invention is arranged can a upgrade state machine, and the upgrade status that can characterize comprises: Unupgrade(does not carry out upgrading processing), None (not needing to upgrade), Upgrading( upgrade), the WIFI of the home gateway type terminal of Rebooting(upgrading restarts), Success(upgrades successfully), Failed(upgrades unsuccessfully).The initial condition of each home gateway type terminal staging state is all " Unupgrade ".If upgrade status is not " Unupgrade " represent and carried out upgrading processing, then epicycle does not need again to carry out upgrading processing.And for upgrading unsuccessfully, have three tries at the most, prevent from unsuccessfully causing WIFI constantly to be restarted owing to upgrading.

Preferably, WIFI terminal is downloaded and is replied a message to EOC local side after upgrade file and represent and download successfully, if EOC local side receives reply message, upgrade status is set to " Rebooting ", otherwise thinks and upgrade unsuccessfully, upgrade status is set to " Failed ".

Step 5: online WIFI uses tftp agreement to be downloaded by upgrade file from EOC local side, and write flash and restart after preservation configuration.

EOC local side issues upgrade file name (being designated as file) and upgrade status is set to WIFI, EOC local side by ip2 " Upgrading ", WIFI receives this message, uses tftp agreement to remove download file file from ip2.Reply a message (being designated as msg_reboot) to represent to EOC local side and download successfully, then upgrade file is write flash and is preserved configuration and restarts by WIFI.

Step 6: the WIFI of having restarted reaches the standard grade again, EOC terminal obtains its software version number, the version number in this way after upgrading, then judge to upgrade successfully, otherwise failure, the failed WIFI that upgrades then is ordered in the end of described sequence again, and the WIFI sequence number of its rear adjacent sequence number becomes 1.

Step 7: upgrading the duration in repeat step 3-step 6, until upgrading the duration terminate, although or upgrading the duration do not terminate, traveled through all online WIFI to be upgraded and be upgraded or do not needed to upgrade again;

Step 8: close upgrading switch, turn off tftpserver, terminate batch upgrade operation.

Beneficial effect of the present invention is:

The invention provides the batch upgrading method of EOC local side to a kind of simple efficiency of lower extension home gateway type terminal.Can timing WIFI software release upgrade is carried out to online home gateway type terminal batch.For the home gateway type terminal of off-line after reaching the standard grade, also can carry out updating operation to it automatically, not need manually to carry out updating operation one by one to online home gateway type terminal, reduce maintenance cost.The present invention is simple to operate, respond well, does not need manually to carry out updating operation one by one to online home gateway type terminal, reduces maintenance cost, reduces the impact that upgrading uses user, improves the Experience Degree of user.

Claims (7)

1. a method for EOC local side batch upgrade band WIFI terminal, is characterized in that, comprise the steps:
Step one: preset upgrading switch, upgrading initial time, upgrading end time, upgrading vlan, IP address pool, and by ftp host-host protocol, the upgrade file needed for the WIFI of home gateway type terminal is pushed in EOC local side internal memory;
Step 2: open upgrading switch, waits and arrives the upgrading time started, and EOC local side creates the process of a backstage upgrading thread execution batch upgrade, and sorted by all online WIFI to be upgraded, local side starts tftpserver;
Step 3: perform updating operation from the online WIFI that sequence number is 1;
Step 4: what check upgrading thread exits mark, if be set to true, then exit thread and terminate upgrading, otherwise check the online WIFI current software version number carrying out upgrading processing and the software version number of upgrading whether consistent, if consistent, do not upgrade, and the online WIFI sequence number of next sequence number becomes 1, return the 3rd step and perform; If inconsistent, issue corresponding vlan and IP address to this online WIFI, configure an identical vlan and with the address of IP network section as the address of tftpserver, EOC local side is communicated with WIFI terminal at EOC local side;
Step 5: online WIFI downloads upgrade file, write flash is also restarted after preserving configuration;
Step 6: the WIFI of having restarted reaches the standard grade again, EOC terminal obtains its software version number, the version number in this way after upgrading; then judge to upgrade successfully; otherwise failure, the failed WIFI that upgrades then is ordered in the end of described sequence again, and the WIFI sequence number of its rear adjacent sequence number becomes 1;
Step 7: upgrading the duration in repeat step 3-step 6, until arrive upgrading the end time, although or upgrading the end time do not arrive, all online WIFI to be upgraded have been upgraded or have not needed to upgrade again;
Step 8: close upgrading switch, turn off tftpserver.
2. the method for EOC local side batch upgrade band WIFI terminal as claimed in claim 1, is characterized in that, adopts timer setting upgrading time started and upgrading end time.
3. the method for EOC local side batch upgrade band WIFI terminal as claimed in claim 1, it is characterized in that, described EOC local side is configured with upgrade state machine, and the state that can characterize comprises: the WIFI of the home gateway type terminal of do not carry out upgrading processing, do not need to carry out to upgrade, carrying out upgrading, upgrading is carrying out restarting, upgrade successfully, failure of upgrading.
4. the method for EOC local side batch upgrade band WIFI terminal as claimed in claim 1, it is characterized in that, in step one, address, the user name password of ftp server are saved in EOC local side.
5. the method for EOC local side batch upgrade band WIFI terminal as claimed in claim 4, it is characterized in that, before step 3, backstage upgrading thread checks whether EOC local side upgrade file exists, if do not exist, then with the ftp server relevant information that the first step is preserved, upgrade file is downloaded to the internal memory of EOC local side again from ftp server.
6. the method for EOC local side batch upgrade band WIFI terminal as claimed in claim 1, it is characterized in that, in step 4, WIFI terminal is downloaded and is replied a message to EOC local side after upgrade file and represent and download successfully, if EOC local side receives reply message, upgrade status is set to " WIFI of the home gateway type terminal of upgrading is restarted ", otherwise thinks and upgrade unsuccessfully, upgrade status is set to " upgrading unsuccessfully ".
7. the method for EOC local side batch upgrade band WIFI terminal as claimed in claim 1, be is characterized in that, in step one, be pushed in EOC local side internal memory by upgrade file by CLI configuration mode or webmaster.
CN201510424346.9A 2015-07-20 2015-07-20 A kind of method of the EOC local sides batch upgrade with WIFI terminal CN105376086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510424346.9A CN105376086B (en) 2015-07-20 2015-07-20 A kind of method of the EOC local sides batch upgrade with WIFI terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510424346.9A CN105376086B (en) 2015-07-20 2015-07-20 A kind of method of the EOC local sides batch upgrade with WIFI terminal

Publications (2)

Publication Number Publication Date
CN105376086A true CN105376086A (en) 2016-03-02
CN105376086B CN105376086B (en) 2018-07-13

Family

ID=55377914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510424346.9A CN105376086B (en) 2015-07-20 2015-07-20 A kind of method of the EOC local sides batch upgrade with WIFI terminal

Country Status (1)

Country Link
CN (1) CN105376086B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107479889A (en) * 2017-08-16 2017-12-15 郑州云海信息技术有限公司 A kind of batch refresh CPLD method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192970A (en) * 2006-11-22 2008-06-04 中兴通讯股份有限公司 Method for automatic synchronization of user device version in Ethernet passive optical network system
CN101197704A (en) * 2006-12-05 2008-06-11 中兴通讯股份有限公司 Method for upgrading software version in digital subscriber's loop terminal telemanagement
CN101459528A (en) * 2007-12-11 2009-06-17 康佳集团股份有限公司 On-line up-grading method and system for network terminal device
EP2234355A1 (en) * 2009-03-25 2010-09-29 IHP GmbH-Innovations for High Performance Microelectronics / Leibniz-Institut für innovative Mikroelektronik MIMO Transmission in IEEE802.11 WLAN Systems
CN102457784A (en) * 2010-10-28 2012-05-16 上海未来宽带技术及应用工程研究中心有限公司 Method for upgrading EoC equipment software in batches in EPON+EoC network
CN103237071A (en) * 2013-04-19 2013-08-07 江苏亿通高科技股份有限公司 Wireless EoC (Ethernet over coax) terminal centralized management method
CN103324510A (en) * 2013-07-10 2013-09-25 中怡(苏州)科技有限公司 EoC product upgrading method based on HomePlug AV chip
CN104320284A (en) * 2014-11-12 2015-01-28 武汉长光科技有限公司 Automatic EOC terminal batch upgrading method based on HomePlug AV chip

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192970A (en) * 2006-11-22 2008-06-04 中兴通讯股份有限公司 Method for automatic synchronization of user device version in Ethernet passive optical network system
CN101197704A (en) * 2006-12-05 2008-06-11 中兴通讯股份有限公司 Method for upgrading software version in digital subscriber's loop terminal telemanagement
CN101459528A (en) * 2007-12-11 2009-06-17 康佳集团股份有限公司 On-line up-grading method and system for network terminal device
EP2234355A1 (en) * 2009-03-25 2010-09-29 IHP GmbH-Innovations for High Performance Microelectronics / Leibniz-Institut für innovative Mikroelektronik MIMO Transmission in IEEE802.11 WLAN Systems
CN102457784A (en) * 2010-10-28 2012-05-16 上海未来宽带技术及应用工程研究中心有限公司 Method for upgrading EoC equipment software in batches in EPON+EoC network
CN103237071A (en) * 2013-04-19 2013-08-07 江苏亿通高科技股份有限公司 Wireless EoC (Ethernet over coax) terminal centralized management method
CN103324510A (en) * 2013-07-10 2013-09-25 中怡(苏州)科技有限公司 EoC product upgrading method based on HomePlug AV chip
CN104320284A (en) * 2014-11-12 2015-01-28 武汉长光科技有限公司 Automatic EOC terminal batch upgrading method based on HomePlug AV chip

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107479889A (en) * 2017-08-16 2017-12-15 郑州云海信息技术有限公司 A kind of batch refresh CPLD method

Also Published As

Publication number Publication date
CN105376086B (en) 2018-07-13

Similar Documents

Publication Publication Date Title
US10177977B1 (en) Deployment and upgrade of network devices in a network environment
KR102126010B1 (en) Euicc management method, euicc, sm platform and system
JP2017130950A (en) Start-up control method and device and terminal device
CN102609277B (en) Application software upgrading method of mobile terminal
US20150245182A1 (en) Update management
US8224311B2 (en) System and method for updating data in remote devices
US8347355B2 (en) Networking as a service: delivering network services using remote appliances controlled via a hosted, multi-tenant management system
US20130145356A1 (en) Automatic software update on network devices
JP5278222B2 (en) Wireless communication apparatus, wireless communication method, and wireless communication program
EP2840455A1 (en) Method, apparatus and system for intelligently controlling device, and plug-and-play device
EP3395013B1 (en) Node upgrading method and system in mesh network
TWI556596B (en) Bluetooth low energy beacon device and advertising methodology
US20070027964A1 (en) System and method for rapid deployment of network appliances and infrastructure devices
EP1152338B1 (en) Method and apparatus for downloading firmware
CN105282583B (en) A kind of remote controler intelligent Matching system and implementation method
US7363483B2 (en) System for rebooting relay apparatus based on detection of completely no communication establishment data presence
CN102595384B (en) Method and device for software updating, mobile terminal and system thereof
US20130325939A1 (en) Terminal management system and method for managing a terminal
JP5095861B2 (en) Method and system for maintaining connection between terminal and server in communication system
JP4454539B2 (en) IP telephone automatic setting system and method
US8498008B2 (en) Firmware distribution device
EP2890215A1 (en) Data card and communication method and system therefor
KR101481443B1 (en) A method for management device in a communication network and a system thereof
EP3001309A1 (en) Application migration method, device and system for mobile terminal
US20060200658A1 (en) Agent framework for mobile devices

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
GR01 Patent grant