Electronic board card protection method and device
By monitoring the connector in real time and verifying the multi-level threshold, an interrupt signal is generated to protect the electronic board, which solves the problems of false alarms and missed alarms in the existing technology and achieves more efficient electronic board protection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-03
- Publication Date
- 2026-03-10
AI Technical Summary
Existing electronic board protection methods and devices are prone to false alarms or missed alarms in power supply and connector voltage monitoring, which leads to frequent false triggering of system reset or protection, affecting verification efficiency.
By monitoring the connector in real time, acquiring and filtering operational data, setting multi-level thresholds to perform multi-level verification of the filtered data, generating an interrupt signal and sending it to the electronic board for protection, and avoiding false alarms caused by brief jitter.
It effectively distinguishes between real anomalies and transient disturbances, reduces false triggering, improves the accuracy of electronic board protection and the reliability of the system, and meets the reliability and security requirements of large-scale verification systems.
Smart Images

Figure CN121642846A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic design automation technology, and in particular to a method and apparatus for protecting electronic circuit boards based on connector monitoring. Background Technology
[0002] As the scale and complexity of interconnections between Field Programmable Gate Array (FPGA) boards continue to increase, the number and types of power channels carried by connectors are also gradually increasing. When a connector experiences an abnormal voltage, such as overvoltage, undervoltage, overcurrent, or short circuit, if the system fails to respond in time, it may damage the internal logic units of the electronic board, the power supply network, or even peripheral interfaces.
[0003] Currently, common power supply and connector voltage monitoring methods in electronic circuit boards and verification platforms mainly include single-point voltage detection schemes, traditional power monitoring chip schemes, and software polling detection methods. However, existing monitoring methods usually rely on manual detection or simple threshold interruptions. Once the detection accuracy is insufficient or there is interference, false alarms or missed alarms are likely to occur, causing the system to frequently trigger electronic circuit board resets or protection, affecting verification efficiency. Summary of the Invention
[0004] This invention provides an electronic circuit board protection method and apparatus to protect electronic circuit boards based on the monitoring results of connectors.
[0005] According to a first aspect of this invention, an electronic board protection method is provided, comprising: real-time monitoring of each connector to obtain operating data, and filtering noise that causes brief jitter in the operating data to obtain filtered data, wherein the filtered data includes voltage data and current data;
[0006] Multiple threshold levels are set for each connector, including warning thresholds, abnormal thresholds, and extreme thresholds.
[0007] The filtered data is verified in multiple levels with reference to the multi-level thresholds. When the verification result is determined to trigger electronic board protection, an interrupt signal is generated.
[0008] The interrupt signal is sent to the electronic board connected to the connector, and the electronic board is protected.
[0009] Optionally, the noise causing brief jitters in the running data is filtered to obtain filtered data, including:
[0010] The pre-set sliding window is slid across the running data;
[0011] During the sliding operation, the average value of the running data within the sliding window is calculated, and the average value calculated at each position of the sliding window constitutes the filtered data.
[0012] Optionally, the warning threshold includes a voltage warning threshold, the abnormal threshold includes a voltage abnormal threshold and a current abnormal threshold, and the limit threshold includes a voltage limit threshold and a current limit threshold.
[0013] Optionally, the step of performing multi-level verification on the filtered data with reference to the multi-level thresholds, and generating an interrupt signal when the verification result triggers electronic board protection, includes:
[0014] When a valid anomaly is determined to occur in the voltage data based on the voltage anomaly threshold, and a valid anomaly is determined to occur in the current data based on the current anomaly threshold, then the electronic board protection is triggered and an interrupt signal is generated.
[0015] Alternatively, when it is determined that the voltage data exceeds the voltage limit threshold, the electronic board protection is triggered and an interrupt signal is generated;
[0016] Alternatively, when it is determined that the current data exceeds the current limit threshold, the electronic board protection is triggered and an interrupt signal is generated.
[0017] Optionally, determining that the current data has a valid anomaly simultaneously with the voltage anomaly threshold based on the voltage anomaly threshold includes:
[0018] When it is determined that the voltage data exceeds the voltage anomaly threshold for a specified duration, then the voltage data is determined to have a valid anomaly.
[0019] When it is determined that the current data exceeds the current abnormality threshold for a specified duration, then the current data is determined to have a valid abnormality.
[0020] Optionally, sending the interrupt signal to the electronic board connected to the connector and protecting the electronic board includes:
[0021] The interrupt signal is sent to the electronic board connected to the connector, so that the electronic board triggers a logic clear operation and updates the input / output state to a high impedance state.
[0022] When the input / output status update instruction of the electronic board is received, the generated protection alarm prompt will be displayed on the front-end interface.
[0023] Optionally, after sending the interrupt signal to the electronic board connected to the connector and protecting the electronic board, the method further includes:
[0024] Within a specified check duration after the interrupt signal is sent, the running data within each unit of time is checked;
[0025] Once the running data for each unit of time has stabilized, the operation of the electronic board will be automatically restored.
[0026] According to another aspect of the present invention, an electronic circuit board protection device is provided. The device includes: a data filtering module, used to monitor each connector in real time to obtain operating data, and to filter noise that causes brief jitter in the operating data to obtain filtered data, wherein the filtered data includes voltage data and current data.
[0027] A multi-level threshold setting module is used to set multi-level thresholds for each connector, wherein the multi-level thresholds include warning thresholds, abnormal thresholds, and extreme thresholds;
[0028] An interrupt signal generation module is used to perform multi-level verification on the filtered data with reference to the multi-level threshold, and generate an interrupt signal when the verification result triggers electronic board protection.
[0029] The protection module is used to send the interrupt signal to the electronic board connected to the connector and to protect the electronic board.
[0030] According to another aspect of the present invention, a terminal device is provided, the terminal device comprising: one or more processors;
[0031] Storage device for storing one or more programs.
[0032] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any embodiment of the present invention.
[0033] According to another aspect of the present invention, a storage medium for computer-executable instructions is provided, on which a computer program is stored, which, when executed by a processor, implements the method as described in any of the embodiments of the present invention.
[0034] The technical solution of this invention avoids false alarms caused by brief jitters by filtering the operating data and preventing false triggering of electronic circuit board protection. The filtered data is verified by setting multi-level thresholds to effectively distinguish between real anomalies and transient disturbances, and the electronic circuit board is protected based on the generated interrupt signal.
[0035] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1 This is a flowchart of an electronic board protection method according to Embodiment 1 of the present invention;
[0038] Figure 2 This is a flowchart of an electronic board protection method according to Embodiment 2 of the present invention;
[0039] Figure 3 This is a schematic diagram of the structure of an electronic board protection device according to Embodiment 3 of the present invention;
[0040] Figure 4 This invention provides a structural block diagram of a terminal device. Specific Implementation
[0041] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0042] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, apparatus, product, or terminal device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or terminal devices.
[0043] Example 1
[0044] Figure 1This is a flowchart illustrating an electronic board protection method provided in an embodiment of the present invention. This embodiment is applicable to the protection of FPFAs (Active Board Components). The method can be executed by an electronic board protection device, which can be implemented in hardware and / or software, and can be integrated into a terminal device. Figure 1 As shown, the method includes:
[0045] Step S101: Real-time monitoring of each connector is performed to obtain operating data, and noise that causes brief jitter in the operating data is filtered to obtain filtered data.
[0046] Optionally, the noise that causes brief jitter in the running data is filtered to obtain filtered data, including: sliding a pre-set sliding window over the running data; calculating the average value of the running data within the sliding window during the sliding operation, and using the average value calculated at each position of the sliding window as the filtered data.
[0047] Specifically, this implementation connects the power pins of each connector to monitor the operating data of each connector in real time. The operating data includes voltage and current data, among other relevant information. This is merely an example and does not limit the specific content of the operating data. Multiple acquisition channels are instantiated within the driver program, and monitoring data is periodically read through these channels. To eliminate false alarms caused by brief jitter, a sliding window is used to filter the operating data in each channel after acquisition. Specifically, a pre-defined sliding window is moved across the operating data. For example, the sliding window is 5 units long. During the sliding window's movement, the average value of the 5 acquired operating data points within the window is calculated, and the average value calculated at each position of the sliding window constitutes the filtered data. Again, this is just an example and does not limit the specific size of the sliding window. The filtering operation using the sliding window can remove noise from the operating data that causes brief jitter, thereby preventing false protection triggers on the electronic board due to brief jitter.
[0048] Step S102: Set multiple threshold levels for each connector.
[0049] In this embodiment, multiple threshold levels are set for each connector channel, such as warning threshold, abnormal threshold, and limit threshold. The warning threshold targets voltage, therefore it includes a voltage warning threshold. The abnormal and limit thresholds target voltage and current, respectively, therefore the abnormal threshold includes a voltage abnormal threshold and a current abnormal threshold, and the limit threshold includes a voltage limit threshold and a current limit threshold. Of course, this embodiment is merely illustrative and does not limit the specific setting method of the multi-level thresholds. This embodiment can verify the filtered data based on the set multi-level thresholds to determine whether there is abnormal data in the filtered data, and such abnormal data will trigger the electronic board protection.
[0050] It should be noted that the three threshold levels of warning threshold, abnormal threshold and limit threshold in this embodiment are increased sequentially. For example, for voltage, the warning threshold is 10V, the abnormal threshold is 20V and the limit threshold is 30V. However, since there is no warning threshold for voltage, the abnormal threshold can be 15A and the limit threshold can be 25A. Of course, this embodiment is only an example and does not limit the specific values of the three threshold levels.
[0051] Step S103: Perform multi-level verification on the filtered data with reference to multi-level thresholds. When the verification result is determined to trigger the electronic board protection, an interrupt signal is generated.
[0052] Optionally, the filtered data is verified at multiple levels with reference to multiple thresholds. When the verification result is determined to trigger the electronic board protection, an interrupt signal is generated. This includes: when a valid anomaly is determined to occur in the voltage data based on the voltage anomaly threshold, and a valid anomaly is determined to occur in the current data based on the current anomaly threshold, then the electronic board protection is triggered and an interrupt signal is generated; or, when the voltage data is determined to exceed the voltage limit threshold, then the electronic board protection is triggered and an interrupt signal is generated; or, when the current data is determined to exceed the current limit threshold, then the electronic board protection is triggered and an interrupt signal is generated.
[0053] Optionally, when determining that a valid anomaly has occurred in voltage data based on a voltage anomaly threshold, a valid anomaly has also occurred in current data based on a current anomaly threshold, including: determining that a valid anomaly has occurred in voltage data when it is determined that the voltage data exceeds the voltage anomaly threshold for a specified duration; and determining that a valid anomaly has occurred in current data when it is determined that the current data exceeds the current anomaly threshold for a specified duration.
[0054] Specifically, in this embodiment, when the voltage exceeds the voltage warning threshold, only the trend is recorded, and the recorded trend exceeding the voltage warning threshold is marked with a specified symbol. When the voltage exceeds the voltage anomaly threshold, a judgment process is required, and cross-validation with the current parameters is used to determine whether to trigger electronic board protection. When the voltage or current exceeds the corresponding limit threshold, electronic board protection is directly triggered. For example, when judging voltage data anomaly based on the voltage anomaly threshold, it is specifically determined that the voltage exceeds the voltage anomaly threshold for a specified duration, such as 10ms, before it is considered a valid anomaly. When a valid anomaly in the voltage data is determined, the same method is used to continue judging whether a valid anomaly in the current data has occurred. If no valid anomaly in the current data has occurred, electronic board protection will not be triggered. However, if a valid anomaly in the current data is detected, electronic board protection will be triggered and an interrupt signal will be generated. When a valid anomaly is determined based on the voltage anomaly threshold, cross-validation with current data is required to determine whether to trigger the electronic board protection. If a valid voltage anomaly occurs but the current does not, it indicates that a sampling transient may have occurred, and the electronic board protection does not need to be triggered. Only when both the voltage and current are validly abnormal will the electronic board protection be triggered and an interrupt signal generated.
[0055] Furthermore, when it is determined that the voltage data exceeds the voltage anomaly threshold for a specified duration, or when it is determined that the current data exceeds the current anomaly threshold for a specified duration, the electronic circuit board protection will be triggered and an interrupt signal will be generated. Therefore, when a parameter value exceeds the corresponding limit threshold, it indicates that the parameter value has deviated significantly, and thus, without cross-validation with other parameters, the triggering of the electronic circuit board protection can be directly determined. Therefore, this embodiment can achieve effective triggering of the electronic circuit board protection through the setting of three threshold levels and multi-parameter cross-validation. Of course, this embodiment is only an example and does not limit the determination method of electronic circuit board protection triggering.
[0056] Step S104: Send an interrupt signal to the electronic board connected to the connector and protect the electronic board.
[0057] Optionally, an interrupt signal is sent to the electronic board connected to the connector, and the electronic board is protected, including: sending an interrupt signal to the electronic board connected to the connector to trigger a logic clear operation and update the input / output state to a high impedance state; when it is determined that the input / output state update instruction of the electronic board has been received, the generated protection alarm prompt is displayed on the front-end interface.
[0058] Specifically, in this embodiment, when a valid exception is detected, an interrupt signal is generated and sent to the electronic board connected to the connector. Upon receiving the interrupt signal, the electronic board automatically triggers a protection operation. Specifically, during the protection operation, the electronic board updates all input / output states to a high-impedance state, thereby shutting down the execution of the relevant applications. Simultaneously, the electronic board also triggers a logic clearing operation based on the interrupt signal to clear the relevant logic of the applications that need to be shut down, thus achieving the shutdown of the relevant applications.
[0059] In addition, the interrupt device in this embodiment also records connector logs, such as channel number, voltage, current, timestamp, or exception type, and saves them in a designated storage space. By automatically recording and making exception events traceable, a basis for subsequent debugging is provided. The above embodiment only uses one connector channel as an example. In actual applications, the driver layer instantiated channel can flexibly adapt to different numbers and types of connectors, adopting an asynchronous interrupt response mechanism to support parallel processing of multiple tasks. Furthermore, the aforementioned multi-level thresholds and other parameters can be dynamically adjusted through configuration files. This embodiment does not limit the specific values of the above parameters; users can configure them according to their actual needs.
[0060] It should be noted that after an interrupt signal is sent to the electronic board, triggering its protection mechanism, and upon receiving the input / output status update completion instruction from the electronic board, a protection alarm will be generated and displayed on the front-end interface to notify the user that the electronic board is currently in a protected state, thus preventing further operations on the board. The alarm can be displayed using lights or text; this implementation does not limit the specific display method, as long as it serves as a notification to the user, it falls within the scope of this application. Furthermore, this implementation significantly improves real-time performance, false alarm suppression, and refined linkage of electronic board protection actions, especially in large-scale verification systems with multiple connectors and high-speed signal interconnections, meeting reliability and security requirements.
[0061] The technical solution of this invention avoids false alarms caused by brief jitters by filtering the running data and preventing false triggering of electronic board protection. The filtered data is verified by setting multi-level thresholds to effectively distinguish between real anomalies and transient disturbances, and the electronic board is protected based on the generated interrupt signal.
[0062] Example 2
[0063] Figure 2This is a flowchart of an electronic board protection method provided by an embodiment of the present invention. Based on the above embodiment, after sending an interrupt signal to the electronic board connected to the connector and protecting the electronic board, the method further includes checking the operating data within a specified check period after sending the interrupt signal, and automatically triggering the resumption of the electronic board's operation once the operating data for each unit of time has stabilized. Figure 2 As shown, the method includes:
[0064] Step S201: Real-time monitoring of each connector is performed to obtain operating data, and noise that causes brief jitter in the operating data is filtered to obtain filtered data.
[0065] Optionally, the noise that causes brief jitter in the running data is filtered to obtain filtered data, including: sliding a pre-set sliding window over the running data; calculating the average value of the running data within the sliding window during the sliding operation, and using the average value calculated at each position of the sliding window as the filtered data.
[0066] Step S202: Set multiple threshold levels for each connector.
[0067] Step S203: Perform multi-level verification on the filtered data with reference to multi-level thresholds. When the verification result is determined to trigger the electronic board protection, an interrupt signal is generated.
[0068] Optionally, the filtered data is verified at multiple levels with reference to multiple thresholds. When the verification result is determined to trigger the electronic board protection, an interrupt signal is generated. This includes: when a valid anomaly is determined to occur in the voltage data based on the voltage anomaly threshold, and a valid anomaly is determined to occur in the current data based on the current anomaly threshold, then the electronic board protection is triggered and an interrupt signal is generated; or, when the voltage data is determined to exceed the voltage limit threshold, then the electronic board protection is triggered and an interrupt signal is generated; or, when the current data is determined to exceed the current limit threshold, then the electronic board protection is triggered and an interrupt signal is generated.
[0069] Optionally, when determining that a valid anomaly has occurred in voltage data based on a voltage anomaly threshold, a valid anomaly has also occurred in current data based on a current anomaly threshold, including: determining that a valid anomaly has occurred in voltage data when it is determined that the voltage data exceeds the voltage anomaly threshold for a specified duration; and determining that a valid anomaly has occurred in current data when it is determined that the current data exceeds the current anomaly threshold for a specified duration.
[0070] Step S204: Send an interrupt signal to the electronic board connected to the connector and protect the electronic board.
[0071] Optionally, an interrupt signal is sent to the electronic board connected to the connector, and the electronic board is protected, including: sending an interrupt signal to the electronic board connected to the connector to trigger a logic clear operation and update the input / output state to a high impedance state; when it is determined that the input / output state update instruction of the electronic board has been received, the generated protection alarm prompt is displayed on the front-end interface.
[0072] Step S205: Within a specified check time range after sending the interrupt signal, check the running data within each unit time. When the running data of each unit time has stabilized, automatically trigger the recovery of the electronic board's operation.
[0073] Specifically, in this embodiment, after sending the interrupt signal to the electronic board, the connector continues to be monitored. If the anomaly is eliminated and stability is confirmed, the electronic board will automatically resume operation. If the anomaly is not eliminated, it will remain in a high-impedance state and wait for manual confirmation. In particular, when automatically triggering the resumption of the electronic board, a repeated judgment and confirmation principle is required. Within a specified check duration, the electronic board will only resume operation after multiple consecutive checks have shown stable data. If an anomaly occurs in the middle, the count needs to be reset.
[0074] For example, if an interrupt signal is sent to the electronic board at 10ms, the check duration is specified to be continuously checked within a range of 500ms, i.e. from 10ms to 510ms. For example, if the unit duration is 10ms, then the check is performed sequentially from 20ms, 30ms, 40ms, 50ms, 60ms...510ms. When the system returns to stability at each check point, the system is triggered to resume the operation of the electronic board. If an anomaly is detected again at 30ms, the count needs to be recalculated from 30ms, i.e., the check is performed again from 30ms to 530ms. Of course, this embodiment is only an example and does not limit the specific value of the specified check duration.
[0075] It is worth mentioning that this implementation can achieve proactive protection of the electronic board. When the connector voltage is abnormal, the system automatically clears the electronic board design, reducing the risk of logic damage. Through multi-level judgment and cross-validation algorithms, it effectively distinguishes between real anomalies and transient disturbances, achieving intelligent false alarm suppression. In addition, abnormal events are automatically recorded and traced, providing a basis for subsequent debugging. Furthermore, the module phone has strong scalability, and the driver layer instantiated channel can flexibly adapt to different numbers and types of connectors. It can adopt an asynchronous interrupt response mechanism and support multi-task parallelism.
[0076] The technical solution of this invention avoids false alarms caused by brief jitters by filtering the running data and preventing false triggering of electronic board protection. The filtered data is verified by setting multi-level thresholds to effectively distinguish between real anomalies and transient disturbances, and the electronic board is protected based on the generated interrupt signal.
[0077] Example 3
[0078] Figure 3 This is a schematic diagram of the structure of an electronic board protection device provided in an embodiment of the present invention, as shown below. Figure 3 As shown, the device includes: a data filtering module 310, a multi-level threshold setting module 320, an interrupt signal generation module 330, and a protection module 340.
[0079] The data filtering module 310 is used to monitor each connector in real time to obtain operating data, and to filter the noise that causes brief jitter in the operating data to obtain filtered data. The operating data includes voltage data and current data.
[0080] The multi-level threshold setting module 320 is used to set multi-level thresholds for each connector, wherein the multi-level thresholds include warning thresholds, abnormal thresholds and extreme thresholds;
[0081] The interrupt signal generation module 330 is used to perform multi-level verification on the filtered data with reference to multi-level thresholds, and generate an interrupt signal when the verification result is determined to trigger the electronic board protection.
[0082] The protection module 340 is used to send an interrupt signal to the electronic board connected to the connector and to protect the electronic board.
[0083] Optionally, the data filtering module is also used to slide a pre-defined sliding window across the running data;
[0084] During the sliding operation, the average value of the running data within the sliding window is calculated, and the average value calculated at each position of the sliding window is used to form the filtered data.
[0085] Optionally, warning thresholds include voltage warning thresholds, abnormal thresholds include voltage abnormal thresholds and current abnormal thresholds, and limit thresholds include voltage limit thresholds and current limit thresholds.
[0086] Optionally, the interrupt signal generation module is also used to determine that the electronic board protection is triggered and an interrupt signal is generated when the voltage data is determined to be validly abnormal based on the voltage abnormality threshold and the current data is determined to be validly abnormal based on the current abnormality threshold.
[0087] Alternatively, when it is determined that the voltage data exceeds the voltage limit threshold, the electronic board protection is triggered and an interrupt signal is generated;
[0088] Alternatively, if the current data is determined to exceed the current limit threshold, the electronic board protection will be triggered and an interrupt signal will be generated.
[0089] Optionally, the interrupt signal generation module is also used to determine that a valid voltage data anomaly has occurred when the voltage data exceeds the voltage anomaly threshold for a specified duration.
[0090] When it is determined that the current data exceeds the current anomaly threshold for a specified duration, a valid anomaly in the current data is determined.
[0091] Optionally, a protection module is used to send an interrupt signal to the electronic board connected to the connector, so that the electronic board triggers a logic clear operation and updates the input / output state to a high-impedance state;
[0092] When the input / output status update instruction of the electronic board is received, the generated protection alarm prompt will be displayed on the front-end interface.
[0093] Optionally, the device also includes a recovery module for checking the operating data within each unit time period within a specified check time range after the interrupt signal is sent;
[0094] Once the running data for each unit duration has stabilized, the operation of the electronic board will be automatically restored.
[0095] The electronic circuit board protection device provided in this embodiment of the invention can execute an electronic circuit board protection method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.
[0096] Example 4
[0097] Figure 4 A schematic diagram of a terminal device 10 that can be used to implement embodiments of the present invention is shown. The terminal device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The terminal device can also represent various forms of mobile devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0098] The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the invention described and / or claimed herein.
[0099] like Figure 4As shown, the terminal device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer programs stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the terminal device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0100] Multiple components in terminal device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows terminal device 10 to exchange information / data with other terminal devices through computer networks such as the Internet and / or various telecommunications networks.
[0101] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as electronic board protection methods.
[0102] In some embodiments, the electronic board protection method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on terminal device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the electronic board protection method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the electronic board protection method by any other suitable means (e.g., by means of firmware).
[0103] Various embodiments of the apparatuses and techniques described above herein can be implemented in digital electronic circuit devices, integrated circuit devices, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), device-on-a-chip (SoCs), complex programmable logic terminal devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable device including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage device, at least one input device, and at least one output device, and transmitting data and instructions to the storage device, the at least one input device, and the at least one output device.
[0104] The computer program used to implement the electronic board protection method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to the processor of a general-purpose computer, a special-purpose computer, or other non-stop data migration device, such that when executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program can be executed entirely on the machine, partially on the machine, as a standalone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0105] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution apparatus, device, or terminal device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage terminal devices, magnetic storage terminal devices, or any suitable combination thereof.
[0106] To provide interaction with a user, the apparatus and techniques described herein can be implemented on a terminal device having: a display device (e.g., a touchscreen) for displaying information to the user; and buttons through which the user can provide input to the terminal device. Other types of apparatus can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or haptic feedback); and input from the user can be received in any form (including voice input, speech input, or haptic input).
[0107] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0108] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. An electronic board card protection method, characterized by, The method comprises: Real-time monitoring of each connector to obtain operation data, and filtering noise in the operation data to obtain filtered data; A plurality of threshold values are set for each connector, wherein the plurality of threshold values comprise a warning threshold value, an abnormal threshold value and a limit threshold value; The filtered data is verified by referring to the plurality of threshold values, and an interrupt signal is generated when it is determined that the verification result triggers electronic board protection; The interrupt signal is sent to the electronic board connected to the connector, and the electronic board is protected.
2. The method of claim 1, wherein, The filtering of noise in the operation data to obtain filtered data comprises: A pre-set sliding window is slid on the operation data; During the sliding operation, the average value of the operation data in the sliding window is calculated, and the average values calculated at each position of the sliding window form the filtered data.
3. The method of claim 1, wherein, The warning threshold value comprises a voltage warning threshold value, the abnormal threshold value comprises a voltage abnormal threshold value and a current abnormal threshold value, and the limit threshold value comprises a voltage limit threshold value and a current limit threshold value.
4. The method of claim 3, wherein, The verification of the filtered data by referring to the plurality of threshold values, and the generation of an interrupt signal when it is determined that the verification result triggers electronic board protection, comprises: When it is determined that the voltage data is effectively abnormal according to the voltage abnormal threshold value, and it is determined that the current data is effectively abnormal according to the current abnormal threshold value, it is determined that electronic board protection is triggered and an interrupt signal is generated; Or, when it is determined that the voltage data exceeds the voltage limit threshold value, it is determined that electronic board protection is triggered and an interrupt signal is generated; Or, when it is determined that the current data exceeds the current limit threshold value, it is determined that electronic board protection is triggered and an interrupt signal is generated.
5. The method of claim 4, wherein, When it is determined that the voltage data exceeds the voltage abnormal threshold value for a specified duration, it is determined that the voltage data is effectively abnormal; When it is determined that the current data exceeds the current abnormal threshold value for the specified duration, it is determined that the current data is effectively abnormal. The sending of the interrupt signal to the electronic board connected to the connector, and the protection of the electronic board, comprises:
6. The method of claim 1, wherein, The interrupt signal is sent to the electronic board connected to the connector, so that the electronic board triggers a logic clearing operation, and the input and output state is updated to a high impedance state; When it is determined that the input and output state update completion instruction of the electronic board is received, the generated protection alarm prompt is displayed on the front-end interface. After the sending of the interrupt signal to the electronic board connected to the connector, and the protection of the electronic board, the method further comprises:
7. The method of claim 1, wherein, Within a specified checking duration after the sending of the interrupt signal, the operation data in each unit duration is checked; When the operation data of each unit duration is restored to be stable, the operation of the electronic board is automatically triggered to be restored. 8. An electronic board card protection apparatus, characterized by, The device comprises: a data filtering module, configured to acquire running data by monitoring each connector in real time, and filter noise in the running data to obtain filtered data, wherein the running data comprises voltage data and current data; a multi-level threshold setting module, configured to set multi-level thresholds for each connector, wherein the multi-level thresholds comprise a warning threshold, an abnormal threshold and a limit threshold; an interrupt signal generation module, configured to perform multi-level verification on the filtered data by referring to the multi-level thresholds, and generate an interrupt signal when a verification result triggers electronic board card protection; a protection module, configured to send the interrupt signal to an electronic board card connected to the connector, and protect the electronic board card.
9. A terminal device, comprising: The terminal device comprises: one or more processors; a storage device configured to store one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the method of any one of claims 1-7.
10. A storage medium of computer executable instructions, on which a computer program is stored, characterized in that, The program is executed by the processor to implement the method of any one of claims 1-7.