CN117914911B - Server remote management method based on ad hoc network under network breaking condition - Google Patents
Server remote management method based on ad hoc network under network breaking condition Download PDFInfo
- Publication number
- CN117914911B CN117914911B CN202410116002.0A CN202410116002A CN117914911B CN 117914911 B CN117914911 B CN 117914911B CN 202410116002 A CN202410116002 A CN 202410116002A CN 117914911 B CN117914911 B CN 117914911B
- Authority
- CN
- China
- Prior art keywords
- server
- restarting
- arm
- power
- current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000007726 management method Methods 0.000 title claims abstract description 15
- 230000002159 abnormal effect Effects 0.000 claims abstract description 193
- 238000004891 communication Methods 0.000 claims abstract description 77
- 238000000034 method Methods 0.000 claims abstract description 50
- 238000006243 chemical reaction Methods 0.000 claims abstract description 18
- 230000007246 mechanism Effects 0.000 claims abstract description 13
- 230000035772 mutation Effects 0.000 claims description 28
- 230000001133 acceleration Effects 0.000 claims description 19
- 230000009471 action Effects 0.000 claims description 15
- 230000007547 defect Effects 0.000 claims description 14
- 238000012795 verification Methods 0.000 claims description 9
- 238000013461 design Methods 0.000 claims description 7
- 238000010276 construction Methods 0.000 claims description 5
- 108091026890 Coding region Proteins 0.000 claims description 4
- 230000004913 activation Effects 0.000 claims description 4
- 238000002955 isolation Methods 0.000 abstract description 3
- 230000005856 abnormality Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 230000008859 change Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 3
- 230000003213 activating effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 230000004888 barrier function Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C2201/00—Transmission systems of control signals via wireless link
- G08C2201/10—Power supply of remote control devices
- G08C2201/11—Energy harvesting
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C2201/00—Transmission systems of control signals via wireless link
- G08C2201/20—Binding and programming of remote control devices
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Small-Scale Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
According to the server remote management method based on the ad hoc network under the network disconnection condition, the server control terminal is connected with the ARM server through the coaxial cable, the coaxial cable is used for transmitting a first current signal obtained by digital-to-analog conversion of abnormal state information generated by the first ARM server, and isolation of a data communication link between the first ARM server and the server control terminal is achieved; the 'electric tracking network' rule mechanism is provided to realize automatic control of connection and disconnection of the second wireless AP connected with the second ARM server and the first wireless AP connected with the first ARM server; the method has the advantages that multiple power-off restarting strategy sending modes are provided, the second ARM server sends in a random mode, and the data safety of the remote control server in power-off restarting is further improved; the remote power-off restarting circuit for the server generates a power-off restarting strategy sent by the second ARM server into a corresponding reset signal, and simply and quickly realizes the power-off restarting of the first ARM server.
Description
Technical Field
The invention relates to the technical field of server remote control, in particular to a server remote management method based on an ad hoc network under a network disconnection condition.
Background
In embedded designs, the usability of the system is typically improved by a Watchdog (Watchdog); when the system does not execute according to the preset flow, the watchdog can timeout and restart the system to restore to the normal state.
However, because the software and hardware design cannot be perfect, the method is not always effective, and in many cases, the restart cannot be performed or is invalid, for example:
1. The watchdog does not play a role due to software design flaws. For example, the system has abnormality, but due to unreasonable setting of the feeding position, a routine is still in continuous feeding; or the watchdog has not been activated, the system enters a deadlock state, etc.
2. Because of hardware design defects, restarting may instead put the system into an unpredictable state; for example, the eMMC 4.4 chip must have a power-off time of more than 1ms to be able to enter the Boot Mode.
3. Because of the residual state, even if the system is restarted, the system cannot be recovered, and the system must be powered off to recover to the normal state.
The power-off restarting is the cleanest and thorough method, and if the CPU unit cannot be recovered to normal work by a plurality of times of power-off restarting, the CPU unit can be identified to have unrecoverable faults. However, in the existing scheme, network support is required for executing a power-off restarting task on a remote server, and once the server is disconnected, the server cannot execute a power-off restarting action on a remote control server.
In order to ensure that the server is always in the network environment, the existing scheme generally adopts a mode of separating a data communication link and a management communication link, namely, when repair operations such as restarting the server are needed, a corresponding control instruction is sent through the management communication link. But this approach does not fundamentally solve the problem, such as how to remotely control the server when managing a communication link outage. And moreover, the management communication link is always in a normally open state, so that potential safety hazards of data leakage exist, and the risk of the server being attacked by the network is increased.
Disclosure of Invention
The invention aims to realize remote power-off restarting of a server under the condition of network disconnection, ensure the data security of remote control power-off restarting, and reduce the risk of network attack of the server due to remote control, and provides a server remote management method based on an ad hoc network under the condition of network disconnection.
To achieve the purpose, the invention adopts the following technical scheme:
The server remote management method based on the ad hoc network under the network disconnection condition comprises the following steps:
S1, after detecting that a first ARM server in an ARM server cluster is disconnected, a server control terminal selects a second ARM server which normally operates in the cluster to control a second wireless AP to initiate an ad hoc network instruction connected with the first wireless AP;
S2, after receiving the ad hoc network instruction, the first wireless AP establishes wireless communication connection with the second wireless AP, and then the second ARM server sends a power-off restarting signal to the first wireless AP through the second wireless AP;
S3, the first wireless AP sends the power-off restarting signal to the first ARM server, and the first ARM server executes power-off restarting action after receiving the power-off restarting signal.
Preferably, in step S2-S3, after the server control terminal builds a corresponding current abnormal environment according to different abnormal states entered by the first ARM server, an "electric tracking" direction under an "electric tracking" rule mechanism is randomly selected, so as to automatically control connection and disconnection between the second ARM server and the first wireless AP connected with the first ARM server;
The second ARM server receives current abnormality data generated by constructing the current abnormality environment by using a communication path formed in a randomly selected 'electric tracking network' direction, and transmits the current abnormality data to a server remote power-off restarting circuit along the communication path to execute power-off restarting action of the first ARM server after matching a corresponding power-off restarting strategy according to the current abnormality data.
Preferably, the server control terminal is connected to the first ARM server through a first section of coaxial cable, and the connection method is as follows: the method for constructing the current abnormal environment by the server control terminal comprises the following steps of:
A1, analyzing a first current signal which is transmitted by the first section of coaxial cable from the first ARM server and is obtained after digital-to-analog conversion of abnormal state data, and obtaining an abnormal state type and an abnormal state feature set which are entered by the first ARM server at present;
A2, constructing the current abnormal environment corresponding to the analyzed abnormal state type, wherein the construction method comprises the following steps:
a21, encoding each abnormal state feature in the abnormal state feature set corresponding to the abnormal state type into an abnormal current building value corresponding to each abnormal state feature;
And A22, an abnormal current generation module in the server control terminal generates each abnormal current generation value into corresponding abnormal current respectively and transmits the abnormal current to the second ARM server according to the coding sequence.
Preferably, the abnormal state type includes that the first ARM server is in a deadlock state or is unable to be recovered by restarting, the first abnormal state feature set corresponding to the deadlock state includes a watchdog abnormal state feature causing the deadlock state because the watchdog is not started, and the second abnormal state feature set corresponding to the restarting is unable to be recovered, includes a state residual feature causing the restarting to be unable to be recovered because of state residual or a defect feature causing the restarting to be unable to be recovered because of hardware design defect;
The state residual characteristics comprise a first time period from starting up to finishing of the self-checking of the Bios, a first current maximum mutation value, a first current mutation acceleration, and/or a second time period from starting up of a hard disk to entering of a load state of a CPU, a second current maximum mutation value, a second current mutation acceleration, and/or a third time period from entering of the load state of the CPU to entering of a steady state after starting up of the server, a third current maximum mutation value and a third current mutation acceleration;
The defect features include the state residual features and a hardware model of the defect.
Preferably, in step a22, for the set of abnormal state characteristics corresponding to the type of abnormal state that is "unable to recover from restart", the method for generating the abnormal current corresponding to each abnormal state characteristic in the set in coding order includes the steps of:
a221, analyzing the starting-up stage information carried in the abnormal state feature set, and sorting the abnormal state feature subsets formed by the stages according to the sequence of each stage after starting up to form a sorting list;
a222, giving an abnormal current creation sequence corresponding to each abnormal state feature in each subset in the ordered list;
a223, according to the sorting order of the abnormal state features in the sorting list updated in the step A222, sequentially generating the encoded abnormal current creating values into the corresponding abnormal currents, and transmitting the abnormal currents to the second ARM server.
Preferably, the method for sending the power-off restarting strategy to the server remote power-off restarting circuit by the second ARM server through the forward electric tracking network comprises the following steps:
The method comprises the steps that B1, an AP activation module in the server control terminal starts to build the current abnormal environment to be an instruction to activate the first wireless AP, and the first wireless AP sends the built current abnormal data to the second ARM server;
B2, the second ARM server decodes the current abnormal data to obtain an abnormal state type which the first ARM server enters currently;
b3, searching the power-off restarting strategy corresponding to the abnormal state type, if searching is successful, controlling the second wireless AP connected with the second ARM server to establish wireless communication connection with the first wireless AP, and then transmitting the power-off restarting strategy to the server remote power-off restarting circuit along a second communication path or a first communication path;
And B4, after receiving the feedback signal which is sent by the server remote power-off restarting circuit and is successfully received by the power-off restarting strategy, the second ARM server controls the disconnection of the connection with the first wireless AP.
Preferably, the method for sending the power-off restarting strategy to the server remote power-off restarting circuit by the second ARM server through the reverse electric tracking network comprises the following steps:
The method comprises the steps that C1, after the second ARM server receives current abnormal data through a second section of coaxial cable connected between the second ARM server and the server control terminal, whether the second ARM server has the power-off restarting authority to the first ARM server or not is verified, if yes, verification information is generated, the verification information is converted into a fourth current signal through digital-to-analog conversion, and the fourth current signal is transmitted to the server control terminal through the second section of coaxial cable;
c2, the server control terminal activates the first wireless AP by taking the received fourth current signal as an instruction;
C3, after the second ARM server detects the wireless signal of the first wireless AP, wireless communication connection is established with the first wireless AP, and then the power-off restarting strategy is sent to the server remote power-off restarting circuit through a second communication path;
And C4, after receiving the feedback signal which is sent by the server remote power-off restarting circuit and is successfully received by the power-off restarting strategy, the second ARM server controls the disconnection of the connection with the first wireless AP.
Preferably, in step C1, the method for verifying whether the first ARM server has the power-off restarting right by the second ARM server includes the steps of:
C11, analyzing the received current abnormal data to obtain current abnormal state characteristics of the first ARM server;
C12, analyzing each analyzed abnormal state characteristic to obtain the type of the abnormal state which the first ARM server enters currently;
C13, matching the power-off restarting strategy corresponding to the abnormal state type according to the association relation between the abnormal state type and the power-off restarting strategy,
If the matching is successful, judging that the first ARM server has the power-off restarting right, otherwise, judging that the first ARM server does not have the power-off restarting right.
Preferably, in step B4 or step C4, the connection with the first wireless AP is disconnected by reverse "electric tracking" control, and the specific method includes the steps of:
The remote power-off restarting circuit of the server receives the power-off restarting strategy, generates a feedback signal defined as a third current signal and then sends the feedback signal to the control terminal of the server through a first section of coaxial cable;
D2, the server control terminal directly transmits the third current signal to the second ARM server through a second section of coaxial cable connected between the server control terminal and the second ARM server, or transmits the third current signal to the second ARM server through the first wireless AP after analog-to-digital conversion;
And D3, after receiving the third current signal before or after the analog-to-digital conversion, the second ARM server controls to disconnect the connection with the first wireless AP.
Preferably, the first communication path is a communication path formed by the server control terminal connecting the first ARM server through a first section of coaxial cable and connecting the second ARM server and the server control terminal through a second section of coaxial cable;
The second communication path is a communication path formed by the server control terminal being connected with the first ARM server through the first section of coaxial cable and being connected with the server control terminal and the second ARM server through the first wireless AP in a wireless communication mode.
Preferably, the method for executing the power-off restarting action on the first ARM server by the server remote power-off restarting circuit includes:
the MCU chip in the main control circuit in the second ARM server generates the power-off restarting strategy generated by the second ARM server into an RST_MCU signal, and then sends the RST_MCU signal to the microcontroller U27 in the ESP32 micro-control circuit in the server control terminal;
The microcontroller U27 generates a reset signal ETH_ TESETn after receiving the RST_MCU signal and sends the reset signal ETH_ TESETn to a reset chip U4 in the server remote power-off restarting circuit, and the reset chip U4 controls the first ARM server to execute power-off restarting action after receiving the reset signal ETH_ TESETn;
The model of the MCU chip is STM32F407Z6;
the microcontroller U27 is of the type ESP32-WROOM-32E:
The model of the reset chip U4 is MXD1818UR22-T.
The invention has the following beneficial effects:
1. The server control terminal is connected with each ARM server through a coaxial cable, the section of coaxial cable (defined as a first section of coaxial cable) is used for transmitting a first current signal obtained by digital-to-analog conversion (digital signal to analog signal) of abnormal state information generated by the server, isolation of a data communication link (conventionally, the data communication link is established through a network cable or a wireless communication mode) between the server and the server control terminal is achieved, and a first safety barrier is added for a remote control server.
2. Three ways of controlling the server are provided, the first is: the server control terminal and the second ARM server are connected through coaxial cables, a current abnormal environment corresponding to the type of the abnormal state which is currently entered by the first ARM server is built through the server control terminal to generate current abnormal data, the current abnormal data is transmitted to the second ARM server through the section of coaxial cable (defined as a second section of coaxial cable), after the current abnormal data is decoded by the second ARM server, a power-off restarting instruction (a second current signal or a digital signal after digital-to-analog conversion of the power-off restarting strategy) is sent to the corresponding server remote power-off restarting circuit according to a first communication path for receiving the current abnormal data (namely, a first communication path formed by the first ARM server/server remote power-off restarting circuit, the first section of coaxial cable, the service control terminal, the second section of coaxial cable and the second ARM server), and the power-off restarting instruction is determined by whether a reset chip in the server remote power-off restarting circuit supports the digital signal or the analog signal or not. The server control terminal builds and generates current abnormal data according to the abnormal state type generated by the first ARM server, so that the conversion from the digital abnormal state characteristics generated by the first ARM server to the analog current abnormal data is realized, a data communication link is not required to be established by a conventional means through a first communication path formed by two sections of coaxial cables, the remote control maintenance of the server under the condition of network disconnection is truly realized, and the first communication path formed by the two sections of coaxial cables is used as a transmission path of a power-off restarting instruction, so that the safety of data communication is improved.
The second is: the coaxial cable is combined with the AP ad hoc network mode, namely, a power-off restarting instruction is transmitted between the server control terminal and a server remote power-off restarting circuit in the first ARM server or transmitted by using the first section of coaxial cable, a first current signal is transmitted between the first ARM server and the server control terminal by using the first section of coaxial cable, and the first safety barrier is added for remote control service. Different from the first remote control server mode, the server control terminal and the second ARM server realize wireless communication connection through an AP ad hoc network mode, namely a second communication path formed between the first ARM server, the remote power-off restarting circuit of the server, the first section coaxial cable, the server control terminal, the first wireless AP, the second wireless AP and the second ARM server is established between the first ARM server and the remote power-off restarting circuit of the server and the second ARM server. Compared with the first method for controlling the server, the method can finish the remote power-off restarting of the first ARM server without going through the current abnormal environment building process, but has relatively weaker communication safety, and the method for controlling the remote power-off restarting of the first ARM server has the following principle: after the second wireless AP connected with the second ARM server and the first wireless AP establish wireless communication connection, the second ARM server directly sends a power-off restarting instruction to the first wireless AP through the second wireless AP, then the server control terminal transmits the power-off restarting instruction to a server remote power-off restarting circuit in the first ARM server, and the circuit executes power-off restarting of the first ARM server.
The second method of controlling a server has the following problems: if no related rule mechanism of disconnection and networking is established between the second wireless AP and the first wireless AP, for example, once the second wireless AP connected to the second ARM server establishes a wireless communication connection with the first wireless AP, the second wireless AP is always or for a long time in a connection state, which increases the risk of data leakage. Therefore, the invention automatically controls the connection and disconnection of the second wireless AP and the first wireless AP by setting an electric tracking network rule mechanism. The "electric tracking" rule mechanism brings the following advantageous effect 3.
The third method for controlling the server is as follows: the complete AP ad hoc network mode, that is, the communication between the second ARM server and the first ARM server is completely realized by a wireless communication link formed by the second wireless AP connected with the second ARM server and the first wireless AP connected with the first ARM server without the help of a coaxial cable.
3. An "electric chase network" rule mechanism is provided to automatically control the connection and disconnection of the second wireless AP to the first wireless AP. The mode of realizing the electric tracking net is as follows: the AP ad hoc network takes a server control terminal as an instruction to start building a current abnormal environment, when the server control terminal starts building the current abnormal environment, a first wireless AP connected with a first ARM server is activated, the activated first wireless AP sends current abnormal data generated in the process of building the current abnormal environment to a second ARM server through a second wireless AP, the second ARM server decodes the current abnormal data and obtains the current abnormal state type of the first ARM server through analysis, then searches whether a power-off restarting strategy corresponding to the abnormal state type exists or not, if so, controls the second wireless AP to build wireless communication connection with the first wireless AP, otherwise, refuses to build connection, and interrupts communication connection with the first wireless AP after finishing sending the power-off restarting instruction to a server remote power-off restarting circuit each time. The electric tracking net has three directions, and the forward direction is: and the AP activation module in the server control terminal takes the current abnormal environment start to be built as an instruction to activate the first wireless AP, and after a series of intermediate processes determine that the first ARM server is provided with power-off restarting authority, the second ARM server establishes wireless communication connection with the first wireless AP, namely, the AP self-networking is under the condition of starting to build the current abnormal environment, and the current abnormal environment is a forward electric tracking network.
The reverse direction is as follows: the server remote power-off restarting circuit generates a feedback signal (defined as a third current signal) after receiving a power-off restarting instruction and sends the feedback signal to the server control terminal, if the server control terminal adopts the second communication path to transmit the feedback signal to the second ARM server, the server control terminal needs to decode the third current signal into a digital signal and then directly send the digital signal to the second ARM server through the first wireless AP, the second ARM server controls the second wireless AP to disconnect the wireless communication connection with the first wireless AP after receiving the decoded feedback signal, namely the AP self-disconnects the network on the condition that the second ARM server receives the digital signal converted by the third current signal, and the network is a reverse 'electric tracking network'.
The reverse direction is as follows: the method comprises the steps that an AP activating module in a server control terminal uses verification information which is generated after the second ARM server verifies that the power-off restarting right of a first ARM server is passed through a second section of coaxial cable and is transmitted by the second ARM server, a fourth current signal obtained through digital-to-analog conversion as an instruction to activate a first wireless AP, the second ARM server does not verify whether a communication connection request of the wireless AP is legal or not any more, the first wireless AP is directly connected, and then the found power-off restarting strategy (transmitted in the form of the power-off restarting instruction) is transmitted to the first ARM server through a second communication path.
The connection and disconnection of the second wireless AP and the first wireless AP are automatically controlled through the forward, reverse and reverse electric tracking networks.
4. Under the rule mechanism of 'electric chasing net', two power-off restarting strategy sending modes are provided, and the second ARM server randomly selects to send the power-off restarting strategy, so that the data security of the power-off restarting of the remote control server is further improved. The first of two power-off restarting strategy sending modes under the rule mechanism of the electric tracking network is as follows: after the wireless communication connection between the first wireless AP and the second wireless AP is completed in an AP ad hoc network mode of forward electric tracking, the second wireless AP directly transmits a power-off restarting strategy to a server remote power-off restarting circuit in the first ARM server through the second communication path.
The second power-off restart strategy is: after the power-off restarting permission of the second ARM server to the first ARM server is verified through the reverse electric tracking network, the power-off restarting strategy is transmitted to a server remote power-off restarting circuit in the first ARM server through a second communication path constructed under the reverse electric tracking network.
5. The remote power-off restarting circuit of the server has a simple structure, and the circuit generates a power-off restarting strategy sent by the second ARM server into a corresponding reset signal, so that the power-off restarting of the first ARM server is simply and quickly realized.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are required to be used in the embodiments of the present invention will be briefly described below. It is evident that the drawings described below are only some embodiments of the present invention and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a step diagram of implementing a server remote management method based on ad hoc network under a network disconnection condition according to an embodiment of the present invention;
FIG. 2 is a block diagram of the master circuit in the ARM server;
FIG. 3 is a block diagram of a voltage regulator circuit in an ARM server;
FIG. 4 is a block diagram of ESP32 micro-control circuitry in a server control terminal;
FIG. 5 is a block diagram of a server remote power-down restart circuit;
FIG. 6 is a block diagram of a power circuit powering a master circuit, a voltage regulator circuit, an ESP32 micro-control circuit, and a server remote power-down restart circuit;
FIG. 7 is a schematic diagram of power-off restart control of ARM servers in a clustered environment by means of an ad hoc network.
Detailed Description
The technical scheme of the invention is further described below by the specific embodiments with reference to the accompanying drawings.
Wherein the drawings are for illustrative purposes only and are shown in schematic, non-physical, and not intended to limit the invention; for the purpose of better illustrating embodiments of the invention, certain elements of the drawings may be omitted, enlarged or reduced and do not represent the size of the actual product; it will be appreciated by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
The same or similar reference numbers in the drawings of embodiments of the invention correspond to the same or similar components; in the description of the present invention, it should be understood that, if the terms "upper", "lower", "left", "right", "inner", "outer", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, only for convenience in describing the present invention and simplifying the description, rather than indicating or implying that the apparatus or elements being referred to must have a specific orientation, be constructed and operated in a specific orientation, so that the terms describing the positional relationships in the drawings are merely for exemplary illustration and are not to be construed as limiting the present invention, and that the specific meanings of the terms described above may be understood by those of ordinary skill in the art according to specific circumstances.
In the description of the present invention, unless explicitly stated and limited otherwise, the term "coupled" or the like should be interpreted broadly, as it may be fixedly coupled, detachably coupled, or integrally formed, as indicating the relationship of components; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between the two parts or interaction relationship between the two parts. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
The server remote management method based on the ad hoc network under the network disconnection condition provided by the embodiment of the invention, as shown in fig. 1, comprises the following steps:
S1, after detecting that a first ARM server in an ARM server cluster is disconnected, a server control terminal selects a second ARM server which normally operates in the cluster to control a second wireless AP to initiate an ad hoc network instruction connected with the first wireless AP;
For example, assume that the 1#arm server (first ARM server) in fig. 7 is disconnected due to a failure, the remote maintenance end cannot access the 1#arm server through the public network at this time, and can only remotely manage through other ARM servers in the cluster in a normal networking state, and assume that the 2#arm server (second ARM server) in fig. 7 is used to remotely manage the 1#arm server. In this step S1, the MCU controller in the 2#arm server controls the second wireless AP (2#ap in fig. 7) connected thereto to initiate an ad hoc network instruction to connect the first wireless AP (1#ap in fig. 7, connect 1#arm server);
s2, after receiving the ad hoc network instruction, the first wireless AP establishes wireless communication connection with a second wireless AP, and then the second ARM server sends a power-off restarting signal to the first wireless AP through the second wireless AP;
for example, the 2#ap in fig. 7 is connected to the 1#ap through an ad hoc network wifi;
S3, the first wireless AP sends a power-off restarting signal to the first ARM server, and the first ARM server executes a power-off restarting action after receiving the power-off restarting signal.
For example, in fig. 7, the 1#ap sends a power-off restart signal to a server remote power-off restart circuit of the 1#arm server through IIC (server control terminal), and the circuit receives the power-off restart signal to perform a power-off restart operation on the 1#arm server.
Specifically, in step S2-S3, according to different abnormal states entered by the first ARM server, after the server control terminal creates a corresponding current abnormal environment, the "electric tracking" mode under the "electric tracking" rule mechanism is randomly selected to automatically control connection and disconnection between the second wireless AP connected to the second ARM server and the first wireless AP connected to the first ARM server;
the second ARM server receives current abnormality data generated by creating a current abnormality environment by using a communication path formed in a randomly selected 'electric tracking network' direction, and then after a corresponding power-off restarting strategy is matched according to the current abnormality data, the current abnormality data is transmitted to a server remote power-off restarting circuit along the communication path so as to execute power-off restarting action on the first ARM server.
The server control terminal is connected with a first ARM server through a first section of coaxial cable, and the connection method is as follows: the first section of coaxial cable is connected with a T-shaped BNC connector through the BNC connector, and then is connected with a network card of the first ARM server through the T-shaped BNC connector. The server control terminal is connected with the first ARM server through a coaxial cable, and the second ARM server remotely manages the first ARM server and transmits a control signal through the section of coaxial cable, wherein the control signal is a current signal and is an analog quantity, and the control signal is defined as a fifth current signal in the embodiment. And after the server remote power-off restarting circuit receives the fifth current signal, the power-off restarting circuit executes power-off restarting action on the first ARM server.
The method for the server control terminal to build the current abnormal environment comprises the following steps:
a1, analyzing a first current signal obtained by converting abnormal state data transmitted by a first section of coaxial cable from a first ARM server through digital-to-analog (digital signal is converted into analog signal), and obtaining an abnormal state type and an abnormal state feature set which the first ARM server currently enters;
The abnormal state type comprises that the server is in a deadlock state or can not be recovered by restarting, the first abnormal state feature set corresponding to the deadlock state comprises watchdog abnormal state features which cause the deadlock state because the watchdog is not started, and the second abnormal state feature set corresponding to the restarting can not be recovered, comprises state residual features which cause the restarting to be recovered because of state residual or defect features which cause the restarting to be recovered because of hardware design defects. Hardware design defects such as: the MMC4.4 chip must have a power-off time of more than 1ms to be able to enter Boot Mode.
The state residual characteristics comprise a first time period from starting up to finishing of the self-checking of the biology (such as time period t1 is needed to go through the stage), a first current maximum abrupt change value (the maximum difference value between the current value acquired at each current acquisition time and the current value at the starting-up time), a first current abrupt change acceleration (the average value of the ratio of the difference value between the current values at adjacent current acquisition time and the adjacent time period, such as the ratio of the absolute value of the difference value between I2 and I1 to the time period from t1 to t2 when the current values acquired at the time points t2 and t1 are respectively recorded as I1 and I2), a second time period from the starting of the hard disk to the time point when the CPU enters a load state, a second current maximum abrupt change value, a second current abrupt change acceleration, a third time period from the time point when the CPU enters the load state to the stable state after the server enters the starting-up (the current value is in the stable state), a third current maximum abrupt change value and a third current abrupt change acceleration;
the defect features include a state residual feature and a hardware model of the defect.
Each abnormal state feature has a corresponding coding mode when performing digital-to-analog conversion, for example, the first time length is coded into 0.1A current, the first current maximum abrupt value is coded into 0.2A current, the first current abrupt acceleration is coded into 0.3A current, and a certain hardware model is coded into 0.25 current, for example.
After the abnormal state features are obtained by decoding according to the encoding mode, the abnormal state features are formed into feature sequences according to the sequence of current encoding information of the abnormal state features. For example, the code information received by the server control terminal from early to late is the first duration, the first current maximum mutation value, the first current mutation acceleration, the second duration, the second current maximum mutation value, the second current mutation acceleration, the third duration, the third current maximum mutation value, and the third current mutation acceleration respectively correspond to the current code information, and the formed characteristic sequence is (the first duration, the first maximum mutation value, the first current mutation acceleration, the second duration, the second current maximum mutation value, the second current mutation acceleration, the third duration, the third current maximum mutation value, and the third current mutation acceleration). And then carrying out consistency matching on the characteristic sequence and each standard characteristic sequence in a standard sequence library, and obtaining the abnormal state type bound by the successfully matched standard characteristic sequence.
The matching mode of the characteristic sequence and the standard characteristic sequence is briefly described as follows:
For example, each element in a certain standard feature sequence is a range value, the value of each element in the feature sequence is a fixed value, and if the standard feature sequence and the elements in the feature sequence are identical in type and sequence, the standard feature sequence is firstly determined to be a suspected matched standard feature sequence. And then carrying out one-to-one consistency comparison on each element in the feature sequence and the elements of the corresponding types in the suspected matched standard feature sequence, for example, if the first time length in the feature sequence is assumed to be 0.1s and the first time length range recorded in the standard feature sequence is 0.08-0.12s, judging that the consistency comparison of the elements is successful. And when the consistency comparison of all the elements is successful, judging that the feature sequence is successfully matched, and then acquiring the abnormal state type of the standard feature sequence binding which is successfully matched.
A2, constructing an abnormal current construction value corresponding to each abnormal state feature in the abnormal state feature set corresponding to the analyzed abnormal state type, wherein the construction method comprises the following steps:
A21, encoding each abnormal state feature in the abnormal state feature set corresponding to the abnormal state type into an abnormal current construction value corresponding to each abnormal state feature, wherein the encoding mode is not repeated;
And A22, an abnormal current generation module in the server control terminal generates each abnormal current generation value into corresponding abnormal current respectively and transmits the abnormal current to the second ARM server according to the coding sequence.
The method of generating the abnormal current corresponding to each abnormal state feature in the set according to the coding sequence for the abnormal state feature set corresponding to the abnormal state type according to the present embodiment is described below by taking the abnormal state type that "restart unable to recover" as an example.
The generation method of the abnormal current comprises the following steps:
A221, analyzing the starting-up stage information carried in the abnormal state feature set (the starting-up stage information is coded in a current coding mode), and sequencing the abnormal state feature subsets formed by the stages according to the sequence of the stages after starting up to form a sequencing list;
For example, the abnormal state feature set, which is the state residual feature set described above, includes 3 boot stages, which are a first boot stage from boot to finish the self-test of the Bios, a second boot stage from hard disk boot to CPU entering a load state, and a third boot stage from CPU entering a load state to a steady state after the server enters a boot. In the first starting-up stage, a first abnormal state feature subset formed by the first duration, the first current maximum mutation value and the first current mutation acceleration 3 abnormal state features is formed, and in the second starting-up stage and the third starting-up stage, a second abnormal state feature subset and a third abnormal state feature subset which are respectively corresponding are formed. Since the first boot phase is earlier than the second boot phase and earlier than the third boot phase, the first subset of abnormal state features is ordered first, the second subset of abnormal state features is ordered second, and the third subset of abnormal state features is ordered last in the ordered list.
The abnormal state features such as the first duration, the first abnormal current maximum abrupt value, and the first current abrupt acceleration in each abnormal state feature subset are not in a regular order, so the present invention assigns an abnormal current creation order corresponding to each abnormal state feature in the subset in step a222, that is, the steps of:
A222, giving an abnormal current creation sequence corresponding to each abnormal state feature in each subset in the ordered list;
For example, a first time length in the first abnormal state feature subset is given as a first order of creating abnormal current for the subset, a second order of the maximum mutation value of the first abnormal current is given, and a third order of the mutation acceleration of the first current is given.
A223, according to the sorting order of the abnormal state features in the sorting list updated in the step A222, sequentially generating the encoded abnormal current creating values into corresponding abnormal currents, and transmitting the abnormal currents to the second ARM server.
Three types of electric tracking modes under an electric tracking rule mechanism for automatically controlling connection and disconnection of a second wireless AP connected with a second ARM server and a first wireless AP connected with a first ARM server are respectively a forward electric tracking mode, a reverse electric tracking mode and a reverse electric tracking mode.
The forward electric tracking network aims to realize automatic control of the connection of the second wireless AP to the first wireless AP. The method for automatically establishing wireless communication connection by forward electric tracking network control comprises the following steps: and an AP activation module in the server control terminal takes the current abnormal environment creation as an instruction to activate a first wireless AP, and the first wireless AP sends the created current abnormal data (data obtained after the analog-to-digital conversion of the generated abnormal current) to a second ARM server through a second wireless AP. And the second ARM server verifies whether the second ARM server has power-off restarting authority for the first ARM server according to the received current abnormal data, and after the verification is passed, the second wireless AP is controlled to establish wireless communication connection with the first wireless AP.
The method for verifying whether the second ARM server has the power-off restarting right to the first ARM server by the second ARM server comprises the following steps:
c11, analyzing the received current abnormal data to obtain current abnormal state characteristics of the first ARM server;
c12, analyzing the analyzed abnormal state features to obtain the type of the abnormal state which the first ARM server currently enters, wherein the analysis method is a consistency matching method of the feature sequence and the standard feature sequence, and the details are not repeated;
C13, matching the power-off restarting strategy corresponding to the abnormal state type according to the association relation between the pre-established abnormal state type and the power-off restarting strategy,
If the matching is successful, judging that the first ARM server has the power-off restarting right, otherwise, judging that the first ARM server does not have the power-off restarting right.
The purpose of the reverse electric tracking network is to realize automatic control of the second ARM server to disconnect the first wireless AP. The method for automatically controlling the disconnection of the first wireless AP by the second ARM server according to the reverse electric tracking network comprises the following steps:
The method comprises the steps that D1, a server remote power-off restarting circuit generates a feedback signal (defined as a third current signal) after receiving a power-off restarting strategy and sends the feedback signal to a server control terminal through a first section of coaxial cable (a coaxial cable connected between a first ARM server and the server control terminal);
d2, the server control terminal directly transmits a third current signal to the second ARM server through the second section of coaxial cable, or transmits the third current signal to the second ARM server through the first wireless AP after analog-to-digital conversion;
And D3, after receiving the third current signal or the feedback signal, the second ARM server controls the connected second wireless AP to disconnect the connection with the first wireless AP.
The forward electric tracking network also has the purpose of enabling the second ARM server to send a power-off restarting strategy to a server remote power-off restarting circuit in the first ARM server according to a second communication path constructed by the forward electric tracking network.
The purpose of the reverse electric tracking network is to enable the second ARM server to send a power-off restarting strategy to a server remote power-off restarting circuit in the first ARM server according to a second communication path constructed by the reverse electric tracking network. Unlike the forward "electric tracking network" which aims at transmitting the power-off restarting strategy, in the reverse "electric tracking network", when the second ARM server controls the second wireless AP to establish wireless communication connection with the first wireless AP, the second ARM server controls the second wireless AP to directly connect with the first wireless AP, and secondary verification is not needed on whether the second ARM server has the authority to restart the power-off of the first ARM server.
The embodiment of the invention provides three power-off restarting strategy sending modes, wherein a method for sending a power-off restarting strategy to a server in a first ARM server by a second ARM server through a forward electric tracking network comprises the following steps:
The method comprises the steps that B1, an AP activating module in a server control terminal takes the current abnormal environment to be created as an instruction to activate a first wireless AP, and the first wireless AP sends current abnormal data generated by creation to a second ARM server;
B2, the second ARM server decodes the current abnormal data to obtain the type of the abnormal state which the first ARM server enters currently;
And B3, searching a power-off restarting strategy corresponding to the abnormal state type, if the searching is successful, controlling a second wireless AP connected with a second ARM server to establish wireless communication connection with the first wireless AP, and then transmitting the searched power-off restarting strategy to a server remote power-off restarting circuit along a second communication path.
The second communication path is a communication path formed by connecting the server control terminal and the second ARM server in a wireless communication mode through the first wireless AP, wherein the server control terminal is connected with the first ARM server and the server remote power-off restarting circuit through the first section of coaxial cable. After finding the power-off restarting strategy, the second ARM server sends the power-off restarting strategy to the server control terminal in a wireless transmission mode, the server control terminal encodes the power-off restarting strategy into a current signal (defined as a second current signal) and then sends the current signal to a server remote power-off restarting circuit through a first section of coaxial cable, and the circuit executes power-off restarting action on the first ARM server after receiving the second current signal.
And B4, after receiving a feedback signal of successfully receiving the power-off restarting strategy sent by the server remote power-off restarting circuit, the second ARM server controls to disconnect the connection with the first wireless AP.
The second power-off restarting strategy sending manner provided in this embodiment is different from the first power-off restarting strategy sending manner in that in step B3, the found power-off restarting strategy is sent to the server remote power-off restarting circuit through the first communication path.
The first communication path is formed by connecting the server control terminal with the first ARM server and the server remote power-off restarting circuit through a first section of coaxial cable and connecting the server control terminal with a second ARM server through a second section of coaxial cable.
In a second power-off restarting strategy sending mode, the second ARM server firstly encodes the power-off restarting strategy into a current signal (defined as a fifth current signal), then sends the current signal to the server control terminal through the second section of coaxial cable, and the server control terminal forwards the fifth current signal to the server remote power-off restarting circuit to execute power-off restarting action on the server.
In a third power-off restarting strategy sending mode, a second ARM server sends a power-off restarting strategy to a server remote power-off restarting circuit in a first ARM server through a reverse electric tracking network, and the method specifically comprises the following steps:
c1, after receiving current abnormal data through a second section of coaxial cable connected between the second ARM server and the server control terminal, verifying whether the second ARM server has power-off restarting authority to the first ARM server or not, if so, generating verification information, converting the verification information into a fourth current signal through analog-to-digital conversion, and transmitting the fourth current signal to the server control terminal through the second section of coaxial cable;
the server control terminal takes the received fourth current signal as an instruction to activate the first wireless AP;
C3, after the second ARM server detects the wireless signal of the first wireless AP, wireless communication connection is directly established with the first wireless AP, and then the outage restarting strategy is sent to a server remote outage restarting circuit through a second communication path;
And C4, after receiving the feedback signal of successfully receiving the power-off restarting strategy sent by the server remote power-off restarting circuit, the second ARM server controls to disconnect the connection with the first wireless AP.
The following describes the structure of the second ARM server, the server control terminal, the server remote power-off control circuit and the principle of controlling the power-off restarting of the server according to the embodiment of the present invention with reference to fig. 2 to 6.
As shown in fig. 2 to 6, after receiving a power-off restart policy (power-off restart instruction det_rst_mcu) generated by the second ARM server, the MCU chip in the main control circuit in the second ARM server shown in fig. 2 generates a rst_mcu signal shown in fig. 2 and sends the rst_mcu signal to the microcontroller U27 (input to pin 28 of U27) in the ESP32 micro-control circuit in the server control terminal shown in fig. 4, after receiving the rst_mcu signal, the U27 generates a reset signal eth_resetn and sends the reset signal eth_resetn to the server remote power-off restart circuit shown in fig. 5, and the reset chip U4 in fig. 5 controls the first ARM server to execute a power-off restart action. The power supply circuit shown in fig. 6 supplies power to the circuits shown in fig. 2-5.
In summary, in the invention, the server control terminal is connected with each ARM server in the server cluster environment through a coaxial cable, and the coaxial cable is used for transmitting a first current signal obtained by digital-to-analog conversion of abnormal state information generated by the first ARM server, thereby realizing the isolation of a data communication link between the first ARM server and the server control terminal; the 'electric tracking network' rule mechanism is provided to realize automatic control of connection and disconnection of the second wireless AP connected with the second ARM server and the first wireless AP connected with the first ARM server; under the rule mechanism of 'electric tracking network', a plurality of power-off restarting strategy sending modes are provided, and the second ARM server randomly selects to send the power-off restarting strategy, so that the data security of the power-off restarting of the remote control server is further improved; the remote power-off restarting circuit of the server has a simple structure, and the circuit generates a power-off restarting strategy sent by the second ARM server into a corresponding reset signal, so that the power-off restarting of the first ARM server is simply and quickly realized.
It should be understood that the above description is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be apparent to those skilled in the art that various modifications, equivalents, variations, and the like can be made to the present application. Such variations are intended to be within the scope of the application without departing from the spirit thereof. In addition, some terms used in the description and claims of the present application are not limiting, but are merely for convenience of description.
Claims (7)
1. A server remote management method based on an ad hoc network under a network disconnection condition is characterized by comprising the following steps:
S1, after detecting that a first ARM server in an ARM server cluster is disconnected, a server control terminal selects a second ARM server which normally operates in the cluster to control a second wireless AP to initiate an ad hoc network instruction connected with the first wireless AP;
S2, after receiving the ad hoc network instruction, the first wireless AP establishes wireless communication connection with the second wireless AP, and then the second ARM server sends a power-off restarting signal to the first wireless AP through the second wireless AP;
S3, the first wireless AP sends the power-off restarting signal to the first ARM server, and the first ARM server executes power-off restarting action after receiving the power-off restarting signal;
In step S2-S3, according to different abnormal states entered by the first ARM server, after the server control terminal builds a corresponding current abnormal environment, randomly selecting an "electric tracking" direction under an "electric tracking" rule mechanism, so as to automatically control connection and disconnection of the second wireless AP connected with the second ARM server and the first wireless AP connected with the first ARM server;
The second ARM server receives current abnormal data generated by constructing the current abnormal environment by using a communication path formed in a randomly selected 'electric tracking network' direction, and transmits the current abnormal data to a server remote power-off restarting circuit along the communication path to execute power-off restarting action of the first ARM server after matching a corresponding power-off restarting strategy according to the current abnormal data;
the method for sending the power-off restarting strategy to the server remote power-off restarting circuit by the second ARM server through the forward electric tracking network comprises the following steps:
The method comprises the steps that B1, an AP activation module in the server control terminal starts to build the current abnormal environment to be an instruction to activate the first wireless AP, and the first wireless AP sends the built current abnormal data to the second ARM server;
B2, the second ARM server decodes the current abnormal data to obtain an abnormal state type which the first ARM server enters currently;
b3, searching the power-off restarting strategy corresponding to the abnormal state type, if searching is successful, controlling the second wireless AP connected with the second ARM server to establish wireless communication connection with the first wireless AP, and then transmitting the power-off restarting strategy to the server remote power-off restarting circuit along a second communication path or a first communication path;
b4, after receiving the feedback signal which is sent by the server remote power-off restarting circuit and is successfully received by the power-off restarting strategy, the second ARM server controls the disconnection of the connection with the first wireless AP;
the method for sending the power-off restarting strategy to the server remote power-off restarting circuit by the second ARM server through the reverse electric tracking network comprises the following steps:
The method comprises the steps that C1, after the second ARM server receives current abnormal data through a second section of coaxial cable connected between the second ARM server and the server control terminal, whether the second ARM server has the power-off restarting authority to the first ARM server or not is verified, if yes, verification information is generated, the verification information is converted into a fourth current signal through digital-to-analog conversion, and the fourth current signal is transmitted to the server control terminal through the second section of coaxial cable;
c2, the server control terminal activates the first wireless AP by taking the received fourth current signal as an instruction;
C3, after the second ARM server detects the wireless signal of the first wireless AP, wireless communication connection is established with the first wireless AP, and then the power-off restarting strategy is sent to the server remote power-off restarting circuit through a second communication path;
C4, after receiving the feedback signal which is sent by the server remote power-off restarting circuit and is successfully received by the power-off restarting strategy, the second ARM server controls the disconnection of the connection with the first wireless AP;
In step B4 or step C4, the connection with the first wireless AP is disconnected by reverse "electric tracking" control, and the specific method includes the steps of:
The remote power-off restarting circuit of the server receives the power-off restarting strategy, generates a feedback signal defined as a third current signal and then sends the feedback signal to the control terminal of the server through a first section of coaxial cable;
D2, the server control terminal directly transmits the third current signal to the second ARM server through a second section of coaxial cable connected between the server control terminal and the second ARM server, or transmits the third current signal to the second ARM server through the first wireless AP after analog-to-digital conversion;
And D3, after receiving the third current signal before or after the analog-to-digital conversion, the second ARM server controls to disconnect the connection with the first wireless AP.
2. The method for remotely managing the server based on the ad hoc network under the off-line condition according to claim 1, wherein the server control terminal is connected to the first ARM server through a first section of coaxial cable, and the connection method is as follows: the method for constructing the current abnormal environment by the server control terminal comprises the following steps of:
A1, analyzing a first current signal which is transmitted by the first section of coaxial cable from the first ARM server and is obtained after digital-to-analog conversion of abnormal state data, and obtaining an abnormal state type and an abnormal state feature set which are entered by the first ARM server at present;
A2, constructing the current abnormal environment corresponding to the analyzed abnormal state type, wherein the construction method comprises the following steps:
a21, encoding each abnormal state feature in the abnormal state feature set corresponding to the abnormal state type into an abnormal current building value corresponding to each abnormal state feature;
And A22, an abnormal current generation module in the server control terminal generates each abnormal current generation value into corresponding abnormal current respectively and transmits the abnormal current to the second ARM server according to the coding sequence.
3. The method for remote management of an ad hoc network-based server under a network outage condition according to claim 2, wherein the abnormal state type includes that the first ARM server is in a deadlock state or is unable to recover by restarting, the first abnormal state feature set corresponding to the deadlock state includes a watchdog abnormal state feature causing the deadlock state due to a failure of a watchdog to start, and the second abnormal state feature set corresponding to the restarting is unable to recover includes a state residual feature causing the restarting due to a state residual or a defect feature causing the restarting to be unable to recover due to a hardware design defect;
The state residual characteristics comprise a first time period from starting up to finishing of the self-checking of the Bios, a first current maximum mutation value, a first current mutation acceleration, and/or a second time period from starting up of a hard disk to entering of a load state of a CPU, a second current maximum mutation value, a second current mutation acceleration, and/or a third time period from entering of the load state of the CPU to entering of a steady state after starting up of the server, a third current maximum mutation value and a third current mutation acceleration;
The defect features include the state residual features and a hardware model of the defect.
4. A method for remote management of an ad hoc network-based server under a network outage condition according to claim 2 or 3, wherein in step a22, for the abnormal state feature set corresponding to the abnormal state type "restart unable to recover", the method for generating the abnormal current corresponding to each abnormal state feature in the set in coding order includes the steps of:
a221, analyzing the starting-up stage information carried in the abnormal state feature set, and sorting the abnormal state feature subsets formed by the stages according to the sequence of each stage after starting up to form a sorting list;
a222, giving an abnormal current creation sequence corresponding to each abnormal state feature in each subset in the ordered list;
a223, according to the sorting order of the abnormal state features in the sorting list updated in the step A222, sequentially generating the encoded abnormal current creating values into the corresponding abnormal currents, and transmitting the abnormal currents to the second ARM server.
5. The method for remote management of an ad hoc network-based server under a network outage condition according to claim 1, wherein in step C1, the method for verifying whether the first ARM server has a power outage restart authority by the second ARM server comprises the steps of:
C11, analyzing the received current abnormal data to obtain current abnormal state characteristics of the first ARM server;
C12, analyzing each analyzed abnormal state characteristic to obtain the type of the abnormal state which the first ARM server enters currently;
C13, matching the power-off restarting strategy corresponding to the abnormal state type according to the association relation between the abnormal state type and the power-off restarting strategy,
If the matching is successful, judging that the first ARM server has the power-off restarting right, otherwise, judging that the first ARM server does not have the power-off restarting right.
6. The method for remotely managing an ad hoc network-based server under a network outage condition according to claim 1, wherein the first communication path is a communication path formed by the server control terminal connecting the first ARM server through a first section of coaxial cable and connecting the second ARM server and the server control terminal through a second section of coaxial cable;
The second communication path is a communication path formed by the server control terminal being connected with the first ARM server through the first section of coaxial cable and being connected with the server control terminal and the second ARM server through the first wireless AP in a wireless communication mode.
7. The method for remotely managing the server based on the ad hoc network under the off-line condition according to claim 1, wherein the method for executing the power-off restarting action on the first ARM server by the server remote power-off restarting circuit is as follows: the MCU chip in the main control circuit in the second ARM server generates the power-off restarting strategy generated by the second ARM server into an RST_MCU signal, and then sends the RST_MCU signal to the microcontroller U27 in the ESP32 micro-control circuit in the server control terminal;
The microcontroller U27 generates a reset signal ETH_ TESETn after receiving the RST_MCU signal and sends the reset signal ETH_ TESETn to a reset chip U4 in the server remote power-off restarting circuit, and the reset chip U4 controls the first ARM server to execute power-off restarting action after receiving the reset signal ETH_ TESETn;
The model of the MCU chip is STM32F407Z6;
the microcontroller U27 is of the type ESP32-WROOM-32E:
The model of the reset chip U4 is MXD1818UR22-T.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410116002.0A CN117914911B (en) | 2024-01-27 | 2024-01-27 | Server remote management method based on ad hoc network under network breaking condition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410116002.0A CN117914911B (en) | 2024-01-27 | 2024-01-27 | Server remote management method based on ad hoc network under network breaking condition |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117914911A CN117914911A (en) | 2024-04-19 |
CN117914911B true CN117914911B (en) | 2024-05-28 |
Family
ID=90688866
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410116002.0A Active CN117914911B (en) | 2024-01-27 | 2024-01-27 | Server remote management method based on ad hoc network under network breaking condition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117914911B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105263155A (en) * | 2015-09-18 | 2016-01-20 | 东南大学 | Method and system for remotely monitoring running state of intelligent mobile terminal baseband processor in real-time manner |
CN106302618A (en) * | 2015-06-11 | 2017-01-04 | 阿里巴巴集团控股有限公司 | Long-range control method, remote server, management equipment and terminal |
CN106454891A (en) * | 2016-05-05 | 2017-02-22 | 湖北爱尔特云电子技术有限公司 | Wireless local area network remote supervision method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9301155B2 (en) * | 2006-10-23 | 2016-03-29 | T-Mobile Usa, Inc. | System and method for managing access point functionality and configuration |
WO2012151224A2 (en) * | 2011-05-01 | 2012-11-08 | Ruckus Wireless, Inc. | Remote cable access point reset |
-
2024
- 2024-01-27 CN CN202410116002.0A patent/CN117914911B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106302618A (en) * | 2015-06-11 | 2017-01-04 | 阿里巴巴集团控股有限公司 | Long-range control method, remote server, management equipment and terminal |
CN105263155A (en) * | 2015-09-18 | 2016-01-20 | 东南大学 | Method and system for remotely monitoring running state of intelligent mobile terminal baseband processor in real-time manner |
CN106454891A (en) * | 2016-05-05 | 2017-02-22 | 湖北爱尔特云电子技术有限公司 | Wireless local area network remote supervision method |
Non-Patent Citations (2)
Title |
---|
《综合业务管理服务器的远程监控和报警系统的研究与开发》;杜文;《信息科技》;20110915(第09期);全文 * |
Sangyun Han ; Sungwon Lee.《Persistent store-based dual replication system for distributed SDN controller》.《 2016 International Conference on Selected Topics in Mobile & Wireless Networking (MoWNeT)》.2016,全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN117914911A (en) | 2024-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107528733B (en) | Management method of Internet of things and Internet of things system | |
US11349676B2 (en) | Power providing device and method, power receiving device | |
CN105871668B (en) | Interconnect method and the intelligent appliance of Internet of Things intelligent appliance | |
CN113079195B (en) | Remote controller and remote control system | |
JP2006180384A (en) | Communication unit and its communication method | |
CN111769978B (en) | Method, device, terminal and system for reporting offline information of Internet of things equipment | |
WO2023098375A1 (en) | Operation sheet processing method and device, storage medium, and electronic device | |
CN101369979A (en) | Communication method, apparatus and system for network camera and user terminal | |
CN117914911B (en) | Server remote management method based on ad hoc network under network breaking condition | |
CN114338464A (en) | Fault diagnosis method, device, equipment and computer readable storage medium | |
CN114630306A (en) | Automatic pairing method for electric energy meter and circuit breaker based on reactive current pulse | |
CN103226334A (en) | Hardware safety chain control method in upgrade process of control system of wind generating set | |
US20090077218A1 (en) | Software Method And System For Controlling And Observing Computer Networking Devices | |
CN102594910B (en) | Method adopting data service bus to realize single-instance transformer station programmed processing | |
JP2019220738A (en) | Communication controller, communication system, communication control method, and program | |
US11505082B2 (en) | Charging device for electric vehicles and automatic trobleshooting method thereof | |
CN111142945B (en) | Master and slave channel dynamic switching method for dual-redundancy computer | |
CN111049460B (en) | Three-redundancy double-drive motor control platform and control method | |
CN112636762B (en) | Battery management system, slave control coding method and device | |
JP4984772B2 (en) | Network-connected analyzer control system | |
CN100525488C (en) | Method and system for recovering network connection quickly after cluster server switching | |
CN113542003A (en) | Plug and play method of terminal equipment of power distribution station area | |
US10523594B2 (en) | Information processing apparatus and network switching method | |
CN101977215B (en) | Network control method of display unit | |
CN104219072A (en) | Recovery method and device of security controller SC |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |