CN115599635A - Monitoring method, system, equipment and medium based on multi-function safety - Google Patents

Monitoring method, system, equipment and medium based on multi-function safety Download PDF

Info

Publication number
CN115599635A
CN115599635A CN202211340031.2A CN202211340031A CN115599635A CN 115599635 A CN115599635 A CN 115599635A CN 202211340031 A CN202211340031 A CN 202211340031A CN 115599635 A CN115599635 A CN 115599635A
Authority
CN
China
Prior art keywords
preset
monitoring
timer
running
monitored
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
CN202211340031.2A
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.)
Chongqing Changan New Energy Automobile Technology Co Ltd
Original Assignee
Chongqing Changan New Energy Automobile Technology 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 Chongqing Changan New Energy Automobile Technology Co Ltd filed Critical Chongqing Changan New Energy Automobile Technology Co Ltd
Priority to CN202211340031.2A priority Critical patent/CN115599635A/en
Publication of CN115599635A publication Critical patent/CN115599635A/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
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a monitoring method, a system, equipment and a medium based on multi-function safety, which comprises the following steps: decreasing the timeout parameters of the timer according to a preset interrupt period, and acquiring the timeout parameters after each time of decreasing, wherein the timer is used for counting the running state monitoring of the system; after the timer is interrupted, if the overtime parameter value meets a preset condition, resetting the overtime parameter value to a preset target value; and if the overtime parameter value does not meet the preset condition, executing system reset. The system can monitor the full life cycle of the functions, and the running reliability of the system is guaranteed.

Description

Monitoring method, system, equipment and medium based on multi-function safety
Technical Field
The present application relates to the field of automotive safety applications, and in particular, to a monitoring method, system, device, and medium based on multi-function safety.
Background
With the development trend and trend of the automobile industry, such as intellectualization, network networking and electromotion, the safety level of automobile electronics to functions is gradually improved, and more automobile electronic and electric appliance architectures use software watchdog to improve the safety and reliability of an automobile system so as to meet the requirements of functional safety.
The watchdog is used for monitoring system operation failure, and is essentially a timer, the principle is that the system function operation condition is monitored regularly, the count value of the timer is not overflowed under normal conditions, so the timer count value is reset at intervals in the system program operation process, and if the timer count value cannot be reset in time due to the system program operation failure, the whole system forces the program to restart execution.
The prior art (CN 114860518A) discloses sending preset detection parameters to the hardware testing device through a software platform, wherein the hardware testing device is connected with the software platform through a communication network; the hardware testing device receives the detection parameters and then sends the detection parameters to the functional safety system, wherein a functional module in the functional safety system is electrically connected with the hardware testing device; a part of diagnostic data generated by the functional safety system based on the detection parameters is fed back to the software platform by the hardware testing device, and another part of the diagnostic data is fed back to the software platform by the functional safety system; and the software platform analyzes the diagnostic data and generates a detection report of the functional safety system according to an analysis result. The method is only used for carrying out cooperative detection through the hardware testing device and the software platform, and is completely different from the method for monitoring the running state of the vehicle end through the timer.
The prior art (CN 110045210A) discloses a method for making a paper-making sheet by: the functional safety program is pre-stored in the functional safety module, and after the functional safety module acquires the functional safety parameters and the operating parameters of the electrical equipment, the functional safety program can be executed to test the functional safety corresponding to the electrical equipment. The scheme performs the safety test through the pre-stored safety program, and is completely different from the scheme of resetting the counting value through the watchdog.
The problems of validity and reliability detection of watchdog timing cannot be solved by adopting the existing scheme, and stable operation of the system is difficult to guarantee.
Disclosure of Invention
In view of the problems in the prior art, the application provides a monitoring method, a monitoring system, monitoring equipment and monitoring media based on multi-charging function safety, and mainly solves the problems of poor stability and poor reliability of the existing automobile system safety monitoring method.
In order to achieve the above and other objects, the present application adopts the following technical solutions.
The application provides a monitoring method based on multi-function safety, which comprises the following steps:
the method comprises the steps of decrementing an overtime parameter of a timer according to a preset interrupt period, and obtaining the overtime parameter after each decrementing, wherein the timer is used for counting the running state monitoring of a system;
after the timer is interrupted, if the overtime parameter value meets a preset condition, resetting the overtime parameter value to a preset target value; and if the overtime parameter value does not meet the preset condition, executing system reset.
In an embodiment of the present application, when monitoring the system operation state, the method includes:
the multiple monitored operation entities perform periodic operation according to a preset sequence, and the operation times of each monitored operation entity are accumulated after operation;
if the running time difference value of the two monitored running entities meets a preset threshold value, the corresponding monitored running entities run normally, and the overtime parameter value is reset according to the preset condition; and if the running time difference of the two monitored running entities does not meet the preset threshold, stopping counting of the timer and executing system reset.
In an embodiment of the present application, when monitoring the system operating state, the method further includes:
acquiring the arrival time of each monitored operation entity, and determining the operation time between any two monitored operation entities according to the arrival time;
if the running time meets the preset time range, the corresponding monitored running entity runs normally, and the overtime parameter value is reset according to the preset condition; and if the running time does not meet the preset time range, stopping counting of the timer and executing system reset.
In an embodiment of the present application, when monitoring the system operating state, the method further includes:
acquiring a circulation sequence with a preset execution sequence, wherein the circulation sequence comprises a plurality of monitoring points;
if the execution sequence of any monitoring point does not meet the preset execution sequence, counting execution errors to obtain the number of the execution errors;
if the execution error quantity does not exceed a preset quantity threshold value, the circulation sequence operates normally, the overtime parameter value is reset according to the preset condition, and if the execution error quantity exceeds the preset quantity threshold value, the counting of the timer is stopped, and the execution system is reset.
In an embodiment of the present application, the preset conditions include: the timeout parameter value is greater than or equal to 0.
The present application further provides a monitoring system based on multi-function security, including:
the timing counting module is used for decrementing the timeout parameters of the timer according to a preset interrupt period and acquiring the timeout parameters after each decrement, wherein the timer is used for counting the running state monitoring of the system;
the reset module is used for resetting the overtime parameter value to a preset target value if the overtime parameter value meets a preset condition after the timer is interrupted; and if the overtime parameter value does not meet the preset condition, executing system reset.
In an embodiment of the present application, the reset module includes:
the driving unit is used for packaging a bottom layer execution interface and providing an interface required by timeout parameter resetting and mode switching;
the interface management unit is used for carrying out interface configuration according to the physical addresses and the number of the monitoring equipment in the electronic control unit so as to provide an interface for accessing the corresponding monitoring equipment;
and the monitoring equipment management unit is used for providing a monitoring strategy corresponding to the monitoring equipment.
In an embodiment of the present application, the detection policy includes: the multiple monitored operation entities perform periodic operation according to a preset sequence, and the operation times of each monitored operation entity are accumulated after operation; if the running time difference value of the two monitored running entities meets a preset threshold value, the corresponding monitored running entities run normally, and the overtime parameter value is reset according to the preset condition; if the running times difference value of the two monitored running entities does not meet the preset threshold value, stopping counting of the timer, and executing system resetting; or,
acquiring the arrival time of each monitored operation entity, and determining the operation time between any two monitored operation entities according to the arrival time; if the running time meets the preset time range, the corresponding monitored running entity runs normally, and the overtime parameter value is reset according to the preset condition; and if the running time does not meet the preset time range, stopping counting of the timer and executing system reset.
The present application further provides a computer device, comprising: the monitoring method comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the steps of the monitoring method based on the multi-function safety when executing the computer program.
The present application further provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the monitoring method based on multi-function security.
As described above, the monitoring method, system, device and medium based on multi-function security of the present application have the following advantages.
According to the method and the device, the overtime parameter of the timer is calculated through the interrupt period, and the reset judgment and the reset control are carried out according to the overtime parameter, so that the running state monitoring of the full-life-cycle management system can be effectively guaranteed, and the running stability of the system is improved.
Drawings
FIG. 1 is a schematic diagram of an overall architecture of a watchdog in an embodiment of the present application
Fig. 2 is a schematic flowchart of a multi-function security detection method according to an embodiment of the present disclosure.
Fig. 3 is a schematic flow chart of general detection in an embodiment of the present application.
Fig. 4 is a flowchart illustrating life mechanism type monitoring according to an embodiment of the present application.
Fig. 5 is a flowchart illustrating deadline type detection according to an embodiment of the present application.
Fig. 6 is a schematic flow chart of flow-based detection according to an embodiment of the present application.
Fig. 7 is a block diagram of a multi-function security detection system according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
The following embodiments of the present application are described by specific examples, and other advantages and effects of the present application will be readily apparent to those skilled in the art from the disclosure of the present application. The present application is capable of other and different embodiments and its several details are capable of modifications and/or changes in various respects, all without departing from the spirit of the present application. It should be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present application, and the drawings only show the components related to the present application and are not drawn according to the number, shape and size of the components in actual implementation, the type, quantity and proportion of each component in actual implementation may be changed freely, and the layout of the components may be more complicated.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an overall architecture of a watchdog according to an embodiment of the present application. The watchdog is essentially a timer which regularly and periodically monitors the operation of the system functions. The watchdog comprises a Gpt universal timer module, a WdgDrv watchdog driving module, a Wdgif watchdog interface module, a GM watchdog management module of W and the like. And the Gpt module executes the reset operation of the timeout parameter of the timer according to the dog feeding condition and provides a Gpt control interface to the Wdgif interface module. The WdgDrv driving module encapsulates a hardware watchdog bottom-layer execution function, and can provide interfaces such as dog feeding, mode switching and the like for the Wdgif interface module. The WdfIf interface module abstracts physical addresses and numbers of board level watchdog of an ECU (Electrical control unit), provides a same set of access mechanism for a plurality of watchdog, and provides an access interface for the WdgM management module. The WdgM management module provides a watchdog management function and realizes an internal monitoring strategy.
Referring to fig. 2, based on the above architecture of the watchdog, the present application provides a monitoring method based on multi-function security, which includes the following steps.
And step S200, decrementing the timeout parameter of the timer according to a preset interrupt period, and acquiring the timeout parameter after each decrement, wherein the timer is used for counting the running state monitoring of the system.
Step S210, after the timer is interrupted, if the overtime parameter value meets the preset condition, resetting the overtime parameter value to a preset target value; and if the overtime parameter value does not meet the preset condition, executing system reset.
In one embodiment, the types of faults that may occur in the automotive software system are: 1. the software system is abnormal in the whole life cycle, such as the program operation deviates from the normal operation path; 2. the operation entity which needs to be executed and is monitored is not executed; 3. the execution time of the monitored running entity is longer or shorter than the expected time; 4. the execution flow of the monitored operation entity is inconsistent with the expected execution flow. Aiming at the four fault types, the embodiment of the application provides four corresponding safety mechanisms for detection, so that the reliability and the stability of an automobile software system can be effectively improved. The four security mechanisms respectively include: general purpose type monitoring, life mechanism type detection, deadline type monitoring, and program flow type detection.
Referring to fig. 3, fig. 3 is a schematic flow chart of general detection in an embodiment of the present application. In one embodiment, the general monitoring process includes: the watchdog Timeout parameter Timeout is set to 600ms. Resetting a watchdog Timeout parameter to 600ms by a watchdog management module at an operation entity 2, wherein a timed interrupt period of the Gpt module is 100ms after the Gpt module is started, executing Timeout self-reduction for 100ms in an interrupt service function, then judging whether a Timeout value is greater than or equal to 0, if the condition is met, resetting the Timeout parameter, if the Timeout value cannot be reset to 600ms in the watchdog management module due to the whole program running away (deviating from a normal operation path) or abnormality, reducing the Timeout value to a negative value after 600ms, and judging that the Timeout value cannot meet the condition in the Gpt interrupt service function, stopping a timer, and if the Timeout parameter cannot be reset in the interrupt service function due to the timer stopping, executing the whole program reset, wherein the Timeout parameter reset through the timer is a basic stone of the latter three safety monitoring mechanisms, namely, controlling whether the Timeout parameter reset operation can be performed by controlling the timer.
In one embodiment, when monitoring the system running state, the method comprises the following steps: the multiple monitored operation entities perform periodic operation according to a preset sequence, and after each detected operation entity operates, the operation times are accumulated; if the running time difference value of the two monitored running entities meets a preset threshold value, the corresponding monitored running entities run normally, and the overtime parameter value is reset according to the preset condition; and if the running time difference of the two monitored running entities does not meet the preset threshold, stopping counting of the timer and executing system reset.
Referring to fig. 4, fig. 4 is a schematic flow chart of life mechanism type monitoring according to an embodiment of the present application. In an embodiment, the monitored operation entity 2 operates and increases by itself by 1 in a period of 10ms, the number of cycles increases by itself by 1 in a watchdog management module of the operation entity 1, the number of operations of the monitored entity 2 is monitored when the number of cycles increases by itself to 10, if the number of operations of the monitored entity 2 is within an acceptable range (which can be set according to actual application requirements), the program operates normally, otherwise, the Gpt timer is stopped, and after the timer is stopped, the interrupt service function cannot be entered to perform timeout parameter resetting, and the resetting of the entire system is performed.
In one embodiment, when monitoring the system running state, the method further comprises: acquiring the arrival time of each monitored operation entity, and determining the operation time between any two monitored operation entities according to the arrival time; if the running time meets the preset time range, the corresponding monitored running entity runs normally, and the overtime parameter value is reset according to the preset condition; and if the running time does not meet the preset time range, stopping counting of the timer and executing system reset.
Referring to fig. 5, fig. 5 is a schematic flow chart illustrating deadline type detection according to an embodiment of the present application. In an embodiment, taking the monitoring target as the running time from the monitored running entity 2 to the monitored running entity 3 as an example, the time when the monitored running entity 2 arrives is T1, and the time when the monitored running entity 3 arrives is T2, it may be calculated that the running time from the monitored running entity 2 to the monitored running entity 3 is Δ T = T2-T1, if Δ T is within an acceptable range, the program runs normally, otherwise, the Gpt timer is stopped, and after the timer is stopped, the interrupt service function cannot be entered to perform timeout parameter resetting, and the resetting of the entire system is performed.
In one embodiment, when monitoring the system running state, the method further comprises: acquiring a circulation sequence with a preset execution sequence, wherein the circulation sequence comprises a plurality of monitoring points; if the execution sequence of any monitoring point does not meet the preset execution sequence, counting execution errors to obtain the number of the execution errors; if the execution error quantity does not exceed a preset quantity threshold value, the circulation sequence operates normally, the overtime parameter value is reset according to the preset condition, and if the execution error quantity exceeds the preset quantity threshold value, the counting of the timer is stopped, and the execution system is reset.
Referring to fig. 6, fig. 6 is a schematic flowchart of a flow-based detection according to an embodiment of the present application. In an embodiment, a circulation sequence with an execution sequence is detected, the circulation sequence can be divided into six monitoring points CP1-CP6, when the CP1 monitoring point arrives, if the CP1 execution flow reaches CP2, the CP1 monitoring point logic is considered to be correct, otherwise, the logic execution error is considered, the execution error number is increased by 1, other monitoring points are the same, when the CP6 is reached, a watchdog management module in an operation entity judges whether the execution error number is in a receiving range, if the execution error number is in the receiving range, a program normally operates, otherwise, a Gpt timer is stopped, after the timer is stopped, an interrupt service function cannot be entered for overtime parameter resetting, and the resetting of the whole system is executed.
Based on the technical scheme, the four functional safety monitoring mechanisms are provided, so that a software system can be monitored in all aspects, and the functional safety, reliability and stability of the automobile software system are protected; the method and the system realize the application of a set of automobile software system in different scenes and have the advantages of good repeatability, multiple application scenes and high software integration level.
Referring to fig. 7, the present embodiment provides a monitoring system based on multi-function security, which is used to execute the monitoring method based on multi-function security described in the foregoing method embodiments. Since the technical principle of the system embodiment is similar to that of the method embodiment, repeated description of the same technical details is omitted.
In one embodiment, a multi-function security based monitoring system, comprises: the timing counting module 10 is configured to decrement an timeout parameter of the timer according to a preset interrupt period, and acquire the timeout parameter after each decrement, where the timer is used to count the running state of the system; the reset module 11 is configured to reset the timeout parameter value to a preset target value if the timeout parameter value meets a preset condition after the timer is interrupted; and if the overtime parameter value does not meet the preset condition, executing system reset.
In one embodiment, a reset module includes: the driving unit is used for packaging the bottom layer execution interface and providing an interface required by timeout parameter resetting and mode switching; the interface management unit is used for carrying out interface configuration according to the physical addresses and the number of the monitoring equipment in the electronic control unit so as to provide an interface for accessing the corresponding monitoring equipment; and the monitoring equipment management unit is used for providing a monitoring strategy corresponding to the monitoring equipment.
In one embodiment, the detection strategy includes: the multiple monitored operation entities perform periodic operation according to a preset sequence, and after each detected operation entity operates, the operation times are accumulated; if the running time difference value of the two monitored running entities meets a preset threshold value, the corresponding monitored running entities run normally, and the overtime parameter value is reset according to the preset condition; if the running time difference of the two monitored running entities does not meet the preset threshold, stopping counting of the timer and executing system reset; or acquiring the arrival time of each monitored operation entity, and determining the operation time between any two monitored operation entities according to the arrival time; if the operation time meets the preset time range, the corresponding monitored operation entity operates normally, and the overtime parameter value is reset according to the preset condition; and if the running time does not meet the preset time range, stopping counting of the timer and executing system resetting.
The embodiment of the present application further provides a monitoring device based on multi-functional safety, and the device may include: one or more processors; and one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the device to perform the method of fig. 1. In practical applications, the device may be used as a terminal device, and may also be used as a server, where examples of the terminal device may include: smart phones, tablet computers, electronic book readers, MP3 (moving Picture Experts Group Audio Layer III) players, MP4 (moving Picture Experts Group Audio Layer IV) players, laptop portable computers, car-mounted computers, desktop computers, set-top boxes, smart televisions, wearable devices, and the like, and the embodiments of the present application are not limited to specific devices.
A machine-readable medium is further provided, where one or more modules (programs) are stored in the medium, and when the one or more modules are applied to a device, the device may execute instructions (instructions) included in the monitoring method based on multi-function security in fig. 1 in the embodiment of the present application. The machine-readable medium can be any available medium that a computer can store or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
Referring to fig. 8, the present embodiment provides a device 80, and the device 80 may be a desktop device, a laptop computer, a smart phone, or the like. In detail, the device 80 comprises at least, connected by a bus 81: a memory 82 and a processor 83, wherein the memory 82 is used for storing computer programs, and the processor 83 is used for executing the computer programs stored in the memory 82 to execute all or part of the steps of the foregoing method embodiments.
The above-mentioned system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The Memory may include a Random Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.
The above embodiments are merely illustrative of the principles and utilities of the present application and are not intended to limit the application. Any person skilled in the art can modify or change the above-described embodiments without departing from the spirit and scope of the present application. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical concepts disclosed in the present application shall be covered by the claims of the present application.

Claims (10)

1. A monitoring method based on multi-function safety is characterized by comprising the following steps:
the method comprises the steps of decrementing an overtime parameter of a timer according to a preset interrupt period, and obtaining the overtime parameter after each decrementing, wherein the timer is used for counting the running state monitoring of a system;
after the timer is interrupted, if the overtime parameter value meets a preset condition, resetting the overtime parameter value to a preset target value; and if the overtime parameter value does not meet the preset condition, executing system reset.
2. The monitoring method based on the multi-function safety as claimed in claim 1, wherein when the monitoring of the system running state is carried out, the method comprises the following steps:
the multiple monitored operation entities perform periodic operation according to a preset sequence, and the operation times of each monitored operation entity are accumulated after operation;
if the running time difference value of the two monitored running entities meets a preset threshold value, the corresponding monitored running entities run normally, and the overtime parameter value is reset according to the preset condition; and if the running time difference value of the two monitored running entities does not meet the preset threshold value, stopping counting of the timer and executing system resetting.
3. The monitoring method based on multi-function safety according to claim 1, further comprising, during the system operation state monitoring:
acquiring the arrival time of each monitored operation entity, and determining the operation time between any two monitored operation entities according to the arrival time;
if the running time meets the preset time range, the corresponding monitored running entity runs normally, and the overtime parameter value is reset according to the preset condition; and if the running time does not meet the preset time range, stopping counting of the timer and executing system reset.
4. The monitoring method based on multi-function safety as claimed in claim 1, further comprising, when monitoring the system operation status:
acquiring a circulation sequence with a preset execution sequence, wherein the circulation sequence comprises a plurality of monitoring points;
if the execution sequence of any monitoring point does not meet the preset execution sequence, counting execution errors to obtain the number of the execution errors;
if the execution error quantity does not exceed a preset quantity threshold value, the circulation sequence operates normally, the overtime parameter value is reset according to the preset condition, and if the execution error quantity exceeds the preset quantity threshold value, the counting of the timer is stopped, and the execution system is reset.
5. The multiple-function security-based monitoring method according to any one of claims 1 to 4, wherein the preset condition comprises: the timeout parameter value is greater than or equal to 0.
6. A multi-function safety-based monitoring system, comprising:
the timing counting module is used for decrementing the overtime parameters of the timer according to a preset interrupt period and acquiring the overtime parameters after each decrement, wherein the timer is used for counting the running state monitoring of the system;
the reset resetting module is used for resetting the overtime parameter value to a preset target value if the overtime parameter value meets a preset condition after the timer is interrupted; and if the overtime parameter value does not meet the preset condition, executing system reset.
7. The multi-function security based monitoring system of claim 6, wherein the reset module comprises:
the driving unit is used for packaging the bottom layer execution interface and providing an interface required by timeout parameter resetting and mode switching;
the interface management unit is used for carrying out interface configuration according to the physical addresses and the number of the monitoring equipment in the electronic control unit so as to provide an interface for accessing the corresponding monitoring equipment;
and the monitoring equipment management unit is used for providing a monitoring strategy corresponding to the monitoring equipment.
8. The multi-function security based monitoring system of claim 6, wherein the detection strategy comprises: the multiple monitored operation entities perform periodic operation according to a preset sequence, and after each detected operation entity operates, the operation times are accumulated; if the running times difference value of the two monitored running entities meets a preset threshold value, the corresponding monitored running entities run normally, and the overtime parameter value is reset according to the preset condition; if the running time difference of the two monitored running entities does not meet the preset threshold, stopping counting of the timer and executing system reset; or,
acquiring the arrival time of each monitored operation entity, and determining the operation time between any two monitored operation entities according to the arrival time; if the operation time meets the preset time range, the corresponding monitored operation entity operates normally, and the overtime parameter value is reset according to the preset condition; and if the running time does not meet the preset time range, stopping counting of the timer and executing system reset.
9. A computer device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the monitoring method based on multi-functional security of any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the multiple-function security-based monitoring method of any one of claims 1 to 5.
CN202211340031.2A 2022-10-29 2022-10-29 Monitoring method, system, equipment and medium based on multi-function safety Pending CN115599635A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211340031.2A CN115599635A (en) 2022-10-29 2022-10-29 Monitoring method, system, equipment and medium based on multi-function safety

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211340031.2A CN115599635A (en) 2022-10-29 2022-10-29 Monitoring method, system, equipment and medium based on multi-function safety

Publications (1)

Publication Number Publication Date
CN115599635A true CN115599635A (en) 2023-01-13

Family

ID=84851310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211340031.2A Pending CN115599635A (en) 2022-10-29 2022-10-29 Monitoring method, system, equipment and medium based on multi-function safety

Country Status (1)

Country Link
CN (1) CN115599635A (en)

Similar Documents

Publication Publication Date Title
US9529694B2 (en) Techniques for adaptive trace logging
EP2414932B1 (en) Execution of a plugin according to plugin stability level
US11579960B2 (en) Chip fault diagnosis method, chip fault diagnosis device, computer-readable storage medium and electronic equipment
WO2020168933A1 (en) Network request processing method, device, terminal and storage medium
CN104320308A (en) Method and device for detecting anomalies of server
CN115185777A (en) Abnormity detection method and device, readable storage medium and electronic equipment
CN116049249A (en) Error information processing method, device, system, equipment and storage medium
CN108536850A (en) A kind of method, apparatus, electronic equipment and storage medium preloading picture
CN115328684A (en) Memory fault reporting method, BMC and electronic equipment
CN115599635A (en) Monitoring method, system, equipment and medium based on multi-function safety
CN113157504A (en) Touch screen equipment testing method and touch screen equipment testing system
CN112328442A (en) Radiator detection method and device and computer readable storage medium
CN114564334B (en) MRPC data processing method, system and related components
CN114003416B (en) Memory error dynamic processing method, system, terminal and storage medium
US9013207B2 (en) Method and apparatus for chip self deactivation
CN110008071B (en) Remote debugging device and method
CN114637631A (en) Scheduling table restarting method and device, vehicle and storage medium
US12014069B2 (en) Abnormality detecting system, motherboard, and electronic device
CN109992510B (en) Remote debugging device and method
US20220350536A1 (en) Abort handling by host controller for storage device
CN108415788B (en) Data processing apparatus and method for responding to non-responsive processing circuitry
CN116014701A (en) Power supply method and device for module production test and electronic equipment
CN116755961A (en) Monitoring method, device, equipment and storage medium
CN118132352A (en) Direct memory access abnormality detection module, method and electronic system using the same
CN117311900A (en) Service expansion and contraction method and device, electronic equipment and storage medium

Legal Events

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