CN103685391A - Method for automatically updating terminal equipment using static network address - Google Patents
Method for automatically updating terminal equipment using static network address Download PDFInfo
- Publication number
- CN103685391A CN103685391A CN201210339504.7A CN201210339504A CN103685391A CN 103685391 A CN103685391 A CN 103685391A CN 201210339504 A CN201210339504 A CN 201210339504A CN 103685391 A CN103685391 A CN 103685391A
- Authority
- CN
- China
- Prior art keywords
- equipment
- configuration
- firmware
- file
- updating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method for automatically updating terminal equipment using a static network address. The method comprises the following steps: when the equipment is started, backing up configurations which are related to a static network function; skipping the initial process of an original static network, and starting a DHCP (Dynamic Host Configuration Protocol) service; sending a request to an updating server so as to obtain a configuration file for updating the equipment, and updating each configuration item according to the obtained configuration file; after the configuration file is updated, reading firmware version information in the configuration file, and judging whether the updating of a firmware version is required or not; if updating is required, sending a request of downloading a firmware version updating file to the updating server, and updating firmware according to the downloaded firmware version updating file; after the configurations of the equipment are updated, restarting the equipment, and re-detecting whether the configuration file and the firmware version information need to be updated or not; if the newest configuration file and the newest firmware version information are updated, restoring the static network configurations of the equipment according to the backup configurations which are related to the static network function. A large quantity of labor resources can be saved, and the maintenance cost of the equipment can be lowered.
Description
Technical field
The present invention relates to a kind of automatically updating method of terminal equipment, particularly relate to a kind of automatically updating method that uses the terminal equipment of static network address.
Background technology
Along with the development of VOIP technology and the increase day by day of international and domestic user session machine user demand, need the terminal equipment quantity of deployment configuration and maintenance greatly to increase, the cost of manual maintenance is also more and more higher, when especially later stage terminal equipment need to carry out edition upgrading, if use the way by platform upgrading, will expend a large amount of time, manpower and financial resources.
The method that employing equipment auto-update is disposed can address the above problem effectively.At present, much the automatically updating method based on DHCP service all can be realized the automatic configuration upgrading of terminal equipment and be widely used in the auto-update of embedded type terminal equipment.
Yet, because both having had display screen, some terminal equipments can not show configuration information, also cannot inquire about its IP address by other method, so conventionally can be configured to the mode of operation of static network address.Like this, this type of terminal equipment can not be served the auto-update of realizing after powering on by DHCP, and can only manually upgrade by attendant, and in being deployed with the application scenarios of a large amount of these type of terminal equipments, maintenance cost and difficulty are all very high.
Summary of the invention
In view of the foregoing, the object of the present invention is to provide a kind of terminal equipment for using static network address, can realize the method for its auto-update, to solve the problem that this type of device upgrade is difficult in maintenance, maintenance cost is high.
For achieving the above object, the present invention is by the following technical solutions:
Use an automatically updating method for the terminal equipment of static network address, be applicable to use the terminal equipment of static network address, it is characterized in that, the method comprises:
S10: in device start process, the relevant configuration of backup static network function;
S11: skip original static network initialization flow process, start DHCP service, to obtain the IP address of a temporary ip address and upgrade server; If DHCP service starts unsuccessfully, perform step S16;
S12: send request to upgrade server, to obtain the configuration file of updating apparatus, upgrade server is received after this request, sends corresponding configuration file to equipment, equipment is received the upgrading of carrying out configuration file after this configuration file; If obtain profile down, perform step S16;
S13: after configuration file upgrading, read the firmware version information in configuration file, judge whether to carry out the upgrading of firmware version, if desired perform step S14, otherwise execution step S17;
S14: send request to upgrade server, to obtain firmware updating version file, upgrade server sends firmware updating version file to equipment after receiving this request, and equipment carries out firmware upgrade according to this firmware updating version file; If obtain the failure of firmware updating version file, perform step S15, otherwise execution step S17;
S15: whether judgment device configuration upgraded, if perform step S17, otherwise execution step S16;
S16: according to the relevant configuration of the static network function of backup, the configuration of the static network of restorer, upgrading finishes, and brings into use equipment;
S17: restarting equipment.
Further:
In described step S12, the method for upgrading configuration is:
S20: equipment sends configuration file download request to described upgrade server;
S21: described upgrade server is received this download request, identifies this equipment, to this equipment, sends corresponding configuration file;
S22: equipment, according to the configuration file Reconfigurations of downloading, judges whether each configuration item needs to upgrade item by item, does not have the configuration item changing not upgrade;
S23: upgrade after each configuration item according to configuration file, according to the configuration item after upgrading, whether the firmware version that judges firmware updating version and current use is consistent, if firmware updating version is higher than the version of current use, the request of sending firmware updating version to described upgrade server is to carry out the upgrading of firmware version.
In described step S14, the method for firmware updating version is:
S30: equipment sends firmware updating version file download request to described upgrade server;
S31: whether judgment device and described upgrade server successfully connect, if perform step S32, otherwise equipment does not carry out firmware version upgrade;
S32: described upgrade server is received this firmware updating version file download request, sends corresponding firmware updating version file to this equipment.
Described upgrade server is the server that is mounted with the device upgrade information such as configuration file and firmware version file.
The invention has the advantages that:
1, utilize method of the present invention, auto-update after using the terminal equipment of static network address to realize to power on, and without any manual configuration, be conducive to administer and maintain configuration and the version information of this type of terminal equipment, a large amount of human resources have been saved, greatly reduce the cost of manual maintenance, be particularly useful for being deployed with the application scenario of a large amount of these type of terminal equipments.
2, utilize method of the present invention, can guarantee not affect original parameter and the correlation function of terminal equipment, and then guaranteed the normal work of terminal equipment under static network address pattern before and after upgrading.
Accompanying drawing explanation
Fig. 1 is method flow diagram of the present invention;
Fig. 2 is the flow chart of upgrading configuration in the present invention;
Fig. 3 is the flow chart of firmware updating version in the present invention.
Embodiment
Below with reference to drawings and Examples, the present invention is described in further detail.
Fig. 1 is method flow diagram of the present invention.As shown in the figure, the automatically updating method of the terminal equipment of use static network address of the present invention, concrete steps are:
S10: in device start process, the relevant configuration of backup static network function;
Device power starts, and each correlation module starts sequentially to carry out initialization, and when mixed-media network modules mixed-media initialization, the relevant configuration item of backup static network function, as static ip address, gateway address, subnet mask etc.
S11: skip original static network initialization flow process, start DHCP service, to obtain the relevant information of upgrade server; If DHCP service starts unsuccessfully, perform step S16;
Device start DHCP service, obtains an interim IP address from Dynamic Host Configuration Protocol server, and DHCP consults successfully, gets the IP address of upgrade server (being mounted with the server of the device upgrade information such as configuration file and firmware version file) simultaneously.Wherein, Dynamic Host Configuration Protocol server, upgrade server can be same server, can be also two-servers independently.
S12: send request to upgrade server, to obtain the configuration file of updating apparatus, upgrade server is received after this request, sends corresponding configuration file to equipment, equipment is received the upgrading of carrying out configuration file after this configuration file; If obtain profile down, perform step S16;
S13: after configuration file upgrading, read the firmware version information in configuration file, judge whether to carry out the upgrading of firmware version, if desired perform step S14, otherwise execution step S17;
S14: send request to upgrade server, to obtain firmware updating version file, upgrade server sends firmware updating version file to equipment after receiving this request, and equipment carries out firmware upgrade according to this firmware updating version file; If obtain the failure of firmware updating version file, perform step S15, otherwise execution step S17;
S15: whether judgment device configuration upgraded, if perform step S17, otherwise execution step S16;
S16: according to the relevant configuration of the static network function of backup, the configuration of the static network of restorer, upgrading finishes, and brings into use equipment.
S17: restarting equipment.
After restarting, equipment starts again to detect from step S10 the upgrading that whether needs to be configured file and firmware version.
Wherein, corresponding to step S12, Fig. 2 is the flow chart of upgrading configuration in the present invention.As shown in the figure, the concrete steps of upgrading configuration are:
S20: equipment sends configuration file download request to upgrade server;
S21: upgrade server is received this download request, identifies this equipment, to this equipment, sends corresponding configuration file;
S22-S25: equipment, according to the configuration file Reconfigurations of downloading, judges whether each configuration item needs to upgrade item by item, does not have the configuration item changing not upgrade;
S26: upgrade after each configuration item according to configuration file, according to the configuration item after upgrading, whether the firmware version that judges firmware updating version and current use is consistent, if firmware updating version is higher than the version of current use, the request of sending firmware updating version to upgrade server is to carry out the upgrading of firmware version.
While it should be noted that in the configuration file of downloading with static ip address in the process of upgrading configuration, need to upgrade this static ip address equally, device upgrade is enabled new static ip address after finishing to restart; For needs, recover to dispatch from the factory for the equipment of configuration, static ip address in configuration file is consistent with the IP address of backup before, during due to device start, use be from Dynamic Host Configuration Protocol server application to temporary ip address, so can't produce the problem of IP address conflict.
Corresponding to step S 14, Fig. 3 is the flow chart of firmware updating version in the present invention.As shown in the figure, device configuration file upgrading finishes, and when firmware updating version is higher than the firmware version of current use in the configuration item upgrading, need to carry out the upgrading of firmware version, and step is as follows:
S30: equipment sends firmware updating version file download request to upgrade server;
S31: whether judgment device and upgrade server successfully connect, if perform step S32, otherwise execution step S33;
S32: upgrade server is received this firmware updating version file download request, sends corresponding firmware updating version file to this equipment.
S33: equipment does not carry out firmware version upgrade.
More than for realizing the concrete grammar step of using static network address terminal equipment auto-update in the present invention.When starting, device power-up first backs up the relevant configuration of static network function, then skip the initialization of static network and enable the IP address that DHCP serves to obtain a temporary ip address and upgrade server, use subsequently this temporary ip address and upgrade server to carry out mutual to obtain configuration file and the firmware version file of updating apparatus, whether also after upgrading configuration, restarting equipment detects again needs upgrading, and equipment config update recovers the mode of operation of static network when up-to-date according to the relevant configuration of backup.Utilize method of the present invention, can realize and use the terminal equipment of static network address when starting up, to carry out auto-update, and without human configuration, and can guarantee the normal work of equipment under static network address pattern after upgrading, can save a large amount of time, human resources, reduce the maintenance cost of equipment.
The above is preferred embodiment of the present invention and the know-why used thereof; for a person skilled in the art; in the situation that not deviating from the spirit and scope of the present invention; the apparent changes such as any equivalent transformation based on technical solution of the present invention basis, simple replacement, within all belonging to protection range of the present invention.
Claims (4)
1. use an automatically updating method for the terminal equipment of static network address, be applicable to use the terminal equipment of static network address, it is characterized in that, the method comprises:
S10: in device start process, the relevant configuration of backup static network function;
S11: skip original static network initialization flow process, start DHCP service, to obtain the IP address of a temporary ip address and upgrade server; If DHCP service starts unsuccessfully, perform step S16;
S12: send request to upgrade server, to obtain the configuration file of updating apparatus, upgrade server is received after this request, sends corresponding configuration file to equipment, equipment is received the upgrading of carrying out configuration file after this configuration file; If obtain profile down, perform step S16;
S13: after configuration file upgrading, read the firmware version information in configuration file, judge whether to carry out the upgrading of firmware version, if desired perform step S14, otherwise execution step S17;
S14: send request to upgrade server, to obtain firmware updating version file, upgrade server sends firmware updating version file to equipment after receiving this request, and equipment carries out firmware upgrade according to this firmware updating version file; If obtain the failure of firmware updating version file, perform step S15, otherwise execution step S17;
S15: whether judgment device configuration upgraded, if perform step S17, otherwise execution step S16;
S16: according to the relevant configuration of the static network function of backup, the configuration of the static network of restorer, upgrading finishes, and brings into use equipment;
S17: restarting equipment.
2. the automatically updating method of the terminal equipment of use static network address as claimed in claim 1, is characterized in that, in described step S12, the method for upgrading configuration is:
S20: equipment sends configuration file download request to described upgrade server;
S21: described upgrade server is received this download request, identifies this equipment, to this equipment, sends corresponding configuration file;
S22: equipment, according to the configuration file Reconfigurations of downloading, judges whether each configuration item needs to upgrade item by item, does not have the configuration item changing not upgrade;
S23: upgrade after each configuration item according to configuration file, according to the configuration item after upgrading, whether the firmware version that judges firmware updating version and current use is consistent, if firmware updating version is higher than the version of current use, the request of sending firmware updating version to described upgrade server is to carry out the upgrading of firmware version.
3. the automatically updating method of the terminal equipment of use static network address as claimed in claim 1, is characterized in that, in described step S14, the method for firmware updating version is:
S30: equipment sends firmware updating version file download request to described upgrade server;
S31: whether judgment device and described upgrade server successfully connect, if perform step S32, otherwise equipment does not carry out firmware version upgrade;
S32: described upgrade server is received this firmware updating version file download request, sends corresponding firmware updating version file to this equipment.
4. the automatically updating method of the terminal equipment of use static network address as claimed in claim 1, is characterized in that, described upgrade server is the server that is mounted with the device upgrade information such as configuration file and firmware version file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210339504.7A CN103685391B (en) | 2012-09-13 | 2012-09-13 | A kind of automatically updating method of terminal device using static network address |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210339504.7A CN103685391B (en) | 2012-09-13 | 2012-09-13 | A kind of automatically updating method of terminal device using static network address |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103685391A true CN103685391A (en) | 2014-03-26 |
CN103685391B CN103685391B (en) | 2018-03-09 |
Family
ID=50321694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210339504.7A Active CN103685391B (en) | 2012-09-13 | 2012-09-13 | A kind of automatically updating method of terminal device using static network address |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103685391B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108762785A (en) * | 2018-05-29 | 2018-11-06 | 四川斐讯信息技术有限公司 | Restore the method and system of manufacture in a kind of firmware upgrade process |
CN109347660A (en) * | 2018-09-20 | 2019-02-15 | Tcl-罗格朗国际电工(惠州)有限公司 | Building talkback equipment configuration method, device, computer equipment and storage medium |
CN109560953A (en) * | 2017-09-27 | 2019-04-02 | 华为技术有限公司 | Method, the terminal and server of connection profile Content Management Platform |
CN110138857A (en) * | 2019-05-14 | 2019-08-16 | 四川九州电子科技股份有限公司 | The method of network-termination device realization auto upgrading |
CN110300022A (en) * | 2019-06-26 | 2019-10-01 | 上德(珠海)数据科技有限公司 | A method of network is set on the network equipment of no screen |
CN110716733A (en) * | 2019-09-30 | 2020-01-21 | 四川九州电子科技股份有限公司 | ONT product software mutual upgrading method |
CN110908701A (en) * | 2018-09-14 | 2020-03-24 | 北京松果电子有限公司 | Firmware version switching method and device, storage medium and electronic equipment |
CN115442353A (en) * | 2022-11-07 | 2022-12-06 | 成都睿乐达机器人科技有限公司 | Application upgrading method and device based on Internet of things equipment |
CN115981698A (en) * | 2023-03-21 | 2023-04-18 | 苏州浪潮智能科技有限公司 | Firmware upgrading method and device |
CN117459393A (en) * | 2023-12-25 | 2024-01-26 | 天地阳光通信科技(北京)有限公司 | Networking equipment upgrading method, system, electronic device and readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1570878A (en) * | 2003-07-11 | 2005-01-26 | 上海广电(集团)有限公司中央研究院 | Method for upgrading software of information household electrical appliance and method for encoding and decoding upgrading data |
US20110093516A1 (en) * | 2006-08-23 | 2011-04-21 | Zte Corporation | implementation method for updating the terminals in batches |
CN102273179A (en) * | 2011-06-23 | 2011-12-07 | 华为终端有限公司 | Method and device for terminal batch upgrading |
-
2012
- 2012-09-13 CN CN201210339504.7A patent/CN103685391B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1570878A (en) * | 2003-07-11 | 2005-01-26 | 上海广电(集团)有限公司中央研究院 | Method for upgrading software of information household electrical appliance and method for encoding and decoding upgrading data |
US20110093516A1 (en) * | 2006-08-23 | 2011-04-21 | Zte Corporation | implementation method for updating the terminals in batches |
CN102273179A (en) * | 2011-06-23 | 2011-12-07 | 华为终端有限公司 | Method and device for terminal batch upgrading |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109560953A (en) * | 2017-09-27 | 2019-04-02 | 华为技术有限公司 | Method, the terminal and server of connection profile Content Management Platform |
WO2019062356A1 (en) * | 2017-09-27 | 2019-04-04 | 华为技术有限公司 | Method of connecting profile content management platform, terminal and server |
AU2018342367B2 (en) * | 2017-09-27 | 2021-10-21 | Huawei Technologies Co., Ltd. | Method of connecting profile content management platform, terminal and server |
CN108762785A (en) * | 2018-05-29 | 2018-11-06 | 四川斐讯信息技术有限公司 | Restore the method and system of manufacture in a kind of firmware upgrade process |
CN110908701B (en) * | 2018-09-14 | 2024-01-30 | 北京小米松果电子有限公司 | Firmware version switching method and device, storage medium and electronic equipment |
CN110908701A (en) * | 2018-09-14 | 2020-03-24 | 北京松果电子有限公司 | Firmware version switching method and device, storage medium and electronic equipment |
CN109347660A (en) * | 2018-09-20 | 2019-02-15 | Tcl-罗格朗国际电工(惠州)有限公司 | Building talkback equipment configuration method, device, computer equipment and storage medium |
CN110138857A (en) * | 2019-05-14 | 2019-08-16 | 四川九州电子科技股份有限公司 | The method of network-termination device realization auto upgrading |
CN110300022A (en) * | 2019-06-26 | 2019-10-01 | 上德(珠海)数据科技有限公司 | A method of network is set on the network equipment of no screen |
CN110716733A (en) * | 2019-09-30 | 2020-01-21 | 四川九州电子科技股份有限公司 | ONT product software mutual upgrading method |
CN115442353B (en) * | 2022-11-07 | 2023-06-16 | 成都睿乐达机器人科技有限公司 | Application upgrading method and device based on Internet of things equipment |
CN115442353A (en) * | 2022-11-07 | 2022-12-06 | 成都睿乐达机器人科技有限公司 | Application upgrading method and device based on Internet of things equipment |
CN115981698A (en) * | 2023-03-21 | 2023-04-18 | 苏州浪潮智能科技有限公司 | Firmware upgrading method and device |
CN117459393A (en) * | 2023-12-25 | 2024-01-26 | 天地阳光通信科技(北京)有限公司 | Networking equipment upgrading method, system, electronic device and readable storage medium |
CN117459393B (en) * | 2023-12-25 | 2024-03-19 | 天地阳光通信科技(北京)有限公司 | Networking equipment upgrading method, system, electronic device and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103685391B (en) | 2018-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103685391A (en) | Method for automatically updating terminal equipment using static network address | |
EP2456257B1 (en) | Method and system for upgrading wireless data card | |
RU2012144530A (en) | METHOD AND SYSTEM FOR INSTALLING AND UPDATING THE APPLICATION TERMINAL IN THE HOME NETWORK | |
EP2582089A1 (en) | System and method for implementing automatic configuration for equipments | |
WO2016149908A1 (en) | Method for updating terminal system, terminal and system | |
CN107357571B (en) | Maintenance method and system for equipment component program | |
CN106855819B (en) | Method for automatically deploying operating system | |
CN106549789B (en) | Method and system for realizing server installation | |
CN111786893B (en) | method and device for synchronizing software versions of wireless routers in mesh networking | |
CN102215479B (en) | AKU is downloaded and method, server and the system of installation | |
CN101631324A (en) | Mobile terminal fault diagnosis and repair method and mobile terminal thereof | |
WO2016065853A1 (en) | Self-recovery method and device after disconnection of base station | |
US20090233609A1 (en) | Touchless Plug and Play Base Station | |
CN103957117A (en) | System and method for achieving intelligent installation of network equipment | |
CN103685530A (en) | Automatic upgrade control method and system for WLAN current network APs | |
CN103780436B (en) | The relative connection keeping method of network equipment | |
CN110825422A (en) | System for managing MCU version of intelligent household equipment | |
WO2012000239A1 (en) | Automatic update method and device for wireless communication equipment | |
CN105281919A (en) | Remote wakening method, server and client terminal | |
CN115514667A (en) | Access service processing method, system, device, electronic equipment and storage medium | |
CN112866980B (en) | Pre-authentication 4G communication module and firmware upgrading method thereof | |
CN101114935A (en) | System upgrading method, upgrading system and monitoring entity | |
CN103517258A (en) | A method of updating software on a mobile terminal, a mobile terminal and a server | |
CN101111014B (en) | Method, equipment and system for client access to third-party server | |
CN106681747A (en) | Synchronization and installation method of remote operation system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |