CN116580657A - Fault detection method, device, equipment and computer readable storage medium - Google Patents

Fault detection method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN116580657A
CN116580657A CN202310351776.7A CN202310351776A CN116580657A CN 116580657 A CN116580657 A CN 116580657A CN 202310351776 A CN202310351776 A CN 202310351776A CN 116580657 A CN116580657 A CN 116580657A
Authority
CN
China
Prior art keywords
display
display screen
fault detection
electronic equipment
image
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
CN202310351776.7A
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.)
Ecoflow Technology Ltd
Original Assignee
Ecoflow Technology 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 Ecoflow Technology Ltd filed Critical Ecoflow Technology Ltd
Priority to CN202310351776.7A priority Critical patent/CN116580657A/en
Publication of CN116580657A publication Critical patent/CN116580657A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/006Electronic inspection or testing of displays and display drivers, e.g. of LED or LCD displays

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The application relates to the technical field of detection, and provides a fault detection method, device and equipment and a computer readable storage medium, which are used for detecting faults of electronic equipment; the electronic device includes a display screen; the method comprises the following steps: acquiring operation parameters of the electronic equipment in the operation process; acquiring a display image of the display screen of the electronic equipment in the running process; acquiring a reference image of the display screen according to the operation parameters; and outputting a fault prompting signal when the display image is not matched with the reference image. The method can effectively detect faults of the display screen of the electronic equipment under various working conditions.

Description

Fault detection method, device, equipment and computer readable storage medium
Technical Field
The present application relates to the field of detection technologies, and in particular, to a fault detection method, device, apparatus, and computer readable storage medium.
Background
The display screen can display various data of the electronic equipment, the electronic equipment is often detected under various working conditions before leaving the factory, and if the information displayed by the display screen is inconsistent with the actual display information under the current working condition, the user can acquire wrong equipment information. Therefore, before the electronic device leaves the factory, the electronic device with the display screen fault under any working condition needs to be intercepted. However, the conventional fault detection technology cannot meet the fault detection of the display screen under various working conditions of the electronic equipment.
Disclosure of Invention
The embodiment of the application discloses a fault detection method, a device, equipment and a computer readable storage medium, which solve the technical problem that the traditional fault detection technology can not meet the fault detection of a display screen under various working conditions of electronic equipment.
The application provides a fault detection method which is used for detecting faults of electronic equipment; the electronic device includes a display screen; the method comprises the following steps: acquiring operation parameters of the electronic equipment in the operation process; acquiring a display image of the display screen of the electronic equipment in the running process; acquiring a reference image of the display screen according to the operation parameters; and outputting a fault prompting signal when the display image is not matched with the reference image.
In the fault detection method provided by the application, firstly, in order to perform fault test on the electronic equipment under various working conditions, the operation parameters of the electronic equipment in the operation process and the display images of the display screen of the electronic equipment can be obtained to be used as the data basis of the fault test of the electronic equipment; secondly, after the display image is obtained, in order to judge whether the display screen has faults or not through the display image, the image actually displayed by the electronic equipment can be obtained through the operation parameters to serve as a reference image, finally, when the fact that the display image is not matched with the reference image is determined, a fault prompting signal can be output, wherein the operation parameters of the electronic equipment in the operation process represent various working conditions which can occur in the actual use of a user after the electronic equipment leaves a factory, including startup, shutdown, networking and the like, and therefore, the display screen can be detected according to the operation parameters of the electronic equipment, and the situation that if the display screen has faults under various working conditions can be met, and testers can be prompted timely.
The application also provides a fault detection device which is used for carrying out fault detection on the electronic equipment; the electronic device includes a display screen; comprising the following steps: the first acquisition module is used for acquiring the operation parameters of the electronic equipment in the operation process; the second acquisition module is used for acquiring a display image of the display screen in the running process of the electronic equipment; the third acquisition module is used for acquiring a reference image of the display screen according to the operation parameters; and the matching module is used for outputting a fault prompt signal when the display image is not matched with the reference image.
The application also provides a fault detection device comprising a processor and a memory, the processor being arranged to execute a computer program stored in the memory to implement the fault detection method.
The present application also provides a computer readable storage medium storing at least one instruction that when executed by a processor implements the fault detection method.
Drawings
Fig. 1 is a schematic diagram of an application scenario of a fault detection method according to an embodiment of the present application.
Fig. 2 is a flowchart of a fault detection method according to an embodiment of the present application.
Fig. 3 is a schematic diagram of matching a display image with a reference image according to an embodiment of the application.
Fig. 4 is a flowchart of a fault detection method according to another embodiment of the present application.
Fig. 5 is a flowchart of a fault detection method according to still another embodiment of the present application.
Fig. 6 is a schematic structural diagram of a fault detection device according to an embodiment of the present application.
Detailed Description
For ease of understanding, a description of some of the concepts related to the embodiments of the application are given by way of example for reference.
It should be noted that the terms "first," "second," and the like in the description and claims of the application and in the drawings are used for distinguishing between similar objects and not for describing a particular sequential or chronological order.
The display screen can display various data of the electronic equipment, the electronic equipment is often detected under various working conditions before leaving the factory, and if the information displayed by the display screen is inconsistent with the actual display information under the current working condition, the user can acquire wrong equipment information. Therefore, before the electronic device leaves the factory, the electronic device with the display screen fault under any working condition needs to be intercepted. However, the conventional fault detection technology cannot meet the fault detection of the display screen under various working conditions of the electronic equipment.
The fault detection method provided by the embodiment of the application can be used for detecting faults of the electronic equipment, and in order to be able to detect the fault problem of abnormal display screen of the electronic equipment, the embodiment of the application provides the fault detection method, the device, the equipment and the computer readable storage medium.
Fig. 1 is a schematic diagram of an application scenario of a fault detection method according to an embodiment of the present application. As shown in fig. 1, the fault detection method is applied to the fault detection device 100, where the fault detection device 100 is connected to the electronic device 200, and in the embodiment of the present application, the fault detection device 100 is used for performing fault detection, for example, communication fault detection, on the detection electronic device 200.
In an embodiment of the present application, the fault detection apparatus 100 includes, but is not limited to: in other embodiments, the fault detection apparatus 100 may not include the camera 140, but may instead establish a communication connection with one or more external cameras, as the present application is not limited in this respect, as the memory 120, the at least one processor 130, and the camera 140 are communicatively connected to each other via the communication bus 110. The electronic device 200 includes, but is not limited to, a display screen 210.
In some embodiments of the present application, a reference image corresponding to a display image of the display screen 210 may be acquired in advance and stored in the memory 120. In the process of performing fault detection on the electronic device 200 by using the fault detection device 100, operation parameters of the electronic device 200 are acquired through an Input/Output (I/O) interface in communication with the electronic device 200 and a display image of the display screen 210 is acquired through the photographing apparatus 140. After the fault detection device 100 acquires the operation parameters of the electronic device 200, the reference image stored in the memory 120 is searched for using the operation parameters, for example, the reference image matching the operation parameters is searched for. The processor 130 may obtain a failure detection result of the electronic device 200 by comparing the acquired display image with the reference image. The operation parameters may be a remaining power, an output voltage, an output current, etc., which is not limited in the present application.
The fault detection device 100 may be a central control terminal in an intelligent home system, or may be an intelligent device such as a desktop computer and an intelligent mobile terminal of a user, or may be an air conditioner control system set in an air conditioner.
The electronic device 200 may be a device with a display screen such as a smart energy storage device, an outdoor mobile air conditioner, a lawn mower, a household appliance, and other smart devices.
Fig. 1 is merely an exemplary illustration of the fault detection device 100 and the electronic device 200, and is not meant to be limiting, and in other embodiments, the fault detection device 100 and the electronic device 200 may include more or less components than illustrated, or may combine certain components, or may replace different components, and the fault detection device 100 and the electronic device 200 may further include input and output devices, network access devices, and the like.
Fig. 2 is a flowchart of a fault detection method according to an embodiment of the present application, as shown in fig. 2, where the fault detection method according to the embodiment of the present application is applied to a fault detection device (such as the fault detection device 100 of fig. 1) for performing fault detection on an electronic device (such as the electronic device 200 of fig. 1). The order of the steps in the flowchart may be changed and some steps may be omitted according to various needs. As shown in fig. 2, the method comprises the following steps:
step S201, acquiring operation parameters of the electronic device in the operation process.
In some embodiments of the present application, an electronic device (e.g., an energy storage device) may generate an operation parameter during an actual operation process, where the operation parameter may be used to represent an operation state of the electronic device, for example, by obtaining a remaining power in the operation parameter of the electronic device to obtain a battery capacity state of the electronic device, and for example, detecting that a user clicks a control on a display screen to trigger a change of the operation state, the operation parameter after the operation state is changed may be obtained, and obtaining the operation state of the electronic device at this time by obtaining the changed operation parameter, for example, the operation parameter includes a display frequency, the user clicks a control for switching the display frequency, records the display frequency after the switching at this time, and stores the display frequency before the switching and the display frequency after the switching in the electronic device, and obtains the display frequency state of the display screen at this time according to the display frequency after the switching.
The operating parameters of the electronic device may be transmitted to other devices (e.g., fault detection devices) via the input/output interface for analysis and processing by the other devices based on the acquired operating parameters. The operating parameters may include display interface information, signaling information, remaining power, output voltage, output current, etc. of the electronic device. The operating parameters of the electronic device may also be displayed via a display of the electronic device, which is not limited by the present application.
In the embodiment of the application, the fault detection device can be used for acquiring the operation parameters of the electronic device in the operation process so as to detect the data transmission performance of the electronic device or other performances of the electronic device.
Step S202, a display image of a display screen of the electronic equipment in the running process is obtained.
In some embodiments of the present application, the electronic device may include one or more display screens, which may be used to display operation parameters of the electronic device, or display a related chart, icon, or graphic that can represent the operation parameters, where the operation condition of the electronic device may be intuitively obtained through the display screens, for example, the electronic device is used as an energy storage device to describe, and when the remaining capacity of the energy storage device is 20%, 20% of the remaining capacity is displayed in an area corresponding to the remaining capacity of the display screen or the remaining capacity is displayed in the form of an icon, so as to remind a user to timely charge the energy storage device.
In some embodiments of the present application, the display image of the display screen may intuitively reflect the state of the display screen during the operation of the electronic device, for example, when the display screen flashes, the displayed display image may continuously flash, and the display image may intuitively reflect the operation parameter. Accordingly, it is possible to determine whether or not the electronic device has a display failure or a communication failure by acquiring the display image. For another example, a preset icon associated with the preset state may be displayed on the display screen, for indicating the current state of the electronic device, for example, indicating that the electronic device needs to be charged as soon as possible due to insufficient power.
In the embodiment of the application, the fault detection equipment can be adopted to acquire the display image of the display screen of the electronic equipment in the running process, and the display screen can be shot by the shooting device of the fault detection equipment so as to detect the data transmission performance or the display performance of the electronic equipment.
Step S203, a reference image of the display screen is acquired according to the operation parameters.
In some embodiments of the present application, the reference image may be a standard display image of the display screen corresponding to different working conditions, that is, may be a theoretical display image of the electronic device corresponding to different operation parameters, and may be directly obtained from the memory, where the reference image in the memory may be automatically generated or obtained from a result of a previous test, which is not limited by the present application.
In some embodiments of the present application, after obtaining the operation parameters of the electronic device, a corresponding reference image may be found according to the operation parameters, for example, the operation parameters are 20% of the remaining power, and then, based on the 20% of the remaining power, the reference image with 20% of the remaining power in the memory is obtained. For another example, by clicking a control on the display screen, the touch signal is transmitted, so as to obtain the operation parameters of the electronic device at the moment, and thus, the corresponding reference image is obtained.
The above is merely an example, and the present application is not limited thereto, and the corresponding reference image may be obtained according to other operation parameters.
Step S204, outputting a fault prompting signal when the display image is not matched with the reference image.
In some embodiments of the present application, when capturing a display image and acquiring corresponding operation parameters, capturing time information may be acquired, for example, when capturing the display image 1 at a first time (for example, 9 am), simultaneously acquiring the operation parameters a corresponding to the first time, where the display image 1 and the time information carried by the operation parameters a are both the first time.
In some embodiments of the present application, whether the electronic device has a fault or not may be determined by comparing the display image and the reference image, which have the same time information, so as to achieve the purpose of testing the electronic device. And acquiring time information corresponding to the display image, acquiring a corresponding reference image according to the operation parameters, and acquiring the time information corresponding to the reference image after the reference image is acquired.
For example, in some examples, fig. 3 is a schematic diagram of matching a display image with a reference image according to an embodiment of the present application, and as shown in fig. 3, the display image 1 is acquired at a first time T1 and an operation parameter a corresponding to the first time T1 is acquired, and the display image 2 is acquired at a second time T2 and an operation parameter B corresponding to the second time T2 is acquired. And then searching the reference image 3 corresponding to the operation parameter A based on the operation parameter A, and searching the reference image 4 corresponding to the operation parameter B based on the operation parameter B. Further, the third time T3 carried by the reference image 3 and the fourth time T4 carried by the reference image 4 are acquired. If the first time T1 is the same as the third time T3, the connection line (1) shown in fig. 3 represents the comparison display image 1 and the reference image 3, and if the second time T2 is the same as the fourth time T4, the connection line (2) shown in fig. 3 represents the comparison display image 2 and the reference image 4.
In other examples, if the first time T1 is equal to the fourth time T4, the connection line (3) shown in fig. 3 represents the comparison display image 1 and the reference image 4. At this time, the display image 1 corresponds to the operation parameter a, and the reference image 4 corresponds to the operation parameter B, since the display image is one way of reflecting the operation parameter. Therefore, the display image 1 does not match the reference image 4, i.e., a malfunction notification signal is output.
Similarly, if the second time T2 is equal to the third time T3, the connection line (4) shown in fig. 3 indicates that the display image 2 and the reference image 3 are aligned, and at this time, the display image 2 and the reference image 3 do not match.
In some embodiments of the application, it may be determined whether there is a malfunction in the data transmission performance of the electronic device by comparing whether the display image is consistent with the reference image.
For example, in some examples, after determining that the display image does not match the reference image, if an operating parameter of the electronic device detected through a transmission interface connected to the display screen does not match display information characterized in the display image of the display screen at this time, it is determined that a data transmission failure occurs between the display screen and a data transmission module within the electronic device. For example, if one of the operation parameters of the electronic device, for example, the remaining power is 19% at the first time, and the display image in the display screen of the electronic device captured by the capturing device is characterized in that the current remaining power of the electronic device is 20%, and if the remaining power corresponding to the first time is 19% through the transmission interface connected with the display screen, it is determined that a data transmission fault occurs between the display screen and the data transmission module in the electronic device, so that the operation parameter received by the display screen is not matched with the actual operation parameter, and further the display image displayed on the display screen is not matched with the reference image. For the test equipment to perform data transmission performance error marking on the faults and output fault prompting signals so as to further eliminate the faults.
In the embodiment of the application, the display fault type of the screen can be a fault on hardware such as a bright spot or a splash screen of the screen, or an error in communication between the screen and a control unit in the electronic device, for example, decoding failure after the screen receives data or delay of communication. In order to perform fault test on the electronic equipment under various working conditions, the application can acquire the operation parameters of the electronic equipment in the operation process and acquire the display images of the display screen of the electronic equipment as the data basis of the fault test of the electronic equipment; secondly, after the display image is obtained, in order to judge whether the display screen has faults or not through the display image, the image actually displayed by the electronic equipment can be obtained through the operation parameters to serve as a reference image, and finally, when the fact that the display image is not matched with the reference image is determined, a fault prompting signal can be output. The operation parameters of the electronic equipment in the operation process represent various working conditions which can occur in the actual use of the electronic equipment after leaving a factory, including startup, shutdown, networking and the like, so that the display screen is detected according to the operation parameters of the electronic equipment, the situation that if the display screen fails under various working conditions can be met, and a tester can be timely prompted.
Fig. 4 is a flowchart of a fault detection method according to another embodiment of the present application. In order to improve the test efficiency, an embodiment as shown in fig. 4 is provided, comprising the steps of:
step S401, acquiring operation parameters of the electronic device in the operation process.
Step S402, a display image of a display screen of the electronic device in the running process is obtained.
Step S403, obtaining a reference image of the display screen according to the operation parameters.
In some embodiments of the present application, the specific descriptions of steps S401 to S403 may refer to steps S201 to S203 in the embodiment provided in fig. 2, and the descriptions are not repeated here.
Step S404, judging whether any display image is not matched with the reference image.
If any of the display images does not match the reference image, step S405 is executed to output a fault prompting signal, save the display image that does not match the reference image, and clear the other display images.
In some embodiments of the present application, an operation parameter corresponding to an electronic device may be acquired, and a plurality of display images may be acquired through a photographing device, and a reference image corresponding to the operation parameter may be acquired from a plurality of stored reference images, so as to compare the acquired display images and the reference image according to a sequence of the operation parameter. If any display image is not matched with the reference image according to the corresponding parameters of the electronic equipment in the detection process, the abnormal display image is stored, other display images which are not detected yet and the corresponding operation parameters are cleared, and the subsequent display images can not be detected.
For example, in some examples, 30 display images and corresponding 30 reference images acquired according to operation data are sequentially acquired according to a change sequence of operation parameters of the electronic device, the 30 reference images are sequentially compared with the acquired display images of the display screen, if when the 15 th display image is detected, and if there is a mismatch with the corresponding reference image, all display images and corresponding operation parameters after the 16 th display image are discarded, and the first 15 display images and operation parameters are saved. The 30 display images are sequenced according to shooting time, and in the detection process, detection is carried out piece by piece based on shooting time.
In other examples, detection may be performed for different display information and data transmission performance in the display screen, for example, before fault detection of the electronic device, a set of test procedures may be created for the electronic device, where the test procedures include testing each performance of the electronic device, and may include N procedures, for example, procedure 1 includes determining whether a display icon is normal or not: determining whether the display icon of the display screen is normal by judging whether the display image is matched with the reference image, executing a process 2 after determining whether the display icon is normal, judging whether the display number of the residual electric quantity is normal again, judging whether the display image is matched with the reference image again, determining whether the display number of the residual electric quantity of the display screen is normal, if the display number of the residual electric quantity is abnormal, not executing the processes 3-N, storing the display image which is not matched with the reference image, clearing other display images, and marking the display image which is not matched with the reference image, for example, marking the display number which is marked as the residual electric quantity is abnormal.
In the embodiment of the application, when any display image is not matched with the reference image, the detected display image and the corresponding operation parameters can be stored to update the fault detection data in the memory of the fault detection device, so that the detection efficiency of the subsequent electronic device is improved to a certain extent, and meanwhile, the display image which is not detected and the corresponding operation parameters are eliminated, so that the detection flow can be optimized, the detection steps can be reduced, and the memory space occupying the memory of the fault detection device can be reduced.
If any display image is not matched with the reference image, step S406 is executed to confirm that the display function of the display screen of the electronic device is normal.
In some embodiments of the present application, if the acquired multiple display images can be successfully matched with the corresponding reference images, it may be determined that the display function of the display screen of the electronic device is normal, for example, if the acquired 30 display images are successfully matched with the corresponding 30 reference images, it may be determined that the display function of the display screen of the electronic device is normal.
Fig. 5 is a flowchart of a fault detection method according to another embodiment of the present application. In order to improve the sampling efficiency of the display image, an embodiment as shown in fig. 5 is provided, comprising the steps of:
step S501, acquiring an operation parameter of the electronic device in an operation process.
In some embodiments of the present application, the specific description of step S501 may refer to step S201 in the embodiment provided in fig. 2, and the description is not repeated here.
Step S502, determining whether the electronic device is in a stable operation state.
In some embodiments of the present application, the steady operation state refers to a state that a state of a system is no longer changed with time, and the steady operation state of the electronic device may be identified through a preset duration, a parameter operation range, and the like.
If the electronic device is in a stable running state, step S503 is executed to acquire a display image of the display screen of the electronic device in the running process at a preset first sampling frequency.
In some embodiments of the present application, when the electronic device is in a stable running state, since the frequency of changing the display image of the display screen is slower, the display image of the display screen of the electronic device in the running process may be obtained by using the first sampling frequency, and in particular, the display screen may be photographed by using the photographing device at the first sampling frequency, so as to obtain the display image. For example, in some examples, the first sampling frequency is preset to capture one display image every 30ms, and according to a preset number of captures, one display image every 30ms is captured until the number of captures is reached.
If the electronic device is in an unstable operation state, step S504 is executed to obtain a display image of the display screen of the electronic device in the operation process at a preset second sampling frequency.
In some embodiments of the present application, if the electronic device is in an unstable operation state, for example, the electronic device is just started, the electronic device is switching a mode, or the electronic device is connected to a power supply device to charge the electronic device, a second sampling frequency may be used to obtain a display image of the display screen of the electronic device in the operation process, where the first sampling frequency is smaller than the second sampling frequency, and since the electronic device is in an unstable state at this time, the display image has a faster changing frequency, and the second sampling frequency smaller than the first sampling frequency may be used to perform shooting, so as to shorten the shooting time, thereby ensuring that a display image with obvious change of an operation parameter and an operation parameter can be obtained, and enhancing the monitoring of the display screen.
For example, in some examples, the second sampling frequency is preset to take one display image every 15ms, and according to the preset number of shots, one display image every 15ms is taken until the number of shots is reached.
Fig. 6 is a schematic structural diagram of a fault detection device 600 according to an embodiment of the present application. As shown in fig. 6, in the embodiment of the present application, the fault detection device 600 may be divided into a plurality of functional modules according to the functions performed by the fault detection device 600, and the fault detection device 600 is configured to perform fault detection on an electronic device; the electronic device includes a display screen, and the fault detection apparatus 600 may include: the first acquisition module 610, the second acquisition module 620, the third acquisition module 630, and the matching module 640.
The first obtaining module 610 is configured to obtain an operation parameter of the electronic device during an operation process.
The second obtaining module 620 is configured to obtain a display image of the display screen during the operation of the electronic device.
And a third obtaining module 630, configured to obtain a reference image of the display screen according to the operation parameter.
And a matching module 640 for outputting a fault prompting signal when the display image is not matched with the reference image.
In some embodiments of the application, the display of the display screen of the electronic device is confirmed to be functioning properly when the display image matches the reference image.
In some embodiments of the application, a reference image of a display screen of the electronic device during operation is prestored; the reference image comprises standard display images of the display screen corresponding to different working conditions.
In some embodiments of the present application, when there is any display image that does not match the reference image, the display image that does not match the reference image is saved and the other display images are cleared.
In some embodiments of the present application, the second obtaining module 620 is further configured to obtain, at a preset sampling frequency, a display image of the display screen of the electronic device during operation.
In some embodiments of the present application, the second obtaining module 620 is further configured to obtain, when it is determined that the electronic device is in a stable running state according to the running parameter, a display image of a display screen of the electronic device during a running process at a preset first sampling frequency; when the electronic equipment is determined to be in an unstable operation state according to the operation parameters, acquiring a display image of a display screen of the electronic equipment in the operation process at a preset second sampling frequency; the first sampling frequency is less than the second sampling frequency.
In some embodiments of the application, the operating parameters and the display image each include time information; before outputting the fault prompting signal when the display image is not matched with the reference image, the method further comprises the following steps: and searching the display image and the reference image corresponding to the comparison according to the time information.
The fault detection device provided in this embodiment may execute the above method embodiment, and its implementation principle is similar to that of the technical effect, and will not be described herein.
With continued reference to fig. 1, in this embodiment, the memory 120 may be an internal memory of the fault detection device 100, that is, a memory built into the fault detection device 100. In other embodiments, the memory 120 may also be an external memory of the fault detection device 100, i.e., a memory external to the fault detection device 100.
In some embodiments, memory 120 is used to store program code and various data and to enable high-speed, automatic access to programs or data during operation of fault detection device 100.
The memory 120 may include random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid state storage device.
In one embodiment, the processor 130 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), field-programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any other conventional processor or the like.
The program code and various data in the memory 120 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as a stand alone product. Based on such understanding, the present application may implement all or part of the procedures in the methods of the above embodiments, such as the fault detection method, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and where the computer program, when executed by a processor, may implement the steps of the embodiments of the above methods. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), or the like.
It will be appreciated that the above-described division of modules into a logical function division may be implemented in other ways. In addition, each functional module in the embodiments of the present application may be integrated in the same processing unit, or each module may exist alone physically, or two or more modules may be integrated in the same unit. The integrated modules may be implemented in hardware or in hardware plus software functional modules.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present application and not for limiting the same, and although the present application has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present application without departing from the spirit and scope of the technical solution of the present application.

Claims (10)

1. The fault detection method is characterized by being used for detecting faults of the electronic equipment; the electronic device includes a display screen; the method comprises the following steps:
acquiring operation parameters of the electronic equipment in the operation process;
acquiring a display image of the display screen of the electronic equipment in the running process;
acquiring a reference image of the display screen according to the operation parameters;
and outputting a fault prompting signal when the display image is not matched with the reference image.
2. The fault detection method of claim 1, wherein the method further comprises:
and when the display image is matched with the reference image, confirming that the display function of the display screen of the electronic equipment is normal.
3. The fault detection method of claim 1, wherein the method further comprises:
pre-storing a reference image of the display screen of the electronic equipment in the running process; the reference image comprises standard display images of the display screen corresponding to different working conditions.
4. The fault detection method of claim 1, wherein the method further comprises:
when any display image is not matched with the reference image, the display image which is not matched with the reference image is saved, and other display images are cleared.
5. The method for detecting a fault according to claim 1, wherein the acquiring a display image of the display screen of the electronic device during operation includes:
and acquiring display images of the display screen of the electronic equipment in the running process at a preset sampling frequency.
6. The fault detection method of claim 5, wherein the method further comprises:
when the electronic equipment is determined to be in a stable running state according to the running parameters, acquiring a display image of the display screen of the electronic equipment in the running process at a preset first sampling frequency;
when the electronic equipment is determined to be in an unstable operation state according to the operation parameters, acquiring a display image of the display screen of the electronic equipment in the operation process at a preset second sampling frequency; the first sampling frequency is less than the second sampling frequency.
7. The fault detection method of claim 1, wherein the operating parameter and the display image each include time information; and before outputting the fault prompt signal when the display image is not matched with the reference image, the method further comprises the following steps:
and searching the display image and the reference image which correspond to the comparison according to the time information.
8. The fault detection device is characterized by being used for detecting faults of the electronic equipment; the electronic device includes a display screen; comprising the following steps:
the first acquisition module is used for acquiring the operation parameters of the electronic equipment in the operation process;
the second acquisition module is used for acquiring a display image of the display screen in the running process of the electronic equipment;
the third acquisition module is used for acquiring a reference image of the display screen according to the operation parameters;
and the matching module is used for outputting a fault prompt signal when the display image is not matched with the reference image.
9. A fault detection device comprising a processor and a memory, the processor being arranged to execute a computer program stored in the memory to implement the fault detection method according to any of claims 1 to 7.
10. A computer readable storage medium storing at least one instruction which when executed by a processor implements the fault detection method of any one of claims 1 to 7.
CN202310351776.7A 2023-03-29 2023-03-29 Fault detection method, device, equipment and computer readable storage medium Pending CN116580657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310351776.7A CN116580657A (en) 2023-03-29 2023-03-29 Fault detection method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310351776.7A CN116580657A (en) 2023-03-29 2023-03-29 Fault detection method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN116580657A true CN116580657A (en) 2023-08-11

Family

ID=87544343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310351776.7A Pending CN116580657A (en) 2023-03-29 2023-03-29 Fault detection method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116580657A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117576834A (en) * 2024-01-17 2024-02-20 深圳市吉方工控有限公司 Display abnormality detection method, device and equipment of POS machine and storage medium
CN117782521A (en) * 2023-12-28 2024-03-29 上海艺嘉智慧科技集团有限公司 LED light curtain display delay measurement method and system thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117782521A (en) * 2023-12-28 2024-03-29 上海艺嘉智慧科技集团有限公司 LED light curtain display delay measurement method and system thereof
CN117576834A (en) * 2024-01-17 2024-02-20 深圳市吉方工控有限公司 Display abnormality detection method, device and equipment of POS machine and storage medium
CN117576834B (en) * 2024-01-17 2024-03-29 深圳市吉方工控有限公司 Display abnormality detection method, device and equipment of POS machine and storage medium

Similar Documents

Publication Publication Date Title
CN116580657A (en) Fault detection method, device, equipment and computer readable storage medium
CN110716126A (en) Chip aging test system, method and device
CN108875837B (en) Apparatus and method for testing target recognition device
CN109408338B (en) Method, device, equipment and system for grabbing trace of NVME (network video management entity) hard disk
CN108322737B (en) Method and device for measuring camera shooting frame rate
CN113038084B (en) State identification method, device and system
CN111554219A (en) Display equipment testing method and device, electronic product and storage medium
CN106919377B (en) Method and device for determining whether display interface of application program is white screen
CN114885156B (en) Identification method, device, equipment, storage medium and program product
CN110874295A (en) Test method and system for boot verification after abnormal shutdown
CN106598793B (en) Test system and test method based on BIOS serial port log data
CN113835028A (en) Automatic detection method for holder motor, terminal and computer readable storage medium
CN112731102B (en) Liquid crystal display television backlight fault detection method
CN109714529A (en) Optical filter switching method, device and the storage medium of image collecting device
CN112765041B (en) Game automation testing method and device and electronic equipment
CN114064401A (en) Method and device for positioning hard disk fault, electronic equipment and storage medium
CN110470927B (en) Key testing method and key testing device
CN109413390B (en) Camera video plug-flow device and method
CN114356617B (en) Error injection testing method, device, system and computing equipment
CN113301273A (en) Method and device for determining tracking mode, storage medium and electronic device
CN106130815A (en) Board level test method and device
CN111752782A (en) Stability testing method, system, device and storage medium
CN110737531A (en) fault diagnosis method, device, equipment and medium
CN113466566B (en) Trigger type signal acquisition method and device
CN114546094B (en) Method, system, device and storage medium for detecting abnormal power failure of SSD device

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