TWI668565B - Method and electronic device for automatically testing and repairing camera function - Google Patents
Method and electronic device for automatically testing and repairing camera function Download PDFInfo
- Publication number
- TWI668565B TWI668565B TW107104836A TW107104836A TWI668565B TW I668565 B TWI668565 B TW I668565B TW 107104836 A TW107104836 A TW 107104836A TW 107104836 A TW107104836 A TW 107104836A TW I668565 B TWI668565 B TW I668565B
- Authority
- TW
- Taiwan
- Prior art keywords
- camera module
- processing unit
- abnormal
- image capturing
- camera
- Prior art date
Links
Landscapes
- Studio Devices (AREA)
Abstract
本發明提出相機功能的自動測試及修復方法及其電子裝置。所述相機功能的自動測試及修復方法包含一處理單元於電子裝置開機後自動啟動一相機模組之一影像擷取功能,處理單元判斷影像擷取功能是否異常,當影像擷取功能為異常時,處理單元控制相機模組重置,當影像擷取功能於相機模組重置後仍然為異常時,處理單元控制一供電模組停止供電給相機模組,處理單元於相機模組停止運作後控制供電模組重新供電給相機模組。The invention provides an automatic test and repair method for a camera function and an electronic device thereof. The automatic testing and repairing method of the camera function comprises: a processing unit automatically starting an image capturing function of a camera module after the electronic device is powered on, and the processing unit determines whether the image capturing function is abnormal, and when the image capturing function is abnormal The processing unit controls the camera module to reset. When the image capturing function is still abnormal after the camera module is reset, the processing unit controls a power supply module to stop supplying power to the camera module, and the processing unit stops after the camera module stops operating. The power supply module is controlled to re-power the camera module.
Description
本發明提出一種相機功能的自動測試及修復方法及其電子裝置。The invention provides an automatic test and repair method for a camera function and an electronic device thereof.
隨著人們的需求,大多數的電子裝置都搭載有相機模組,特別是可攜式電子裝置,例如筆記型電腦、手機、平板電腦等,人們可隨時地藉由電子裝置來進行攝影或錄影而不用隨身攜帶相機,大幅地提升生活的便利性。With the needs of people, most electronic devices are equipped with camera modules, especially portable electronic devices, such as notebook computers, mobile phones, tablets, etc., people can take pictures or video at any time through electronic devices. Instead of carrying the camera with you, you can greatly enhance the convenience of life.
然而,相機模組中包含不同的元件,相機模組之製造商通常是自不同廠商購買相機模組中的不同元件,再加以整合而製造出相機模組,而不同廠商提供的元件之間的相容性不一,造成製造商生產出品質不一的相機模組。例如,有些相機模組會有開機後機率性出現無影像輸出的問題,造成後續使用者在使用上之不便,或是相機模組的維修商必須將電子裝置回收,以對相機模組進行除錯,實屬不便。However, the camera module contains different components. The manufacturer of the camera module usually purchases different components in the camera module from different manufacturers, and then integrates to manufacture the camera module, and between the components provided by different manufacturers. The compatibility is different, causing manufacturers to produce camera modules of varying quality. For example, some camera modules may have the problem of no image output after booting, which may cause inconvenience to subsequent users, or the repairer of the camera module must recycle the electronic device to remove the camera module. Wrong, it is inconvenient.
有鑑於此,本發明提出一種相機功能的自動測試及修復方法及其電子裝置。In view of this, the present invention provides an automatic test and repair method for a camera function and an electronic device thereof.
在一實施例中,一種具有自動測試及修復相機功能之電子裝置包含相機模組、供電模組及處理單元。供電模組耦接於相機模組,處理單元耦接於相機模組及供電模組。相機模組具有一影像擷取功能。供電模組供電給相機模組。處理單元自動啟動相機模組執行影像擷取功能,於電子裝置開機後,處理單元自動啟動相機模組執行影像擷取功能,處理單元判斷相機模組之影像擷取功能是否異常,當影像擷取功能異常時,處理單元控制相機模組重置,當影像擷取功能於相機模組重置後仍然為異常時,處理單元控制供電模組停止供電給相機模組,並於相機模組停止運作後控制供電模組重新供電給相機模組。In one embodiment, an electronic device having an automatic test and repair camera function includes a camera module, a power supply module, and a processing unit. The power supply module is coupled to the camera module, and the processing unit is coupled to the camera module and the power supply module. The camera module has an image capture function. The power supply module supplies power to the camera module. The processing unit automatically activates the camera module to perform image capturing function. After the electronic device is turned on, the processing unit automatically starts the camera module to perform image capturing function, and the processing unit determines whether the image capturing function of the camera module is abnormal, when the image capturing is performed. When the function is abnormal, the processing unit controls the camera module to reset. When the image capturing function is still abnormal after the camera module is reset, the processing unit controls the power supply module to stop supplying power to the camera module, and stops the operation of the camera module. The rear control power supply module is re-powered to the camera module.
在一實施例中,一種相機功能的自動測試及修復方法包含一處理單元於電子裝置開機後自動啟動一相機模組之一影像擷取功能,處理單元判斷影像擷取功能是否異常,當影像擷取功能為異常時,處理單元控制相機模組重置,當影像擷取功能於相機模組重置後仍然為異常時,處理單元控制一供電模組停止供電給相機模組,處理單元於相機模組停止運作後控制供電模組重新供電給相機模組。In an embodiment, a method for automatically testing and repairing a camera function includes: a processing unit automatically starts an image capturing function of a camera module after the electronic device is powered on, and the processing unit determines whether the image capturing function is abnormal, when the image is defective. When the function is abnormal, the processing unit controls the camera module to reset. When the image capturing function is still abnormal after the camera module is reset, the processing unit controls a power supply module to stop supplying power to the camera module, and the processing unit is in the camera. After the module stops operating, the power supply module is controlled to re-power the camera module.
綜上所述,根據本發明之相機功能自動測試及修復方法及其電子裝置之一實施例,處理單元可自動檢測影像擷取功能是否異常,並可自動修復異常之影像擷取功能。如此一來,相機模組的維修商不需將搭載有相機模組的電子裝置回收,且電子裝置之使用者僅需藉由更新電子裝置中的軟體或韌體即可修復功能異常之相機模組。In summary, according to an embodiment of the camera function automatic test and repair method and the electronic device thereof, the processing unit can automatically detect whether the image capture function is abnormal, and can automatically repair the abnormal image capture function. In this way, the repairer of the camera module does not need to recover the electronic device equipped with the camera module, and the user of the electronic device can repair the abnormal camera model by simply updating the software or firmware in the electronic device. group.
圖1為根據本發明之自動測試及修復相機功能之電子裝置1之一實施例之方塊圖。請參照圖1,電子裝置1包含相機模組11、供電模組12及處理單元13。處理單元13耦接相機模組11及供電模組12,供電模組12耦接相機模組11。供電模組12供電給相機模組11,以提供相機模組11運作所需之電力。相機模組11具有一影像擷取功能,相機模組11執行影像擷取功能而可進行攝影或錄影。在一實施例中,電子裝置1可為銷售點(Point of Sales;POS)終端機、桌上型電腦、筆記型電腦等。處理單元13可為中央處理器、內嵌式控制器或是微處理器。1 is a block diagram of an embodiment of an electronic device 1 for automatically testing and repairing camera functions in accordance with the present invention. Referring to FIG. 1 , the electronic device 1 includes a camera module 11 , a power supply module 12 , and a processing unit 13 . The processing unit 13 is coupled to the camera module 11 and the power supply module 12 , and the power supply module 12 is coupled to the camera module 11 . The power supply module 12 supplies power to the camera module 11 to provide power required for the operation of the camera module 11. The camera module 11 has an image capturing function, and the camera module 11 performs an image capturing function to perform photography or video recording. In an embodiment, the electronic device 1 can be a point of sale (POS) terminal, a desktop computer, a notebook computer, or the like. Processing unit 13 can be a central processing unit, an embedded controller, or a microprocessor.
圖2為根據本發明之相機功能之自動測試及修復方法之一實施例之流程圖。請合併參照圖1及圖2,在電子裝置1運作時,處理單元13自動地對相機模組11進行一檢測程序。在檢測程序中,處理單元13於電子裝置1開機之後啟動相機模組11執行影像擷取功能(步驟S01),處理單元13判斷相機模組11的影像擷取功能是否異常(步驟S02),若相機模組11的影像擷取功能為異常(判斷結果為「是」),處理單元13則進行修復程序。在修復程序中,處理單元13先控制相機模組11重置(步驟S06),處理單元13藉由速度較快之重置手段來對相機模組11進行修復。接著,處理單元13再次地執行步驟S02,處理單元13判斷相機模組11在重置之後其影像擷取功能是否恢復正常。若處理單元13在相機模組11重置後判斷出其影像擷取功能仍然為異常(判斷為「是」),處理單元13再控制供電模組12停止供電給相機模組11(步驟S03),使相機模組11停止運作,處理單元13於相機模組11停止運作後再控制供電模組12重新供電給相機模組11(步驟S04),使相機模組11重新運作,以修復異常之影像擷取功能。2 is a flow chart of one embodiment of an automatic test and repair method for camera functions in accordance with the present invention. Referring to FIG. 1 and FIG. 2 together, when the electronic device 1 is in operation, the processing unit 13 automatically performs a detection process on the camera module 11. In the detection process, the processing unit 13 activates the camera module 11 to perform an image capturing function after the electronic device 1 is powered on (step S01), and the processing unit 13 determines whether the image capturing function of the camera module 11 is abnormal (step S02). The image capturing function of the camera module 11 is abnormal (the determination result is "YES"), and the processing unit 13 performs a repair process. In the repair process, the processing unit 13 first controls the camera module 11 to reset (step S06), and the processing unit 13 repairs the camera module 11 by a faster reset means. Next, the processing unit 13 performs step S02 again, and the processing unit 13 determines whether the image capturing function of the camera module 11 returns to normal after resetting. If the processing unit 13 determines that the image capturing function is still abnormal after the camera module 11 is reset (determined as YES), the processing unit 13 controls the power supply module 12 to stop supplying power to the camera module 11 (step S03). The camera module 11 is stopped, and the processing unit 13 controls the power supply module 12 to re-power the camera module 11 after the camera module 11 stops operating (step S04), so that the camera module 11 is reactivated to repair the abnormality. Image capture function.
在一實施例中,處理單元13在控制供電模組12重新供電給相機模組11之後,處理單元13會進一步啟動相機模組11執行影像擷取功能並判斷重新供電後之相機模組11之影像擷取功能是否恢復正常(步驟S07),若判斷為否,處理單元13則將異常之影像擷取功能歸類為硬體異常(步驟S09)而非軟體異常。In an embodiment, after the processing unit 13 re-powers the power supply module 12 to the camera module 11, the processing unit 13 further activates the camera module 11 to perform an image capturing function and determines the re-powered camera module 11 Whether the image capturing function returns to normal (step S07), if the determination is no, the processing unit 13 classifies the abnormal image capturing function as a hardware abnormality (step S09) instead of the software abnormality.
在一實施例中,相機模組11具有一重置(reset)控制端耦接於處理單元13,處理單元13可藉由前述之重置控制端控制相機模組11重新開機。再者,處理單元13在控制相機模組11重置(步驟S06)之後,處理單元13會等待一預設時間,以等待相機模組11完成重置作業,處理單元13在等待預設時間之後再判斷相機模組11之影像擷取功能是否恢復正常。進一步,處理單元13在控制供電模組12重新供電給相機模組11(步驟S04)之後,處理單元13亦會等待一預設時間,以等待相機模組11重新開機,處理單元13亦在等待預設時間之後再判斷相機模組11之影像擷取功能是否恢復正常(步驟S07)。In one embodiment, the camera module 11 has a reset control terminal coupled to the processing unit 13, and the processing unit 13 can control the camera module 11 to be restarted by the reset control terminal. Moreover, after the processing unit 13 resets the control camera module 11 (step S06), the processing unit 13 waits for a preset time to wait for the camera module 11 to complete the reset operation, and the processing unit 13 waits for the preset time. It is further determined whether the image capturing function of the camera module 11 is restored to normal. Further, after the processing unit 13 re-powers the power supply module 12 to the camera module 11 (step S04), the processing unit 13 also waits for a preset time to wait for the camera module 11 to be restarted, and the processing unit 13 is also waiting. After the preset time, it is judged whether the image capturing function of the camera module 11 returns to normal (step S07).
在此,圖1係以電子裝置1包含一個相機模組11為例,然本發明不以此為限,電子裝置1所包含相機模組的數量亦可為二或是大於二。若電子裝置1包含兩相機模組,處理單元13能同時進行兩相機模組之檢測程序及修復程序。詳細而言,處理單元13在執行步驟S01時可啟動兩相機模組,並在步驟S02中判斷兩相機模組(為方便描述,以下將兩相機模組分別稱為第一相機模組及第二相機模組)的影像擷取功能是否異常;若處理單元13判斷出第一相機模組的影像擷取功能異常,處理單元13則同時執行第二相機模組的檢測程序及第一相機模組的修復程序。在進行第一相機模組的修復程序時,處理單元13在步驟S06中控制第一相機模組重置,且處理單元13在控制第一相機模組重置之後重新判斷第一相機模組的影像擷取功能在重置之後是否仍為異常,以在後續修復程序之步驟S03中控制供電模組12停止供電給第一相機模組並在第一相機模組停止運作之後控制供電模組12重新供電給第一相機模組,以修復第一相機模組;另一方面,若處理單元13在進行第一相機模組的修復程序時判斷出第二相機模組的影像擷取功能異常,處理單元13可同時或依序地進行第二相機模組的修復程序。在進行第二相機模組的修復程序時,處理單元13在步驟S06中控制第二相機模組重置,且處理單元13在控制第二相機模組重置之後重新判斷第二相機模組的影像擷取功能在重置之後是否仍為異常,以在後續修復程序之步驟S03中控制供電模組12停止供電給第二相機模組並在第二相機模組停止運作之後控制供電模組12重新供電給第二相機模組,以修復第二相機模組。In this case, the electronic device 1 includes a camera module 11 as an example. However, the present invention is not limited thereto, and the number of camera modules included in the electronic device 1 may be two or more. If the electronic device 1 includes two camera modules, the processing unit 13 can simultaneously perform detection procedures and repair procedures for the two camera modules. In detail, the processing unit 13 can activate the two camera modules when performing step S01, and determine the two camera modules in step S02 (for convenience of description, the two camera modules are respectively referred to as the first camera module and the first If the image capturing function of the first camera module is abnormal, the processing unit 13 simultaneously executes the detection process of the second camera module and the first camera module. Group of fixes. When performing the repair process of the first camera module, the processing unit 13 controls the first camera module reset in step S06, and the processing unit 13 re-determines the first camera module after controlling the reset of the first camera module. Whether the image capturing function is still abnormal after the resetting, in the step S03 of the subsequent repairing process, the power supply module 12 is controlled to stop supplying power to the first camera module and control the power supply module 12 after the first camera module stops operating. Re-powering the first camera module to repair the first camera module; on the other hand, if the processing unit 13 performs the repair process of the first camera module, it is determined that the image capturing function of the second camera module is abnormal, The processing unit 13 can perform the repair process of the second camera module simultaneously or sequentially. When performing the repair process of the second camera module, the processing unit 13 controls the second camera module reset in step S06, and the processing unit 13 re-determines the second camera module after controlling the second camera module reset. Whether the image capturing function is still abnormal after the resetting, in the step S03 of the subsequent repairing process, the power supply module 12 is controlled to stop supplying power to the second camera module, and the power supply module 12 is controlled after the second camera module stops operating. Re-powering the second camera module to repair the second camera module.
在一實施例中,相機模組11之異常之影像擷取功能係機率性地出現。在相機模組11的影像擷取功能出現異常之前,處理單元13可重複不斷地執行步驟S02,直到相機模組11的影像擷取功能出現異常。當相機模組11的影像擷取功能出現異常時,處理單元13即執行步驟S03、S04,並在執行步驟S03、S04之後再次啟動相機模組11(步驟S01)並判斷影像擷取功能是否異常(步驟S02)。在進行修復程序之後,處理單元13會判斷出影像擷取功能正常,此時處理單元13即停止執行步驟S02而結束其檢測程序及修復程序。待電子裝置1關機,處理單元13在電子裝置1重新開機後之另一開機期間中再執行步驟S01、S02以進行檢測程序,直到相機模組11之影像擷取功能出現異常時執行修復程序。於是,處理單元13可在接收到電子裝置1之使用者啟動相機模組11之影像擷取功能之啟動訊號之前,於電子裝置1的開機過程中或是於運行作業系統時自動地在後台以背景執行之方式執行為BIOS碼之韌體或是軟體,以進行前述之檢測程序;並且,在處理單元13判斷出相機模組11之影像擷取功能異常時亦繼續在後台自動地以背景執行之方式進行前述之修復程序,也就是電子裝置1之使用者並不會察覺到影像擷取功能異常,且使用者亦不會察覺到處理單元13正在進行檢測程序及修復程序,以避免影響使用者之操作。In an embodiment, the abnormal image capture function of the camera module 11 occurs probabilistically. Before the image capturing function of the camera module 11 is abnormal, the processing unit 13 may repeatedly perform step S02 until the image capturing function of the camera module 11 is abnormal. When the image capturing function of the camera module 11 is abnormal, the processing unit 13 executes steps S03 and S04, and starts the camera module 11 again after performing steps S03 and S04 (step S01) and determines whether the image capturing function is abnormal. (Step S02). After the repair process is performed, the processing unit 13 determines that the image capture function is normal. At this time, the processing unit 13 stops executing step S02 and ends the detection process and the repair process. After the electronic device 1 is turned off, the processing unit 13 performs steps S01 and S02 to perform a detection process during another power-on period after the electronic device 1 is restarted, until the image capturing function of the camera module 11 is abnormal. Therefore, before receiving the activation signal of the image capturing function of the camera module 11 by the user of the electronic device 1, the processing unit 13 automatically starts in the background during the startup process of the electronic device 1 or when the operating system is running. The background execution mode is executed as a firmware or firmware of the BIOS code to perform the foregoing detection process; and when the processing unit 13 determines that the image capturing function of the camera module 11 is abnormal, the image module 11 continues to be automatically executed in the background in the background. The method of performing the foregoing repair process, that is, the user of the electronic device 1 does not perceive that the image capturing function is abnormal, and the user does not perceive that the processing unit 13 is performing the detecting program and the repairing program to avoid affecting the use. The operation of the person.
在一實施例中,相機模組11包含影像感測器(image sensor)112,影像感測器112可包含感光耦合元件(Charge-coupled Device;CCD)或互補金屬氧化物半導體(CMOS)元件。影像感測器112用以感測光線並進行影像擷取而產生影像訊號。在步驟S01中,影像感測器112會隨著相機模組11啟動而運作,影像感測器112產生影像訊號。在步驟S02中,處理單元13中再根據影像感測器112產生之影像訊號判斷相機模組11之影像擷取功能是否異常。處理單元13比對影像感測器112所產生之影像訊號是否符合預設之一無影像訊號。無影像訊號係為影像感測器112於其影像擷取功能為異常時所輸出之影像訊號。當影像感測器112所產生之影像訊號符合無影像訊號時,處理單元13即執行步驟S03、S04以進行修復程序。In one embodiment, the camera module 11 includes an image sensor 112, and the image sensor 112 may include a charge-coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) device. The image sensor 112 is configured to sense light and perform image capture to generate an image signal. In step S01, the image sensor 112 operates as the camera module 11 is activated, and the image sensor 112 generates an image signal. In step S02, the processing unit 13 determines whether the image capturing function of the camera module 11 is abnormal according to the image signal generated by the image sensor 112. The processing unit 13 compares whether the image signal generated by the image sensor 112 conforms to a preset one of no image signals. The no-image signal is the image signal output by the image sensor 112 when its image capturing function is abnormal. When the image signal generated by the image sensor 112 matches the no image signal, the processing unit 13 performs steps S03 and S04 to perform the repair process.
如圖1所示,相機模組11更可包含一數位訊號處理器(Digital signal processing;DSP)111,數位訊號處理器111耦接於影像感測器112,數位訊號處理器111用以對影像感測器112產生之影像訊號進行類比數位轉換之訊號處理,以產生為數位訊號之影像訊號。於是,處理單元13亦可藉由判斷數位訊號處理器111產生之數位影像訊號是否符合無影像訊號來判斷相機模組11之影像擷取功能是否異常。As shown in FIG. 1 , the camera module 11 further includes a digital signal processing (DSP) 111. The digital signal processor 111 is coupled to the image sensor 112, and the digital signal processor 111 is used for the image. The image signal generated by the sensor 112 is subjected to analog signal processing of the digital conversion to generate an image signal as a digital signal. Therefore, the processing unit 13 can also determine whether the image capturing function of the camera module 11 is abnormal by determining whether the digital image signal generated by the digital signal processor 111 conforms to the no image signal.
在一實施例中,在處理單元13執行步驟S02之後,若處理單元13判斷出相機模組11的影像擷取功能異常,處理單元13可先判斷相機模組11的重置次數是否達到一預設次數(步驟S05),例如預設次數可三次,若相機模組11的重置次數未達到預設次數,處理單元13始控制相機模組11重置(步驟S06),若相機模組11的重置次數達到預設次數,則處理單元13執行步驟S03以控制供電模組12停止供電給相機模組11而不再控制相機模組11重置。換言之,處理單元13在判斷出相機模組11的影像擷取功能異常之後,處理單元13可不斷地控制相機模組11重置,直到相機模組11的影像擷取功能因重置而正常或是重置次數達到預設次數。當相機模組11的重置次數達到預設次數且其影像擷取功能依然異常時,處理單元13再執行步驟S03、S04來修復相機模組11的影像擷取功能。In an embodiment, after the processing unit 13 performs the step S02, if the processing unit 13 determines that the image capturing function of the camera module 11 is abnormal, the processing unit 13 may first determine whether the number of resets of the camera module 11 reaches a predetermined value. The number of times (step S05), for example, the preset number of times may be three times. If the number of resets of the camera module 11 does not reach the preset number of times, the processing unit 13 controls the camera module 11 to reset (step S06), if the camera module 11 The number of resets reaches a preset number of times, and the processing unit 13 executes step S03 to control the power supply module 12 to stop supplying power to the camera module 11 and no longer control the camera module 11 to reset. In other words, after the processing unit 13 determines that the image capturing function of the camera module 11 is abnormal, the processing unit 13 can continuously control the camera module 11 to reset until the image capturing function of the camera module 11 is normal due to the reset or Is the number of resets to the preset number of times. When the number of resets of the camera module 11 reaches a preset number of times and the image capturing function is still abnormal, the processing unit 13 performs steps S03 and S04 to repair the image capturing function of the camera module 11.
在一實施例中,相機模組11的數位訊號處理器111耦接於前述之重置控制端,在步驟S06中,處理單元13可藉由控制數位訊號處理器111來控制相機模組11重置。再者,處理單元13可執行不同之兩程式來分別進行前述之檢測程序及修復程序(以下將兩程式分別稱為檢測程式及修復程式)。詳細而言,處理單元13係藉由檢測程式來執行檢測程序中之步驟S01、S02、S07,當處理單元13判斷出影像擷取功能異常時,處理單元13再進一步執行修復程式,以執行修復程序中之步驟S05、S06、S03、S04來進行。In an embodiment, the digital signal processor 111 of the camera module 11 is coupled to the reset control terminal. In step S06, the processing unit 13 can control the camera module 11 by controlling the digital signal processor 111. Set. Furthermore, the processing unit 13 can execute two different programs to perform the aforementioned detection programs and repair programs (hereinafter, the two programs are respectively referred to as detection programs and repair programs). In detail, the processing unit 13 executes the steps S01, S02, and S07 in the detection program by the detection program. When the processing unit 13 determines that the image capturing function is abnormal, the processing unit 13 further executes the repair program to perform the repair. Steps S05, S06, S03, and S04 in the program are performed.
在一實施例中,電子裝置1更包含一通用序列匯流排(Universal Serial Bus:USB)連接埠,相機模組11係插置於USB連接埠,相機模組11的電源端連接於USB連接埠的電源線路,相機模組11藉由其電源端接收來自於USB連接埠的電源線路之電力而運作。於此,供電模組12係為USB供電模組,當處理單元13判斷相機模組11的影像擷取功能異常時,處理單元13控制供電模組12停止供電給USB連接埠,使相機模組11無法自USB連接埠接收電力而停止運作。In an embodiment, the electronic device 1 further includes a universal serial bus (USB) port, the camera module 11 is plugged into the USB port, and the power terminal of the camera module 11 is connected to the USB port. The power module, the camera module 11 operates by receiving power from a power line of the USB port on its power terminal. The power supply module 12 is a USB power supply module. When the processing unit 13 determines that the image capturing function of the camera module 11 is abnormal, the processing unit 13 controls the power supply module 12 to stop supplying power to the USB port to enable the camera module. 11 Cannot receive power from the USB port and stop operating.
綜上所述,根據本發明之相機功能的自動測試及修復方法及其電子裝置之一實施例,處理單元可自動執行軟體以檢測影像擷取功能是否異常,並可自動修復異常之影像擷取功能。如此一來,相機模組的維修商不需將搭載有相機模組的電子裝置回收,且電子裝置之使用者僅需藉由更新電子裝置中的軟體或韌體即可修復功能異常之相機模組。In summary, according to an embodiment of the automatic test and repair method of the camera function of the present invention and an electronic device thereof, the processing unit can automatically execute the software to detect whether the image capture function is abnormal, and can automatically repair the abnormal image capture. Features. In this way, the repairer of the camera module does not need to recover the electronic device equipped with the camera module, and the user of the electronic device can repair the abnormal camera model by simply updating the software or firmware in the electronic device. group.
雖然本案已以實施例揭露如上然其並非用以限定本案,任何所屬技術領域中具有通常知識者,在不脫離本案之精神和範圍內,當可作些許之更動與潤飾,故本案之保護範圍當視後附之專利申請範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Any person having ordinary knowledge in the technical field can make some changes and refinements without departing from the spirit and scope of the present case. This is subject to the definition of the scope of the patent application.
1‧‧‧電子裝置1‧‧‧Electronic device
11‧‧‧相機模組 11‧‧‧ camera module
111‧‧‧數位訊號處理器 111‧‧‧Digital Signal Processor
112‧‧‧影像感測器 112‧‧‧Image Sensor
12‧‧‧供電模組 12‧‧‧Power supply module
13‧‧‧處理單元 13‧‧‧Processing unit
S01-S09‧‧‧步驟 S01-S09‧‧‧Steps
[圖1] 為根據本發明之自動測試及修復相機功能之電子裝置之一實施例之方塊圖。 [圖2] 為根據本發明之相機功能之自動測試及修復方法之一實施例之流程圖。1 is a block diagram of an embodiment of an electronic device for automatically testing and repairing camera functions in accordance with the present invention. [Fig. 2] A flow chart showing an embodiment of an automatic test and repair method for a camera function according to the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107104836A TWI668565B (en) | 2018-02-09 | 2018-02-09 | Method and electronic device for automatically testing and repairing camera function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107104836A TWI668565B (en) | 2018-02-09 | 2018-02-09 | Method and electronic device for automatically testing and repairing camera function |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI668565B true TWI668565B (en) | 2019-08-11 |
TW201935238A TW201935238A (en) | 2019-09-01 |
Family
ID=68316216
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107104836A TWI668565B (en) | 2018-02-09 | 2018-02-09 | Method and electronic device for automatically testing and repairing camera function |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI668565B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI712045B (en) * | 2020-01-16 | 2020-12-01 | 慧榮科技股份有限公司 | Hard disk restoring method |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022133976A1 (en) * | 2020-12-25 | 2022-06-30 | 深圳市大疆创新科技有限公司 | Tof module detection method, and electronic device and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200518555A (en) * | 2003-11-27 | 2005-06-01 | Quanta Comp Inc | Test system for portable electronic apparatus and test method thereof |
CN102348105A (en) * | 2010-07-29 | 2012-02-08 | 正文科技股份有限公司 | Digital image supervising device |
TW201622419A (en) * | 2014-09-05 | 2016-06-16 | 英特爾股份有限公司 | Camera calibration |
TWI562634B (en) * | 2014-09-05 | 2016-12-11 | Intel Corp | Multi-target camera calibration |
-
2018
- 2018-02-09 TW TW107104836A patent/TWI668565B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200518555A (en) * | 2003-11-27 | 2005-06-01 | Quanta Comp Inc | Test system for portable electronic apparatus and test method thereof |
CN102348105A (en) * | 2010-07-29 | 2012-02-08 | 正文科技股份有限公司 | Digital image supervising device |
TW201622419A (en) * | 2014-09-05 | 2016-06-16 | 英特爾股份有限公司 | Camera calibration |
TWI562634B (en) * | 2014-09-05 | 2016-12-11 | Intel Corp | Multi-target camera calibration |
TWI590645B (en) * | 2014-09-05 | 2017-07-01 | 英特爾股份有限公司 | Camera calibration |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI712045B (en) * | 2020-01-16 | 2020-12-01 | 慧榮科技股份有限公司 | Hard disk restoring method |
Also Published As
Publication number | Publication date |
---|---|
TW201935238A (en) | 2019-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8887091B2 (en) | Information processing apparatus, method, processor, and recording medium for determining whether information stored in a memory is incorrectly updated | |
TWI479421B (en) | Booting method and electronic device | |
US7900091B2 (en) | Method for recovering basic input output system and computer device thereof | |
TWI668565B (en) | Method and electronic device for automatically testing and repairing camera function | |
TW201432443A (en) | Electronic device and method for detecting boot time of the electronic device | |
CN107766102B (en) | Boot method of dual basic input/output system (BIOS) and electronic device with same | |
US11481496B2 (en) | Information processing apparatus for detecting tampering with software executed at boot time, method for rebooting information processing apparatus, and storage medium | |
TWI439854B (en) | Processing method for booting error | |
TWI591479B (en) | Apparatus and method for initializing port of electronic device | |
EP2645239A1 (en) | Electronic apparatus and booting method | |
TW201716999A (en) | Method for startup inspection and computer system using the same | |
TWI582699B (en) | Boot Status Notification Method and Server System Using the Same | |
TW201314574A (en) | Method and device for updating BIOS program for computer system | |
TWI623834B (en) | Booting method for computer system | |
CN110324607B (en) | Automatic testing and repairing method of camera function and electronic device thereof | |
TWI534609B (en) | Automatic scanning and repair method for electronic devices | |
US9342392B2 (en) | Image forming apparatus, image forming apparatus control method, and recording medium | |
CN115016329A (en) | Control method, control device and electronic equipment | |
TWI720615B (en) | Computer device and shutdown and reboot controlling method thereof | |
TWI736088B (en) | Electronic device and test mode enabling method thereof | |
TW201416976A (en) | Verifying method of computer and electronic device | |
TW201214918A (en) | Computer and method for charging portable electronic apparatus thereof | |
TWI475486B (en) | Method for executing key function and electronic apparatus | |
TWI496085B (en) | Method of updating identification data of a computer system and related computer system | |
TWI612419B (en) | Handheld device and method for detecting component condition |