CN113965444B - Remote recovery method and device for home gateway - Google Patents
Remote recovery method and device for home gateway Download PDFInfo
- Publication number
- CN113965444B CN113965444B CN202010623126.XA CN202010623126A CN113965444B CN 113965444 B CN113965444 B CN 113965444B CN 202010623126 A CN202010623126 A CN 202010623126A CN 113965444 B CN113965444 B CN 113965444B
- Authority
- CN
- China
- Prior art keywords
- home gateway
- remote
- remote management
- operation instruction
- management device
- 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
Links
- 238000011084 recovery Methods 0.000 title claims abstract description 89
- 238000000034 method Methods 0.000 title claims abstract description 79
- 238000004891 communication Methods 0.000 claims abstract description 36
- 230000004044 response Effects 0.000 claims abstract description 32
- 238000012545 processing Methods 0.000 claims description 24
- 230000000977 initiatory effect Effects 0.000 claims 1
- 208000015181 infectious disease Diseases 0.000 abstract description 9
- 230000006870 function Effects 0.000 description 11
- 230000008439 repair process Effects 0.000 description 10
- 238000004590 computer program Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 230000007246 mechanism Effects 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 208000033748 Device issues Diseases 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application provides a remote recovery method and device for a home gateway, relates to the technical field of communication, and solves the problem of low treatment efficiency of security infection risk of the home gateway. The method comprises the following steps: the first home gateway determines that communication with the remote management device fails and sends a first connection request to the second home gateway. The second home gateway forwards the first connection request to the remote management device. The remote management device determines that communication with the first home gateway fails and sends a first operation instruction to the second home gateway. The second home gateway forwards the first operation instruction to the first home gateway. The first home gateway determines that the first operation instruction carries the identifier of the first home gateway, executes the back source configuration operation according to the configuration information of the first channel, and sends a second connection request to the remote management device. And the remote management equipment sends a connection response to the first home gateway and determines that the remote recovery of the first home gateway is successful. The embodiment of the application is applied to the remote recovery home gateway.
Description
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a remote recovery method and device for a home gateway.
Background
A home gateway (home gateway) is a type of hardware capable of connecting a home network or a small office network to the internet (internet). It can support remote control, detection and configuration. Home gateways, wireless routers, internet of things terminals, and the like, have the potential to be hacked and controlled, thereby risking revealing user information.
A hacker will typically modify or delete the remote management channel between the home gateway and the remote management device. At present, telecom operators cannot solve the security infection risk of the home gateway through remote recovery configuration, software upgrading and other modes, and only can go to the home for maintenance, so that the security infection risk solving efficiency is low.
Disclosure of Invention
The application provides a remote recovery method and a remote recovery device for a home gateway, which solve the problem of low treatment efficiency of the security infection risk of the home gateway.
In a first aspect, the present application provides a remote recovery method for a home gateway, applied to a first home gateway, where the method includes: when the first home gateway determines that communication with the connected remote management device fails, an IP address of a second home gateway in the same network protocol (internet protocol, IP) address field is acquired. And then, the first home gateway sends a first connection request to the IP address of the second home gateway to request to connect the remote management equipment. The first home gateway receives a first operation instruction issued by the remote management device, and when the first operation instruction carries the identification of the first home gateway, the first home gateway executes the configuration operation of the return source according to the configuration information of the remote management channel between the first home gateway and the remote management device. And then, the first home gateway sends a second connection request to the remote management equipment, and if a connection response of the remote management equipment is received, the first home gateway is determined to be successfully recovered remotely.
In a second aspect, the present application provides a remote recovery method for a home gateway, applied to a remote management device, where the method includes: the remote management device receives a first connection request sent by a second home gateway, and when determining that communication with the first home gateway fails, sends a first operation instruction to the second home gateway, and instructs the first home gateway to execute a return source configuration operation. Wherein the first connection request is generated by the first home gateway. If a second connection request sent by the first home gateway is received, the remote management device sends a connection response to the first home gateway, and the remote recovery of the first home gateway is determined to be successful.
In a third aspect, the present application provides a remote recovery method for a home gateway, applied to a second home gateway, where the method includes: after receiving a first connection request sent by a first home gateway in the same IP address field, the second home gateway forwards the first connection request to the remote management equipment. And then, the second home gateway receives the first operation instruction sent by the remote management device and forwards the first operation instruction to the first home gateway so that the first home gateway can be connected with the remote management device again after the first home gateway executes the factory restoration operation. Wherein the first connection request is for requesting connection to the remote management device. The first connection request carries an identifier of the first home gateway. The first operation instruction is used for instructing the first home gateway to execute a return source configuration operation. The first operation instruction carries an identifier of the first home gateway.
Currently, telecom operators typically perform remote repair on hacked home gateways through a remote management channel. But large scale upgrade operations are perceived by hackers and thus cut off the remote management channel, resulting in upgrade failures. In this way, the telecommunications carrier can only go to the gate for repair replacement. In the application, when the first home gateway is hacked, the second home gateway in the same IP address field is used as an agent to forward the information between the first home gateway and the remote management equipment, thereby providing another remote repair mode for the first home gateway and improving the repair efficiency of the security infection risk of the home gateway.
In a fourth aspect, the present application provides a remote recovery device for a home gateway, applied to a first home gateway or a chip on the first home gateway, including: and the acquisition module is used for acquiring the network protocol IP address of the second home gateway which is positioned in the same IP address section with the first home gateway if the communication with the remote management equipment fails. And the sending module is used for sending a first connection request to the IP address of the second home gateway acquired by the acquisition module to request to connect the remote management equipment. Wherein the first connection request carries an identification of the first home gateway. And the processing module is used for executing the back source configuration operation according to the configuration information of the first channel when a first operation instruction sent by the second home gateway is received and the first operation instruction carries the identification of the first home gateway. The first channel is a remote management channel between the first home gateway and the remote management device. The first operation instruction is generated by the remote management device and is used to indicate a retract source configuration. The sending module is further configured to send a second connection request to the remote management device, requesting to connect to the remote management device. And the processing module is also used for determining that the remote recovery is successful if the connection response of the remote management equipment is received.
In a fifth aspect, the present application provides a remote restoration device for a home gateway, which is applied to a first home gateway or a chip on the first home gateway, and includes a processor, and when the remote restoration device for a home gateway is operated, the processor executes computer-executable instructions to cause the remote restoration device for a home gateway to perform the remote restoration method for a home gateway as in the first aspect.
In a sixth aspect, the present application provides a computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the remote recovery method of a home gateway as in the first aspect above.
In a seventh aspect, the present application provides a computer program product comprising instruction code for performing the remote recovery method of a home gateway as in the first aspect above.
In an eighth aspect, the present application provides a remote restoration apparatus for a home gateway, applied to a remote management device or a chip on the remote management device, including: and the receiving module is used for receiving the first connection request sent by the second home gateway. Wherein the first connection request is generated by the first home gateway. And the sending module is used for sending a first operation instruction to the second home gateway when the communication failure with the first home gateway is determined, and indicating the first home gateway to execute the return source configuration operation. The first operation instruction carries an identifier of the first home gateway. And the processing module is used for sending a connection response to the first home gateway if receiving the second connection request sent by the first home gateway, and determining that the remote recovery of the first home gateway is successful.
In a ninth aspect, the present application provides a remote restoration device for a home gateway, applied to a remote management apparatus or a chip on the remote management apparatus, including a processor, and when the remote restoration device for a home gateway is operated, the processor executes computer-executable instructions to cause the remote restoration device for a home gateway to perform the remote restoration method for a home gateway as in the second aspect.
In a tenth aspect, the application provides a computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform a remote recovery method for a home gateway as in the second aspect above.
In an eleventh aspect, the present application provides a computer program product comprising instruction code for performing the remote recovery method of a home gateway as in the second aspect above.
In a twelfth aspect, the present application provides a remote restoration device for a home gateway, applied to a second home gateway or a chip on the second home gateway, including: the receiving module is used for receiving a first connection request sent by the first home gateway and requesting to connect the remote management device, wherein the first connection request is in the same IP address field with the second home gateway. The first connection request carries an identifier of the first home gateway. And the sending module is used for forwarding the first connection request received by the receiving module to the remote management equipment. The receiving module is further configured to receive a first operation instruction sent by the remote management device, and instruct the first home gateway to execute the return source configuration operation. The first operation instruction carries an identifier of the first home gateway; the sending module is further configured to forward the first operation instruction received by the receiving module to the first home gateway, so that the first home gateway can reconnect the remote management device after performing the factory restoration operation.
In a thirteenth aspect, the present application provides a remote restoration device for a home gateway, which is applied to a second home gateway or a chip on the second home gateway, and includes a processor, and when the remote restoration device for a home gateway is operated, the processor executes computer-executable instructions to cause the remote restoration device for a home gateway to perform the remote restoration method for a home gateway as in the third aspect.
In a fourteenth aspect, the present application provides a computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform a remote recovery method for a home gateway as in the third aspect above.
In a fifteenth aspect, the present application provides a computer program product comprising instruction code for performing the remote recovery method of a home gateway as in the third aspect above.
It will be appreciated that any of the remote recovery apparatus, computer readable storage medium or computer program product of the home gateway provided above is used to perform the method provided in the first aspect, or the second aspect, or the third aspect, and therefore, the advantages achieved by the remote recovery apparatus, computer readable storage medium or computer program product may refer to the advantages of the corresponding scheme in the foregoing method and the following detailed description, and will not be repeated herein.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of an intelligent home network system in the prior art;
fig. 2 is a schematic hardware structure of a remote recovery device of a home gateway according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a remote recovery method of a home gateway according to an embodiment of the present application;
fig. 4 is a flow chart of a remote recovery method of a home gateway according to another embodiment of the present application;
Fig. 5 is a schematic structural diagram of a remote recovery device of a home gateway according to an embodiment of the present application;
Fig. 6 is a schematic structural diagram of a remote recovery device of a home gateway according to an embodiment of the present application;
Fig. 7 is a schematic structural diagram of a remote recovery device of a home gateway according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In embodiments of the application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
The terms "first" and "second" are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the embodiments of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
In an intelligent home system, a home gateway is generally utilized to access an intelligent home terminal to the internet, so that rich, diversified, personalized, convenient, comfortable, safe and efficient services are provided for people. Fig. 1 provides a prior art smart home network system. Referring to fig. 1, the smart home network system includes a remote management device 101, a home gateway 102, and a smart home terminal 103. The intelligent home terminal 103 is connected to the home gateway 102, and the home gateway 102 and the remote management device 101 are in communication connection. The remote management device 101 provides a remote management service for the home gateway 102, and the home gateway 102 is used to connect the smart home terminal 103 to a network.
The home gateway may support remote control, detection and configuration. At present, a home gateway deployed by a telecom operator can support two virtual local area network (virtual local area network) channels, namely an internet channel and a remote management (TR 069) channel, which are used for supporting different services. The internet channel is opened to the user and is used for forwarding service data of the user, such as data of surfing the internet, playing games and watching videos. The TR069 channel is open to the telecom operator, and can only be used for remotely managing the home gateway, for example, modifying parameters of the home gateway, upgrading a software version of the home gateway, and the like, and cannot carry any service data. For example, in the smart home network system shown in fig. 1, the home gateway 102 and the smart home terminal 103 use an internet channel to transmit user service data, and the remote management device 101 uses a TR069 channel to remotely manage the home gateway 102.
Home gateways, wireless routers, internet of things terminals, and the like, have the potential to be hacked and controlled, thereby risking revealing user information. A hacker will typically modify or delete the remote management channel between the home gateway and the remote management device. At present, telecom operators cannot solve the security infection risk of the home gateway through remote recovery configuration, software upgrading and other modes, and only can go to the home for maintenance, so that the security infection risk solving efficiency is low.
The application provides a remote recovery method and device for a home gateway. The remote recovery method comprises the following steps: the first home gateway determines that communication with the remote management device fails, acquires an IP address of the second home gateway, and sends a first connection request to the IP address of the second home gateway. The second home gateway forwards the first connection request to the remote management device. The remote management device determines that communication with the first home gateway fails and sends a first operation instruction to the second home gateway. The second home gateway forwards the first operation instruction to the first home gateway. The first home gateway determines that the first operation instruction carries the identifier of the first home gateway, executes the back source configuration operation according to the configuration information of the first channel, and then sends a second connection request to the remote management device. And the remote management equipment sends a connection response to the first home gateway and determines that the remote recovery of the first home gateway is successful. The remote repair method is provided for the first home gateway, and the repair efficiency of the security infection risk of the home gateway can be improved.
The remote recovery method of the home gateway provided by the embodiment of the application is suitable for the intelligent home network system shown in fig. 1. The remote management device and the home gateway in fig. 1 both belong to a remote restoration device of the home gateway. In a specific implementation, the remote restoration device of the home gateway has the components shown in fig. 2. Fig. 2 is a schematic diagram of a remote restoration device for a home gateway according to an embodiment of the present application, which may include a processor 202, where the processor 202 is configured to execute application program codes, so as to implement a remote restoration method for a home gateway according to the present application.
Processor 202 may be a central processing unit (central processing unit, CPU), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the programs of the present application.
As shown in fig. 2, the remote recovery device of the home gateway may further include a memory 203. The memory 203 is used for storing application program codes for executing the scheme of the present application, and the execution is controlled by the processor 202.
The memory 203 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (ELECTRICALLY ERASABLE PROGRAMMABLE READ-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory) or other optical disc storage, a compact disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 203 may be a stand-alone memory coupled to the processor 202 via a bus. Memory 203 may also be integrated with processor 202.
As shown in fig. 2, the remote recovery device of the home gateway may further comprise a communication interface 201, wherein the communication interface 201, the processor 202, the memory 203 may be coupled to each other, for example by a bus 204. The communication interface 201 is used for information interaction with other devices, such as a remote recovery device supporting a home gateway.
It should be noted that the device structure shown in fig. 2 does not constitute a limitation of the remote restoration apparatus of the home gateway, and the remote restoration apparatus of the home gateway may include more or less components than those shown in fig. 2, or may combine some components, or may be a different arrangement of components.
The following describes a remote restoration method for a home gateway according to an embodiment of the present application with reference to fig. 3 and fig. 4 in conjunction with the smart home network system shown in fig. 1 and the remote restoration device for a home gateway shown in fig. 2.
Fig. 3 is a flow chart of a remote recovery method of a home gateway according to an embodiment of the present application. Referring to fig. 3, the remote restoration method of the home gateway includes the following steps.
301. The first home gateway determines that communication with the remote management device fails, acquires an IP address of the second home gateway, and sends a first connection request to the IP address of the second home gateway.
The second home gateway is any home gateway in the same IP address field as the first home gateway. The first connection request is for requesting connection to a remote management device. The first connection request carries an identification of the first home gateway.
First, the first home gateway determines that communication with the remote management device fails. Specifically, after the first home gateway is deployed in the home of the user, the first home gateway periodically connects the remote management device (such as a TR069 channel of the first home gateway) through a first channel between the first home gateway and the remote management device by using the identification of the first home gateway as a password according to the initial configuration. For example, the identification of the first home gateway may place a Media Access Control (MAC) address for the first home gateway. When the first home gateway cannot be connected to the remote management device for N times continuously, determining that communication with the remote management device fails. For example, the first home gateway cannot connect to the remote management device 5 consecutive times, and determines that the communication has failed. At this time, when the first home gateway determines that it may be illegally hijacked, the remote recovery mechanism is started.
Then, the first home gateway acquires the IP address of the second home gateway. Specifically, the remote management device needs to maintain an information table, where the information table includes IP addresses of home gateways that access the remote management device and are located in the same IP address field. And the remote management device issues the information table to each home gateway accessed to the remote management device and automatically updates the information table periodically. Thus, the first home gateway can determine the IP address of the second home gateway from the information table.
Optionally, the first home gateway uses the second IP address closest to the first IP address of the first home gateway as the second home gateway according to the IP address in the information table.
Finally, the first home gateway sends a first connection request to the IP address of the second home gateway, requesting to connect the remote management device. Specifically, the first home gateway sends a first connection request to the IP address of the second home gateway using the internet channel, where the format of the first connection request packet needs to be kept in a packet format adapted to the TR069 channel.
Optionally, when the first home gateway receives the error message replied by the second home gateway, reselecting the next home gateway in the information table, and sending a first connection request to the next home gateway.
302. The second home gateway forwards the first connection request to the remote management device.
Optionally, after receiving the first connection request sent by the first gateway, the second home gateway checks whether the remote management channel between itself and the remote management device can be normally connected. If the connection can be normally performed, the second home gateway replies to the first home gateway correctly; if the connection cannot be normally performed, the second home gateway replies an error to the first home gateway, so that the first home gateway can select the next home gateway in the information table in time and forward the first connection request.
Specifically, the second home gateway forwards the first connection request to the remote management device using its TR069 channel. Wherein the TR069 channel of the second home gateway itself, i.e. the remote management channel between the second home gateway and the remote management device.
303. The remote management device determines that communication with the first home gateway fails and sends a first operation instruction to the second home gateway.
The first operation instruction is used for indicating the first home gateway to execute the operation of returning to the source configuration, namely the operation of restoring the factory setting. The first operation instruction carries an identifier of the first home gateway.
Specifically, after receiving the first connection request sent by the second home gateway, the remote management device determines that the first connection request does not belong to the second home gateway through the identifier of the first home gateway in the first connection request, and then determines that the second home gateway is a proxy gateway. At this time, the remote management device initiates a reverse connection request to the first home gateway, and if the reverse connection is successful, the remote management device determines that the communication with the first home gateway is normal, and the first home gateway is not hijacked illegally. If the reverse connection fails, the remote management device determines that the first home gateway is illegally hijacked, opens a remote recovery mechanism and sends a first operation instruction to the second home gateway.
Further specifically, if the remote management device receives the reverse connection response of the first home gateway, it is determined that the reverse connection is successful. If the remote management device cannot connect to the first home gateway M consecutive times, determining that the reverse connection fails.
304. The second home gateway forwards the first operation instruction to the first home gateway.
Specifically, after the second home gateway receives the first operation instruction, according to the identification of the first home gateway in the first operation instruction, it is determined that the first operation instruction points to the first home gateway, and then the first operation instruction is forwarded to the first home gateway through the internet channel.
305. The first home gateway determines that the first operation instruction carries an identifier of the first home gateway, executes a return source configuration operation according to the configuration information of the first channel, and sends a second connection request to the remote management device.
The first channel is a remote management channel between the first home gateway and the remote management device. The second connection request is for requesting connection to the remote management device. Specifically, after returning to the source configuration, that is, after restoring the factory setting, the first home gateway sends a second connection request to the remote management device through its TR069 channel (first channel).
306. The remote management device sends a connection response to the first home gateway.
Specifically, when the remote management device receives the second connection request sent by the first home gateway, a connection response is sent to the first home gateway. At this time, the remote management device determines that the remote recovery of the first home gateway is successful, and closes the remote recovery mechanism.
Further specifically, the first home gateway receives a connection response sent by the remote management device, determines that the remote recovery is successful, and closes the remote recovery mechanism.
Further, when the first home gateway performs step 305, the first home gateway determines that the remote recovery fails when the second connection request is continuously transmitted K times, but the connection response replied by the remote management device is not received. At this time, the remote restoration method of the home gateway in the present application further includes the steps shown in fig. 4. Referring to fig. 4, the remote restoration method of the home gateway further includes the following steps.
401. The first home gateway again determines that the communication fails and sends an active upgrade request to the second home gateway.
The active upgrade request carries an identifier of the first home gateway, and is used for requesting a software upgrade package of the first home gateway.
Specifically, the first home gateway sends an active upgrade request to the second home gateway through the internet channel. The format of the active upgrade request message needs to be kept to be the message format suitable for the TR069 channel.
402. The second home gateway forwards the active upgrade request to the remote management device.
Specifically, the second home gateway forwards the active upgrade request to the remote management device through the TR069 channel.
403. The remote management device determines that the active upgrading request carries the identification of the first home gateway and sends a software upgrading packet to the second home gateway.
Specifically, after the remote management device receives the active upgrade request sent by the second home gateway, the remote management device determines that the active upgrade request does not belong to the second home gateway through the identifier of the first home gateway in the active upgrade request, and then determines that the second home gateway is a proxy gateway. At this time, the remote management apparatus transmits the software upgrade package of the first home gateway to the second home gateway.
404. The second home gateway replies a download completion response to the remote management device, receives a second operation instruction sent by the remote management device, and forwards the second operation instruction to the first home gateway.
Specifically, after receiving the software upgrade package sent by the remote management device, the second home gateway replies a download completion response to the remote management device. And after receiving the downloading completion response, the remote management equipment sends a second operation instruction to the second home gateway. The second operation instruction carries the identification of the first home gateway. In this way, the second home gateway determines that the second operation instruction points to the first home gateway according to the identification of the first home gateway in the second operation instruction, and forwards the second operation instruction to the first home gateway through the internet channel. The second operation instruction is used for indicating the first home gateway to execute software upgrading and restarting operations. Meanwhile, the second operation instruction indicates that the address of the first home gateway software upgrade is changed from the remote management device to the storage address of the second home gateway.
405. The first home gateway determines that the second operation instruction carries the identifier of the first home gateway and sends a software downloading request to the second home gateway.
Specifically, the first home gateway determines that the own software upgrade package should be acquired from the storage address of the second home gateway according to the identifier of the first home gateway and the address of the first home gateway software upgrade carried in the second operation instruction. The first home gateway sends a software download request to the second home gateway.
406. The second home gateway sends a software upgrade package to the first home gateway.
Specifically, after receiving the software download request sent by the first home gateway, the second home gateway sends a software upgrade package to the first home gateway.
407. And the first home gateway performs software upgrading and restarting, and sends a third connection request to the remote management equipment.
Specifically, after the first home gateway receives the software upgrade packet sent by the second home gateway, the first home gateway performs steps such as software upgrade and restarting, and sends a third connection request to the remote management device through its own TR069 channel.
408. The remote management device sends a connection response to the first home gateway.
Specifically, when the remote management device receives the third connection request sent by the first home gateway, a connection response is sent to the first home gateway. At this time, the remote management device determines that the remote recovery of the first home gateway is successful, and closes the remote recovery mechanism.
Further specifically, the first home gateway receives a connection response sent by the remote management device, determines that the remote recovery is successful, and closes the remote recovery mechanism.
Currently, telecom operators typically perform remote repair on hacked home gateways through a remote management channel. But large scale upgrade operations are perceived by hackers and thus cut off the remote management channel, resulting in upgrade failures. In this way, the telecommunications carrier can only go to the gate for repair replacement. In the application, when the first home gateway is hacked, the second home gateway in the same IP address field is used as an agent to forward the information between the first home gateway and the remote management equipment, thereby providing another remote repair mode for the first home gateway and improving the repair efficiency of the security infection risk of the home gateway.
According to the embodiment of the application, the remote recovery device of the home gateway can be divided into the functional modules according to the method embodiment, for example, each functional module can be divided corresponding to each function, and two or more functions can be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
The application provides a remote recovery device of a home gateway, which can be a first home gateway or a part of devices in the first home gateway, such as a chip system in the first home gateway. Optionally, the system on a chip is configured to support the first home gateway to implement the functions involved in the embodiments of the methods shown in fig. 3 and fig. 4, for example, receiving, transmitting, or processing data and/or information involved in the methods described above. The chip system includes a chip, and may also include other discrete devices or circuit structures.
The remote restoration device of the home gateway is configured to perform the steps performed by the first home gateway in the methods shown in fig. 3 and 4 above. The remote recovery device of the home gateway provided by the embodiment of the application can comprise modules corresponding to the corresponding steps.
Fig. 5 shows a possible structural diagram of the remote restoration device of the home gateway in case of dividing the respective functional modules with the respective functions. As shown in fig. 5, the remote restoration device of the home gateway includes an acquisition module 51, a transmission module 52, and a processing module 53.
The obtaining module 51 is configured to obtain the IP address of the second home gateway if it is determined that communication with the remote management device fails. The second home gateway is any home gateway in the same IP address field as the first home gateway. A sending module 52, configured to send the first connection request to the IP address of the second home gateway acquired by the acquiring module 51. The first connection request is used for requesting to connect the remote management device; the first connection request carries an identification of the first home gateway. And the processing module 53 is configured to execute the back source configuration operation according to the configuration information of the first channel when the first operation instruction sent by the second home gateway is received and the first operation instruction carries the identifier of the first home gateway. The first channel is a remote management channel between the first home gateway and the remote management device. The first operation instruction is generated by the remote management device and is used to indicate a retract source configuration. The sending module 52 is further configured to send a second connection request to the remote management device. The second connection request is for requesting connection to the remote management device. The processing module 53 is further configured to determine that the remote recovery is successful if a connection response of the remote management device is received.
Optionally, the sending module 52 is further configured to send an active upgrade request to the second home gateway if it is determined that the communication fails again. The active upgrade request carries an identifier of the first home gateway and is used for requesting a software upgrade package of the first home gateway. The sending module 52 is further configured to send a software download request to the second home gateway when a second operation instruction sent by the second home gateway is received and the second operation instruction carries the identifier of the first home gateway. The second operating instructions are generated by the remote management device and are used to instruct the software upgrade and restart. The processing module 53 is further configured to receive a software upgrade package sent by the second home gateway, upgrade the software, and restart the device. The sending module 52 is further configured to send a third connection request to the remote management device, where the third connection request is used to request to connect to the remote management device.
Optionally, the processing module 53 is further configured to determine that a remote management channel between the second home gateway and the remote management device is normal.
Another embodiment of the present application also provides a computer-readable storage medium having instructions stored therein that, when executed on a remote restoration device of a home gateway, perform the steps of a first home gateway in the remote restoration method of a home gateway of the embodiments shown in fig. 3 and 4.
In another embodiment of the present application, there is also provided a computer program product comprising computer-executable instructions stored in a computer-readable storage medium; the processor of the remote restoration device of the home gateway may read the computer-executable instructions from the computer-readable storage medium, and the processor executes the computer-executable instructions to cause the remote restoration device of the home gateway to perform the steps of the first home gateway in the remote restoration method of the home gateway of the embodiments shown in fig. 3 and 4.
The application provides a remote recovery device of a home gateway, which can be remote management equipment or part of the remote management equipment, such as a chip system in the remote management equipment. Optionally, the chip system is configured to support the remote management device to implement the functions involved in the embodiments of the methods shown in fig. 3 and fig. 4, for example, receiving, transmitting, or processing data and/or information involved in the methods. The chip system includes a chip, and may also include other discrete devices or circuit structures.
The remote restoration device of the home gateway is used to perform the steps performed by the remote management apparatus in the methods shown in fig. 3 and 4 above. The remote recovery device of the home gateway provided by the embodiment of the application can comprise modules corresponding to the corresponding steps.
Fig. 6 shows a possible structural diagram of the remote restoration device of the home gateway in case that the respective functional modules are divided with the respective functions. As shown in fig. 6, the remote restoration device of the home gateway includes a receiving module 61, a transmitting module 62, and a processing module 63.
The receiving module 61 is configured to receive a first connection request sent by the second home gateway. The first connection request is generated by the first home gateway. And a sending module 62, configured to send a first operation instruction to the second home gateway when it is determined that communication with the first home gateway fails. The first operation instruction is used for instructing the first home gateway to execute a return source configuration operation. The first operation instruction carries an identifier of the first home gateway. And the processing module 63 is configured to send a connection response to the first home gateway if the second connection request sent by the first home gateway is received, and determine that the remote recovery of the first home gateway is successful.
Optionally, the sending module 62 is further configured to send a software upgrade package to the second home gateway if an active upgrade request sent by the second home gateway is received and the active upgrade request carries an identifier of the first home gateway. The sending module 62 is further configured to determine that a download complete response sent by the second home gateway is received, and send a second operation instruction to the second home gateway. The second operation instruction is used for instructing the first home gateway to execute software upgrading and restarting operations. The second operation instruction carries the identification of the first home gateway. The processing module 63 is further configured to send a connection response to the first home gateway if it is determined that the first home gateway sends the third connection request, and determine that the remote recovery of the first home gateway is successful.
Another embodiment of the present application also provides a computer-readable storage medium having instructions stored therein that, when executed on a remote restoration device of a home gateway, perform the steps of remotely managing a device in a remote restoration method of a home gateway according to the embodiments shown in fig. 3 and 4.
In another embodiment of the present application, there is also provided a computer program product comprising computer-executable instructions stored in a computer-readable storage medium; the processor of the remote restoration apparatus of the home gateway may read the computer-executable instructions from the computer-readable storage medium, and the processor executes the computer-executable instructions to cause the remote restoration apparatus of the home gateway to perform the steps of the remote management device in the remote restoration method of the home gateway of the embodiment shown in fig. 3 and 4.
The application provides a remote recovery device of a home gateway, which can be a second home gateway or a part of devices in the second home gateway, such as a chip system in the second home gateway. Optionally, the system on a chip is configured to support the second home gateway to implement the functions involved in the embodiments of the methods shown in fig. 3 and fig. 4, for example, receiving, transmitting, or processing data and/or information involved in the methods described above. The chip system includes a chip, and may also include other discrete devices or circuit structures.
The remote restoration device of the home gateway is configured to perform the steps performed by the second home gateway in the methods shown in fig. 3 and 4 above. The remote recovery device of the home gateway provided by the embodiment of the application can comprise modules corresponding to the corresponding steps.
Fig. 7 shows a possible structural diagram of the remote restoration device of the home gateway in the case where respective functional modules are divided with respect to respective functions. As shown in fig. 7, the remote restoration device of the home gateway includes a receiving module 71 and a transmitting module 72.
And a receiving module 71, configured to receive a first connection request sent by the first home gateway. The first connection request is for requesting connection to a remote management device. The first connection request carries an identifier of the first home gateway. The first home gateway and the second home gateway are in the same network protocol IP address field. A sending module 72, configured to forward the first connection request received by the receiving module 71 to the remote management device. The receiving module 71 is further configured to receive a first operation instruction sent by the remote management device, where the first operation instruction is used to instruct the first home gateway to perform a return source configuration operation. The first operation instruction carries an identifier of the first home gateway. The sending module 72 is further configured to forward the first operation instruction received by the receiving module 71 to the first home gateway, so that the first home gateway can reconnect to the remote management device after performing the factory restoration operation.
Optionally, the receiving module 71 is further configured to receive an active upgrade request sent by the first home gateway. The active upgrade request carries an identifier of the first home gateway and is used for requesting a software upgrade package of the first home gateway. The sending module 72 is further configured to forward the active upgrade request received by the receiving module 71 to a remote management device. The sending module 72 is further configured to send a download complete response to the remote management device after receiving the software upgrade packet sent by the remote management device. The receiving module 71 is further configured to receive a second operation instruction sent by the remote management device. The second operation instruction is used for instructing the first home gateway to execute software upgrading and restarting operations. The second operation instruction carries the identification of the first home gateway. The sending module 72 is further configured to forward the second operation instruction received by the receiving module 71 to the first home gateway. The sending module 72 is further configured to receive a software download request sent by the first home gateway, and send a software upgrade package to the first home gateway, so that the first home gateway can reconnect the remote management device after performing a software upgrade and restart operation.
Optionally, the remote restoration apparatus further includes a determining module 73 for determining that the remote management channel with the remote management device is normal.
Another embodiment of the present application also provides a computer-readable storage medium having instructions stored therein that, when executed on a remote restoration device of a home gateway, perform the steps of a second home gateway in the remote restoration method of a home gateway of the embodiments shown in fig. 3 and 4.
In another embodiment of the present application, there is also provided a computer program product comprising computer-executable instructions stored in a computer-readable storage medium; the processor of the remote restoration device of the home gateway may read the computer-executable instructions from the computer-readable storage medium, and the processor executes the computer-executable instructions to cause the remote restoration device of the home gateway to perform the steps of the second home gateway in the remote restoration method of the home gateway of the embodiment shown in fig. 3 and 4.
All relevant contents of each step related to the above method embodiment may be cited to the functional descriptions of the corresponding functional modules, and their effects are not described herein.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative modules, units, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative, and for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, indirect coupling or communication connection of devices or units, electrical, mechanical, or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (18)
1. A remote recovery method of home gateway, which is applied to a first home gateway and is characterized in that,
Receiving an information table sent by remote management equipment; the information table comprises the IP address of the target home gateway which is accessed to the remote management equipment and is in the same IP address field; the target home gateway comprises the first home gateway and a second home gateway;
If the communication with the remote management equipment is determined to be failed, acquiring a network protocol (IP) address of the second home gateway; the second home gateway is any home gateway which is positioned in the same IP address section as the first home gateway;
Sending a first connection request to an IP address of the second home gateway; the first connection request is used for requesting to connect the remote management device; the first connection request carries an identifier of the first home gateway; the remote management device is configured to initiate a reverse connection request to the first home gateway when determining that communication with the first home gateway fails, and if the reverse connection fails, determine that the first home gateway is illegally hijacked and send a first operation instruction to the second home gateway;
When a first operation instruction sent by the second home gateway is received and carries an identifier of the first home gateway, executing a return source configuration operation according to configuration information of a first channel; the first channel is a remote management channel between the first home gateway and the remote management device; the first operation instruction is generated by the remote management device and is used for indicating a return source configuration;
sending a second connection request to the remote management device; the second connection request is used for requesting to connect the remote management device;
and if the connection response of the remote management equipment is received, determining that the remote recovery is successful.
2. The remote recovery method according to claim 1, wherein after transmitting the second connection request to the remote management device, the remote recovery method further comprises:
if the communication failure is determined again, an active upgrading request is sent to the second home gateway; the active upgrade request carries an identifier of the first home gateway and is used for requesting a software upgrade package of the first home gateway;
When a second operation instruction sent by the second home gateway is received and the second operation instruction carries the identification of the first home gateway, a software downloading request is sent to the second home gateway; the second operation instruction is generated by the remote management device and is used for indicating software upgrade and restart;
Receiving a software upgrading packet issued by the second home gateway, upgrading the software and restarting the software;
and sending a third connection request to the remote management device, wherein the third connection request is used for requesting to connect the remote management device.
3. The remote recovery method according to claim 1, wherein prior to receiving the first operation instruction, the remote recovery method further comprises:
and determining that a remote management channel between the second home gateway and the remote management device is normal.
4. A remote recovery method of home gateway is applied to remote management equipment, which is characterized in that,
Transmitting an information table to a first home gateway; the information table comprises the IP address of the target home gateway which is accessed to the remote management equipment and is in the same IP address field; the target home gateway comprises the first home gateway and a second home gateway;
receiving a first connection request sent by the second home gateway; the first connection request is generated by a first home gateway;
When the communication with the first home gateway is determined to fail, a reverse connection request is initiated to the first home gateway, if the reverse connection fails, the first home gateway is determined to be illegally hijacked, and a first operation instruction is sent to the second home gateway; the first operation instruction is used for indicating the first home gateway to execute a return source configuration operation; the first operation instruction carries an identifier of the first home gateway;
and if the second connection request sent by the first home gateway is received, sending a connection response to the first home gateway, and determining that the remote recovery of the first home gateway is successful.
5. The remote recovery method according to claim 4, wherein after transmitting the first operation instruction to the second home gateway, the remote recovery method further comprises:
If an active upgrading request sent by the second home gateway is received and carries the identification of the first home gateway, a software upgrading packet is sent to the second home gateway;
determining that a downloading completion response sent by the second home gateway is received, and sending a second operation instruction to the second home gateway; the second operation instruction is used for indicating the first home gateway to execute software upgrading and restarting operations; the second operation instruction carries the identification of the first home gateway;
And if the first home gateway is determined to receive the third connection request, sending a connection response to the first home gateway, and determining that the remote recovery of the first home gateway is successful.
6. A remote recovery method of home gateway is applied to a second home gateway, which is characterized in that,
Receiving a first connection request sent by a first home gateway; the first connection request is used for requesting to connect the remote management equipment; the first connection request carries an identifier of the first home gateway; the first home gateway and the second home gateway are positioned in the same network protocol IP address field;
Forwarding the first connection request to the remote management device; the remote management device is configured to initiate a reverse connection request to the first home gateway when determining that communication with the first home gateway fails, and if the reverse connection fails, determine that the first home gateway is illegally hijacked and send a first operation instruction to the second home gateway;
Receiving a first operation instruction sent by the remote management device, wherein the first operation instruction is used for indicating the first home gateway to execute a return source configuration operation; the first operation instruction carries an identifier of the first home gateway;
And forwarding the first operation instruction to the first home gateway so as to be convenient for the first home gateway to reconnect the remote management device after the first home gateway executes the factory restoration operation.
7. The remote recovery method according to claim 6, wherein after forwarding the first operation instruction to the first home gateway, the remote recovery method further comprises:
Receiving an active upgrading request sent by the first home gateway; the active upgrading request carries the identifier of the first home gateway and is used for requesting a software upgrading packet of the first home gateway;
Forwarding the active upgrade request to the remote management device;
After receiving the software upgrading packet sent by the remote management equipment, sending a downloading completion response to the remote management equipment;
Receiving a second operation instruction sent by the remote management equipment; the second operation instruction is used for indicating the first home gateway to execute software upgrading and restarting operations; the second operation instruction carries the identification of the first home gateway;
forwarding the second operation instruction to the first home gateway;
And receiving a software downloading request sent by the first home gateway, and issuing the software upgrading package to the first home gateway so as to be convenient for the first home gateway to reconnect the remote management device after performing software upgrading and restarting operations.
8. The remote recovery method according to claim 6, wherein prior to forwarding the first connection request to the remote management device, the remote recovery method further comprises:
And determining that a remote management channel between the remote management device and the remote management device is normal.
9. A remote restoration device of a home gateway, applied to a first home gateway or a chip on the first home gateway, comprising:
The acquisition module is used for receiving the information table sent by the remote management equipment; the information table comprises the IP address of the target home gateway which is accessed to the remote management equipment and is in the same IP address field; the target home gateway comprises the first home gateway and a second home gateway; if the communication with the remote management equipment is determined to be failed, acquiring a network protocol (IP) address of the second home gateway; the second home gateway is any home gateway which is positioned in the same IP address section as the first home gateway;
The sending module is used for sending a first connection request to the IP address of the second home gateway acquired by the acquisition module; the first connection request is used for requesting to connect the remote management device; the first connection request carries an identifier of the first home gateway; the remote management device is configured to initiate a reverse connection request to the first home gateway when determining that communication with the first home gateway fails, and if the reverse connection fails, determine that the first home gateway is illegally hijacked and send a first operation instruction to the second home gateway;
The processing module is used for executing the configuration operation of the return source according to the configuration information of the first channel when a first operation instruction sent by the second home gateway is received and the first operation instruction carries the identification of the first home gateway; the first channel is a remote management channel between the first home gateway and the remote management device; the first operation instruction is generated by the remote management device and is used for indicating a return source configuration;
The sending module is further configured to send a second connection request to the remote management device; the second connection request is used for requesting to connect the remote management device;
And the processing module is further used for determining that the remote recovery is successful if the connection response of the remote management equipment is received.
10. The remote recovery device of claim 9, wherein the remote recovery device,
The sending module is further configured to send an active upgrade request to the second home gateway if it is determined that the communication fails again; the active upgrade request carries an identifier of the first home gateway and is used for requesting a software upgrade package of the first home gateway;
The sending module is further configured to send a software download request to the second home gateway when a second operation instruction sent by the second home gateway is received and the second operation instruction carries an identifier of the first home gateway; the second operation instruction is generated by the remote management device and is used for indicating software upgrade and restart;
the processing module is further configured to receive a software upgrade package sent by the second home gateway, upgrade software, and restart the second home gateway;
the sending module is further configured to send a third connection request to the remote management device, where the third connection request is used to request to connect to the remote management device.
11. The remote recovery device of claim 9, wherein the remote recovery device,
The processing module is further configured to determine that a remote management channel between the second home gateway and the remote management device is normal.
12. A remote restoration device for a home gateway, applied to a remote management device or a chip on the remote management device, comprising:
The sending module is used for sending the information table to the first home gateway; the information table comprises the IP address of the target home gateway which is accessed to the remote management equipment and is in the same IP address field; the target home gateway comprises the first home gateway and a second home gateway;
The receiving module is used for receiving a first connection request sent by the second home gateway; the first connection request is generated by the first home gateway;
The sending module is used for initiating a reverse connection request to the first home gateway when determining that the communication with the first home gateway fails, determining that the first home gateway is illegally hijacked if the reverse connection fails, and sending a first operation instruction to the second home gateway; the first operation instruction is used for indicating the first home gateway to execute a return source configuration operation; the first operation instruction carries an identifier of the first home gateway;
And the processing module is used for sending a connection response to the first home gateway if the second connection request sent by the first home gateway is received, and determining that the remote recovery of the first home gateway is successful.
13. The remote recovery device of claim 12, wherein the remote recovery device,
The sending module is further configured to send a software upgrade package to the second home gateway if an active upgrade request sent by the second home gateway is received and the active upgrade request carries an identifier of the first home gateway;
The sending module is further configured to determine that a download completion response sent by the second home gateway is received, and send a second operation instruction to the second home gateway; the second operation instruction is used for indicating the first home gateway to execute software upgrading and restarting operations; the second operation instruction carries the identification of the first home gateway;
And the processing module is further configured to send a connection response to the first home gateway if it is determined that the first home gateway sends a third connection request, and determine that the remote recovery of the first home gateway is successful.
14. A remote restoration device of a home gateway, applied to a second home gateway or a chip on the second home gateway, comprising:
The receiving module is used for receiving a first connection request sent by the first home gateway; the first connection request is used for requesting to connect the remote management equipment; the first connection request carries an identifier of the first home gateway; the first home gateway and the second home gateway are positioned in the same network protocol IP address field;
The sending module is used for forwarding the first connection request received by the receiving module to the remote management equipment; the remote management device is configured to initiate a reverse connection request to the first home gateway when determining that communication with the first home gateway fails, and if the reverse connection fails, determine that the first home gateway is illegally hijacked and send a first operation instruction to the second home gateway;
the receiving module is further configured to receive a first operation instruction sent by the remote management device, where the first operation instruction is used to instruct the first home gateway to execute a return source configuration operation; the first operation instruction carries an identifier of the first home gateway;
The sending module is further configured to forward the first operation instruction received by the receiving module to the first home gateway, so that the first home gateway can be reconnected to the remote management device after performing a factory restoration operation.
15. The remote recovery device of claim 14, wherein the remote recovery device,
The receiving module is further configured to receive an active upgrade request sent by the first home gateway; the active upgrading request carries the identifier of the first home gateway and is used for requesting a software upgrading packet of the first home gateway;
The sending module is further configured to forward the active upgrade request received by the receiving module to the remote management device;
The sending module is further configured to send a download completion response to the remote management device after receiving the software upgrade packet sent by the remote management device;
The receiving module is further used for receiving a second operation instruction sent by the remote management device; the second operation instruction is used for indicating the first home gateway to execute software upgrading and restarting operations; the second operation instruction carries the identification of the first home gateway;
The sending module is further configured to forward the second operation instruction received by the receiving module to the first home gateway;
The sending module is further configured to receive a software download request sent by the first home gateway, and send the software upgrade package to the first home gateway, so that the first home gateway can be conveniently reconnected to the remote management device after performing software upgrade and restarting operations.
16. The remote recovery device of claim 14, wherein the remote recovery device further comprises:
and the determining module is used for determining that the remote management channel between the remote management device and the remote management device is normal.
17. A remote restoration device for a home gateway, comprising a processor, which when the remote restoration device for a home gateway is operated, executes computer-executable instructions to cause the remote restoration device for a home gateway to perform the remote restoration method for a home gateway as set forth in any one of claims 1 to 3, or to perform the remote restoration method for a home gateway as set forth in any one of claims 4 to 5, or to perform the remote restoration method for a home gateway as set forth in any one of claims 6 to 8.
18. A computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the remote restoration method of a home gateway as claimed in any one of claims 1 to 3, or to perform the remote restoration method of a home gateway as claimed in any one of claims 4 to 5, or to perform the remote restoration method of a home gateway as claimed in any one of claims 6 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010623126.XA CN113965444B (en) | 2020-07-01 | 2020-07-01 | Remote recovery method and device for home gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010623126.XA CN113965444B (en) | 2020-07-01 | 2020-07-01 | Remote recovery method and device for home gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113965444A CN113965444A (en) | 2022-01-21 |
CN113965444B true CN113965444B (en) | 2024-06-04 |
Family
ID=79459244
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010623126.XA Active CN113965444B (en) | 2020-07-01 | 2020-07-01 | Remote recovery method and device for home gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113965444B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115766897B (en) * | 2022-11-09 | 2024-08-27 | 中国联合网络通信集团有限公司 | Gateway management method and device, intelligent gateway and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102142977A (en) * | 2010-08-02 | 2011-08-03 | 华为技术有限公司 | Method, network management equipment and system for remotely managing detached node |
WO2012068923A1 (en) * | 2010-11-24 | 2012-05-31 | 中兴通讯股份有限公司 | Home gateway equipment and upgrading method thereof |
WO2016192427A1 (en) * | 2015-06-01 | 2016-12-08 | 中兴通讯股份有限公司 | Method and device for restoring interface configuration of access point, and home gate way |
CN106605387A (en) * | 2014-09-05 | 2017-04-26 | 皇家Kpn公司 | WAN control failover broker for vHGW |
CN107210934A (en) * | 2015-02-09 | 2017-09-26 | 皇家Kpn公司 | Distributed network gate |
CN109756450A (en) * | 2017-11-03 | 2019-05-14 | 华为技术有限公司 | A kind of methods, devices and systems of Internet of Things Network Communication |
CN110351385A (en) * | 2019-07-11 | 2019-10-18 | 苏州高博软件技术职业学院 | A kind of home gateway system and data forwarding method |
CN111147366A (en) * | 2019-12-16 | 2020-05-12 | 北京淇瑀信息科技有限公司 | Method, device and system for automatic line switching |
-
2020
- 2020-07-01 CN CN202010623126.XA patent/CN113965444B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102142977A (en) * | 2010-08-02 | 2011-08-03 | 华为技术有限公司 | Method, network management equipment and system for remotely managing detached node |
WO2012068923A1 (en) * | 2010-11-24 | 2012-05-31 | 中兴通讯股份有限公司 | Home gateway equipment and upgrading method thereof |
CN106605387A (en) * | 2014-09-05 | 2017-04-26 | 皇家Kpn公司 | WAN control failover broker for vHGW |
CN107210934A (en) * | 2015-02-09 | 2017-09-26 | 皇家Kpn公司 | Distributed network gate |
WO2016192427A1 (en) * | 2015-06-01 | 2016-12-08 | 中兴通讯股份有限公司 | Method and device for restoring interface configuration of access point, and home gate way |
CN109756450A (en) * | 2017-11-03 | 2019-05-14 | 华为技术有限公司 | A kind of methods, devices and systems of Internet of Things Network Communication |
CN110351385A (en) * | 2019-07-11 | 2019-10-18 | 苏州高博软件技术职业学院 | A kind of home gateway system and data forwarding method |
CN111147366A (en) * | 2019-12-16 | 2020-05-12 | 北京淇瑀信息科技有限公司 | Method, device and system for automatic line switching |
Non-Patent Citations (2)
Title |
---|
"SDH故障案例分析";张岩冰;《甘肃科技》;20200630;全文 * |
"Recovering from a node failure in wireless sensor-actor networks with minimal topology changes";AA Abbasi;《IEEE》;20121231;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113965444A (en) | 2022-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102478442B1 (en) | Method for setting pdu type, method for setting ue policy, and related entities | |
CN112566050B (en) | Cellular service account transfer for an accessory wireless device | |
EP1635256B1 (en) | Communication system and method for upgrade of user terminal software and user terminal upgraded by same | |
RU2285346C2 (en) | Method for setting up default channels for operation and servicing on basis of internet-protocol over asynchronous transfer mode | |
US7685284B2 (en) | Network, network terminal device, IP address management method using the same, and program therefor | |
EP3087767B1 (en) | Method for accessing a service and a corresponding device | |
CN106537957B (en) | Method and server for managing configuration files | |
WO2017182402A1 (en) | Method, servers and system for downloading an updated profile | |
EP1690189B1 (en) | On demand session provisioning of ip flows | |
WO2015183429A1 (en) | Dynamic account updating | |
US8312151B2 (en) | Communication systems and methods for dynamic and secure simplification of equipment networking | |
CN112689316B (en) | Binding method and device of intelligent equipment, storage medium and electronic device | |
KR20140010206A (en) | Apparatus and method for connecting wireless network in consideration of radio frequency band | |
CN113965444B (en) | Remote recovery method and device for home gateway | |
CN113824789B (en) | Configuration method, device, equipment and storage medium of access descriptor | |
CN109788528B (en) | Access point and method and system for opening internet access service thereof | |
US10251122B2 (en) | Method for switching from a first to a second mobile network operator and corresponding device | |
KR101687155B1 (en) | Method for setting the latest wireless environment configuration between ac and ap | |
JP3957539B2 (en) | Wireless communication base station equipment | |
KR100821168B1 (en) | Method for authenticating using authentication vector in switching device and the switching device thereof | |
JP2002232420A (en) | Radio communication equipment radio communication system and connection authenticating method | |
US20170359721A1 (en) | Method, second server and system for managing access to a first server | |
CN116094821B (en) | Route configuration method and device | |
CN110519130B (en) | Equipment network access method and system | |
CN105979510A (en) | Wireless access equipment intelligent PPPoE dialing method and wireless access equipment |
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 |