CN112579393A - Self-checking method and device for Internet of things terminal, terminal and storage medium - Google Patents

Self-checking method and device for Internet of things terminal, terminal and storage medium Download PDF

Info

Publication number
CN112579393A
CN112579393A CN202011522282.3A CN202011522282A CN112579393A CN 112579393 A CN112579393 A CN 112579393A CN 202011522282 A CN202011522282 A CN 202011522282A CN 112579393 A CN112579393 A CN 112579393A
Authority
CN
China
Prior art keywords
internet
terminal
things
system parameters
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011522282.3A
Other languages
Chinese (zh)
Inventor
叶汇镓
李伟青
石扬
梅咏武
谢彬凌
梁骏华
李永辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Meizhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizhou Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Meizhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Priority to CN202011522282.3A priority Critical patent/CN112579393A/en
Publication of CN112579393A publication Critical patent/CN112579393A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/60Healthcare; Welfare
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/75Information technology; Communication
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y30/00IoT infrastructure
    • G16Y30/10Security thereof
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/10Detection; Monitoring
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/50Safety; Security of things, users, data or systems

Abstract

The embodiment of the invention discloses a self-checking method and device for an Internet of things terminal, the terminal and a storage medium. The method comprises the following steps: acquiring current operating system parameters of the terminal of the Internet of things in a timing mode, and comparing the current operating system parameters with initial operating system parameters according to a target logic comparison strategy; and if the Internet of things terminal system is determined to be abnormal according to the comparison result, performing system abnormal recovery on the Internet of things terminal. According to the technical scheme, the automatic safety detection of the terminal of the Internet of things is realized, and the risk that the system parameters of the terminal of the Internet of things are tampered is reduced.

Description

Self-checking method and device for Internet of things terminal, terminal and storage medium
Technical Field
The embodiment of the invention relates to the technical field of Internet of things security, in particular to a self-checking method, a self-checking device, self-checking equipment and a self-checking storage medium for an Internet of things terminal.
Background
With the development of the technology of the internet of things, the number of terminals of the internet of things is increased dramatically, and the safety problem of the terminals of the internet of things is exposed. For example, the potential safety hazard of the terminal of the internet of things is increased by using simple passwords, not encrypting the communication process, using hard coding passwords and the like. Meanwhile, the security protection measures of the terminal of the Internet of things are insufficient, and due to the special purpose, low cost and light weight of the terminal of the Internet of things, few anti-virus software can be installed in a matching mode, and the anti-virus software is installed in an outdoor scattered mode, so that the opportunity is left for physical attack and tampering counterfeiting.
Because most developers of the internet of things terminal carry out secondary development or fragment code adaptation based on the existing module or open source code, various potential safety hazards may exist in the firmware of the internet of things terminal which leaves the factory; meanwhile, because the number of operating systems used by the internet of things terminal is large, the used architecture is not uniform, the firmware formats are very different, and even a plurality of self-defined special formats exist, the diversity and differentiation of the internet of things terminal bring challenges to automatic safety detection.
Therefore, aiming at fragmentation and diversity of the terminal of the internet of things, how to realize automatic safety detection of the terminal of the internet of things is an urgent problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a self-checking method, a self-checking device, equipment and a storage medium of an Internet of things terminal, so that automatic safety detection of the Internet of things terminal is realized, and the risk of tampering of system parameters of the Internet of things terminal is reduced.
In a first aspect, an embodiment of the present invention further provides a self-checking method for an internet of things terminal, including:
acquiring current operating system parameters of the terminal of the Internet of things in a timing mode, and comparing the current operating system parameters with initial operating system parameters according to a target logic comparison strategy;
and if the Internet of things terminal system is determined to be abnormal according to the comparison result, performing system abnormal recovery on the Internet of things terminal.
In a second aspect, an embodiment of the present invention provides a self-checking device for an internet of things terminal, including:
the system parameter comparison module is used for regularly acquiring the current operating system parameters of the terminal of the Internet of things and comparing the current operating system parameters with the initial operating system parameters according to a target logic comparison strategy;
and the system abnormity recovery module is used for recovering the system abnormity of the terminal of the Internet of things if the abnormity of the terminal system of the Internet of things is determined according to the comparison result.
In a third aspect, an embodiment of the present invention further provides an internet of things terminal, which includes a memory, a processor, and a computer program that is stored in the memory and can be run on the processor, and when the processor executes the program, the self-test method of the internet of things terminal according to any embodiment of the present invention is implemented.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the self-checking method for the terminal of the internet of things according to any embodiment of the present invention is implemented.
According to the technical scheme provided by the embodiment of the invention, the terminal of the Internet of things regularly acquires the parameters of the current operation system, compares the parameters of the current operation system with the parameters of the initial operation system according to the target logic comparison strategy, and performs system abnormity recovery on the terminal of the Internet of things if the abnormality of the terminal system of the Internet of things is determined according to the comparison result, so that the automatic safety detection of the terminal of the Internet of things is realized, and the system abnormity recovery is performed on the terminal of the Internet of things when the terminal system of the Internet of things is abnormal, thereby reducing the risk of tampering the parameters of the terminal system of.
Drawings
Fig. 1 is a flowchart of a self-checking method for an internet of things terminal according to a first embodiment of the present invention;
fig. 2 is a flowchart of a self-checking method of an internet of things terminal in a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a self-inspection device of an internet of things terminal in a third embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an internet of things terminal in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a self-checking method for an internet of things terminal according to an embodiment of the present invention, which is applicable to a situation of performing security self-checking on an electric power internet of things terminal.
As shown in fig. 1, the self-checking method for the internet of things terminal provided by this embodiment specifically includes:
s110, collecting current operation system parameters of the terminal of the Internet of things at regular time, and comparing the current operation system parameters with the initial operation system parameters according to a target logic comparison strategy.
The internet of things terminal can be an electric power internet of things terminal, for example, an electric power fault positioning device, a smart meter, a temperature sensor and the like. In the electric power internet of things industry, the number of the internet of things terminals is very large, the types of the internet of things terminals are also diversified, and the type of the internet of things terminals is not particularly limited in the embodiment.
The current operation system parameters refer to system parameters of the internet of things terminal when the internet of things terminal operates at the current moment; the initial operation system parameters refer to system parameters of the internet of things terminal during initial operation, and the initial operation specifically refers to that the internet of things terminal is just put into operation.
Optionally, the system parameter includes at least one of: the method comprises the following steps of process quantity, process type, processor performance state, memory performance state, data storage area state, parameter storage area state, port state and inherent function parameter value.
The process number refers to the number of processes operated by the terminal of the internet of things; the process type refers to the type of a process operated by the terminal of the Internet of things; the processor performance state refers to state information used for describing the performance of a processor (such as a CPU) of the terminal of the internet of things, such as utilization rate and the like; the memory performance state refers to state information used for describing the memory performance of the internet of things terminal, such as memory usage amount, memory usage rate and the like; the data storage area state refers to the state of a storage area for storing data detected and collected by the terminal of the internet of things, and comprises a stored data amount, a stored data type, a stored data value and the like; the parameter storage area state refers to the state of a storage area for storing the parameters set by the terminal of the internet of things, and comprises a storage data volume, a storage data type, a storage data value and the like; the port state refers to information used for describing a port working state of the terminal of the internet of things, such as opening, closing, receiving data, sending data and the like, and the port can be a serial port, a network port and the like; the intrinsic function parameter value refers to a parameter value related to an intrinsic function of the terminal of the internet of things, for example, the intrinsic function of the power failure positioning device is a failure positioning function, the intrinsic function of the smart meter is measuring electric quantity, and the intrinsic function of the temperature sensor is measuring temperature.
The terminal of the internet of things acquires the current operating system parameters at regular time, for example, the current operating system parameters may be acquired at regular time according to a self-checking period, the duration of the self-checking period may be two hours, and the current operating system parameters may be specifically timed through a built-in timer module of the terminal of the internet of things. The system parameters acquired by the terminal of the internet of things at regular time can be preset system parameters related to the equipment, and the types of the parameters related to the current operation system parameters acquired at regular time are matched with the types of the parameters related to the initial operation system parameters.
The target logic comparison strategy refers to a logic comparison strategy matched with the terminal of the Internet of things. The logic comparison strategies corresponding to different types of terminals of the internet of things can be consistent or have individual differences. The target logic comparison strategy may be pre-stored in the terminal of the internet of things.
Optionally, the logic comparison policy at least includes a comparison order of different types of system parameters, and a mapping relationship between each comparison result and a system exception problem. For example, in the target logic comparison strategy, firstly, the number of processes is compared, then, the types of the processes are compared, and if the number of the processes and the types of the processes are not abnormal, then, the other system parameters are compared; for another example, in the target logic comparison policy, the number of processes is compared first, and if the number of processes is abnormal, the process type is compared to determine the abnormal process.
It should be noted that, for different types of system parameters, the mapping relationship between the comparison result and the system abnormal problem may be different, and may be specifically set according to the type of the system parameter, which is not specifically limited in this embodiment. For example, for the number of processes, the mapping relationship between the comparison result and the system exception problem may be that when the number of currently running processes is larger than the number of initially running processes by a preset percentage threshold, it is determined that the number of processes is abnormal. For another example, for the port state, when the working state of the current running port is inconsistent with the working state of the initial running port, it is determined that the port state is abnormal. For another example, for a process type, the mapping relationship between the comparison result and the system exception problem may be that the process type of a running process does not belong to the process type involved in the initial running system parameters, and it is determined that the process type is abnormal.
It should be noted that, in the logic comparison policy, it may be set whether to continue to compare other system parameters in sequence if it is determined that the networked terminal system is abnormal according to the comparison result of some system parameter, which is not specifically limited in this embodiment.
As an optional implementation manner, before comparing the current operating system parameter with the initial operating system parameter according to the target logic comparison policy, the method further includes:
receiving and storing the target logic comparison strategy; wherein the target logic comparison policy is determined based on a system parameter comparison logic generation request and a general logic comparison policy.
The general logic comparison strategy is a logic comparison strategy which is determined by system parameters based on the general use of the Internet of things terminals and is suitable for carrying out security self-check on most Internet of things terminals.
The system parameter comparison logic generation request refers to an application request initiated by a user and is used for indicating generation of a target logic comparison strategy corresponding to the security self-check of the terminal of the internet of things, wherein the system parameter comparison logic generation request can carry special system parameters of the terminal of the internet of things, a comparison sequence of the special system parameters, a mapping relation between a comparison result and a system abnormal problem and the like.
Illustratively, the system parameter comparison logic generation request may be initiated in the internet of things terminal monitoring background, the target logic comparison policy is generated by the internet of things monitoring background based on the system parameter comparison logic generation request and the general logic comparison policy, and the target logic comparison policy is issued to the matched internet of things terminal, so that the internet of things terminal can compare the currently running system parameter with the initially running system parameter at regular time according to the target logic comparison policy.
When the internet of things terminal does not relate to other special system parameters except the general system parameters, the general logic comparison strategy can be taken as a target logic comparison strategy to be issued to the matched internet of things terminal through the internet of things monitoring background, so that the internet of things terminal can compare the current operating system parameters with the initial operating system parameters at regular time according to the target logic comparison strategy.
Optionally, when the terminal of the internet of things is put into operation, the current operation system parameters of the terminal of the internet of things are recorded as the initial operation system parameters. The initial operation system parameters can be stored in an independent storage area of the terminal of the Internet of things.
It is worth pointing out that the current operating system parameters recorded by the terminal of the internet of things may be the system parameters involved in the target logic comparison policy.
Further, if an initial operating system parameter modification request is received, updating the initial operating system parameters according to the initial operating system parameter modification request.
The initial operating system parameter modification request refers to a request for indicating modification of an initial operating system parameter. Optionally, the initial operating system parameter modification request carries the type of the system parameter to be modified and a parameter value.
And after the terminal of the Internet of things receives the initial operation system parameter modification request, correspondingly modifying the stored initial operation system parameters according to the indication of the initial operation system parameter modification request.
It should be noted that administrator privileges may be set with respect to modification of initial operating system parameters, with respect to modification of duration of self-test cycles. That is, only the administrator can modify the initial operating system parameters, the duration of the self-test period, and the like.
And S120, if the Internet of things terminal system is determined to be abnormal according to the comparison result, performing system abnormal recovery on the Internet of things terminal.
When the current operation system parameters are compared with the initial operation system parameters according to the target logic comparison strategy, if the current operation system parameters and the initial operation system parameters meet consistency conditions, it is determined that no system abnormality exists in the terminal of the Internet of things, and then the current operation system parameters and the initial operation system parameters can be compared again according to the target logic comparison strategy when the next self-checking period is reached.
The consistency condition refers to that the current operating system parameter is completely the same as the initial operating system parameter, or the difference between the current operating system parameter and the initial operating system parameter is within a preset threshold range.
When the current operation system parameters are compared with the initial operation system parameters according to the target logic comparison strategy, if the system parameters which do not meet the consistency condition exist, the abnormality of the terminal system of the Internet of things is determined, meanwhile, the system abnormality problem of the terminal of the Internet of things can be positioned according to the mapping relation between the comparison result and the system abnormality problem, and then the system abnormality problem can be solved through the recovery process so as to recover the system abnormality of the terminal of the Internet of things.
For example, if the system exception problem is that a process type exception exists, the process with the process type exception can be closed by recovering the process; for another example, the system exception problem is a port state exception, and if the working state of a certain port in the initially running system parameters is off and the working state of a certain port in the currently running system parameters is on, the port can be closed through the recovery process, so that the working adjustment of the port is recovered to be closed.
Further, if the abnormal duration of the terminal system of the internet of things reaches a duration threshold, performing system initialization on the terminal of the internet of things; and/or after the system of the terminal of the internet of things is recovered, if the system is failed to recover and the current recovery times of the system reach a time threshold value, performing system initialization on the terminal of the internet of things.
When the terminal system of the internet of things is determined to be abnormal according to the comparison result, counting the abnormal duration of the terminal system of the internet of things, and if the abnormal duration of the system reaches a duration threshold value, such as several minutes, dozens of minutes and the like, performing system initialization on the terminal of the internet of things, namely performing system restart on the terminal of the internet of things, so that the terminal of the internet of things is restored to an initial operation state.
The method comprises the steps of setting matched duration thresholds aiming at different system abnormity problems, counting abnormal duration of the terminal system of the Internet of things when the abnormal terminal system of the Internet of things is determined according to a comparison result, determining the duration threshold matched with the current system abnormity problem, and carrying out system initialization on the terminal of the Internet of things if the duration of the current system abnormity problem reaches the matched duration threshold.
And when the terminal system of the Internet of things is determined to be abnormal, performing system abnormal recovery on the terminal of the Internet of things, wherein the result of the system abnormal recovery may be recovery success or recovery failure. If the recovery is successful, comparing the current operating system parameter with the initial operating system parameter again according to the target logic comparison strategy until the next self-checking period is reached. If the recovery fails, the abnormal recovery of the system can be continuously carried out on the terminal of the Internet of things, and meanwhile, the current recovery times of the system are counted. And when the current recovery frequency of the system reaches a preset frequency threshold value, performing system initialization on the terminal of the Internet of things, namely performing system restart on the terminal of the Internet of things so as to recover the terminal of the Internet of things to an initial operation state.
Further, before the system initialization is performed on the terminal of the internet of things, the target function of the terminal of the internet of things can be closed, and fault reporting information is sent to the terminal monitoring background of the internet of things.
The target function refers to an inherent function that is suspected to affect the security of the terminal of the internet of things, and may be, for example, a process running function, a port data receiving and sending function, and the like.
Before the system initialization is carried out on the terminal of the Internet of things, the target function of the terminal of the Internet of things is closed so as to reduce the safety risk of the terminal of the Internet of things as much as possible.
Meanwhile, before the system initialization is carried out on the terminal of the internet of things, fault reporting information can be sent to the terminal monitoring background of the internet of things so as to report the current system abnormal problem of the terminal of the internet of things. The fault reporting information may include an equipment identifier of the internet of things terminal, a code of a system abnormal problem, and the like. Optionally, a fault reporting port of the internet of things terminal is opened, and fault reporting information is sent to the internet of things terminal monitoring background through the fault reporting port.
According to the technical scheme provided by the embodiment of the invention, the terminal of the Internet of things regularly acquires the parameters of the current operation system, compares the parameters of the current operation system with the parameters of the initial operation system according to the target logic comparison strategy, and performs system abnormity recovery on the terminal of the Internet of things if the abnormality of the terminal system of the Internet of things is determined according to the comparison result, so that the automatic safety detection of the terminal of the Internet of things is realized, and the system abnormity recovery is performed on the terminal of the Internet of things when the terminal system of the Internet of things is abnormal, thereby reducing the risk of tampering the parameters of the terminal system of.
According to the technical scheme provided by the embodiment of the invention, the function supplement of the terminal watchdog is realized, the problem of system abnormity of the terminal of the Internet of things can be positioned through safety self-detection, the system abnormity recovery of the terminal of the Internet of things can be carried out, and the risk of tampering the system parameters of the terminal of the Internet of things and the safety risk brought by an abnormal process in the operation process are reduced.
Example two
Fig. 2 is a flowchart of a self-checking method for an internet of things terminal according to a second embodiment of the present invention. The present embodiment provides a specific implementation manner based on the foregoing embodiments.
As shown in fig. 2, the self-checking method for the internet of things terminal provided by this embodiment specifically includes:
and S210, initializing the inherent function parameters of the terminal of the Internet of things.
The intrinsic function parameters of the terminal of the internet of things are initialized, for example, a security self-check period of the terminal of the internet of things can be initialized, and the security self-check period is set to be two hours.
And S220, recording the current operation system parameters of the terminal of the Internet of things as initial operation system parameters when the terminal of the Internet of things is put into operation.
When the terminal of the internet of things is put into operation, the starting program records the system parameters of the terminal of the internet of things in current operation as default initial operation system parameters, and the default initial operation system parameters can include, for example, the number of processes, the types of the processes, the state of a CPU, the state of a memory, the state of a data storage area, the state of a parameter storage area, the state of a port, the values of inherent function parameters, and the like.
Optionally, the initial operating system parameters are stored in a separate storage area, which is not a data storage area nor a parameter storage area.
And S230, acquiring current operating system parameters of the terminal of the Internet of things at regular time, and comparing the current operating system parameters with the initial operating system parameters according to a target logic comparison strategy.
The parameter type related to the current operation system parameter acquired by the terminal of the Internet of things at regular time is matched with the parameter type related to the initial operation system parameter.
The terminal of the internet of things regularly collects the number of processes, the types of the processes, the state of a CPU (central processing unit), the state of a memory, the state of a data storage area, the state of a parameter storage area, the state of a port, the value of an inherent function parameter and the like according to a security self-checking period, compares the current running system parameter with the initial running system parameter according to a target logic comparison strategy, and judges whether the terminal of the internet of things is abnormal in system.
The target logic comparison strategy comprises a comparison sequence of each system parameter and a mapping relation between a comparison result of each system parameter and a system abnormal problem.
For example, according to the target logic comparison policy, the state of the parameter storage area may be compared first, specifically, it may be determined whether the parameter setting in the current parameter storage area is consistent with the parameter setting in the stored parameter storage area, if not, it may be determined that there is a risk of tampering the initialization parameter, it is determined that the terminal system of the internet of things is abnormal, and system recovery is required, and if consistent, it may be determined whether the port state is abnormal, whether the process number and process type are abnormal, and further, it may be determined whether the state of the data storage area is abnormal or not.
And S240, judging whether the system of the Internet of things terminal is abnormal according to the comparison result, if so, executing S250, and if not, executing S230.
And determining whether the system of the terminal of the Internet of things is abnormal or not according to the mapping relation between the comparison result of each system parameter and the abnormal problem of the system.
It should be noted that, in the logic comparison policy, it may be set whether to continue to compare other system parameters in sequence if it is determined that the networked terminal system is abnormal according to the comparison result of some system parameters.
And S250, performing system abnormity recovery on the terminal of the Internet of things.
And starting a system recovery process to perform system abnormity recovery on the Internet of things terminal aiming at the current system abnormity problem. If there are a plurality of system abnormal problems, the plurality of system abnormal problems need to be recovered.
And S260, judging whether the system abnormal recovery result is successful, if so, executing S230, and if not, executing S270.
And S270, judging whether the current recovery frequency of the system reaches a frequency threshold or whether the duration of the system abnormity reaches a duration threshold, if not, executing S250, and if so, executing S280.
S280, closing the target function of the terminal of the Internet of things, sending fault reporting information to the terminal monitoring background of the Internet of things, and performing system initialization on the terminal of the Internet of things.
And when the system is unsuccessfully recovered due to the abnormality, judging whether the current recovery frequency reaches a frequency threshold value, if so, performing fault reporting and then performing system initialization on the terminal of the Internet of things.
Meanwhile, the duration of the system abnormity is monitored, and the system initialization is carried out on the terminal of the Internet of things after the fault report is carried out when the duration of the system abnormity reaches a duration threshold value.
For those parts of this embodiment that are not explained in detail, reference is made to the aforementioned embodiments, which are not repeated herein.
Among the above-mentioned technical scheme, thing networking terminal is regularly gathered terminal parameter and running state to compare with the setting value in the initial running state, whether in safe and normal running state with the judgement thing networking terminal, and when thing networking terminal operation is unusual, carry out fault location and self-resuming, can also carry out the fault and report, for simple watchdog function, judge that the logic is more complicated, and then possess higher security and reliability.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a self-checking device for an internet of things terminal according to a third embodiment of the present invention, which is applicable to a situation of performing security self-checking on an electric power internet of things terminal.
As shown in fig. 3, the self-inspection device of the internet of things terminal specifically includes: a system parameter comparison module 310 and a system exception recovery module 320. Wherein the content of the first and second substances,
the system parameter comparison module 310 is configured to collect current operating system parameters of the internet of things terminal at regular time, and compare the current operating system parameters with the initial operating system parameters according to a target logic comparison strategy;
and a system exception recovery module 320, configured to, if it is determined that the internet of things terminal system is abnormal according to the comparison result, perform system exception recovery on the internet of things terminal.
According to the technical scheme provided by the embodiment of the invention, the terminal of the Internet of things regularly acquires the parameters of the current operation system, compares the parameters of the current operation system with the parameters of the initial operation system according to the target logic comparison strategy, and performs system abnormity recovery on the terminal of the Internet of things if the abnormality of the terminal system of the Internet of things is determined according to the comparison result, so that the automatic safety detection of the terminal of the Internet of things is realized, and the system abnormity recovery is performed on the terminal of the Internet of things when the terminal system of the Internet of things is abnormal, thereby reducing the risk of tampering the parameters of the terminal system of.
Optionally, the apparatus further comprises: the system initialization module is used for performing system initialization on the Internet of things terminal if the abnormal duration of the Internet of things terminal system reaches a duration threshold; and/or the presence of a gas in the gas,
after the system recovery of the terminal of the Internet of things is carried out, if the system recovery fails and the current recovery times of the system reach a time threshold value, carrying out system initialization on the terminal of the Internet of things.
Optionally, the apparatus further comprises: and the fault reporting module is used for closing the target function of the terminal of the Internet of things before the terminal of the Internet of things is subjected to system initialization, and sending fault reporting information to the terminal monitoring background of the Internet of things.
Optionally, the apparatus further comprises: and the initial operation parameter storage module is used for recording the current operation system parameters of the terminal of the Internet of things as the initial operation system parameters when the terminal of the Internet of things is put into operation.
Further, the above apparatus further comprises: and the initial operation parameter updating module is used for updating the initial operation system parameters according to the initial operation system parameter modification request if the initial operation system parameter modification request is received.
Optionally, the apparatus further comprises: the logic comparison strategy storage module is used for receiving and storing the target logic comparison strategy before comparing the current operation system parameter with the initial operation system parameter according to the target logic comparison strategy; wherein the target logic comparison policy is determined based on a system parameter comparison logic generation request and a general logic comparison policy.
Optionally, the system parameter includes at least one of:
the method comprises the following steps of process quantity, process type, processor performance state, memory performance state, data storage area state, parameter storage area state, port state and inherent function parameter value.
The self-checking device of the internet of things terminal can execute the self-checking method of the internet of things terminal provided by any embodiment of the invention, and has the functional modules and the beneficial effects corresponding to the executed self-checking method of the internet of things terminal.
Example four
Fig. 4 is a schematic diagram of a hardware structure of an internet of things terminal according to a fourth embodiment of the present invention. As shown in fig. 4, the internet of things terminal includes a processor 410, a memory 420, an input device 430, and an output device 440; the number of the processors 410 in the terminal of the internet of things may be one or more, and one processor 410 is taken as an example in fig. 4; the processor 410, the memory 420, the input device 430 and the output device 440 in the internet of things terminal may be connected through a bus or other means, and the connection through the bus is exemplified in fig. 4.
The memory 420 is used as a computer-readable storage medium, and may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the self-test method of the terminal of the internet of things in the embodiment of the present invention (for example, the system parameter comparison module 310 and the system abnormality recovery module 320 in the self-test apparatus of the terminal of the internet of things shown in fig. 3). The processor 410 executes various functional applications and data processing of the internet of things terminal by running software programs, instructions and modules stored in the memory 420, that is, the self-checking method of the internet of things terminal is implemented.
The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the internet of things terminal, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 420 may further include memory located remotely from the processor 410, which may be connected to the internet of things terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 430 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the internet of things terminal. The output device 440 may include a display device such as a display screen.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, where the computer program is executed by a computer processor to perform a self-test method for an internet of things terminal, where the method includes:
acquiring current operating system parameters of the terminal of the Internet of things in a timing mode, and comparing the current operating system parameters with initial operating system parameters according to a target logic comparison strategy;
and if the Internet of things terminal system is determined to be abnormal according to the comparison result, performing system abnormal recovery on the Internet of things terminal.
Of course, in the computer-readable storage medium storing the computer program provided in the embodiment of the present invention, the computer program is not limited to the above method operations, and may also perform related operations in the self-checking method of the terminal of the internet of things provided in any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes instructions for enabling a terminal of the internet of things to execute the method according to the embodiments of the present invention.
It should be noted that, in the embodiment of the self-inspection device for the terminal of the internet of things, each unit and each module included in the embodiment are only divided according to functional logic, but are not limited to the above division, as long as corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A self-checking method of an Internet of things terminal is characterized by comprising the following steps:
acquiring current operating system parameters of the terminal of the Internet of things in a timing mode, and comparing the current operating system parameters with initial operating system parameters according to a target logic comparison strategy;
and if the Internet of things terminal system is determined to be abnormal according to the comparison result, performing system abnormal recovery on the Internet of things terminal.
2. The method according to claim 1, characterized in that if the time length of the abnormality of the terminal system of the internet of things reaches a time length threshold value, the terminal of the internet of things is subjected to system initialization; and/or the presence of a gas in the gas,
after the system recovery is carried out on the terminal of the internet of things, the method further comprises the following steps:
and if the system recovery fails and the current recovery times of the system reach a time threshold value, performing system initialization on the terminal of the Internet of things.
3. The method of claim 2, wherein before performing system initialization on the terminal of the internet of things, the method further comprises:
and closing the target function of the terminal of the Internet of things, and sending fault reporting information to the terminal monitoring background of the Internet of things.
4. The method according to claim 1, before the step of periodically acquiring the current operating system parameters of the terminal of the internet of things, the method further comprises the following steps:
and when the terminal of the Internet of things is put into operation, recording the current operation system parameters of the terminal of the Internet of things as initial operation system parameters.
5. The method of claim 4, wherein if an initial operating system parameter modification request is received, updating the initial operating system parameters according to the initial operating system parameter modification request.
6. The method of claim 1, prior to comparing the current operating system parameters to initial operating system parameters according to a target logical comparison policy, further comprising:
receiving and storing the target logic comparison strategy; wherein the target logic comparison policy is determined based on a system parameter comparison logic generation request and a general logic comparison policy.
7. The method according to any of claims 1-6, wherein the system parameters include at least one of:
the method comprises the following steps of process quantity, process type, processor performance state, memory performance state, data storage area state, parameter storage area state, port state and inherent function parameter value.
8. The utility model provides a self-checking device at thing networking terminal which characterized in that includes:
the system parameter comparison module is used for regularly acquiring the current operating system parameters of the terminal of the Internet of things and comparing the current operating system parameters with the initial operating system parameters according to a target logic comparison strategy;
and the system abnormity recovery module is used for recovering the system abnormity of the terminal of the Internet of things if the abnormity of the terminal system of the Internet of things is determined according to the comparison result.
9. An internet of things terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the method of any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202011522282.3A 2020-12-21 2020-12-21 Self-checking method and device for Internet of things terminal, terminal and storage medium Pending CN112579393A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011522282.3A CN112579393A (en) 2020-12-21 2020-12-21 Self-checking method and device for Internet of things terminal, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011522282.3A CN112579393A (en) 2020-12-21 2020-12-21 Self-checking method and device for Internet of things terminal, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112579393A true CN112579393A (en) 2021-03-30

Family

ID=75136452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011522282.3A Pending CN112579393A (en) 2020-12-21 2020-12-21 Self-checking method and device for Internet of things terminal, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112579393A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660213A (en) * 2021-07-26 2021-11-16 杭州安恒信息技术股份有限公司 Security detection method and device for terminal of Internet of things, electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247419A (en) * 2008-03-26 2008-08-20 北京航空航天大学 Service intermediate layer fault-tolerance method based on XESB
CN104951377A (en) * 2015-05-28 2015-09-30 小米科技有限责任公司 Exception handling method and device for smart home terminal
US20160309998A1 (en) * 2015-04-21 2016-10-27 Ziamed, LLC System and Methods for Assessing Vision Using a Computing Device
CN109560963A (en) * 2018-11-23 2019-04-02 北京车和家信息技术有限公司 Monitoring alarm method, system and computer readable storage medium
CN110413470A (en) * 2019-06-25 2019-11-05 苏州浪潮智能科技有限公司 A kind of server I SS function test method, system, terminal and storage medium
CN111309541A (en) * 2020-04-03 2020-06-19 深圳前海微众银行股份有限公司 Exception handling detection method, device and equipment and computer storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247419A (en) * 2008-03-26 2008-08-20 北京航空航天大学 Service intermediate layer fault-tolerance method based on XESB
US20160309998A1 (en) * 2015-04-21 2016-10-27 Ziamed, LLC System and Methods for Assessing Vision Using a Computing Device
CN104951377A (en) * 2015-05-28 2015-09-30 小米科技有限责任公司 Exception handling method and device for smart home terminal
CN109560963A (en) * 2018-11-23 2019-04-02 北京车和家信息技术有限公司 Monitoring alarm method, system and computer readable storage medium
CN110413470A (en) * 2019-06-25 2019-11-05 苏州浪潮智能科技有限公司 A kind of server I SS function test method, system, terminal and storage medium
CN111309541A (en) * 2020-04-03 2020-06-19 深圳前海微众银行股份有限公司 Exception handling detection method, device and equipment and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李明: "《燃气基础知识[M]》", 31 December 2012, pages: 116 - 118 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660213A (en) * 2021-07-26 2021-11-16 杭州安恒信息技术股份有限公司 Security detection method and device for terminal of Internet of things, electronic device and storage medium

Similar Documents

Publication Publication Date Title
JP5926491B2 (en) Method for security maintenance in a network and computer readable medium having computer readable instructions of a computer program causing a processor to perform the method for security maintenance
CN102684944B (en) Method and device for detecting intrusion
CN109733238B (en) Fault detection method, device, storage medium and processor
GB2606284A (en) Non-intrusive load monitoring method
CN106789306B (en) Method and system for detecting, collecting and recovering software fault of communication equipment
US10547634B2 (en) Non-intrusive digital agent for behavioral monitoring of cybersecurity-related events in an industrial control system
WO2017198025A1 (en) Method, apparatus for processing power consumption of an application programme, calculation device and machine readable storage medium
CN110457907B (en) Firmware program detection method and device
CN112579393A (en) Self-checking method and device for Internet of things terminal, terminal and storage medium
CN115080356B (en) Abnormity warning method and device
CN112306802A (en) Data acquisition method, device, medium and electronic equipment of system
CN109634175B (en) Method and system for controlling dynamic verification of configuration program
CN113572760A (en) Equipment protocol vulnerability detection method and device
CN111966604A (en) Fuzzy industrial control protocol vulnerability mining system
CN115038088A (en) Intelligent network security detection early warning system and method
CN109597389B (en) Test system of embedded control system
RU2630415C2 (en) Method for detecting anomalous work of network server (options)
CN115150197B (en) Method and system for preventing command attack of UPS (uninterrupted Power supply) air conditioning equipment
CN111124785A (en) Hard disk fault checking method, device, equipment and storage medium
CN109936528B (en) Monitoring method, device, equipment and system
CN113868216B (en) Block chain monitoring method and device
CN113254287A (en) Health state self-checking method, device, equipment and computer readable medium
CN107179911A (en) A kind of method and apparatus for restarting management engine
AU2021262231A1 (en) Endpoint security using an action prediction model
CN111339573B (en) Method for realizing data tampering detection of nonvolatile memory by adopting hybrid encryption algorithm

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210330

RJ01 Rejection of invention patent application after publication