CN116032799B - Fault detection method, device and storage medium - Google Patents
Fault detection method, device and storage medium Download PDFInfo
- Publication number
- CN116032799B CN116032799B CN202111241035.0A CN202111241035A CN116032799B CN 116032799 B CN116032799 B CN 116032799B CN 202111241035 A CN202111241035 A CN 202111241035A CN 116032799 B CN116032799 B CN 116032799B
- Authority
- CN
- China
- Prior art keywords
- information
- detection
- terminal
- detected
- state
- 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
- 238000001514 detection method Methods 0.000 title claims abstract description 452
- 238000000034 method Methods 0.000 claims abstract description 44
- 206010048669 Terminal state Diseases 0.000 claims description 28
- 238000004590 computer program Methods 0.000 claims description 15
- 238000004891 communication Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 14
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 5
- 229910052744 lithium Inorganic materials 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000007613 environmental effect Effects 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000011897 real-time detection Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a fault detection method, a device and a storage medium, wherein the method comprises the following steps: decoding the detection packet to obtain a plurality of detection information by acquiring the detection packet sent by the detection terminal; the detection information comprises: the parameter information of the detected terminal detected by the detecting terminal in real time; determining a plurality of state information of the detected terminal by using the plurality of detection information; encoding the plurality of state information to obtain a plurality of encoded information corresponding to the plurality of state information; and determining a fault detection result of the detected terminal through a plurality of pieces of coding information, and sending the fault detection result to a preset user terminal. In the scheme, the plurality of detection information is obtained by detecting the detected terminal in real time by the detection terminal, and the server determines the fault detection result process by processing the plurality of detection information to obtain the plurality of coding information, and simultaneously considers the factors of the plurality of detection information, thereby improving the detection accuracy of the accidental faults of the detected terminal.
Description
Technical Field
The embodiment of the invention relates to the technical field of computers and the Internet, in particular to a fault detection method, a fault detection device and a storage medium.
Background
With the rapid development of the internet of things, the sales of the communication module as a key device for terminal connection in the whole country in 2020 has broken through 5 hundred million. The communication module is used as an important entrance form of the terminal of the Internet of things, and the overall stability and reliability of the communication module are important. However, the communication module is greatly affected by external factors such as external working environment, network conditions, subscriber identity module (Subscriber Identity Module, SIM) card conditions, and many communication failures are sporadic, so that it is difficult to check. Many accidental faults are difficult to reproduce on a single terminal using the communication module, so that the detection rate of the accidental faults of the communication module of the terminal in the prior art is low.
Disclosure of Invention
The fault detection method, the fault detection device and the storage medium provided by the embodiment of the invention can improve the detection accuracy of the accidental faults of the terminal.
The technical scheme of the invention is realized as follows:
The embodiment of the invention provides a fault detection method, which comprises the following steps:
Acquiring a detection packet sent by a detection terminal, and decoding the detection packet to obtain a plurality of detection information; the detection information comprises: the parameter information of the detected terminal detected by the detecting terminal in real time;
Determining a plurality of state information of the detected terminal by using the plurality of detection information;
encoding the plurality of state information to obtain a plurality of encoded information corresponding to the plurality of state information;
And determining a fault detection result of the detected terminal through a plurality of pieces of coding information, and sending the fault detection result to a preset user terminal.
In the above scheme, the plurality of detection information includes: a plurality of terminal state information and a plurality of external environment information;
obtaining a detection packet sent by a detection terminal, decoding the detection packet to obtain a plurality of detection information, including:
Acquiring a detection packet sent by a detection terminal, and decoding the detection packet to obtain a plurality of terminal state information and a plurality of external environment information; the plurality of terminal state information are obtained by detecting the detected terminal in real time; the plurality of external environment information are obtained by detecting the environment of the detected terminal at intervals of preset time.
In the above scheme, the plurality of detection information includes: a plurality of parameter detection information and a plurality of state detection information;
determining, using the plurality of detection information, a plurality of status information of the detected terminal, including:
comparing the plurality of parameter detection information with the parameter threshold values corresponding to the parameter detection information, and further determining a plurality of first state information corresponding to the plurality of parameter detection information;
and combining the plurality of first state information with the plurality of state detection information to obtain the plurality of state detection information of the detected terminal.
In the above scheme, the fault detection result includes: a first fault detection result, a second fault detection result, and a third fault detection result;
and determining a fault detection result of the detected terminal through a plurality of coded information, wherein the fault detection result comprises one of the following steps:
if the plurality of coded information simultaneously comprises the first coded information and the second coded information, determining that the detected terminal is a first fault detection result;
if the plurality of coded information comprises the first coded information and also comprises the second coded information or the third coded information, determining that the detected terminal is a second fault detection result;
If the plurality of coded information comprises the first coded information or the second coded information, determining that the detected terminal is a third fault detection result; the first encoded information, the second encoded information, and the third encoded information respectively include: at least one encoded information.
The embodiment of the invention also provides a fault detection method, which comprises the following steps:
Detecting the detected terminal in real time, and further acquiring a plurality of pieces of detection information of the detected terminal;
and sending a detection packet formed by the plurality of pieces of detected information to a server, determining a plurality of pieces of state information according to the plurality of pieces of detection information by the server, encoding the plurality of pieces of state information to obtain a plurality of pieces of encoded information, and determining a fault detection result of the detected terminal by using the plurality of pieces of encoded information.
In the above scheme, the plurality of detection information includes: a plurality of terminal state information and a plurality of external environment information;
Detecting the detected terminal in real time to obtain a plurality of detection information of the detected terminal, including:
detecting the detected terminal in real time, and further acquiring a plurality of terminal state information of the terminal;
Detecting the environment of the detected terminal at intervals of preset time, and further acquiring a plurality of external environment information of the terminal.
In the above-mentioned scheme, sending a detection packet formed by a plurality of pieces of detected information to a server includes:
encrypting the plurality of terminal state information and the plurality of external environment information through a secret key to form a detection packet;
and sending the detection packet to the server at intervals of a second preset time.
The embodiment of the invention also provides a fault detection device, which comprises:
The receiving unit is used for acquiring the detection packet sent by the detection terminal and decoding the detection packet to obtain a plurality of detection information; the detection information comprises: the parameter information of the detected terminal detected by the detecting terminal in real time;
the processing unit is used for determining a plurality of state information of the detected terminal by utilizing the plurality of detection information;
The processing unit is also used for encoding the plurality of state information to obtain a plurality of encoded information corresponding to the plurality of state information;
and the first sending unit is used for determining the fault detection result of the detected terminal through the plurality of coded information and sending the fault detection result to the preset user terminal.
The embodiment of the invention also provides a fault detection device, which comprises:
The data acquisition unit is used for detecting the detected terminal in real time so as to acquire a plurality of pieces of detection information of the detected terminal;
and the second sending unit is used for sending the detection packet formed by the plurality of pieces of detected information to the server, determining a plurality of pieces of state information according to the plurality of pieces of detection information by the server, encoding the plurality of pieces of state information to obtain a plurality of pieces of encoded information, and determining a fault detection result of the detected terminal by using the plurality of pieces of encoded information.
The embodiment of the invention also provides a fault detection device, which comprises a first memory and a first processor, wherein the first memory stores a computer program which can run on the processor, and the first processor realizes steps in a server side method when executing the program.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a first processor implements steps in a server-side method.
The embodiment of the invention also provides a fault detection device, which comprises a second memory and a second processor, wherein the second memory stores a computer program which can run on the processor, and the second processor realizes the steps in the method for detecting the side of the terminal when executing the program.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by the second processor, implements steps in a method for detecting a side of a terminal.
In the embodiment of the invention, the detection terminal is acquired to send the detection packet, and the detection packet is decoded to obtain a plurality of detection information; the detection information comprises: the parameter information of the detected terminal detected by the detecting terminal in real time; determining a plurality of state information of the detected terminal by using the plurality of detection information; encoding the plurality of state information to obtain a plurality of encoded information corresponding to the plurality of state information; and determining a fault detection result of the detected terminal through a plurality of pieces of coding information, and sending the fault detection result to a preset user terminal. In the scheme, the detection terminals detect the detected terminal in real time, so that the detection terminals can accurately reflect the real-time information of the detected terminal, the server processes the detection information to obtain the coding information to determine the fault detection result, and meanwhile, factors of the detection information are considered, so that the detection accuracy of the accidental faults of the detected terminal is improved.
Drawings
FIG. 1 is a schematic flow chart of an alternative fault detection method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of an alternative fault detection method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram showing an optional effect of the fault detection method according to the embodiment of the present invention;
FIG. 4 is a schematic flow chart of an alternative fault detection method according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of an alternative fault detection method according to an embodiment of the present invention;
FIG. 6 is a schematic flow chart of an alternative fault detection method according to an embodiment of the present invention;
FIG. 7 is a schematic flow chart of an alternative fault detection method according to an embodiment of the present invention;
FIG. 8 is a schematic diagram illustrating an alternative effect of the fault detection method according to the embodiment of the present invention;
FIG. 9 is a schematic diagram showing an optional effect of the fault detection method according to the embodiment of the present invention;
FIG. 10 is a schematic flow chart of an alternative fault detection method according to an embodiment of the present invention;
FIG. 11 is a schematic flow chart of an alternative fault detection method according to an embodiment of the present invention;
FIG. 12 is a schematic flow chart of an alternative fault detection method according to an embodiment of the present invention;
FIG. 13 is an interactive schematic diagram of a fault detection method according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of a fault detection device according to an embodiment of the present invention;
Fig. 15 is a schematic diagram of a hardware entity of a fault detection device according to an embodiment of the present invention;
Fig. 16 is a schematic diagram of a second structure of the fault detection device according to the embodiment of the present invention;
fig. 17 is a second hardware entity diagram of the fault detection apparatus according to the embodiment of the present invention.
Detailed Description
The technical solution of the present invention will be further elaborated with reference to the accompanying drawings and examples, which should not be construed as limiting the invention, but all other embodiments which can be obtained by one skilled in the art without making inventive efforts are within the scope of protection of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
If a similar description of "first/second" appears in the present document, the following description is added, in which the terms "first/second/third" merely distinguish similar objects and do not represent a specific ordering of the objects, it being understood that the "first/second/third" may, where allowed, interchange a specific order or precedence order such that the embodiments of the invention described herein can be implemented in an order other than that illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to be limiting of the invention.
Fig. 1 is a schematic flow chart of an alternative fault detection method according to an embodiment of the present invention, and will be described with reference to the steps shown in fig. 1.
S101, acquiring a detection packet sent by a detection terminal, and decoding the detection packet to obtain a plurality of detection information; the detection information comprises: and detecting the parameter information of the detected terminal detected by the terminal in real time.
In the embodiment of the invention, a server acquires a detection packet sent by a detection terminal, and decodes the detection packet to obtain a plurality of detection information. Wherein the detection information includes: and detecting the parameter information of the detected terminal detected by the terminal in real time.
In the embodiment of the invention, the detection terminal detects the detected terminal in real time, and the detection terminal compresses a plurality of detection information obtained by real-time detection through a key to form a detection packet and sends the detection packet to the server.
In the embodiment of the invention, the detection terminal detects the detected terminal in real time. The detection terminal stores a plurality of pieces of detection information obtained by real-time detection, and sends a detection packet formed by the stored pieces of detection information to the server at certain intervals. Meanwhile, the detection terminal deletes a plurality of pieces of detection information sent to the server so as to store new detection information.
In an embodiment of the present invention, the plurality of detection information may include: the method comprises the steps of current value information, environment temperature information, environment humidity information, environment electromagnetic interference information, signal strength information, network state Input/Output (IO) information, SIM card state information, network registration state information, signaling interaction log (log) data information, SIM card log data information, baseband chip state log data information, cell switching log data information, retransmission log data information, sending judgment log data information and receiving judgment log data information of a detected terminal.
S102, determining a plurality of state information of the detected terminal by using the plurality of detection information.
In the embodiment of the invention, the server determines a plurality of state information of the detected terminal by utilizing a plurality of detection information.
In the embodiment of the invention, the server compares the plurality of detection information with the respective corresponding threshold value, and further determines a plurality of state information corresponding to the plurality of detection information.
The current value information included in the plurality of pieces of detection information is, for example, 100mA. If the current value information 100mA is in the threshold value range, determining the state information of the normal current corresponding to the current value information. If the current value 100mA is not in the threshold value range, determining state information of current abnormality corresponding to the current value information.
S103, encoding the plurality of state information to obtain a plurality of encoded information corresponding to the plurality of state information.
In the embodiment of the invention, the server encodes a plurality of pieces of state information to obtain a plurality of pieces of encoded information corresponding to the plurality of pieces of state information.
In the embodiment of the invention, the server encodes the plurality of state information according to the sequence of the plurality of state information and a preset rule to obtain a plurality of encoded information.
The coded information may be at least one letter, the coded information may also be at least one number, and the coded information may also be a combination of at least one letter and at least one number.
For example, the plurality of state information may include state information of current in a normal range, and the server determines the encoded information A1 of the state information of current in the normal range according to a preset rule.
As shown in the first table, the following table encodes various states of the detected terminal for convenience in describing various states of the detected module due to more parameters and categories. The parameter status of the detected terminal is described in terms of encoding in the following description.
S104, determining a fault detection result of the detected terminal through a plurality of pieces of coding information, and sending the fault detection result to a preset user terminal.
In the embodiment of the invention, the server determines the fault detection result of the detected terminal through a plurality of pieces of coding information and sends the fault detection result to the preset user terminal.
The predetermined user terminal may be a mobile phone or a computer of the predetermined user.
In the embodiment of the invention, if the server detects that a plurality of preset coded information exists in the plurality of coded information, the server can determine the fault detection result of the detected terminal corresponding to the preset coded information.
In the embodiment of the invention, if the server detects that the first code information exists in the plurality of code information and the second code information or the third code information exists at the same time, the server can determine the fault detection result of the detected terminal corresponding to the first code information, the second code information or the third code information.
For example, in combination with table one, if the server detects that a plurality of encoded information includes A1 and F1 at the same time, that is, the current of the detected terminal is in the normal range and in the power-off state, the server may determine that the detected faulty terminal is the least system damage.
In the embodiment of the invention, a plurality of detection information sent by a detection terminal is obtained; the detection information comprises: the parameter information of the detected terminal detected by the detecting terminal in real time; determining a plurality of state information of the detected terminal by using the plurality of detection information; encoding the plurality of state information to obtain a plurality of encoded information corresponding to the plurality of state information; and determining a fault detection result of the detected terminal through a plurality of pieces of coding information, and sending the fault detection result to a preset user terminal. In the scheme, the detection terminals detect the detected terminal in real time, so that the detection terminals can accurately reflect the real-time information of the detected terminal, the server processes the detection information to obtain the coding information to determine the fault detection result, and meanwhile, factors of the detection information are considered, so that the detection accuracy of the accidental faults of the detected terminal is improved.
In some embodiments, referring to fig. 2, fig. 2 is a schematic flow chart of an alternative fault detection method provided in an embodiment of the present invention, S101 shown in fig. 1 may be implemented by S105, and the description will be made with reference to the steps.
S105, acquiring a detection packet sent by the detection terminal, and decoding the detection packet to obtain a plurality of terminal state information and a plurality of external environment information.
In the embodiment of the invention, a server acquires a detection packet sent by a detection terminal, decodes the detection packet to obtain a plurality of terminal state information and a plurality of external environment information.
The method comprises the steps that a plurality of terminal state information are obtained by detecting terminals and detecting the detected terminals in real time; the plurality of external environment information are obtained by detecting the environment of the detected terminal at intervals of preset time.
In the embodiment of the invention, the detection terminal detects the detected terminal in real time to obtain a plurality of terminal state information of the detected terminal. The detection terminal detects the environment which the detected environment is subjected to at intervals to obtain a plurality of environmental state information of the environment of the detected terminal. The detection terminal compresses the plurality of environment information and the plurality of terminal state information through a key to form a detection packet, and sends the detection packet to the server.
Wherein the plurality of environmental status information may include: ambient temperature information, ambient humidity information, and ambient electronic interference information.
Wherein the plurality of terminal status information may include: current value information, signal strength information, network state IO information, SIM card state information, network registration state information, signaling interaction log (log) data information, SIM card log data information, baseband chip state log data information, cell handover log data information, retransmission log data information, transmission determination log data information, and reception determination log data information.
Illustratively, referring to fig. 3, the detecting terminal 101 detects the detected terminal 102 in real time, and obtains the terminal status information of the detected terminal 102. Meanwhile, the detection terminal 101 detects the environment to which the detected terminal 102 belongs at regular intervals, and obtains the environment state information of the environment to which the detected terminal 102 belongs. The detection terminal 101 sends the detected terminal state information and environment state information to the server 103, and the server processes the terminal state information and environment state information through S101-S104 by the server 103 to obtain a fault detection result of the detected terminal 102. The server 103 transmits the failure detection result to the specified user terminal 104.
In the embodiment of the invention, the detection terminal simultaneously transmits the terminal state information and the external environment information of the detected terminal to the server, so that the server can further determine the fault detection result through the terminal state information and the external environment information, and the factors considered by the server in the process of determining the fault detection result are more comprehensive, thereby improving the accuracy of determining the fault detection result.
In some embodiments, referring to fig. 4, fig. 4 is a schematic flow chart of an alternative fault detection method provided in an embodiment of the present invention, and S102 shown in fig. 1 may be implemented through S106-S107, and will be described in connection with the steps.
S106, comparing the plurality of parameter detection information with the parameter threshold values corresponding to the parameter detection information, and further determining a plurality of first state information corresponding to the plurality of parameter detection information.
In the embodiment of the invention, the server compares the plurality of parameter detection information with the respective corresponding parameter threshold values, and further determines a plurality of first state information corresponding to the plurality of parameter detection information.
In the embodiment of the invention, the plurality of detection information sent by the detection terminal comprises: a plurality of parameter detection information and a plurality of state detection information. Wherein, the state detection information can directly reflect the state of the detected terminal. The server needs to compare the plurality of parameter information with the corresponding parameter threshold values, and further determines a plurality of first state information corresponding to the plurality of parameter information. The server combines the plurality of first state information and the plurality of first state information to obtain a plurality of state detection information of the detected terminal.
Illustratively, the plurality of parameter detection information may include: ambient temperature information. When the ambient temperature was 25 ℃. Because the ambient temperature is less than the corresponding parameter threshold 60 ℃, the server can determine that the ambient temperature is less than the corresponding parameter threshold, and then determine the state detection information that the temperature of the detected terminal is in the terminal working interval.
S107, combining the plurality of first state information and the plurality of state detection information to obtain a plurality of state detection information of the detected terminal.
In the embodiment of the invention, the server combines a plurality of first state information and a plurality of state detection information to obtain a plurality of state detection information.
In the embodiment of the invention, the server compares the plurality of parameter detection information with the respective corresponding parameter threshold values to determine a plurality of first state information corresponding to the plurality of parameter detection information, and then combines the plurality of first state information with the plurality of state detection information to form a plurality of state detection information of the detected terminal.
In some embodiments, referring to fig. 5, fig. 5 is a schematic flow chart of an alternative fault detection method provided in an embodiment of the present invention, S104 shown in fig. 1 may be implemented by S108, and the description will be made with reference to the steps.
S108, if the plurality of coded information simultaneously comprises the first coded information and the second coded information, determining that the detected terminal is a first fault detection result.
In the embodiment of the invention, if the server detects that the plurality of pieces of encoded information simultaneously comprise the first encoded information and the second encoded information, the detected terminal is determined to be a first fault detection result.
Wherein the first encoded information and the second encoded information each include at least one encoded information.
By way of example, in combination with the table one, if the server detects that the plurality of encoded information includes both A1 and F1, the server may determine that the first failure detection result of the detected terminal is the minimum system damage.
By way of example, in combination with table one, if the server detects that the plurality of encoded information includes G2, A1, C2, K2, and I1 at the same time, the server may determine that the first failure detection result of the detected terminal is that the SIM card is damaged or in poor contact.
In some embodiments, referring to fig. 6, fig. 6 is a schematic flow chart of an alternative fault detection method provided in the embodiment of the present invention, S104 shown in fig. 1 may be implemented through S109, and the description will be made with reference to the steps.
And S109, if the plurality of coded information comprises the first coded information and also comprises the second coded information or the third coded information, determining that the detected terminal is a second fault detection result.
In the embodiment of the present invention, if the server detects that the plurality of encoded information includes the first encoded information, the method further includes: the server may determine that the detected terminal is the second failure detection result.
Wherein the first encoded information, the second encoded information, and the third encoded information each include: at least one encoded information.
By way of example, in combination with the table one, if the server detects that the plurality of encoded information includes B4 and also includes H1 or F3, the server may determine that the detected terminal is the second fault detection result that the outside humidity exceeds the working range of the terminal.
In some embodiments, referring to fig. 7, fig. 7 is a schematic flow chart of an alternative fault detection method provided in the embodiment of the present invention, S104 shown in fig. 1 may be implemented by S110, and the description will be made with reference to the steps.
And S110, if the plurality of coded information comprises the first coded information or the second coded information, determining that the detected terminal is a third fault detection result.
In the embodiment of the invention, if the server detects that the plurality of encoded information includes the first encoded information or the second encoded information, the server determines that the detected terminal is the third fault detection result.
Wherein the first encoded information and the second encoded information each include at least one encoded information.
Illustratively, the first encoded information may include A1, A2, and B1.
Exemplary, in conjunction with fig. 8 and fig. 9, the embodiment of the present invention further provides a detection terminal 101. In the embodiment of the present invention, each component of the detection terminal 101 is used to implement the steps S101 to S110 described above. Wherein the detection terminal includes: the LED display screen 105, the power supply base 106, the SIM card base 108, the antenna 107, the serial port base 109, the network state detection base 112, the current detection base 111, the USB base 110, the charging unit 113, the lithium battery 114, the power supply chip 115, the IO detection base 116, the temperature and humidity detection unit 117, the electromagnetic interference detection unit 118, the main controller 119, the opposite standard 5G communication terminal 120 and the SIM card 121.
In the embodiment of the present invention, when the detected terminal 102 is a narrowband internet of things (Narrow Band Internet of Things, NB-IoT) or a digital mobile communication (Global System For Mobile Communications, GSM) terminal, the serial port socket 109 of the detected terminal 101 is connected to the serial port of the detected terminal. When the detected terminal 102 is a 4G or 5G terminal, the USB socket 110 of the detected terminal 101 is connected to the USB port of the detected terminal 102. The serial port seat 109 and the USB seat 110 are mainly used for collecting various Log information output by the detected terminal 102, and Log information is mainly used for recording and outputting all running parameter information and flag bits after the internal chip of the terminal is started.
In the embodiment of the present invention, two ends of the current detection seat 111 of the detection terminal 101 are connected in series to the power line of the detected terminal 101, and real-time current information of the detected terminal 102 is collected by the current detection seat 111.
In the embodiment of the present invention, the network state detection seat 112 of the detection terminal 101 is connected to the network state indication port of the detected terminal 102, and square wave signals with different periods of the network state indication port of the detected terminal 102 represent different network states.
In the embodiment of the present invention, an operator inserts a 5G SIM card for opening flow into the SIM card holder 108 of the detection terminal 101.
In the embodiment of the present invention, after the detection terminal 101 is turned on, the LED display screen 105 displays that the states of the components of the detection terminal 101 and the detected terminal 102 are ready.
In the embodiment of the present invention, when the lithium battery 114 of the detection terminal 101 is low in electric quantity, the detection terminal can be charged by using the 5V2A adapter through the power supply base 106.
In the embodiment of the present invention, the detection terminal 101 is connected to the detected terminal 102 through the serial port base 109, the USB base 110, the current detection base 111, and the network state detection base 112 in the first step, and receives and collects Log information, current consumption information, and network state information of the detected terminal 102 in real time. Terminal status information.
In the embodiment of the present invention, the second step of the detection terminal 101 collects information such as temperature, humidity, electromagnetic interference data, and network signal strength in the external environment where the detected terminal is located by means of polling every 10 s.
In the embodiment of the present invention, the third step of the detection terminal 101 collects the network status information fed back by the detected terminal 102 by means of polling every 30 s.
In the embodiment of the present invention, the detection device 101 packages and transmits the information collected in the first to third steps to the server every 30 s.
Illustratively, in connection with fig. 9, the internal structure of the detection terminal 101 is as follows:
as shown in fig. 9, the key chip selection and circuit scheme of each component of the detection terminal 101 are as follows:
In the embodiment of the invention, four rechargeable 18650 types of 3.7V 2000mAH batteries are adopted as the lithium battery 114 in parallel connection, and the total capacity is 8000mAH to supply power for the power chip.
In the embodiment of the present invention, the charging chip 115 uses a TP4056 charging management chip to charge the lithium battery 114.
In the embodiment of the present invention, the charging unit 113 uses MIC29302BU-ADJ to stabilize the voltage of the lithium battery 114 at 3.3V to supply power to the detection terminal main controller 119 and other circuit units.
In the embodiment of the invention, the temperature and humidity detection unit 117 adopts an SHT20 digital temperature and humidity sensor, and is connected with the main controller 119 through an I2C bus, and the main controller 119 polls the temperature and humidity value every 10 seconds.
In the embodiment of the present invention, the electromagnetic interference detection unit 118 is connected to the main controller 119 through the on-board antenna 107, through attenuation, analog circuit filtering, sampling and sampling circuit, and Analog-to-Digital Converter (ADC) interface after the external radiation signal is acquired and processed, and the main controller 119 calculates the interference amplitude of each external frequency band through digital filtering and digital signal fast fourier transform (fast Fourier transform, FFT) processing.
In the embodiment of the invention, the serial port base 109 circuit adapts to 1.8V, 3.3V and 5V levels in a mode of MOS tube and resistor voltage division.
In the embodiment of the invention, a USB interface 110 circuit is connected with a USB interface of a detected terminal by adopting a CY7C68013A device chip.
In the embodiment of the invention, the current detection base 111 measures the voltage value of two ends of a 0.2 ohm high-precision resistor through an analog-to-digital conversion chip ADC0832CCN, transmits the voltage value to the main controller 119 through an I2C interface, and converts the current value through the main controller.
In the embodiment of the present invention, the master controller 119 adopts an F03X 5G communication module for the target 5G communication module 120, and the target 5G communication module 120 is connected to the master controller 119 through the USB interface 110. The detection terminal 101 reads network key parameters of each frequency band of itself (non-faulty terminal). The detection terminal 101 also uploads information such as Log information, current consumption information, time information, state information of the detected terminal, ambient temperature, ambient humidity, signal strength of each frequency band of the network, and interference signal strength to the server 103 in real time.
In the embodiment of the invention, the LED screen 105 is a 3.5 inch SPI screen and is connected with the main controller 119 through a serial peripheral interface (SERIAL PERIPHERAL INTERFACE, SPI). The method is used for displaying various connection states and data acquisition and transmission states of the detection terminal.
In the embodiment of the present invention, the antenna 107 is a rod-shaped omni-directional antenna covering the 5G full frequency band, and is connected to the radio frequency interface of the target 5G communication module 120 through an (SubMiniature version A, SMA) interface.
In the embodiment of the invention, the main controller 119 adopts STM32 series single-chip microcomputer as a core device for acquisition, data transmission and circuit control of the detection terminal. The main controller 119 is powered by the power chip 115. The main controller 119 is connected with the temperature and humidity detection unit 117 through an I2C interface, the main controller 119 is connected with the electromagnetic interference detection unit 118 through an ADC interface, the main controller 119 is connected with the LED display screen 105 through an SPI interface, the main controller 119 is connected with the serial port base 109 through a universal asynchronous receiver Transmitter (Universal Asynchronous Receiver/Transmitter, UART) serial port, the main controller 119 is connected with the USB base 110 through a USB differential line, and the main controller 119 is connected with the current detection base 111 through an I2C. The main controller 119 is connected to the benchmarking 5G communication module 120 through a USB interface.
In some embodiments, referring to fig. 10, fig. 10 is a schematic flow chart of an alternative fault detection method provided in an embodiment of the present invention, and S104 shown in fig. 1 may be implemented through S401 to S425, and will be described in connection with the steps.
S401, the plurality of coded information comprises A1& F1.
In the embodiment of the invention, the server sequentially carries out fault judgment on the detected terminal according to the flow of fig. 10. In the flowchart, the symbol "&" indicates that the logical relationship is "and", and the symbol "||" indicates that the logical relationship is "or". For example: a1& F1 represent when the current is in the normal range and in the off state. And the server application program performs fault judgment on the detected module according to the logic mode of the following diagram at one time, and records and pushes the judgment result.
S402, minimizing system damage of the module.
In the embodiment of the invention, the minimum system damage fault judging conditions of the module are as follows: a1& F1
S403, the plurality of coding information comprises A5& F1& C2L 3.
In the embodiment of the invention, if the server detects that the plurality of encoded information does not include A1& F1, the server detects whether the plurality of encoded information includes A5& F1& C2L 3.
S404, damaging the module power supply part.
In the embodiment of the invention, the damage judgment conditions of the module power supply part are as follows: a5& F1& C2| L2L 3.
S405, the plurality of coding information comprises O3& P3& A1& B1& B3& C2& M2& L4& J4& N2.
In the embodiment of the invention, the server detects whether the plurality of encoded information includes O3& P3& A1& B1& B3& C2& M2& L4& J4& N2.
S406, the module functions normally.
In the embodiment of the invention, the module function normal judgment conditions are as follows: o3& P3& A1& B1& B3& C2& M2& L4& J4& N2.
S407, the plurality of encoded information includes B2& L1& (h1||f3).
In the embodiment of the invention, the server detects whether the plurality of encoded information includes B2& L1& (H1 ||F3).
S408, the external temperature exceeds the working range of the module.
In the embodiment of the invention, the judging conditions for the outside temperature exceeding the working range of the module are as follows: b2& L1& (H1 ||F3).
S409, the plurality of encoded information includes B4& (h1||f3).
In the embodiment of the invention, the server detects whether the plurality of encoded information includes B4& (h1||f3).
S410, the outside humidity exceeds the working range of the module.
In the embodiment of the invention, the judging conditions for the outside humidity exceeding the working range of the module are as follows: b4& (H1F 3)
S411 (S) the plurality of encoded information includes C1& -F3||O2|P2 ||a4||k1).
In the embodiment of the invention, a server detects whether a plurality of pieces of encoded information include C1& (F3I O2I P2I A4I K1).
S412, the external interference causes abnormal operation of the module.
In the embodiment of the invention, the abnormal judgment conditions of the module work caused by external interference are as follows: c1& (F3) I O2I P2||A4 ||k1).
S413, the plurality of coding information comprises G2& A1& C2& K2& I1.
In the embodiment of the invention, the server detects whether the plurality of encoded information includes G2& A1& C2& K2& I1.
S414, damaged or bad contact of the SIM card.
In the embodiment of the invention, the judging conditions of the damage or poor contact of the SIM card are as follows: g2& A1& C2& K2& I1
S415, the plurality of coding information comprises I2& G1& J1& K3.
In the embodiment of the invention, the server detects whether the plurality of encoded information comprises I2& G1& J1& K3.
S416, stopping the SIM card arrearage.
In the embodiment of the invention, the judging conditions of the arrearage shutdown of the SIM card are as follows: i2& G1& J1& K3
S417, the plurality of encoded information includes A2& O1& J2.
In the embodiment of the invention, the server detects whether the plurality of encoded information comprises A2, O1 and J2.
S418, damaging the module radio frequency transmitting circuit.
In the embodiment of the invention, the damage judgment conditions of the module radio frequency transmitting circuit are as follows: a2& O1& J2
S419, the plurality of coding information comprises A3& P1& J3& E2.
In the embodiment of the invention, the server detects whether the plurality of encoded information comprises A3& P1& J3& E2.
S420, damaging the module radio frequency receiving circuit.
In the embodiment of the invention, the damage judgment conditions of the module radio frequency receiving circuit are as follows: a3& P1& J3& E2
S421, the plurality of encoding information comprises D1& E1& A1& (F3 ||F1).
In the embodiment of the invention, the server detects whether the plurality of encoded information includes D1& E1& A1& (F3I F1).
S422, the base station signal is weak.
The signal weak judgment condition of the base station is as follows: d1& E1& A1& (f3||f1)
S423, the plurality of encoded information includes M1& C2& D2& N2& (h2||f2).
In the embodiment of the invention, the server detects that the plurality of encoded information includes M1& C2& D2& N2& (H2I F2).
S424, the module network residence strategy is abnormal.
In the embodiment of the invention, the abnormal judgment conditions of the module network residence strategy are as follows: m1& C2& D2& N2& (H2I F2)
S425, manually analyzing is needed.
In the embodiment of the invention, when the server detects that the conditions from S401 to S424 are not satisfied in the plurality of pieces of encoded information, the information needing to be manually analyzed is fed back to the designated terminal.
In some embodiments, referring to fig. 11, fig. 11 is a schematic flow chart of an alternative fault detection method according to an embodiment of the present invention, and the steps will be described in connection with the following description.
S201, detecting the detected terminal in real time, and further obtaining a plurality of pieces of detection information of the detected terminal.
In the embodiment of the invention, the detection terminal detects the detected terminal in real time, so as to obtain a plurality of detection information of the detected terminal.
S202, sending a detection packet formed by a plurality of pieces of detected information to a server, determining a plurality of pieces of state information according to the plurality of pieces of detection information by the server, encoding the plurality of pieces of state information to obtain a plurality of pieces of encoded information, and determining a fault detection result of the detected terminal by using the plurality of pieces of encoded information.
In the embodiment of the invention, the detection terminal sends a detection packet formed by a plurality of pieces of detected information to the server, the server determines a plurality of pieces of state information according to the plurality of pieces of detection information, codes the plurality of pieces of state information to obtain a plurality of pieces of code information, and a fault detection result of the detected terminal is determined by using the plurality of pieces of code information.
In the embodiment of the invention, the detected terminal is detected in real time, so that a plurality of pieces of detection information of the detected terminal are obtained. And sending the plurality of detected information to a server, and determining a fault detection result of the detected terminal according to the plurality of detected information by the server. In the scheme, the detection terminals detect the detected terminal in real time, and meanwhile, the factors of the detection information are considered, so that the server improves the detection accuracy of the accidental faults of the detected terminal.
In some embodiments, referring to fig. 12, fig. 12 is a schematic flow chart of an alternative fault detection method provided in the embodiment of the present invention, and S201 to S202 shown in fig. 11 may be implemented through S203 to S206, and will be described in connection with the steps.
And S203, detecting the detected terminal in real time, and further acquiring a plurality of terminal state information of the terminal.
In the embodiment of the invention, the detection terminal detects the detected terminal in real time, so as to obtain the state information of a plurality of terminals of the terminal.
S204, detecting the environment of the detected terminal at intervals of a first preset time, and further acquiring a plurality of external environment information of the terminal.
In the embodiment of the invention, the detection terminal detects the environment of the detected terminal at intervals of a first preset time, so as to acquire a plurality of external environment information of the terminal.
S205, encrypting the plurality of terminal state information and the plurality of external environment information through a secret key to form a detection packet.
In the embodiment of the invention, the detection terminal encrypts the state information of a plurality of terminals and the information of a plurality of external environments through the secret key to form a detection packet.
S206, sending the detection packet to the server at intervals of a second preset time.
In the embodiment of the invention, the detection terminal sends the detection packet to the server at intervals of a second preset time.
The first predetermined time may be the same as the second predetermined time or different from the second predetermined time. The first predetermined time may be 10S or 60S. The second predetermined time may be 60S or 100S. The first predetermined time and the second predetermined time are not limited in the embodiment of the invention.
In some embodiments, referring to fig. 13, fig. 13 is an interaction schematic diagram of a fault detection method according to an embodiment of the present invention, and each step will be described in connection with the description.
And S301, the detection terminal detects the detected terminal in real time, and then acquires a plurality of detection information of the detected terminal.
The detailed implementation of step S301 is consistent with the implementation of step S201, and will not be described here again.
S302, a server acquires a detection packet sent by a detection terminal, and decodes the detection packet to obtain a plurality of detection information; the detection information comprises: and detecting the parameter information of the detected terminal detected by the terminal in real time.
The detailed implementation of step S302 is consistent with the implementation of S101, and will not be described here again.
S303, the server determines a plurality of state information of the detected terminal by using the plurality of detection information.
The detailed implementation of step S303 is identical to the implementation of S102, and will not be described here again.
S304, the server encodes the plurality of state information to obtain a plurality of encoded information corresponding to the plurality of state information.
The detailed implementation of step S304 is consistent with the implementation of step S103, and will not be described here again.
S305, the server determines a fault detection result of the detected terminal through a plurality of pieces of coding information, and sends the fault detection result to the preset user terminal.
The detailed implementation of step S305 is consistent with the implementation of S104, and will not be described here again.
Fig. 14 is a schematic structural diagram of a fault detection device according to an embodiment of the invention.
The embodiment of the present invention further provides a fault detection device 800, including: a receiving unit 803, a processing unit 804 and a first transmitting unit 805.
A receiving unit 803, configured to obtain a detection packet sent by the detection terminal, and decode the detection packet to obtain a plurality of detection information; the detection information comprises: the parameter information of the detected terminal detected by the detecting terminal in real time;
A processing unit 804, configured to determine a plurality of status information of the detected terminal by using the plurality of detection information;
The processing unit 804 is further configured to encode the plurality of state information to obtain a plurality of encoded information corresponding to the plurality of state information;
And a first transmitting unit 805 configured to determine a fault detection result of the detected terminal according to the plurality of encoded information, and transmit the fault detection result to the predetermined user terminal.
In the embodiment of the present invention, the plurality of detection information includes: a plurality of terminal state information and a plurality of external environment information; the receiving unit 803 in the fault detection device 800 is configured to obtain a detection packet sent by a detection terminal, decode the detection packet to obtain a plurality of terminal state information and a plurality of external environment information; the plurality of terminal state information are obtained by detecting the detected terminal in real time; the plurality of external environment information are obtained by detecting the environment of the detected terminal at intervals of preset time.
In the embodiment of the present invention, the plurality of detection information includes: a plurality of parameter detection information and a plurality of state detection information;
The processing unit 804 in the fault detection device 800 is configured to compare the plurality of parameter detection information with respective corresponding parameter thresholds, and further determine a plurality of first state information corresponding to the plurality of parameter detection information; and combining the plurality of first state information with the plurality of state detection information to obtain the plurality of state detection information of the detected terminal.
In the embodiment of the present invention, the fault detection result includes: a first fault detection result, a second fault detection result, and a third fault detection result; the processing unit 804 in the fault detection device 800 is configured to determine that the detected terminal is the first fault detection result if the plurality of encoded information includes the first encoded information and the second encoded information at the same time; if the plurality of coded information comprises the first coded information and also comprises the second coded information or the third coded information, determining that the detected terminal is a second fault detection result; if the plurality of coded information comprises the first coded information or the second coded information, determining that the detected terminal is a third fault detection result; the first encoded information, the second encoded information, and the third encoded information respectively include: at least one encoded information.
In the embodiment of the invention, the detection packet sent by the detection terminal is obtained, and the detection packet is decoded to obtain a plurality of detection information; the detection information comprises: the parameter information of the detected terminal detected by the detecting terminal in real time; determining a plurality of state information of the detected terminal by using the plurality of detection information; encoding the plurality of state information to obtain a plurality of encoded information corresponding to the plurality of state information; and determining a fault detection result of the detected terminal through a plurality of pieces of coding information, and sending the fault detection result to a preset user terminal. In the scheme, the detection terminals detect the detected terminal in real time, so that the detection terminals can accurately reflect the real-time information of the detected terminal, the server processes the detection information to obtain the coding information to determine the fault detection result, and meanwhile, factors of the detection information are considered, so that the detection accuracy of the accidental faults of the detected terminal is improved.
It should be noted that, in the embodiment of the present invention, if the fault detection method is implemented in the form of a software functional module, and sold or used as a separate product, the fault detection method may also be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied essentially or in a part contributing to the related art in the form of a software product stored in a storage medium, including several instructions for causing a fault detection device (which may be a personal computer or the like) to perform all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
Correspondingly, an embodiment of the invention provides a computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the above-mentioned method.
Correspondingly, the embodiment of the invention provides a fault detection device, which comprises a first memory 802 and a first processor 801, wherein the first memory 802 stores a computer program capable of running on the first processor 801, and the first processor 801 realizes the steps in the method when executing the program.
It should be noted here that: the description of the storage medium and apparatus embodiments above is similar to that of the method embodiments described above, with similar benefits as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and the apparatus of the present invention, please refer to the description of the method embodiments of the present invention.
It should be noted that fig. 15 is a schematic diagram of a hardware entity of a fault detection device according to an embodiment of the present invention, as shown in fig. 15, the hardware entity of the fault detection device 800 includes: a first processor 801 and a first memory 802, wherein;
The first processor 801 generally controls the overall operation of the fault detection device 800.
The first memory 802 is configured to store instructions and applications executable by the first processor 801, and may also cache data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or processed by each module in the first processor 801 and the fault detection device 800, which may be implemented by a FLASH memory (FLASH) or a random access memory (Random Access Memory, RAM).
Fig. 16 is a schematic diagram of a fault detection device according to an embodiment of the present invention.
The embodiment of the invention also provides a fault detection device 900, which comprises: a data acquisition unit 903 and a second transmission unit 904.
The data acquisition unit 903 is configured to detect a detected terminal in real time, thereby acquiring a plurality of detection information of the detected terminal;
The second sending unit 904 is configured to send a detection packet formed by the plurality of detected information to the server, where the server determines a plurality of status information according to the plurality of detected information, encodes the plurality of status information to obtain a plurality of encoded information, and determines a fault detection result of the detected terminal using the plurality of encoded information.
In the embodiment of the present invention, the plurality of detection information includes: a plurality of terminal state information and a plurality of external environment information; the data acquisition unit 903 in the fault detection device 900 is configured to detect a detected terminal in real time, thereby acquiring a plurality of terminal state information of the terminal; detecting the environment of the detected terminal at intervals of preset time, and further acquiring a plurality of external environment information of the terminal.
In the embodiment of the present invention, the second sending unit 904 in the fault detection device 900 is configured to encrypt the plurality of terminal state information and the plurality of external environment information through a key to form a detection packet; and sending the detection packet to the server at intervals of a second preset time.
In the embodiment of the present invention, the data acquisition unit 903 detects the detected terminal in real time, so as to acquire a plurality of pieces of detection information of the detected terminal. The plurality of detected information is transmitted to the server through the second transmitting unit 904, so that the server determines a fault detection result of the detected terminal according to the plurality of detected information. In the scheme, the detection terminals detect the detected terminal in real time, and meanwhile, factors of the detection information are considered, so that the server improves the detection accuracy of the accidental faults of the detected terminal.
Correspondingly, the embodiment of the invention provides a fault detection device, which comprises a second memory 902 and a second processor 901, wherein the second memory 902 stores a computer program capable of running on the second processor 901, and the second processor 901 realizes the steps in the method when executing the program.
It should be noted here that: the description of the storage medium and apparatus embodiments above is similar to that of the method embodiments described above, with similar benefits as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and the apparatus of the present invention, please refer to the description of the method embodiments of the present invention.
It should be noted that fig. 17 is a second schematic diagram of a hardware entity of the fault detection device according to the embodiment of the present invention, as shown in fig. 17, the hardware entity of the fault detection device 900 includes: a second processor 901 and a second memory 902, wherein;
The second processor 901 generally controls the overall operation of the fault detection device 900.
The second memory 902 is configured to store instructions and applications executable by the second processor 901, and may also cache data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or processed by each module in the second processor 901 and the fault detection device 900, and may be implemented by a FLASH memory (FLASH) or a random access memory (Random Access Memory, RAM).
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present invention, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present invention. The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described embodiment of the apparatus is merely illustrative, and for example, the division of the units is merely a logic function division, and there may be other division manners in actual implementation, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, device or unit, whether electrical, mechanical or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a removable Memory device, a Read Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes.
Or the above-described integrated units of the invention may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied essentially or in a part contributing to the related art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable memory device, a ROM, a magnetic disk, or an optical disk.
The foregoing is merely an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present invention, and the changes and substitutions are intended to be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (12)
1. A fault detection method, comprising:
acquiring a detection packet sent by a detection terminal, and decoding the detection packet to obtain a plurality of detection information; the detection information comprises: the detection terminal detects the parameter information of the detected terminal in real time;
determining a plurality of state information of the detected terminal by using the plurality of detection information;
Encoding the plurality of state information to obtain a plurality of encoded information corresponding to the plurality of state information;
Determining a fault detection result of the detected terminal through the plurality of coded information, and sending the fault detection result to a preset user terminal;
the plurality of detection information includes: a plurality of parameter detection information and a plurality of state detection information;
and determining, by using the plurality of detection information, a plurality of status information of the detected terminal, including:
Comparing the plurality of parameter detection information with the parameter threshold values corresponding to the parameter detection information, and further determining a plurality of first state information corresponding to the plurality of parameter detection information;
and combining the plurality of first state information with the plurality of state detection information to obtain the plurality of state information of the detected terminal, wherein the plurality of state information can directly reflect the plurality of states of the detected terminal.
2. The fault detection method according to claim 1, wherein the plurality of detection information includes: a plurality of terminal state information and a plurality of external environment information;
the method for obtaining the detection packet sent by the detection terminal, decoding the detection packet to obtain a plurality of detection information comprises the following steps:
Acquiring the detection packet sent by the detection terminal, and decoding the detection packet to obtain the plurality of terminal state information and the plurality of external environment information; the plurality of terminal state information are obtained by detecting the detected terminal in real time; the external environment information is obtained by detecting the environment of the detected terminal at intervals of preset time.
3. The fault detection method according to claim 1, wherein the fault detection result includes: a first fault detection result, a second fault detection result, and a third fault detection result;
And determining a fault detection result of the detected terminal through the plurality of coded information, wherein the fault detection result comprises one of the following steps:
If the plurality of coded information simultaneously comprises first coded information and second coded information, determining that the detected terminal is the first fault detection result;
If the plurality of coded information includes the first coded information and also includes the second coded information or the third coded information, determining that the detected terminal is the second fault detection result;
If the plurality of encoded information includes the first encoded information or the second encoded information, determining that the detected terminal is the third fault detection result; the first encoded information, the second encoded information, and the third encoded information each include: at least one encoded information.
4. A fault detection method, comprising:
detecting a detected terminal in real time, and further acquiring a plurality of detection information of the detected terminal;
Transmitting a detection packet formed by the plurality of detected information to a server, determining a plurality of state information by the server according to the plurality of detection information, encoding the plurality of state information to obtain a plurality of encoded information, and determining a fault detection result of the detected terminal by using the plurality of encoded information; wherein the plurality of detection information includes: a plurality of parameter detection information and a plurality of state detection information; the plurality of detection information are used for comparing the plurality of parameter detection information with the parameter threshold values corresponding to the parameter detection information by the server, so as to determine a plurality of first state information corresponding to the plurality of parameter detection information; and combining the plurality of first state information with the plurality of state detection information to obtain the plurality of state information of the detected terminal, wherein the plurality of state information can directly reflect the plurality of states of the detected terminal.
5. The fault detection method of claim 4, wherein the plurality of detection information comprises: a plurality of terminal state information and a plurality of external environment information;
The detecting the detected terminal in real time to obtain a plurality of detection information of the detected terminal includes:
Detecting the detected terminal in real time, and further acquiring the state information of the terminals;
Detecting the environment of the detected terminal at intervals of a first preset time, and further obtaining the plurality of external environment information of the terminal.
6. The method according to claim 5, wherein transmitting the detection packet formed by the plurality of pieces of detected information to the server includes:
Encrypting the plurality of terminal state information and the plurality of external environment information through a secret key to form the detection packet;
and sending the detection packet to the server at intervals of a second preset time.
7. A fault detection device, comprising:
the receiving unit is used for acquiring a detection packet sent by the detection terminal and decoding the detection packet to obtain a plurality of detection information; the detection information comprises: the detection terminal detects the parameter information of the detected terminal in real time;
The processing unit is used for determining a plurality of state information of the detected terminal by utilizing the plurality of detection information;
the processing unit is further used for encoding the plurality of state information to obtain a plurality of encoded information corresponding to the plurality of state information;
the first sending unit is used for determining a fault detection result of the detected terminal through the plurality of coded information and sending the fault detection result to a preset user terminal;
wherein the plurality of detection information includes: a plurality of parameter detection information and a plurality of state detection information;
the processing unit is used for comparing the plurality of parameter detection information with the parameter threshold values corresponding to the parameter detection information, and further determining a plurality of first state information corresponding to the plurality of parameter detection information; and combining the plurality of first state information with the plurality of state detection information to obtain the plurality of state information of the detected terminal, wherein the plurality of state information can directly reflect the plurality of states of the detected terminal.
8. A fault detection device, comprising:
The data acquisition unit is used for detecting the detected terminal in real time so as to acquire a plurality of detection information of the detected terminal;
The second sending unit is used for sending a detection packet formed by the plurality of detected information to a server, determining a plurality of state information by the server according to the plurality of detection information, encoding the plurality of state information to obtain a plurality of encoded information, and determining a fault detection result of the detected terminal by using the plurality of encoded information;
Wherein the plurality of detection information includes: a plurality of parameter detection information and a plurality of state detection information; the plurality of detection information are used for comparing the plurality of parameter detection information with the parameter threshold values corresponding to the parameter detection information by the server, so as to determine a plurality of first state information corresponding to the plurality of parameter detection information; and combining the plurality of first state information with the plurality of state detection information to obtain the plurality of state information of the detected terminal, wherein the plurality of state information can directly reflect the plurality of states of the detected terminal.
9. A fault detection device comprising a first memory and a first processor, the first memory storing a computer program executable on the processor, the first processor implementing the steps of the method of any one of claims 1 to 3 when the program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a first processor, implements the steps of the method of any of claims 1 to 3.
11. A fault detection device comprising a second memory and a second processor, the second memory storing a computer program executable on the processor, the second processor implementing the steps of the method of any of claims 4 to 6 when the program is executed.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a second processor, implements the steps of the method of any of claims 4 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111241035.0A CN116032799B (en) | 2021-10-25 | 2021-10-25 | Fault detection method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111241035.0A CN116032799B (en) | 2021-10-25 | 2021-10-25 | Fault detection method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116032799A CN116032799A (en) | 2023-04-28 |
CN116032799B true CN116032799B (en) | 2024-07-23 |
Family
ID=86076413
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111241035.0A Active CN116032799B (en) | 2021-10-25 | 2021-10-25 | Fault detection method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116032799B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111258857A (en) * | 2020-02-21 | 2020-06-09 | 山东超越数控电子股份有限公司 | Server state monitoring method and system |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101562827B (en) * | 2009-05-22 | 2011-05-25 | 中兴通讯股份有限公司 | Fault information acquisition method and system |
EP3076641B1 (en) * | 2013-12-24 | 2018-02-14 | Huawei Device (Dongguan) Co., Ltd. | Method for detecting whether hardware of intelligent terminal is running abnormally and intelligent terminal |
JP2015187857A (en) * | 2014-03-12 | 2015-10-29 | 株式会社リコー | Management system, detection device, and management method |
CN103941691B (en) * | 2014-04-21 | 2016-06-15 | 中车青岛四方机车车辆股份有限公司 | Based on the real-time monitoring system of train-mounted information and the monitoring method of mobile terminal |
CN107203200A (en) * | 2017-06-19 | 2017-09-26 | 吉林省利源智能机械制造有限公司 | A kind of method and system of long-range monitoring garage failure |
CN110095144B (en) * | 2018-01-30 | 2021-07-09 | 中电长城(长沙)信息技术有限公司 | Method and system for identifying local fault of terminal equipment |
CN108873830A (en) * | 2018-05-31 | 2018-11-23 | 华中科技大学 | A kind of production scene online data collection analysis and failure prediction system |
CN110212646A (en) * | 2019-06-28 | 2019-09-06 | 易事特集团股份有限公司 | A kind of method and system by Internet surveillance electric power equipment fault |
CN111307194B (en) * | 2020-01-21 | 2020-12-25 | 中南民族大学 | Beidou-based environmental equipment detection method, device, equipment and storage medium |
CN113452542A (en) * | 2020-03-27 | 2021-09-28 | 华为技术有限公司 | Fault detection method and equipment |
CN111650917B (en) * | 2020-05-14 | 2022-08-05 | 中铁第四勘察设计院集团有限公司 | Multi-dimensional state online monitoring method and system for equipment |
CN111639769A (en) * | 2020-05-26 | 2020-09-08 | 李云祥 | Monitoring equipment remote maintenance method and device and electronic equipment |
CN112684779B (en) * | 2020-12-25 | 2022-07-05 | 长城汽车股份有限公司 | Vehicle fault detection method, system, storage medium and electronic device |
-
2021
- 2021-10-25 CN CN202111241035.0A patent/CN116032799B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111258857A (en) * | 2020-02-21 | 2020-06-09 | 山东超越数控电子股份有限公司 | Server state monitoring method and system |
Also Published As
Publication number | Publication date |
---|---|
CN116032799A (en) | 2023-04-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103855772B (en) | Mobile terminal and charge control method thereof | |
CN203191896U (en) | Host device for judging whether accessory comprises specific circuit or not and accessory | |
CN104242365B (en) | Portable electronic device and application method | |
CN102934313A (en) | Method for battery removal detection | |
CN103841261A (en) | Communication information extracting method and communication terminal | |
CN117110913B (en) | Battery detection circuit, electronic device, and battery detection method | |
CN106972638A (en) | Wireless charging method and equipment based on multi-feature recognition | |
CN110749831A (en) | Terminal device, power supply device, system, mainboard type identification method and medium | |
US10170920B2 (en) | System and method for energy management within a group of devices | |
CN116032799B (en) | Fault detection method, device and storage medium | |
CN102375124A (en) | Battery capacity test device | |
EP4123867A1 (en) | Smart battery device, and electronic device thereof | |
CN108009068B (en) | Information recording method, information recording device and intelligent terminal | |
US20150163093A1 (en) | System and methods to configure service providers for client appliances, and for tracking and providing service data | |
CN204423382U (en) | In tool box, device checked by instrument | |
CN106556800B (en) | A kind of method and device of battery detecting | |
CN113625185A (en) | Automatic screening and grouping system for lithium batteries | |
EP1596485A2 (en) | Energy safety notification system for electronic devices | |
CN203630785U (en) | Identity authentication device with audio interface adopted | |
CN102751541A (en) | Battery management method, system battery identification method and battery control device | |
CN114531710A (en) | Method, device and equipment for determining target cell and computer storage medium | |
CN110176640A (en) | Intelligent battery for unmanned aerial vehicle and unmanned aerial vehicle | |
CN106303906A (en) | Smart type luggage and short-distance wireless communication system | |
CN106170138B (en) | Multi-cell coverage system signal characteristic acquisition method and device | |
CN103336180A (en) | Antenna identification method applicable to portable radio monitoring one-body machine |
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 |