CN114624569A - Sensor circuit abnormality detection method, circuit, device, intelligent device, and medium - Google Patents

Sensor circuit abnormality detection method, circuit, device, intelligent device, and medium Download PDF

Info

Publication number
CN114624569A
CN114624569A CN202210210027.8A CN202210210027A CN114624569A CN 114624569 A CN114624569 A CN 114624569A CN 202210210027 A CN202210210027 A CN 202210210027A CN 114624569 A CN114624569 A CN 114624569A
Authority
CN
China
Prior art keywords
sensor circuit
sensor
abnormal
screen state
circuit
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
CN202210210027.8A
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN202210210027.8A priority Critical patent/CN114624569A/en
Publication of CN114624569A publication Critical patent/CN114624569A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/282Testing of electronic circuits specially adapted for particular applications not provided for elsewhere
    • G01R31/2829Testing of circuits in sensor or actuator systems
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D18/00Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Sources (AREA)

Abstract

The embodiment of the application discloses a method, a circuit, a device, intelligent equipment and a medium for detecting the abnormity of a sensor circuit, and the embodiment of the application can detect the screen state of the equipment; determining a target detection scheme for a sensor circuit of the device according to the screen state; detecting whether the sensor circuit is abnormal according to the target detection scheme; and if the sensor circuit is abnormal, outputting prompt information of the abnormality of the sensor circuit. The problem of the lower security of smart machine sensor circuit is solved, the security of equipment sensor circuit has been improved.

Description

Sensor circuit abnormality detection method, circuit, device, intelligent device, and medium
Technical Field
The application relates to the technical field of equipment safety, in particular to a sensor circuit abnormity detection method, a sensor circuit abnormity detection circuit, a sensor circuit abnormity detection device, intelligent equipment and a medium.
Background
Existing intelligent equipment such as a mobile phone is provided with various sensor modules, for example, a sensor circuit abnormity detection module, a distance sensor module, a light sensor module, an NFC module and the like, if the circuit in the sensor module is abnormally damaged, which causes short circuit and other problems, damage can be caused to the internal circuit of the equipment, or even serious safety accidents are caused, but the circuit abnormity detection of the current sensor module such as a fingerprint monitoring module can be realized only in a screen-on stage, and the equipment is not detected in a screen-off stage, and a user can not be timely notified after the abnormity is detected, the equipment can be possibly heated or even burnt, or serious accidents can be caused to the user, so that the safety of the sensor circuit of the intelligent equipment is low.
Disclosure of Invention
The embodiment of the application provides a sensor circuit abnormity detection method, a sensor circuit abnormity detection circuit, a sensor circuit abnormity detection device, intelligent equipment and a medium, and can improve the safety of an equipment sensor.
In order to solve the above technical problem, an embodiment of the present application provides the following technical solutions:
the embodiment of the application provides a sensor circuit abnormity detection method, which comprises the following steps:
detecting the screen state of the equipment;
determining a target detection scheme for a sensor circuit of the device according to the screen state;
detecting whether the sensor circuit is abnormal according to the target detection scheme;
and if the sensor circuit is abnormal, outputting prompt information of the abnormality of the sensor circuit.
In one embodiment, the screen states include on-screen and off-screen, and determining a target detection scheme for a sensor circuit of the device based on the screen states includes:
if the screen state is bright, the target detection scheme is to detect the sensor circuit in real time;
and if the screen state is screen off, the target detection scheme is to detect the sensor circuit at preset time intervals.
In one embodiment, the detecting whether the sensor circuit is abnormal according to the target detection scheme includes:
according to the target detection scheme, acquiring the temperature of a sensor module corresponding to the sensor circuit, and detecting the identification information of the sensor module;
and judging whether the sensor circuit is abnormal or not according to the temperature and the identification information.
In one embodiment, the determining whether the sensor circuit is abnormal according to the temperature and the identification information includes:
and if the temperature is higher than the preset temperature and the identification information is not detected, judging that the sensor circuit is abnormal.
In one embodiment, the outputting of the information indicating the abnormality of the sensor circuit when the sensor circuit is abnormal includes:
and if the sensor circuit is abnormal, outputting prompt information of the abnormal sensor circuit according to the screen state.
In one embodiment, the outputting of the prompt message of the sensor circuit abnormality according to the screen state includes:
if the screen state is bright, performing power-off processing on the sensor and outputting a popup prompt of sensor circuit abnormity;
and if the screen state is screen off, performing power-off processing on the sensor, outputting a popup prompt of sensor circuit abnormity, and controlling the equipment to vibrate.
According to an aspect of the application, still provide a sensor circuit anomaly detection circuit, the circuit includes sensor and central processing unit, the sensor with the central processing unit electricity is connected, be provided with thermistor in the sensor, thermistor with the central processing unit electricity is connected, the sensor with be connected with low pressure linear stabilizer between the central processing unit.
The central processing unit is used for detecting the screen state of the equipment;
the central processing unit is used for determining a target detection scheme aiming at a sensor circuit of the equipment according to the screen state and detecting whether the sensor circuit is abnormal or not according to the target detection scheme;
and the central processing unit is used for outputting prompt information of the abnormality of the sensor circuit if the sensor circuit is abnormal.
In one embodiment, the thermistor is used for detecting the temperature of the sensor module and outputting an interrupt signal to the central processing unit when the temperature is higher than a preset temperature;
and the low-voltage linear stabilizer is used for performing power-off processing on the sensor circuit through the low-voltage linear stabilizer if the central processing unit receives the interrupt signal and does not detect the identification information of the sensor module.
According to an aspect of the present application, there is also provided a sensor circuit abnormality detection apparatus including:
the first detection module is used for detecting the screen state of the equipment;
a determination module to determine a target detection scheme for a sensor circuit of the device according to the screen state;
the second detection module is used for detecting whether the sensor circuit is abnormal or not according to the target detection scheme;
and the output module is used for outputting prompt information of the abnormality of the sensor circuit if the sensor circuit is abnormal.
According to an aspect of the present application, there is also provided a smart device, including a processor and a memory, where the memory stores a computer program, and the processor executes any one of the sensor circuit abnormality detection methods provided by the embodiments of the present application when calling the computer program in the memory.
According to an aspect of the present application, there is also provided a storage medium for storing a computer program, which is loaded by a processor to execute any one of the sensor circuit abnormality detection methods provided by the embodiments of the present application.
According to the embodiment of the application, after the screen state of the equipment can be detected, the target detection scheme aiming at the sensor circuit of the equipment is determined according to the screen state, whether the sensor circuit is abnormal or not is detected according to the target detection scheme, and if the sensor circuit is abnormal, the abnormal prompt information of the sensor circuit is output. Therefore, the sensor circuit can be detected in different screen states of the equipment, and a target detection scheme of the sensor circuit can be determined according to the screen states, so that the sensor circuit is detected in a proper scheme, and when the sensor circuit is abnormal, abnormal prompt information is output to prompt a user, so that the safety of the sensor circuit of the equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram illustrating a method for detecting an anomaly in a sensor circuit according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a sensor circuit abnormality detection circuit provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a sensor circuit abnormality detection apparatus provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an intelligent device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a sensor circuit abnormality detection method, a sensor circuit abnormality detection circuit, a sensor circuit abnormality detection device, an intelligent device and a medium (namely a computer-readable storage medium). The sensor circuit abnormality detection method may be applied to a sensor circuit abnormality detection device, the sensor circuit abnormality detection device may be specifically integrated in an intelligent device, the intelligent device may be in communication connection with a server or a terminal, the server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), and a big data and artificial intelligence platform, but is not limited thereto.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
In this embodiment, a description will be given from the perspective of an intelligent device, please refer to fig. 1, where fig. 1 is a schematic flow chart of a method for detecting an abnormality of a sensor circuit according to an embodiment of the present application. The sensor circuit abnormality detection method may include:
s101, detecting the screen state of equipment;
in this embodiment, the device may be an intelligent device such as a mobile phone, an ipad, a wearable device, and the like, in this embodiment, taking the mobile phone as an example, the screen state may include a bright screen and a dead screen, and a central processing unit CPU of the intelligent device is electrically connected to the display module, and may detect the screen state of the mobile phone.
For example, the user starts the smart device, and the central processing unit detects whether the display module is turned on after the smart device is started, that is, detects whether the screen of the smart device is turned on or off.
S102, determining a target detection scheme aiming at a sensor circuit of equipment according to a screen state;
the device may be a mobile phone, and the sensor circuit may be a fingerprint module circuit, a distance sensor circuit, a light sensor circuit, an NFC module circuit, or the like. It can be understood that when the intelligent device is in a bright screen state, a user generally uses the intelligent device, and at this time, in order to avoid the user being injured due to the abnormal sensor circuit, a detection scheme required for detecting the abnormal sensor circuit is more timely; when the screen is turned off, the user generally does not use the intelligent device, the intelligent device is in a dormant stage, for example, the intelligent device is placed near the user when the user has a rest, and at the moment, a detection scheme required for detecting the abnormality of the sensor circuit can reduce power consumption and can remind the user. Therefore, in the present embodiment, the target detection scheme for the sensor circuit of the smart device can be determined according to the screen state of the smart device.
Alternatively, in one embodiment, the target detection scheme may include detecting the sensor circuit in real time and detecting the sensor circuit every preset time period. Correspondingly, in this embodiment, S102 may include: if the screen state is bright, the target detection scheme is to detect the sensor circuit in real time; and if the screen is in the screen-off state, the target detection scheme is to detect the sensor circuit at preset time intervals.
Wherein the preset time period may be 1 minute. For example, if the mobile phone is on, the sensor circuit of the mobile phone is detected in real time to determine whether the sensor circuit is abnormal, and if the mobile phone is off, the sensor circuit of the mobile phone is detected every 1 minute to determine whether the sensor circuit is abnormal. Therefore, the sensor circuits are detected in the screen on state and the screen off state of the intelligent equipment, and the sensor circuits are detected in different detection schemes in different screen states of the intelligent equipment.
S103, detecting whether the sensor circuit is abnormal or not according to a target detection scheme;
the sensor circuit abnormality may include a short circuit or a short circuit of the sensor circuit, and the target detection scheme may include detecting the sensor circuit in real time and detecting the sensor circuit every preset time. For example, if the intelligent device is in a bright screen state, whether the sensor circuit is abnormal is detected in real time; if the intelligent equipment is in the screen-off state, detecting whether the sensor circuit is abnormal or not at preset time intervals.
Optionally, in an embodiment, S103 may include: according to the target detection scheme, acquiring the temperature of a sensor module corresponding to the sensor circuit, and detecting the identification information of the sensor module; and judging whether the sensor circuit is abnormal or not according to the temperature and the identification information.
Wherein, the temperature of the sensor module that sensor circuit corresponds can be acquireed by the temperature sensing device who sets up in the sensor circuit of smart machine, and temperature sensing device transmits the signal transmission that the temperature corresponds to smart machine's central processing unit. The identification information of the sensor module corresponding to the sensor circuit may be ID information of the sensor module.
For example, if the intelligent device is in a bright screen state, acquiring the temperature of the sensor module corresponding to the sensor circuit in real time, and detecting the identification information of the sensor module corresponding to the sensor circuit; if the smart machine is in the state of turning off the screen, then the temperature of the sensor module that sensor circuit corresponds is gathered to the length of time that presets at every interval to detect the identification information of the sensor module that sensor circuit corresponds.
Optionally, in an embodiment, the determining whether the sensor circuit is abnormal according to the temperature and the identification information may include: and if the temperature is higher than the preset temperature and the identification information is not detected, judging that the sensor circuit is abnormal.
Wherein the preset temperature may be 45 degrees. For example, if the temperature of the sensor detected by the central processing unit of the smart device is greater than the preset temperature and the identification information of the sensor module corresponding to the sensor circuit is not detected, it is determined that the sensor circuit is abnormal.
Optionally, in an embodiment, if the temperature is greater than the preset temperature and the identification information is not detected, determining that the sensor circuit is abnormal may include: and if the temperature is higher than the preset temperature and the identification information is not detected within the preset time interval, judging that the sensor circuit is abnormal. Wherein the preset time interval may be 0.1 seconds.
And S104, if the sensor circuit is abnormal, outputting prompting information of the abnormality of the sensor circuit.
The prompt message can be a pop-up prompt or a vibration prompt, and the pop-up prompt can be in a text or picture or video form and can be accompanied by an audio prompt. For example, if it is determined that the sensor circuit is abnormal, a pop-up window prompt is displayed on the screen of the smart device, and the motor of the smart device is controlled to vibrate.
Optionally, in an embodiment, S104 may include: and if the sensor circuit is abnormal, outputting prompt information of the abnormality of the sensor circuit according to the screen state.
It can be understood that, when the smart device is on the screen, the user generally uses the smart device, that is, the user is watching the screen of the smart device, therefore, when the sensor circuit of the smart device is abnormal, the user needs to be reminded in time and the prompt is in the form of an image, which is more suitable for the use habit of the user. When the intelligent device is turned off, the user generally does not use the intelligent device, and the eyes of the user do not watch the screen of the intelligent device, so that when the sensor circuit of the intelligent device is abnormal, the user can be prompted remotely, for example, an audio prompt or a vibration prompt is adopted, and the use habit of the user is met.
Optionally, outputting a prompt message of the sensor circuit abnormality according to the screen state includes: if the screen state is bright, the sensor is powered off and a popup prompt of sensor circuit abnormity is output; if the screen is in the screen-off state, the sensor is powered off, a popup prompt of sensor circuit abnormity is output, and the control equipment sends out vibration.
In the technical scheme provided by the embodiment of the application, after the central processing unit of the intelligent device detects the screen state of the intelligent device, the target detection scheme for the sensor circuit of the device is determined according to the screen state, whether the sensor circuit is abnormal or not is detected according to the target detection scheme, and if the sensor circuit is abnormal, the prompt information of the abnormality of the sensor circuit is output. Therefore, the sensor circuit can be detected in different screen states of the equipment, and a target detection scheme of the sensor circuit can be determined according to the screen states, so that the sensor circuit is detected in a proper scheme, and when the sensor circuit is abnormal, abnormal prompt information is output to prompt a user, so that the safety of the sensor circuit of the equipment is improved.
According to the method described in the foregoing embodiment, correspondingly, a sensor circuit abnormality detection circuit is further provided in the embodiment of the present application, and referring to fig. 2, fig. 2 is a schematic diagram of the sensor circuit abnormality detection circuit provided in the embodiment of the present application. The sensor circuit abnormity detection circuit comprises a sensor module 201 and a central processing unit 202, wherein the sensor module 201 is electrically connected with the central processing unit 202, a thermistor 203 is arranged in the sensor module 201, the thermistor 203 is electrically connected with the central processing unit 202, and a low-voltage linear stabilizer 204 is connected between the sensor module 201 and the central processing unit 202.
The central processing unit 202 is used for detecting the screen state of the equipment;
the central processing unit 202 is configured to determine a target detection scheme for a sensor circuit of the device according to the screen state, and detect whether the sensor circuit is abnormal according to the target detection scheme;
the central processing unit 202 is used for outputting prompt information of the sensor circuit abnormality if the sensor circuit is abnormal;
optionally, if the temperature of the sensor module is greater than the preset temperature and the identification information is not detected, determining that the sensor circuit is abnormal may specifically include:
(1) the thermistor 203 is used for detecting the temperature of the sensor module and outputting an interrupt signal to the central processing unit 202 when the temperature is higher than a preset temperature;
optionally, in an embodiment, a comparator 205 may be disposed between the thermistor 203 and the cpu 202. Correspondingly, the thermistor 203 is used for detecting the temperature of the sensor module, and when the temperature is greater than the preset temperature, outputting the interrupt signal to the cpu 202 specifically may include: when the thermistor 203 acquires that the temperature of the sensor module 201 is higher than the preset temperature value, the voltage division of the thermistor 203 is lower than the voltage point set by the comparator 205, and the comparator 205 outputs an interrupt signal to the central processing unit 202
(2) The low voltage linear stabilizer 204 is configured to perform power-off processing on the sensor circuit through the low voltage linear stabilizer 204 if the central processing unit 202 receives the interrupt signal and does not detect the identification information of the sensor module 201.
For example, when the central processing unit 202 receives the interrupt signal sent by the comparator 205, that is, the thermistor 203 detects that the temperature of the sensor module 201 is greater than the preset temperature, the central processing unit 202 reads the identification information of the sensor module 201, and if the sensor module 201, that is, the sensor circuit, is damaged at this time, the central processing unit 202 cannot read the identification information of the sensor module 201. When the central processing unit 202 does not detect the identification information of the sensor module 201 within the preset time interval, it is determined that the sensor circuit corresponding to the sensor module 201 is abnormal, and at this time, the central processing unit 202 performs power-off processing on the sensor module 201 through the low-voltage linear stabilizer 204, so that the temperature of the sensor module 201 is prevented from continuously rising, and a user is prevented from being scalded.
In the sensor circuit abnormality detection circuit provided in this embodiment, the sensor circuit abnormality detection circuit includes a sensor module 201 and a central processing unit 202, the sensor module 201 is electrically connected to the central processing unit 202, a thermistor 203 is provided in the sensor module 201, the thermistor 203 is electrically connected to the central processing unit 202, and a low-voltage linear stabilizer 204 is connected between the sensor module 201 and the central processing unit 202. The central processing unit 202 is used for detecting the screen state of the equipment; determining a target detection scheme for a sensor circuit of the device according to the screen state, and detecting whether the sensor circuit is abnormal according to the target detection scheme; and if the sensor circuit is abnormal, outputting prompt information of the abnormal sensor circuit. Therefore, the central processing unit 202 of the intelligent device judges whether the sensor circuit is abnormal or not by setting the thermistor 203 in the sensor module 201 and generating an external interrupt signal by using a microampere comparator 205 circuit, so that the user is prevented from being scalded by low power consumption and effectively preventing the sensor from being damaged, and the safety of the sensor circuit of the intelligent device is improved.
In order to better implement the sensor circuit abnormality detection method provided by the embodiments of the present application, the embodiments of the present application further provide a sensor circuit abnormality detection device based on the foregoing. The terms are the same as those in the above-described sensor circuit abnormality detection method, and details of implementation may refer to the description in the method embodiment.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a sensor circuit abnormality detection apparatus according to an embodiment of the present disclosure, wherein the sensor circuit abnormality detection apparatus 300 may include a first detection module 301, a determination module 302, a second detection module 303, an output module 304, and the like.
The first detection module 301 is configured to detect a screen state of the device;
a determination module 302 for determining a target detection scheme for a sensor circuit of a device according to a screen state;
a second detection module 303, configured to detect whether the sensor circuit is abnormal according to a target detection scheme;
and an output module 304, configured to output a prompt message that the sensor circuit is abnormal if the sensor circuit is abnormal.
Alternatively, the sensor circuit abnormality detection device may further include:
the third detection module is used for detecting the sensor circuit in real time if the screen state is bright;
and the fourth detection module is used for detecting the sensor circuit for each preset time interval according to the target detection scheme if the screen is in the screen-off state.
The acquisition module is used for acquiring the temperature of the sensor module corresponding to the sensor circuit according to the target detection scheme and detecting the identification information of the sensor module;
and the judging module is used for judging whether the sensor circuit is abnormal or not according to the temperature and the identification information.
And the judging module is used for judging that the sensor circuit is abnormal if the temperature is higher than the preset temperature and the identification information is not detected.
And the first output module is used for outputting the abnormal prompt information of the sensor circuit according to the screen state if the sensor circuit is abnormal.
The second output module is used for carrying out power-off processing on the sensor and outputting a popup prompt of abnormal sensor circuits if the screen is in a bright screen state;
and the control module is used for carrying out power-off processing on the sensor and outputting a popup prompt of sensor circuit abnormity if the screen is in a screen-off state, and controlling the equipment to vibrate.
An embodiment of the present application further provides an intelligent device, where the intelligent device may be a terminal such as a mobile phone, and as shown in fig. 4, a schematic structural diagram of the intelligent device according to the embodiment of the present application is shown, specifically:
the smart device may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that the smart device architecture shown in FIG. 4 does not constitute a limitation of the smart device and may include more or fewer components than shown, or some components in combination, or a different arrangement of components. Wherein:
the processor 401 is a control center of the smart device, connects various parts of the entire smart device using various interfaces and lines, and performs various functions of the smart device and processes data by running or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the smart device. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the smart device, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 access to the memory 402.
The smart device further includes a power supply 403 for supplying power to the various components, and preferably, the power supply 403 may be logically connected to the processor 401 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The power supply 403 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The smart device may also include an input unit 404, and the input unit 404 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the smart device may further include a display unit and the like, which will not be described in detail herein. Specifically, in this embodiment, the processor 401 in the smart device loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application program stored in the memory 402, thereby implementing various functions as follows:
after the screen state of the equipment is detected, a target detection scheme aiming at a sensor circuit of the equipment is determined according to the screen state, whether the sensor circuit is abnormal or not is detected according to the target detection scheme, and if the sensor circuit is abnormal, prompt information of the abnormality of the sensor circuit is output.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the sensor circuit abnormality detection method, and are not described herein again.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the smart device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the smart device performs the method provided in the various alternative implementations of the above embodiments.
It will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by computer instructions or by computer instructions controlling associated hardware, and the computer instructions may be stored in a storage medium and loaded and executed by a processor, and the storage medium is a computer-readable storage medium. To this end, the present application provides a storage medium, in which a computer program is stored, where the computer program may include computer instructions, and the computer program can be loaded by a processor to execute any one of the sensor circuit abnormality detection methods provided in the present application.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Because the computer instructions stored in the storage medium can execute any sensor circuit abnormality detection method provided in the embodiments of the present application, beneficial effects that can be achieved by any sensor circuit abnormality detection method provided in the embodiments of the present application can be achieved, and detailed descriptions are omitted herein for the details in the foregoing embodiments.
The foregoing detailed description is directed to a method, a circuit, a device, an intelligent device, and a medium for detecting a sensor circuit abnormality provided in an embodiment of the present application, and a specific example is applied in the present application to explain the principle and an implementation of the present application, and the description of the foregoing embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. A sensor circuit abnormality detection method, characterized by comprising:
detecting the screen state of the equipment;
determining a target detection scheme for a sensor circuit of the device according to the screen state;
detecting whether the sensor circuit is abnormal according to the target detection scheme;
and if the sensor circuit is abnormal, outputting prompt information of the abnormality of the sensor circuit.
2. The sensor circuit abnormality detection method according to claim 1, characterized in that the screen state includes on-screen and off-screen, and the determining of the target detection scheme for the sensor circuit of the device according to the screen state includes:
if the screen state is bright, the target detection scheme is to detect the sensor circuit in real time;
and if the screen state is screen off, the target detection scheme is to detect the sensor circuit at preset time intervals.
3. The sensor circuit abnormality detection method according to claim 1, characterized in that said detecting whether the sensor circuit is abnormal in accordance with the target detection scheme includes:
according to the target detection scheme, acquiring the temperature of a sensor module corresponding to the sensor circuit, and detecting the identification information of the sensor module;
and judging whether the sensor circuit is abnormal or not according to the temperature and the identification information.
4. The sensor circuit abnormality detection method according to claim 3, wherein said judging whether the sensor circuit is abnormal or not based on the temperature and the identification information includes:
and if the temperature is higher than the preset temperature and the identification information is not detected, judging that the sensor circuit is abnormal.
5. The method for detecting a sensor circuit abnormality according to claim 1, wherein the outputting of the information indicating the abnormality of the sensor circuit if the sensor circuit is abnormal includes:
and if the sensor circuit is abnormal, outputting prompt information of the abnormal sensor circuit according to the screen state.
6. The sensor circuit abnormality detection method according to claim 5, wherein said outputting a prompt message of a sensor circuit abnormality in accordance with the screen state includes:
if the screen state is bright, performing power-off processing on the sensor and outputting a popup prompt of sensor circuit abnormity;
and if the screen state is screen off, performing power-off processing on the sensor, outputting a popup prompt of sensor circuit abnormity, and controlling the equipment to vibrate.
7. The circuit for detecting the abnormality of the sensor circuit comprises a sensor and a central processing unit, wherein the sensor is electrically connected with the central processing unit.
The central processing unit is used for detecting the screen state of the equipment;
the central processing unit is used for determining a target detection scheme aiming at a sensor circuit of the equipment according to the screen state and detecting whether the sensor circuit is abnormal or not according to the target detection scheme;
and the central processing unit is used for outputting prompt information of the abnormality of the sensor circuit if the sensor circuit is abnormal.
8. The sensor circuit abnormality detection circuit according to claim 7,
the thermistor is used for detecting the temperature of the sensor module and outputting an interrupt signal to the central processing unit when the temperature is higher than a preset temperature;
and the low-voltage linear stabilizer is used for performing power-off processing on the sensor circuit through the low-voltage linear stabilizer if the central processing unit receives the interrupt signal and does not detect the identification information of the sensor module.
9. A sensor circuit abnormality detection device characterized by comprising:
the first detection module is used for detecting the screen state of the equipment;
a determination module to determine a target detection scheme for a sensor circuit of the device according to the screen state;
the second detection module is used for detecting whether the sensor circuit is abnormal or not according to the target detection scheme;
and the output module is used for outputting prompt information of the abnormality of the sensor circuit if the sensor circuit is abnormal.
10. An intelligent device comprising a processor and a memory, the memory having stored therein a computer program, the processor executing the sensor circuit abnormality detection method according to any one of claims 1 to 6 when calling the computer program in the memory.
11. A storage medium for storing a computer program to be loaded by a processor to execute the sensor circuit abnormality detection method according to any one of claims 1 to 6.
CN202210210027.8A 2022-03-04 2022-03-04 Sensor circuit abnormality detection method, circuit, device, intelligent device, and medium Pending CN114624569A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210210027.8A CN114624569A (en) 2022-03-04 2022-03-04 Sensor circuit abnormality detection method, circuit, device, intelligent device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210210027.8A CN114624569A (en) 2022-03-04 2022-03-04 Sensor circuit abnormality detection method, circuit, device, intelligent device, and medium

Publications (1)

Publication Number Publication Date
CN114624569A true CN114624569A (en) 2022-06-14

Family

ID=81899754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210210027.8A Pending CN114624569A (en) 2022-03-04 2022-03-04 Sensor circuit abnormality detection method, circuit, device, intelligent device, and medium

Country Status (1)

Country Link
CN (1) CN114624569A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116909195A (en) * 2023-08-24 2023-10-20 四川航天电液控制有限公司 Low-power-consumption mining bus type data acquisition system
CN116909195B (en) * 2023-08-24 2024-06-04 四川航天电液控制有限公司 Low-power-consumption mining bus type data acquisition system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116909195A (en) * 2023-08-24 2023-10-20 四川航天电液控制有限公司 Low-power-consumption mining bus type data acquisition system
CN116909195B (en) * 2023-08-24 2024-06-04 四川航天电液控制有限公司 Low-power-consumption mining bus type data acquisition system

Similar Documents

Publication Publication Date Title
CN107340014B (en) Multi-sensor detection method and device and computer readable storage medium
US20170358931A1 (en) Charging method and electronic device
CN111816139B (en) Screen refresh rate switching method and electronic equipment
CN107341094B (en) Method and device for measuring time consumed by starting item
CN107343100B (en) Information prompting method and device, storage medium and electronic equipment
CN112463502B (en) Method, device and system for detecting pin state of programmable logic device
US9570922B2 (en) Charging method and electronic device
JP2014033441A (en) Electronic facility and monitoring method thereof
CN106791170B (en) Network processing method, device and terminal
CN112163174A (en) Message display method and device, storage medium and computer equipment
CN114624569A (en) Sensor circuit abnormality detection method, circuit, device, intelligent device, and medium
CN111176958A (en) Information monitoring method, system and storage medium
CN113256238B (en) Reminding method and device and electronic equipment
CN106546906B (en) Method and device for testing integrity of power supply
CN112214094B (en) Method and equipment for coping with power supply jitter of hard disk
CN114489892A (en) Data processing method, data processing device, computer readable storage medium and computer equipment
CN113835977A (en) State prompting method and device, computer equipment and computer readable storage medium
CN114007090B (en) Video live broadcast establishing method and device, storage medium and electronic equipment
CN110708422A (en) Intelligent emergency method, device, storage medium and terminal
CN117255332B (en) Bluetooth connection control method and device, storage medium and electronic equipment
JP3164729B2 (en) Power management mechanism for battery starter
CN112887842B (en) Video processing method, device, storage medium and mobile terminal
CN114115657B (en) Display mode switching method, device, equipment and medium of cloud mobile phone
CN106126610B (en) Information processing method and electronic equipment
CN117148216A (en) Leakage fault detection 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