CN102904735B - Method, device and system for recovering connection automatically - Google Patents

Method, device and system for recovering connection automatically Download PDF

Info

Publication number
CN102904735B
CN102904735B CN201110187257.9A CN201110187257A CN102904735B CN 102904735 B CN102904735 B CN 102904735B CN 201110187257 A CN201110187257 A CN 201110187257A CN 102904735 B CN102904735 B CN 102904735B
Authority
CN
China
Prior art keywords
configuration server
automatic configuration
automatic
notice message
message
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.)
Expired - Fee Related
Application number
CN201110187257.9A
Other languages
Chinese (zh)
Other versions
CN102904735A (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.)
Huawei Digital Technologies Chengdu Co Ltd
Original Assignee
Huawei Symantec Technologies 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 Huawei Symantec Technologies Co Ltd filed Critical Huawei Symantec Technologies Co Ltd
Priority to CN201110187257.9A priority Critical patent/CN102904735B/en
Publication of CN102904735A publication Critical patent/CN102904735A/en
Application granted granted Critical
Publication of CN102904735B publication Critical patent/CN102904735B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Debugging And Monitoring (AREA)

Abstract

An embodiment of the invention provides a method, a device and a system for recovering connection automatically. The method includes the steps of transmitting a first informing message to an automatic configuration server and judging whether a first response message is received from the automatic configuration server within a preset time or not; saving current configuration and recovering factory configuration if the first response message is not received; establishing connection with the automatic configuration server; and transmitting a second informing message to the automatic configuration server after the connection is established successfully. Error event information is carried in the second informing message, so that the automatic configuration server can reconfigure the device on a user side, easiness in maintainability of the device is improved, and maintenance cost of the device is reduced.

Description

A kind of connection automatic recovery method, Apparatus and system
Technical field
The present invention relates to the communications field, particularly relate to a kind of connection automatic recovery method, Apparatus and system.
Background technology
Due to wide area network access device One's name is legion in a network, current most of operator is by setting up Automatic Configuration Server (Auto-Configuration Server, ACS), CWMP (CPE WANManagement Protocol, CPE wide area network management agreement) agreement is adopted to be managed for configuration equipment with cost-saving.
When user side equipment (Customer premises equipment, CPE) starts, can load default configuration when dispatching from the factory, default configuration can ensure that CPE sets up the CWMP management channels with ACS.After starting, CPE is to be dynamically connected Automatic Configuration Server, and by the message of CWMP, equipment identification information information such as () equipment Serial Numbers is sent to ACS.ACS distributes the IP address of CPE automatically, and the information such as user cipher are also handed down to CPE by CWMP message, and by CWMP management channels, the keeper of ACS can carry out human configuration to registered equipment.
In prior art, if configuration error have impact on the communication between CPE and ACS, CWMP management channels breaks down, and keeper loses control ability to CPE, and unique mode revised is made house calls exactly, recovery configuring again, plant maintenance trouble and cost is high.
Summary of the invention
The one provided in the embodiment of the present invention connects automatic recovery method, Apparatus and system, improves equipment ease for maintenance, solves the failure problems because configuration error brings, reduce the cost of plant maintenance.
The object of the embodiment of the present invention is achieved through the following technical solutions:
A kind of connection automatic recovery method, comprising:
The first notice message is sent to Automatic Configuration Server
Judge whether to receive the first response message from Automatic Configuration Server in the given time;
If do not receive described first response message, then illustrate and occurred connection error, preserve current configuration, recover to dispatch from the factory configuration;
Connect with described Automatic Configuration Server;
When connecting successfully, notifying message to described Automatic Configuration Server second, carrying error event information in described second notice message, to make Automatic Configuration Server, process being reconfigured to user side equipment.
A kind of connection automatic recovery device, comprising:
First sending module, for sending the first notice message to Automatic Configuration Server
Receiver module, receives the first response message from Automatic Configuration Server in the given time for judging whether;
Configuration module, if do not receive described first response message for described receiver module, then illustrates and has occurred connection error, preserve current configuration, recover to dispatch from the factory configuration;
Connection establishment module, for connecting with described Automatic Configuration Server;
Second sending module, for connecting successfully when described connection establishment module, notify message to described Automatic Configuration Server second, carry error event information in described second notice message, to make Automatic Configuration Server, process is reconfigured to user side equipment.
A kind of connection automatic recovery system, comprising: CPE user side equipment and Automatic Configuration Server,
Wherein, described cpe device, for sending the first notice message to Automatic Configuration Server; Judge no the first response message received in the given time from Automatic Configuration Server; If do not receive described first response message, then illustrate and occurred connection error, preserve current configuration, recover to dispatch from the factory configuration; Connect with described Automatic Configuration Server; When connecting successfully, notifying message to described Automatic Configuration Server second, carrying error event information in described second notice message, to make Automatic Configuration Server, process being reconfigured to user side equipment;
Described Automatic Configuration Server, for receiving described first notice message; When receiving described first notice message, send described first response message; Receive the connection request from described cpe device, to connect; Receive described second notice message, according to the error event information of carrying in described second notice message, process is reconfigured to user side equipment.
Connect automatic recovery method, Apparatus and system by the one provided in the embodiment of the present invention, send the first notice message to Automatic Configuration Server and judge whether to receive the first response message from Automatic Configuration Server in the given time; If do not receive described first response message, preserve current configuration, recover to dispatch from the factory configuration; Connect with described Automatic Configuration Server; When connecting successfully, message is notified to described Automatic Configuration Server second, error event information is carried in described second notice message, to make Automatic Configuration Server, process is reconfigured to user side equipment, improve equipment ease for maintenance, solve the failure problems because configuration error brings, reduce the cost of plant maintenance.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of application scenarios figure connecting automatic recovery method provided in the embodiment of the present invention;
Fig. 2 is a kind of flow chart connecting automatic recovery method provided in the embodiment of the present invention;
Fig. 3 is a kind of schematic diagram connecting automatic recovery device provided in the embodiment of the present invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
As shown in Figure 1, for a kind of applied field of the embodiment of the present invention, comprise: user side equipment 101 (Customer premises equipment, and Automatic Configuration Server 102 (Auto-Configuration Server CPE), ACS), wherein, Automatic Configuration Server 102 is managed for configuration cpe device 101 by CWMP agreement.
There is provided a kind of in the embodiment of the present invention and connect automatic recovery method, occurred configuration error below with cpe device 101, causing connecting fault is example, and introduce technical scheme of the present invention, as shown in Figure 2, the operation of cpe device is as follows, and the method comprises:
Step 201, to Automatic Configuration Server send first notice message;
Step 202, judge whether to receive the first response message from Automatic Configuration Server in the given time;
If step 203 does not receive described first response message, preserve current configuration, recover to dispatch from the factory configuration;
Step 204, to connect with described Automatic Configuration Server;
Step 205, when connecting successfully, notifying message to described Automatic Configuration Server second, to make Automatic Configuration Server, process being reconfigured to user side equipment.
Wherein, carry error event information in described second notice message, this error event information is used to indicate between cpe device with Automatic Configuration Server and cannot communicates, and has occurred the mistake of communication failure.
Connect automatic recovery method, Apparatus and system by the one provided in the embodiment of the present invention, send the first notice message to Automatic Configuration Server and judge whether to receive the first response message from Automatic Configuration Server in the given time; If do not receive described first response message, preserve current configuration, recover to dispatch from the factory configuration; Connect with described Automatic Configuration Server; When connecting successfully, message is notified to described Automatic Configuration Server second, error event information is carried in described second notice message, to make Automatic Configuration Server, process is reconfigured to user side equipment, improve equipment ease for maintenance, solve the failure problems because configuration error brings, reduce the cost of plant maintenance.
Wherein, in step 201, the first notice message is the Inform message defined in CWMP wide area network management agreement.
Wherein, in step 205, carry error event information in described second notice message, comprising:
Described second notice message carries described error event information by the RPC Methods field in CWMP agreement, and described error event information comprises Boot event and Automatic Recover event.Such as: define " 1 " in message and represent that Boot event " 11 " represents Automatic Recover event, support that the Automatic Configuration Server of Automatic Recover event can do respective handling, do not support that the Automatic Configuration Server of Automatic Recover event can this Inform as Boot event handling.
In above-described embodiment, can also comprise: when user side equipment and Automatic Configuration Server connect unsuccessful, recover the described current configuration of preserving.In step 203, before configuration is dispatched from the factory in recovery, configuration information when buffer memory fault occurs, here when connecting unsuccessful with Automatic Configuration Server, recover the configuration information of buffer memory, this step belongs to optional step.
Step 205, described Automatic Configuration Server reconfigure process to user side equipment, can comprise:
Described Automatic Configuration Server actuating equipment register flow path, reconfigures equipment;
Described Automatic Configuration Server carries out remote detection process; Or described Automatic Configuration Server shortens the equipment heartbeat detection time, to the monitoring that equipment carries out frequently.
Wherein, described Automatic Configuration Server actuating equipment register flow path, reconfigures equipment, can re-establish the connection with user side equipment.And Automatic Configuration Server carries out remote detection process is to detect concrete fault, comprising: config failure, software fault or hardware fault etc.It is to frequently monitor equipment that Automatic Configuration Server shortens the equipment heartbeat detection time, prevents from connecting again interrupting.
Provide a kind of connection automatic recovery device in the embodiment of the present invention, as shown in Figure 3, this device comprises:
First sending module 310, for sending the first notice message to Automatic Configuration Server;
Receiver module 320, receives the first response message from Automatic Configuration Server in the given time for judging whether;
Configuration module 330, if do not receive described first response message for described receiver module 320, preserves current configuration, recovers to dispatch from the factory configuration;
Connection establishment module 340, for connecting with described Automatic Configuration Server;
Second sending module 350, for connecting successfully when described connection establishment module 340, notify message to described Automatic Configuration Server second, carry error event information in described second notice message, to make Automatic Configuration Server, process is reconfigured to user side equipment.
Wherein, the described second notice message that described second sending module sends carries described error event information by the RPC Methods field in CWMP wide area network management agreement, and described error event information comprises Boot event and Automatic Recover event.
Described configuration module 330, time also for connecting unsuccessful with described Automatic Configuration Server, recovers the described current configuration of preserving.Described configuration module 330 belongs to optional module.
Additionally provide a kind of connection automatic recovery system in the embodiment of the present invention, this system comprises: CPE user side equipment and Automatic Configuration Server,
Wherein, described cpe device, for sending the first notice message to Automatic Configuration Server; Judge no the first response message received in the given time from Automatic Configuration Server; If do not receive described first response message, preserve current configuration, recover to dispatch from the factory configuration; Connect with described Automatic Configuration Server; When connecting successfully, notifying message to described Automatic Configuration Server second, carrying error event information in described second notice message, to make Automatic Configuration Server, process being reconfigured to user side equipment;
Described Automatic Configuration Server, for receiving described first notice message; When receiving described first notice message, send described first response message; Receive the connection request from described cpe device, to connect; Receive described second notice message, according to the error event information of carrying in described second notice message, process is reconfigured to user side equipment.
Wherein, when described cpe device and described Automatic Configuration Server connect unsuccessful, recover the described current configuration of preserving.
Wherein, the described error event information according to carrying in described second notice message, reconfigures process to user side equipment, comprising:
Described Automatic Configuration Server actuating equipment register flow path, reconfigures described cpe device;
Described Automatic Configuration Server carries out remote detection process to described cpe device; Or described Automatic Configuration Server shortens the equipment heartbeat detection time, to carry out monitoring frequently to described cpe device.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required hardware platform by software and realize, can certainly all be implemented by hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
Above to invention has been detailed introduction, applying specific case herein and setting forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. connect an automatic recovery method, it is characterized in that, comprising:
The first notice message is sent to Automatic Configuration Server;
Judge whether to receive the first response message from Automatic Configuration Server in the given time;
If do not receive described first response message, then illustrate and occurred connection error, preserve current configuration, recover to dispatch from the factory configuration;
Connect with described Automatic Configuration Server;
When connecting successfully, sending the second notice message to described Automatic Configuration Server, carrying error event information in described second notice message, to make Automatic Configuration Server, process being reconfigured to user side equipment.
2. connection automatic recovery method according to claim 1, is characterized in that, carries error event information, comprising in described second notice message:
Described second notice message carries described error event information by the RPC Methods field in CWMP wide area network management agreement, and described error event information comprises Boot event and AutomaticRecover event.
3. connection automatic recovery method according to claim 1 and 2, is characterized in that, described method, also comprises:
When connecting unsuccessful with described Automatic Configuration Server, recover the described current configuration of preserving.
4. connection automatic recovery method according to claim 1, is characterized in that, described Automatic Configuration Server reconfigures process to user side equipment, comprising:
Described Automatic Configuration Server actuating equipment register flow path, reconfigures equipment;
Described Automatic Configuration Server carries out remote detection process; Or described Automatic Configuration Server shortens the equipment heartbeat detection time, to the monitoring that equipment carries out frequently.
5. connect an automatic recovery device, it is characterized in that, comprising:
First sending module, for sending the first notice message to Automatic Configuration Server;
Receiver module, receives the first response message from Automatic Configuration Server in the given time for judging whether;
Configuration module, if do not receive described first response message for described receiver module, then illustrates and has occurred connection error, preserve current configuration, recover to dispatch from the factory configuration;
Connection establishment module, for connecting with described Automatic Configuration Server;
Second sending module, for connecting successfully when described connection establishment module, send the second notice message to described Automatic Configuration Server, carry error event information in described second notice message, to make Automatic Configuration Server, process is reconfigured to user side equipment.
6. connection automatic recovery device according to claim 5, it is characterized in that, the described second notice message that described second sending module sends carries described error event information by the RPCMethods field in CWMP wide area network management agreement, and described error event information comprises Boot event and Automatic Recover event.
7. the connection automatic recovery device according to claim 5 or 6, is characterized in that, described configuration module, time also for connecting unsuccessful with described Automatic Configuration Server, recovers the described current configuration of preserving.
8. connect an automatic recovery system, it is characterized in that, described system comprises: CPE user side equipment and Automatic Configuration Server,
Wherein, described cpe device, for sending the first notice message to Automatic Configuration Server; Judge whether to receive the first response message from Automatic Configuration Server in the given time; If do not receive described first response message, then illustrate and occurred connection error, preserve current configuration, recover to dispatch from the factory configuration; Connect with described Automatic Configuration Server; When connecting successfully, sending the second notice message to described Automatic Configuration Server, carrying error event information in described second notice message, to make Automatic Configuration Server, process being reconfigured to user side equipment;
Described Automatic Configuration Server, for receiving described first notice message; When receiving described first notice message, send described first response message; Receive the connection request from described cpe device, to connect; Receive described second notice message, according to the error event information of carrying in described second notice message, process is reconfigured to user side equipment.
9. one according to claim 8 connects automatic recovery system, it is characterized in that, when described cpe device and described Automatic Configuration Server connect unsuccessful, recovers the described current configuration of preserving.
10. one according to claim 8 or claim 9 connects automatic recovery system, it is characterized in that, the described error event information according to carrying in described second notice message, reconfigures process to user side equipment, comprising:
Described Automatic Configuration Server actuating equipment register flow path, reconfigures described cpe device;
Described Automatic Configuration Server carries out remote detection process to described cpe device; Or described Automatic Configuration Server shortens the equipment heartbeat detection time, to carry out monitoring frequently to described cpe device.
CN201110187257.9A 2011-07-06 2011-07-06 Method, device and system for recovering connection automatically Expired - Fee Related CN102904735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110187257.9A CN102904735B (en) 2011-07-06 2011-07-06 Method, device and system for recovering connection automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110187257.9A CN102904735B (en) 2011-07-06 2011-07-06 Method, device and system for recovering connection automatically

Publications (2)

Publication Number Publication Date
CN102904735A CN102904735A (en) 2013-01-30
CN102904735B true CN102904735B (en) 2015-07-08

Family

ID=47576788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110187257.9A Expired - Fee Related CN102904735B (en) 2011-07-06 2011-07-06 Method, device and system for recovering connection automatically

Country Status (1)

Country Link
CN (1) CN102904735B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103441872A (en) * 2013-08-22 2013-12-11 福建星网锐捷网络有限公司 Failure recovery method, device and communication system of user side equipment
CN108616379B (en) * 2016-12-13 2021-11-02 南宁富桂精密工业有限公司 Method and system for managing automatic configuration server

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852167B (en) * 2006-02-21 2010-09-29 华为技术有限公司 CPE parameter property processing method
CN101431431A (en) * 2007-11-09 2009-05-13 深圳华为通信技术有限公司 Terminal equipment configuration method and apparatus
CN102082702A (en) * 2009-11-27 2011-06-01 华为技术有限公司 Terminal alarm processing method, device and system thereof

Also Published As

Publication number Publication date
CN102904735A (en) 2013-01-30

Similar Documents

Publication Publication Date Title
CN102084680B (en) Service monitoring and disconnection notification in a wireless gateway device
US7957297B2 (en) Termination message for wireless wide area network routers
CN102333335B (en) Service recovery method, equipment and system for wireless local area network (WLAN)
CN102185718B (en) System upgrading method and device
CN102263667B (en) Network management system and network management processing method
EP2911440B1 (en) Method, device and system for maintaining base station
WO2010000176A1 (en) Method, system and equipment for maintaining a base station
CN112543468B (en) Disaster recovery method for gateway equipment and communication equipment
CN104144124B (en) Data forwarding method, Apparatus and system
CN101883355A (en) Collocation method and system of terminal parameter and terminal management device
US20170280410A1 (en) Method, device and system for implementing information self-registration, and computer storage medium
WO2013086996A1 (en) Failure processing method, device and system
CN109039731B (en) Network management northbound interface alarm self-adapting method
CN102904735B (en) Method, device and system for recovering connection automatically
CN104797004B (en) The method that automatic network-building is realized between master-slave equipment
CN101212346B (en) Software version management method and device for network element management system
CN109802982B (en) Dual-connection implementation method, device and system
US9503317B2 (en) Method and device for processing communication path
CN101540699A (en) Method and device for realizing remote maintenance of network equipment
CN103051484B (en) Session service processing method, system and Session Border Controll
CN109120520B (en) Fault processing method and equipment
EP2654278A1 (en) Network maintenance system, method and device
EP2426859B1 (en) Method and server for transferring large object
EP2432167B1 (en) Method and apparatus for implementing point to point remote loopback of ethernet
CN102970701A (en) Base station, base station control system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: High tech Park No. 88 University of Electronic Science and technology of Sichuan province in 611721 Chengdu city high tech Zone West Park area Qingshui River Tianchen Road No. 5 building D

Applicant after: Huawei Symantec Technologies Co., Ltd.

Address before: High tech Park No. 88 University of Electronic Science and technology of Sichuan province in 611721 Chengdu city high tech Zone West Park area Qingshui River Tianchen Road No. 5 building D

Applicant before: Chengdu Huawei Symantec Technologies Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES CO., LTD. TO: HUAWEI DIGITAL TECHNOLOGY (CHENGDU) CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150708

Termination date: 20180706