Abnormal recovery and aggregation network establishment method, communication equipment, server and medium
By establishing an aggregation network between communication devices, allowing exception recovery parameters to be obtained from other member communication devices when the server is unreachable, the problem of communication device abnormal recovery depends on the server is solved, and the system reliability is improved.
Patent Information
- Application Number
- CN202011485744.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-16
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2040-12-16
AI Technical Summary
In the prior art, abnormal recovery of communication devices is completely dependent on the server. If the remote communication device cannot connect to the server or the server is incomplete or busy, the exception cannot be repaired.
By receiving the aggregate network information sent by the server, an aggregate network is established, and when an exception occurs, an exception recovery parameter is obtained from other member communication devices in the aggregate network for repair.
It realizes that when the communication device cannot connect to the server or the server fails, abnormal recovery is completed through the aggregate network, improving the reliability of the system and abnormal repair.
Smart Images

Figure CN114710402B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to, but are not limited to, the field of communications, and specifically, relate to, but are not limited to, an abnormal recovery and aggregation network establishment method, a communication device, a server, and a medium. Background Art
[0002] Generally speaking, when a communication device is remotely controlled, the abnormal recovery of the communication device is completely dependent on the server. If the network between the remote communication device and the server is interrupted, or the server itself fails, or the server is too busy to respond to the abnormal recovery request of the communication device, the abnormality of the communication device cannot be repaired. Summary of the invention
[0003] The embodiments of the present invention provide an abnormal recovery and aggregation network establishment method, communication equipment, server and medium, which mainly solve the technical problem of: solving the problem that the abnormal recovery of the communication equipment in the related technology depends on the server.
[0004] In order to solve the above technical problems, an embodiment of the present invention provides an abnormality recovery method, comprising:
[0005] Receiving aggregated networking information sent by a server, the aggregated networking information including: device connection information of each member communication device; when an abnormality is detected, sending an abnormality recovery request to at least one other member communication device in the aggregated network through an aggregated network established with at least one other member communication device based on the device connection information;
[0006] Receive abnormality recovery parameters sent by other member communication devices according to the abnormality recovery request, and perform abnormality recovery according to the abnormality recovery parameters.
[0007] To solve the above technical problems, an embodiment of the present invention provides a method for establishing an aggregate network, comprising: obtaining device information of each communication device connected to itself for communication; determining aggregate networking information based on the device information of each communication device, wherein the aggregate networking information includes: device connection information of each member communication device; sending the aggregate networking information to each member communication device so that each member communication device can establish an aggregate network based on the device connection information; and when an abnormality occurs to a member communication device, the aggregate network obtains abnormality recovery parameters from at least one other member communication device in the aggregate network.
[0008] An embodiment of the present invention also provides a communication device, including a first processor, a first memory and a first communication bus; the first communication bus is used to realize the connection and communication between the first processor and the first memory; the first processor is used to execute one or more first computer programs stored in the first memory to implement the steps of the above-mentioned abnormal recovery method.
[0009] An embodiment of the present invention also provides a server, including a second processor, a second memory and a second communication bus; the second communication bus is used to realize the connection communication between the second processor and the second memory; the second processor is used to execute one or more second computer programs stored in the second memory to implement the steps of the aggregation network establishment method as described above.
[0010] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more first computer programs, and the one or more first computer programs can be executed by one or more first processors to implement the steps of the above-mentioned abnormality recovery method;
[0011] and / or,
[0012] The computer-readable storage medium stores one or more second computer programs, and the one or more second computer programs can be executed by one or more first processors to implement the steps of the above-mentioned method for establishing a converged network.
[0013] According to the abnormal recovery and aggregate network establishment method, communication equipment, server and medium provided by the embodiments of the present invention, the server can determine the member communication equipment that can establish an aggregate network from the communication equipment connected to itself for communication, and send aggregate networking information to these member communication equipment; the corresponding member communication equipment can establish an aggregate network according to the device connection information in the aggregate networking information, and when a member communication equipment of the aggregate network is abnormal, it can obtain abnormal recovery parameters from at least one other member communication equipment in the aggregate network to perform abnormal repair without relying on a remotely connected server; therefore, even if a member communication equipment cannot connect to the server or the server fails or is busy, it can complete the abnormal recovery through other member communication equipment in the aggregate network where it is located, which has better reliability and enriches the methods for repairing communication equipment abnormalities.
[0014] Other features and corresponding beneficial effects of the present invention are described in the latter part of the specification, and it should be understood that at least part of the beneficial effects become obvious from the description in the specification of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 The steps of the method for establishing a converged network provided in the first embodiment of the present invention;
[0016] Figure 2 A schematic diagram of a process flow of an abnormality recovery method provided in Embodiment 1 of the present invention;
[0017] Figure 3 A schematic diagram of the structure of an apparatus for establishing a converged network provided in Embodiment 2 of the present invention;
[0018] Figure 4 A schematic diagram of the structure of an abnormality recovery device provided in Embodiment 2 of the present invention;
[0019] Figure 5 A schematic diagram of the process of establishing and recovering from an abnormality in a converged network provided in the second embodiment of the present invention;
[0020] Figure 6 A schematic diagram of another aggregation network establishment and abnormal recovery process provided in the second embodiment of the present invention;
[0021] Figure 7 A schematic diagram of the structure of a communication device provided in Embodiment 3 of the present invention;
[0022] Figure 8 This is a schematic diagram of the structure of a server provided in Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the following is a further detailed description of the embodiments of the present invention through specific implementation methods combined with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0024] Embodiment 1:
[0025] In order to solve the problem that the abnormal recovery of existing communication equipment is highly dependent on the server to which it is remotely connected, the abnormality of the communication equipment cannot be recovered when the communication equipment cannot be remotely connected to the server or the server fails or the server is busy. This embodiment provides a method for establishing and recovering an aggregate network. The server can determine the member communication devices that can establish an aggregate network from the communication devices connected to itself, and send aggregate networking information to these member communication devices; the corresponding member communication devices can establish an aggregate network according to the device connection information in the aggregate networking information, and when the member communication devices of the aggregate network are abnormal, they can obtain abnormal recovery parameters from other member communication devices in the aggregate network to repair the abnormality without relying on the remotely connected server; therefore, even if the member communication device cannot be connected to the server or the server fails or is busy, the abnormal recovery can be completed through other member communication devices in the aggregate network where it is located, which has better reliability and enriches the way of repairing the abnormality of the communication device. For ease of understanding, this embodiment is illustrated from the server side and the communication device side respectively.
[0026] On the server side, the server can control the establishment of the converged network. In one example, the method for establishing the converged network executed by the server can be found in Figure 1 As shown, it includes but is not limited to:
[0027] S101: Acquire device information of each communication device connected to the communication device itself.
[0028] It should be understood that the present embodiment does not limit the connection mode for establishing a communication connection between the communication device and the server, and the type of the communication device. For example, the communication device may be various user terminals on the user side, or may be some communication devices on the network side.
[0029] In this embodiment, when the server obtains the device information of each communication device connected to itself, it can interact with the communication device multiple times to obtain the device information of the communication device, or it can interact with the communication device once to obtain the device information of the communication device, and the content included in the acquired communication device information can be flexibly set according to the subsequent determination of the aggregate networking information and the need to establish an aggregate network between communication devices.
[0030] S102: Determine aggregate networking information according to device information of each communication device; the determined aggregate networking information includes: device connection information of each member communication device as a networking member.
[0031] In this step, after the server obtains the device information of each communication device, it determines which communication devices can form an aggregate network based on the set aggregation principle according to the acquired device information. It should be understood that the aggregation principle in this embodiment can be flexibly set according to demand. For example, the aggregation rule can be determined based on at least one of the type of communication device, the address segment to which the network address of the communication device belongs, and the service type of the communication device. For example, in an application scenario, the acquired device information of the communication device may include but is not limited to the network address and gateway information of the communication device. The aggregation rule used to determine the aggregated networking information based on the device information of each communication device may include but is not limited to:
[0032] According to the gateway information of each communication device, each communication device whose network address is in the same network address segment is used as a member communication device in the aggregation network.
[0033] For example, in some other examples, the acquired device information of the communication device may include but is not limited to the network address, gateway information, and type of the communication device. The aggregation rules used to determine the aggregated networking information based on the device information of each communication device may include but are not limited to:
[0034] According to the gateway information of each communication device, each communication device whose network address is in the same network address segment and whose communication device type is the same is used as a member communication device in the aggregation network.
[0035] It can be seen that the aggregation rules in this embodiment can be flexibly set as long as the determined networking members can establish an intranet communication connection of the aggregation network, and are not limited to the aggregation rules illustrated in the above two examples.
[0036] In this embodiment, the aggregated networking information determined by the server includes: device connection information of each member communication device as a networking member, so that each member communication device as a networking member can directly or indirectly establish a communication connection with each other through the device connection information.
[0037] S103: Send the aggregated networking information to each member communication device, so that each member communication device can establish an aggregated network according to the device connection information.
[0038] In this embodiment, each member communication device establishes an aggregation network according to the device connection information, so that when a member communication device of the aggregation network fails, the member communication device can obtain an exception recovery parameter from other member communication devices in the aggregation network to perform exception recovery.
[0039] It should be understood that in this embodiment, after the server obtains the device information of each communication device, in the process of determining the aggregated networking information according to the device information of each communication device, the server can unilaterally and directly determine the networking members of the aggregated network according to the acquired device information, or it can negotiate with the corresponding communication device and determine the final networking members according to the negotiation results. And in some application scenarios, when the server sends the aggregated networking information to the communication devices in the aggregated network, it can be sent to the communication devices uniformly after the networking members are determined; when it is determined that the networking members need to be negotiated with the communication devices, it can also be sent gradually during the negotiation process.
[0040] In one embodiment, in order to improve the security and reliability of networking, the server may also use a preset verification algorithm to generate network connection security authentication information for each networking member in the aggregated network, and send it to each member communication device, so that each member communication device can perform network connection authentication according to the network connection security authentication information during the process of establishing an intranet connection of the aggregated network.
[0041] It should be understood that in this embodiment, the verification algorithm used by the server can be flexibly selected, for example, it can use but is not limited to HMAC (Hash-based Message Authentication Code), MD5 (MD5Message-Digest Algorithm) and other one-way security verification algorithms.
[0042] It should be understood that in this embodiment, the server can generate corresponding network connection security authentication information for each member communication device, that is, the network connection security authentication information corresponding to different member communication devices can be different. In other application examples, the server can also generate only one network connection security authentication information for use by each member communication device.
[0043] In this embodiment, on the device side, the communication device recommends aggregate networking and performs the abnormal recovery method. Figure 2 As shown, it includes but is not limited to:
[0044] S201: Receive aggregate networking information sent by a server, where the aggregate networking information includes: device connection information of each member communication device.
[0045] In this embodiment, the server can send aggregate networking information to each member communication device via broadcast or point-to-point mode, and the aggregate networking information includes at least the device connection information required for each member communication device to establish an aggregate network, such as the network address of each member communication device. In one embodiment, when the network address cannot uniquely identify a communication device, it may also include a unique identification identifier of each communication device, such as the MAC (Media Access Control Address) of the communication device.
[0046] S202: When an abnormality is detected, an abnormality recovery request is sent to at least one other member communication device in the aggregate network through the aggregate network established with at least one other member communication device based on the acquired device connection information.
[0047] In this step, after the member communication device establishes an aggregate network with other member communication devices in the aggregate network (it can be with some of the other member communication devices or with all other member communication devices, which can be flexibly set according to application requirements), the member communication devices in the aggregate network can communicate directly or indirectly. In this embodiment, there is no restriction on the communication method used to establish a communication connection between the member communication devices.
[0048] In this step, it is not limited to sending an abnormality recovery request to at least one other member communication device in the aggregated network through the aggregated network established with at least one other member communication device based on the acquired device connection information when an abnormality is detected. It is also possible to send an abnormality recovery request to at least one other member communication device in the aggregated network through the aggregated network established with at least one other member communication device based on the acquired device connection information when an abnormality recovery instruction is received. For example, when an abnormality occurs in a member communication device, an abnormality recovery request can be sent to at least one other member communication device in the aggregated network where the member communication device is located through the aggregated network established in S202. The specific member communication devices in the aggregated network to which the abnormality recovery request is sent can be flexibly set. For example, it can be sent to other member communication devices adjacent to itself in the aggregated network according to the principle of proximity, or it can be sent randomly to at least one other member communication device in the aggregated network, or it can be sent to at least one other member communication device of the same type as itself in the aggregated network, or it can be sent to all other member communication devices in the aggregated network, etc.
[0049] In one embodiment, the abnormality recovery request sent by the member communication device may include abnormality type indication information, such as memory abnormality, network speed abnormality, or other abnormality type indication information. In this way, after receiving the abnormality recovery request, other member communication devices in the collective network can feedback corresponding abnormality recovery parameters according to the abnormality type indication information. Of course, in some examples, the abnormality recovery request sent by the member communication device may not include the abnormality type indication information. In this case, after receiving the abnormality recovery request, other member communication devices in the collective network can send all their own parameters that can be used for abnormal repair or parameters determined according to preset rules to the communication device of the requesting party.
[0050] S203: receiving abnormality recovery parameters sent by other member communication devices according to the abnormality recovery request, and performing abnormality recovery according to the abnormality recovery parameters.
[0051] In this step, after receiving the abnormal recovery parameters sent by other member communication devices in the same aggregation network, the member communication device can perform abnormal recovery according to the received abnormal recovery parameters, without having to rely on the remotely connected server; therefore, even if the member communication device cannot connect to the server or the server fails or is busy, it can complete abnormal recovery through other member communication devices in the aggregation network where it is located, which has better reliability and enriches the abnormal repair methods of communication devices.
[0052] In one embodiment, the member communication device may also perform abnormal recovery in conjunction with the server. For example, in one application scenario, before the member communication device sends an abnormal recovery request to at least one communication device through the aggregation network, it also includes:
[0053] When a member communication device determines that the network connection with the server is normal, it first sends an exception recovery request to the server; if it receives an exception recovery parameter sent by the server according to the exception recovery request and completes the exception recovery according to the exception recovery parameter, it is no longer necessary to send an exception recovery request to at least one other member communication device through the aggregate network connection.
[0054] For example, in another application scenario, after a member communication device malfunctions, it may first send an abnormality recovery request to at least one other member communication device through the aggregation network, and when it receives abnormality recovery parameters sent by other member communication devices according to the abnormality recovery request and completes abnormal recovery according to the abnormality recovery parameters, it is no longer necessary to send an abnormality recovery request to the server; when abnormal recovery according to the abnormality recovery parameters sent by other member communication devices fails, it may send an abnormality recovery request to the server again, and then receive the abnormality recovery parameters sent by the server according to the abnormality recovery request, and complete abnormal recovery according to the abnormality recovery parameters.
[0055] In the above two examples, the member communication device where an abnormality occurs can be combined with the server and other member communication devices in the aggregation network to perform abnormal recovery, which can further improve the success rate and reliability of abnormal recovery.
[0056] In one embodiment, the device connection information included in the aggregated networking information sent by the server may include but is not limited to: the network address of the communication device and the network connection security authentication information; the establishment of an aggregated network with at least one other member communication device in the aggregated networking information based on the device connection information may include but is not limited to:
[0057] A connection request is sent to the corresponding member communication device according to the network address, and the connection request includes network connection security authentication information for the member communication device to perform connection authentication; the communication device that receives the connection request performs authentication according to the network connection security authentication information, and if the authentication is successful, a communication connection is established with the member communication device that sent the connection request, otherwise, a communication connection is not established with it, thereby ensuring the security and reliability of the connection.
[0058] In one embodiment, before sending the abnormal recovery request to at least one other member communication device in the aggregation network in the above step S202, the following may also be included:
[0059] Before detecting an abnormality, when detecting that a preset aggregation network establishment condition is triggered, an aggregation network is established with at least one other member communication device in the aggregation network according to the acquired device connection information; the aggregation network establishment condition may include but is not limited to at least one of the following:
[0060] Member communication devices cannot connect to the server;
[0061] The member communication device receives an instruction to establish an aggregate network; the aggregate network instruction may be issued by a user or an administrator, or may be issued by a server;
[0062] or,
[0063] When a member communication device detects an abnormality and detects that it has not currently established an aggregate network with other member communication devices, it establishes an aggregate network with at least one other member communication device in the aggregate network according to the acquired device connection information.
[0064] In one embodiment, the received abnormal recovery parameter includes a second operating parameter of at least one other member communication device; the abnormal member communication device having an abnormality performs abnormal recovery according to the abnormal recovery parameter sent by other member communication devices in the aggregation network, which may include:
[0065] The communication device where an abnormality has occurred compares each first sub-operation parameter in its own first operating parameter with each second sub-operation parameter included in the second operating parameter, and selects the abnormal first sub-operation parameter and the normal second sub-operation parameter corresponding to the abnormal first sub-operation parameter; then replaces the abnormal first sub-operation parameter with the normal second sub-operation parameter, thereby completing the repair of the abnormality.
[0066] In one embodiment, the normal second sub-operation parameter corresponding to the abnormal first sub-operation parameter may include but is not limited to:
[0067] When an abnormal first sub-operating parameter corresponds to multiple second sub-operating parameters from multiple other member communication devices, these multiple second sub-operating parameters are compared, and a second sub-operating parameter with a consistency level greater than or equal to a consistency level threshold is selected from the comparison results as the normal second sub-operating parameter corresponding to the abnormal first sub-operating parameter.
[0068] In one embodiment, before replacing the abnormal first sub-operation parameter with the normal second sub-operation parameter, the method may further include: sending the normal second sub-operation parameter to at least one target communication device that sends the normal second sub-operation parameter;
[0069] After receiving the response confirmation notification sent by the target communication device after determining that the normal second sub-operation parameter is correct, it indicates that the normal second sub-operation parameter is the parameter for normal operation in the target communication device. At this time, the first sub-operation parameter that is inconsistent with the normal second sub-operation parameter can be replaced with the normal second sub-operation parameter; thereby completing the repair of the abnormality.
[0070] For example, the abnormal recovery request sent by the member communication device with an abnormality includes an abnormality in the A module of the indicating communication device. Then the other member communication devices that receive the abnormal recovery request send the operating parameters of the corresponding A module to the communication device with the abnormality as abnormal recovery parameters. Assuming that there are 100 corresponding operating parameters when the A module of the member communication device is operating normally, the second operating parameters included in the abnormal recovery parameters include 100 second sub-operation parameters; the abnormal member communication device extracts the first operating parameter corresponding to the current corresponding A module, and compares each first sub-operation parameter included in the first operating parameter with the corresponding sub-operation parameter in the 100 second sub-operation parameters included in the second operating parameter. If they are consistent, it means that there is no problem, and if they are inconsistent, it means that it may be an abnormal first sub-operation parameter that needs to be repaired and causes the abnormality; in some examples, the abnormal first sub-operation parameter can be directly replaced with the corresponding normal second sub-operation parameter, but in order to ensure the accuracy of the repair, in this embodiment, the normal second sub-operation parameter is sent to the member communication device of the normal second sub-operation parameter, and after the member communication device confirms that there is no problem, the abnormal first sub-operation parameter that needs to be repaired is replaced with the normal second sub-operation parameter. The above process is performed for each pair of inconsistent first sub-operation parameters and second sub-operation parameters until all inconsistent first sub-operation parameters and second sub-operation parameters are processed. In one embodiment, when a first sub-operation parameter does not have a corresponding second sub-operation parameter, it may indicate that the first sub-operation parameter is redundant and can be deleted; when a second sub-operation parameter does not have a corresponding first sub-operation parameter, it may indicate that the second sub-operation parameter is missing, and the second sub-operation parameter can be operated according to the above example.
[0071] In one embodiment, when an abnormal communication device sends an abnormal recovery request to multiple communication devices in the aggregation network, it may receive abnormal repair parameters fed back by multiple communication devices. At this time, in this example, sending the normal second sub-operation parameter corresponding to the inconsistent abnormal first sub-operation parameter to at least one target communication device may include but is not limited to:
[0072] When the abnormal first sub-operation parameter corresponds to multiple second sub-operation parameters, at least one second sub-operation parameter whose consistency degree is greater than or equal to the set consistency degree threshold among the multiple second sub-operation parameters is used as a normal second sub-operation parameter, and the normal second sub-operation parameter is sent to the target communication device that sent the normal second sub-operation parameter. The consistency degree threshold in this embodiment can be flexibly set according to application requirements, for example, it can be set to 45%-80%, for example, it can be set to 45%, 50%, 60%, 70% or 80%, etc., which can further improve the efficiency and success rate of fault recovery.
[0073] For example, following the above example, assuming that for a certain first sub-operation parameter Ai, there is a corresponding second sub-operation parameter Ai in the abnormal recovery parameters fed back by multiple member communication devices, and when it is inconsistent with the first sub-operation parameter Ai, a second sub-operation parameter Ai with a consistency greater than or equal to a set consistency threshold is selected from the multiple second sub-operation parameters Ai as a normal second sub-operation parameter, and the normal second sub-operation parameter is sent to the target communication device that sent the normal second sub-operation parameter. When there are multiple target communication devices, the abnormal member communication device can replace the corresponding abnormal first sub-operation parameter Ai with the normal second sub-operation parameter Ai of the member communication device that first feeds back a response confirmation; or the second sub-operation parameter Ai of one member communication device can be selected randomly or according to the same priority rule of communication device type from each member communication device that feeds back a response confirmation, and replace the corresponding abnormal first sub-operation parameter Ai.
[0074] The exception repair method provided in this embodiment is that the communication equipment connected to the server can establish an aggregate network according to the control of the server, and when a member communication equipment in the aggregate network is abnormal, it can obtain exception recovery parameters from other member communication equipment in the aggregate network to perform fault recovery. The abnormal recovery no longer depends on the server, the success rate and reliability of the abnormal recovery are better, and the abnormal recovery methods are more flexible and rich.
[0075] Embodiment 2:
[0076] This embodiment provides a device for establishing a converged network, which can be set on but not limited to a server. Figure 3 As shown, it includes but is not limited to:
[0077] The information acquisition module 301 is used to acquire the device information of each communication device connected to itself for communication; the specific acquisition method is shown in the above embodiment and will not be repeated here.
[0078] The control module 302 is used to determine the aggregated networking information according to the device information of each communication device. The specific determination method is shown in the above example. The determined aggregated networking information includes: the device connection information of each member communication device.
[0079] The information sending module 303 is used to send the aggregation networking information to each member communication device so that each member communication device can establish an aggregation network according to the device connection information; when a member communication device of the established aggregation network is abnormal, the abnormal recovery parameters are obtained from other member communication devices in the aggregation network.
[0080] This embodiment also provides an abnormal recovery device, which can be set on but not limited to a communication device, see Figure 4 As shown, it includes but is not limited to:
[0081] The information receiving module 401 is used to receive the aggregated networking information sent by the server, wherein the aggregated networking information includes: device connection information of each member communication device;
[0082] A connection module 402, configured to establish an aggregate network with at least one other member communication device in the aggregate networking information according to the device connection information;
[0083] The exception handling module 403 is used to send an exception recovery request to at least one other member communication device through the aggregation network when an exception is detected; and receive exception recovery parameters sent by other member communication devices according to the exception recovery request, and perform exception recovery according to the exception recovery parameters.
[0084] The aggregate network establishment device in this embodiment can determine the member communication devices that can establish an aggregate network from the communication devices that communicate with the server, and send aggregate networking information to these member communication devices; the abnormal recovery device in the corresponding member communication device can establish an aggregate network according to the device connection information in the aggregate networking information, and when the communication device is abnormal, it can obtain abnormal recovery parameters from other member communication devices in the aggregate network to repair the abnormality without relying on the remotely connected server; therefore, even if the member communication device cannot connect to the server or the server fails or is busy, it can complete the abnormal recovery through other member communication devices in the aggregate network, which has better reliability and enriches the communication device abnormality repair methods. This process can be seen in Figure 5 As shown, it includes but is not limited to:
[0085] S501: The communication device is registered on a remote server.
[0086] S502: The server obtains device information such as the network address and gateway information of the device through the network data packet of the communication device.
[0087] S503: The server aggregates the communication devices in the unified network address segment as member communication devices in the aggregated network, and obtains aggregated networking information.
[0088] S504: The server sends the aggregation networking information to each member communication device in the aggregation network.
[0089] S505: The server defines the authentication code (ie, network connection security authentication information) of each member communication device in the aggregation network according to the algorithm, and sends the authentication code to each member communication device in the aggregation network.
[0090] S506: When an abnormality occurs in a member communication device in the aggregation network, the member communication device sends an abnormality recovery request to at least one other member communication device in the aggregation network through the aggregation network established with at least one other member communication device based on the acquired device connection information.
[0091] S507: The member communication device that has an abnormality in the aggregation network receives an abnormality recovery parameter sent by other member communication devices, and performs self-diagnosis recovery according to the abnormality recovery parameter.
[0092] In one implementation, based on the above-mentioned embodiment, this embodiment is described below by taking the determination of network members in the aggregation network through negotiation between the server and the communication device, and the abnormal recovery process as an example. Figure 6 As shown, it includes but is not limited to:
[0093] S601: After being powered on, a communication device (in one application scenario, the communication device may be, but is not limited to, an edge device in a network) reports device attribute information to a remote server (eg, a management server).
[0094] The device attribute information may include but is not limited to the model, name, unique identification, geographic location information, etc. of the device.
[0095] S602: After starting, the communication device sends a UDP (User Datagram Protocol) data packet to report to the server.
[0096] S603: After receiving the device attribute information and the UDP data packet, the server identifies the network address and gateway information of the communication device.
[0097] S604: The server selects the communication devices in the same network address segment according to the gateway information and network address segment of each communication device as member communication devices in an aggregate network.
[0098] S605: The server sends the device information of each communication device in the aggregation network (which may include but is not limited to at least one of the above-mentioned device attribute information and network address and gateway information) to each member communication device in the aggregation network.
[0099] S606: After receiving the device information of other member communication devices, the member communication device in the aggregation network replies to the server whether to join the aggregation network.
[0100] S607: The server sends the network address and network connection security authentication information of each member communication device to each member communication device that confirms joining the aggregation network according to the results returned by each member communication device.
[0101] S608: After receiving the network connection security authentication information and the network addresses of other member communication devices, the member communication device performs connection authentication on other member communication devices and feeds back the connection authentication result to the server.
[0102] S609: The server determines the member communication devices that eventually serve as network members in the aggregation network according to the received authentication result, and sends the composition result to the member communication devices that eventually serve as network members again.
[0103] S610: The member communication device that eventually serves as a network member eventually saves the networking member relationship within the aggregation network on the device side according to the composition result.
[0104] S611: In one embodiment, after the server completes the determination of the aggregate network, it may send the final determined aggregate networking information again to the member communication devices that eventually become members of the network. This step may not be performed.
[0105] S612: When a member communication device in the aggregation network cannot connect to a remote server, or the server issues an aggregation network establishment instruction to request an aggregation network intranet connection mechanism, the member communication device in the aggregation network initiates an aggregation network connection emergency mechanism.
[0106] S613: The member communication devices in the aggregation network sequentially connect to the remaining communication devices according to the networking member relationship in the aggregation network in S610.
[0107] S614: After receiving the connection request, the member communication device in the aggregation network performs a legal verification of the connection request according to the network connection security authentication information.
[0108] S615: After the connection request is verified to be legitimate based on the network connection security authentication information, a connection relationship is established.
[0109] S616: Once an abnormality occurs in a member communication device in the aggregation network, such as but not limited to excessive CPU and memory usage, slow network uplink and downlink speeds, and an operation error in a module of the device, an abnormality recovery request is sent to other member communication devices in the aggregation network to request correct device operating parameters.
[0110] S617: Other member communication devices in the aggregation network feed back corresponding operating parameters on their own devices as abnormality recovery parameters to the abnormal member communication device according to the received abnormality recovery request.
[0111] S618: The abnormal member communication device receives the abnormal recovery parameters sent by other member communication devices and performs self-diagnosis and abnormal recovery work according to the received abnormal recovery parameters.
[0112] For example, in one example, the abnormal member communication device matches each second sub-operation parameter in the abnormal recovery parameter sent by other member communication devices with each first sub-operation parameter corresponding to itself, and filters out inconsistent parameter information; the inconsistent parameter information is summarized into single comparison results (each result includes an abnormal first sub-operation parameter, and at least one second sub-operation parameter inconsistent with the abnormal first sub-operation parameter), and for each comparison result, a normal first sub-operation parameter with a consistency greater than or equal to a set consistency threshold (such as 50%) is selected from each second sub-operation parameter in the comparison result. The requested target communication device receives the target second sub-operation parameter, and sends the normal second sub-operation parameter to the target communication device that sent the normal second sub-operation parameter, requiring the target communication device to respond whether the normal second sub-operation parameter is normal operating data in the target communication device, and the requested target communication device responds to the abnormal member communication device as normal or abnormal; after receiving the target second sub-operation parameter, the requested target communication device compares the target second sub-operation parameter with the data corresponding to its own module, and if the target second sub-operation parameter is consistent with the normal operating data in itself, the request is responded to correctly, and if not, the response is wrong;
[0113] After receiving the normal result of the target communication device's response, the abnormal member communication device configures the second sub-operation parameter sent by the target communication device into itself, and then performs the next abnormal processing until the abnormal state is resolved, then jumps out of the loop and enters the normal state.
[0114] Obviously, in the above communication device abnormal recovery process, the communication device can complete abnormal diagnosis and recovery without the server. Of course, in one implementation, as shown in the above embodiment, the communication device in this implementation can also perform abnormal recovery in conjunction with the server, which will not be described in detail here.
[0115] Embodiment three:
[0116] This embodiment also provides a communication device, see Figure 7 As shown, it includes but is not limited to a first processor 701, a first memory 702 and a first communication bus 703;
[0117] The first communication bus 703 is used to realize the connection and communication between the first processor 701 and the first memory 702;
[0118] The first processor 703 is used to execute one or more first computer programs stored in the first memory 701 to implement the steps of the abnormality recovery method shown in the above embodiments.
[0119] This embodiment also provides a server, see Figure 8As shown, it includes but is not limited to a second processor 801, a second memory 802 and a second communication bus 803;
[0120] The second communication bus 803 is used to realize the connection and communication between the second processor 801 and the second memory 802;
[0121] The second processor 801 is configured to execute one or more second computer programs stored in the second memory 802 to implement the steps of the method for establishing a converged network as shown in the above embodiments.
[0122] The present embodiment also provides a computer-readable storage medium, which includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer.
[0123] The computer-readable storage medium in this embodiment may be used to store one or more first computer programs, and the one or more first computer programs stored therein may be executed by the first processor to implement the steps of the abnormality recovery method shown in the above embodiments;
[0124] and / or,
[0125] The computer-readable storage medium may be used to store one or more second computer programs, and the one or more second computer programs stored therein may be executed by the second processor to implement the steps of the method for establishing a converged network as shown in the above embodiments.
[0126] This embodiment also provides a first computer program (or first computer software), which can be distributed on a computer-readable medium and executed by a computing device to implement the steps of the exception recovery method shown in the above embodiments; and in some cases, at least one step of the exception recovery method different from the examples in the above embodiments can be adopted.
[0127] This embodiment also provides a second computer program (or second computer software), which can be distributed on a computer-readable medium and executed by a computing device to implement the steps of the method for establishing a converged network as shown in the above embodiments; and in some cases, at least one step of the method for establishing a converged network different from the examples in the above embodiments can be adopted.
[0128] It should be understood that, in some cases, at least one step shown or described may be performed in an order different from that described in the above embodiments.
[0129] This embodiment further provides a computer program product, including a computer readable device, on which the computer program as shown above is stored. In this embodiment, the computer readable device may include the computer readable storage medium as shown above.
[0130] It can be seen that those skilled in the art should understand that all or some of the steps, systems, and functional modules / units in the above disclosed methods can be implemented as software (which can be implemented with computer program code executable by a computing device), firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component can have multiple functions, or a function or step can be performed by several physical components in cooperation. Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit.
[0131] In addition, it is well known to those skilled in the art that communication media generally contain computer readable instructions, data structures, computer program modules or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery media. Therefore, the present invention is not limited to any specific hardware and software combination.
[0132] The above contents are further detailed descriptions of the embodiments of the present invention in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. An abnormality recovery method, comprising: Receiving aggregated networking information sent by a server, the aggregated networking information including: device connection information of each member communication device; When an abnormality is detected, sending an abnormality recovery request to at least one other member communication device in the aggregate network through the aggregate network established with at least one other member communication device based on the device connection information; receiving an abnormality recovery parameter sent by the other member communication devices according to the abnormality recovery request, and performing abnormality recovery according to the abnormality recovery parameter; The abnormal recovery parameter includes a second operating parameter of at least one other member communication device; and performing abnormal recovery according to the abnormal recovery parameter includes: Compare the first sub-operation parameter in the first operation parameter with the second sub-operation parameter in the second operation parameter, and select the abnormal first sub-operation parameter and the normal second sub-operation parameter corresponding to the abnormal first sub-operation parameter; The abnormal first sub-operation parameter is replaced by the normal second sub-operation parameter.
2. The abnormality recovery method according to claim 1, characterized in that: Before sending the abnormal recovery request to at least one other member communication device in the aggregation network, the method further includes: Before the abnormality is detected, when a preset aggregation network establishment condition is detected to be triggered, an aggregation network is established with at least one other member communication device in the aggregation network according to the device connection information; or, When the abnormality is detected and it is detected that the aggregation network is not currently established with the other member communication devices, an aggregation network is established with at least one other member communication device in the aggregation network according to the device connection information.
3. The abnormality recovery method according to claim 1, characterized in that: Before sending the abnormal recovery request to at least one other member communication device in the aggregation network, the method further includes: Before detecting the occurrence of an abnormality, detecting the triggering of a preset aggregation network establishment condition, and establishing an aggregation network with at least one other member communication device in the aggregation network according to the device connection information, wherein the preset aggregation network establishment condition includes at least one of the following: Unable to connect to said server; An instruction to establish an aggregate network connection is received.
4. The abnormality recovery method according to any one of claims 1 to 3, characterized in that: The device connection information includes a network address of a member communication device and network connection security authentication information; and establishing an aggregate network with at least one other member communication device based on the device connection information includes: A connection request including network connection security authentication information is sent to at least one other member communication device according to the network address, so that at least one other member communication device can perform connection authentication.
5. The abnormality recovery method according to any one of claims 1 to 3, characterized in that: After sending the abnormal recovery request to at least one other member communication device in the aggregation network, the method further includes: When abnormal recovery according to the abnormal recovery parameters fails, sending an abnormal recovery request to the server; or Before sending the abnormal recovery request to at least one other member communication device in the aggregation network, the method further includes: When the network connection with the server is normal, an abnormal recovery request is sent to the server.
6. The abnormality recovery method according to claim 5, characterized in that: The selecting of the normal second sub-operation parameter corresponding to the abnormal first sub-operation parameter comprises: When the abnormal first sub-operating parameter corresponds to multiple second sub-operating parameters from multiple other member communication devices, the multiple second sub-operating parameters are compared, and a second sub-operating parameter with a consistency level greater than or equal to a consistency level threshold is selected from the comparison result as the normal second sub-operating parameter corresponding to the abnormal first sub-operating parameter.
7. A method for establishing an aggregate network, comprising: Obtain device information of each communication device connected to itself; Determine the aggregated networking information according to the device information of each communication device, wherein the aggregated networking information includes: device connection information of each member communication device; The aggregate networking information is sent to each of the member communication devices so that each of the member communication devices can establish an aggregate network according to the device connection information; when the member communication device is abnormal, the aggregate network obtains an abnormality recovery parameter from at least one other member communication device in the aggregate network.
8. The method for establishing a converged network according to claim 7, wherein: The device information includes the network address and gateway information of each communication device; and determining the aggregated networking information according to the device information of each communication device includes: According to the gateway information, each communication device whose network address is in the same network address segment is used as the member communication device.
9. A communication device, characterized in that: comprising a first processor, a first memory and a first communication bus; The first communication bus is used to realize the connection and communication between the first processor and the first memory; The first processor is used to execute one or more first computer programs stored in the first memory to implement the steps of the abnormality recovery method according to any one of claims 1 to 6.
10. A server, characterized in that: comprising a second processor, a second memory and a second communication bus; The second communication bus is used to realize the connection and communication between the second processor and the second memory; The second processor is used to execute one or more second computer programs stored in the second memory to implement the steps of the method for establishing a converged network as claimed in claim 7 or 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more first computer programs, and the one or more first computer programs can be executed by one or more first processors to implement the steps of the abnormality recovery method according to any one of claims 1 to 6; and / or, The computer-readable storage medium stores one or more second computer programs, and the one or more second computer programs can be executed by one or more first processors to implement the steps of the method for establishing a converged network as claimed in claim 7 or 8.
Citation Information
Patent Citations
Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
CN104104570A
Routing recovery method after equipment failure and routing recovery device thereof
CN106230720A