CN113329222B - Camera function detection method and device - Google Patents

Camera function detection method and device Download PDF

Info

Publication number
CN113329222B
CN113329222B CN202110581993.6A CN202110581993A CN113329222B CN 113329222 B CN113329222 B CN 113329222B CN 202110581993 A CN202110581993 A CN 202110581993A CN 113329222 B CN113329222 B CN 113329222B
Authority
CN
China
Prior art keywords
state
running
camera
detected
camera shooting
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
CN202110581993.6A
Other languages
Chinese (zh)
Other versions
CN113329222A (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.)
Guangzhou Epbox Information Technology Co ltd
Original Assignee
Guangzhou Epbox Information Technology 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 Guangzhou Epbox Information Technology Co ltd filed Critical Guangzhou Epbox Information Technology Co ltd
Priority to CN202110581993.6A priority Critical patent/CN113329222B/en
Publication of CN113329222A publication Critical patent/CN113329222A/en
Application granted granted Critical
Publication of CN113329222B publication Critical patent/CN113329222B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02WCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT
    • Y02W90/00Enabling technologies or technologies with a potential or indirect contribution to greenhouse gas [GHG] emissions mitigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention relates to a method and a device for detecting a camera shooting function. And further, comparing the running state with the corresponding preset running state to obtain comparison data, and finally determining the camera shooting function state of the intelligent device to be detected according to the set of the comparison data. Based on this, through the set of comparison data, richened the variety that the function state detected of making a video recording, satisfy the detection of this complex equipment running state of making a video recording. Meanwhile, a large amount of manual operation is not needed, and the detection workload and the detection time are reduced. And moreover, the camera shooting function state of the intelligent equipment to be detected is judged according to the data characteristics, and the camera shooting function of the intelligent equipment to be detected can be accurately detected under the condition that a calling application program of the camera shooting api cannot be installed, so that a recovery reference is provided for the intelligent equipment to be detected.

Description

Camera shooting function detection method and device
Technical Field
The invention relates to the technical field of electronic products, in particular to a method and a device for detecting a camera shooting function.
Background
With the development of electronic product technology, various intelligent devices such as smart phones, notebook computers, tablet computers, and the like are developed. When the user uses the intelligent device, the main means of man-machine interaction with the intelligent device is realized through the screen of the intelligent device. Therefore, the quality of the screen of the intelligent device plays an important role in the use experience of the user. At present, along with the rapid development of economy and technology, the popularization and the updating speed of intelligent equipment are also faster and faster. Taking a smart phone as an example, the coming of the 5G era accelerates the generation change of the smart phone. In the iterative process of the intelligent equipment, effective recovery is one of effective utilization means of the residual value of the intelligent equipment, and the chemical pollution to the environment and the waste can be reduced.
In the recovery process of the intelligent device, the quality of the camera shooting function of the intelligent device can affect the residual value of the intelligent device. Generally, the recovery intelligent device can detect whether the camera shooting function is normal or not. The abnormal camera shooting function can seriously affect the normal use of the intelligent equipment, and further affect the residual value rate of the intelligent equipment. Therefore, in the recovery process of the intelligent equipment, whether the camera shooting function is normal or not needs to be detected to provide reference for the intelligent equipment recovery evaluation, and the risk of recovering the loss is reduced.
The method comprises the following steps that firstly, after receiving a recovery mobile phone, a professional quality inspector operates an equipment camera application program to observe the camera function of the intelligent equipment so as to judge whether the camera function of the intelligent equipment is abnormal; the other method is to install a detection Application program on the mobile phone, where the detection mechanism is to call an Application Programming Interface (api) disclosed by the smart device manufacturing company, and use the result returned by the api as a basis for determining whether the camera function is normal.
However, the intelligent device often cannot install an application program in the recovery process, the calling requirement of the camera api is difficult to meet, the workload of manual detection is large, and the detection result is unstable. Therefore, the traditional method for detecting whether the camera function of the intelligent device is normal has some defects.
Disclosure of Invention
Therefore, it is necessary to provide a method and an apparatus for detecting an image capturing function, aiming at the defects of the conventional method for detecting whether the image capturing function of the smart device is normal.
A camera function detection method includes the steps:
acquiring a camera shooting running log of the intelligent equipment to be detected in the running process of the camera shooting equipment of the intelligent equipment to be detected;
acquiring the running state of the camera equipment in each running link according to the camera running log;
comparing the running state with the corresponding preset running state to obtain comparison data;
and determining the camera shooting function state of the intelligent equipment to be detected according to the set of the comparison data.
According to the method for detecting the camera shooting function, after the camera shooting running log of the intelligent equipment to be detected is obtained in the running process of the camera shooting equipment of the intelligent equipment to be detected, the running state of the camera shooting equipment in each running link is obtained according to the camera shooting running log. And further, comparing the running state with the corresponding preset running state to obtain comparison data, and finally determining the camera shooting function state of the intelligent device to be detected according to the set of the comparison data. Based on this, through the set of comparison data, richened the variety that the function state detected of making a video recording, satisfy the detection of this complex equipment running state of making a video recording. Meanwhile, a large amount of manual operation is not needed, and the detection workload and the detection time are reduced. And moreover, the camera shooting function state of the intelligent device to be detected is judged according to the data characteristics, and the camera shooting function of the intelligent device to be detected can be accurately detected under the condition that a calling application program of the camera shooting api cannot be installed, so that a recovery reference is provided for the intelligent device to be detected.
In one embodiment, in the process of operating the image capturing device of the intelligent device to be detected, the process of acquiring the image capturing operation log of the intelligent device to be detected includes the following steps:
and acquiring a shooting running log for complete running of each sub-device of the shooting device of the intelligent device to be detected in a preset time period.
In one embodiment, a process of acquiring an operating state of the image capturing apparatus in each operating link according to the image capturing operation log includes:
calculating the state quantity of the running state;
and adjusting the running state according to the number of the sub-devices.
In one embodiment, the process of comparing the operation state with the corresponding preset operation state to obtain the comparison data includes the steps of:
when the running state is matched with the corresponding preset running state, performing first assignment, otherwise, performing second assignment;
and obtaining comparison data according to the first assignment and the second assignment.
In one embodiment, the method further comprises the following steps:
and when the data stream corresponding to the image pickup running log is empty, judging that the state of the image pickup function is unknown.
In one embodiment, the process of determining the camera function state of the to-be-detected smart device according to the set of comparison data includes the steps of:
and determining the camera shooting function state of each camera shooting device according to the corresponding relation between the comparison data set and the preset data set.
In one embodiment, the imaging function state includes an unknown imaging function state, a normal imaging function state, or an abnormal imaging function state.
An image pickup function detecting apparatus comprising:
the log acquisition module is used for acquiring a camera shooting running log of the intelligent equipment to be detected in the running process of the camera shooting equipment of the intelligent equipment to be detected;
the state acquisition module is used for acquiring the running state of the camera equipment in each running link according to the camera running log;
the data comparison module is used for comparing the running state with the corresponding preset running state to obtain comparison data;
and the state detection module is used for determining the camera shooting function state of the intelligent equipment to be detected according to the set of the comparison data.
According to the camera shooting function detection device, in the operation process of the camera shooting equipment of the intelligent equipment to be detected, after the camera shooting operation log of the intelligent equipment to be detected is obtained, the operation state of the camera shooting equipment in each operation link is obtained according to the camera shooting operation log. And further, comparing the running state with the corresponding preset running state to obtain comparison data, and finally determining the camera shooting function state of the intelligent device to be detected according to the set of the comparison data. Based on this, through the set of comparison data, richened the variety that the function state detected of making a video recording, satisfy the detection of this complex equipment running state of making a video recording. Meanwhile, a large amount of manual operation is not needed, and the detection workload and the detection time are reduced. And moreover, the camera shooting function state of the intelligent equipment to be detected is judged according to the data characteristics, and the camera shooting function of the intelligent equipment to be detected can be accurately detected under the condition that a calling application program of the camera shooting api cannot be installed, so that a recovery reference is provided for the intelligent equipment to be detected.
A computer storage medium having stored thereon computer instructions which, when executed by a processor, implement the camera function detection method of any of the above embodiments.
The computer storage medium acquires the camera shooting running log of the intelligent device to be detected in the running process of the camera shooting device of the intelligent device to be detected, and then acquires the running state of the camera shooting device in each running link according to the camera shooting running log. And further, comparing the running state with the corresponding preset running state to obtain comparison data, and finally determining the camera shooting function state of the intelligent device to be detected according to the set of the comparison data. Based on this, through the set of comparison data, richened the variety that the function state detected of making a video recording, satisfy the detection of this complex equipment running state of making a video recording. Meanwhile, a large amount of manual operation is not needed, and the detection workload and the detection time are reduced. And moreover, the camera shooting function state of the intelligent equipment to be detected is judged according to the data characteristics, and the camera shooting function of the intelligent equipment to be detected can be accurately detected under the condition that a calling application program of the camera shooting api cannot be installed, so that a recovery reference is provided for the intelligent equipment to be detected.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of detecting an image capture function of any of the above embodiments when executing the program.
According to the computer equipment, in the running process of the camera equipment of the intelligent equipment to be detected, after the camera running log of the intelligent equipment to be detected is obtained, the running state of the camera equipment in each running link is obtained according to the camera running log. And further, comparing the running state with the corresponding preset running state to obtain comparison data, and finally determining the camera shooting function state of the intelligent device to be detected according to the set of the comparison data. Based on this, through the set of comparison data, richened the variety that the function state detected of making a video recording, satisfy the detection of this complex equipment running state of making a video recording. Meanwhile, a large amount of manual operation is not needed, and the detection workload and the detection time are reduced. And moreover, the camera shooting function state of the intelligent equipment to be detected is judged according to the data characteristics, and the camera shooting function of the intelligent equipment to be detected can be accurately detected under the condition that a calling application program of the camera shooting api cannot be installed, so that a recovery reference is provided for the intelligent equipment to be detected.
Drawings
FIG. 1 is a flowchart of a method for detecting a camera function according to an embodiment;
FIG. 2 is a flowchart of a method for detecting camera function according to another embodiment;
FIG. 3 is a block diagram of an embodiment of an image capture function detection apparatus;
FIG. 4 is a schematic diagram of an internal structure of a computer according to an embodiment.
Detailed Description
For better understanding of the objects, technical solutions and effects of the present invention, the present invention will be further explained with reference to the accompanying drawings and examples. Meanwhile, the following described examples are only for explaining the present invention, and are not intended to limit the present invention.
The intelligent device to be detected can be recovered and detected through the self-service terminal or the recovery machine in the recovery process of the intelligent device to be detected. The self-service terminal or the recovery machine can establish data connection with the intelligent device to be detected in a wired connection or wireless connection mode, and acquire corresponding data of the intelligent device to be detected or transmit the corresponding data to the intelligent device to be detected. Meanwhile, the self-service terminal or the recovery machine can be used as a computing platform for hardware detection, or data are sent to a cloud server to complete computing. Based on the method, in the recovery detection of the self-service terminal or the recovery machine, the camera shooting function detection method is provided for the hardware detection of the intelligent device to be detected.
Fig. 1 is a flowchart illustrating an image capture function detection method according to an embodiment, and as shown in fig. 1, the image capture function detection method according to an embodiment includes steps S100 to S103:
s100, acquiring a camera shooting running log of the intelligent equipment to be detected in the running process of the camera shooting equipment of the intelligent equipment to be detected;
the camera equipment of the intelligent equipment to be detected comprises one or more cameras and a control device or an auxiliary device corresponding to the cameras. During the operation of the camera equipment, the camera is opened, closed, shot, switched or shot and the like, and the camera, the control device or the auxiliary device completes various operations in the operation process to form a complete operation link. Wherein the camera, the control device or the auxiliary device constitute a subset of the camera equipment.
In one embodiment, the user or the third-party automatic operation device may actively perform corresponding operations on the image capturing apparatus according to corresponding prompts or instructions, for example, turn on or off the image capturing apparatus, adjust shooting of the image capturing apparatus, and the like.
In one embodiment, the intelligent device to be detected comprises an ios device. The self-service terminal or the recovery machine is connected with the USB data of the intelligent device to be detected, the self-service terminal or the recovery machine runs the usbmuxd daemon to establish a connecting channel with the intelligent device to be detected, and the self-service terminal or the recovery machine communicates with the intelligent device to be detected according to the connecting channel. After the connection channel is established, the self-service terminal or the recovery machine starts an idevicesyslog capturing program, captures a system running log of the intelligent device to be detected, reads the running log of the intelligent device to be detected through the idevicessyslog capturing program, and stores the running log into a log cache list to be analyzed. The system operation log comprises a shooting operation log of the intelligent device to be detected.
In one embodiment, fig. 2 is a flowchart of a method for detecting a camera function according to another embodiment, and as shown in fig. 2, a process of acquiring a camera operation log of an intelligent device to be detected in an operation process of the camera device of the intelligent device to be detected in step S100 includes step S200:
s200, acquiring a shooting running log of the complete running of each sub-device of the shooting device of the intelligent device to be detected in a preset time period.
In one embodiment, the preset time period may be adjusted according to the number of sub-devices or the number of operation links of the camera device of the intelligent device to be detected. And the number of the obtained camera shooting running logs is limited by determining the preset time period, so that the subsequent data processing amount is reduced. As a preferred embodiment, the setting of the preset time period provides enough time to capture the camera shooting operation log of each operation link of each piece of sub-equipment.
S101, acquiring the running state of the camera equipment in each running link according to the camera running log;
the operation state comprises the opening or closing of the camera, the switching of the camera, the focal length adjustment of the camera and the like according to operation links such as the opening of the camera, the closing of the camera, the shooting of the camera, the switching of the camera or the adjustment of the shooting in the operation of the camera equipment. In one embodiment, taking the smart device to be detected as a smart phone as an example, the same operation state further includes a state of a front camera and a state of a rear camera.
In one embodiment, as shown in fig. 2, the process of acquiring the operating state of the image capturing apparatus in each operating link according to the image capturing operation log in step S101 includes steps S201 and S202:
s201, calculating the state quantity of the running state;
s202, adjusting the running state according to the number of the sub-devices.
The number of states of the operating states is linearly related to the number of the sub-devices, and the larger the number of the sub-devices is, the larger the number of states of the operating states is.
In one embodiment, the operation state is corrected by calculating the number of the sub-devices determined in advance through the mapping relation historical data of the state number of the operation state and the number of the sub-devices established in advance, wherein the mapping relation historical data comprises the operation state increasing, the operation state decreasing and the like.
S102, comparing the running state with a corresponding preset running state to obtain comparison data;
and converting the comparison result of the running state and the corresponding preset running state into comparison data. To better explain step S102, the operating state is reflected in a table with the corresponding predetermined operating state relationship:
Figure BDA0003082962760000081
as shown in the above table, in one embodiment, as shown in fig. 2, the process of comparing the operation state with the corresponding preset operation state in step S102 to obtain the comparison data includes step S203 and step S204:
s203, when the running state is matched with the corresponding preset running state, carrying out first assignment, otherwise, carrying out second assignment;
and S204, obtaining comparison data according to the first assignment and the second assignment.
As shown in the table above, the first assignment is performed when the operation state matches the corresponding preset operation state, otherwise the second assignment is performed. For example, when the front camera operating state is on, the matching first assignment is 000 and the non-matching assignment is 001.
And obtaining comparison data through the combination of the first assignment and the second assignment, wherein the combined comparison data is 000001.
And S103, determining the camera shooting function state of the intelligent equipment to be detected according to the set of the comparison data.
In one embodiment, as shown in fig. 2, the process of determining the camera function state of the smart device to be detected according to the set of comparison data in step S103 includes step S205:
and S205, determining the camera shooting function state of each camera shooting device according to the corresponding relation between the comparison data set and the preset data set.
In one embodiment, the imaging function state includes an unknown imaging function state, a normal imaging function state, or an abnormal imaging function state.
In one embodiment, as shown in fig. 2, the image capturing function detecting method according to another embodiment further includes step S206:
and S206, when the data stream corresponding to the image pickup operation log is empty, judging that the image pickup function state is unknown.
In the method for detecting a camera function according to any of the embodiments, after the camera running log of the to-be-detected intelligent device is obtained in the running process of the to-be-detected intelligent device, the running state of the camera in each running link is obtained according to the camera running log. And further, comparing the running state with the corresponding preset running state to obtain comparison data, and finally determining the camera shooting function state of the intelligent device to be detected according to the set of the comparison data. Based on this, through the set of comparison data, abundant the variety that makes a video recording the functional state detects, satisfy the detection of this complex equipment running state of making a video recording. Meanwhile, a large amount of manual operation is not needed, and the detection workload and the detection time are reduced. And moreover, the camera shooting function state of the intelligent equipment to be detected is judged according to the data characteristics, and the camera shooting function of the intelligent equipment to be detected can be accurately detected under the condition that a calling application program of the camera shooting api cannot be installed, so that a recovery reference is provided for the intelligent equipment to be detected.
The embodiment of the invention also provides a camera shooting function detection device.
Fig. 3 is a block diagram of an image capture function detection apparatus according to an embodiment, and as shown in fig. 3, the image capture function detection apparatus according to an embodiment includes a block 100, a block 101, a block 102, and a block 103:
the log obtaining module 100 is configured to obtain a camera operation log of the to-be-detected intelligent device in an operation process of the to-be-detected intelligent device;
a state acquisition module 101, configured to acquire an operating state of the image capturing apparatus in each operating link according to the image capturing operation log;
the data comparison module 102 is configured to compare the running state with a corresponding preset running state to obtain comparison data;
and the state detection module 103 is configured to determine a camera shooting function state of the to-be-detected smart device according to the set of comparison data.
According to the camera shooting function detection device, in the operation process of the camera shooting equipment of the intelligent equipment to be detected, after the camera shooting operation logs of the intelligent equipment to be detected are obtained, the operation state of the camera shooting equipment in each operation link is obtained according to the camera shooting operation logs. And further, comparing the running state with the corresponding preset running state to obtain comparison data, and finally determining the camera shooting function state of the intelligent device to be detected according to the set of the comparison data. Based on this, through the set of comparison data, richened the variety that the function state detected of making a video recording, satisfy the detection of this complex equipment running state of making a video recording. Meanwhile, a large amount of manual operation is not needed, and the detection workload and the detection time are reduced. And moreover, the camera shooting function state of the intelligent equipment to be detected is judged according to the data characteristics, and the camera shooting function of the intelligent equipment to be detected can be accurately detected under the condition that a calling application program of the camera shooting api cannot be installed, so that a recovery reference is provided for the intelligent equipment to be detected.
An embodiment of the present invention further provides a computer storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, the method for detecting a camera function according to any of the above embodiments is implemented.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the methods of the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a RAM, a ROM, a magnetic or optical disk, or various other media that can store program code.
Corresponding to the computer storage medium, in one embodiment, a computer device is further provided, where the computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement any one of the image capture function detection methods in the embodiments.
The computer device may be a terminal, and its internal structure diagram may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an image capture function detection method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
According to the computer equipment, in the running process of the camera equipment of the intelligent equipment to be detected, after the camera running log of the intelligent equipment to be detected is obtained, the running state of the camera equipment in each running link is obtained according to the camera running log. And further, comparing the running state with the corresponding preset running state to obtain comparison data, and finally determining the camera shooting function state of the intelligent device to be detected according to the set of the comparison data. Based on this, through the set of comparison data, richened the variety that the function state detected of making a video recording, satisfy the detection of this complex equipment running state of making a video recording. Meanwhile, a large amount of manual operation is not needed, and the detection workload and the detection time are reduced. And moreover, the camera shooting function state of the intelligent equipment to be detected is judged according to the data characteristics, and the camera shooting function of the intelligent equipment to be detected can be accurately detected under the condition that a calling application program of the camera shooting api cannot be installed, so that a recovery reference is provided for the intelligent equipment to be detected.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only show some embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that various changes and modifications can be made by those skilled in the art without departing from the spirit of the invention, and these changes and modifications are all within the scope of the invention. Therefore, the protection scope of the present patent should be subject to the appended claims.

Claims (8)

1. An image pickup function detecting method, comprising the steps of:
acquiring a camera shooting running log of the intelligent equipment to be detected in the running process of the camera shooting equipment of the intelligent equipment to be detected;
acquiring the running state of the camera equipment in each running link according to the camera running log;
the process of acquiring the running state of the camera equipment in each running link according to the camera running log comprises the following steps:
calculating the state quantity of the running state;
adjusting the running state according to the number of the sub-devices of the camera device;
comparing the running state with a corresponding preset running state to obtain comparison data;
the process of comparing the running state with the corresponding preset running state to obtain comparison data comprises the following steps:
when the running state is matched with the corresponding preset running state, performing first assignment, otherwise performing second assignment;
obtaining comparison data according to the first assignment and the second assignment;
and determining the camera shooting function state of the intelligent equipment to be detected according to the set of the comparison data.
2. The method for detecting the camera shooting function according to claim 1, wherein the process of acquiring the camera shooting running log of the intelligent device to be detected in the running process of the camera shooting device of the intelligent device to be detected comprises the steps of:
and acquiring a shooting running log for complete running of each sub-device of the shooting device of the intelligent device to be detected in a preset time period.
3. The image capturing function detecting method according to claim 1, further comprising the steps of:
and when the data stream corresponding to the image pickup running log is empty, judging that the image pickup function state is unknown.
4. The method according to claim 1, wherein the process of determining the camera function state of the smart device to be detected according to the set of comparison data includes:
and determining the camera shooting function state of the intelligent equipment to be detected according to the set of the comparison data and a preset data set.
5. The image capturing function detecting method according to claim 1, wherein the image capturing function state includes an unknown image capturing function state, a normal image capturing function state, or an abnormal image capturing function state.
6. An image pickup function detecting apparatus, comprising:
the log acquisition module is used for acquiring a camera shooting running log of the intelligent equipment to be detected in the running process of the camera shooting equipment of the intelligent equipment to be detected;
the state acquisition module is used for acquiring the running state of the camera equipment in each running link according to the camera running log;
the process of obtaining the running state of the camera equipment in each running link according to the camera running log comprises the following steps:
calculating the state quantity of the running state;
adjusting the running state according to the number of the sub-devices of the camera device;
the data comparison module is used for comparing the running state with a corresponding preset running state to obtain comparison data;
the state detection module is used for determining the camera shooting function state of the intelligent equipment to be detected according to the set of the comparison data;
the process of comparing the running state with the corresponding preset running state to obtain comparison data comprises the following steps:
when the operation state is matched with the corresponding preset operation state, performing first assignment, otherwise, performing second assignment;
and obtaining comparison data according to the first assignment and the second assignment.
7. A computer storage medium having computer instructions stored thereon, wherein the computer instructions, when executed by a processor, implement the image capture function detection method of any one of claims 1 to 5.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the camera function detection method according to any one of claims 1 to 5 when executing the program.
CN202110581993.6A 2021-05-25 2021-05-25 Camera function detection method and device Active CN113329222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110581993.6A CN113329222B (en) 2021-05-25 2021-05-25 Camera function detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110581993.6A CN113329222B (en) 2021-05-25 2021-05-25 Camera function detection method and device

Publications (2)

Publication Number Publication Date
CN113329222A CN113329222A (en) 2021-08-31
CN113329222B true CN113329222B (en) 2023-03-28

Family

ID=77421479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110581993.6A Active CN113329222B (en) 2021-05-25 2021-05-25 Camera function detection method and device

Country Status (1)

Country Link
CN (1) CN113329222B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11922467B2 (en) 2020-08-17 2024-03-05 ecoATM, Inc. Evaluating an electronic device using optical character recognition

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713902A (en) * 2016-11-24 2017-05-24 乐视控股(北京)有限公司 Camera module fault detection method and apparatus, and terminal
CN110086921B (en) * 2019-04-28 2021-09-14 深圳回收宝科技有限公司 Method and device for detecting performance state of terminal, portable terminal and storage medium
CN110381310B (en) * 2019-07-23 2021-02-05 北京猎户星空科技有限公司 Method and device for detecting health state of visual system
CN211630227U (en) * 2020-03-23 2020-10-02 广州绿怡信息科技有限公司 Old cell-phone quality detection case
CN112257755B (en) * 2020-09-24 2023-07-28 北京航天测控技术有限公司 Method and device for analyzing running state of spacecraft
CN112631913B (en) * 2020-12-23 2024-02-02 平安银行股份有限公司 Method, device, equipment and storage medium for monitoring operation faults of application program
CN112672145B (en) * 2020-12-31 2023-02-17 广州绿怡信息科技有限公司 Camera shooting function detection method and device

Also Published As

Publication number Publication date
CN113329222A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
CN112672145B (en) Camera shooting function detection method and device
CN110288599B (en) Dead pixel detection method and device, electronic equipment and storage medium
CN113238905B (en) Screen jumpiness detection method and device
CN113268162A (en) Screen replacement detection method and device
CN109408261B (en) Application program crash processing method and device, computer equipment and storage medium
US9256513B2 (en) Method, apparatus and computer readable medium for automatic debugging and error prevention
CN111985391B (en) Method and device for detecting protective film, mobile terminal and storage medium
CN113329222B (en) Camera function detection method and device
CN113254294B (en) Equipment restarting detection method and device
CN113301202A (en) Call detection method and device
CN117240859A (en) Automatic adjustment method, device, equipment and storage medium for equalization parameters of transmitting end
CN113238680A (en) Screen touch and break detection method and device
CN111090593A (en) Method, device, electronic equipment and storage medium for determining crash attribution
CN114374795B (en) Photographing brightness adjusting method and device applied to recovery detection
CN113220648A (en) Audio function detection method and device
CN113254293A (en) Fingerprint function detection method and device
CN105389812A (en) Computer vision-based vehicle-mounted information terminal function automatic test method
CN113220647A (en) Vibration function detection method and device
CN113422860B (en) Method and device for detecting abnormal call
CN110648314B (en) Method, device and equipment for identifying flip image
CN113254292A (en) Distance sensing function detection method and device
CN113237473A (en) Compass function detection method and device
WO2024093005A1 (en) Battery capacity prediction method and apparatus, and electronic device
CN113034493A (en) Camera detection model training method and camera detection method
CN114299293A (en) Image machine vision preprocessing method and device applied to recovery detection

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant