Terminal focusing performance test method and device

By shooting and line-pair interpretation of multiple focus test pictures on the mobile terminal, the accuracy and reproducibility of the focus performance test of the mobile terminal is solved, and high-precision multi-scene focus performance evaluation and simplified operation are achieved.

CN120343232APending Publication Date: 2025-07-18SHENZHEN TECNO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510472227.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-15
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In the prior art, the focus performance test of mobile terminals is inaccurate, the scene is difficult to reproduce, the judgment error is large, the test scenario is single, and professional personnel need to operate cumbersome.

Method used

By shooting the test image card based on the preset photo settings, multiple focus test pictures are obtained, and the focus performance time is analyzed using the line pair interpretation algorithm, including the close-up view and long-range close-up photo shooting settings, and the terminal focus performance testing device is used for automated control and data analysis.

Benefits of technology

It improves the accuracy and simplicity of focus performance testing, can accurately evaluate focus performance in multiple scenarios, reduces artificial errors, and simplifies the testing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120343232A_ABST
    Figure CN120343232A_ABST
Patent Text Reader

Abstract

The invention provides a terminal focusing performance test method and device, and the method comprises the following steps: S1, photographing a test graphic card based on preset photographing setting, and sequentially obtaining a plurality of focusing test pictures; and S2, acquiring the focusing performance time of the test terminal according to the line pairs of the plurality of focusing test pictures. After the focusing test pictures are obtained, the focusing performance time of the test terminal is confirmed according to the line pairs of the focusing test pictures, the focusing performance test precision is improved, and the operation is simple.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of mobile terminals, and specifically relates to a method and device for testing the focusing performance of a terminal. Background Art

[0002] With the development of mobile terminal technology, more and more people begin to choose to use mobile terminals to replace dedicated cameras for image shooting. The focusing performance of a mobile terminal affects the shooting quality of the mobile terminal, and the focusing performance includes the clarity of the focused object captured by the mobile terminal.

[0003] Currently, it is usually up to humans to check whether the focused object in the image is clear, and everyone's judgment on whether the focused object in the image is clear is not objective, resulting in inaccurate focusing tests for mobile terminals. Another method is to use log files to read the code to calculate the time, which requires professional software personnel to read the code to calculate the time and the cooperation of professionals, and the application is relatively cumbersome.

[0004] In the process of conceiving and implementing the present application, the inventors found that there are at least the following problems: the scene is difficult to reproduce; the error in determining the focusing time is large; the test scene is single, etc.

[0005] The foregoing description is for the purpose of providing general background information and does not necessarily constitute prior art. Summary of the Invention

[0006] In view of the above technical problems, the present application provides a method and device for testing the focusing performance of a terminal, which have high focusing performance test accuracy, support multi-scene focusing tests, and are simple and convenient to operate.

[0007] To solve the above technical problems, the present application provides a method for testing the focusing performance of a terminal, the method comprising the following steps: S1: Based on a preset photographing setting, photograph a test chart, and sequentially obtain a plurality of focusing test pictures; S2: Obtain the focusing performance time of the test terminal according to the line pairs of the plurality of focusing test pictures.

[0008] Optionally, the preset photographing setting includes: a near-view to far-view photographing setting and a far-view to near-view photographing setting; the test chart includes: a near-view chart and a far-view chart.

[0009] Optionally, the near-view to far-view photographing setting includes: moving the near-view chart away through a rotating device and starting timing; when reaching a target duration, controlling the test terminal to photograph the far-view chart to obtain a far-view focusing test picture; restoring the near-view chart through the rotating device so that the test terminal focuses on the near-view chart; obtaining the current photographing count; when the current photographing count is equal to a preset photographing count, stop photographing; when the current photographing count is less than the preset photographing count, execute the step of quickly moving the near-view chart away through the rotating device and starting timing.

[0010] Optionally, the long - distance and short - distance photographing settings include: restoring the short - distance picture card through a rotating device and starting timing; when the target time duration is reached, controlling the test terminal to photograph the short - distance picture card to obtain a short - distance focus test picture; moving the short - distance picture card away through the rotating device so that the test terminal can focus on the long - distance picture card; obtaining the current number of photographing times; stopping photographing when the current number of photographing times is equal to the preset number of photographing times; and when the current number of photographing times is less than the preset number of photographing times, performing the steps of restoring the short - distance picture card through the rotating device and starting timing.

[0011] Optionally, preset the preset number of photographing times, the start time, and the photographing interval time of the test terminal.

[0012] Optionally, before the step of S1, it further includes: presetting the focus test distance between the short - distance picture card and the long - distance picture card and the test terminal; adjusting the illuminance of the test environment so that the illuminance difference between the short - distance picture card and the long - distance picture card is within the threshold range.

[0013] Optionally, respectively set the focus test distance between the short - distance picture card and the long - distance picture card and the test terminal; adjust the illuminance of the test environment where the test terminal is located so that the illuminance difference between the short - distance picture card and the long - distance picture card is within the threshold range.

[0014] Optionally, the step of S2 includes: starting from the first focus test picture, analyzing through a preset line pair interpretation algorithm to obtain the first target picture with the highest line pair interpretation; obtaining the start photographing time corresponding to the first target picture and confirming the start photographing time as the focus performance time of the test terminal.

[0015] This application also provides a terminal focus performance test device for performing the terminal focus performance test method described in any one of the above - mentioned manners, including: a main control device, a test terminal module, a short - distance test module, a long - distance test module, an illuminance adjustment module, and a programmable sliding guide; the test terminal module, the short - distance test module, and the long - distance test module are all installed on the programmable sliding guide; the main control device is used to control the test terminal module, the short - distance test module, the long - distance test module, the illuminance adjustment module, and the programmable sliding guide; the test terminal module photographs the short - distance picture card of the short - distance test module or the long - distance picture card of the long - distance test module according to the photographing instruction sent by the main control device; the short - distance test module controls the rotation of the short - distance picture card according to the rotation instruction sent by the main control device.

[0016] Optionally, the test terminal module includes: a test terminal fixed bracket, a programmable robotic arm, and a test terminal; the test terminal fixed bracket is installed on the programmable sliding guide rail; the programmable robotic arm and the test terminal are both installed on the test terminal fixed bracket; the programmable robotic arm is configured to control the test terminal to take pictures according to the shooting instructions sent by the master control device.

[0017] Optionally, the close-up test module includes: a mobile close-up bracket, a rotating device, and a close-up chart; the mobile close-up bracket is installed on the programmable sliding guide rail, and the rotating device is installed at the top of the mobile close-up bracket; the close-up chart is installed on the rotating device, and the rotating device is used to control the rotation of the close-up chart.

[0018] The present application also provides an intelligent terminal, including: a memory and a processor, wherein a terminal focusing performance test program is stored on the memory, and when the terminal focusing performance test program is executed by the processor, the steps of the above method are implemented.

[0019] The present application also provides a computer storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0020] As described above, the terminal focusing performance test method of the present application includes the steps: S1: taking pictures of a test chart based on preset shooting settings, and sequentially obtaining multiple focusing test pictures; S2: obtaining the focusing performance time of the test terminal according to the line pairs of the multiple focusing test pictures. Through the above technical solution, the commonly used clarity algorithms MTF and SFR, which are sensitive to dark environment noise, can be optimized by the method of line pair interpretation, thereby improving the accuracy of the focusing performance test and further enhancing the user experience. Description of the Drawings

[0021] The drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0022] Figure 1 Schematic diagram of the hardware structure of an intelligent terminal for implementing various embodiments of the present application;

[0023] Figure 2 Schematic diagram of a communication network system architecture provided by an embodiment of the present application;

[0024] Figure 3 It is a schematic flowchart of a terminal focusing performance test method shown according to the first embodiment;

[0025] Figure 4 It is a specific flowchart of a near - to - far - view photo - taking setting method shown according to the first embodiment;

[0026] Figure 5 It is a specific flowchart of a far - and - near - view photo - taking setting method shown according to the first embodiment;

[0027] Figure 6 It is a schematic structural diagram of a terminal focusing performance test device shown according to the second embodiment;

[0028] Figure 7 It is a schematic diagram of a near - view card or a far - view card shown according to the second embodiment.

[0029] The realization of the purpose of this application, functional features and advantages will be further described in combination with the embodiments with reference to the accompanying drawings. Through the above - mentioned accompanying drawings, the clear embodiments of this application have been shown, and there will be more detailed descriptions hereinafter. These drawings and written descriptions are not intended to limit the scope of the concept of this application in any way, but to explain the concept of this application to those skilled in the art by referring to specific embodiments. Specific Embodiments

[0030] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. On the contrary, they are merely examples of devices and methods consistent with some aspects of this application as detailed in the appended claims.

[0031] It should be noted that in this text, the term "including", "comprising" or any other variant thereof is intended to cover non - exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or device including that element. In addition, components, features, elements with the same name in different embodiments of this application may have the same meaning or different meanings, and their specific meanings need to be determined based on their explanations in the specific embodiments or further in combination with the context of the specific embodiments.

[0032] It should be understood that although terms such as first, second, and third may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this document, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining". Furthermore, as used in this document, the singular forms "a", "an", and "the" are also intended to include the plural forms unless the context indicates otherwise. It should be further understood that the terms "comprising", "including" indicate the presence of the stated features, steps, operations, elements, components, items, kinds, and / or groups, but do not exclude the presence, occurrence, or addition of one or more other features, steps, operations, elements, components, items, kinds, and / or groups. The terms "or", "and / or", "including at least one of the following" used in this application may be interpreted inclusively, or mean any one or any combination. For example, "including at least one of the following: A, B, C" means "any one of the following: A; B; C; A and B; A and C; B and C; A and B and C", and again, "A, B, or C" or "A, B, and / or C" means "any one of the following: A; B; C; A and B; A and C; B and C; A and B and C". An exception to this definition only occurs when the combination of elements, functions, steps, or operations is inherently mutually exclusive in some way.

[0033] It should be understood that although the steps in the flowchart in the embodiments of this application are shown in sequence according to the indication of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this document, the execution of these steps has no strict order limitation, and they can be executed in other orders. Moreover, at least a part of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same moment, but can be executed at different moments, and their execution order is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or sub-steps or stages of other steps.

[0034] Depending on the context, the words "if", "when" as used herein may be interpreted as "when" or "while" or "in response to determining" or "in response to detecting". Similarly, depending on the context, the phrase "if determined" or "if detecting (stated condition or event)" may be interpreted as "when determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)".

[0035] It should be noted that in this text, step codes such as S1 and S2 are adopted. The purpose is to more clearly and briefly express the corresponding content, and it does not constitute a substantial limitation in terms of sequence. Those skilled in the art may execute S20 first and then S10 during specific implementation, etc., but these should all fall within the protection scope of this application.

[0036] It should be understood that the specific embodiments described herein are only used to explain this application and are not used to limit this application.

[0037] In subsequent descriptions, suffixes such as "module", "component", or "unit" used to represent elements are only for the convenience of explaining this application, and they have no specific meaning in themselves. Therefore, "module", "component", or "unit" can be used interchangeably.

[0038] The intelligent terminal can be implemented in various forms. For example, the intelligent terminal described in this application can include intelligent terminals such as mobile phones, tablet computers, laptop computers, palmtop computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.

[0039] In the subsequent description, the mobile terminal will be used as an example for illustration. Those skilled in the art will understand that, except for the elements specifically for mobile purposes, the structure according to the embodiments of this application can also be applied to fixed-type terminals.

[0040] Please refer to Figure 1 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of this application. The mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an A / V (audio / video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111, etc. Those skilled in the art can understand that Figure 1 the mobile terminal structure shown in

[0041] does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. Figure 1 The following will specifically introduce each component of the mobile terminal:

[0042] The radio frequency unit 101 can be used for receiving and transmitting information or signals during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor 110. Additionally, it sends the uplink data to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, antennas, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc. Moreover, the radio frequency unit 101 can also communicate with the network and other devices via wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution), and 5G, etc.

[0043] WiFi belongs to short-distance wireless transmission technology. The mobile terminal can help users send and receive emails, browse the web, and access streaming media through the WiFi module 102, which provides users with wireless broadband Internet access. Although Figure 1 the WiFi module 102 is shown, it can be understood that it is not an essential component of the mobile terminal and can be omitted entirely within the scope of not changing the essence of the invention according to needs.

[0044] The audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in call signal reception mode, call mode, recording mode, voice recognition mode, broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to specific functions executed by the mobile terminal 100 (such as call signal reception sound, message reception sound, etc.). The audio output unit 103 can include a speaker, a buzzer, etc.

[0045] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes the image data of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frames can be displayed on the display unit 106. The image frames processed by the GPU 1041 can be stored in the memory 109 (or other storage media) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sounds (audio data) via the microphone 1042 in operating modes such as a phone call mode, a recording mode, a voice recognition mode, etc., and can process such sounds into audio data. The processed audio (voice) data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 in the case of the phone call mode. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) the noise or interference generated during the reception and transmission of audio signals.

[0046] The mobile terminal 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used in applications for identifying the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as a pedometer, tapping), etc.; as for other sensors that the mobile phone can also be configured with, such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., they will not be elaborated here.

[0047] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 can be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), etc.

[0048] The user input unit 107 can be used to receive input numerical or character information and generate key signal inputs related to the user settings and function control of the mobile terminal. Optionally, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the touch operations of the user thereon or nearby (such as the operations of the user using any suitable object or accessory such as a finger, a stylus, etc. on or near the touch panel 1071), and drive the corresponding connection device according to a preset program. The touch panel 1071 can include two parts: a touch detection device and a touch controller. Optionally, the touch detection device detects the touch orientation of the user, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 110, and can receive and execute the commands sent by the processor 110. In addition, the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may further include other input devices 1072. Optionally, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, a joystick, etc., and are not specifically limited here.

[0049] Optionally, the touch panel 1071 may cover the display panel 1061. After the touch panel 1071 detects a touch operation thereon or nearby, it transmits the operation to the processor 110 to determine the type of touch event. Subsequently, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in Figure 1 the touch panel 1071 and the display panel 1061 are implemented as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to realize the input and output functions of the mobile terminal, and are not specifically limited here.

[0050] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, and so on. The interface unit 108 can be used to receive inputs from external devices (such as data information, power, etc.) and transmit the received inputs to one or more components within the mobile terminal 100 or can be used to transmit data between the mobile terminal 100 and external devices.

[0051] The memory 109 can be used to store software programs and various data. The memory 109 mainly includes a program storage area and a data storage area. Optionally, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, phone book, etc.). In addition, the memory 109 can include high-speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0052] The processor 110 is the control center of the mobile terminal, connecting various parts of the entire mobile terminal through various interfaces and lines. By running or executing software programs and / or modules stored in the memory 109, and by calling data stored in the memory 109, it executes various functions of the mobile terminal and processes data, thereby monitoring the mobile terminal as a whole. The processor 110 can include one or more processing units; preferably, the processor 110 can integrate an application processor and a modem processor. Optionally, the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 110.

[0053] The mobile terminal 100 can also include a power supply 111 (such as a battery) for powering each component. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system.

[0054] Although Figure 1 not shown, the mobile terminal 100 can also include a Bluetooth module, etc., which will not be elaborated here.

[0055] To facilitate the understanding of the embodiments of the present application, the communication network system on which the mobile terminal of the present application is based will be described below.

[0056] Please refer to Figure 2 , Figure 2 which is an architecture diagram of a communication network system provided by an embodiment of the present application. This communication network system is an LTE system of the general mobile communication technology. This LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and the operator's IP service 204 that are sequentially communicatively connected.

[0057] Optionally, the UE 201 may be the above-mentioned terminal 100, which will not be elaborated here.

[0058] The E-UTRAN 202 includes an eNodeB 2021 and other eNodeBs 2022, etc. Optionally, the eNodeB 2021 may be connected to other eNodeBs 2022 through a backhaul (such as the X2 interface), the eNodeB 2021 is connected to the EPC 203, and the eNodeB 2021 may provide access for the UE 201 to the EPC 203.

[0059] The EPC 203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving GateWay) 2034, a PGW (PDN Gate Way) 2035, a PCRF (Policy and Charging Rules Function) 2036, etc. Optionally, the MME 2031 is a control node that processes the signaling between the UE 201 and the EPC 203 and provides bearer and connection management. The HSS 2032 is used to provide some registers to manage functions such as a home location register (not shown in the figure) and stores some user-specific information such as service characteristics and data rates. All user data can be sent through the SGW 2034. The PGW 2035 may provide IP address allocation for the UE 201 and other functions. The PCRF 2036 is a policy and charging control policy decision point for service data flows and IP bearer resources, and it selects and provides available policy and charging control decisions for a policy and charging enforcement function unit (not shown in the figure).

[0060] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem), or other IP services, etc.

[0061] Although the above has been described by taking the LTE system as an example, those skilled in the art should be aware that this application is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems (such as 5G), etc., which are not limited here.

[0062] Based on the above mobile terminal hardware structure and communication network system, various embodiments of this application are proposed.

[0063] The first embodiment

[0064] Please refer to Figure 3 , Figure 3 , which is a schematic flowchart of the terminal focusing performance test method shown according to the first embodiment.

[0065] As Figure 3 shown, the terminal focusing performance test method shown in an embodiment of the present application includes the following steps:

[0066] S1: Based on preset photographing settings, photograph a test chart, and sequentially obtain multiple focusing test pictures.

[0067] Among them, the preset photographing settings include: close-up to long-shot photographing settings and long-shot to close-up photographing settings. The test chart includes: a close-up chart and a long-shot chart.

[0068] As Figure 4 shown, the close-up to long-shot photographing settings specifically include the following steps:

[0069] S11: Move the close-up chart away through a rotating device and start timing.

[0070] Specifically, the rotating device can rotate the close-up chart by 90°, so as to move the close-up chart out of the shooting area of the test terminal; after moving the close-up chart away, immediately start the timer for timing. It should be noted that the subsequent steps can confirm the focusing performance time of the test terminal through this timing duration.

[0071] S12: When reaching the target duration, control the test terminal to photograph the long-shot chart to obtain a long-shot focusing test picture.

[0072] Specifically, when the timing duration is equal to the target duration, control the test terminal to photograph the long-shot chart. The long-shot focusing test picture can also be called a close-up to long-shot focusing test picture.

[0073] It should be noted that the target duration is adjusted according to the current number of photographing times. For example, set the starting time of photographing as T0 (which can be regarded as the focusing performance time used for the first photographing), the interval time as Tstep (which can be regarded as the duration to be increased for the next photographing), and the count i = 0 (i is related to the number of photographing times and can be used to limit the number of photographing times); the target duration = T0 + Tstep * i, that is, the larger the number of photographing times, the longer the target duration.

[0074] The close-up chart and the long-shot chart are on the same horizontal line; when the rotating device does not move the close-up chart away, the test terminal can only photograph the close-up chart; after the rotating device moves the close-up chart away, the test terminal can photograph the long-shot chart.

[0075] S13: Restore the close - up card through the rotating device so that the test terminal can complete focusing on the close - up card.

[0076] Specifically, before shooting the distant - view card, making the test terminal complete focusing on the close - up card is conducive to detecting the focusing performance time of the test terminal when switching from close - up to distant - view.

[0077] S14: Obtain the current number of photos taken.

[0078] S15: Determine whether the current number of photos taken is greater than or equal to the preset number of photos taken.

[0079] S16: If so, stop shooting.

[0080] S17: If not, execute the steps of quickly moving the close - up card away through the rotating device and starting the timing.

[0081] Through the above method, the test of the focusing performance time when the test terminal switches from close - up to distant - view can be realized.

[0082] As Figure 5 shown, the settings for taking photos when switching from distant - view to close - up specifically include the following steps:

[0083] S21: Restore the close - up card through the rotating device and start the timing.

[0084] Specifically, the rotating device can rotate the close - up card by 90°, thus moving the close - up card out of the shooting area of the test terminal; after moving the close - up card away, immediately start the timer for timing. It should be noted that the subsequent steps can confirm the focusing performance time of the test terminal through this timing duration.

[0085] S22: When reaching the target duration, control the test terminal to take a photo of the close - up card to obtain a close - up focusing test picture.

[0086] Specifically, when the timing duration is equal to the target duration, control the test terminal to take a photo of the distant - view card. The close - up focusing test picture can also be called a distant - view - to - close - up focusing test picture.

[0087] It should be noted that the target duration will be adjusted according to the current number of photos taken. For example, set the starting time of taking photos as T0, the interval time as Tstep, and the count i = 0 (i is related to the number of photos taken and can be used to limit the number of photos taken); the target duration = T0+Tstep*i.

[0088] The close - up card and the distant - view card are on the same horizontal line; when the rotating device does not move the close - up card away, the test terminal can only take pictures of the close - up card; after the rotating device moves the close - up card away, the test terminal can take pictures of the distant - view card.

[0089] S23: Move the close - up picture card away through the rotating device so that the test terminal can focus on the distant - view picture card.

[0090] Specifically, before taking the close - up picture card, making the test terminal focus on the distant - view picture card is conducive to detecting the focusing performance time of the test terminal when switching from the distant - view to the close - up.

[0091] S24: Obtain the current number of photo - taking times.

[0092] S25: Determine whether the current number of photo - taking times is greater than or equal to the preset number of photo - taking times.

[0093] S26: If so, stop taking pictures.

[0094] S27: If not, execute the steps of quickly moving the close - up picture card away through the rotating device and starting the timing.

[0095] Through the above method, the test of the focusing performance time of the test terminal when switching from the distant - view to the close - up can be realized.

[0096] Optionally, before the steps of S1, it includes: presetting the preset number of photo - taking times, the start time, and the shooting interval time of the test terminal.

[0097] Specifically, preset the preset number of photo - taking times, the start time, and the shooting interval time according to the actual needs. During the test, the target duration can be gradually extended automatically according to the number of photo - taking times, the start time, and the shooting interval time, so as to gradually test the focusing performance time of the test terminal.

[0098] Optionally, before the steps of S1, it also includes: respectively setting the focusing test distances between the close - up picture card and the distant - view picture card and the test terminal; adjusting the test - environment illuminance of the test environment where the test terminal is located so that the illuminance difference between the close - up picture card and the distant - view picture card is within the threshold range.

[0099] Specifically, set the close - up distance and the distant - view distance according to the test requirements, and set the test - environment illuminance of the space where it is located.

[0100] By setting the test - environment illuminance of the space where it is located, the AE and AWB stats of the test terminal before and after the movement of the close - up picture card can be made consistent, ensuring the stability of AE and AWB, thus eliminating the interference to the AF performance test.

[0101] S2: Obtain the focusing performance time of the test terminal according to the line pairs of multiple focusing test pictures.

[0102] Line pairs is a technical term in the field of cinematography such as film and lenses. A pair of lines includes a white line and a black line, while in the television field, "scan lines" are used. 1 line pair = 2 lines, that is, two television lines.

[0103] Specifically, analyze the focus test picture captured in the above process (either the close-up focus test picture or the long-distance focus test picture), and calculate the focus time. For example, through a preset line pair interpretation algorithm, start analyzing from the first picture / photo based on the number of photos taken, and find the first picture with the highest line pair interpretation. The start time of taking this picture (i.e., the target duration, T0 + Tstep*i) is the focus performance time of the test terminal.

[0104] It should be noted that if there is only one picture with the highest line pair interpretation in the focus test picture, the number of photos taken needs to be increased to retake the focus test picture. Only when there are multiple pictures with the highest line pair interpretation can it be ensured that the test terminal completes focusing on the test picture.

[0105] The terminal focus performance test method provided in this embodiment gradually extends the photo-taking / shooting time according to the number of photos taken, and then obtains the first picture with the highest line pair judgment from the focus test pictures through line pair interpretation, and selects the photo-taking time of this picture as the focus performance time of the test terminal. It can optimize the sensitivity problems of common sharpness algorithms MTF and SFR to dark environment noise, with high focus performance test accuracy and small error, and can also be used for focus performance time tests in multiple scenarios.

[0106] Second Embodiment

[0107] Please refer to Figure 6 , Figure 6 which is a schematic structural diagram of the terminal focus performance test device shown in the second embodiment. The terminal focus performance test device shown in this embodiment can be used to execute the terminal focus performance test method described in any one of the above.

[0108] As Figure 6 shown, the terminal focus performance test device includes: a main control device 12, a test terminal module (not shown in the figure, 2 + 6 + 8), a close-up test module (not shown in the figure, 3 + 5 + 10), a long-distance test module (not shown in the figure, 4 + 11), an illuminance adjustment module 7, and a programmable sliding guide 1.

[0109] Optionally, the test terminal module, the close-up test module, and the long-distance test module are all installed on the programmable sliding guide; the main control device is used to control the test terminal module, the close-up test module, the long-distance test module, the illuminance adjustment module, and the programmable sliding guide; the test terminal module takes pictures of the close-up card of the close-up test module or the long-distance card of the long-distance test module according to the shooting instruction sent by the main control device; the close-up test module controls the rotation of the close-up card according to the rotation instruction sent by the main control device.

[0110] Optionally, the test terminal module includes: a test terminal fixing bracket, a programmable robotic arm, and a test terminal; the test terminal fixing bracket is installed on the programmable sliding guide rail; both the programmable robotic arm and the test terminal are installed on the test terminal fixing bracket; the programmable robotic arm is used to control the test terminal to take pictures according to the shooting instructions sent by the master device.

[0111] Optionally, the close-up test module includes: a mobile close-up bracket, a rotating device, and a close-up card; the mobile close-up bracket is installed on the programmable sliding guide rail, and a rotating device is installed at the top of the mobile close-up bracket; the close-up card is installed on the rotating device, and the close-up card is controlled to rotate through the rotating device.

[0112] Specifically, the test terminal module includes: a test terminal fixing bracket 2, a programmable robotic arm 6, and a test terminal 8. The close-up test module includes: a programmable mobile close-up bracket 3, a rotating device 5, and a close-up card 10. The long-distance test module includes: a programmable mobile long-distance bracket 4 and a long-distance card 11. Among them, the close-up card and the long-distance card are as Figure 7 shown.

[0113] Optionally, an illuminance sensor 9 is provided above the close-up card, which can be used to detect the ambient illuminance when the close-up card is moved away or restored.

[0114] Optionally, the surrounding walls of the space where the terminal focus performance test device is located are 18% gray walls.

[0115] The test room wall is 18% gray, and the average reflectance of the close-up card and the long-distance card is 18%. By adjusting the programmable light source, ensure that the illuminance at the illuminance sensor is within the error range when the close-up card is in the test terminal preview screen and when the preview screen is moved away. Through the foregoing conditions, to ensure that the AE and AWB stats of the test terminal before and after the movement of the close-up card are consistent, ensure the stability of AE and AWB, and eliminate the interference to the AF performance test.

[0116] Exemplarily, the working principle of the terminal focus performance test device is as follows:

[0117] The first step: At the master device 12 end, set the close-up and long-distance distances according to the test requirements. The adjustable stroke of the programmable mobile close-up bracket 3 from the test terminal fixing bracket (2) is 3 cm - 50 cm, and the adjustable stroke of the programmable mobile long-distance bracket 4 from the test terminal fixing bracket (2) is 3 m - 5 m. The brackets 3 and 4 can be moved through the driving motor, and the stroke error is ±1 mm.

[0118] Step 2: At the master device 12, set the ambient illuminance according to the test requirements. Through the stepless dimming of the programmable light source 7, the illuminance sensor 9 detects the ambient illuminance and feeds it back to the master device 12. The master device 12 controls the programmable light source 7 to automatically correct it to within 5% of the set illuminance error. The programmable light source 7 supports three color temperatures of high, medium, and low, with stepless dimming from 0 lux to 10,000 lux.

[0119] Step 3: After the settings in Steps 1 and 2 are completed, take pictures. The specific process is as above. Figure 4 and 5 。 Figure 4 is the near - view to far - view performance test, Figure 5 is the far - view to near - view performance test. Among them, the rotating device 5 rotates 90° to move the near - view picture card 10 away from the preview screen of the test terminal 8, and the time is less than 20 ms, with an absolute error of ±1 ms. The rotating device 5 rotates 90° to move the near - view picture card 10 back to the preview screen of the test terminal 8, and the time is less than 40 ms, with an absolute error of ±1 ms.

[0120] Step 4: Analyze the pictures taken in the process of Step 3 (near - view focus test pictures and far - view focus test pictures), and calculate the focus time. The master device 12 has a built - in line pair interpretation algorithm for the near - view picture card 10 and the far - view picture card 11. Starting from the first picture, analyze to find the picture with the highest line pair interpretation. The start - time of taking pictures corresponding to this picture in Step 3 is the time for testing the focus performance of the mobile terminal.

[0121] The test environment of this application has a high degree of reproducibility. Through the programmable light source and the feedback mechanism of the illuminance sensor, the ambient illuminance of the test environment can be controlled and reproduced. Through the sliding guide device, the distances of the near - view and the far - view can be controlled and reproduced. Through the rotating device, the removal and return of the picture card to the preview interface of the test terminal can be controlled and reproduced. By using the robotic arm to click the test terminal to take pictures, the time for each picture - taking is consistent, and the operation reproducibility is high.

[0122] This application analyzes the focus clarity by directly analyzing the test pictures taken by the test terminal, thus effectively avoiding the inherent defects in Technique 1, that is, when using a high - speed camera to record the screen of the test device, the pixels of the test device screen itself will interfere with the video quality, resulting in large errors; in a dark environment, the video quality of the high - speed camera deteriorates, and the noise interferes greatly with the determination of clear frames, resulting in large errors.

[0123] The terminal focus performance test device provided in this embodiment gradually extends the picture - taking / shooting time according to the number of picture - taking times, and then obtains the picture with the highest line pair judgment from the focus test pictures through the method of line pair interpretation, and selects the picture - taking time of this picture as the focus performance time of the test terminal. It can optimize the problems that the common clarity algorithms MTF and SFR are sensitive to dark - environment noise. The focus performance test has high accuracy and small errors, and can also be used for the focus performance time test in multiple scenarios.

[0124] The present application also provides an intelligent terminal, which includes a memory and a processor. A terminal focusing performance test program is stored on the memory. When the terminal focusing performance test program is executed by the processor, the steps of the terminal focusing performance test method in any of the above embodiments are implemented.

[0125] The present application also provides a computer-readable storage medium, on which a terminal focusing performance test program is stored. When the terminal focusing performance test program is executed by the processor, the steps of the terminal focusing performance test method in any of the above embodiments are implemented.

[0126] In the embodiments of the intelligent terminal and the computer-readable storage medium provided by the present application, all technical features of any of the above embodiments of the terminal focusing performance test method may be included. The expansion and explanation content of the specification is basically the same as that of the above method embodiments, and will not be repeated here.

[0127] The embodiments of the present application also provide a computer program product, which includes computer program code. When the computer program code runs on a computer, the computer is caused to execute the methods in the above various possible implementation manners.

[0128] The embodiments of the present application also provide a chip, which includes a memory and a processor. The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device installed with the chip executes the methods in the above various possible implementation manners.

[0129] It can be understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided by the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, as known to those of ordinary skill in the art, with the evolution of the system architecture and the emergence of new service scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.

[0130] The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.

[0131] The steps in the method embodiments of the present application can be adjusted, combined, and deleted according to actual needs.

[0132] The units in the device embodiments of the present application can be combined, divided, and deleted according to actual needs.

[0133] In this application, for the description of the same or similar term concepts, technical solutions, and / or application scenarios, detailed descriptions are generally only provided for the first occurrence. When they appear repeatedly later, for the sake of brevity, they are generally not elaborated again. When understanding the technical solutions and other content of this application, for the same or similar term concepts, technical solutions, and / or application scenarios that are not described in detail later, reference can be made to their previous relevant detailed descriptions.

[0134] In this application, the descriptions of the various embodiments each have their own focuses. For parts that are not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0135] The technical features of the technical solutions of this application can be combined arbitrarily. For the sake of concise description, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered to be within the scope recorded in this application.

[0136] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solutions of this application, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product is stored in a storage medium as described above (such as ROM / RAM, magnetic disk, optical disc), and includes several instructions to enable a terminal device (which can be a mobile phone, computer, server, controlled terminal, or network device, etc.) to execute the methods of each embodiment of this application.

[0137] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, a storage disk, a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)), etc.

[0138] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structural or equivalent process transformations made by using the contents of the specification and drawings of the present application, or directly or indirectly applied to other related technical fields, are equally included in the patent protection scope of the present application.

Claims

1. A method for testing the focusing performance of a terminal, characterized in that, The method includes the following steps: S1: Based on a preset photographing setting, photograph a test chart, and sequentially obtain multiple focus test pictures; S2: Obtain the focus performance time of the test terminal according to the line pairs of the multiple focus test pictures.

2. The method according to claim 1, wherein The preset photographing setting includes: a near - view to far - view photographing setting and a far - view and near - view photographing setting; the test chart includes a near - view chart and a far - view chart.

3. The method according to claim 2, characterized in that The near - view to far - view photographing setting includes: Move the near - view chart away through a rotating device and start timing; When reaching the target duration, control the test terminal to photograph the far - view chart to obtain a far - view focus test picture; Restore the near - view chart through the rotating device so that the test terminal completes focusing on the near - view chart; Obtain the current photographing times; When the current photographing times is equal to the preset photographing times, stop photographing; When the current photographing times is less than the preset photographing times, execute the step of quickly moving the near - view chart away through the rotating device and starting timing.

4. The method according to claim 2, wherein The far - view and near - view photographing setting includes: Restore the near - view chart through the rotating device and start timing; When reaching the target duration, control the test terminal to photograph the near - view chart to obtain a near - view focus test picture; Move the near - view chart away through the rotating device so that the test terminal completes focusing on the far - view chart; Obtain the current photographing times; When the current photographing times is equal to the preset photographing times, stop photographing; When the current photographing times is less than the preset photographing times, execute the step of restoring the near - view chart through the rotating device and starting timing.

5. The method according to any one of claims 1 to 4, characterized in that, Before the step of S1, it includes: Preset the preset photographing times, start time, and photographing interval time of the test terminal in advance.

6. The method according to claim 5, wherein Before the step of S1, it also includes: Respectively set the focus test distances between the near - view chart and the far - view chart and the test terminal; Adjust the test environment illuminance of the test environment where the test terminal is located so that the illuminance difference between the near - view chart and the far - view chart is within the threshold range.

7. The method according to claim 1, characterized in that, The step of S2 includes: Through a preset line - pair interpretation algorithm, start analyzing from the first focus test picture to obtain the first target picture with the highest line - pair interpretation; Obtain the start photographing time corresponding to the first target picture, and confirm the start photographing time as the focus performance time of the test terminal.

8. A terminal focusing performance testing device for performing the terminal focusing performance testing method according to any one of claims 1 to 7, characterized in that It includes: A main control device, a test terminal module, a near - view test module, a far - view test module, an illuminance adjustment module, and a programmed control sliding guide; The test terminal module, the near - view test module, and the far - view test module are all installed on the programmed control sliding guide; The main control device is used to control the test terminal module, the near - view test module, the far - view test module, the illuminance adjustment module, and the programmed control sliding guide; The test terminal module photographs the near - view chart of the near - view test module or the far - view chart of the far - view test module according to the photographing instruction sent by the main control device; The near - view test module controls the rotation of the near - view chart according to the rotation instruction sent by the main control device.

9. The terminal focus performance testing device according to claim 8, characterized in that The test terminal module includes: a test terminal fixing bracket, a programmable robotic arm, and a test terminal; The test terminal fixing bracket is installed on the programmable sliding guide rail; Both the programmable robotic arm and the test terminal are installed on the test terminal fixing bracket; The programmable robotic arm is used to control the test terminal to take pictures according to the shooting instructions sent by the master control device.

10. The terminal focus performance testing device according to claim 8, wherein The close-range test module includes: a mobile close-range bracket, a rotating device, and a close-range picture card; The mobile close-range bracket is installed on the programmable sliding guide rail, and the rotating device is installed at the top of the mobile close-range bracket; The close-range picture card is installed on the rotating device, and the rotating device is used to control the close-range picture card to rotate.