CN105376086B - A kind of method of the EOC local sides batch upgrade with WIFI terminal - Google Patents

A kind of method of the EOC local sides batch upgrade with WIFI terminal Download PDF

Info

Publication number
CN105376086B
CN105376086B CN201510424346.9A CN201510424346A CN105376086B CN 105376086 B CN105376086 B CN 105376086B CN 201510424346 A CN201510424346 A CN 201510424346A CN 105376086 B CN105376086 B CN 105376086B
Authority
CN
China
Prior art keywords
upgrading
wifi
upgrade
eoc local
local sides
Prior art date
Application number
CN201510424346.9A
Other languages
Chinese (zh)
Other versions
CN105376086A (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 present invention provides a kind of method of the EOC local sides batch upgrade with WIFI terminal, preset upgrading starting and ending time, upgrading vlan, IP address pond, and pass through ftp transport protocols, upgrade file needed for the WIFI of home gateway type terminal is pushed in EOC local side memories, periodically to the carry out WIFI software release upgrades of online home gateway type terminal batch.For offline home gateway type terminal after reaching the standard grade, also can updating operation automatically be carried out to it.The present invention is easy to operate, works well, and need not carry out updating operation one by one to online home gateway type terminal manually, reduce maintenance cost, reduces the influence that upgrading uses user, improves the Experience Degree of user.

Description

A kind of method of the EOC local sides batch upgrade with WIFI terminal

Technical field

The invention belongs to data communication field more particularly to a kind of method of the EOC local sides batch upgrade with WIFI terminal.

Background technology

With the rapid prevalence of the wireless devices such as present smart mobile phone, notebook, in radio, TV and film industries, the EOC with WIFI is whole End is used by more and more users.When needing the WIFI versions to home gateway type terminal to carry out software release upgrade, need Updating operation is manually carried out one by one to online home gateway type terminal, and cannot be to offline home gateway type terminal Upgraded.Cause maintenance cost and maintenance difficulties all very big.Meanwhile user's online is caused not in order to reduce as far as possible Just, it generally requires maintenance personnel and carries out updating operation in morning several points, big inconvenience is brought to maintenance personnel.

Invention content

To solve the above problems, the present invention provides a kind of method of the EOC local sides batch upgrade with WIFI terminal, including such as Lower step:

Step 1:Upgrading switch, upgrading initial time, upgrading end time, upgrading vlan, IP address pond are preset, And by ftp transport protocols, the upgrade file needed for the WIFI of home gateway type terminal is pushed in EOC local side memories;

Step 2:Upgrading switch is opened, arrival is waited to upgrade the time started, EOC local sides create a backstage upgrading thread and hold The processing of row batch upgrade, all online WIFI to be upgraded are ranked up, and local side starts tftp server;

Step 3:Updating operation is executed since the online WIFI of serial number 1;

Step 4:Check that upgrading thread exits label, if being set to very, exit thread and terminate to upgrade, otherwise check into Whether the online WIFI current software versions number of row upgrading processing and the software version number of upgrading are consistent, are not risen if consistent Grade, and the online WIFI serial numbers of next serial number become 1, return to third step and execute;If inconsistent, issued pair to the online WIFI Vlan and IP address are answered, an identical vlan and ground with the address of IP network section as tftp server are configured in EOC local sides Location, EOC local sides are connected to WIFI terminals;

Step 5:Online WIFI downloads upgrade file, and flash is written and preserves to match to postpone and restarts;

Step 6:The WIFI restarted reaches the standard grade again, and EOC terminal obtains its software version number, in this way the version after upgrading Number, then judge to upgrade successfully, otherwise fail, the WIFI for upgrading failure is then ordered into the end of the sequence again, behind The WIFI serial numbers of adjacent serial number become 1;

Step 7:Step 3-step 6 is repeated within the upgrading duration, upgrades the end time until reaching, though So the upgrading end time does not reach, but all online WIFI to be upgraded have been upgraded or need not have been upgraded again;

Step 8:It closes upgrading switch, turn off tftp server.

Further, upgrading time started and upgrading end time are set using timer.

Further, the EOC local sides are configured with upgrade state machine, and the state that can be characterized includes:Do not carry out upgrading processing, The WIFI of the home gateway type terminal need not be upgraded, upgraded, upgraded restarted, upgraded successfully, Upgrading failure.

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

Further, before step 3, backstage upgrades thread and checks that EOC local side upgrade files whether there is, if not depositing Upgrade file is then being downloaded to EOC local sides from ftp server with the ftp server relevant information of first step preservation In memory.

Further, in step 4, WIFI terminal is replied to EOC local sides under a message expression after downloading upgrade file It carries successfully, is replied message if EOC local sides receive, upgrade status is set to " WIFI of the home gateway type terminal of upgrading is Restarted ", otherwise it is assumed that upgrading failure, upgrade status is set to " upgrading fails ".

Further, in step 1, upgrade file is pushed to by EOC local side memories by CLI configuration modes or webmaster In.

Beneficial effects of the present invention are:

The present invention provides EOC local sides to a kind of batch upgrading method of the lower simple efficiency for hanging home gateway type terminal. It is capable of the carry out WIFI software release upgrades to online home gateway type terminal batch of timing.For offline home gateway type Terminal also automatically can carry out updating operation after reaching the standard grade to it, reduce the influence that upgrading uses user, improve user Experience Degree.

Description of the drawings

Fig. 1 is the sequence diagram of the method for the invention.

Specific implementation mode

The present invention includes the following steps:

Step 1:Upgrading switch, upgrading initial time, upgrading end time, upgrading vlan, IP address pond are preset, And by ftp transport protocols, the upgrade file needed for the WIFI of home gateway type terminal is pushed in EOC local side memories;

Preferably, in order to guarantee the source of retrospect upgrade file, the address of ftp server, user name password are preserved In EOC local sides.

Upgrade file can be pushed in EOC local side memories by CLI configuration modes or webmaster.

EOC local side webmaster personnel depalies upgrade initial time, upgrading end time, upgrading vlan and upgrading address pool, rise Grade switch.The time for upgrading initial time and upgrading between the end time is the upgrading duration, is used for timing in the period Upgrading processing is carried out to all online home gateway type terminals, is reaching the standard grade it for offline home gateway type terminal in this way Afterwards, in next upgrade cycle(Upgrade cycle can be one day)It is interior to be carried out upgrading processing automatically.With upgrading vlan and IP Location pond enables WIFI out of EOC local sides for ensuring that the WIFI of EOC local sides and home gateway type terminal can be interconnected Leave the file being downloaded to needed for upgrading.Here distribute address using customized IP address pond rather than dhcp tools, be for It prevents other dhcp clients from getting the address of the address pool, upgrading is impacted.

Step 2:Upgrading switch is opened, arrival is waited to upgrade the time started, EOC local sides create a backstage upgrading thread and hold The processing of row batch upgrade, all online WIFI to be upgraded are ranked up, and EOC local sides start tftp server;

Upgrading switch can be also set, for controlling whether to need to go daily to carry out upgrading processing.Upgrading switch is opened, according to Current time and the update time section of configuration start the time interval time1 upgraded and upgrading duration to calculate first time time2.Start timer (time-out time time1) for the first time, upon expiry of the timer, creates a background thread and (be denoted as Thread) execute batch upgrade processing, while be arranged the timer next time time-out time be time2.It is expired in time2 Afterwards, setting flag (being denoted as exit_flag) allows thread threads to exit end epicycle upgrading processing.At next round batch upgrade Reason needs to be arranged the timer expiry time for 24 hours time intervals for subtracting tim2.

Step 3:Updating operation is executed since the online WIFI of serial number 1.

Preferably, the first step is caused to download to the upgrade file loss in local side memory to prevent EOC local sides from restarting. Thread should check again for EOC local side upgrade files and whether there is, if being not present, be protected with the first step before this step The ftp server relevant information deposited is by upgrade file from the memory that ftp server is downloaded to EOC local sides.It is lost if downloading It loses, then exits the processing of thread stall epicycle batch upgrade.

Step 4:It checks whether backstage upgrading thread exits, such as has logged out, then terminate to upgrade, otherwise check and risen Whether the online WIFI current software versions number and the software version number of upgrading of grade processing are consistent, do not upgrade if consistent, and The online WIFI serial numbers of next serial number become 1, return to third step and execute;If inconsistent, correspondence is issued to the online WIFI Vlan and static ip address(IP1), configure an identical vlan in EOC local sides and be used as tftp with the address of IP network section (IP2) The address of server, EOC local sides are connected to WIFI terminals.

In order to preferably characterize upgrade status, present invention setting can a upgrade state machine, the upgrade status packet that can be characterized It includes: Unupgrade(Upgrading processing is not carried out), None (need not be upgraded), Upgrading(Upgraded)、 Rebooting(The WIFI of the home gateway type terminal of upgrading is being restarted)、Success(It upgrades successfully)、Failed(It rises Grade failure).The original state of each home gateway type terminal upgrade state is all " Unupgrade ".If upgrade status is not Be " Unupgrade " expression carried out upgrading processing, then epicycle need not carry out upgrading processing again.And upgrading is lost It loses, at most has three tries, prevent from unsuccessfully causing WIFI constantly to be restarted due to upgrading.

Preferably, WIFI terminal is downloaded successfully after downloading upgrade file to one message expression of EOC local sides reply, EOC innings It is replied message if end receives, upgrade status is set to " Rebooting ", otherwise it is assumed that upgrading failure, upgrade status is set to “Failed”。

Step 5:Online WIFI is downloaded upgrade file from EOC local sides using tftp agreements, and flash is written simultaneously It preserves to match to postpone and restart.

EOC local sides issue upgrade file name (being denoted as file) and ip2 to WIFI, and upgrade status is set to by EOC local sides " Upgrading ", WIFI receive the message, and download file f ile is removed using tftp agreements from ip2.A message is replied (to be denoted as Msg_reboot the expression of EOC local sides) is given to download successfully, then upgrade file is write flash and preserve configuration and restarted by WIFI.

Step 6:The WIFI restarted reaches the standard grade again, and EOC terminal obtains its software version number, in this way the version after upgrading Number, then judge to upgrade successfully, otherwise fail, the WIFI for upgrading failure is then ordered into the end of the sequence again, behind The WIFI serial numbers of adjacent serial number become 1.

Step 7:Step 3-step 6 is repeated within the upgrading duration, is terminated until the upgrading duration, though So upgrading the duration be not finished, but had stepped through all online WIFI to be upgraded be upgraded or need not again into Row upgrading;

Step 8:Upgrading switch is closed, turns off tftp server, terminate batch upgrade operation.

Beneficial effects of the present invention are:

The present invention provides EOC local sides to a kind of batch upgrading method of the lower simple efficiency for hanging home gateway type terminal. It is capable of the carry out WIFI software release upgrades to online home gateway type terminal batch of timing.For offline home gateway type Terminal also automatically can carry out updating operation after reaching the standard grade to it, need not be manually to online home gateway type terminal Updating operation is carried out one by one, reduces maintenance cost.The present invention is easy to operate, works well, need not be manually to online family Gateway type terminal carries out updating operation one by one, reduces maintenance cost, reduces the influence that upgrading uses user, improves user's Experience Degree.

Claims (7)

1. a kind of method of the EOC local sides batch upgrade with WIFI terminal, which is characterized in that include the following steps:
Step 1:Upgrading switch, upgrading initial time, upgrading end time, upgrading vlan, IP address pond are preset, and is led to Ftp transport protocols are crossed, the upgrade file needed for the WIFI of home gateway type terminal is pushed in EOC local side memories;
Step 2:Upgrading switch is opened, the arrival upgrading time started is waited, one backstage upgrading thread of EOC local sides establishment, which executes, to be criticized Upgrading processing is measured, all online WIFI to be upgraded are ranked up, local side starts tftp server;
Step 3:Updating operation is executed since the online WIFI of serial number 1;
Step 4:Check upgrading thread exits label, if being set to very, exits thread and terminates to upgrade, and otherwise checks and is risen Whether the online WIFI current software versions number and the software version number of upgrading of grade processing are consistent, do not upgrade if consistent, and The online WIFI serial numbers of next serial number become 1, return to third step and execute;If inconsistent, correspondence is issued to the online WIFI Vlan and IP address configure an identical vlan and address with the address of IP network section as tftp server in EOC local sides, EOC local sides are connected to WIFI terminals;
Step 5:Online WIFI downloads upgrade file, and flash is written and preserves to match to postpone and restarts;
Step 6:The WIFI restarted reaches the standard grade again, and EOC terminal obtains its software version number, in this way the version number after upgrading, then Judgement upgrades successfully, and otherwise fails, and the WIFI for upgrading failure is then ordered into the end of WIFI sequences again, behind adjacent serial number WIFI serial numbers become 1;
Step 7:Step 3-step 6 is repeated within the upgrading duration, upgrades the end time until reaching, although rising The grade end time does not reach, but all online WIFI to be upgraded have been upgraded or need not have been upgraded again;
Step 8:It closes upgrading switch, turn off tftp server.
2. method of the EOC local sides batch upgrade with WIFI terminal as described in claim 1, which is characterized in that use timer Setting upgrading time started and upgrading end time.
3. method of the EOC local sides batch upgrade with WIFI terminal as described in claim 1, which is characterized in that the EOC local sides Configured with upgrade state machine, the state that can be characterized includes:Do not carry out upgrading processing, need not be upgraded, upgraded, The WIFI of the home gateway type terminal of upgrading is being restarted, is being upgraded successfully, upgrading failure.
4. method of the EOC local sides batch upgrade with WIFI terminal as described in claim 1, which is characterized in that in step 1, The address of ftp server, user name password are saved in EOC local sides.
5. method of the EOC local sides batch upgrade with WIFI terminal as claimed in claim 4, which is characterized in that step 3 it Before, backstage upgrades thread and checks that EOC local side upgrade files whether there is, if being not present, with the ftp server of first step preservation Relevant information is by upgrade file from the memory that ftp server is downloaded to EOC local sides.
6. method of the EOC local sides batch upgrade with WIFI terminal as described in claim 1, which is characterized in that in step 4, WIFI terminal is downloaded successfully after downloading upgrade file to one message expression of EOC local sides reply, if EOC local sides receive reply Upgrade status is set to " WIFI of the home gateway type terminal of upgrading is being restarted " by message, otherwise it is assumed that upgrading failure, Upgrade status is set to " upgrading failure ".
7. method of the EOC local sides batch upgrade with WIFI terminal as described in claim 1, which is characterized in that in step 1, lead to It crosses CLI configuration modes or webmaster upgrade file is pushed in EOC local side memories.
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 CN105376086A (en) 2016-03-02
CN105376086B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN105376086A (en) 2016-03-02

Similar Documents

Publication Publication Date Title
US10282191B2 (en) Updating web resources
CN107534647B (en) System, computing device, and storage medium for transmitting startup script
US7904895B1 (en) Firmware update in electronic devices employing update agent in a flash memory card
JP6105157B2 (en) Startup control method and apparatus, and terminal device
CN101377744B (en) Method and apparatus for recovering terminal equipment software upgrade
EP2150891B1 (en) Robust firmware upgrade in a network terminal
US7809366B2 (en) Mobile device client
US20130145356A1 (en) Automatic software update on network devices
US8347355B2 (en) Networking as a service: delivering network services using remote appliances controlled via a hosted, multi-tenant management system
US10595193B2 (en) Method of provisioning a subscriber profile for a secure module
CN102609277B (en) Application software upgrading method of mobile terminal
CN100469016C (en) Method for realizing network communication list data synchronization
CN101631377B (en) Terminal dormancy method and terminal
US7085921B2 (en) Embedded OS PXE server
US7657884B2 (en) Electronic device supporting multiple update agents
EP1198108B2 (en) Method of configuring an automation module on a TCP/IP network
US9286047B1 (en) Deployment and upgrade of network devices in a network environment
JP2004229266A (en) House electric appliance network system, house electric appliance network adapter, index server, house electric appliance network connection method, house electric appliance network adapter control method, and index server operating method
EP2528274B1 (en) Method and system for upgrading network device
CN105354044A (en) Application awakening method and apparatus
CN103634386A (en) Method and device for downloading application by client end application program
CN102364891B (en) Method for upgrading software for embedded Ethernet equipment and embedded Ethernet equipment
CN102314369A (en) Self-upgrade method for equipment in remote online monitoring system
CN104158886B (en) Flow-type performing method for applications
WO2016138323A1 (en) Remote device modification

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