CN116560917A - Screen fault detection method and system of electronic equipment and operating system - Google Patents

Screen fault detection method and system of electronic equipment and operating system Download PDF

Info

Publication number
CN116560917A
CN116560917A CN202210107358.9A CN202210107358A CN116560917A CN 116560917 A CN116560917 A CN 116560917A CN 202210107358 A CN202210107358 A CN 202210107358A CN 116560917 A CN116560917 A CN 116560917A
Authority
CN
China
Prior art keywords
screen
fault
touch event
input event
fault detection
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
CN202210107358.9A
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.)
Shanghai Pateo Network Technology Service Co Ltd
Original Assignee
Shanghai Pateo Network Technology Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Pateo Network Technology Service Co Ltd filed Critical Shanghai Pateo Network Technology Service Co Ltd
Priority to CN202210107358.9A priority Critical patent/CN116560917A/en
Publication of CN116560917A publication Critical patent/CN116560917A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Abstract

The invention discloses a screen fault detection method and system of electronic equipment, an operating system, the electronic equipment and a storage medium. The screen fault detection method comprises the following steps: responding to a fault detection request of a screen, and acquiring input event data of the screen; analyzing the input event data, and judging whether a touch event of the screen exists or not; and if the touch event of the screen does not exist, determining that the screen has a fault. Therefore, the fault detection of the screen is realized when the abnormal click phenomenon occurs on the screen, the fault cause of abnormal calling of the software system of the electronic equipment is eliminated, and the fault detection accuracy is high.

Description

Screen fault detection method and system of electronic equipment and operating system
Technical Field
The present invention relates to the field of hardware detection, and in particular, to a method and system for detecting a screen failure of an electronic device, an operating system, an electronic device, and a storage medium.
Background
Along with the development of screen technology, screens are widely applied to electronic devices such as mobile phones and tablet computers. In the using process of the electronic equipment, the problems that the screen is jumped and can not be clicked exist, and the normal use of a user is influenced. In the prior art, the reasons for the problems of screen skip disorder and incapability of clicking cannot be determined.
Disclosure of Invention
The invention aims to overcome the defect that the problems of screen skip and incapability of clicking caused by mess cannot be determined in the prior art, and provides a screen fault detection method and system of electronic equipment, an operating system, the electronic equipment and a storage medium.
The invention solves the technical problems by the following technical scheme:
in a first aspect, a method for detecting a screen failure of an electronic device, where the screen has an abnormal click phenomenon, includes:
responding to a fault detection request of a screen, and acquiring input event data of the screen;
analyzing the input event data, and judging whether a touch event of the screen exists or not;
and if the touch event of the screen does not exist, determining that the screen has a fault.
Optionally, the acquiring the input event data of the screen includes:
sending a touch event acquisition instruction to an operating system of the electronic equipment, and receiving input event data returned by the operating system aiming at the touch event acquisition instruction;
or acquiring the input event data through a monitoring service registered in the operating system.
Optionally, the acquiring the input event data of the screen includes:
determining a screen identifier of the screen;
input event data corresponding to the screen identification is acquired.
Optionally, the method further comprises:
responding to the received input event data, judging whether an interface switching notification of the screen is received within a first preset time period;
if the interface switching notification of the screen is received within the first preset time, the fault type of the screen is judged to be a frozen screen fault.
Optionally, after the step of predicting that the failure type of the screen is a frozen screen failure, the method further includes:
triggering a flow detection service to acquire state data of a process of the electronic equipment;
if the state data of the process indicates that the process is blocked, determining that the fault type of the screen is a frozen screen fault and the reason of the frozen screen fault is that a core service process of an operating system is blocked;
if the state data of the process represents that the process runs normally, detecting whether the incubator service runs normally;
if the incubator service is not normally operated, determining that the fault type of the screen is a frozen screen fault;
if the incubator service normally operates, checking whether the process number of the application program currently operated by the screen is changed;
if the process number is not changed, determining that the fault type of the screen is a frozen screen fault and the reason of the frozen screen fault is that the currently running application program of the screen has a fault;
and if the process number is not changed, determining that the screen has no frozen screen fault.
Optionally, the method further comprises:
in response to receiving the input event data, judging whether the amount of the input event data received in the second preset time period exceeds a first threshold value;
and if the data quantity of the input event received in the second preset time period exceeds a threshold value, predicting that the fault type of the screen is abnormal click fault.
Optionally, the method further comprises:
if the touch event of the screen exists, judging whether the touch event comprises a virtual touch event or not;
if the touch event comprises the virtual touch event, eliminating the virtual touch event;
and if the data quantity of the input event received in the third preset time period exceeds a second threshold value after the virtual touch event is eliminated, determining that the screen has faults.
Optionally, eliminating the virtual touch event includes:
if the virtual touch event is triggered by a target application program in the electronic equipment, closing the target application program to eliminate the virtual touch event;
or if the virtual touch event is triggered by a target process in the electronic equipment, closing the target process to eliminate the virtual touch event.
In a second aspect, there is provided an operating system, having an application installed, the application when triggered performing the steps of:
responding to a fault detection request of a screen, and acquiring input event data of the screen;
analyzing the input event data, and judging whether a touch event of the screen exists or not;
and if the touch event of the screen does not exist, determining that the screen has a fault.
In a third aspect, a screen fault detection system is provided, including an electronic device and a detection device, where the electronic device and the detection device are connected in communication; the electronic device includes a screen; the detection device detects the screen by performing the steps of:
acquiring input event data of the screen from the electronic device in response to a fault detection request for the screen;
analyzing the input event data, and judging whether a touch event of the screen exists or not;
and if the touch event of the screen does not exist, determining that the screen has a fault.
In a fourth aspect, there is provided an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the screen fault detection method of any of the preceding claims when the computer program is executed.
In a fifth aspect, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the screen fault detection method of any of the above.
On the basis of conforming to the common knowledge in the field, the above preferred conditions can be arbitrarily combined to obtain the preferred examples of the invention.
The invention has the positive progress effects that: according to the invention, the input event data of the screen is acquired, and is analyzed and judged, so that the fault detection of the screen is realized when the abnormal click phenomenon occurs on the screen, the fault cause of the abnormal call of the software system of the electronic equipment is eliminated, and the fault detection accuracy is high.
Drawings
Fig. 1 is a flowchart of a method for detecting a screen failure of an electronic device according to an exemplary embodiment of the present invention;
FIG. 2 is a partial flow chart of another method for detecting a screen failure of an electronic device according to an exemplary embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention.
Detailed Description
The invention is further illustrated by means of the following examples, which are not intended to limit the scope of the invention.
Fig. 1 is a flowchart of a method for detecting a screen fault of an electronic device according to an exemplary embodiment of the present invention, where the electronic device may, but is not limited to, a device including a screen, such as a mobile phone, a computer, a tablet computer, a vehicle-mounted terminal, and the screen may be a touch display screen or a non-touch screen. Referring to fig. 1, the screen fault detection method includes the steps of:
and step 101, responding to a fault detection request of the screen, and acquiring input event data of the screen.
The abnormal click phenomenon exists in the screen, for example, the user does not execute the click operation of the screen, but the phenomenon of disordered jump and interface switching exists in the screen; or, the screen cannot be clicked, etc. When the abnormal click phenomenon occurs, a user can generate a fault detection request of a screen by triggering a mechanical key on the electronic device or connecting the electronic device with an external device, and generating the fault detection request of the screen by means of the external device.
In one embodiment, input event data of a screen is acquired through an operating system of the electronic device, specifically, a touch event acquisition instruction (e.g., a getvent command) is sent to the operating system of the electronic device, and the input event data returned by the operating system for the touch event acquisition instruction is received. The input event data may be, for example, touch event data of a screen. Because the touch control of the screen is realized by an operating system, the input event data of the screen can be obtained comprehensively through the operating system.
In one embodiment, the input event data is obtained through a listening service registered with the operating system. The monitoring service is registered in the operating system in advance and monitors input event data in real time or periodically. For example, an application program installed on the electronic device is monitored, the application program with the virtual click enabled is marked, and input event data of the marked application program for a screen is obtained. When fault detection is carried out, input event data is obtained from the monitoring service. By deploying the monitoring service to acquire the input event data, the resource consumption of the operating system can be reduced.
In one embodiment, before input event data of a screen is acquired, an interface identifier of a current display interface of the screen is determined, and input event data corresponding to the screen identifier is acquired. It can be understood that the interface currently displayed on the screen is an interface capable of performing clicking operation, and the input event data of the currently displayed interface can well represent the fault condition of the screen, so that the input event data of the currently displayed interface is obtained as the data base of screen fault detection. When the screen is a touch screen, the clicking operation may be a touch operation, or a clicking operation performed by an external device such as a mouse or a keyboard.
In one embodiment, for an electronic device with multi-screen display, before input event data of a screen is acquired, a screen identifier of a screen to be detected is determined, and input event data corresponding to the screen identifier is acquired. It can be understood that the screen to be detected is a screen in which an abnormal click phenomenon exists, and thus input event data when the screen to be detected is acquired as a data basis for screen failure detection.
Step 102, analyzing the input event data, and judging whether a touch event of the screen exists.
In step 102, it may be determined whether a touch event of the screen exists by inputting parameters representing the event included in the event data, if the determination result is yes, it is indicated that the touch event of the screen exists, the touch event may be triggered by an abnormality of a software system of the electronic device, or may be triggered by a hardware failure of the screen, that is, it is determined that an abnormal click phenomenon of the screen may be caused by an abnormal call of the software system of the electronic device, or may be caused by a hardware failure of the screen, and further determination is required to determine a failure type of the screen. If the judgment result is no, it indicates that there is no touch event of the screen, that is, the possibility of abnormal clicking phenomenon of the screen caused by abnormal call of the software system of the electronic device is eliminated, and step 103 is executed.
And 103, determining that the screen has faults.
The screen failure determined in step 103 is likely to be caused by a screen hardware failure, and the result of screen detection may be used as a reference for whether to perform screen replacement.
According to the embodiment of the invention, the input event data of the screen is obtained, and is analyzed and judged, so that the fault detection of the screen is realized when the abnormal click phenomenon occurs on the screen, the fault cause of the abnormality of the software system of the electronic equipment is eliminated, and the fault detection accuracy is high.
In one embodiment, if the touch event of the screen exists as a result of the determination, in order to further eliminate the interference of the abnormal call of the software system, it is determined whether the touch event includes a virtual touch event.
The virtual touch event is triggered and invoked by a software system, which includes an operating system of the electronic device and/or an application program installed and/or a running process of the electronic device. For example, the virtual touch event may include, but is not limited to, a page auto-skip event for implementing application a, an application a launch application b event, a page skip of application a to application b page event.
If the touch event comprises a virtual touch event, eliminating the virtual touch event; if the data amount of the input event received in the third preset time period exceeds the second threshold after the virtual touch event is eliminated, that is, the abnormal click phenomenon of the screen does not disappear, determining that the screen has a fault, and further determining that the fault type of the screen is a hardware fault. The third preset duration and the second threshold can be set according to actual conditions.
The virtual touch event is eliminated to further eliminate the possibility of abnormal click phenomenon of the screen caused by abnormal call of the software system, if the abnormal click phenomenon of the screen disappears after the virtual touch event is eliminated, the screen is determined to have no fault, and the abnormal click phenomenon is caused by the virtual touch event, namely, caused by the abnormality of the software system. If the abnormal click phenomenon of the screen does not disappear after the virtual touch event is eliminated, determining that the screen has a fault.
In one embodiment, if the virtual touch event is triggered by a target application in the electronic device, the target application is closed to eliminate the virtual touch event.
In one embodiment, if the virtual touch event is triggered by a target process in the electronic device, the target process is closed to eliminate the virtual touch event.
In one embodiment, the method further includes determining whether an interface switching notification of the screen is received within a first preset duration, and if the interface switching notification of the screen is received within the first preset duration, determining that the failure type of the screen is a frozen screen failure, where the screen cannot be clicked due to the frozen screen failure. The interface switching notification may be initiated by a user or by an application installed on the electronic device.
In one embodiment, referring to fig. 2, after the step of predicting that the failure type of the screen is a frozen screen failure, the method further includes:
step 201, triggering a flow detection service to acquire state data of a process of the electronic device.
The flow detection service is deployed in the electronic equipment in advance, and state data of a process of the electronic equipment is acquired in real time or periodically.
Step 202, judging whether the process is blocked according to the state data of the process.
In step 202, if the process status data indicates that the process is blocked, that is, if the process is blocked as a result of the determination, step 203 is performed. If the process status data indicates that the process is running normally, i.e. the process is not blocked as a result of the determination, step 204 is performed.
Step 203, determining that the fault type of the screen is a frozen screen fault and the reason for the frozen screen fault is that the core service process of the operating system is blocked.
Step 204, detecting whether the incubator service is operating normally.
If the incubator service is not operating properly, step 205 is performed. If the incubator service is operating properly, step 206 is performed.
Step 205, determining that the fault type of the screen is a frozen screen fault and the reason of the frozen screen fault is detecting the service fault of the incubator.
Step 206, checking whether the process number of the application program currently running on the screen is changed.
If the process number changes, step 207 is performed. If the process number has not changed, then step 208 is performed.
Step 207, determining that the fault type of the screen is a freeze screen fault and the reason for the freeze screen fault is that the currently running application program of the screen has a fault.
Step 208, determining that the screen has no frozen screen fault.
According to the embodiment of the invention, the frozen screen fault of the screen can be identified, the reason for causing the frozen screen fault is determined, and references and suggestions are provided for fault elimination.
In one embodiment, the method further comprises: judging whether the data quantity of the input event received in the second preset time period exceeds a first threshold value or not; and if the data quantity of the input event received in the second preset time period exceeds the threshold value, predicting that the fault type of the screen is abnormal click fault. The first threshold and the second preset duration can be set according to actual requirements.
In the embodiment of the invention, the abnormal click fault of the screen can be identified, and references and suggestions are provided for fault elimination.
The embodiment of the invention also provides an operating system, which is provided with an application program, and the following steps are executed when the application program is triggered:
responding to a fault detection request of a screen, and acquiring input event data of the screen;
analyzing input event data, and judging whether a touch event of a screen exists or not;
and if the touch event of the screen does not exist, determining that the screen has a fault.
The specific implementation manner of each step may be referred to the description of any one of the above embodiments, which is not repeated herein.
In the embodiment of the invention, the fault detection of the screen is realized by triggering the application program installed in the electronic equipment, and the operation is simple and convenient.
The embodiment of the invention also provides a screen fault detection system, which comprises electronic equipment and detection equipment, wherein the electronic equipment is in communication connection with the detection equipment; the electronic device includes a screen; the detection device detects the screen by performing the steps of:
acquiring input event data of a screen from the electronic device in response to a fault detection request for the screen;
analyzing input event data, and judging whether a touch event of a screen exists or not;
and if the touch event of the screen does not exist, determining that the screen has a fault.
The specific implementation manner of each step may be referred to the description of any one of the above embodiments, which is not repeated herein.
According to the method and the device for detecting the screen faults of the electronic equipment, the screen of the electronic equipment is detected by means of the detection equipment, the electronic equipment can be connected with the detection equipment when the abnormal clicking phenomenon of the screen is determined, the screen detection of the electronic equipment is triggered by means of the detection equipment, and the screen can be effectively detected by means of an Adb (android debug bridge) tool in a scene that an operating system of the electronic equipment is an android system, so that the situation that the screen detection cannot be triggered due to the faults of the electronic equipment is avoided. The detection device may be, but is not limited to, a cell phone, a computer, a tablet computer, a vehicle terminal, etc.
The invention also provides an embodiment of the screen fault detection device corresponding to the embodiment of the screen fault detection method.
A screen failure detection method of an electronic device, the screen having an abnormal click phenomenon, the screen failure detection method comprising:
the acquisition module is used for responding to a fault detection request of a screen and acquiring input event data of the screen;
the judging module is used for analyzing the input event data and judging whether a touch event of the screen exists or not;
and the determining module is used for determining that the screen has faults if the touch event of the screen does not exist.
Optionally, the acquiring module is specifically configured to send a touch event acquiring instruction to an operating system of the electronic device, and receive input event data returned by the operating system for the touch event acquiring instruction; or acquiring the input event data through a monitoring service registered in the operating system.
Optionally, the acquiring module is specifically configured to:
determining a screen identifier of the screen;
input event data corresponding to the screen identification is acquired.
Optionally, the judging module is further configured to:
responding to the received input event data, judging whether an interface switching notification of the screen is received within a first preset time period;
if the interface switching notification of the screen is received within the first preset time, the fault type of the screen is judged to be a frozen screen fault.
Optionally, the judging module is specifically configured to:
triggering a flow detection service to acquire state data of a process of the electronic equipment;
if the state data of the process indicates that the process is blocked, determining that the fault type of the screen is a frozen screen fault and the reason of the frozen screen fault is that a core service process of an operating system is blocked;
if the state data of the process represents that the process runs normally, detecting whether the incubator service runs normally;
if the incubator service is not normally operated, determining that the fault type of the screen is a frozen screen fault;
if the incubator service normally operates, checking whether the process number of the application program currently operated by the screen is changed;
if the process number is not changed, determining that the fault type of the screen is a frozen screen fault and the reason of the frozen screen fault is that the currently running application program of the screen has a fault;
and if the process number is not changed, determining that the screen has no frozen screen fault.
Optionally, the judging module is further configured to:
in response to receiving the input event data, judging whether the amount of the input event data received in the second preset time period exceeds a first threshold value;
and if the data quantity of the input event received in the second preset time period exceeds a threshold value, predicting that the fault type of the screen is abnormal click fault.
Optionally, the judging module is further configured to:
if the touch event of the screen exists, judging whether the touch event comprises a virtual touch event or not;
if the touch event comprises the virtual touch event, eliminating the virtual touch event;
and if the data quantity of the input event received in the third preset time period exceeds a second threshold value after the virtual touch event is eliminated, determining that the screen has faults.
Optionally, when the virtual touch event is eliminated, the judging module is configured to:
if the virtual touch event is triggered by a target application program in the electronic equipment, closing the target application program to eliminate the virtual touch event;
or if the virtual touch event is triggered by a target process in the electronic equipment, closing the target process to eliminate the virtual touch event.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present invention. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
Fig. 3 is a schematic diagram of an electronic device, showing an exemplary embodiment of the invention, showing a block diagram of an exemplary electronic device 30 suitable for use in implementing embodiments of the invention. The electronic device 30 shown in fig. 3 is only an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 3, the electronic device 30 may be embodied in the form of a general purpose computing device, which may be a server device, for example. Components of electronic device 30 may include, but are not limited to: the at least one processor 31, the at least one memory 32, a bus 33 connecting the different system components, including the memory 32 and the processor 31.
The bus 33 includes a data bus, an address bus, and a control bus.
Memory 32 may include volatile memory such as Random Access Memory (RAM) 321 and/or cache memory 322, and may further include Read Only Memory (ROM) 323.
Memory 32 may also include a program tool 325 (or utility) having a set (at least one) of program modules 324, such program modules 324 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The processor 31 executes various functional applications and data processing, such as the methods provided in any of the embodiments described above, by running a computer program stored in the memory 32.
The electronic device 30 may also communicate with one or more external devices 34 (e.g., keyboard, pointing device, etc.). Such communication may be through an input/output (I/O) interface 35. Also, model-generated electronic device 30 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet via network adapter 36. As shown, network adapter 36 communicates with other modules of model-generated electronic device 30 via bus 33. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in connection with model-generating electronic device 30, including, but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, data backup storage systems, and the like.
It should be noted that although several units/modules or sub-units/modules of an electronic device are mentioned in the above detailed description, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more units/modules described above may be embodied in one unit/module in accordance with embodiments of the present invention. Conversely, the features and functions of one unit/module described above may be further divided into ones that are embodied by a plurality of units/modules.
The embodiment of the present invention also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method provided by any of the above embodiments.
More specifically, among others, readable storage media may be employed including, but not limited to: portable disk, hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation manner, the embodiment of the invention may also be implemented in the form of a program product, which comprises a program code for causing a terminal device to carry out the method of implementing any of the embodiments described above, when the program product is run on the terminal device.
Wherein the program code for carrying out the invention may be written in any combination of one or more programming languages, which program code may execute entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on the remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the principles and spirit of the invention, but such changes and modifications fall within the scope of the invention.

Claims (12)

1. The screen fault detection method of the electronic equipment is characterized by comprising the following steps of:
responding to a fault detection request of a screen, and acquiring input event data of the screen;
analyzing the input event data, and judging whether a touch event of the screen exists or not;
and if the touch event of the screen does not exist, determining that the screen has a fault.
2. The screen fault detection method according to claim 1, the acquiring input event data of the screen, comprising:
sending a touch event acquisition instruction to an operating system of the electronic equipment, and receiving input event data returned by the operating system aiming at the touch event acquisition instruction;
or acquiring the input event data through a monitoring service registered in the operating system.
3. The screen fault detection method according to claim 1, the acquiring input event data of the screen, comprising:
determining a screen identifier of the screen;
input event data corresponding to the screen identification is acquired.
4. The screen fault detection method of claim 1, further comprising:
responding to the received input event data, judging whether an interface switching notification of the screen is received within a first preset time period;
if the interface switching notification of the screen is received within the first preset time, the fault type of the screen is judged to be a frozen screen fault.
5. The screen fault detection method according to claim 4, further comprising, after the step of predicting that the fault type of the screen is a frozen screen fault:
triggering a flow detection service to acquire state data of a process of the electronic equipment;
if the state data of the process indicates that the process is blocked, determining that the fault type of the screen is a frozen screen fault and the reason of the frozen screen fault is that a core service process of an operating system is blocked;
if the state data of the process represents that the process runs normally, detecting whether the incubator service runs normally;
if the incubator service is not normally operated, determining that the fault type of the screen is a frozen screen fault;
if the incubator service normally operates, checking whether the process number of the application program currently operated by the screen is changed;
if the process number is not changed, determining that the fault type of the screen is a frozen screen fault and the reason of the frozen screen fault is that the currently running application program of the screen has a fault;
and if the process number is not changed, determining that the screen has no frozen screen fault.
6. The screen fault detection method of claim 1, further comprising:
in response to receiving the input event data, judging whether the amount of the input event data received in the second preset time period exceeds a first threshold value;
and if the data quantity of the input event received in the second preset time period exceeds a threshold value, predicting that the fault type of the screen is abnormal click fault.
7. The screen fault detection method according to any one of claims 1 to 6, further comprising:
if the touch event of the screen exists, judging whether the touch event comprises a virtual touch event or not;
if the touch event comprises the virtual touch event, eliminating the virtual touch event;
and if the data quantity of the input event received in the third preset time period exceeds a second threshold value after the virtual touch event is eliminated, determining that the screen has faults.
8. The screen fault detection method of claim 7, eliminating the virtual touch event, comprising:
if the virtual touch event is triggered by a target application program in the electronic equipment, closing the target application program to eliminate the virtual touch event;
or if the virtual touch event is triggered by a target process in the electronic equipment, closing the target process to eliminate the virtual touch event.
9. An operating system having an application installed, the application when triggered performing the steps of:
responding to a fault detection request of a screen, and acquiring input event data of the screen;
analyzing the input event data, and judging whether a touch event of the screen exists or not;
and if the touch event of the screen does not exist, determining that the screen has a fault.
10. A screen fault detection system comprises an electronic device and a detection device, wherein the electronic device is in communication connection with the detection device; the electronic device includes a screen; the detection device detects the screen by performing the steps of:
acquiring input event data of the screen from the electronic device in response to a fault detection request for the screen;
analyzing the input event data, and judging whether a touch event of the screen exists or not;
and if the touch event of the screen does not exist, determining that the screen has a fault.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the screen fault detection method of any of claims 1-8 when the computer program is executed.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the screen fault detection method of any one of claims 1-8.
CN202210107358.9A 2022-01-28 2022-01-28 Screen fault detection method and system of electronic equipment and operating system Pending CN116560917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210107358.9A CN116560917A (en) 2022-01-28 2022-01-28 Screen fault detection method and system of electronic equipment and operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210107358.9A CN116560917A (en) 2022-01-28 2022-01-28 Screen fault detection method and system of electronic equipment and operating system

Publications (1)

Publication Number Publication Date
CN116560917A true CN116560917A (en) 2023-08-08

Family

ID=87502322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210107358.9A Pending CN116560917A (en) 2022-01-28 2022-01-28 Screen fault detection method and system of electronic equipment and operating system

Country Status (1)

Country Link
CN (1) CN116560917A (en)

Similar Documents

Publication Publication Date Title
JP2020109974A (en) System, method, apparatus, and computer program product for providing mobile device support services
CN109559583B (en) Fault simulation method and device
US11157373B2 (en) Prioritized transfer of failure event log data
US10936386B2 (en) Method, device and computer program product for monitoring access request
US11438249B2 (en) Cluster management method, apparatus and system
CN108334415A (en) A kind of fault-tolerance processing method, device, terminal and storage medium
CN112445686A (en) Memory leak detection method, device and computer-readable storage medium
CN111581021B (en) Application program starting abnormality repairing method, device, equipment and storage medium
CN110502399B (en) Fault detection method and device
EP3591530A1 (en) Intelligent backup and recovery of cloud computing environment
CN111309570A (en) Pressure testing method, medium, device and computing equipment
CN110502345A (en) A kind of overload protection method, device, computer equipment and storage medium
CN111694684A (en) Abnormal construction method and device of storage equipment, electronic equipment and storage medium
CN109783261B (en) Crash processing method and device for terminal application, electronic equipment and storage medium
CN111381995A (en) Method and device for restoring user operation and computer
CN112463574A (en) Software testing method, device, system, equipment and storage medium
JP2007207213A (en) Diagnostic information collecting method applied to real-time diagnosis of wireless device
CN116560917A (en) Screen fault detection method and system of electronic equipment and operating system
CN111542048A (en) Method and device for restarting acquisition function of code detection equipment, server and storage medium
CN108664366B (en) Data transmission method and device and server
KR102619048B1 (en) Method for handling fault and system thereof
CN110289977A (en) The fault detection method and system of logistics warehouse system, equipment and storage medium
US11720431B1 (en) Identifying and reporting baseboard management controller performance degradation
CN113381895B (en) Network fault detection method and device
CN110602162B (en) Terminal evidence obtaining method, device, equipment and storage medium

Legal Events

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