CN106708685A - Fault detection method and electronic equipment - Google Patents
Fault detection method and electronic equipment Download PDFInfo
- Publication number
- CN106708685A CN106708685A CN201710104470.6A CN201710104470A CN106708685A CN 106708685 A CN106708685 A CN 106708685A CN 201710104470 A CN201710104470 A CN 201710104470A CN 106708685 A CN106708685 A CN 106708685A
- Authority
- CN
- China
- Prior art keywords
- level
- signal
- processor
- output
- response
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection 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/2221—Detection 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2284—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention relates to the electronic equipment technology field and discloses a fault detection method and electronic equipment. The method comprises: conducting exclusive OR logical operation between the trigger signal and the response signal of first level and generating operation result when the response pin of processor outputs the response signal of first level; and judging whether the operation result is the signal of second level. The output representation inputs the indicating information that something is wrong with the output function of the device when the operation result is the signal of second level; the output representation inputs the indicating information that something is wrong with the response function of the processor when the operation result is the signal of first level. The embodiment provides the electronic equipment. Compared with the current technology, the embodiment needn't be measured by professionals with apparatus. You do not need to turn off the machine when testing. The fault detection method and electronic equipment has the advantages of being simple in operation, saving labor cost and equipment cost, and not damaging machine.
Description
Technical field
The present invention relates to technical field of electronic equipment, more particularly to fault detection method and electronic equipment.
Background technology
Electronic equipment such as (mobile phone, computer) in the process of running can low probability occur input equipment without response situation,
Such as touch operation is reactionless, button is reactionless.The reason for input equipment is caused without response mainly has two kinds, and one kind is that input sets
Standby no output signal, another input equipment has output signal but processor is not responded to here.Both reasons are all
Have relation with transmission signal, how to determine transmission signal failure go out on earth where be solve problem key.
In the prior art, apparatus measures transmission signal of the machine of tearing open using specialty is generally required, but this detection method is needed
Professional is wanted to operate, complex operation is needed to shut down and dismantle electronics in addition in detection process and set, it is necessary to increase cost of labor
It is standby, it is easily destroyed machine.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of fault detection method and electronic equipment, it is not necessary to which professional makes
Measured with special instrument, it is simple to operate, save and need not close in cost of labor and equipment cost, and detection process
The machine teardown of engine, will not damage machine.
In order to solve the above technical problems, The embodiment provides a kind of fault detection method, being applied to comprising defeated
Enter the electronic equipment of device and processor, when the output function of the input unit breaks down, export touching for the first level
Signal to the processor, when the response function of the processor break down or the input unit output function hair
During raw failure, the response pin of the processor exports the response signal of the first level;Methods described includes:In the processor
Response pin when exporting the response signal of first level, by the response signal of the trigger signal and first level
Same or logical operation is carried out, and generates operation result;Judge the operation result whether be second electrical level signal;When the fortune
When calculation result is the signal of the second electrical level, the instruction letter that the output function that output characterizes the input unit breaks down
Breath;When the signal that the operation result is first level, the response function that output characterizes the processor breaks down
Configured information.
Embodiments of the invention additionally provide a kind of electronic equipment, including:An at least input unit, output device, treatment
Device and same or logical operation circuit corresponding with the input unit;The first input end of the same or logic control circuit connects
The output connecting pin of the input unit is connect, the second input of the same or logical operation circuit connects the response of the processor
Pin;The processor connects the output connecting pin, the output end of the same or logic control circuit and the output dress respectively
Put;
When the output function of the input unit breaks down, the output connecting pin exports the trigger signal of the first level
To the processor, when the response function of the processor breaks down or the input unit output function occur therefore
During barrier, the response pin of the processor exports the response signal of the first level;The same or logic control circuit is used in institute
When the response pin for stating processor exports the response signal of first level, by the trigger signal and first level
Response signal carries out same or logical operation, and generates operation result;The processor be used for judge the operation result whether be
The signal of second electrical level;When the signal that the operation result is the second electrical level, the output device output is controlled to characterize
The configured information that the output function of the input unit breaks down;When the signal that the operation result is first level
When, control the output device output to characterize the configured information that the response function of the processor breaks down.
The embodiment of the present invention is in terms of existing technologies, electric with OR gate by logic when input equipment is not responded to
The feedback signal after the input signal and processor response of input equipment is accessed on road, judges to be input into by gate circuit comparative result
The specific guilty culprit that equipment is not responded to, it is simple to operate, it is not necessary to which that professional is measured using special instrument, save
Need not shut down the teardown of engine in cost of labor and equipment cost, and detection process, will not damage machine.
In addition, the configured information is specifically included:Indicator lamp information or text information.The present embodiment can be by indicating
The mode of lamp or text information exports the result of fault detect, very intuitively, and is easily achieved.
In addition, one of first level and described second electrical level are high level, another is low level.This reality
Example is applied there is provided the first level and various implementations of second electrical level so that the embodiment of the present invention is more flexible and changeable.
In addition, the output device includes at least one in indicator lamp and display.Can be by lamp by indicator lamp
Light on and off intuitively see the result of fault detect, the result of fault detect can be shown with text mode by display.
In addition, the input unit includes at least one in mouse, keyboard, button, touch pad.Present embodiments provide
Various implementations of input unit.
Brief description of the drawings
Fig. 1 is the flow chart of fault detection method according to a first embodiment of the present invention;
Fig. 2 is the block diagram of failure detector according to a second embodiment of the present invention;
Fig. 3 is the block diagram of failure detector according to a third embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to each reality of the invention
Example is applied to be explained in detail.However, it will be understood by those skilled in the art that in various embodiments of the present invention, in order to
Reader is set to more fully understand the application and propose many ins and outs.But, even if without these ins and outs and based on
Under each embodiment many variations and modification, it is also possible to realize the application technical scheme required for protection.
The first embodiment of the present invention is related to a kind of fault detection method.It is applied to the electricity comprising input unit and processor
Sub- equipment, when the output function of input unit breaks down, exports the trigger signal of the first level to processor, works as processor
Response function break down or when the output function of input unit breaks down, the electricity of response pin output first of processor
Flat response signal.The flow of the fault detection method of the present embodiment is as shown in figure 1, specific as follows:
In a step 101, when the response pin of processor exports the response signal of the first level, by trigger signal and the
The response signal of one level carries out same or logical operation, and generates operation result.Specifically, the first level in the present embodiment
Can also be able to be low level for high level.When trigger signal is identical with the level of response signal, transported through same or logical operation
Operation result after calculation is high level signal, when the level of trigger signal and response signal is differed, through same or logical operation
Operation result after computing is low level signal.In the present embodiment, it can be assumed that the first level is low level, i.e., in processor
When response pin exports low level response signal, trigger signal and low level response signal are carried out into same or logical operation,
And operation result is generated, and when operation result is low level, illustrate that trigger signal is differed with the level of response signal, that is, trigger
Signal is high level signal, when operation result is high level, illustrates that trigger signal is identical with the level of response signal, that is, trigger
Signal is also low level signal.
In a step 102, judge the operation result whether be second electrical level signal.Specifically, in the present embodiment
One of first level and second electrical level are high level, and another is low level.That is, when the first level is electricity high
Usually, second electrical level is low level;When the first level is low level, second electrical level is high level.Is assumed in the present embodiment
One level is low level, and second electrical level is high level, then when signal of the operation result for second electrical level (high level), illustrate to touch
Signal identical with the level of response signal, i.e., trigger signal is also low level signal, when operation result is not second electrical level (high
Level) signal when (operation result be low level signal), illustrate that trigger signal is differed with the level of response signal, i.e.,
Trigger signal is high level signal.In this step if the determination result is YES, illustrate that operation result is second electrical level (high level)
Signal, then into step 103, otherwise illustrate that operation result is the signal of the first level (low level), then into step 104.
In step 103, output characterizes the configured information that the output function of input unit breaks down.Specifically, originally
In embodiment, when signal of the operation result for second electrical level (high level), illustrate that trigger signal is low level (the first level)
Signal, illustrates that the output function of input unit breaks down, then output characterizes the finger that the output function of input unit breaks down
Show information.Configured information in the present embodiment can be indicator lamp information or text information.Such as, when operation result is the
During two level (high level), indicator lamp is bright, represents that the output function of input unit breaks down, or directly with word output
The information of " output function of input unit breaks down ".
At step 104, output characterizes the configured information that the response function of processor breaks down.Specifically, this reality
Apply in example, when signal of the operation result for the first level (low level), illustrate that trigger signal is believed for high level (second electrical level)
Number, illustrate that the output function of input unit is normal, so as to illustrate that the response function of processor breaks down, then export sign treatment
The configured information that the response function of device breaks down.Configured information in the present embodiment can also be indicator lamp information or word
Information.Such as, when operation result is the first level (high level), indicator lamp goes out, and represents that the response function of processor occurs
Failure, or directly with the information of word output " response function of processor breaks down ".
It should be noted that in the present embodiment, when signal of the operation result for second electrical level (high level), illustrating triggering
Signal is low level (the first level) signal, can now determine that the output function of input unit breaks down, and processor
Response function may the faulty event for being likely to no failure, the output function of input unit can first being processed in this case
Barrier, after failure to be released, if input equipment is not still responded to, is detected again, if operation result is the
During the signal of one level (low level), then illustrate that the response function of processor there is also failure, then can go to process processor again
Response function failure.
In addition, in the present embodiment, it is also possible to which it is high level to set the first level, and second electrical level is low level, and it is carried out
The principle of fault detect is identical, will not be repeated here.
The present embodiment in terms of existing technologies, when input equipment is not responded to, is incited somebody to action by logic with OR circuit
Feedback signal after the input signal and processor response of input equipment is accessed, and input equipment is judged by gate circuit comparative result
The specific guilty culprit not responded to, it is simple to operate, it is not necessary to which that professional is measured using special instrument, save artificial
Need not shut down the teardown of engine in cost and equipment cost, and detection process, will not damage machine.
The step of above method, divides, and is intended merely to describe clear, a step can be merged into when realizing or to certain
A little steps are split, and are decomposed into multiple steps, as long as comprising identical logical relation, all in the protection domain of this patent;
To adding inessential modification in algorithm or in flow or introducing inessential design, but its algorithm and stream are not changed
The core design of journey is all in the protection domain of the patent.
Second embodiment of the invention is related to a kind of electronic equipment, and the electronic equipment of the present embodiment can be hand, computer etc., such as
Shown in Fig. 2, the electronic equipment in the present embodiment includes:An at least input unit 1 (in Fig. 2 by taking 1 input unit as an example), output
Device 2, processor 3 and same or logical operation circuit 4 corresponding with input unit 1.
The first input end 41 of same or logic control circuit 4 connects the output connecting pin 11 of input unit 1, same or logical operation
Second input 42 of circuit 4 connects the response pin 31 of processor 3;Processor 3 connects output connecting pin 11, same or logic respectively
Control the output end 43 and output device 2 of circuit 4;
When the output function of input unit 1 breaks down, the trigger signal that output connecting pin 11 exports the first level is extremely located
Reason device 3, when the response function of processor 3 breaks down or when the output function of input unit 1 breaks down, processor 3
Response pin 31 export the first level response signal.
Same or logic control circuit 4 is used for when the response pin 31 of processor 3 exports the response signal of the first level, will
Trigger signal carries out same or logical operation with the response signal of the first level, and generates operation result;
Processor 3 be used for judge the operation result whether be second electrical level signal;When operation result is second electrical level
During signal, the output of controlled output device 2 characterizes the configured information that the output function of input unit 1 breaks down;Work as operation result
For the first level signal when, the output of controlled output device 2 characterizes the configured information that breaks down of response function of processor 3.
In the present embodiment, input unit 1 includes at least one in mouse, keyboard, button, touch pad, output device 2
At least one in indicator lamp and display can be included.
The present embodiment in terms of existing technologies, when input equipment is not responded to, is incited somebody to action by logic with OR circuit
Feedback signal after the input signal and processor response of input equipment is accessed, and input equipment is judged by gate circuit comparative result
The specific guilty culprit not responded to, it is simple to operate, it is not necessary to which that professional is measured using special instrument, save artificial
Need not shut down the teardown of engine in cost and equipment cost, and detection process, will not damage machine.
It is seen that, the present embodiment is device embodiment corresponding to those in the first embodiment, and the present embodiment can be real with first
Example is applied to work in coordination implementation.The relevant technical details mentioned in first embodiment are still effective in the present embodiment, in order to reduce
Repeat, repeat no more here.Correspondingly, the relevant technical details mentioned in the present embodiment are also applicable in first embodiment.
Third embodiment of the invention is related to a kind of electronic equipment, 3rd embodiment to change on the basis of second embodiment
Enter, the improvement is that, there can be multiple input units 1 in the present embodiment, each input unit 1 correspondence one is same or logic is transported
Circuit 4 is calculated, as shown in Figure 3 (in figure by taking 3 input units as an example).
Specifically, the first input end 41 of each same or logic control circuit 4 connects an input dress in the present embodiment
1 output connecting pin 11 is put, the second input 42 of each same or logical operation circuit 4 connects the response pin of processor 3 respectively
31st, response pin 32 and response pin 33, the output connecting pin 11 of each input unit 1 and each same or logical operation circuit 4
Output end 43 is connected to processor 3, processor 3 according to each with or logical operation circuit 4 the signal that exports of output end 43,
Judge specific guilty culprit, and controlled output device 2 exports corresponding testing result.
Specific guilty culprit when the present embodiment can simultaneously detect that multiple input equipments are not responded to so that the present invention is real
Example is applied more to facilitate.
It will be appreciated by those skilled in the art that all or part of step in realizing above-described embodiment method can be by
Program is completed to instruct the hardware of correlation, and the program storage is in a storage medium, including some instructions are used to so that one
Individual equipment (can be single-chip microcomputer, chip etc.) or processor (processor) perform the application each embodiment methods described
All or part of step.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the various embodiments described above are to realize specific embodiment of the invention, and
In actual applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.
Claims (7)
1. a kind of fault detection method, it is characterised in that the electronic equipment comprising input unit and processor is applied to, when described
When the output function of input unit breaks down, the trigger signal of the first level is exported to the processor, when the processor
Response function break down or when the output function of the input unit breaks down, the response pin of the processor is defeated
Go out the response signal of the first level;Methods described includes:
When the response pin of the processor exports the response signal of first level, by the trigger signal and described the
The response signal of one level carries out same or logical operation, and generates operation result;
Judge the operation result whether be second electrical level signal;
When the signal that the operation result is the second electrical level, there is event in the output function that output characterizes the input unit
The configured information of barrier;
When the signal that the operation result is first level, the response function that output characterizes the processor breaks down
Configured information.
2. method according to claim 1, it is characterised in that the configured information is specifically included:
Indicator lamp information or text information.
3. method according to claim 1, it is characterised in that one of first level and described second electrical level
It is high level, another is low level.
4. a kind of electronic equipment, it is characterised in that including:An at least input unit, output device, processor and defeated with described
Enter the corresponding same or logical operation circuit of device;
The first input end of the same or logic control circuit connects the output connecting pin of the input unit, the same or logic fortune
The second input for calculating circuit connects the response pin of the processor;
The processor connects the output connecting pin, the output end of the same or logic control circuit and the output dress respectively
Put;
When the output function of the input unit breaks down, the output connecting pin exports the trigger signal of the first level to institute
Processor is stated, when the response function of the processor breaks down or the output function of the input unit breaks down
When, the response pin of the processor exports the response signal of the first level;
The same or logic control circuit is used to be exported in the response pin of the processor response signal of first level
When, the trigger signal and the response signal of first level are carried out into same or logical operation, and generate operation result;
The processor be used for judge the operation result whether be second electrical level signal;When the operation result is described the
During the signal of two level, the instruction letter that the output function for controlling the output device output to characterize the input unit breaks down
Breath;When the signal that the operation result is first level, the output device output is controlled to characterize the processor
The configured information that response function breaks down.
5. electronic equipment according to claim 4, it is characterised in that the output device is included in indicator lamp and display
At least one.
6. electronic equipment according to claim 4, it is characterised in that the input unit include mouse, keyboard, button,
At least one in touch pad.
7. electronic equipment according to claim 4, it is characterised in that the electronic equipment is mobile phone or computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710104470.6A CN106708685A (en) | 2017-02-24 | 2017-02-24 | Fault detection method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710104470.6A CN106708685A (en) | 2017-02-24 | 2017-02-24 | Fault detection method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106708685A true CN106708685A (en) | 2017-05-24 |
Family
ID=58917554
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710104470.6A Pending CN106708685A (en) | 2017-02-24 | 2017-02-24 | Fault detection method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106708685A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109407999A (en) * | 2018-11-16 | 2019-03-01 | 郑州云海信息技术有限公司 | A kind of signal antidote, system and device |
CN112731249A (en) * | 2020-12-30 | 2021-04-30 | 海信(山东)冰箱有限公司 | Electronic equipment and detection method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140358346A1 (en) * | 2013-06-04 | 2014-12-04 | Trw Automotive U.S. Llc | Optimized Power Supply Architecture |
CN104280189A (en) * | 2014-08-19 | 2015-01-14 | 深圳市理邦精密仪器股份有限公司 | Pressure sensor fault hardware detection method and device |
CN104641307A (en) * | 2012-09-11 | 2015-05-20 | 三菱电机株式会社 | Safety arithmetic device, safety input device, safety output device, and safety controller |
CN106199393A (en) * | 2016-07-04 | 2016-12-07 | 四川九洲电器集团有限责任公司 | A kind of fault test set and fault detection method |
CN106300229A (en) * | 2015-05-19 | 2017-01-04 | 观致汽车有限公司 | A kind of for protecting equipment and the method for high-tension battery electricity system |
-
2017
- 2017-02-24 CN CN201710104470.6A patent/CN106708685A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104641307A (en) * | 2012-09-11 | 2015-05-20 | 三菱电机株式会社 | Safety arithmetic device, safety input device, safety output device, and safety controller |
US20140358346A1 (en) * | 2013-06-04 | 2014-12-04 | Trw Automotive U.S. Llc | Optimized Power Supply Architecture |
CN104280189A (en) * | 2014-08-19 | 2015-01-14 | 深圳市理邦精密仪器股份有限公司 | Pressure sensor fault hardware detection method and device |
CN106300229A (en) * | 2015-05-19 | 2017-01-04 | 观致汽车有限公司 | A kind of for protecting equipment and the method for high-tension battery electricity system |
CN106199393A (en) * | 2016-07-04 | 2016-12-07 | 四川九洲电器集团有限责任公司 | A kind of fault test set and fault detection method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109407999A (en) * | 2018-11-16 | 2019-03-01 | 郑州云海信息技术有限公司 | A kind of signal antidote, system and device |
CN112731249A (en) * | 2020-12-30 | 2021-04-30 | 海信(山东)冰箱有限公司 | Electronic equipment and detection method |
CN112731249B (en) * | 2020-12-30 | 2022-11-01 | 海信冰箱有限公司 | Electronic device and detection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105022957B (en) | Method for detecting malicious program on demand and electronic device thereof | |
CN109948937B (en) | Method, system, equipment and medium for detecting potential safety hazard of artificial intelligence self-learning | |
CN113835643B (en) | Data storage method and device, electronic equipment and readable storage medium | |
CN117407926B (en) | Storage terminal and method and device for processing destroyed data thereof | |
CN106708685A (en) | Fault detection method and electronic equipment | |
CN105677546A (en) | Method for displaying BIOS debugging information and computer equipment applying method | |
CN109086186A (en) | log detection method and device | |
JP6494887B1 (en) | Inspection apparatus, inspection method and inspection program | |
KR20150100586A (en) | Appratus for detectiing similarity of software and method thereof | |
CN110908873A (en) | Key operation data monitoring method based on domestic equipment | |
CN109284483A (en) | Text handling method, device, storage medium and electronic equipment | |
CN112462980B (en) | Password interception preventing method and device and POS machine | |
MX2024008034A (en) | System, method, and computer program product for location aware device fault detection. | |
CN105335657B (en) | A kind of program bug detection method and device | |
CN103593206A (en) | Electronic device and starting method thereof | |
KR20180116792A (en) | Method for marking area of short current analysis | |
CN107590382A (en) | A kind of malware detection analysis method and device based on virtual machine Dynamic Execution | |
CN106776169A (en) | A kind of method and device of the PSU of testing service device | |
JP6837769B2 (en) | Failure content identification device, failure content identification method, and failure content identification program | |
CN106056096A (en) | Control method and system for fingerprint identification module | |
CN104050427B (en) | Electronic device for preventing false touch and operation method thereof | |
CN113505079A (en) | Application program testing method, device, equipment and medium | |
CN105224451A (en) | A kind of disposal route of script file and system | |
CN118300280B (en) | Magnetic levitation type safety electric device and state detection method | |
CN110443180B (en) | System, method, device, medium and equipment for processing brightness of fingerprint image under screen |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170524 |