CN114765573A - Method and device for recovering connection of pipe-disconnecting equipment, computer equipment and readable medium - Google Patents

Method and device for recovering connection of pipe-disconnecting equipment, computer equipment and readable medium Download PDF

Info

Publication number
CN114765573A
CN114765573A CN202011631586.3A CN202011631586A CN114765573A CN 114765573 A CN114765573 A CN 114765573A CN 202011631586 A CN202011631586 A CN 202011631586A CN 114765573 A CN114765573 A CN 114765573A
Authority
CN
China
Prior art keywords
remote management
management configuration
cpe
configuration parameters
management server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011631586.3A
Other languages
Chinese (zh)
Inventor
赵淼鑫
王晨光
王波
张广臣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202011631586.3A priority Critical patent/CN114765573A/en
Priority to PCT/CN2021/141512 priority patent/WO2022143490A1/en
Publication of CN114765573A publication Critical patent/CN114765573A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present disclosure provides a method for recovering connection of an off-pipe device, which is applied to a first Customer Premise Equipment (CPE), and comprises: acquiring remote management configuration parameters under the state of being out of management with a remote management server; establishing connection with a remote management server according to the remote management configuration parameters; the remote management configuration parameters are obtained from the local place under the condition that the backup exists in the local place; and under the condition that the remote management configuration parameters do not have backup locally, broadcasting a remote management configuration parameter acquisition request, and receiving the remote management configuration parameters sent by the second CPE. According to the embodiment of the disclosure, the CPE monitors the connection state of the CPE and the management server, the CPE does not depend on a management channel, the off-pipe state is automatically and quickly removed under the condition that a user does not sense, the reliability is improved, the user experience is improved, and the operation and maintenance cost is reduced. The present disclosure also provides a client front-end device, a computer device and a readable medium.

Description

Method and device for recovering connection of pipe-disconnecting equipment, computer equipment and readable medium
Technical Field
The disclosure relates to the technical field of communication, in particular to a method and a device for recovering connection of off-pipe equipment, computer equipment and a readable medium.
Background
With the rapid development of the internet, the home network is continuously changing to digitalization and intellectualization, which changes the life and entertainment mode of people, and the CPE (Customer Premise Equipment), such as a home gateway, a network access terminal, a wireless routing device, etc., has also become an indispensable component element in the life of people as a key device in the home network. In order to bring a richer and more reliable experience to the user, it is increasingly important for the operator to manage the CPE through the remote management server.
Taking the home gateway as an example, in an actual use process of the home gateway, due to reasons such as a user configuration error, a malicious attack on the home gateway, or an misoperation of an operator of the remote management server, the home gateway may not be connected to the remote management server because the remote management configuration parameters are modified, so that the home gateway is out of management. After the home gateway is taken off line, the remote management server cannot be reversely connected to the home gateway, and cannot control and manage the home gateway through a remote management protocol, so that the management channel is interrupted. The interruption of the management channel does not affect the normal operation of other services such as voice, internet surfing, video and the like temporarily, but the long-time offline of the home gateway can affect the use and the update of the home gateway, so that the home gateway breaks down. Once the out-of-management condition occurs, the operation and maintenance personnel are often dispatched to the user to debug in the house to remove the out-of-management state only after the user fails and reports the repair, so that the user experience and the service quality are seriously influenced, and the labor cost is high.
Disclosure of Invention
The embodiment of the invention provides a method and a device for recovering connection of pipe-disconnecting equipment, computer equipment and a readable medium.
In a first aspect, an embodiment of the present disclosure provides a method for recovering a connection of an off-pipe device, which is applied to a first customer premise equipment CPE, and includes:
acquiring remote management configuration parameters under the state of being out of management with a remote management server;
establishing connection with the remote management server according to the remote management configuration parameters;
wherein, the obtaining the remote management configuration parameter includes:
under the condition that the remote management configuration parameters have local backup, the remote management configuration parameters are obtained from the local;
and under the condition that the remote management configuration parameters do not have backup locally, broadcasting a remote management configuration parameter acquisition request, and receiving the remote management configuration parameters sent by the second CPE.
In another aspect, an embodiment of the present disclosure further provides a method for recovering a connection of an off-pipe device, where the method is applied to a second customer premise equipment CPE, where the method includes:
receiving a remote management configuration parameter acquisition request broadcast by a first CPE;
and sending remote management configuration parameters to the first CPE under the condition that the connection state with the remote management server is normal.
In another aspect, an embodiment of the present disclosure further provides a client front-end device, including an obtaining module and a connection module, where the obtaining module is configured to obtain a remote management configuration parameter in a state of being offline from a remote management server;
the connection module is used for establishing connection with the remote management server according to the remote management configuration parameters;
the obtaining module is used for obtaining the remote management configuration parameters from the local area under the condition that the remote management configuration parameters have backup locally; or under the condition that the remote management configuration parameters do not have backup locally, broadcasting a remote management configuration parameter acquisition request, and receiving the remote management configuration parameters sent by the second CPE.
In another aspect, an embodiment of the present disclosure further provides a customer premises equipment, including a receiving module, a processing module, and a sending module, where the receiving module is configured to receive a remote management configuration parameter acquisition request broadcast by a first CPE;
the processing module is configured to instruct the sending module to send the remote management configuration parameter to the first CPE when the connection state with the remote management server is normal.
In another aspect, an embodiment of the present disclosure further provides a computer device, including:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method for unmanaged device connection recovery as previously described.
In yet another aspect, the disclosed embodiments also provide a computer readable medium, on which a computer program is stored, wherein the program, when executed, implements the method for recovering a connection of an offline device as described above.
The method for recovering the connection of the pipe-off equipment provided by the embodiment of the invention is applied to the CPE of the first customer premise equipment and comprises the following steps: acquiring remote management configuration parameters under the state of being out of management with a remote management server; establishing connection with the remote management server according to the remote management configuration parameters; wherein, the obtaining of the remote management configuration parameter includes: under the condition that the remote management configuration parameters have local backup, the remote management configuration parameters are obtained from the local; and under the condition that the remote management configuration parameters do not have backup locally, broadcasting a remote management configuration parameter acquisition request, and receiving the remote management configuration parameters sent by the second CPE. According to the embodiment of the disclosure, the connection state of the CPE and the management server is monitored, when the CPE is in the offline state and the remote management configuration parameters are not backed up locally, the remote management configuration parameters are acquired from other CPE, the connection with the remote management server is recovered based on the remote management configuration parameters, and when the CPE is in the offline state and the remote management configuration parameters are backed up locally, the backed-up remote management configuration parameters are acquired locally, so that the CPE does not depend on a management channel, the offline state is automatically and quickly removed under the condition that a user does not sense, the reliability is improved, the user experience is improved, and the operation and maintenance cost is reduced.
Drawings
FIG. 1 is a schematic diagram of a system architecture provided by an embodiment of the present disclosure;
fig. 2 is a first flowchart illustrating a method for recovering a connection of a pipe disconnection apparatus according to a first embodiment of the disclosure;
fig. 3 is a second schematic flow chart of a method for recovering a connection of a pipe-disconnecting device according to a first embodiment of the present disclosure;
fig. 4 is a first flowchart illustrating a method for recovering a connection of a pipe disconnection apparatus according to a second embodiment of the disclosure;
fig. 5 is a schematic flowchart of requesting authentication according to a second embodiment of the disclosure;
fig. 6 is a first schematic diagram illustrating a connection recovery process of a pipe disconnection apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram illustrating a second flow of recovering connection of a pipe-tripping device according to another specific example provided in the embodiment of the present disclosure;
fig. 8 is a third schematic flow chart illustrating connection recovery of a pipe tripping device according to still another specific example provided in the embodiment of the present disclosure;
fig. 9 is a fourth schematic flow chart illustrating connection recovery of a pipe removal device according to another specific embodiment provided in the present disclosure;
fig. 10 is a first schematic structural diagram of a client front-end device according to a third embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of a client front-end device according to a third embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of a client front-end device according to a fourth embodiment of the present disclosure.
Detailed Description
Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but which may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising … …, when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present invention and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The embodiment of the invention provides a method for recovering the connection of offline equipment, and the system architecture of the embodiment of the invention is shown in figure 1, wherein the system comprises a remote management server and a plurality of CPEs (customer premises equipment), and the CPEs and the remote management server are communicated based on a TR069 protocol. The system is in a Network environment based on an IP (Internet Protocol) Address, different CPE are in the same IP Address Network segment, and the remote management server can be in the same Address Network segment as the CPE or in another Address Network segment with NAT (Network Address Translation). No matter which address network segment the remote management server is in, the technical scheme of the embodiment of the invention is not affected, and for convenience of introduction, the embodiment of the invention takes the example that the remote management server is in the same network segment with the IP address of the CPE as an example for description. The CPE can request the remote management configuration parameters from other CPEs, realize the remote management configuration parameter sharing among the CPEs, and locally store the backed-up remote management configuration parameters. The CPE can be a home gateway, a network access terminal, wireless routing equipment and the like; the remote management server can issue remote management configuration parameters and a public key to each CPE, authenticate the CPE and encrypt and transmit the remote management configuration parameters with the CPE.
As shown in fig. 2, the method for recovering a connection of a pipe-dropping device according to an embodiment of the present invention is applied to a first CPE, and includes the following steps:
step 11, acquiring remote management configuration parameters in a state of being out of management with a remote management server, wherein the remote management configuration parameters are acquired from the local under the condition that the remote management configuration parameters have backup locally; and under the condition that the remote management configuration parameters do not have backup locally, broadcasting a remote management configuration parameter acquisition request, and receiving the remote management configuration parameters sent by the second CPE.
In this step, the first CPE monitors a connection state between the first CPE and the remote management server, and if it is determined that the first CPE is in an offline state, locally acquires a remote management configuration parameter of the backup, and if the remote management configuration parameter of the backup is not acquired, which indicates that the remote management configuration parameter does not locally have the backup, requests the other CPEs to share the remote management configuration parameter by broadcasting a remote management configuration parameter acquisition request. The remote management configuration parameters are sent by other CPEs (e.g., the second CPE) after receiving the remote management configuration parameter acquisition request and determining that the connection between the other CPEs (i.e., the second CPE) and the remote management server is normal. That is, after receiving the remote management configuration parameter acquisition request broadcast by the first CPE, the second CPE detects a connection state between itself and the remote management server, and if the connection is normal, sends its own remote management configuration parameter to the first CPE. If the first CPE acquires the remote management configuration parameters of the backup, which indicates that the remote management configuration parameters have a backup locally, the first CPE directly configures the remote configuration parameters of the backup locally.
It should be noted that the remote management configuration parameters to be backed up are the remote management configuration parameters applied when the first CPE successfully establishes a connection with the remote management server last time. And for the case that the first CPE is successfully connected with the remote management server for the first time, the backed-up remote management configuration parameters are the remote management configuration parameters applied when the first CPE is successfully connected with the remote management server for the first time.
In some embodiments, the remote management configuration request carries port information of the reverse port, so that the second CPE shares the remote configuration parameters through the reverse port.
And step 12, establishing connection with a remote management server according to the remote management configuration parameters.
In this step, under the condition that the remote management configuration parameter does not have a backup locally, the first CPE monitors the reverse port, and if the remote configuration parameter sent by another CPE (i.e., the second CPE) is received at the reverse port, the first CPE locally configures and restarts the remote configuration parameter to reestablish the management channel, after the first CPE is restarted, the connection with the remote management server is established through the newly established management channel, and the first CPE is in the offline state.
Under the condition that the remote management configuration parameters have backup locally, the first CPE directly configures the backup remote configuration parameters locally and restarts the backup remote configuration parameters to reestablish the management channel, after the first CPE is restarted, the connection with the remote management server is established through the newly established management channel, and the offline state of the first CPE is released.
The method for recovering the connection of the pipe-removing equipment provided by the embodiment of the invention is applied to the CPE of the first customer premise equipment and comprises the following steps: acquiring remote management configuration parameters under the state of being out of management with a remote management server; establishing connection with the remote management server according to the remote management configuration parameters; wherein, the obtaining of the remote management configuration parameter includes: under the condition that the remote management configuration parameters have local backup, the remote management configuration parameters are obtained from the local; and under the condition that the remote management configuration parameters do not have backup locally, broadcasting a remote management configuration parameter acquisition request, and receiving the remote management configuration parameters sent by the second CPE. According to the embodiment of the invention, the connection state of the CPE and the management server is monitored, the remote management configuration parameters are obtained from other CPE under the condition that the CPE is in the offline state and the remote management configuration parameters are not backed up locally, the connection with the remote management server is recovered based on the remote management configuration parameters, and the backed-up remote management configuration parameters are obtained locally under the condition that the CPE is in the offline state and the remote management configuration parameters are backed up locally, so that the CPE is independent of a management channel, the offline state is automatically and quickly removed under the condition that a user does not sense the remote management server, the reliability is improved, the user experience is improved, and the operation and maintenance cost is reduced.
Since the transmitted remote management configuration parameters are not encrypted, there is still a possibility of interception and tampering, and moreover, whether the identity of the second CPE providing the remote management configuration parameters is legal or not is unknown, so there is also a certain risk that the first CPE in the offline state directly applies the remote management configuration parameters sent by the second CPE to take effect.
To solve the above technical problem, in some embodiments, the remote management configuration parameters may be encrypted and transmitted between the CPEs and the remote management server and between the CPEs. Accordingly, in some embodiments, the receiving the remote management configuration parameters sent by the second CPE may include: and receiving the encrypted remote management configuration parameters sent by the second CPE. In this step, the second CPE obtains the remote management configuration parameter from the remote management server, and the remote management server encrypts the correct remote management configuration parameter by using the private key, returns the encrypted remote management configuration parameter to the second CPE, and sends the encrypted remote management configuration parameter to the first CPE by the second CPE. The private key is held by the remote management server; the public key is held by the CPE and is issued by the remote management server when the CPE is registered to the remote management server. Therefore, the remote management server sends the remote management configuration parameters encrypted by the private key, which not only protects the remote management configuration parameters, but also indicates that the second CPE device obtaining the remote management configuration parameters from the remote management server is a device legally registered on the remote management server, thereby verifying the legal identity of the second CPE device and further ensuring the security and reliability of the data source.
Accordingly, in some embodiments, after receiving the encrypted remote management configuration parameters sent by the second CPE, the method further comprises decrypting the encrypted remote management configuration parameters. In this step, the first CPE decrypts the encrypted remote management configuration parameters using the pre-stored public key. Because the data encrypted by the private key can only be correctly decrypted by the public key, if the first CPE can correctly decrypt and obtain the remote management configuration parameters, the data source of the remote management configuration parameters is reliable, and the data transmission is reliable.
In some embodiments, the decrypting the encrypted remote management configuration parameters comprises: and decrypting the encrypted remote management configuration parameters under the condition that the encrypted remote management configuration parameters sent by the second CPE are received within a preset time period from the broadcast of the remote management configuration parameter acquisition request. That is to say, when the first CPE broadcasts the remote management configuration parameter acquisition request, it starts to start the timer and monitors the reverse port, and if the encrypted remote management configuration parameter sent by the second CPE is received within the duration of the timer, the timer is closed, and the encrypted remote management configuration parameter is decrypted by using the pre-stored public key. It should be noted that, when the encrypted remote management configuration parameter sent by the second CPE is not received within the preset time period from the broadcast of the remote management configuration parameter obtaining request, the first CPE broadcasts the remote management configuration parameter obtaining request again. That is to say, if the first CPE does not receive the encrypted remote management configuration parameter sent by the second CPE within the duration of the timer, the request for obtaining the remote management configuration parameter is initiated again, that is, the request for obtaining the remote management configuration parameter is broadcast. As known to those skilled in the art, in the case that the remote management configuration parameter sent by the second CPE is not received within the preset time period from the broadcast of the remote management configuration parameter obtaining request, the first CPE also broadcasts the remote management configuration parameter obtaining request again.
After the first CPE is out of management, the connection between the first CPE and the remote management server can be quickly restored by using the backup remote management configuration parameters, so that the first CPE is out of management and self-restored. It should be noted that, if the connection between the remote management server and the remote management configuration parameter that is backed up still cannot be successfully established, the method for recovering the connection of the offline device may further include the following steps: and broadcasting a remote management configuration parameter acquisition request, and establishing connection with a remote management server according to the received remote management configuration parameters under the condition of receiving the remote management configuration parameters sent by the second CPE. That is, if the first CPE failed to take-off self-recovery (i.e., the first CPE still failed to connect to the management server), remote management configuration parameters may be requested from a second CPE of the same network segment to recover from the take-off status.
In some embodiments, the state of out-of-management from the remote management server includes: the number of connection failures with the remote management server is greater than or equal to a preset threshold.
In some embodiments, as shown in fig. 3, after establishing a connection with a remote management server (i.e., step 12), the method for recovering the connection of the offline device further includes the following steps: step 13, under the condition that the remote management configuration parameters of the backup do not exist locally, storing the remote management configuration parameters as the remote management configuration parameters of the backup locally; and under the condition that the remote management configuration parameters of the backup locally exist, updating the remote management configuration parameters of the backup according to the remote management configuration parameters. In this step, after the first CPE restarts and reestablishes a connection with the remote management server, the remote management configuration parameter used for successfully establishing a connection with the remote management server at present is used as a backup remote management configuration parameter, so as to be used as a basis for subsequent offline connection recovery. If the first CPE does not locally store the remote management configuration parameters of the backup, directly storing the remote management configuration parameters as the backup; and if the first CPE locally stores the backup remote management configuration parameters, updating the backup remote management configuration parameters.
An embodiment of the present invention further provides a method for recovering connection of a pipe-disconnecting device, where the method is applied to a second CPE, and as shown in fig. 4, the method for recovering connection of a pipe-disconnecting device includes the following steps:
step 21, receiving a remote management configuration parameter acquisition request broadcasted by the first CPE.
And step 22, sending the remote management configuration parameters to the first CPE under the condition that the connection state with the remote management server is normal.
In this step, the second CPE detects a connection state of the second CPE to the remote management server, and transmits remote management configuration parameters of the second CPE to the first CPE when the connection state to the remote management server is normal.
Since the second CPE cannot know whether the first CPE broadcasting the remote management configuration parameter acquisition request is a legitimate CPE, there is a risk that the second CPE directly transmits its own remote management configuration parameter to the first CPE. In order to solve the above technical problem, in some embodiments, the first CPE may carry first CPE identity information in the remote management configuration parameter acquisition request, so that the remote management server performs identity authentication on the first CPE.
Accordingly, as shown in fig. 5, in some embodiments, after receiving the request for obtaining the remote management configuration parameters broadcast by the first CPE (i.e., step 21), the method further includes the following steps:
step 31, obtaining the identity information of the first CPE from the remote management configuration parameter obtaining request, and sending the identity information of the first CPE to the remote management server.
In this step, if the second CPE receives the remote management configuration parameter acquisition request broadcast by the first CPE and acquires the identity information of the first CPE from the remote management configuration parameter acquisition request, the identity information of the first CPE is sent to the remote management server, and the remote management server verifies the validity of the identity of the first CPE. The identity information of the first CPE includes, but is not limited to: OUI (organization unique identifier), SerialNumber (serial number), ProductClass (product category), and MAC (Mandatory Access Control) address, etc.
In some embodiments, after the second CPE acquires the identity information of the first CPE from the remote management configuration parameter acquisition request, a connection state with the remote management server is detected, and in a case where the connection state with the remote management server is normal, the identity information of the first CPE is sent to the remote management server. The second CPE detects the connection state with the remote management server before requesting the remote management server to verify the identity of the first CPE, and sends the identity information of the first CPE to the remote management server when the second CPE confirms that the second CPE is normally connected with the remote management server, so that the problem that network resources are occupied when data are sent under the condition that the network connection state is poor can be avoided.
And step 32, receiving the result of passing the authentication sent by the remote management server.
And the remote management server verifies the identity information of the first CPE, and if the first CPE is confirmed to be the equipment which is successfully registered according to the identity information of the first CPE and the identity of the first CPE is legal, the result that the identity verification is passed is returned to the second CPE. After receiving the result of passing the authentication, the second CPE (i.e., the CPE receiving the remote management configuration parameter obtaining request) sends its own remote management configuration parameters to the first CPE.
It should be noted that, if the second CPE sends the identity information of the first CPE to the remote management server in step 31, but does not receive the result that the authentication passed or the result that the authentication failed, which is sent by the remote management server, indicates that the connection state between the second CPE and the remote management server is not normal, the second CPE does not send its own remote management configuration parameters to the first CPE any more.
If the remote management server confirms that the first CPE is unregistered equipment according to the identity information of the first CPE, indicating that the identity of the first CPE is illegal, the remote management server returns a result that the identity authentication is not passed to the second CPE, and accordingly, the second CPE does not respond to the remote management configuration parameter acquisition request any more, that is, does not send the own remote management configuration parameters to the first CPE.
The identity legitimacy of the first CPE is verified by using the remote management server, and the second CPE informs the second CPE of the own remote management configuration parameters under the condition that the identity of the first CPE is confirmed to be legal, so that the risk that the CPE is attacked maliciously can be reduced, and the safety and the reliability are improved.
In some embodiments, the result of passing the authentication passes carries the encrypted remote management configuration parameters, that is, if the remote management server passes the authentication of the identity information of the first CPE, the remote management server encrypts the correct remote management configuration parameters by using the private key, and carries the encrypted remote management configuration parameters in the result of passing the authentication and sends the result to the second CPE. Accordingly, the second CPE transmits the remote management configuration parameters encrypted by the remote management server to the first CPE.
In some embodiments, the second CPE sends the remote management configuration parameters encrypted by the remote management server to the first CPE. That is to say, if the second CPE receives the remote management configuration parameter acquisition request broadcast by the first CPE and the remote management configuration parameter acquisition request does not carry the identity information of the first CPE, the remote management configuration parameter acquisition request is directly forwarded to the remote management server, the remote management server does not verify the identity of the first CPE any more, the correct remote management configuration parameter is directly encrypted, the encrypted remote management configuration parameter is returned to the second CPE, and the encrypted remote management configuration parameter is sent to the first CPE by the second CPE.
The embodiment of the invention provides a method for recovering the connection of offline equipment, which relates to a TR069 protocol in the field of communication, namely a CPE WAN (Wide Area Network) management protocol, and is suitable for communication between CPE and an Auto-Configuration Server (ACS). The CPE WAN management protocol is used to implement secure auto-configuration of CPEs and other CPE management functions under a common framework.
The method for recovering the connection of the offline device, provided by the embodiment of the invention, preferentially recovers the configuration of the remote management configuration parameters successfully connected with the remote management server last time, if the remote management server cannot be connected, the first CPE tries to acquire correct remote management configuration parameters from other CPEs in the management domain in a broadcast message mode, so that the connection with the remote management server is recovered. First CPE can try to get rid of the takeoff state automatically after the takeoff, makes CPE can resume automatically under the condition that the user does not have the perception, has improved the resistance to the abnormal conditions, reduces CPE fault rate, promotes user experience, and effectively reduces the fortune dimension cost.
For the purpose of clearly illustrating the solution of the embodiment of the present invention, the following detailed description is made with reference to 4 specific examples, wherein, the CPE takes a home gateway as an example for illustration.
Fig. 6 is a schematic diagram illustrating a connection recovery process of an offline device according to a specific example, where when a first home gateway succeeds in connecting to a remote management server after a gateway is started, a local backup is performed to store current remote management configuration parameters, and a connection state between the first home gateway and the remote management server is monitored at regular time. As shown in fig. 6, the method for recovering the connection of the pipe-disconnecting equipment comprises the following steps:
and 61, when the first home gateway detects that the first home gateway is in a state of being out of management with the remote management server, locally acquiring the backed-up remote management configuration parameters.
And step 62, if the first home gateway obtains the backed-up remote management configuration parameters, restarting the home gateway.
And 63, the first home gateway reconnects the remote management server according to the backed-up remote management configuration parameters.
In the scheme, when the first home gateway is out of management, self-recovery is realized by using the backup remote management configuration parameters, so that the home gateway can recover the connection with the remote management server at the highest speed.
Fig. 7 is a schematic diagram illustrating a connection recovery process of the pipe disconnection device according to an embodiment, and as shown in fig. 7, the connection recovery method of the pipe disconnection device includes the following steps:
step 71, when the first home gateway detects that the first home gateway is in a state of being out of management with the remote management server, locally acquiring the backup remote management configuration parameters.
And step 72, if the first home gateway does not locally acquire the backed-up remote management configuration parameters, broadcasting a remote management configuration parameter acquisition request.
And appointing a port for the second home gateway to perform reverse connection in the remote management configuration parameter acquisition request, starting to monitor the reverse connection port, and starting a timer.
And 73, after receiving the remote management configuration acquisition request broadcasted by the first home gateway, the second home gateway checks the connection state between the second home gateway and the remote management server.
And step 74, when the second home gateway is in a normal connection state with the remote management server, the second home gateway sends the remote management configuration parameters of the second home gateway to the reverse connection port of the first home gateway.
Step 75, if the first home gateway receives the remote management configuration parameter within the duration of the timer, the timer is closed, and the remote management configuration parameter is applied and restarted.
The first home gateway reconnects the remote management server according to the remote management configuration parameters, step 76.
In the scheme, under the condition that the first home gateway cannot establish the connection with the remote management server through self-recovery, the first home gateway learns the remote management configuration parameters to other home gateways in the same network segment so as to recover from the offline state.
Fig. 8 is a schematic diagram illustrating a connection recovery process of the pipe disconnection device according to an embodiment, and as shown in fig. 8, the connection recovery method of the pipe disconnection device includes the following steps:
and step 81, when the first home gateway detects that the first home gateway is in a state of being out of management with the remote management server, locally acquiring the backed-up remote management configuration parameters.
And 82, if the first home gateway does not locally acquire the backed-up remote management configuration parameters, broadcasting a remote management configuration parameter acquisition request carrying the identity information of the first home gateway.
And appointing a port for the second home gateway to perform reverse connection in the remote management configuration parameter acquisition request, starting to monitor the reverse connection port, and starting a timer.
And step 83, after receiving the remote management configuration acquisition request broadcasted by the first home gateway, the second home gateway checks the connection state between itself and the remote management server.
And step 84, when the second home gateway is in a normal connection state with the remote management server, reporting the identity information of the first home gateway to the remote management server.
And step 85, the management server verifies the identity information of the first home gateway, and if and only if the identity information passes the verification, the management server sends an identity information verification passing result to the second home gateway.
And step 86, the second home gateway sends the remote management configuration parameters of the second home gateway to the reverse connection port of the first home gateway.
And 87, if the first home gateway receives the remote management configuration parameters within the duration of the timer, closing the timer, applying the remote management configuration parameters and restarting.
The first home gateway reconnects the remote management server according to the remote management configuration parameters, step 88.
In the scheme, the second home gateway requests the remote management server to verify the identity of the first home gateway, and the second home gateway shares the remote management configuration parameters of the second home gateway after confirming that the first home gateway is a legal home gateway.
Fig. 9 is a schematic diagram illustrating a connection recovery process of the pipe disconnection device according to an embodiment, and as shown in fig. 9, the connection recovery method of the pipe disconnection device includes the following steps:
step 91, when the first home gateway detects that the first home gateway is in a state of being out of management with the remote management server, locally acquiring the backed-up remote management configuration parameters.
And step 92, if the first home gateway does not locally acquire the backed-up remote management configuration parameters, broadcasting a remote management configuration parameter acquisition request, wherein the remote management configuration parameter acquisition request carries identity information of the first home gateway.
And the remote management configuration parameter acquisition request appoints a port for the second home gateway to perform reverse connection, starts monitoring the reverse connection port and starts a timer.
And step 93, after receiving the remote management configuration acquisition request broadcasted by the first home gateway, the second home gateway checks the connection state between the second home gateway and the remote management server.
And step 94, when the second home gateway is in a normal connection state with the remote management server, reporting the identity information of the first home gateway to the remote management server.
Step 95, the management server verifies the identity information of the first home gateway.
And step 96, if and only if the verification is passed, the management server encrypts the remote management configuration parameters by using a private key and sends the encrypted remote management configuration parameters to the second home gateway.
And step 97, the second home gateway sends the encrypted remote management configuration parameters to the reverse connection port of the first home gateway.
Step 98, if the first home gateway receives the encrypted remote management configuration parameters within the duration of the timer, the timer is closed, the public key is used for decrypting the encrypted remote management configuration parameters, and after decryption is successful, the decrypted remote management configuration parameters are applied and restarted.
And step 99, the first home gateway reconnects the remote management server according to the remote management configuration parameters obtained by decryption.
In the scheme, after the second home gateway requests the remote management server to verify the identity of the first home gateway, the remote management server sends the remote management configuration parameters encrypted by the private key, so that the remote management configuration parameters are protected, the legal identity of the second home gateway is verified, and the safety and reliability of a data source are further ensured.
Based on the same technical concept, an embodiment of the present invention further provides a client front-end device, as shown in fig. 10, where the client front-end device includes an obtaining module 101 and a connecting module 102, and the obtaining module 101 is configured to obtain a remote management configuration parameter in a state of being offline from a remote management server.
The connection module 102 is configured to establish a connection with the remote management server according to the remote management configuration parameter.
The obtaining module 101 is configured to obtain the remote management configuration parameters from a local location when the remote management configuration parameters have a local backup; or under the condition that the remote management configuration parameters do not have backup locally, broadcasting a remote management configuration parameter acquisition request and receiving the remote management configuration parameters sent by the second CPE.
In some embodiments, the obtaining module 101 is configured to receive the encrypted remote management configuration parameters sent by the second CPE.
In some embodiments, the obtaining module 101 is further configured to decrypt the encrypted remote management configuration parameters after receiving the encrypted remote management configuration parameters sent by the second CPE.
In some embodiments, as shown in fig. 11, the client front-end device further includes a storage module 103, where the storage module 103 is configured to, after establishing a connection with the remote management server, store the remote management configuration parameters as backup remote management configuration parameters locally in a case that there is no backup remote management configuration parameters locally; and under the condition that the remote management configuration parameters of the backup locally exist, updating the remote management configuration parameters of the backup according to the remote management configuration parameters.
In some embodiments, the state of being out of management with the remote management server includes: and the number of times of connection failure with the remote management server is greater than or equal to a preset threshold value.
Based on the same technical concept, an embodiment of the present invention further provides a customer premises equipment, as shown in fig. 12, the customer premises equipment includes a receiving module 201, a processing module 202, and a sending module 203, where the receiving module 201 is configured to receive a remote management configuration parameter acquisition request broadcast by a first CPE.
The processing module 202 is configured to instruct the sending module 203 to send the remote management configuration parameters to the first CPE when the connection state with the remote management server is normal.
In some embodiments, the processing module 202 is further configured to obtain the identity information of the first CPE from the remote management configuration parameter obtaining request, and send the identity information of the first CPE to the remote management server.
The receiving module 201 is further configured to receive a result that the identity authentication sent by the remote management server passes.
In some embodiments, the sending module 203 is configured to send the remote management configuration parameters encrypted by the remote management server to the first CPE.
An embodiment of the present invention further provides a computer device, where the computer device includes: one or more processors and storage; the storage device stores one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method for recovering the connection of the offline device, which is provided by the foregoing embodiments.
The embodiment of the present invention further provides a computer readable medium, on which a computer program is stored, where the computer program is executed to implement the method for recovering the connection of the pipe-out-of-pipe equipment provided in the foregoing embodiments.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, functional modules/units in the apparatus, disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as is well known to those skilled in the art.
Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a generic and descriptive sense only and not for purposes of limitation. In some instances, features, characteristics and/or elements described in connection with a particular embodiment may be used alone or in combination with features, characteristics and/or elements described in connection with other embodiments, unless expressly stated otherwise, as would be apparent to one skilled in the art. It will, therefore, be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the invention encompassed by the appended claims.

Claims (12)

1. A method for recovering the connection of an off-pipe device is applied to a first Customer Premise Equipment (CPE) and comprises the following steps:
acquiring remote management configuration parameters under the state of being offline from a remote management server;
establishing connection with the remote management server according to the remote management configuration parameters;
wherein, the obtaining of the remote management configuration parameter includes:
under the condition that the remote management configuration parameters have local backup, the remote management configuration parameters are obtained from the local;
and under the condition that the remote management configuration parameters do not have backup locally, broadcasting a remote management configuration parameter acquisition request, and receiving the remote management configuration parameters sent by the second CPE.
2. The method of claim 1, wherein the receiving the remote management configuration parameters sent by the second CPE comprises:
and receiving the encrypted remote management configuration parameters sent by the second CPE.
3. The method of claim 2, wherein after receiving the encrypted remote management configuration parameters sent by the second CPE, further comprising:
and decrypting the encrypted remote management configuration parameters.
4. The method of claim 1, wherein after establishing a connection with the remote management server, further comprising:
under the condition that the remote management configuration parameters of the backup do not exist locally, storing the remote management configuration parameters as the remote management configuration parameters of the backup locally;
and under the condition that the remote management configuration parameters of the backup locally exist, updating the remote management configuration parameters of the backup according to the remote management configuration parameters.
5. The method of any of claims 1-4, wherein the state of being unmanaged from the remote management server comprises:
the number of connection failures with the remote management server is greater than or equal to a preset threshold.
6. An off-pipe equipment connection recovery method applied to a second Customer Premises Equipment (CPE), wherein the method comprises the following steps:
receiving a remote management configuration parameter acquisition request broadcast by a first CPE;
and sending remote management configuration parameters to the first CPE under the condition that the connection state with the remote management server is normal.
7. The method of claim 6, wherein after receiving the remote management configuration parameter acquisition request, further comprising:
acquiring identity information of a first CPE from the remote management configuration parameter acquisition request, and sending the identity information of the first CPE to the remote management server;
and receiving the result of passing the authentication sent by the remote management server.
8. The method of claim 6 or 7, wherein sending the remote management configuration parameters to the first CPE comprises:
and sending the remote management configuration parameters encrypted by the remote management server to the first CPE.
9. The client front-end equipment comprises an acquisition module and a connection module, wherein the acquisition module is used for acquiring remote management configuration parameters in a state of being out of management with a remote management server;
the connection module is used for establishing connection with the remote management server according to the remote management configuration parameters;
the obtaining module is used for obtaining the remote management configuration parameters from the local area under the condition that the remote management configuration parameters have backup locally; or under the condition that the remote management configuration parameters do not have backup locally, broadcasting a remote management configuration parameter acquisition request, and receiving the remote management configuration parameters sent by the second CPE.
10. The customer premises equipment is characterized by comprising a receiving module, a processing module and a sending module, wherein the receiving module is used for receiving a remote management configuration parameter acquisition request broadcasted by a first CPE;
the processing module is configured to instruct the sending module to send the remote management configuration parameter to the first CPE when a connection state with the remote management server is normal.
11. A computer device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method for rehabilitating a connection to a extubation device of any of claims 1-8.
12. A computer-readable medium, on which a computer program is stored, wherein the program, when executed, implements the method of rehabilitating a connection to a piece of pipe-break equipment according to any of claims 1 to 8.
CN202011631586.3A 2020-12-31 2020-12-31 Method and device for recovering connection of pipe-disconnecting equipment, computer equipment and readable medium Pending CN114765573A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011631586.3A CN114765573A (en) 2020-12-31 2020-12-31 Method and device for recovering connection of pipe-disconnecting equipment, computer equipment and readable medium
PCT/CN2021/141512 WO2022143490A1 (en) 2020-12-31 2021-12-27 Connection recovery method and apparatus for detached device, computer device, and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011631586.3A CN114765573A (en) 2020-12-31 2020-12-31 Method and device for recovering connection of pipe-disconnecting equipment, computer equipment and readable medium

Publications (1)

Publication Number Publication Date
CN114765573A true CN114765573A (en) 2022-07-19

Family

ID=82260201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011631586.3A Pending CN114765573A (en) 2020-12-31 2020-12-31 Method and device for recovering connection of pipe-disconnecting equipment, computer equipment and readable medium

Country Status (2)

Country Link
CN (1) CN114765573A (en)
WO (1) WO2022143490A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2656577B1 (en) * 2010-12-23 2019-02-27 Koninklijke KPN N.V. Method, computer-readable medium, gateway device, and network system for configuring a device in a local area network
CN106303429B (en) * 2016-08-17 2019-07-16 浙江宇视科技有限公司 Remote configuring method and device
CN111510326B (en) * 2020-04-08 2023-08-08 普联技术有限公司 Master-slave device configuration information synchronization method, system, terminal device and storage medium
CN112039760B (en) * 2020-08-31 2022-08-02 杭州叙简科技股份有限公司 Automatic data recovery system and method for gateway of Internet of things

Also Published As

Publication number Publication date
WO2022143490A1 (en) 2022-07-07

Similar Documents

Publication Publication Date Title
US11516177B1 (en) Detecting and remediating non-responsive customer premise equipment
US7272649B1 (en) Automatic hardware failure detection and recovery for distributed max sessions server
US7898939B2 (en) Scalable and robust mechanism for remote IP device monitoring with changing IP address assignment
US9210646B2 (en) Back-up path for in-home diagnostics and other communications
US9210463B2 (en) Network autodiscovery as a lever to decorrelated service activation through event driven architecture
US7869369B2 (en) Cable modem location analyzing device
US20070276943A1 (en) Prevention of Cloning Attacks in a DOCSIS Network
US20130166737A1 (en) Duplicate ip address detection by a dhcp relay agent
CN108134713B (en) Communication method and device
US10855734B2 (en) Remote management of devices
CN109104475B (en) Connection recovery method, device and system
EP1940054A2 (en) System for receiving and storing broadcast content, and device for reception and storage
WO2014110911A1 (en) Fault processing method and apparatus in iptv system
CN106412498B (en) monitoring data acquisition method and cloud terminal
CN101656712B (en) Method for recovering IP session, network system and network edge device
CN109525620B (en) Message pushing system, method and device
US8495371B2 (en) Network device authentication
CN114765573A (en) Method and device for recovering connection of pipe-disconnecting equipment, computer equipment and readable medium
CN107835099B (en) Information synchronization method and device
KR102070275B1 (en) Remote management of devices
Cisco Advanced Configurations
US20010052020A1 (en) Control system for network servers
CN106506495B (en) Terminal online control method and device
CN112737949A (en) Fault detection method and device, electronic equipment and computer readable medium
CN118138805B (en) IPTV network-based network management and control method and device, set top box and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination