CN108206749A - Online configuration file standby system and method - Google Patents

Online configuration file standby system and method Download PDF

Info

Publication number
CN108206749A
CN108206749A CN201611175077.8A CN201611175077A CN108206749A CN 108206749 A CN108206749 A CN 108206749A CN 201611175077 A CN201611175077 A CN 201611175077A CN 108206749 A CN108206749 A CN 108206749A
Authority
CN
China
Prior art keywords
configuration file
online
file
backed
master
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611175077.8A
Other languages
Chinese (zh)
Inventor
施逸文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ambit Microsystems Shanghai Ltd
Original Assignee
Ambit Microsystems Shanghai 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 Ambit Microsystems Shanghai Ltd filed Critical Ambit Microsystems Shanghai Ltd
Priority to CN201611175077.8A priority Critical patent/CN108206749A/en
Publication of CN108206749A publication Critical patent/CN108206749A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A kind of online configuration file backup method, the method includes the steps:It receives the online to customer terminal equipment to be configured, and the online configuration is stored in master configuration file;Judge whether the online configuration in the master configuration file can be in the success of customer terminal equipment wide area network management agreement platform line;When line success, the master configuration file is backed up, obtains backed-up config file;And when line is unsuccessful, reception restores the operational order being correctly configured last time, according to master configuration file described in the content recovery of the backed-up config file.The present invention also provides a kind of online configuration file standby systems.Present invention can assure that the online configuration file safety, ensures that user normally surfs the Internet.

Description

Online configuration file standby system and method
Technical field
The present invention relates to technology of data copy, more particularly, to a kind of online configuration file standby system and method.
Background technology
Customer terminal equipment (Customer Premise Equipment, CPE) supports CPE wide area network management mostly now Agreement (TR069), as long as CPE can surf the Internet, service providing end can be provided to the user detection by TR069 platforms and be taken with setting Business.But when the online configuration file mistake of CPE, such as user sets mistake or improper power-off causes online configuration file damage When, it may cause CPE that can not surf the Internet, service providing end helps user to set also through TR069 platforms.User may make a phone call to Customer service is sought to assist or even also needs to mansion to service, and increases human cost.At present, a kind of processing mode is to restore factory default Value.But many CPE using on Ethernet point-to-point protocol (Point to Point Protocol over Ethernet, PPPoE), by being installed in professional to user family and setting account number cipher.If user's other record account of PPPoE and close Code, then after factory-default is restored, account and password also disappear therewith, lead to not surf the Internet.
Invention content
In view of the foregoing, it is necessary to which a kind of online configuration file standby system is provided, it can be ensured that the online configuration File security makes user normally surf the Internet.
In view of the foregoing, it there is a need to and a kind of online configuration file backup method be provided, it can be ensured that the online is matched File security is put, user is made normally to surf the Internet.
Embodiment of the present invention provides a kind of online configuration file standby system, including:Receiving module, for receiving to institute The online configuration of CPE is stated, and the online configuration is stored in master configuration file;Judgment module, for judging that the master matches Whether the online configuration put in file can be in the success of CPE wide area network management agreement platforms line;Backup module, for when company During line success, the master configuration file is backed up, obtains backed-up config file, wherein, it is described to connect when line is unsuccessful Receive the operational order that module receives recovery last time and is correctly configured;And recovery module, receiving the recovery last time just for working as During the operational order being really configured, according to master configuration file described in the content recovery of the backed-up config file.
Embodiment of the present invention provides a kind of online configuration file backup method, including step:It receives to the upper of the CPE Net configuration, and the online configuration is stored in master configuration file;Judge the online configuration in the master configuration file Whether can be in the success of CPE wide area network management agreement platforms line;When line success, the master configuration file is backed up, Obtain backed-up config file;And when line is unsuccessful, reception restores the operational order being correctly configured last time, according to described standby Master configuration file described in the content recovery of part configuration file.
Compared to the prior art, the online configuration file standby system and method can be come true using back mechanism The online configuration file safety is protected, but must confirm that the online configuration file can be in CPE wide area network management agreement platform lines It is just backed up after success.And when user, which voluntarily changes the online configuration, leads to mistake, can restore last time correctly matches It puts.User will not lead to not surf the Internet, improve user experience because of setting mistake or power-off suddenly.
Description of the drawings
Fig. 1 is the functional block diagram of the online configuration file standby system of the embodiment of the present invention.
Fig. 2 is the step flow chart of the online configuration file backup method of the embodiment of the present invention.
Fig. 3 is the step flow chart of the online configuration file backup method of another embodiment of the present invention.
Main element symbol description
CPE 2
Online configuration file standby system 10
Memory 20
Processor 30
Receiving module 100
Judgment module 200
Backup module 300
Recovery module 400
Following specific embodiment will be further illustrated the present invention with reference to above-mentioned attached drawing.
Specific embodiment
As shown in fig.1, it is the functional block diagram of the online configuration file standby system of the embodiment of the present invention.In this implementation In example, online configuration file standby system 10 is applied in CPE 2.Memory 20 and processor 30 are further included in the CPE 2.
The online configuration file standby system 10 include receiving module 100, judgment module 200, backup module 300 and Recovery module 400.The module is configured to be performed by one or more processors (the present embodiment is processor 30), to complete The present invention.The so-called module of the present invention is to complete the computer program code segments of a specific function.The memory 20 is used to store institute State the data such as the program code of online configuration file standby system 10.The processor 30 is deposited for performing in the memory 20 The program code of storage.
Online of the receiving module 100 for receiving to the CPE 2 is configured, and the online configuration is stored in master In configuration file.In the present embodiment, the online configuration includes the account and password of PPPoE.
Online is carried out to the CPE 2 with postponing for the first time, the receiving module 100 will change label and be set as 0, and by institute Online configuration is stated to be stored in the master configuration file.Subsequently when user's change online configuration, then the change is marked Note is set as 1, and the online configuration after change is stored into the master configuration file.
The judgment module 200 is used to judge whether the online configuration can be in the success of TR069 platforms line.Specifically, When the CPE 2 is switched on or restarts, can line be carried out with the TR069 platforms according to the online configuration.The judgement mould Block 200 judges whether the line succeeds.
The backup module 300 is used to, when line success, the master configuration file be backed up, backed up Configuration file.In the present embodiment, the master configuration file and the backed-up config file are storable in the memory 20 In.
The receiving module 100 is additionally operable to receive the operational order that user restores last time and is correctly configured.Specifically, Ke Yi The button that increase recovery last time is correctly configured in the operation interface of the CPE 2.When the online configuration of user's change can not line When, it can choose whether that restoring last time is correctly configured.It is correctly configured to restore last time, then presses the button, send out recovery The operational order that last time is correctly configured.
The recovery module 400 is used for according to the correct configuration before the content recovery of the backed-up config file, i.e., according to According to master configuration file described in the content recovery of the backed-up config file.
Further, the judgment module 200 is additionally operable to, when the CPE 2 restarts or is switched on, judge the main configuration Whether file is damaged.The recovery module 400 is additionally operable to when the master configuration file is damaged, according to the backup Master configuration file described in the content recovery of configuration file.The judgment module 200 is additionally operable to not occur when the master configuration file During damage, judge whether the backed-up config file is damaged.The backup module 300 is additionally operable to when backup configuration text When part is damaged, the master configuration file is backed up, retrieves the backed-up config file.The judgment module 200 are additionally operable to when the backed-up config file is not damaged, judge that the change marks whether as 1, when the change mark When note is not 1, into service on net.When change is labeled as 1, judge whether the online configuration in the master configuration file can be The success of TR069 platforms line.The backup module 300 is additionally operable to, when energy line success, the master configuration file be carried out standby Part, obtain new backed-up config file.The judgment module 200 is additionally operable to, when being unable to line success, judge whether to receive The operational order that the recovery last time is correctly configured.The recovery module 400 is additionally operable to correct when receiving the recovery last time During the operational order of configuration, according to master configuration file described in the content recovery of the backed-up config file.
As shown in fig.2, it is the step flow chart of the online configuration file backup method of the embodiment of the present invention.The online Configuration file backup method is applied in the CPE 2, and it is real to perform the program code stored in memory 20 by processor 30 It is existing.
Step S200 receives the configuration of the online to the CPE 2, and the online configuration is stored in master configuration file In.In the present embodiment, the online configuration includes the account and password of PPPoE.
Step S202 judges whether the online configuration in the master configuration file can be in the success of TR069 platforms line.Specifically Ground when the CPE 2 is switched on or restarts, can carry out line according to the online configuration with the TR069 platforms.When being wired to During work(, step S204 is performed.When line is unsuccessful, step S206-S208 is performed.
The master configuration file is backed up, obtains backed-up config file by step S204.In the present embodiment, it is described Master configuration file and the backed-up config file are storable in the memory 20.
Step S206 receives the operational order that user restores last time and is correctly configured.It specifically, can be the CPE's 2 The button that increase recovery last time is correctly configured in operation interface.When user change online configuration can not line when, can select Whether restoring last time is correctly configured.To restore last time be correctly configured, then press the button, send out restore last time be correctly configured Operational order.
Step S208, according to the correct configuration before the content recovery of the backed-up config file, i.e., according to the backup Master configuration file described in the content recovery of configuration file.
As shown in fig.3, it is the step flow chart of the online configuration file backup method of another embodiment of the present invention.It is described Configuration file backup method of surfing the Internet is applied in the CPE 2, and the program generation stored in memory 20 is performed by processor 30 Code is realized.
Step S300 when the CPE 2 restarts or is switched on, judges whether the master configuration file is damaged.Work as institute When stating master configuration file and damaging, step S302 is performed.When the master configuration file is not damaged, step is performed S304。
Step S302, according to master configuration file described in the content recovery of the backed-up config file.
Step S304, judges whether the backed-up config file is damaged.When the backed-up config file is damaged When, perform step S310.When the backed-up config file is not damaged, step S306 is performed.
Step S306 judges that the change marks whether as 1.Online is carried out to the CPE 2 with postponing for the first time, will be become More label is set as 0.Subsequently when user's change online configuration, then the change label is set as 1.When the change label When not being 1, flow terminates.When change is labeled as 1, step S308 is performed.
Step S308 judges whether the online configuration in the master configuration file can be in the success of TR069 platforms line.Work as institute When stating line success, step S310 is performed.When the line is unsuccessful, step S312 is performed.
The master configuration file is backed up, obtains backed-up config file by step S310.
Step S312 judges whether to receive the operational order that the recovery last time is correctly configured.When line is unsuccessful, User can select recovery last time to be correctly configured or changed the online configuration.It is correctly configured when receiving the recovery last time Operational order when, perform step S314.When not receiving the operational order that the recovery last time is correctly configured, step is performed S316。
Step S314, according to the correct configuration before the content recovery of the backed-up config file, i.e., according to the backup Master configuration file described in the content recovery of configuration file.
Step S316 receives the configuration of the online to the CPE 2, and the online configuration is stored in master configuration file In.
Step S318 sets the change label.Due to being the change online configuration at this time, then the change is marked It is set as 1.Then the step S308 is performed.
The above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although with reference to preferred embodiment to this hair It is bright to be described in detail, it will be understood by those of ordinary skill in the art that, it can modify to technical scheme of the present invention Or equivalent replacement, without departing from the spirit and scope of technical solution of the present invention.

Claims (10)

1. a kind of online configuration file backup method, applied in customer terminal equipment, which is characterized in that the method includes steps Suddenly:
It receives the online to the customer terminal equipment to be configured, and the online configuration is stored in master configuration file;
Judge whether the online configuration in the master configuration file can be in customer terminal equipment wide area network management agreement platform Line success;
When line success, the master configuration file is backed up, obtains backed-up config file;And
When line is unsuccessful, reception restores the operational order being correctly configured last time, the content according to the backed-up config file Restore the master configuration file.
2. online configuration file backup method as described in claim 1, which is characterized in that the method further includes step:
Setting change marks, wherein when carrying out the online configuration to the customer terminal equipment for the first time, the change is marked Note is set as 0;And
When subsequently changing the online configuration, the change label is set as 1.
3. online configuration file backup method as claimed in claim 2, which is characterized in that the method further includes step:
When the customer terminal equipment restarts or is switched on, judge whether the master configuration file is damaged;
When the master configuration file is damaged, according to master configuration file described in the content recovery of the backed-up config file;
When the master configuration file is not damaged, judge whether the backed-up config file is damaged;And
When the backed-up config file is damaged, the master configuration file is backed up, the backup is retrieved and matches Put file.
4. online configuration file backup method as claimed in claim 3, which is characterized in that the method further includes step:
When the backed-up config file is not damaged, judge that the change marks whether as 1;And
When change is labeled as 1, judge whether the configuration of the online in the master configuration file can set in the client terminal Standby wide area network management agreement platform line success.
5. online configuration file backup method as described in claim 1, which is characterized in that the method further includes step:
The button that increase recovery last time is correctly configured in the operation interface of the customer terminal equipment, when the button is operated When, send out the operational order that is correctly configured of recovery last time.
6. a kind of online configuration file standby system, runs in customer terminal equipment, which is characterized in that the system comprises:
Receiving module, the online for receiving to the customer terminal equipment are configured, and the online configuration is stored in master and is matched It puts in file;
Judgment module, for judging whether the configuration of the online in the master configuration file can be in customer terminal equipment wide area network The success of management agreement platform line;
Backup module, for when line being successful, the master configuration file being backed up, obtains backed-up config file, wherein, When line is unsuccessful, the receiving module receives the operational order being correctly configured recovery last time;And
Recovery module, for when receive it is described recovery last time be correctly configured operational order when, according to the backup configuration text Master configuration file described in the content recovery of part.
7. online configuration file standby system as claimed in claim 6, which is characterized in that the receiving module is additionally operable to:
The online to the customer terminal equipment is being received with postponing, setting change marks, wherein when for the first time to described When customer terminal equipment carries out the online configuration, the change label is set as 0;And
When subsequently changing the online configuration, the change label is set as 1.
8. online configuration file standby system as claimed in claim 7, it is characterised in that:
The judgment module is additionally operable to, when the customer terminal equipment restarts or is switched on, judge whether the master configuration file is sent out Raw damage;
The recovery module is additionally operable to when the master configuration file is damaged, and the content according to the backed-up config file is extensive The multiple master configuration file;
The judgment module is additionally operable to, when the master configuration file is not damaged, judge whether the backed-up config file is sent out Raw damage;And
The backup module is additionally operable to, when the backed-up config file is damaged, back up the master configuration file, Retrieve the backed-up config file.
9. online configuration file standby system as claimed in claim 8, it is characterised in that:
The judgment module is additionally operable to when the backed-up config file is not damaged, judges that the change marks whether as 1, And when change is labeled as 1, judge whether the online configuration in the master configuration file can be in the customer terminal equipment The success of wide area network management agreement platform line.
10. online configuration file standby system as claimed in claim 6, which is characterized in that the behaviour of the customer terminal equipment Make to increase in interface and restore the button that is correctly configured of last time, when the button is operated, sending out the recovery last time correctly matches The operational order put.
CN201611175077.8A 2016-12-19 2016-12-19 Online configuration file standby system and method Pending CN108206749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611175077.8A CN108206749A (en) 2016-12-19 2016-12-19 Online configuration file standby system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611175077.8A CN108206749A (en) 2016-12-19 2016-12-19 Online configuration file standby system and method

Publications (1)

Publication Number Publication Date
CN108206749A true CN108206749A (en) 2018-06-26

Family

ID=62602840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611175077.8A Pending CN108206749A (en) 2016-12-19 2016-12-19 Online configuration file standby system and method

Country Status (1)

Country Link
CN (1) CN108206749A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110300022A (en) * 2019-06-26 2019-10-01 上德(珠海)数据科技有限公司 A method of network is set on the network equipment of no screen

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217406A (en) * 2008-01-15 2008-07-09 中兴通讯股份有限公司 Collocation data backup and recovery method
CN101754187A (en) * 2009-12-30 2010-06-23 中兴通讯股份有限公司 Management method for connection setting and terminal thereof
CN102104500A (en) * 2011-03-26 2011-06-22 成都勤智数码科技有限公司 Automatic network management equipment abnormity restoring method
CN102123104A (en) * 2011-04-14 2011-07-13 福建星网锐捷网络有限公司 Network device configuration correcting method and network device
CN104301142A (en) * 2014-10-13 2015-01-21 杭州华三通信技术有限公司 Backup method and device for configuration files
CN105337772A (en) * 2015-11-18 2016-02-17 上海斐讯数据通信技术有限公司 System and method for backing up and restoring configuration of network equipment
US20160054927A1 (en) * 2014-04-29 2016-02-25 International Business Machines Corporation System management controller and method of configuration file backup and recovery
CN105704789A (en) * 2014-11-25 2016-06-22 中兴通讯股份有限公司 Method and device for restoring network connection

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217406A (en) * 2008-01-15 2008-07-09 中兴通讯股份有限公司 Collocation data backup and recovery method
CN101754187A (en) * 2009-12-30 2010-06-23 中兴通讯股份有限公司 Management method for connection setting and terminal thereof
CN102104500A (en) * 2011-03-26 2011-06-22 成都勤智数码科技有限公司 Automatic network management equipment abnormity restoring method
CN102123104A (en) * 2011-04-14 2011-07-13 福建星网锐捷网络有限公司 Network device configuration correcting method and network device
US20160054927A1 (en) * 2014-04-29 2016-02-25 International Business Machines Corporation System management controller and method of configuration file backup and recovery
CN104301142A (en) * 2014-10-13 2015-01-21 杭州华三通信技术有限公司 Backup method and device for configuration files
CN105704789A (en) * 2014-11-25 2016-06-22 中兴通讯股份有限公司 Method and device for restoring network connection
CN105337772A (en) * 2015-11-18 2016-02-17 上海斐讯数据通信技术有限公司 System and method for backing up and restoring configuration of network equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
侯安才,栗楠: "《计算机网络实验教程》", 31 July 2016 *
李旸园,陈晓范,李继等: "《计算机网络技术实训教程》", 29 February 2008 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110300022A (en) * 2019-06-26 2019-10-01 上德(珠海)数据科技有限公司 A method of network is set on the network equipment of no screen

Similar Documents

Publication Publication Date Title
CN107748695A (en) Timed task processing method, device, storage medium and computer equipment
CN105279416A (en) Identity recognition method and system based on multi-biometric feature in combination with device fingerprint
CN102110031A (en) Android system-based application program backup and recovery method
CN101237351B (en) Control method of online and offline status of login user
CN102176775A (en) Intelligent configuration device and method
CN1976517B (en) Mobile terminal
CN104301428B (en) A kind of method of data synchronization and server
CN103778381A (en) Application screen locking method and device based on Android
CN109739690B (en) Backup method and related products
CN105897475B (en) A kind of remote configuring method and router of router
CN103942121A (en) Data recovery system and mobile terminal
US8751805B2 (en) Service providing client, wireless terminal and method for implementing binding
CN106331152B (en) Method and device for realizing information synchronization between modules
CN106572137A (en) Distributed service resource management method and apparatus
CN104915252A (en) Process port management device and method
US20170318483A1 (en) Self-recovery method and device after disconnection of base station
CN107544867A (en) The restoration methods of intelligent network business, apparatus and system
CN102541681A (en) CMOS (Complementary Metal-Oxide-Semiconductor) data recovery system and method
CN108206749A (en) Online configuration file standby system and method
CN102799820B (en) A kind of restoration methods of user cipher
CN107995033B (en) ONU configuration file upgrading method and device
CN108471612A (en) SIM card falls card restoration methods, device and terminal
CN102104864A (en) Method for realizing network and card locking function of terminal and terminal
CN103428022B (en) A kind of method and system backed up and restore configuration data file on network element
CN114647531B (en) Failure solving method, failure solving system, electronic device, and storage medium

Legal Events

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

Application publication date: 20180626