CN102355592B - A kind of method and system detecting camera of mobile terminal - Google Patents

A kind of method and system detecting camera of mobile terminal Download PDF

Info

Publication number
CN102355592B
CN102355592B CN201110284192.XA CN201110284192A CN102355592B CN 102355592 B CN102355592 B CN 102355592B CN 201110284192 A CN201110284192 A CN 201110284192A CN 102355592 B CN102355592 B CN 102355592B
Authority
CN
China
Prior art keywords
mobile terminal
photographic head
software module
computer
view data
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.)
Active
Application number
CN201110284192.XA
Other languages
Chinese (zh)
Other versions
CN102355592A (en
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.)
Nanjing ZTE New Software Co Ltd
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110284192.XA priority Critical patent/CN102355592B/en
Priority to PCT/CN2011/082724 priority patent/WO2012151940A1/en
Publication of CN102355592A publication Critical patent/CN102355592A/en
Application granted granted Critical
Publication of CN102355592B publication Critical patent/CN102355592B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/617Upgrading or updating of programs or applications for camera control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/183Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a kind of method and system detecting camera of mobile terminal, described method includes: the access state of mobile terminal is detected by computer, if be detected that mobile terminal accesses, then photographic head is detected drive software module and downloads and be saved in described mobile terminal;Described mobile terminal utilizes the photographic head that described photographic head detection drive software module controls described mobile terminal to obtain view data, and described view data is uploaded to described computer;Described computer shows described view data on its display device, and detects described photographic head according to shown view data.The present invention downloads in mobile terminal RAM by photographic head detects drive software module from computer, and photographic head is detected drive software module obtain view data on computer screen, amplify display, solve test camera of mobile terminal time length, efficiency low, and assist detection instrument need the problem higher so that testing cost.

Description

A kind of method and system detecting camera of mobile terminal
Technical field
The present invention relates to communication field, particularly to a kind of method and system detecting mobile terminal camera.
Background technology
At present, 3G (3rd-generation, G mobile communication) fast development, more traditional communication technology, 3G has greatly improved in transmission voice and data speed, it is possible to better process the content of multimedia such as image, music, video flowing.Simultaneously vast user group has not only been satisfied with traditional voice call for the requirement of mobile terminal, the demand of multimedia application is increasingly strong, in order to meet take pictures, record a video, the multimedia application business such as video calling, mobile terminal all can configure photographic head.
Before mobile terminal dispatches from the factory, it is necessary to each functional part and overall performance are detected.The scheme detecting current most of producers for photographic head is that the production test pattern directly starting shooting or controlling mobile phone entrance special sends particular command, start camera function, obtain view data or artificial or software process decision chart picture, identify that whether photographic head is qualified with this.Some detection methods even need the auxiliary of special camera testing device just can detect.The function integrated due to current mobile terminal version gets more and more, cause starting the version time more and more longer, start shooting or enter production test pattern and all can start version in whole or in part, cause that startup can occupy the very big time, make testing time length, efficiency low, and assist the needing so that testing cost is higher of detection instrument.
Summary of the invention
It is an object of the invention to provide a kind of method and system detecting camera of mobile terminal, test mobile terminal camera time length, efficiency can be solved better low, and assist detection instrument need the problem higher so that testing cost.
According to an aspect of the invention, it is provided a kind of method detecting camera of mobile terminal, described method includes:
The access state of mobile terminal is detected by computer, if be detected that mobile terminal accesses, then photographic head detects drive software module and downloads and be saved in described mobile terminal;
Described mobile terminal utilizes the photographic head that described photographic head detection drive software module controls described mobile terminal to obtain view data, and described view data is uploaded to described computer;
Described computer shows described view data on its display device, and detects described photographic head according to shown view data.
Wherein, photographic head is detected drive software module and downloads and be saved in the step of described mobile terminal and be specially described computer and detected in the RAM that described mobile terminal was downloaded and kept in drive software module by photographic head by described computer.
Wherein, mobile terminal utilizes the step that photographic head detection drive software module obtained and uploaded view data to include:
The guiding software module of described mobile terminal guides described mobile terminal jump to described photographic head detection drive software module start memory location in described RAM and run described photographic head detection drive software module;
Described photographic head detection drive software module controls described photographic head and obtains view data;
The view data obtained is saved in described RAM by described photographic head detection drive software module;
View data in described RAM is uploaded to described computer by USB interface by described mobile terminal.
Wherein, computer shows that on its display device the step of described view data includes:
The described computer view data to uploading carries out respective handling;
View data after process is shown on its display device by described computer.
Wherein, also include after the step of detection photographic head:
When described mobile terminal power-off, from described RAM, delete the described photographic head detection drive software module being saved in described RAM immediately.
According to a further aspect in the invention, it is provided that a kind of system detecting camera of mobile terminal, described system includes:
Computer, for the access state of mobile terminal is detected, if be detected that mobile terminal accesses, then photographic head is detected drive software module and downloads and be saved in described mobile terminal, and on its display device, show the view data that mobile terminal is uploaded, and detect the photographic head of described mobile terminal according to shown view data;
Mobile terminal, is used for utilizing described photographic head detection drive software module to control its photographic head and obtains view data, and described view data is uploaded to described computer.
Wherein, described computer includes:
Photographic head detection drive software module, the photographic head for controlling described mobile terminal obtains view data;
Download and USB communication Driver Library module, for photographic head is detected in the RAM that described mobile terminal was downloaded and kept in drive software module.
Wherein, described mobile terminal includes:
Guide software module, for guiding described mobile terminal jump to described photographic head detection drive software module start memory location in described RAM and run described photographic head detection drive software module.
Wherein, described computer also includes:
Image processing module, the view data for described mobile terminal is uploaded carries out respective handling and the view data after process is shown in the display device of described mobile terminal.
Wherein,
Described mobile terminal is additionally operable to delete the described photographic head detection drive software module being saved in described RAM immediately from described RAM when its power-off.
Compared with prior art, the beneficial effects of the present invention is:
One, the time is short: detection process is completely without starting mobile terminal official release, it is possible to starts multi-channel test, greatly reduces the testing time.
Two, cost is low: photographic head detection drive software module operates in the ram space of mobile terminal, operational efficiency is high, control camera module either directly through bottom layer driving, it is thus achieved that view data show on a computer display, except computer and mobile terminal itself do not need extra detecting device.
Three, effective: traditional photographic head detection method generally has two kinds: a kind of is by manually checking the image obtained of taking pictures of display on the display device of mobile terminal, but the screen of mobile terminal is little, observing effect is poor;Another kind is with clear data format operation by the view data that obtains, compares operation through complicated algorithm process and standard form, but algorithm is complicated.And imaging of the present invention is shown in the display device of computer-side, image is exaggerated, and becomes apparent from directly perceived, it is not necessary to complicated algorithm, it is possible to be easy to judge the quality of image, and then judge that whether cam device is qualified.
Accompanying drawing explanation
Fig. 1 is the flow chart of a kind of method detecting mobile terminal camera that the embodiment of the present invention provides;
Fig. 2 is the structural representation of a kind of system detecting mobile terminal camera that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail, it will be appreciated that preferred embodiment described below is merely to illustrate and explains the present invention, is not intended to limit the present invention.
Fig. 1 is the flow chart of a kind of method detecting mobile terminal camera that the embodiment of the present invention provides, as it is shown in figure 1, described method includes:
Step S101, starts computer-side test tool software module.
Computer-side test tool software module includes download and USB communication Driver Library module and image processing module.Start test tool software module on computers, computer initialization is downloaded and USB communication Driver Library module and image processing module, described initialization mainly includes the initialization at test tool software module interface, and download, USB plug detect the initialization of function, USB communication function.The while of initialized, load store detects drive software module at the photographic head of computer-side.
Step S102, photographic head is detected in the RAM that drive software module downloads to mobile terminal by computer.
Being connected on computer USB port by mobile terminal to be measured, physical connection set up by mobile terminal and computer.Computer-side is downloaded and USB communication interface Driver Library module is detected and needs side shifting terminal and accessed by usb bus, just control mobile terminal and enter downloading mode, starting the startup with mobile terminal side guides software module to interact, and downloads photographic head detection drive software module in the RAM of mobile terminal.
Step S103, mobile terminal jumps to the photographic head detection drive software module original position at RAM memory space, the photographic head that brings into operation detection drive software.
Step S104, photographic head detection drive software module controls photographic head and obtains view data.
The photographic head detection drive software module of mobile terminal side directly drives photographic head correlation module, complete the initialization of photographic head, configuration, start preview, camera function, after obtaining a complete frame image data, stopping is taken pictures, the address space mono-section available for view data write mobile terminal RAM that will obtain.
Step S105, mobile terminal will be stored in the view data of mobile terminal ram space and is transferred to computer.
The photographic head detection drive software module that mobile terminal side runs is uploaded to the test tool software module of computer-side by writing on the view data of mobile terminal ram space by USB port.
Step S106: computer-side image processing module processes the view data that mobile terminal is caught, and image is shown in computer interface.
The view data that mobile terminal is uploaded by computer-side image processing module, through relevant image procossing such as format conversion, is shown in computer display interface by the image satisfied condition.Checking the image that computer display shows, so far single mobile terminal detection is complete.
From above-mentioned flow process, compared to the method for other detection photographic head, the maximum key problem in technology point of the present invention has three aspects:
One, mobile terminal side photographic head detection drive software module is dynamically loaded into mobile terminal internal RAM with the form of stand alone software, it is not take up the nonvolatile semiconductor memory member of mobile terminal, such as flash memory flash, EEPROM (ElectricallyErasableProgrammableRead-OnlyMemory, EEPROM) space.Namely the detection drive software module software power down of mobile terminal side photographic head loses, and does not interfere with the follow-up use of mobile terminal.
Two, USB device has hot swap characteristics, computer can be monitored the insertion of mobile terminal by the plug of USB port and be extracted, start voluntarily or terminate test, need to not reserve button at software interface utilizes manual operation to control beginning and the end of testing tool, multi-channel test can be carried out by this method, greatly improve testing efficiency.
Three, the view data obtained of taking pictures directly displays at computer-side display screen, compared to the display device that mobile terminal carries, result simple, intuitive, the effect of the image arrived according to the observation, it is possible to directly judge that whether photographic head is qualified.
Fig. 2 is the structural representation of a kind of system detecting mobile terminal camera that the embodiment of the present invention provides, as shown in Figure 2, described system includes: mobile terminal and computer, wherein mobile terminal includes photographic head, guides software module, computer includes photographic head detection drive software module, computer-side test tool software module, wherein, described computer-side test tool software module includes download and USB communication Driver Library module and image processing module.
Computer is for detecting the access state of mobile terminal, if be detected that mobile terminal accesses, then photographic head is detected drive software module and downloads and be saved in described mobile terminal, and on its display device, show the view data that mobile terminal is uploaded, and detect the photographic head of described mobile terminal according to shown view data.
Photographic head detection drive software module, the photographic head for controlling described mobile terminal obtains view data.Photographic head detection drive software module stores is in computer-side, and after COMPUTER DETECTION to mobile terminal is linked on computer by USB interface, this module is downloaded in the RAM of mobile terminal by computer.Mobile terminal runs photographic head detection drive software module in described RAM, this module is mutual with computer-side download and USB communication Driver Library module by USB port, receive the test command that computer-side test tool software module issues, completing the initialization of photographic head, setting and camera function, by taking pictures, the view data obtained passes computer-side back.
Download and USB communication Driver Library module is for detecting photographic head in the RAM that mobile terminal was downloaded and kept in drive software module.nullThis module completes the initialization downloaded and usb communication drives,Order and data interaction is carried out by the USB port of computer and mobile terminal,Download photographic head detection drive software module in the RAM of mobile terminal,RAM type is likely SRAM (StaticRAM,SRAM)/PSRAM (PseudoStaticRAM,False SRAM)/DRAM (DynamicRAM,Dynamic RAM)/SDRAM (SynchronousDynamicRAM,Synchronous DRAM)/DDRAM (DoubleDataRateSDRAM,Double Data Rate synchronous DRAM) etc.,And receive response and the detection data that mobile terminal sends in detection process.
Image processing module carries out respective handling for the view data that described mobile terminal is uploaded.Computer is by downloading and USB communication Driver Library module is take pictures the initial data obtained through photographic head from the view data that mobile terminal side obtains, image processing module needs initial data is processed, but image can't be optimized, imagery quality controll image direct imaging also according to image itself shows on a computer display, reflect the true effect of image strictly according to the facts, judge the quality of photographic head with this.
Mobile terminal, is used for utilizing described photographic head detection drive software module to control its photographic head and obtains view data, and described view data is uploaded to described computer.Mobile terminal includes guiding software module.
Guide software module for guiding described mobile terminal jump to described photographic head detection drive software module start memory location in described RAM and run described photographic head detection drive software module.Mobile terminal side powers on namely to start and guides software module, this module is mutual with the download of computer-side and USB communication Driver Library module by USB port, receiving the code of the photographic head detection drive software module of computer-side and store in the RAM within mobile terminal, guiding mobile terminal redirects operation photographic head detection drive software module simultaneously.When mobile terminal power-off, namely the described photographic head detection drive software module in RAM is lost.
In sum, the present invention downloads in mobile terminal RAM by photographic head detects drive software module, and in RAM, run described photographic head detection drive software module make it directly drive photographic head to take pictures, and the view data of acquisition is uploaded to computer-side by USB port, computer screen amplifies display, judges that whether image quality is qualified and judges that whether photographic head is qualified with this intuitively.The invention solves test mobile terminal camera time length, efficiency low, and assist the problem higher so that testing cost that need of detection instrument, there is the beneficial effect that the detection time is short, cost is low, effective.
Although above the present invention being described in detail, but the invention is not restricted to this, those skilled in the art of the present technique can carry out various amendment according to principles of the invention.Therefore, all amendments made according to the principle of the invention, all should be understood to fall into protection scope of the present invention.

Claims (9)

1. the method detecting camera of mobile terminal, it is characterised in that described method includes:
The access state of mobile terminal is detected by the computer with photographic head detection drive software module;
When COMPUTER DETECTION to mobile terminal accesses, control described mobile terminal and enter downloading mode, photographic head is detected in the RAM that described mobile terminal was downloaded and be saved in drive software module;
Described mobile terminal runs in described RAM and detects drive software module from the described photographic head of described downloaded, receive the test command that computer issues, completing the initialization of photographic head, setting and camera function, the view data obtained of being taken pictures by photographic head is uploaded to described computer;
Described computer, by showing the described view data that mobile terminal is uploaded on its display device, amplifies the image that described photographic head is taken pictures, in order to judges the quality of image according to the image amplified, and then judges that whether described photographic head is qualified.
2. method according to claim 1, it is characterised in that mobile terminal utilizes the step that photographic head detection drive software module obtained and uploaded view data to include:
The guiding software module of described mobile terminal guides described mobile terminal jump to described photographic head detection drive software module start memory location in described RAM and run described photographic head detection drive software module;
Described photographic head detection drive software module controls described photographic head and obtains view data;
The view data obtained is saved in described RAM by described photographic head detection drive software module;
View data in described RAM is uploaded to described computer by USB interface by described mobile terminal.
3. method according to claim 2, it is characterised in that computer shows that on its display device the step of described view data includes:
The described computer view data to uploading carries out respective handling;
View data after process is shown on its display device by described computer.
4. the method according to any one of claim 1-3, it is characterised in that also include after the step of detection photographic head:
When described mobile terminal power-off, from described RAM, delete the described photographic head detection drive software module being saved in described RAM immediately.
5. the system detecting camera of mobile terminal, it is characterised in that described system includes:
There is the computer of photographic head detection drive software module, for the access state of mobile terminal is detected, when detecting that mobile terminal accesses, control described mobile terminal and enter downloading mode, photographic head is detected in the RAM that described mobile terminal was downloaded and be saved in drive software module;
Mobile terminal, drive software module is detected from the described photographic head of described downloaded for running in described RAM, receiving the test command that computer issues, complete the initialization of photographic head, setting and camera function, the view data obtained of being taken pictures by photographic head is uploaded to described computer;
Wherein, described computer, by showing the described view data that mobile terminal is uploaded on its display device, amplifies the image that described photographic head is taken pictures, in order to judges the quality of image according to the image amplified, and then judges that whether described photographic head is qualified.
6. system according to claim 5, it is characterised in that described computer includes:
Photographic head detection drive software module, the photographic head for controlling described mobile terminal obtains view data;
Download and USB communication Driver Library module, for photographic head is detected in the RAM that described mobile terminal was downloaded and kept in drive software module.
7. system according to claim 6, it is characterised in that described mobile terminal includes:
Guide software module, for guiding described mobile terminal jump to described photographic head detection drive software module start memory location in described RAM and run described photographic head detection drive software module.
8. system according to claim 7, it is characterised in that described computer also includes:
Image processing module, the view data for described mobile terminal is uploaded carries out respective handling and the view data after process is shown in the display device of described mobile terminal.
9. the system according to any one of claim 7-8, it is characterised in that
Described mobile terminal is additionally operable to delete the described photographic head detection drive software module being saved in described RAM immediately from described RAM when its power-off.
CN201110284192.XA 2011-09-22 2011-09-22 A kind of method and system detecting camera of mobile terminal Active CN102355592B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110284192.XA CN102355592B (en) 2011-09-22 2011-09-22 A kind of method and system detecting camera of mobile terminal
PCT/CN2011/082724 WO2012151940A1 (en) 2011-09-22 2011-11-23 Method and system for detecting camera of mobile terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110284192.XA CN102355592B (en) 2011-09-22 2011-09-22 A kind of method and system detecting camera of mobile terminal

Publications (2)

Publication Number Publication Date
CN102355592A CN102355592A (en) 2012-02-15
CN102355592B true CN102355592B (en) 2016-07-06

Family

ID=45579077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110284192.XA Active CN102355592B (en) 2011-09-22 2011-09-22 A kind of method and system detecting camera of mobile terminal

Country Status (2)

Country Link
CN (1) CN102355592B (en)
WO (1) WO2012151940A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857789B (en) * 2012-09-07 2015-04-01 中兴通讯股份有限公司 Device and method for intelligently processing camera effects
CN103049375B (en) * 2012-12-07 2015-09-30 广东欧珀移动通信有限公司 A kind of camera on-line debugging method
CN104683858B (en) * 2015-02-13 2017-12-01 北京数码视讯科技股份有限公司 A kind of method for previewing and device of the content of Streaming Media
CN105141946B (en) * 2015-08-10 2017-06-27 深圳市高斯贝尔家居智能电子有限公司 The test system and method for a kind of monitoring camera
CN106375757A (en) * 2016-10-12 2017-02-01 芜湖赋兴光电有限公司 Mobile phone camera module function detection method
CN107959810A (en) * 2017-12-28 2018-04-24 上海传英信息技术有限公司 A kind of data burning method and data recording system for CCD camera assembly
CN117579811B (en) * 2023-11-14 2024-05-28 镁佳(武汉)科技有限公司 Vehicle camera fault detection and recovery method, system and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859582A (en) * 2005-11-29 2006-11-08 华为技术有限公司 Detecting system and its method for mobile terminal camera head

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4189349B2 (en) * 2004-04-27 2008-12-03 Hoya株式会社 Camera phone and incoming call notification method
CN100515098C (en) * 2006-12-25 2009-07-15 华为技术有限公司 Detection system of camera head and its method
CN101466115A (en) * 2008-12-30 2009-06-24 宇龙计算机通信科技(深圳)有限公司 Failure detection method, system and mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859582A (en) * 2005-11-29 2006-11-08 华为技术有限公司 Detecting system and its method for mobile terminal camera head

Also Published As

Publication number Publication date
WO2012151940A1 (en) 2012-11-15
CN102355592A (en) 2012-02-15

Similar Documents

Publication Publication Date Title
CN102355592B (en) A kind of method and system detecting camera of mobile terminal
US20210217133A1 (en) Electronic device having rollable display and method of controlling the same
WO2021203996A1 (en) Video processing method and apparatus, and electronic device, and non-transitory computer readable storage medium
JP2022508176A (en) Voice control method and electronic device
CN104169913B (en) A kind of picture display method and device, terminal device
CN105955766A (en) Method and device for application preloading
CN104580884A (en) Shooting method and terminal
US8959436B2 (en) Method of selecting a frame from motion video
US9060194B2 (en) Video reproduction apparatus, control method thereof, and computer-readable storage medium storing program
WO2022262475A1 (en) Image capture method, graphical user interface, and electronic device
CN103747354A (en) Smart television and external storage device connection control method and control device
CN104954699A (en) Shooting parameter setting method and user terminal
WO2024045801A1 (en) Method for screenshotting, and electronic device, medium and program product
CN104020990A (en) Date selection control displaying method and device
CN105516485A (en) Sound recording method and device
CN104536787A (en) Resource preloading method and device
CN102402411B (en) A kind of computing machine, auxiliary display device and method for information display
CN116048933A (en) Fluency detection method
CN107391180A (en) Point screen method, apparatus and computer-readable recording medium
CN104837020B (en) The method and apparatus for playing video
CN115904160A (en) Icon moving method, related graphical interface and electronic equipment
US20150112997A1 (en) Method for content control and electronic device thereof
CN107608739A (en) The method, apparatus and equipment of program on a kind of automatic running HID device
WO2023016014A1 (en) Video editing method and electronic device
CN104391742B (en) Optimizing application method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200721

Address after: 210012 Nanjing, Yuhuatai District, South Street, Bauhinia Road, No. 68

Patentee after: Nanjing Zhongxing Software Co.,Ltd.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Patentee before: ZTE Corp.

TR01 Transfer of patent right