CN115767075A - Test method, electronic device, and storage medium - Google Patents

Test method, electronic device, and storage medium Download PDF

Info

Publication number
CN115767075A
CN115767075A CN202211353792.1A CN202211353792A CN115767075A CN 115767075 A CN115767075 A CN 115767075A CN 202211353792 A CN202211353792 A CN 202211353792A CN 115767075 A CN115767075 A CN 115767075A
Authority
CN
China
Prior art keywords
camera
tested
shooting
testing tool
calling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211353792.1A
Other languages
Chinese (zh)
Inventor
陈功
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yibin Tianlong Communication Co ltd
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Yibin Tianlong Communication Co ltd
Shenzhen Tinno Wireless 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 Yibin Tianlong Communication Co ltd, Shenzhen Tinno Wireless Technology Co Ltd filed Critical Yibin Tianlong Communication Co ltd
Priority to CN202211353792.1A priority Critical patent/CN115767075A/en
Priority to PCT/CN2022/135793 priority patent/WO2024092943A1/en
Publication of CN115767075A publication Critical patent/CN115767075A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B43/00Testing correct operation of photographic apparatus or parts thereof
    • G03B43/02Testing shutters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a test method, electronic equipment and a storage medium, wherein the test method comprises the following steps: sending a preset number of shooting instructions to a camera to be tested of the electronic equipment at fixed intervals, and acquiring the number of pictures shot by the camera to be tested; in response to the fact that the number of pictures shot by the camera to be tested is smaller than the preset number of times, prolonging the fixed time, and sending a shooting instruction of the preset number of times to the camera to be tested again; and determining the corresponding fixed time length as the response time of the camera to be tested in response to the fact that the number of the pictures shot by the camera to be tested is equal to the preset number of times. By the method, the accuracy of the response time of the camera to be tested of the electronic equipment can be improved.

Description

Test method, electronic device, and storage medium
Technical Field
The invention is applied to the technical field of camera test, in particular to a test method, electronic equipment and a storage medium.
Background
With the rapid development of the cameras, consumers have increasingly strong cravings for rapid photographing and imaging of various cameras. The determination of when the camera can take the next shot after taking a picture, i.e., its response time, is also relatively time consuming.
The common scheme in the market is that a camera shooting button is rapidly and continuously triggered for multiple times when shooting is conducted on a stopwatch, then stopwatch pictures shot by two pictures are taken out, human eyes read out the data of the picture stopwatch, then difference is made, the time difference is approximately equal to the time difference of two times of continuous shooting success, the average value is obtained after multiple tests, and the time is the time of the next shooting success after one-time mode shooting is completed.
The scheme has the following defects: because the click speed of each finger is inconsistent, if the performance of the camera is good, the test result is very different.
Disclosure of Invention
The invention provides a testing method, electronic equipment and a storage medium, which aim to solve the problem of low testing accuracy of a camera.
In order to solve the above technical problem, the present invention provides a testing method, including: sending a preset number of shooting instructions to a camera to be tested of the electronic equipment at fixed intervals, and acquiring the number of pictures shot by the camera to be tested; in response to the fact that the number of pictures shot by the camera to be tested is smaller than the preset number of times, prolonging the fixed time length; sending a preset number of shooting instructions to the camera to be tested again; and determining the corresponding fixed time length as the response time of the camera to be tested in response to the fact that the number of the pictures shot by the camera to be tested is equal to the preset number of times.
The method comprises the following steps of sending a preset number of shooting instructions to a camera to be tested of the electronic equipment at fixed intervals, and acquiring the number of pictures shot by the camera to be tested, wherein the steps comprise: calling an automatic testing tool to connect a camera to be tested; calling an automatic testing tool to simulate the shooting operation of the camera to be tested, and issuing shooting instructions of preset times to the camera to be tested based on the shooting operation at intervals of fixed duration; and detecting the photos in the gallery of the camera to be tested, and determining the number of the photos shot by the camera to be tested.
The method comprises the following steps of sending a preset number of shooting instructions to a camera to be tested of the electronic equipment through shooting operation at fixed intervals, wherein the steps comprise: and emptying the photos in the gallery of the camera to be tested.
The step of connecting the camera to be tested by calling the automatic testing tool comprises the following steps: acquiring a camera to be tested, and determining the position of a function button of the camera to be tested, wherein the function button comprises a shooting button; connecting a camera to be tested by calling an automatic testing tool; the method comprises the following steps of calling an automatic testing tool to simulate the shooting operation of a camera to be tested, and issuing a shooting instruction of preset times to the camera to be tested based on the shooting operation at intervals of fixed duration: and calling an automatic testing tool by using the position of the shooting button to simulate the shooting operation of the camera to be tested, and issuing a shooting instruction of preset times to the camera to be tested based on the shooting operation at intervals of fixed duration.
Wherein the function buttons further comprise a plurality of scene buttons; the method comprises the following steps of calling an automatic testing tool to simulate the shooting operation of a camera to be tested, and issuing a shooting instruction of preset times to the camera to be tested based on the shooting operation at intervals of fixed duration: calling an automatic testing tool to trigger the current scene mode of the camera to be tested by utilizing the position of a scene button; in the current scene mode, an automatic testing tool is called by utilizing the position of a shooting button to simulate the shooting operation of the camera to be tested, and shooting instructions of preset times are issued to the camera to be tested based on the shooting operation at intervals of fixed duration; the step of determining the corresponding fixed time length as the response time of the camera to be tested comprises the following steps: and determining the corresponding fixed time length as the response time of the camera to be tested in the current scene mode.
The method comprises the following steps of determining the corresponding fixed time length as the response time of the camera to be tested in the current scene mode: and calling an automatic testing tool by using the positions of other scene buttons to change the current scene mode of the camera to be tested, sending a preset number of shooting instructions to the camera to be tested at intervals of fixed time, and determining the response time of the camera to be tested in the changed current scene mode until determining the response time of the camera to be tested in all scene modes.
The camera to be tested comprises a camera of the intelligent terminal.
Wherein the single extension time lengths of the fixed time lengths are equal, and the range of the single extension time lengths is 40-60 milliseconds.
To solve the above technical problem, the present invention provides an electronic device, comprising: a memory and a processor coupled to each other, the processor being configured to execute program instructions stored in the memory to implement a testing method as in any one of the above.
To solve the above technical problem, the present invention provides a computer-readable storage medium storing program data that can be executed to implement the test method according to any one of the above.
The invention has the beneficial effects that: different from the situation of the prior art, the method and the device have the advantages that the fixed time length is preset, the camera to be tested is issued with the shooting instruction with the preset times based on the fixed time length, the fixed time length is prolonged when the number of the pictures shot by the camera to be tested is smaller than the preset times, the shooting instruction with the preset times is issued to the camera to be tested again until the number of the pictures shot by the camera to be tested is equal to the preset times, the corresponding fixed time length is determined as the response time of the camera to be tested, so that the test normalization can be improved, and the accuracy of the response time of the camera to be tested is improved.
Drawings
FIG. 1 is a schematic flow chart of an embodiment of a testing method provided by the present invention;
FIG. 2 is a schematic flow chart of another embodiment of a testing method provided by the present invention;
FIG. 3 is a schematic structural diagram of an embodiment of an electronic device provided in the present invention;
fig. 4 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative position relationship between the components, the motion situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
In addition, if there is a description of "first", "second", etc. in an embodiment of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of a testing method according to an embodiment of the present invention.
Step S11: and sending a preset number of shooting instructions to a camera to be tested of the electronic equipment at fixed intervals, and acquiring the number of pictures shot by the camera to be tested.
And acquiring a camera to be tested of the electronic equipment. The electronic device includes an intelligent terminal, a single lens reflex, a monitoring camera, a digital camera, and the like, which is not limited herein.
And sending a preset number of shooting instructions to a camera to be tested of the electronic equipment at fixed intervals. That is, when the camera to be tested is issued with the shooting instructions for the preset times, the interval duration between every two adjacent shooting instructions is fixed duration.
The specific duration of the fixed duration can be set based on actual conditions, and is not limited herein, for example, the specific duration is set based on the estimated response time lower than the response time of the camera to be tested, so as to avoid the occurrence of the condition that the fixed duration is higher than the response time of the camera to be tested, which affects the accuracy of the test. Wherein the estimated response time can be determined based on the performance of the camera to be tested.
The preset number of times may be set based on actual conditions, for example, 10 times, 15 times, and the like, and is not limited herein. The more the preset times are, the more accurate the response time of the camera to be tested is finally determined.
After the camera to be tested is sent with a preset number of shooting instructions at fixed intervals, the number of pictures shot by the camera to be tested is obtained. The number of pictures shot by the camera to be tested indicates the number of successful shooting of the camera to be tested under the shooting instruction of the preset times.
Step S12: in response to the fact that the number of pictures shot by the camera to be tested is smaller than the preset number of times, prolonging the fixed time; and issuing a preset number of shooting instructions to the camera to be tested again.
After the number of pictures shot by the camera to be tested is obtained, the number of the pictures shot by the camera to be tested and the preset times are judged.
And responding to the fact that the number of the pictures shot by the camera to be tested is smaller than the preset times, indicating that the setting of the fixed time length is lower than the response time of the camera to be tested, prolonging the fixed time length, and issuing a shooting instruction of the preset times to the camera to be tested again so as to perform retest.
Step S13: and determining the corresponding fixed duration as the response time of the camera to be tested in response to the fact that the number of pictures shot by the camera to be tested is equal to the preset number.
And responding to the fact that the number of the pictures shot by the camera to be tested is equal to the preset number, indicating that the setting of the fixed time length is equal to the response time of the camera to be tested, and determining the corresponding fixed time length, namely the prolonged fixed time length as the response time of the camera to be tested.
Through the steps, the testing method of the embodiment is characterized in that a fixed time length is preset, the camera to be tested is issued with the shooting instruction of the preset times based on the fixed time length, the fixed time length is prolonged when the number of the pictures shot by the camera to be tested is smaller than the preset times, the shooting instruction of the preset times is issued to the camera to be tested again until the number of the pictures shot by the camera to be tested is equal to the preset times, and the corresponding fixed time length is determined as the response time of the camera to be tested, so that the testing standardization can be improved, and the accuracy of the response time of the camera to be tested is improved.
In other embodiments, if the fixed duration is not set based on the estimated response time lower than the estimated response time of the camera to be tested, it may be determined that the fixed duration is equal to or greater than the response time of the camera to be tested in response to the number of pictures taken by the camera to be tested being equal to the preset number of times, and the fixed duration may be reduced, and the camera to be tested is issued with the shooting instruction of the preset number of times again until the number of pictures taken by the camera to be tested is less than the preset number of times, and the fixed duration corresponding to the last shooting of the preset number of times is determined as the response time of the camera to be tested.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating a testing method according to another embodiment of the invention.
Step S21: and calling an automatic testing tool to connect the camera to be tested.
The method includes acquiring a to-be-tested camera of the electronic device, wherein the to-be-tested camera may include a camera of an intelligent terminal, for example: a camera on a cell phone, etc.
The position of the function button of the camera to be tested is determined, the function button can comprise a shooting button and a plurality of scene buttons, each scene corresponds to the scene shooting mode of the camera to be tested, wherein the scene shooting mode of the camera to be tested can comprise: HDR (High Dynamic Range Imaging) mode, night view mode, portrait mode, and the like. In a specific application scenario, when the camera to be tested includes a camera on a mobile phone, the camera application information on the mobile phone can be obtained first, and the function button of the camera page is obtained through element positioning. In other application scenarios, when the camera to be tested is a camera of other types, the position of the function button of the camera to be tested can also be acquired in other manners.
And calling an automatic testing tool to connect the camera to be tested. The automatic testing tool may include an Appium automatic testing tool, an automatic tester 2 automatic testing tool, and the like, which is not limited herein.
Before shooting for each preset number of times, clearing the photos in the gallery of the camera to be tested so as to avoid influence of the historical photos on the photos shot by the camera to be tested, thereby reducing the test reliability of the camera to be tested and improving the accuracy of the finally obtained response time of the camera to be tested.
Step S22: calling an automatic testing tool to simulate the shooting operation of the camera to be tested, and issuing shooting instructions of preset times to the camera to be tested based on the shooting operation at intervals of fixed duration; and detecting the photos in the gallery of the camera to be tested, and determining the number of the photos shot by the camera to be tested.
After the automatic testing tool is called to connect the camera to be tested, the automatic testing tool is called to simulate the shooting operation of the camera to be tested to send a shooting instruction.
In a specific application scenario, when the camera to be tested is a camera on a mobile phone, an automatic testing tool can be called, a shooting button on the mobile phone can be called through a click () function, and a shooting instruction is issued through simulating shooting operation of the camera to be tested.
In a specific application scene, an automatic testing tool can be called by using the position of a shooting button to simulate the shooting operation of the camera to be tested, and shooting instructions of preset times are issued to the camera to be tested through the shooting operation at intervals of fixed duration.
In a specific application scene, an automatic testing tool can be called by using the position of a scene button to trigger the current scene mode of the camera to be tested; and under the current scene mode, an automatic testing tool is called by utilizing the position of a shooting button to simulate the shooting operation of the camera to be tested, and a shooting instruction with preset times is issued to the camera to be tested based on the shooting operation at intervals of fixed duration.
The automatic testing tool is called to control shooting of the camera to be tested, the automatic testing tool is suitable for all types of electronic equipment, automatic operation is achieved in the whole testing process, manual intervention is not needed in operation, interference of human factors is reduced, and accuracy and reliability of the whole testing process are improved.
In a specific application scenario, when the camera to be tested is a camera on a mobile phone, the fixed time in this step may be set to 200ms, and the response time of a general mobile phone is not less than this time, so setting the fixed time to 200ms may avoid the situation that the fixed time is longer than the response time of the camera to be tested, which affects the accuracy of the test.
Namely, the shooting operation of the camera to be tested is simulated by an automatic testing tool according to the position of the shooting button at a fixed time interval each time, the preset times are repeated, and the sending of the shooting instruction of the preset times is completed. The preset times may include 10 times, 15 times, and the like, and the specific number is not limited herein.
After the preset times of issuing of the shooting instructions are completed, the photos in the gallery of the camera to be tested are detected, and the number of the photos shot by the camera to be tested is determined.
Step S23: in response to the fact that the number of pictures shot by the camera to be tested is smaller than the preset number of times, prolonging the fixed time; and sending a preset number of shooting instructions to the camera to be tested again.
After the number of the pictures shot by the camera to be tested is obtained, the number of the pictures shot by the camera to be tested and the preset times are judged.
In a specific application scene, in response to the fact that the number of the pictures shot by the camera to be tested is smaller than the preset number of times, the fixed duration is prolonged, the pictures in the picture library of the camera to be tested are emptied, and the camera to be tested is issued with the shooting instruction of the preset number of times again.
The single extension durations of the fixed durations are equal, the range of the single extension durations is 40-60 milliseconds, specifically, 40 milliseconds, 42 milliseconds, 43 milliseconds, 45 milliseconds, 48 milliseconds, 50 milliseconds, 51 milliseconds, 53 milliseconds, 55 milliseconds, 58 milliseconds or 60 milliseconds, and the like, but the single extension durations of the fixed durations in the test process of the same camera to be tested are the same. I.e. each time the fixed duration is extended, a fixed duration of 40-60 ms is extended. By setting the single extension range to be 40-60 milliseconds, the test accuracy of the embodiment can be 40-60 milliseconds, and therefore the test accuracy of the embodiment on the response time of the camera is improved.
Step S24: and determining the corresponding fixed time length as the response time of the camera to be tested in response to the fact that the number of the pictures shot by the camera to be tested is equal to the preset number of times.
And determining the corresponding fixed time length as the response time of the camera to be tested in the current scene mode in response to the fact that the number of the pictures shot by the camera to be tested is equal to the preset times.
In the embodiment, the response time of the camera to be tested is gradually approached by gradually prolonging the fixed time length step by step through the controllable stepping value, so that the accurate test value of the response time is obtained.
In a specific application scenario, when the fixed time length is 200 milliseconds and the single time extension time of the fixed time length is 50 milliseconds, the number of pictures taken by the camera to be tested determined in step S22 is less than the preset number of times, the fixed time length is increased by 50 milliseconds to be 250 milliseconds, after the pictures in the gallery of the camera to be tested are emptied, the camera to be tested is issued with the shooting instruction of the preset number of times again based on the fixed time length of 250 milliseconds, then the size between the number of pictures taken by the camera to be tested and the preset number of times is judged, if the number of pictures taken by the camera to be tested is still less than the preset number of times, the fixed time length is increased by 50 milliseconds to be 300 milliseconds, after the pictures in the gallery of the camera to be tested are emptied, the shooting instruction of the preset number of times is issued again based on the fixed time length of 300 milliseconds, and so on, until the number of pictures taken by the camera to be tested is equal to the preset number of times, the corresponding fixed time length is determined as the response time of the camera to be tested in the current scene mode. And if the number of the pictures shot by the camera to be tested is equal to the preset number, determining 300 milliseconds as the response time of the camera to be tested in the current scene mode.
After the response time of the camera to be tested in the current scene mode is obtained, the current scene mode of the camera to be tested is replaced by the aid of the automatic testing tool according to positions of other scene buttons, shooting instructions of preset times are issued to the camera to be tested at intervals of fixed time, the response time of the camera to be tested in the replaced current scene mode is determined, and the response time of the camera to be tested in all the scene modes is determined. Namely, the operation of the steps S22-S23 is repeated to determine the response time of the camera to be tested in all scene modes.
The current scene mode of the camera to be tested is replaced by the automatic testing tool according to the positions of other scene buttons, so that the automatic switching of each scene mode can be realized, the time of the whole testing process is reduced, and the accuracy of scene mode switching is improved.
Through the steps, the testing method of the embodiment is characterized in that a fixed time length is preset, the camera to be tested is issued with the shooting instruction with the preset times based on the fixed time length, the fixed time length is prolonged when the number of pictures shot by the camera to be tested is smaller than the preset times, the shooting instruction with the preset times is issued to the camera to be tested again until the number of the pictures shot by the camera to be tested is equal to the preset times, and the corresponding fixed time length is determined as the response time of the camera to be tested, so that the testing standardization can be improved, and the accuracy of the response time of the camera to be tested is improved. The automatic testing tool is used for controlling shooting of the camera to be tested, the automatic testing tool is suitable for all types of mobile terminals, automatic operation is achieved in the whole testing process, manual intervention is not needed in operation, interference of human factors is reduced, and accuracy and reliability of the whole testing process are improved. The embodiment further gradually approaches the response time of the camera to be tested through the controllable stepping value by gradually prolonging the fixed time length, so that an accurate test value of the response time is obtained. In addition, the current scene mode of the camera to be tested is replaced by the automatic testing tool according to the positions of other scene buttons, so that the automatic switching of each scene mode can be realized, the time of the whole testing process is reduced, and the accuracy of the scene mode switching is improved.
In other embodiments, if the fixed duration is not set based on the estimated response time that is less than the estimated response time of the camera to be tested, after step S22, it may also be determined that the set of the fixed duration is equal to or greater than the response time of the camera to be tested in response to the number of pictures taken by the camera to be tested being equal to the preset number of times, which may reduce the fixed duration, issue a shooting instruction of the preset number of times to the camera to be tested again until the number of pictures taken by the camera to be tested is less than the preset number of times, and determine the fixed duration corresponding to the last shooting of the preset number of times as the response time of the camera to be tested.
Based on the same inventive concept, the present invention further provides an electronic device, which can be executed to implement the testing method of any of the above embodiments, please refer to fig. 3, fig. 3 is a schematic structural diagram of an embodiment of the electronic device provided by the present invention, and the electronic device includes a processor 31 and a memory 32.
The processor 31 is arranged to execute program instructions stored in the memory 32 to carry out the steps of any of the above-described test methods. In one particular implementation scenario, the electronic devices may include, but are not limited to: the electronic device may further include a mobile device such as a notebook computer and a tablet computer, which is not limited herein.
In particular, the processor 31 is configured to control itself and the memory 32 to implement the steps of any of the above embodiments. The processor 31 may also be referred to as a CPU (Central Processing Unit). The processor 31 may be an integrated circuit chip having signal processing capabilities. The Processor 31 may also be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, the processor 31 may be commonly implemented by integrated circuit chips.
According to the scheme, the accuracy of testing the response time of the camera to be tested can be improved.
Based on the same inventive concept, the present invention further provides a computer-readable storage medium, please refer to fig. 4, and fig. 4 is a schematic structural diagram of an embodiment of the computer-readable storage medium provided in the present invention. The computer-readable storage medium 40 has stored therein at least one program data 41, the program data 41 being for implementing any of the methods described above. In one embodiment, the computer-readable storage medium 40 includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the embodiments provided in the present invention, it should be understood that the disclosed method and apparatus can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium, or in a part of or all of the technical solution that contributes to the prior art.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
The above description is only an embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are included in the scope of the present invention.

Claims (10)

1. A method of testing, the method comprising:
sending a preset number of shooting instructions to a camera to be tested of the electronic equipment at intervals of fixed duration, and acquiring the number of pictures shot by the camera to be tested;
in response to the fact that the number of the pictures shot by the camera to be tested is smaller than the preset number of times, prolonging the fixed time; issuing shooting instructions for preset times to the camera to be tested again;
and determining the fixed time length as the response time of the camera to be tested in response to the fact that the number of the pictures shot by the camera to be tested is equal to the preset number of times.
2. The testing method of claim 1, wherein the step of issuing a preset number of shooting instructions to a camera to be tested of the electronic device at a fixed interval and acquiring the number of photos shot by the camera to be tested comprises:
calling an automatic testing tool to connect the camera to be tested;
calling the automatic testing tool to simulate the shooting operation of the camera to be tested, and issuing shooting instructions of preset times to the camera to be tested based on the shooting operation at intervals of the fixed duration;
and detecting the photos in the gallery of the camera to be tested, and determining the number of the photos shot by the camera to be tested.
3. The testing method of claim 2, wherein the step of issuing a preset number of shooting instructions to a camera to be tested of the electronic device through the shooting operation at the interval of the fixed duration comprises:
and clearing the photos in the gallery of the camera to be tested.
4. The testing method of claim 2, wherein the step of invoking an automated testing tool to connect to the camera to be tested comprises:
acquiring a camera to be tested, and determining the position of a function button of the camera to be tested, wherein the function button comprises a shooting button;
connecting a camera to be tested by calling the automatic testing tool;
the step of calling the automatic testing tool to simulate the shooting operation of the camera to be tested and issuing a preset number of shooting instructions to the camera to be tested based on the shooting operation at intervals of the fixed duration comprises the following steps:
and calling the automatic testing tool to simulate the shooting operation of the camera to be tested by utilizing the position of the shooting button, and issuing a shooting instruction of preset times to the camera to be tested based on the shooting operation at intervals of the fixed time length.
5. The test method of claim 4, wherein the function buttons further comprise a plurality of scene buttons;
the step of calling the automatic testing tool to simulate the shooting operation of the camera to be tested and issuing a preset number of shooting instructions to the camera to be tested based on the shooting operation at intervals of the fixed duration comprises the following steps:
calling the automatic testing tool to trigger the current scene mode of the camera to be tested by utilizing the position of one scene button;
in the current scene mode, calling the automatic testing tool to simulate the shooting operation of the camera to be tested by using the position of the shooting button, and issuing a shooting instruction of preset times to the camera to be tested based on the shooting operation at intervals of the fixed time length;
the step of determining the corresponding fixed duration as the response time of the camera to be tested comprises the following steps:
and determining the corresponding fixed duration as the response time of the camera to be tested in the current scene mode.
6. The testing method of claim 5, wherein the step of determining the corresponding fixed duration as the response time of the camera to be tested in the current scene mode further comprises:
and calling the automatic testing tool by using the positions of other scene buttons to replace the current scene mode of the camera to be tested, issuing shooting instructions for preset times to the camera to be tested at intervals of fixed time, and determining the response time of the camera to be tested in the replaced current scene mode until determining the response time of the camera to be tested in all scene modes.
7. The testing method of claim 1, wherein the camera to be tested comprises a camera of an intelligent terminal.
8. The test method according to claim 1, wherein the single extension periods of the fixed period are equal and the single extension period ranges from 40 to 60 milliseconds.
9. An electronic device, characterized in that the electronic device comprises: a memory and a processor coupled to each other, the processor being configured to execute program instructions stored in the memory to implement a testing method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores program data executable to implement the test method according to any one of claims 1 to 8.
CN202211353792.1A 2022-10-31 2022-10-31 Test method, electronic device, and storage medium Pending CN115767075A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211353792.1A CN115767075A (en) 2022-10-31 2022-10-31 Test method, electronic device, and storage medium
PCT/CN2022/135793 WO2024092943A1 (en) 2022-10-31 2022-12-01 Test method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211353792.1A CN115767075A (en) 2022-10-31 2022-10-31 Test method, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
CN115767075A true CN115767075A (en) 2023-03-07

Family

ID=85354901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211353792.1A Pending CN115767075A (en) 2022-10-31 2022-10-31 Test method, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN115767075A (en)
WO (1) WO2024092943A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4031739A (en) * 1976-07-22 1977-06-28 Springer Barry R Autoranging method and system for testing the speeds of a camera shutter
WO2014057654A1 (en) * 2012-10-12 2014-04-17 セイコーエプソン株式会社 Method, display device, and device for measuring shutter time lag; method for manufacturing camera; method for measuring camera display delay; and device for measuring display delay
CN107094249A (en) * 2017-03-31 2017-08-25 腾讯科技(上海)有限公司 A kind of method and device for testing camera delay
CN110441984A (en) * 2019-09-18 2019-11-12 深圳飞马机器人科技有限公司 A kind of test macro and test method of camera shutter response time lag

Also Published As

Publication number Publication date
WO2024092943A1 (en) 2024-05-10

Similar Documents

Publication Publication Date Title
CN106802935B (en) Page fluency testing method and device
CN108288044B (en) Electronic device, face recognition method and related product
CN109542777B (en) Pressure testing method and device and readable medium
EP3127323A1 (en) Method and apparatus for controlling image capture
CN113228622A (en) Image acquisition method, image acquisition device and storage medium
CN116580657A (en) Fault detection method, device, equipment and computer readable storage medium
CN115767075A (en) Test method, electronic device, and storage medium
CN113160873A (en) Memory test method and device, electronic equipment and storage medium
CN113438473B (en) Method and device for testing camera shutter lag time and terminal equipment
CN111225196B (en) Focusing test method and device
CN112102796B (en) Method and device for acquiring ambient light information by using camera and terminal equipment
CN115866154A (en) Time delay measuring method, device and system of vehicle-mounted multi-camera system and automobile
CN115250349A (en) Sensor testing method and related device
CN116859248A (en) Battery cycle life prediction method, device and storage medium
CN111866785B (en) Terminal, parameter measurement method, device and storage medium
CN111064885B (en) Quick photographing method, mobile terminal and computer readable storage medium
KR20180060786A (en) Electronic device and method for auto focusing thereof
CN112835667A (en) Interface element positioning method, equipment and storage medium
CN116939196B (en) Camera on-time testing system and method
CN112616013A (en) Method and apparatus for implementing automatic HDR
CN105763801B (en) Control method, control device and electronic device
WO2018170727A1 (en) Method and apparatus for determining pickup parameters and electronic equipment
CN112347745B (en) Method and device for acquiring file generation progress, electronic device and storage medium
CN110875590A (en) Electrostatic protection circuit, method and device of sensor chip
CN113132625B (en) Scene image acquisition method, storage medium and equipment

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