CN106713902A - Camera module fault detection method and apparatus, and terminal - Google Patents

Camera module fault detection method and apparatus, and terminal Download PDF

Info

Publication number
CN106713902A
CN106713902A CN201611056101.6A CN201611056101A CN106713902A CN 106713902 A CN106713902 A CN 106713902A CN 201611056101 A CN201611056101 A CN 201611056101A CN 106713902 A CN106713902 A CN 106713902A
Authority
CN
China
Prior art keywords
test item
camera module
recorded
predeterminated position
module
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
CN201611056101.6A
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.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201611056101.6A priority Critical patent/CN106713902A/en
Publication of CN106713902A publication Critical patent/CN106713902A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras

Abstract

The invention relates to the field of electronic technology, and discloses a camera module fault detection method and apparatus, and a terminal. In the embodiment of the invention, the camera module fault detection method comprises the following steps: separately detecting test items associated with a preset to-be-detected camera module, and recording the test items with faults to a preset position; when the fault of the to-be-detected camera module is detected, calling the preset position; and if the recorded test items exist at the preset position, determining the fault type of the to-be-detected camera module as a hardware error. By adoption of the embodiment of the invention, a tester can quickly obtain the fault type, thereby simplifying the camera module fault detection process, improving the test efficiency and accuracy and reducing the technical requirements for the tester.

Description

A kind of fault detection method of camera module, device and terminal
Technical field
The present invention relates to electronic technology field, more particularly to a kind of fault detection method of camera module, device and terminal.
Background technology
With continuing to develop for electronic technology, various intelligent mobile terminals such as mobile phone are gradually incorporated in people's daily life. Mobile phone not only turns into daily communication apparatus, also as portable daily amusement equipment.For example, user can use smart mobile phone The affairs such as the functions such as memorandum record meeting, can also be taken pictures using the camera in smart mobile phone.And with intelligence The configuration more and more higher of camera in mobile phone, and the portability based on smart mobile phone, increasing user use smart mobile phone In camera taken pictures.
During the application is realized, inventors herein have recognized that, at least there is problems with prior art:Phase Machine is asked in actually debugging due to miscellaneous in problem and assembling, production, the transportation of hardware or module itself Topic causes the camera cannot normally to use.Current fault detection method is the camera developer of specialty by the operation day of camera Will detects that testing process is more complicated, inefficient, and high to the technical requirements of tester.
The content of the invention
The purpose of embodiment of the present invention is to provide a kind of fault detection method of camera module, device and terminal, is made Tester can quickly know fault type, simplify the flow of camera module fault detect, lifting testing efficiency and accurate Rate, reduces the technical requirements to tester.
In order to solve the above technical problems, embodiments of the present invention provide a kind of fault detection method of camera module, Including:The default test item associated with camera module to be checked is detected respectively, and will appear from the test item record of mistake To predeterminated position;When the failure of camera module to be checked is detected, predeterminated position is called;If there is the test being recorded in predeterminated position , it is determined that the fault type of camera module is hardware error.
Embodiments of the present invention additionally provide a kind of failure detector of camera module, including:Detection module, is used for The default test item associated with camera module to be checked is detected respectively;Module for reading and writing, the test for will appear from mistake Item is recorded to predeterminated position;Acquisition module, for when the failure of camera module to be checked is detected, calling predeterminated position;Treatment mould Block, for when predeterminated position has the test item being recorded, the fault type for determining camera module to be hardware error.
Embodiments of the present invention additionally provide a kind of terminal, including:At least one processor;And, with least one The memory of processor communication connection;Wherein, memory storage has and can be instructed by extremely by the instruction of at least one computing device A few computing device, so that at least one processor is able to carry out:Associated with camera module to be checked to default respectively Test item detected, and be will appear from the test item of mistake and recorded to predeterminated position;When the failure of camera module to be checked is detected, Call predeterminated position;If there is the test item being recorded in predeterminated position, it is determined that the fault type of camera module is hardware error.
Embodiments of the present invention additionally provide a kind of computer program product, including store readable in non-transient computer Computer program on storage medium, computer program includes programmed instruction, when programmed instruction is computer-executed, makes calculating Machine performs the fault detection method of the above-mentioned camera module of embodiment of the present invention.
Embodiments of the present invention additionally provide a kind of nonvolatile computer storage media, and the computer that is stored with can perform Instruction, computer executable instructions are used to perform the fault detection method of the above-mentioned camera module of embodiment of the present invention.
Embodiment of the present invention in terms of existing technologies, detects default test item, is recorded in ad-hoc location and occurred The test item of mistake, when the failure of camera module is detected, tester can transfer record content in ad-hoc location, simple straight See during record content is known on ground and whether there is error items, and determine that fault type is hardware error when there are error items so that Tester can quickly know fault type, simplify the flow of camera module fault detect, lift testing efficiency and accuracy rate, Reduce the technical requirements to tester.
In addition, the test item associated with camera module to be checked include it is following at least one:Electricity, rear-mounted power source on pre-power supply Upper electricity, bus communication, the identifier reading of sensor, the digital independent of preposition memory, the digital independent of rearmounted memory, connect Digital independent or the interface response of mouth.Test item is associated with camera module to be checked, is gone out one of test item is detected During existing mistake, you can determine fault type, testing efficiency is lifted.
In addition, also including:For test item sets corresponding mark;The test item that will appear from mistake is recorded to predeterminated position, Specifically include:Will appear from the corresponding mark write-in predeterminated position of test item of mistake;Predeterminated position is called, is specifically included:Obtain The mark of record, corresponding test item is determined according to the mark for being recorded.In test process, test item is converted into corresponding Mark, is easy to write and obtains, and lifts testing efficiency.
If in addition, there is the test item being recorded in predeterminated position, it is determined that the fault type of camera module is hardware error, Including it is following at least one:If there is the test item that is recorded in predeterminated position, and the test item being recorded be electricity on pre-power supply, At least one during the identifier of electricity, bus communication or sensor reads on rear-mounted power source, it is determined that the failure of camera module Type is sensor fault:If predeterminated position has the test item being recorded, and the test item being recorded is preposition memory At least one in the digital independent of digital independent or rearmounted memory, it is determined that the fault type of camera module is storage Device failure;Or, if there is the test item being recorded, and the test item being recorded for the digital independent of interface or connect in predeterminated position At least one in mouth response, it is determined that the fault type of camera module is hardware interface failure.By test item and particular hardware Fault type is corresponding, is can determine that existing failure specific hard according to corresponding relation when detecting test item and mistake occur Part, lifts testing efficiency.
In addition, predeterminated position includes the device node for pre-creating.Due in programming, increasing device node more just Profit, so being realized using the test item of device node misregistration easy.
Brief description of the drawings
Fig. 1 is the fault detection method flow chart of the camera module according to first embodiment of the invention;
Fig. 2 is the fault detection method flow chart of the camera module according to second embodiment of the invention;
Fig. 3 is the fault detection method flow chart of the camera module according to third embodiment of the invention;
Fig. 4 is the failure detector structural representation of the camera module according to four embodiment of the invention;
Fig. 5 is the failure detector structural representation of the camera module according to fifth embodiment of the invention;
Fig. 6 is the failure detector structural representation of the camera module according to sixth embodiment of the invention;
Fig. 7 is the failure detector structural representation of the camera module according to seventh embodiment of the invention;
Fig. 8 is the structural representation of the terminal according to eighth embodiment of the 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 The mode of applying is explained in detail.However, it will be understood by those skilled in the art that in each implementation method of the invention, In order that reader more fully understands the application and proposes many ins and outs.But, even if without these ins and outs and base Many variations and modification in following implementation method, it is also possible to realize the application technical scheme required for protection.
First embodiment of the invention is related to a kind of fault detection method of camera module.Fault detection method specifically flows Journey is as shown in figure 1, the method is specifically included:
Step 101, detects to the default test item associated with camera module to be checked respectively.
Specifically, the various test items associated with camera module to be checked are pre-set, default various surveys is detected respectively Examination item, more comprehensively detection is carried out to camera module.
Step 102, the test item that will appear from mistake is recorded to predeterminated position.
Specifically, when mistake occurs in any one or more in detecting various test items, then record occurs wrong Test item, that is, write predeterminated position by mistake.
Step 103, when the failure of camera module to be checked is detected, calls predeterminated position.
Specifically, when the failure of camera module to be checked is detected, possible record is called to occur the test item of mistake Predeterminated position, so as to know whether that mistake occurs in test item.
Step 104, when predeterminated position has the test item being recorded, determines that the fault type of camera module is wrong for hardware By mistake.
Specifically, there is the test item being recorded in predeterminated position, that is, show the test item associated with camera module to be checked In, there is test item mistake occur, the fault type that may thereby determine that camera module is hardware error.
Embodiment of the present invention in terms of existing technologies, detects default test item, is recorded in ad-hoc location and occurred The test item of mistake, when the failure of camera module is detected, tester can transfer record content in ad-hoc location, simple straight See during record content is known on ground and whether there is error items, and determine that fault type is hardware error when there are error items so that Tester can quickly know fault type, simplify the flow of camera module fault detect, lift testing efficiency and accuracy rate, Reduce the technical requirements to tester.
Second embodiment of the present invention is related to a kind of fault detection method of camera module.Second embodiment and first Implementation method is roughly the same, and main distinction part is:In second embodiment of the invention, in default test item, set up Test item corresponding mark, error items record is carried out using mark, is easy to write and is read, and improves testing efficiency.Failure Detection method idiographic flow is as shown in Fig. 2 the present embodiment is specifically included:
Step 201, is the default test item corresponding mark of setting associated with camera module to be checked.
Specifically, the various test items associated with camera module to be checked are pre-set.Wherein, closed with camera module to be checked The test item of connection include it is following at least one:Electricity, electricity, bus communication, the identifier of sensor on rear-mounted power source on pre-power supply Reading, the digital independent of preposition memory, the digital independent of rearmounted memory, the digital independent of interface or interface response.In advance For various test items for needing to detect set mark corresponding thereto.
Step 202, detects to default test item respectively.
Step 203, will appear from the corresponding mark write-in predeterminated position of test item of mistake.
Specifically, it is that will judge that the corresponding mark write-in of the test item for mistake occur is default in step 202 in this step Position.Such as, if judging that wrong (the first test item is any one in test item) occurs in the first test item in step 202, Then just by the corresponding mark write-in predeterminated position of the first test item in this step.Wherein, predeterminated position includes the equipment for pre-creating Node.
Step 204, when the failure of camera module to be checked is detected, obtains the mark of record, true according to the mark for being recorded Fixed corresponding test item.
Specifically, when the failure of camera module to be checked is detected, call and be written with including for the corresponding mark of error items The predeterminated position of device node, so as to obtain the mark of record, corresponding error items is determined according to the mark for obtaining.
Step 205, when predeterminated position has the test item being recorded, determines that the fault type of camera module is wrong for hardware By mistake.
It is noted that in practical application, after judging that predeterminated position has the test item being recorded, can also basis The test item output error report being recorded.Specifically, according to the test item of the appearance mistake being recorded, camera module is generated The error reporting of fault detect, exports the error reporting, and wrong data source is provided to research staff.
Embodiment of the present invention in terms of existing technologies, detects default test item, in the spy including device node Positioning puts the corresponding mark of test item that mistake occurs in record, and when the failure of camera module is detected, tester can be in spy Positioning puts the mark of transferring record, to know to simple, intuitive and whether there is error items in record content, and when there are error items Determine that fault type is hardware error so that tester can quickly know fault type, simplify camera module fault detect Flow, lift testing efficiency and accuracy rate, reduce to the technical requirements of tester.
Third embodiment of the present invention is related to a kind of fault detection method of camera module.3rd implementation method and first Implementation method is roughly the same, and main distinction part is:In third embodiment of the invention, further define test item with The corresponding relation of particular hardware fault type, is that can determine that now according to corresponding relation when test item appearance mistake is detected The particular hardware of failure.Fault detection method idiographic flow is as shown in figure 3, the present embodiment is specifically included:
Step 301, detects to the default test item associated with camera module to be checked respectively.
Specifically, the various test items associated with camera module to be checked are pre-set, default various surveys is detected respectively Examination item, more comprehensively detection is carried out to camera module.Wherein, the test item for being associated with camera module to be checked include it is following at least One:Electricity, bus communication, the identifier of sensor read on electricity, rear-mounted power source on pre-power supply, the data of preposition memory are read Take, the digital independent of the digital independent of rearmounted memory, interface or interface are responded.In advance for various test items for needing detection set Put mark corresponding thereto.
Step 302, the test item that will appear from mistake is recorded to predeterminated position.
Step 303, when the failure of camera module to be checked is detected, calls predeterminated position.
Step 304, when predeterminated position has the test item being recorded, it is determined that specific test item.
Specifically, there is the test item being recorded in predeterminated position, that is, show the test item associated with camera module to be checked In, there is test item mistake occur, the fault type that may thereby determine that camera module is hardware error.It is determined that there is the survey of mistake Examination item is specially on pre-power supply electricity on electricity, rear-mounted power source, bus communication, the identifier reading of sensor, preposition memory In the response of digital independent, the digital independent of rearmounted memory, the digital independent of interface or interface which or which.
Step 305, particular hardware fault type is determined according to corresponding relation.
Specifically, the corresponding relation of test item and particular hardware fault type is preset, is wrapped in particular hardware fault type Include sensor fault, storage failure and hardware interface failure.It is electric on electricity, rear-mounted power source on pre-power supply in test item, total Line communicates and the identifier reading of sensor is corresponding with sensor fault;The digital independent of preposition memory, rearmounted memory Digital independent it is corresponding with storage failure;The digital independent of interface, interface response are corresponding with hardware interface failure.Specifically It is as follows:
(1) if the test item being recorded for obtaining is electricity, bus communication and sensing on electricity, rear-mounted power source on pre-power supply At least one in the identifier reading of device, then can confirm that particular hardware fault type is sensor fault.
(2) if during the test item being recorded is the digital independent of preposition memory, the digital independent of rearmounted memory At least one, then can confirm that particular hardware fault type is storage failure.
(3) if the test item being recorded is at least one in digital independent, the interface response of interface, tool can be confirmed Body hardware fault type is hardware interface failure.
Embodiment of the present invention in terms of existing technologies, detects default test item, is recorded in ad-hoc location and occurred The test item of mistake, when the failure of camera module is detected, tester can transfer record content in ad-hoc location, simple straight See during record content is known on ground and whether there is error items, and when there are error items, particular hardware event is determined according to corresponding relation Barrier type so that tester can quickly know the hardware of failure, simplifies the flow of camera module fault detect, lifting Testing efficiency and accuracy rate, reduce the technical requirements to tester.
Above the step of various methods divide, be intended merely to description it is clear, can be merged into when realizing a step or Some steps are split, multiple steps are decomposed into, as long as comprising identical logical relation, all in the protection domain of this patent It is interior;To adding inessential modification in algorithm or in flow or introducing inessential design, but its algorithm is not changed With the core design of flow all in the protection domain of the patent.
Four embodiment of the invention is related to a kind of failure detector of camera module, and concrete structure is as shown in Figure 4.
Control device 4 includes:Detection module 41, module for reading and writing 42, acquisition module 43 and processing module 44.
Detection module 41, for being detected to the default test item associated with camera module to be checked respectively.
Module for reading and writing 42, the test item for will appear from mistake is recorded to predeterminated position.
Acquisition module 43, for when the failure of camera module to be checked is detected, calling predeterminated position.
Processing module 44, for when predeterminated position has the test item being recorded, determining the fault type of camera module It is hardware error.
Compared with prior art, the control device for being provided in present embodiment, detection module 41 detects default test item, There is the test item of mistake in ad-hoc location record in module for reading and writing 42, and when the failure of camera module is detected, tester can be with Record content is transferred in ad-hoc location using acquisition module 43, is known to simple, intuitive in record content with the presence or absence of error items, And determining that fault type is hardware error when there are error items by processing module 44 so that tester can quickly be known Fault type, simplifies the flow of camera module fault detect, lifts testing efficiency and accuracy rate, reduces the technology to tester It is required that.
It is seen that, present embodiment is the system embodiment corresponding with first embodiment, and present embodiment can be with First embodiment is worked in coordination implementation.The relevant technical details mentioned in first embodiment still have in the present embodiment Effect, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in In first embodiment.
It is noted that each module involved in present embodiment is logic module, in actual applications, one Individual logic unit can be a part for a physical location, or a physical location, can also be with multiple physics lists The combination of unit is realized.Additionally, in order to protrude innovative part of the invention, will not be with solution institute of the present invention in present embodiment The unit that the technical problem relation of proposition is less close is introduced, but this is not intended that in present embodiment do not exist other lists Unit.
Fifth embodiment of the invention is related to a kind of failure detector of camera module, and concrete structure is as shown in Figure 5.
Control device 4 includes:Presetting module 45, detection module 41, module for reading and writing 42, acquisition module 43 and processing module 44。
Presetting module 45, for being the default test item corresponding mark of setting associated with camera module to be checked.Wherein, The test item associated with camera module to be checked include it is following at least one:Electricity, bus are led on electricity, rear-mounted power source on pre-power supply Letter, the identifier reading of sensor, the data of the digital independent of preposition memory, the digital independent of rearmounted memory, interface are read Take or interface response.Presetting module 45 is in advance for various test items for needing to detect set mark corresponding thereto.
Detection module 41, for being detected to default test item respectively.
Module for reading and writing 42, the corresponding mark write-in predeterminated position of test item for will appear from mistake.Wherein, predeterminated position Including the device node for pre-creating.
Acquisition module 43, the mark for obtaining record, corresponding test item is determined according to the mark for being recorded.
Processing module 44, for when predeterminated position has the test item being recorded, determining the fault type of camera module It is hardware error.
Compared with prior art, the control device for being provided in present embodiment, it is corresponding that presetting module 45 presets test item Mark, detection module 41 detects default test item, and module for reading and writing 42 occurs wrong in the ad-hoc location record including device node The corresponding mark of test item, when the failure of camera module is detected, tester can be using acquisition module 43 specific by mistake The mark of record is transferred in position, knows to simple, intuitive in record content with the presence or absence of error items, and existed by processing module 44 Determine that fault type is hardware error when there are error items so that tester can quickly know fault type, simplify shooting The flow of module fault detect, lifts testing efficiency and accuracy rate, reduces the technical requirements to tester.
Because second embodiment is mutually corresponding with present embodiment, therefore present embodiment can be mutual with second embodiment It is engaged implementation.The relevant technical details mentioned in second embodiment are still effective in the present embodiment, implement second The technique effect to be reached in mode in the present embodiment similarly it is achieved that in order to reduce repetition, no longer go to live in the household of one's in-laws on getting married here State.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in second embodiment.
Sixth embodiment of the invention is related to a kind of failure detector of camera module, and concrete structure is as shown in Figure 6.
Control device 4 includes:Detection module 41, module for reading and writing 42, acquisition module 43 and processing module 44.Wherein, process Module 44 includes following at least one submodules:First treatment submodule 441, treatment of second processing submodule 442 and the 3rd Module 443 (includes above three submodule) simultaneously in present embodiment.
First treatment submodule 441, for there is the test item being recorded in predeterminated position, and the test item being recorded is When electricity on pre-power supply, at least one during the identifier of electricity, bus communication or sensor reads on rear-mounted power source, it is determined that The fault type of camera module is sensor fault.
Second processing submodule 442, for there is the test item being recorded in predeterminated position, and the test item being recorded is During at least one in the digital independent of the digital independent of preposition memory or rearmounted memory, the event of camera module is determined Barrier type is storage failure.
3rd treatment submodule 443, for there is the test item being recorded in predeterminated position, and the test item being recorded is Interface digital independent or interface response in it is at least one when, determine camera module fault type be hardware interface failure.
Detection module 41, for being detected to the default test item associated with camera module to be checked respectively.Wherein, with The test item of camera module to be checked association include it is following at least one:Electricity on pre-power supply, electricity on rear-mounted power source, bus communication, The identifier reading of sensor, the digital independent of preposition memory, the digital independent of rearmounted memory, the digital independent of interface or Interface is responded.
Module for reading and writing 42, the test item for will appear from mistake is recorded to predeterminated position.
Acquisition module 43, for when the failure of camera module to be checked is detected, calling predeterminated position.
Compared with prior art, the control device for being provided in present embodiment, detection module 41 detects default test item, There is the test item of mistake in ad-hoc location record in module for reading and writing 42, and when the failure of camera module is detected, tester can be with Record content is transferred in ad-hoc location using acquisition module 43, is known to simple, intuitive in record content with the presence or absence of error items, And by the first treatment submodule 441, the treatment of second processing submodule 442 or the 3rd submodule 443, when there are error items, Particular hardware fault type is determined according to corresponding relation so that tester can quickly know the hardware of failure, simplified The flow of camera module fault detect, lifts testing efficiency and accuracy rate, reduces the technical requirements to tester.
Because the 3rd implementation method is mutually corresponding with present embodiment, therefore present embodiment can be mutual with the 3rd implementation method It is engaged implementation.The relevant technical details mentioned in 3rd implementation method are still effective in the present embodiment, implement the 3rd The technique effect to be reached in mode in the present embodiment similarly it is achieved that in order to reduce repetition, no longer go to live in the household of one's in-laws on getting married here State.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in the 3rd implementation method.
Seventh embodiment of the invention is related to a kind of failure detector of camera module, and concrete structure is as shown in Figure 7.
Control device 4 includes:Detection module 41, module for reading and writing 42, acquisition module 43, processing module 44 and output module 46。
Detection module 41, for being detected to the default test item associated with camera module to be checked respectively.
Module for reading and writing 42, the test item for will appear from mistake is recorded to predeterminated position.
Acquisition module 43, for when the failure of camera module to be checked is detected, calling predeterminated position.
Processing module 44, for when predeterminated position has the test item being recorded, determining the fault type of camera module It is hardware error.
Output module 46, for when predeterminated position has the test item being recorded, according to the test item output being recorded Error reporting.
Compared with prior art, the control device for being provided in present embodiment, detection module 41 detects default test item, There is the test item of mistake in ad-hoc location record in module for reading and writing 42, and when the failure of camera module is detected, tester can be with Record content is transferred in ad-hoc location using acquisition module 43, is known to simple, intuitive in record content with the presence or absence of error items, And fault type is determined when there are error items for hardware error by processing module 44, while using output module 46 according to mistake Item output error report by mistake so that tester can quickly know fault type, simplifies the flow of camera module fault detect, Lifting testing efficiency and accuracy rate, reduce the technical requirements to tester, while providing wrong data source to research staff.
Eighth embodiment of the invention is related to a kind of terminal, as shown in figure 8, the terminal includes:Communicator 701, one Or multiple processors 702, input/output unit 703 and memory 704, in Fig. 8 by taking a processor 702 as an example.
Communicator 701, processor 702, input/output unit 703 and memory 704 can by bus or its He connects mode, in Fig. 8 as a example by being connected by bus.
Memory 704 can be used to store non-volatile software journey as a kind of non-volatile computer readable storage medium storing program for executing Sequence, non-volatile computer executable program and module, such as fault detection method of the camera module in the embodiment of the present invention. Processor 702 is by running storage non-volatile software program in memory 704, instruction and module, so as to perform each Application of function and data processing are planted, that is, realizes the fault detection method of the camera module in above method embodiment.
Memory 704 can include storing program area and storage data field, wherein, storing program area can store operation system Application program required for system, at least one function;Storage data field can store the fault detection method institute for camera module Data of establishment etc..Additionally, memory 704 can include high-speed random access memory, non-volatile memories can also be included Device, for example, at least one disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments In, memory 704 is optional including the memory remotely located relative to processor 702, and these remote memories can be by net Network is connected to the processor 702 of the fault detection method for camera module.
Input/output unit 703 can receive the numeral or character information of input, and produce the failure for camera module The key signals input that the user of detection method is set and function control is relevant.Input/output unit 703 may include display screen etc. Display device.
In present embodiment, when one or more modules stored in memory 704 are (for example, the detection mould shown in accompanying drawing 4 Block 41, module for reading and writing 42, acquisition module 43 and processing module 44) when being performed by one or more of processors 702, The processor 702 performs the fault detection method of the camera module in above-mentioned any means embodiment, that is, perform:Respectively to pre- If the test item associated with camera module to be checked detected, and will appear from mistake test item record to predeterminated position; When detecting the failure of camera module to be checked, predeterminated position is called;If there is the test item being recorded in predeterminated position, it is determined that shooting The fault type of module is hardware error.
The method that the executable embodiment of the present invention of the said goods is provided, possesses the corresponding functional module of execution method and has Beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to the method that the embodiment of the present invention is provided.
The terminal of the embodiment of the present invention exists in a variety of forms, including but not limited to:
(1) mobile communication equipment:The characteristics of this kind equipment is that possess mobile communication function, and to provide speech, data It is main target to communicate.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, feature mobile phone, and it is low End mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the category of personal computer, there is calculating and treatment work( Can, typically also possess mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind equipment can show and play content of multimedia.The kind equipment includes:Audio, Video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigation equipment.
Present embodiment compared with prior art, detects default test item, the survey of mistake occurs in ad-hoc location record Examination item, when the failure of camera module is detected, tester can transfer record content in ad-hoc location, know to simple, intuitive Whether there is error items in record content, and determine that fault type is hardware error when there are error items so that tester Fault type can quickly be known, simplify the flow of camera module fault detect, lift testing efficiency and accuracy rate, reduced to surveying The technical requirements of examination personnel.
Ninth embodiment of the invention is related to a kind of nonvolatile computer storage media, the computer-readable storage medium to deposit Computer executable instructions are contained, the computer executable instructions can perform the camera module in above-mentioned any means embodiment Fault detection method.
Present embodiment compared with prior art, detects default test item, the survey of mistake occurs in ad-hoc location record Examination item, when the failure of camera module is detected, tester can transfer record content in ad-hoc location, know to simple, intuitive Whether there is error items in record content, and determine that fault type is hardware error when there are error items so that tester Fault type can quickly be known, simplify the flow of camera module fault detect, lift testing efficiency and accuracy rate, reduced to surveying The technical requirements of examination personnel.
Tenth embodiment of the invention is related to a kind of computer program, is able to carry out taking the photograph in above-mentioned any means embodiment As the fault detection method of module.
Present embodiment compared with prior art, detects default test item, the survey of mistake occurs in ad-hoc location record Examination item, when the failure of camera module is detected, tester can transfer record content in ad-hoc location, know to simple, intuitive Whether there is error items in record content, and determine that fault type is hardware error when there are error items so that tester Fault type can quickly be known, simplify the flow of camera module fault detect, lift testing efficiency and accuracy rate, reduced to surveying The technical requirements of examination personnel.
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 respective 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 (12)

1. a kind of fault detection method of camera module, it is characterised in that including:
The default test item associated with camera module to be checked is detected respectively, and will appear from mistake test item record to Predeterminated position;
When the failure of the camera module to be checked is detected, the predeterminated position is called;
If there is the test item being recorded in the predeterminated position, it is determined that the fault type of the camera module is hardware error.
2. the fault detection method of camera module according to claim 1, it is characterised in that described with camera module to be checked The test item of association include it is following at least one:
Electricity, bus communication, the identifier of sensor read on electricity, rear-mounted power source on pre-power supply, the data of preposition memory are read Take, the digital independent of the digital independent of rearmounted memory, interface or interface are responded.
3. the fault detection method of camera module according to claim 1 and 2, it is characterised in that also include:It is the survey Examination item sets corresponding mark;
The test item that will appear from mistake is recorded to predeterminated position, is specifically included:By the test item correspondence for mistake occur Mark write-in predeterminated position.
4. the fault detection method of camera module according to claim 2, it is characterised in that if the predeterminated position is present The test item being recorded, it is determined that the fault type of the camera module be hardware error, including it is following at least one:
If the predeterminated position has the test item being recorded, and the test item being recorded is electricity, rear-mounted power source on pre-power supply At least one in the identifier reading of upper electricity, bus communication or sensor, it is determined that the fault type of the camera module It is sensor fault:
If there is the test item being recorded in the predeterminated position, and the test item being recorded be preposition memory digital independent, Or at least one in the digital independent of rearmounted memory, it is determined that the fault type of the camera module is memory event Barrier;Or
If there is the test item being recorded, and the test item being recorded for the digital independent or interface of interface ring in the predeterminated position At least one in answering, it is determined that the fault type of the camera module is hardware interface failure.
5. the fault detection method of camera module according to claim 1, it is characterised in that judging the predeterminated position After in the presence of the test item being recorded, also include:According to the test item output error report being recorded.
6. the fault detection method of camera module according to claim 1, it is characterised in that the predeterminated position includes pre- The device node of establishment.
7. a kind of failure detector of camera module, it is characterised in that including:
Detection module, for being detected to the default test item associated with camera module to be checked respectively;
Module for reading and writing, the test item for will appear from mistake is recorded to predeterminated position;
Acquisition module, for when the failure of the camera module to be checked is detected, calling the predeterminated position;
Processing module, for when the predeterminated position has the test item being recorded, determining the failure classes of the camera module Type is hardware error.
8. the failure detector of camera module according to claim 7, it is characterised in that the test item is:
Electricity, bus communication, the identifier of sensor read on electricity, rear-mounted power source on pre-power supply, the data of preposition memory are read Take, the digital independent of the digital independent of rearmounted memory, interface or interface are responded.
9. the failure detector of the camera module according to claim 7 or 8, it is characterised in that also include:
Presetting module, for setting corresponding mark for the test item;
The module for reading and writing, is additionally operable to the corresponding mark write-in predeterminated position of the test item for mistake occur;
The acquisition module, is additionally operable to obtain the mark of record, and corresponding test item is determined according to the mark for being recorded.
10. the failure detector of camera module according to claim 8, it is characterised in that the processing module, including Following at least one submodules:
First treatment submodule, for there is the test item being recorded in the predeterminated position, and the test item being recorded is preceding Put on power supply electrifying, rear-mounted power source electricity, bus communication or sensor identifier read in it is at least one when, determine institute The fault type for stating camera module is sensor fault:
Second processing submodule, for there is the test item being recorded in the predeterminated position, and the test item being recorded is preceding Put in the digital independent of memory or the digital independent of rearmounted memory it is at least one when, determine the camera module Fault type is storage failure;With
3rd treatment submodule, for there is the test item being recorded, and the test item being recorded to connect in the predeterminated position Mouthful digital independent or interface response in it is at least one when, determine the fault type of the camera module for hardware interface therefore Barrier.
The failure detector of 11. camera modules according to claim 7, it is characterised in that also include:
Output module, it is defeated according to the test item being recorded for when the predeterminated position has the test item being recorded Make mistake report.
A kind of 12. terminals, it is characterised in that including:At least one processor;And,
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by described at least one Reason device is performed, so that at least one processor is able to carry out the failure of the camera module as described in claim 1-6 is any Detection method.
CN201611056101.6A 2016-11-24 2016-11-24 Camera module fault detection method and apparatus, and terminal Pending CN106713902A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611056101.6A CN106713902A (en) 2016-11-24 2016-11-24 Camera module fault detection method and apparatus, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611056101.6A CN106713902A (en) 2016-11-24 2016-11-24 Camera module fault detection method and apparatus, and terminal

Publications (1)

Publication Number Publication Date
CN106713902A true CN106713902A (en) 2017-05-24

Family

ID=58934022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611056101.6A Pending CN106713902A (en) 2016-11-24 2016-11-24 Camera module fault detection method and apparatus, and terminal

Country Status (1)

Country Link
CN (1) CN106713902A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111787305A (en) * 2019-04-04 2020-10-16 南昌欧菲光电技术有限公司 Electronic device and intelligent manufacturing method thereof
CN113329222A (en) * 2021-05-25 2021-08-31 广州绿怡信息科技有限公司 Camera shooting function detection method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200600958A (en) * 2004-06-23 2006-01-01 Altek Corp Method of automatic execution for testing operation
CN101783970A (en) * 2009-12-22 2010-07-21 新太科技股份有限公司 Methods, devices and systems for automatically detecting and managing fault of camera
US20110292225A1 (en) * 2010-05-27 2011-12-01 Sony Corporation Device, imaging apparatus, imaging system, method for controlling device, and program
CN202395918U (en) * 2011-09-30 2012-08-22 深圳市三辰科技有限公司 Intelligent camera system
CN102928690A (en) * 2012-09-28 2013-02-13 珠海德百祺科技有限公司 Anomaly detection method for electronic device
CN103037242A (en) * 2013-01-10 2013-04-10 格科微电子(上海)有限公司 Camera module test system
US20140340525A1 (en) * 2013-05-15 2014-11-20 Axis Ab Reliability determination of camera fault detection tests
CN105120339A (en) * 2015-08-13 2015-12-02 四川长虹电器股份有限公司 Smart TV fault detection method and system
CN105988282A (en) * 2015-11-08 2016-10-05 乐视移动智能信息技术(北京)有限公司 Camera module set fault detection method and camera module set fault detection device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200600958A (en) * 2004-06-23 2006-01-01 Altek Corp Method of automatic execution for testing operation
CN101783970A (en) * 2009-12-22 2010-07-21 新太科技股份有限公司 Methods, devices and systems for automatically detecting and managing fault of camera
US20110292225A1 (en) * 2010-05-27 2011-12-01 Sony Corporation Device, imaging apparatus, imaging system, method for controlling device, and program
CN202395918U (en) * 2011-09-30 2012-08-22 深圳市三辰科技有限公司 Intelligent camera system
CN102928690A (en) * 2012-09-28 2013-02-13 珠海德百祺科技有限公司 Anomaly detection method for electronic device
CN103037242A (en) * 2013-01-10 2013-04-10 格科微电子(上海)有限公司 Camera module test system
US20140340525A1 (en) * 2013-05-15 2014-11-20 Axis Ab Reliability determination of camera fault detection tests
CN105120339A (en) * 2015-08-13 2015-12-02 四川长虹电器股份有限公司 Smart TV fault detection method and system
CN105988282A (en) * 2015-11-08 2016-10-05 乐视移动智能信息技术(北京)有限公司 Camera module set fault detection method and camera module set fault detection device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111787305A (en) * 2019-04-04 2020-10-16 南昌欧菲光电技术有限公司 Electronic device and intelligent manufacturing method thereof
CN111787305B (en) * 2019-04-04 2023-02-10 南昌欧菲光电技术有限公司 Electronic device and intelligent manufacturing method thereof
CN113329222A (en) * 2021-05-25 2021-08-31 广州绿怡信息科技有限公司 Camera shooting function detection method and device

Similar Documents

Publication Publication Date Title
CN107924679A (en) Delayed binding during inputting understanding processing in response selects
CN104915290B (en) Application testing method and device
CN107800708A (en) A kind of vehicle device account automatic logging method and vehicle device device
CN106164908A (en) Modern document storing and sync status
CN103092996B (en) Document data acquisition device and bills data acquisition methods
CN106354628A (en) Payment app test method and device thereof
CN107818168A (en) Topic searching method, device and equipment
CN109101293A (en) Theme configuration method and device, electronic equipment, computer readable storage medium
CN106598887A (en) DDR memory configuration method and device as well as electronic equipment
CN106775272A (en) System of selection, device and electronic equipment
CN103348352B (en) Personal digital assistant device and grip features learning method
CN106063364A (en) Electronic device for controlling an external device using a number and method thereof
CN110119354A (en) Method for testing software, device and electronic equipment based on Test cases technology
CN110401899A (en) Audio testing method and relevant apparatus
CN106713902A (en) Camera module fault detection method and apparatus, and terminal
CN108920353A (en) A kind of test method, device and electronic equipment
CN106681714A (en) Method and device for setting program environments and electronic equipment
CN106503065A (en) The method and system of data transfer
CN104020972A (en) Background display method and device and electronic device
CN104463272A (en) Method for establishing information communication through NFC tag, mobile device terminal and NFC communication system
CN106547705A (en) USB (universal serial bus) operating mode control method and device
CN104839962B (en) A kind of intelligent wallet and its information processing method and device
CN110313159A (en) Communication data modeling method
CN107180417A (en) Photo processing method, device, computer-readable recording medium and electronic equipment
CN109542775A (en) A kind of generation and execution method and device of test script

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