CN107707406B - Method for upgrading equipment based on TR069 - Google Patents

Method for upgrading equipment based on TR069 Download PDF

Info

Publication number
CN107707406B
CN107707406B CN201710995447.0A CN201710995447A CN107707406B CN 107707406 B CN107707406 B CN 107707406B CN 201710995447 A CN201710995447 A CN 201710995447A CN 107707406 B CN107707406 B CN 107707406B
Authority
CN
China
Prior art keywords
slave
equipment
upgrading
master
network
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.)
Active
Application number
CN201710995447.0A
Other languages
Chinese (zh)
Other versions
CN107707406A (en
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.)
Wuhan Yangtze Optical Technology Co ltd
Original Assignee
Wuhan Yangtze Optical Technology Co ltd
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 Wuhan Yangtze Optical Technology Co ltd filed Critical Wuhan Yangtze Optical Technology Co ltd
Priority to CN201710995447.0A priority Critical patent/CN107707406B/en
Publication of CN107707406A publication Critical patent/CN107707406A/en
Application granted granted Critical
Publication of CN107707406B publication Critical patent/CN107707406B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
    • 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/0893Assignment of logical groups to network elements

Landscapes

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

Abstract

A method for upgrading equipment based on TR069 comprises the following steps: sending an upgrading device task on a TR069 server; the equipment downloads the upgrade file; self-checking the device type, and judging whether the device is master equipment or slave equipment; the master device judges whether the slave device state is online or newly added, and updates the in-network slave device upgrading list according to the result; the master equipment activates a slave upgrading task, and reports the master equipment and the TR069 server after upgrading is successful; and the master equipment updates and maintains the upgrade list of the slave equipment in the network according to the reported result and restarts the slave equipment, the master equipment starts upgrading after the slave equipment is completely upgraded, reports the TR069 server after the upgrading is completed, and restarts the master equipment. The invention reduces the interruption of centralized service; the labor cost is saved, and the easy maintenance of the equipment is improved.

Description

Method for upgrading equipment based on TR069
Technical Field
The invention belongs to the field of communication equipment management, and particularly relates to a method for upgrading equipment based on TR 069.
Background
A customer premise equipment wide area network Management Protocol (CWMP) is a Protocol standard defined by a Digital Subscriber Line (DSL) forum, and provides a way for performing remote centralized Management on devices such as a gateway, a router, a set-top box, and the like in a home network from a network side, which is referred to as TR069 for short. In the framework defined by TR069, two types of logical devices are mainly included: a managed CPE and an Auto Configuration Server (ACS) responsible for management. Wherein all CPE related configuration, diagnostics, upgrades etc. work is done by the ACS. The TR069 implementation mainly includes: automatic configuration and dynamic service configuration, management of software and Firmware (Firmware) images, status and performance monitoring and fault diagnosis, and the problems of upgrading equipment through an ACS (auto-configuration server) and centralized service interruption exist at present.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a basic TR069 equipment upgrading method aiming at the defects of upgrading risk and centralized service interruption existing in the existing equipment upgrading, so that the upgrading risk is solved and the centralized service interruption condition is reduced.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a method for upgrading equipment based on TR069 comprises the following steps:
s1, issuing upgrading equipment tasks on a TR069 server;
s2, after the equipment is powered on, the task is triggered, and the equipment downloads the upgrade file;
s3, self-checking the device type, judging whether the device is master device or slave device, specifically:
if the slave equipment is the slave equipment, reporting the upgrading event to the master equipment, uploading the version to the master equipment, and then polling whether the slave equipment is newly added by the master equipment: if the slave equipment is newly added, updating and maintaining an in-network slave equipment upgrading list; if yes, the master device polls whether the slave device is online, if not, the slave device in the network is updated, and if so, the master device activates the slave device upgrading task;
if the master equipment is the master equipment, the master equipment polls whether the slave equipment is newly added, and if the master equipment is newly added, the slave equipment upgrading list in the maintenance network is updated; if yes, the master device polls whether the slave device is online, if not, the slave device in the network is updated, and if so, the master device activates the slave device upgrading task;
s4, the master device judges whether the slave devices are online or newly added, and updates and maintains the in-network slave device upgrading list according to the judgment result;
s5, activating a slave upgrading task by the master device, starting upgrading by the slave device, and reporting the master device and the TR069 server after the slave device is successfully upgraded, specifically including: the master equipment activates a slave equipment upgrading task, transmits a version to the online slave equipment in a P2P mode, starts upgrading a certain slave equipment, is not restarted after being upgraded successfully, reports an upgrading result to the master equipment and a TR069 server, marks the slave equipment which is upgraded successfully, and updates and maintains an in-network slave equipment upgrading list; if the upgrade fails, returning to the upgrade list of the slave equipment in the network, and reactivating another slave equipment for upgrading according to the upgrade list (queue);
s6, the master device updates and maintains the slave device upgrade list in the network according to the reported result, restarts the slave device, and judges whether all the slave devices are upgraded according to the slave device upgrade list in the network, which specifically includes: the master device polls an upgrading result in the slave device upgrading list in the network, updates the slave device upgrading list in the network after the slave device is upgraded, and restarts all slave devices when all the slave devices in the slave device upgrading list are upgraded; and when all the devices in the slave device upgrading list are upgraded, the master device starts to be upgraded, and after the upgrading is completed, the master device is reported to the TR069 server and restarted.
According to the scheme, the slave device is under the home gateway, and the management of the slave device penetrates through the gateway.
According to the scheme, the TR069 server is a standard TR069 server and an un-customized TR069 server, and supports the upgrade of 1 or more slave devices, and the upgrade mode is triggered in a task mode; the server is upgraded to a single thread, and the next one is only carried out after 1 slave device is upgraded.
The invention has the following beneficial effects: the risk problem of equipment upgrading in the prior art is solved, and centralized service interruption is reduced; the requirement on the office end is not high, the equipment does not need to be upgraded and maintained manually, the labor cost can be saved, and the maintainability of the equipment is improved.
Drawings
FIG. 1 is a flow chart of a method for upgrading equipment in TR069 according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a device connection structure of a method for upgrading a device based on TR069 according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention provides a method for upgrading TR069 equipment, which comprises the following steps:
step S1: the TR069 server issues an upgrading equipment task;
step S2: triggering a task, and downloading an upgrade file by equipment;
step S3: self-checking the device type, and judging whether the device is master device or slave device;
if the slave device is the slave device, step S31 is executed first: reporting the upgrading event to the master device, uploading the version to the master device, and then executing the step S4;
if the master device is selected, directly executing the step S4;
step S4: the master device polls whether the slave device is newly added;
if the new join is made, step S41 is executed: updating and maintaining an upgrade list of slave equipment in the network;
if so, go to step S42: the master device polls whether the slave device is online, if not, the master device returns to the step of executing S41, updates the upgrade list of the slave device in the network, and if the slave device is online, the master device executes the step of S5;
step S5: the master device activates a slave device upgrading task and transmits a version to the online slave device in a P2P mode;
step S51: starting to upgrade a certain slave device;
step S52: judging whether the slave equipment is upgraded successfully;
if successful, go to step S53: after the slave is upgraded, the slave is not restarted, and an upgrading result is reported to the master equipment and the TR069 server;
if the failure occurs, the step S41 is returned to;
step S54: and the master device marks the upgrade slave device, and updates and maintains the upgrade list of the slave device in the network.
Step S55: judging that all the online slave devices are successfully upgraded;
if both upgrade succeeds, execute step S6: restarting all slave devices, starting to upgrade master devices, reporting to a TR069 server after the upgrade is completed, and restarting the master devices.
Fig. 2 is a schematic diagram of an equipment connection structure of the method for upgrading equipment based on TR069, in which a TR069 server is connected with a master device through a network, and the master device is connected with each slave device.
It will be understood that modifications and variations can be made by persons skilled in the art in light of the above teachings and all such modifications and variations are intended to be included within the scope of the invention as defined in the appended claims.

Claims (3)

1. A method for upgrading equipment based on TR069 is characterized by comprising the following steps:
s1, issuing upgrading equipment tasks on a TR069 server;
s2, after the equipment is powered on, the task is triggered, and the equipment downloads the upgrade file;
s3, self-checking the device type, judging whether the device is master device or slave device, specifically:
if the slave equipment is the slave equipment, reporting the upgrading event to the master equipment, uploading the version to the master equipment, and then polling whether the slave equipment is newly added by the master equipment: if the slave equipment is newly added, updating and maintaining an in-network slave equipment upgrading list; if yes, the master device polls whether the slave device is online, if not, the slave device in the network is updated, and if so, the master device activates the slave device upgrading task;
if the master equipment is the master equipment, the master equipment polls whether the slave equipment is newly added, and if the master equipment is newly added, the slave equipment upgrading list in the maintenance network is updated; if yes, the master device polls whether the slave device is online, if not, the slave device in the network is updated, and if so, the master device activates the slave device upgrading task;
s4, the master device judges whether the slave devices are online or newly added, and updates and maintains the upgrade list of the slave devices in the network according to the judgment result;
s5, activating the slave device upgrading task by the master device, starting upgrading the slave device, and reporting the master device and the TR069 server after the slave device is successfully upgraded, which specifically comprises the following steps: the master equipment activates a slave equipment upgrading task, transmits a version to the online slave equipment in a P2P mode, starts upgrading a certain slave equipment, is not restarted after being upgraded successfully, reports an upgrading result to the master equipment and a TR069 server, marks the slave equipment which is upgraded successfully, and updates and maintains an in-network slave equipment upgrading list; if the upgrade fails, returning to the upgrade list of the slave equipment in the network, and reactivating another slave equipment for upgrading according to the upgrade list;
s6, the master device updates and maintains the slave device upgrade list in the network according to the reported result, restarts the slave device, and judges whether all the slave devices are upgraded according to the slave device upgrade list in the network, which specifically includes: the master device polls an upgrading result in the slave device upgrading list in the network, updates the slave device upgrading list in the network after the slave device is upgraded, and restarts all slave devices when all the slave devices in the slave device upgrading list are upgraded; and when all the devices in the slave device upgrading list are upgraded, the master device starts to be upgraded, and after the upgrading is completed, the master device is reported to the TR069 server and restarted.
2. The method for upgrading the device based on the TR069 as claimed in claim 1, wherein the slave device is under a home gateway, and the management of the slave device penetrates the gateway.
3. The TR 069-based equipment upgrading method according to claim 1, wherein the TR069 server is a standard TR069 server, an un-customized TR069 server, and supports 1 or more slave equipment upgrades, and the upgrading mode is task-based triggering; the server is upgraded to a single thread, and the next one is only carried out after 1 slave device is upgraded.
CN201710995447.0A 2017-10-23 2017-10-23 Method for upgrading equipment based on TR069 Active CN107707406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710995447.0A CN107707406B (en) 2017-10-23 2017-10-23 Method for upgrading equipment based on TR069

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710995447.0A CN107707406B (en) 2017-10-23 2017-10-23 Method for upgrading equipment based on TR069

Publications (2)

Publication Number Publication Date
CN107707406A CN107707406A (en) 2018-02-16
CN107707406B true CN107707406B (en) 2020-10-16

Family

ID=61181462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710995447.0A Active CN107707406B (en) 2017-10-23 2017-10-23 Method for upgrading equipment based on TR069

Country Status (1)

Country Link
CN (1) CN107707406B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110633092A (en) * 2019-09-09 2019-12-31 北京方研矩行科技有限公司 Server for OTA (over the air) upgrading and embedded equipment upgrading method and device
CN111371897B (en) * 2020-03-12 2022-10-04 深圳市共进电子股份有限公司 Reverse connection method, device and storage medium based on networking system
CN112994952B (en) * 2021-04-13 2021-07-27 艾伯资讯(深圳)有限公司 Distributed base station upgrading processing method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267449A (en) * 2008-04-30 2008-09-17 中山大学 A tree P2P system resource transmission method based on mobile agent mechanism
CN101562616A (en) * 2009-03-23 2009-10-21 中国电信股份有限公司 User residence gateway management system and method
CN101958925A (en) * 2010-08-30 2011-01-26 北京星网锐捷网络技术有限公司 Method and device for controlling remote equipment
CN102223256A (en) * 2011-07-26 2011-10-19 烽火通信科技股份有限公司 Method and system for multi-ONU (optical network unit) automatic upgrading in GPON (gigabit-capable passive optical network) access system
CN102801623A (en) * 2012-08-15 2012-11-28 杭州华三通信技术有限公司 Multi-access data transmitting method and device
CN102883358A (en) * 2012-09-21 2013-01-16 杭州华三通信技术有限公司 Method and device for batch AP (access point) upgrading
EP2975811A4 (en) * 2013-04-16 2016-03-30 Zte Corp Interface switching method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267449A (en) * 2008-04-30 2008-09-17 中山大学 A tree P2P system resource transmission method based on mobile agent mechanism
CN101562616A (en) * 2009-03-23 2009-10-21 中国电信股份有限公司 User residence gateway management system and method
CN101958925A (en) * 2010-08-30 2011-01-26 北京星网锐捷网络技术有限公司 Method and device for controlling remote equipment
CN102223256A (en) * 2011-07-26 2011-10-19 烽火通信科技股份有限公司 Method and system for multi-ONU (optical network unit) automatic upgrading in GPON (gigabit-capable passive optical network) access system
CN102801623A (en) * 2012-08-15 2012-11-28 杭州华三通信技术有限公司 Multi-access data transmitting method and device
CN102883358A (en) * 2012-09-21 2013-01-16 杭州华三通信技术有限公司 Method and device for batch AP (access point) upgrading
EP2975811A4 (en) * 2013-04-16 2016-03-30 Zte Corp Interface switching method and device

Also Published As

Publication number Publication date
CN107707406A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
CA3048887C (en) Method and system for analytics-based updating of networked devices
CN109451021B (en) Internet of things edge side multi-heterogeneous network access system and method
CN107707406B (en) Method for upgrading equipment based on TR069
US10496397B2 (en) System and method for providing automatic firmware update management
CN101877650B (en) Method and system for updating software version automatically
US9521039B2 (en) Method and system for managing devices in batches
CN106992903B (en) Data acquisition system and method based on network equipment
US8966013B2 (en) Unified device management method and system
EP1724966A1 (en) A method for automatically configuring terminal equipment
CN102082702A (en) Terminal alarm processing method, device and system thereof
CN103024065A (en) System configuration management method for cloud storage system
CN106412730A (en) Method for carrying out remote batch upgrading on ONU (Optical Network Unit) system software in Boot environment
CN103067231A (en) System and method for managing home network application terminal equipment
CN103685530A (en) Automatic upgrade control method and system for WLAN current network APs
CN101267336B (en) Software version management method and system
CN101184212A (en) Method to update monitoring front end of video monitoring system
CN103036934A (en) Wide area network clustered deployment system and method based on mirror image
CN104796283A (en) Monitoring alarm method
CN114938329A (en) MQTT-based router gateway device management method and system
CN101827005A (en) Method for automatically configuring home gateway and system
CN102845023A (en) Apparatuses and methods for registering transmission capacities in broadband access network
CN104506604A (en) Vehicle-mounted terminal automatic remote upgrading method
CN112039708A (en) Network equipment operation and maintenance method
CN112260984A (en) 5G terminal cloud control method with Wi-Fi function
CN103152194A (en) TR069 worksheet configuration implementation method

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
GR01 Patent grant
GR01 Patent grant