A method, apparatus and test system for determining influencing factors of a hardware device screen flare

CN117782536BActive Publication Date: 2026-08-18SHENZHEN GOODIX TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311814474.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-22
Publication Date
2026-08-18
Estimated Expiration
2043-12-22

AI Technical Summary

Technical Problem

[0005]有鉴于此,本公开实施例提供一种确定硬件设备屏幕光斑的影响因素的方法、装置和测试系统,能够解决人工观察主观性较强,观测差异化程度较高;无法确定光斑的形成的影响因素,也无法为消除或者降低光斑对屏幕使用产生的影响提供参考的问题

Benefits of technology

[0026] One or more technical solutions provided in this application embodiment acquire the screen synchronization signal of the terminal screen, thereby controlling the emission signal and shooting signal of the emitter and the shooting lens, collecting the light spot image under the emission signal, analyzing and generating a parameter relationship report between various influencing factors and light spot intensity, light spot size, etc., which can quantify the influencing factors of light spot, thereby providing a reference for hardware selection and whole machine testing, minimizing the impact of light spot, and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117782536B_ABST
    Figure CN117782536B_ABST
Patent Text Reader

Abstract

The embodiment of the present disclosure provides a method, device and test system for determining influencing factors of a screen spot of a hardware device, and relates to the technical field of terminal testing. The method comprises the following steps: a light-emitting controller and a shooting controller receive a screen synchronization signal sent by a signal adapter; the light-emitting controller determines an emission signal of a light emitter according to a test database and the screen synchronization signal, and controls the light emitter to emit laser according to the emission signal; the shooting controller determines a shooting signal of a shooting lens according to the test database and the screen synchronization signal, controls the shooting lens to shoot a spot image on a terminal screen according to the shooting signal, and sends the spot image to control software. The control software analyzes spot parameters by using the spot image, generates a parameter relationship report between the screen synchronization signal and the emission signal and the spot parameters, can quantize influencing factors of the spot, and further provides a reference for hardware selection and whole machine testing, minimizes the influence of the spot, and improves the use experience of users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of terminal testing technology, and in particular to a method, apparatus and testing system for determining the influencing factors of screen light spots on hardware devices. Background Technology

[0002] With the popularization of full-screen displays, in order not to affect the readability and aesthetics of the full-screen display, the screen no longer reserves space for various sensors that need to sense external information. Taking the under-screen proximity sensor as an example, the transmitter and receiver of the sensor are both placed under the screen.

[0003] In existing VCSELs, the transmitter emits infrared light outwards from the screen. This infrared light excites the transistors on the screen, causing abnormal bright or dark spots (hereinafter referred to as spots) to appear, affecting the screen's usability. Current spot detection methods typically rely on manual observation.

[0004] However, on the one hand, manual observation is highly subjective, and different observers will have different observation results regarding the size, shape, and intensity of the same light spot, resulting in a high degree of observational variability; on the other hand, manual observation cannot analyze the causes of light spots, nor can it provide a reference for eliminating or reducing the impact of light spots on screen use. Summary of the Invention

[0005] In view of this, the present disclosure provides a method, apparatus and testing system for determining the influencing factors of screen light spots in hardware devices, which can solve the problems that manual observation is highly subjective and has a high degree of observation variability; it is impossible to determine the influencing factors of light spot formation, and it is also impossible to provide a reference for eliminating or reducing the impact of light spots on screen use.

[0006] To achieve the above objectives, according to one aspect of this disclosure, a method for determining the influencing factors of screen light spots in hardware devices is provided, applied to a testing system. The testing system includes control software and hardware devices, the hardware devices including a signal adapter board, a light emitter, a light emission controller, a camera lens, a camera controller, and a terminal screen. The method includes:

[0007] The light-emitting controller and the shooting controller receive the screen synchronization signal sent by the signal adapter board;

[0008] The light-emitting controller determines the emission signal of the light emitter based on the test database and the screen synchronization signal, and controls the light emitter to emit laser light according to the emission signal;

[0009] The shooting controller determines the shooting signal of the shooting lens based on the test database and the screen synchronization signal, controls the shooting lens to shoot the light spot image on the terminal screen according to the shooting signal, and sends the light spot image to the control software;

[0010] The control software uses the light spot image to analyze the light spot parameters and generates a report on the parameter relationship between the screen synchronization signal and / or the transmission signal and the light spot parameters.

[0011] According to another aspect of this disclosure, an apparatus for determining the influencing factors of screen light spots in hardware devices is provided, applied to a testing system. The testing system includes control software and hardware devices. The hardware devices include a signal adapter board, a light emitter, a light emission controller, a camera lens, a camera controller, and a terminal screen. The apparatus includes:

[0012] The receiving module of the light-emitting controller and the receiving module of the shooting controller are used to receive the screen synchronization signal sent by the signal adapter board;

[0013] The control module of the light-emitting controller is used to determine the emission signal of the light emitter based on the test database and the screen synchronization signal, and control the light emitter to emit laser according to the emission signal;

[0014] The control module of the shooting controller is used to determine the shooting signal of the shooting lens according to the test database and the screen synchronization signal, and control the shooting lens to shoot the light spot image on the terminal screen according to the shooting signal;

[0015] The analysis module of the control software is used to analyze the spot parameters using the spot image and generate a parameter relationship report between the screen synchronization signal and / or the transmission signal and the spot parameters.

[0016] According to another aspect of this disclosure, a test system for determining the influencing factors of screen light spots on hardware devices is provided, comprising a test fixture and control software. The test fixture is equipped with hardware devices, which include a signal adapter board, a light emitter, a light emission controller, a camera lens, a camera controller, and a terminal screen.

[0017] The light-emitting controller and the shooting controller receive the screen synchronization signal sent by the signal adapter board;

[0018] The light-emitting controller determines the emission signal of the light emitter based on the test database and the screen synchronization signal, and controls the light emitter to emit laser light according to the emission signal;

[0019] The shooting controller determines the shooting signal of the shooting lens based on the test database and the screen synchronization signal, controls the shooting lens to shoot the light spot image on the terminal screen according to the shooting signal, and sends the light spot image to the control software;

[0020] The control software uses the light spot image to analyze the light spot parameters and generates a report on the parameter relationship between the screen synchronization signal and / or the transmission signal and the light spot parameters.

[0021] According to another aspect of the embodiments of this disclosure, an electronic device is provided, comprising:

[0022] Processor; and

[0023] Stored program memory,

[0024] The program includes instructions that, when executed by the processor, cause the processor to perform the method for determining the influencing factors of screen light spots on a hardware device.

[0025] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to perform the method for determining the influencing factors of screen light spots of a hardware device.

[0026] One or more technical solutions provided in this application embodiment acquire the screen synchronization signal of the terminal screen, thereby controlling the emission signal and shooting signal of the emitter and the shooting lens, collecting the light spot image under the emission signal, analyzing and generating a parameter relationship report between various influencing factors and light spot intensity, light spot size, etc., which can quantify the influencing factors of light spot, thereby providing a reference for hardware selection and whole machine testing, minimizing the impact of light spot, and improving the user experience. Attached Figure Description

[0027] Further details, features, and advantages of this disclosure are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which:

[0028] Figure 1 A flowchart illustrating a method for determining factors influencing screen light spots of a hardware device according to an exemplary embodiment of the present disclosure is shown.

[0029] Figure 2 A schematic diagram of a test system for determining the influencing factors of screen light spots of a hardware device according to an exemplary embodiment of the present disclosure is shown;

[0030] Figure 3 A flowchart of a method for generating a transmitted signal according to an exemplary embodiment of the present disclosure is shown;

[0031] Figure 4 A flowchart illustrating a method for generating an image signal according to an exemplary embodiment of the present disclosure is shown;

[0032] Figure 5 A flowchart illustrating a method for determining spot parameters according to an exemplary embodiment of the present disclosure is shown;

[0033] Figure 6 A schematic block diagram of an apparatus for determining factors influencing the light spot on a hardware device screen according to an exemplary embodiment of the present disclosure is shown;

[0034] Figure 7 A schematic diagram illustrating the interaction process of a test system for determining the influencing factors of screen light spots of a hardware device according to an exemplary embodiment of the present disclosure is shown.

[0035] Figure 8 A schematic diagram of the acquisition of a spot image according to an exemplary embodiment of the present disclosure is shown;

[0036] Figure 9 A schematic diagram of a signal adapter board according to an exemplary embodiment of the present disclosure is shown;

[0037] Figure 10 A structural block diagram of an exemplary electronic device that can be used to implement embodiments of the present disclosure is shown. Detailed Implementation

[0038] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0039] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.

[0040] The term "comprising" and its variations as used herein are open-ended, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "in embodiments of this disclosure" means "at least one embodiment"; the term "another exemplary embodiment" means "at least one additional embodiment". Definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc., mentioned in this disclosure are used only to distinguish different devices, modules, or units, and are not intended to limit the order of functions performed by these devices, modules, or units or their interdependencies.

[0041] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0042] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0043] Vsync: Vertical Synchronization. When the screen is on or off, each pixel is refreshed in the order of horizontal scanning (row refresh) and vertical scanning (column refresh). The completion of the entire screen refresh indicates the end of a vertical refresh cycle. After the refresh is complete, there is a short window during which the Vsync signal is emitted.

[0044] VCSEL: Vertical Cavity Surface Emitting Laser, also known as a vertical resonant cavity surface-emitting laser, is a type of laser based on gallium arsenide semiconductor material. The laser beam is emitted perpendicularly to the top surface. When used in full-screen displays, the laser beam is emitted perpendicularly to the back of the screen and onto the screen surface.

[0045] Figure 1 A flowchart illustrating a method for determining factors influencing screen light spots of a hardware device according to exemplary embodiments of the present disclosure is shown, such as... Figure 1 As shown, the method for determining the influencing factors of screen light spots in this disclosure includes the following steps:

[0046] In this embodiment of the disclosure, the method for determining the influencing factors of screen light spot of a hardware device is executed by a test system for determining the influencing factors of screen light spot of a hardware device, such as... Figure 2As shown, the test system for determining the influencing factors of screen light spots of hardware devices disclosed herein includes a test fixture and control software. The test fixture is equipped with hardware devices, including a terminal host, a terminal screen, a signal adapter board, a control motherboard, an emitter, an emitter controller, a camera lens, and an image capture controller. The terminal host and the terminal screen are connected via the signal adapter board, which is connected to the control motherboard via a synchronization signal line. The control motherboard is connected to the emitter and the camera lens via laser signal lines and lens signal lines, respectively. The control motherboard and the terminal host are connected to the carrier of the control software via USB cables. The emitter can be any type of laser emitter, such as a VCSEL.

[0047] It should be noted that VCSEL is only one example of a light emitter in this paper. The light emitters in this paper are not limited to this type, and any type of photoelectric emitter can be used as the research object of this paper.

[0048] Furthermore, the control software includes a test database, which contains test templates, test instances, test results, etc. The test templates and test instances are pre-configured by the testers. The test templates include vertical synchronization templates, laser templates, and shooting templates, etc. After the template parameters are filled into the test templates, test instances can be generated, including vertical synchronization instances, laser instances, and shooting instances, etc.

[0049] Step 101: The light-emitting controller and the shooting controller receive the screen synchronization signal sent by the signal adapter board.

[0050] In this embodiment of the disclosure, the control software sends the vertical synchronization instance, laser instance, and shooting instance of the test database to the terminal host, the emitter, and the shooting lens, respectively. The terminal host will light up the terminal screen according to the vertical synchronization instance. The signal adapter board detects the screen synchronization signal of the terminal screen. During the window period at the end of each vertical refresh cycle of vertical synchronization, the signal adapter board sends the collected screen synchronization signal to the emitter controller and the shooting controller. Correspondingly, the emitter controller and the shooting controller receive the screen synchronization signal sent by the signal adapter board.

[0051] Furthermore, the vertical synchronization instance, laser instance, and imaging instance are generated from the vertical synchronization template, laser template, and imaging template, respectively. The template parameters of the vertical synchronization template include initial illumination brightness, brightness step size, maximum illumination brightness, initial illumination color, color step size, maximum illumination color, brightness cycle identifier, and color cycle identifier. The template parameters of the laser template include initial emission delay time, emission delay step size, maximum emission delay time, initial emission duration, emission duration step size, maximum emission duration, initial emission current value, current value step size, maximum emission current value, emission delay cycle identifier, emission duration cycle identifier, and current value cycle identifier. The template parameters of the imaging template include initial imaging delay time, imaging delay step size, maximum imaging delay time, initial exposure duration, exposure duration step size, maximum exposure duration, imaging delay cycle identifier, and exposure cycle identifier. Specifically:

[0052] Screen brightness refers to the backlight level of the terminal screen, or Brightness. The value of the backlight level is an integer between 1 and 2047. For example, a screen brightness of (2047) means that the backlight level of the terminal screen is 2047. The initial brightness of the terminal screen refers to the backlight level when the terminal screen is first turned on; the brightness step size refers to the increment size of the backlight level when the brightness is turned on; the maximum brightness refers to the brightness threshold at which the backlight level increases step size from the initial brightness until the maximum brightness is reached, after which the brightness no longer increases.

[0053] Screen colors can be represented using the RGB color model, which includes the brightness levels of three color channels: red, green, and blue (R, G, B). The brightness levels range from 0 to 255, representing integer values. For example, a screen color (R, G, B) of (20, 100, 255) indicates that the red channel has a brightness level of 20, the green channel has a brightness level of 100, and the blue channel has a brightness level of 255, respectively. The initial illuminated color refers to the brightness level at which the screen is first illuminated. The color step size refers to the increment size of the brightness level of the illuminated color; different color channels can correspond to different color step sizes, such as red, green, and blue. The maximum illuminated color is the threshold where the brightness level increases sequentially from the initial illuminated color according to the color step size until the maximum illuminated color is reached, after which the illuminated color no longer increases. Different color channels can correspond to different maximum illuminated colors.

[0054] The initial transmission delay time refers to the duration of the delay between the initial transmission of the LED and the start of the screen synchronization signal. The transmission delay step size refers to the incrementing duration of the transmission delay time. The maximum transmission delay time is the threshold value at which the transmission delay time no longer increases, starting from the initial transmission delay time and incrementing according to the transmission delay step size. The initial transmission duration refers to the duration of the LED's initial transmission. The transmission duration step size refers to the incrementing duration of the transmission duration. The maximum transmission duration is the threshold value at which the transmission duration no longer increases, starting from the initial transmission duration and incrementing according to the transmission duration step size. The initial transmission current value refers to the transmission intensity of the LED's initial transmission. The current value step size refers to the incrementing duration of the transmission current value. The maximum transmission current value is the threshold value at which the transmission current value no longer increases, starting from the initial transmission current value and incrementing according to the current value step size.

[0055] Initial shooting delay time refers to the duration of the delay before the camera starts shooting, relative to the initial screen synchronization signal. Shooting delay step size refers to the incrementing duration of the shooting delay time. Maximum shooting delay time refers to the threshold value at which the shooting delay time no longer increases, starting from the initial shooting delay time and incrementing according to the shooting delay step size. Initial exposure duration refers to the duration of exposure during the initial shooting. Exposure duration step size refers to the incrementing duration of the exposure duration. Maximum exposure duration refers to the threshold value at which the exposure duration no longer increases, starting from the initial exposure duration and incrementing according to the exposure duration step size.

[0056] The values ​​for the brightness cycle indicator, color cycle indicator, emission delay cycle indicator, emission duration cycle indicator, current value cycle indicator, shooting delay cycle indicator, and exposure cycle indicator are either "F" (False) or "T" (True). These values ​​correspond to various parameter combinations and indicate that the corresponding parameter combinations will be tested iteratively. For example, the initial brightness, brightness step size, and maximum brightness constitute a brightness combination. The corresponding brightness cycle indicator has a value of "T," meaning that starting from the initial brightness, the brightness step size is incremented sequentially until the maximum brightness is reached, and all brightness levels are tested iteratively.

[0057] The initial illuminated color, color step size, and maximum illuminated color are color combinations, corresponding to the color cycle indicator. The value of the brightness cycle indicator is "T", which means that starting from the initial illuminated color, the color step size is increased one by one until the maximum illuminated color is reached. All illuminated colors are traversed and tested.

[0058] The initial launch delay time, launch delay step size, and maximum launch delay time are the launch delay combination, corresponding to the launch delay cycle identifier. The value of the brightness cycle identifier is "T", which means that starting from the initial launch delay time, the launch delay step size is increased step by step until the maximum launch delay time is reached, and the launch delay time is traversed and tested.

[0059] The initial launch duration, launch duration step size, and maximum launch duration are combinations of launch durations, corresponding to the launch duration cycle identifier. The value of the brightness cycle identifier is "T", which means that starting from the initial launch duration, the launch duration step size is incremented step by step until the maximum launch duration is reached, and the launch durations are traversed and tested.

[0060] The initial transmission current value, current value step size, and maximum transmission current value are combinations of transmission current values, corresponding to a current value cycle identifier. The brightness cycle identifier is marked with "T", which means that starting from the initial transmission current value, the transmission current values ​​are increased one by one according to the current value step size until the maximum transmission current value is reached.

[0061] The initial shooting delay time, shooting delay step size, and maximum shooting delay time are shooting delay combinations, corresponding to the shooting delay cycle identifier. The value of the brightness cycle identifier is "T", which means that starting from the initial shooting delay time, the shooting delay step size is increased one by one until the maximum shooting delay time is reached, and the various shooting delay times are traversed and tested.

[0062] The initial exposure duration, exposure duration step size, and maximum exposure duration constitute the exposure combination, corresponding to the exposure cycle identifier. The brightness cycle identifier is marked with a value of "T," indicating that the test is performed traversing all exposure durations from the initial exposure duration, incrementing sequentially according to the exposure duration step size, up to the maximum exposure duration. Furthermore, the brightness cycle identifier, color cycle identifier, emission delay cycle identifier, emission duration cycle identifier, current value cycle identifier, shooting delay cycle identifier, and exposure cycle identifier indicate the test type of the test instance. The test type includes single test and traversal test. When all cycle identifiers are "F," it indicates that the test instance is a single test; when any cycle identifier is "T," it indicates that the test instance is a traversal test.

[0063] For example, Test Instance 1 is a single test, as shown in Table 1 below:

[0064] Table 1

[0065]

[0066] In the table above, the screen illumination colors (R, G, B) of the terminal in Test Instance 1 are fixed at (255, 255, 255), and the illumination brightness is fixed at 2047. The emitter starts transmitting 123us after a delay from the start point of the synchronization signal of the screen being first illuminated, with a transmission duration of 32us and a transmission current of 8mA. The camera lens starts shooting 123us after a delay from the start point of the synchronization signal of the screen being first illuminated, with an exposure time of 2ms.

[0067] For example, Test Instance 2 is a test of a single parameter combination—the traversal of the transmission delay time, as shown in Table 2 below:

[0068] Table 2

[0069]

[0070]

[0071] In the table above, the screen illumination colors (R, G, B) of the terminal in Test Example 2 are fixed at (20, 100, 255); the illumination brightness is fixed at 2047; the emitter starts transmitting 10µs after a delay from the start point of the screen synchronization signal that is first lit, and the delay time of each cycle of transmission increases by 200µs compared to the previous transmission (that is, the delay time of each cycle of transmission relative to the start point of the screen synchronization signal that is lit is 200µs longer than the previous transmission), until the maximum transmission delay time is 6000µs, at which point the transmission delay time no longer increases, the transmission duration of each cycle of transmission is 26µs, and the transmission current value is fixed at 8mA; the camera lens starts shooting 10µs after a delay from the start point of the screen synchronization signal that is first lit, and the exposure time is 2ms.

[0072] For example, Test Instance 3 involves a combination of multiple parameters—the color to be lit, the emission delay time, and the emission duration—as shown in Table 3 below:

[0073] Table 3

[0074]

[0075] In the table above, for Test Instance 3, screen color R starts at brightness level 20, illuminates every 10 brightness levels until brightness level 100, and screen color G starts at brightness level 100, illuminates every 10 brightness levels until brightness level 200, and screen color B is fixed at 255; screen brightness Brightness is fixed at 2047; the emitter starts emitting with a 10µs delay relative to the start point of the screen synchronization signal, and the emission delay time increases by 10µs for each test until it reaches 1000µs, at which point the emission delay time no longer increases; the emission duration starts at 26µs, increases by 1µs for each test until it reaches 950µs, at which point the emission duration no longer increases, and the emission current value is fixed at 20mA; the camera lens starts shooting with a 10µs delay relative to the start point of the screen synchronization signal when it is first lit, and the exposure time is 2ms.

[0076] Furthermore, for traversal tests of multiple parameter combinations, for each parameter combination, the traversal points of other parameter combinations can be polled in sequence and traversal tests can be performed separately; alternatively, multiple parameter combinations can be synchronously incremented and jointly traversed for testing. For example, in Table 3, for the color combination of the red channel (20, 10, 100), the traversal test of the color combination of the green channel (100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200) can be performed sequentially. That is, when the lit color of the green channel is equal to 100, a traversal test of the lit color of the red channel is performed, increasing sequentially from 20 to 100. Then, when the lit color of the green channel is equal to 110, a traversal test of the lit color of the red channel is performed, increasing sequentially from 20 to 100. This process continues until the lit color of the green channel is the maximum lit color of 200. Other parameter combinations of transmission delay time and transmission duration are handled in the same way, and will not be elaborated here.

[0077] For example, in Table 3, the lighting colors of the red channel and the green channel, the transmission delay time and the transmission duration can be synchronously increased and jointly tested. The test parameters for the first test are (20, 100, 255, 2047, 10, 26, 20, 10, 2), the test parameters for the second test are (30, 110, 255, 2047, 20, 27, 20, 10, 2), the test parameters for the third test are (40, 120, 255, 2047, 30, 28, 20, 10, 2), and so on.

[0078] It should be noted that when multiple parameter combinations are used in a combined traversal test, if one parameter combination reaches a threshold while other parameter combinations are still increasing, then in subsequent loop tests, the parameter combination that reaches the threshold will be executed according to the threshold. For example, in Table 3, after the red channel reaches the maximum illuminated color of 100, the illuminated color, transmission delay time, and transmission duration of the green channel are still increasing. In subsequent loops where the illuminated color, transmission delay time, and transmission duration of the green channel are increasing, the control software will control the terminal host to illuminate the red channel of the terminal screen according to the maximum illuminated color of 100. As another example, in Table 3, after the transmission delay time reaches the maximum transmission delay time of 1000us, the transmission duration is still increasing. In subsequent loops where the transmission duration is increasing, the emitter will delay transmission according to the maximum transmission delay time of 1000us.

[0079] Step 102: The light-emitting controller determines the emission signal of the light emitter based on the test database and the screen synchronization signal, and controls the light emitter to emit laser according to the emission signal.

[0080] In this embodiment of the disclosure, the light-emitting controller determines the emission signal of the light emitter based on the screen synchronization signal and the laser instance, and controls the light emitter to emit laser according to the emission signal.

[0081] Furthermore, such as Figure 3 As shown, the method for generating the transmitted signal in this disclosure includes the following steps:

[0082] In this embodiment of the disclosure, the method for generating the transmitted signal is executed by a light-emitting controller.

[0083] Step 301: Obtain a laser instance.

[0084] In this embodiment of the disclosure, the light-emitting controller includes a laser instance buffer for caching laser instances sent by the control software, so as to determine the emission signal based on the laser instance.

[0085] Step 302: Determine whether the laser instance is a single test. If yes, proceed to step 303; otherwise, proceed to step 304.

[0086] In this embodiment of the disclosure, the light-emitting controller determines whether the laser instance is a single test based on the identification values ​​of the emission delay cycle identifier, emission duration cycle identifier, and current value cycle identifier in the laser instance. If the identification values ​​of the emission delay cycle identifier, emission duration cycle identifier, and current value cycle identifier are all "F", it indicates that the laser instance is a single test; if at least one of the identification values ​​of the emission delay cycle identifier, emission duration cycle identifier, and current value cycle identifier is "T", it indicates that the laser instance is an traversal test.

[0087] Alternatively, the emission controller determines whether a laser instance is a single test based on whether the step values ​​of the emission delay step, emission duration step, and current value step in the laser instance are empty. If the step values ​​of the emission delay step, emission duration step, and current value step are all empty, it indicates that the laser instance is a single test; if at least one of the step values ​​of the emission delay step, emission duration step, and current value step is not empty, it indicates that the laser instance is an traversal test.

[0088] Step 303: Determine the transmission signal based on the screen synchronization signal, the initial transmission delay time, the initial transmission duration, and the initial transmission current value in the laser instance; wherein the transmission signal includes the transmission signal start time, the signal transmission duration, and the signal transmission intensity.

[0089] Step 3031: Determine the start time of the transmission signal based on the sum of the start time of the screen synchronization signal and the initial transmission delay time.

[0090] Step 3032: The initial transmission duration is used as the signal transmission duration, and the initial transmission current value is used as the signal transmission intensity.

[0091] Step 3033: Combine the start time of the transmitted signal, the duration of the transmitted signal, and the intensity of the transmitted signal to obtain the transmitted signal.

[0092] Step 304: Based on the screen synchronization signal and the combination of emission delay, emission duration, and / or emission current value in the laser instance, determine the emission signal traversal delay point, emission signal traversal duration point, and / or emission signal traversal intensity point.

[0093] Step 3041: Determine the transmission signal traversal delay point based on the initial transmission delay time, the transmission delay step size, and the maximum transmission delay time.

[0094] In this embodiment, the difference between the maximum transmission delay time and the initial transmission delay time is calculated to determine if it is an integer multiple of the transmission delay step size. If so, the transmission delay step size is successively added to the initial transmission delay time to determine the intermediate delay points of each transmitted signal. This intermediate delay point is then combined with the initial transmission delay time to obtain the transmission signal traversal delay points. If not, the transmission delay step size is successively added to the initial transmission delay time to determine the intermediate delay points of each transmitted signal. This intermediate delay point is then combined with the initial transmission delay time and the maximum transmission delay time to obtain the transmission signal traversal delay points. For example, in test example two, the transmission signal traversal delay points include 10us, 210us, 410us, 610us, 810us, 1010us, 1210us, 1410us, 1610us, ..., 5210us, 5410us, 5610us, 5810us, and 6000us. The spot image under each transmission signal traversal delay point is acquired sequentially.

[0095] Step 3042: Determine the transmission signal traversal time point based on the initial transmission duration, the transmission duration step size, and the maximum transmission duration.

[0096] In this embodiment, the difference between the maximum transmission duration and the initial transmission duration is calculated to determine if it is an integer multiple of the transmission duration step size. If so, the transmission duration step size is successively added to the initial transmission duration to determine the intermediate duration points of each transmission signal. These intermediate duration points are then combined with the initial transmission duration to obtain the transmission signal traversal duration points. If not, the transmission duration step size is successively added to the initial transmission duration to determine the intermediate duration points of each transmission signal. These intermediate duration points are then combined with the initial transmission duration and the maximum transmission duration to obtain the transmission signal traversal duration points. For example, in test example three, the transmission signal traversal duration points include 26us, 27us, 28us, 29us, ..., 946us, 947us, 948us, 949us, and 950us. A spot image is acquired at each transmission signal traversal duration point.

[0097] Step 3043: Determine the transmission signal traversal intensity point based on the initial transmission current value, the current value step size, and the maximum transmission current value.

[0098] In this embodiment, the difference between the maximum emission current value and the initial emission current value is calculated to determine if it is an integer multiple of the current value step size. If so, the current value step size is added to each initial emission current value to determine the intermediate intensity points of each emission signal. These intermediate intensity points are then combined with the initial emission current value to obtain the emission signal traversal intensity points. If not, the current value step size is added to each initial emission current value to determine the intermediate intensity points of each emission signal. These intermediate intensity points are then combined with the initial emission current value and the maximum emission current value to obtain the emission signal traversal intensity points. For example, the emission signal traversal intensity points of a certain laser instance include 8µs, 9µs, 10µs, 11µs, ..., 24µs, 25µs, 26µs, 27µs, and 28µs. The spot image under each emission signal traversal intensity point is acquired sequentially.

[0099] Step 305: The start time of the screen synchronization signal is superimposed with the transmission signal traversal delay point to determine the transmission signal traversal start time point.

[0100] In this embodiment of the disclosure, the light-emitting controller determines the start time point of each transmission signal traversal by superimposing the transmission signal traversal delay point on the start time of the screen synchronization signal.

[0101] Furthermore, based on the vertical synchronization instance being a single test, the start time of the screen synchronization signal superimposed at each point in the transmission signal traversal delay point is the same; based on the vertical synchronization instance being a traversal test, the start time of the screen synchronization signal superimposed at each point in the transmission signal traversal delay point is different. The light-emitting controller sequentially superimposes each point in the transmission signal traversal delay point on the start time of each screen synchronization signal to determine the start time point of each transmission signal traversal.

[0102] Step 306: Determine the transmitted signal by using the starting time point of the transmitted signal traversal, the duration point of the transmitted signal traversal, and / or the intensity point of the transmitted signal traversal.

[0103] In this embodiment of the disclosure, the transmission signal traversal time point is taken as the transmission duration of each signal, and the transmission signal traversal intensity point is taken as the transmission intensity of each signal; by combining the transmission signal traversal start time point, the signal transmission duration, and the signal transmission intensity, multiple transmission signals are obtained.

[0104] Step 103: The shooting controller determines the shooting signal of the shooting lens according to the test database and the screen synchronization signal, controls the shooting lens to shoot the light spot image on the terminal screen according to the shooting signal, and sends the light spot image to the control software.

[0105] In this embodiment of the disclosure, the camera lens determines the shooting signal of the camera lens based on the screen synchronization signal and the shooting instance, and controls the camera lens to collect light spot images according to the shooting signal and send them to the control software.

[0106] Furthermore, such as Figure 4 As shown, the method for generating the imaging signal disclosed herein includes the following steps:

[0107] In this embodiment of the disclosure, the method for generating the transmission signal is executed by the shooting controller.

[0108] Step 401: Obtain shooting examples.

[0109] In this embodiment of the disclosure, the shooting controller includes a shooting instance buffer for caching shooting instances sent by the control software, so as to determine the shooting signal based on the shooting instance.

[0110] Step 402: Determine whether the shooting instance is a single test. If yes, proceed to step 403; otherwise, proceed to step 404.

[0111] In this embodiment of the disclosure, the shooting controller determines whether the shooting instance is a single test based on the identification values ​​of the shooting delay cycle identifier and the exposure duration cycle identifier in the shooting instance. When the identification values ​​of both the shooting delay cycle identifier and the exposure duration cycle identifier are "F", it indicates that the shooting instance is a single test; when at least one of the identification values ​​of the shooting delay cycle identifier and the exposure duration cycle identifier is "T", it indicates that the shooting instance is an traversal test.

[0112] Alternatively, the shooting controller determines whether a shooting instance is a single test based on whether the step values ​​of the shooting delay step and the exposure duration step in the shooting instance are empty. If the step values ​​of both the shooting delay step and the exposure duration step are empty, it indicates that the shooting instance is a single test; if the step values ​​of the shooting delay step and / or the exposure duration step are not empty, it indicates that the shooting instance is an traversal test.

[0113] Step 403: Determine the shooting signal based on the screen synchronization signal, the initial shooting delay time and the initial exposure duration in the shooting example; wherein, the shooting signal includes the shooting signal start time and the signal exposure duration.

[0114] Step 4031: Determine the start time of the shooting signal based on the sum of the start time of the screen synchronization signal and the initial shooting delay time.

[0115] In this embodiment of the disclosure, the initial shooting delay time may be the same as or different from the initial launch delay time.

[0116] Step 4032: The initial exposure duration is taken as the signal exposure duration.

[0117] Step 4033: Combine the start time of the shooting signal and the exposure duration of the signal to obtain the shooting signal.

[0118] Step 404: Determine the shooting signal traversal delay point and / or exposure traversal duration point based on the shooting delay combination and / or exposure combination in the shooting example.

[0119] Step 4041: Determine the shooting signal traversal delay point based on the initial shooting delay time, the shooting delay step size, and the maximum shooting delay time.

[0120] In this embodiment of the disclosure, the difference between the maximum shooting delay time and the initial shooting delay time is calculated to determine whether it is an integer multiple of the shooting delay step. If so, the shooting delay step is added to the initial shooting delay time one by one to determine the intermediate delay point of each shooting signal. This intermediate delay point is then combined with the initial shooting delay time to obtain the shooting signal traversal delay point. If not, the shooting delay step is added to the initial shooting delay time one by one to determine the intermediate delay point of each shooting signal. This intermediate delay point is then combined with the initial shooting delay time and the maximum shooting delay time to obtain the shooting signal traversal delay point.

[0121] Step 4042: Determine the exposure traversal time point based on the initial exposure duration, the exposure duration step size, and the maximum exposure duration.

[0122] In this embodiment of the disclosure, it is calculated whether the difference between the maximum exposure duration and the initial exposure duration is an integer multiple of the exposure duration step. If so, the exposure duration step is successively added to the initial exposure duration to determine the intermediate duration points of each exposure traversal. These intermediate duration points are then combined with the initial exposure duration to obtain the exposure traversal duration points. If not, the exposure duration step is successively added to the initial exposure duration to determine the intermediate duration points of each exposure traversal. These intermediate duration points are then combined with the initial exposure duration and the maximum exposure duration to obtain the exposure traversal duration points.

[0123] Step 405: The start time of the screen synchronization signal is superimposed with the shooting signal traversal delay point to determine the shooting signal traversal start time point.

[0124] In this embodiment of the disclosure, the shooting controller superimposes shooting signal traversal delay points on the start time of the screen synchronization signal to determine the start time point of each shooting signal traversal.

[0125] Furthermore, based on the vertical synchronization instance being a single test, the start time of the screen synchronization signal superimposed at each point in the shooting signal traversal delay point is the same; based on the vertical synchronization instance being a traversal test, the start time of the screen synchronization signal superimposed at each point in the shooting signal traversal delay point is different. The shooting controller sequentially superimposes each point in the shooting signal traversal delay point on the start time of each screen synchronization signal to determine the start time point of each shooting signal traversal.

[0126] Step 406: Determine the shooting signal by using the shooting signal to traverse the starting time point and / or the exposure traversal duration point.

[0127] In this embodiment of the disclosure, the exposure traversal time point is used as the exposure time of each signal; by combining the traversal start time point and the exposure time of each shooting signal, multiple shooting signals are obtained.

[0128] In this embodiment of the disclosure, by using the method for generating the transmission signal and the shooting signal of the disclosure, and combining the instance parameters of the laser instance and the shooting instance, the laser signal and the shooting signal under single test and traversal test can be determined according to the type of test instance. Since the screen synchronization signal is directly transmitted to the light emission controller and the shooting controller through the control motherboard, that is, the screen synchronization signal is directly transmitted by hardware, the accurate capture of the screen synchronization signal can be achieved. Subsequently, the actions of the light emitter and the shooting lens are controlled by the light emission controller and the shooting controller, and the light spot image can be accurately captured and analyzed based on the screen synchronization signal acquired by the hardware, which greatly improves the accuracy of the analysis and quantification of the light spot influencing factors.

[0129] Step 104: The control software analyzes the light spot parameters using the light spot image and generates a parameter relationship report between the screen synchronization signal and / or the transmission signal and the light spot parameters.

[0130] In this embodiment of the disclosure, after receiving the light spot image, the control software analyzes the light spot image to determine the light spot parameters of each light spot image. These light spot parameters include light spot intensity, light spot size, and light spot shape.

[0131] Furthermore, such as Figure 5 As shown, the method for determining the spot parameters of this disclosure includes the following steps:

[0132] Step 501: Binarize the light spot image to obtain a binarized image.

[0133] Step 502: Perform multiple dilation and erosion operations on the binarized image to obtain a preprocessed image.

[0134] In this embodiment of the disclosure, the dilatational erosion operation can eliminate noise in the bright parts of the binarized image, so as to accurately calibrate the light spot.

[0135] Step 503: Find multiple target pixels in the preprocessed image whose pixel values ​​are greater than or equal to a pixel value threshold and whose number of neighboring pixels in at least one direction is greater than or equal to a number threshold.

[0136] In this embodiment of the disclosure, the pixel value can be represented by the RGB color mode, for example, the pixel value threshold is 200 and the number threshold is 3.

[0137] Step 504: Determine the size of the light spot based on the proportion of the number of target pixels occupying the terminal screen.

[0138] In this embodiment of the disclosure, the shape of the light spot can also be determined based on the area enclosed by the target pixels.

[0139] Step 505: Determine the light spot intensity based on the average pixel value of the multiple target pixels.

[0140] In this embodiment of the disclosure, the spot parameter determination method of the present disclosure is used to analyze the spot image using various image processing methods, eliminate noise in the spot image, locate the extreme value region of the spot image, and count the number of target pixels, the average pixel value, etc., so as to accurately quantify the spot parameters, measure the spot intensity, spot size, spot shape, etc. of each spot, and thus realize the quantitative analysis of the spot influencing factors.

[0141] Furthermore, a report on the parameter relationship between the screen synchronization signal and / or the transmission signal and the light spot parameters is generated.

[0142] In this embodiment of the disclosure, after determining the spot intensity and spot size, a report is fitted showing the relationship between at least one of the following parameters and the spot intensity and / or spot size:

[0143] The brightness, brightness step size, color, color step size, emission delay time, emission delay step size, emission duration, emission duration step size, emission current value, current value step size, shooting delay time, shooting delay step size, exposure duration, and exposure duration step size are used to determine the degree of influence of each influencing factor on the light spot intensity and / or light spot size. For example, the parameter relationship report includes the relationship between the brightness of each point and the intensity of the light spot, the relationship between the brightness of each point and the size of the light spot, the relationship between the color of each point and the intensity of the light spot, the relationship between the color of each point and the size of the light spot, the relationship between the emission delay time and the intensity of the light spot, the relationship between the emission duration and the intensity of the light spot, the relationship between the emission duration and the size of the light spot, the relationship between the emission current value and the intensity of the light spot, the relationship between the emission current value and the size of the light spot, the relationship between the shooting delay time and the intensity of the light spot, the relationship between the shooting delay time and the size of the light spot, the relationship between the exposure time and the intensity of the light spot, and the relationship between the exposure time and the size of the light spot, etc.

[0144] In this embodiment of the disclosure, a report on the relationship between various parameters can also be displayed to analyze the various influencing factors under the maximum and minimum values ​​of the light spot intensity and / or light spot size, and to determine the factor values ​​of each influencing factor when the light spot intensity and light spot size are at their minimum, so as to provide a reference for the selection of terminal screens and emitters, and the mass production testing of terminals.

[0145] Furthermore, the emitter and the camera lens are finely adjusted according to the shape and size of the light spot to ensure that the center of the emitter and the camera lens are aligned.

[0146] In this embodiment of the disclosure, the method for determining the influencing factors of screen light spots of hardware devices can measure various influencing factors of light spots, quantify the degree of influence of each influencing factor in the formation process of light spots, obtain the optimal parameters for avoiding light spots, and provide a reference for eliminating or reducing the impact of light spots on screen use.

[0147] Figure 6 This is a schematic diagram of the main modules of an apparatus for determining the influencing factors of screen light spots of a hardware device according to an embodiment of the present disclosure. The apparatus for determining the influencing factors of screen light spots of a hardware device is applied to a testing system. The testing system includes control software and hardware devices. The hardware devices include a signal adapter board, an emitter, an emitter controller, a camera lens, an image controller, and a terminal screen, such as... Figure 6 As shown, the apparatus 600 of this disclosure for determining the influencing factors of screen light spots in hardware devices includes:

[0148] The receiving module 601 of the light-emitting controller and the receiving module 602 of the shooting controller are used to receive the screen synchronization signal sent by the signal adapter board.

[0149] The control module 603 of the light-emitting controller is used to determine the emission signal of the light emitter according to the test database and the screen synchronization signal, and control the light emitter to emit laser according to the emission signal;

[0150] The control module 604 of the shooting controller is used to determine the shooting signal of the shooting lens according to the test database and the screen synchronization signal, and control the shooting lens to shoot the light spot image on the terminal screen according to the shooting signal;

[0151] The analysis module 605 of the control software is used to analyze the spot parameters using the spot image and generate a parameter relationship report between the screen synchronization signal and / or the transmission signal and the spot parameters.

[0152] Figure 7 A schematic diagram illustrating the interaction process of a test system for determining the influencing factors of screen light spots on a hardware device according to an exemplary embodiment of the present disclosure is shown, such as... Figure 7 As shown, the interactive process of the test system for determining the influencing factors of screen light spots in hardware devices disclosed herein includes:

[0153] The control software sends the vertical synchronization instance, laser instance, and shooting instance from the test database to the control motherboard;

[0154] The control motherboard sends the vertical synchronization instance to the terminal host, the laser instance to the emitter, and the shooting instance to the shooting lens, respectively.

[0155] The terminal host lights up the terminal screen according to the vertical synchronization instance;

[0156] The signal adapter board collects the screen synchronization signal from the terminal screen and sends the screen synchronization signal to the control motherboard.

[0157] The main control board synchronizes the screen synchronization signal to the illumination controller and the shooting controller;

[0158] The light-emitting controller controls the light emitter to emit laser light according to the emission signal;

[0159] The shooting controller controls the shooting lens to acquire light spot images according to the shooting signal, such as... Figure 8 As shown, the light spot image is sent to the control motherboard;

[0160] The control motherboard receives the bokeh image returned by the camera lens and sends it to the control software;

[0161] The control software analyzes the spot image, determines the spot parameters, and generates a report on the parameter relationship between the screen synchronization signal and / or the transmitted signal and the spot parameters, including curves showing the relationship between at least one of the following and the spot intensity and / or spot size:

[0162] Each point's brightness, brightness step size, each point's color, color step size, each emission delay time, emission delay step size, each emission duration, emission duration step size, each emission current value, current value step size, each shooting delay time, shooting delay step size, each exposure duration, exposure duration step size.

[0163] Furthermore, such as Figure 9 As shown, the signal adapter board 900 includes a screen connector interface 910, a host connector interface 920, a synchronization signal line interface 930, a signal acquisition wire 940, a synchronization signal line 950 (also known as a Vsync signal line), a screen ribbon cable 960, and a host ribbon cable 9709. The screen connector interface 910 and the host connector interface 920 are respectively disposed on opposite sides of the signal adapter board 900. The screen connector interface 910 is connected to the screen ribbon cable interface S1 of the terminal screen S through the screen ribbon cable 960, and the host connector interface 920 is connected to the host ribbon cable interface H1 of the terminal host H through the host ribbon cable 970. The terminal 931 of the synchronization signal line interface 930 is connected to the screen synchronization signal pin 911 in the screen connector interface 910 through the signal acquisition wire 940 to acquire the screen synchronization signal of the terminal screen S. The terminal 931 of the synchronization signal line interface 930 is connected to the control motherboard through the synchronization signal line 950 to output the screen synchronization signal acquired from the terminal screen to the control motherboard. Among them, the screen cable 960 and the host cable 970 can be replaced by a Pogo pin, and the screen synchronization signal pin 911 can be in the form of a solder pad.

[0164] When connecting the signal adapter board 900 to the terminal host H and the terminal screen S, simply disconnect the original ribbon cables from the host ribbon cable interface H1 of the terminal host H and the screen ribbon cable interface S1 of the terminal screen S. Then, use the screen ribbon cable 960 to connect the terminal screen S to the signal adapter board 900 and the host ribbon cable 970 to connect the terminal host H to the signal adapter board 900. Without damaging the terminal host H and the terminal screen S, the signal adapter board 900 can obtain the screen synchronization signal of the terminal screen S and output it to the control motherboard.

[0165] Exemplary embodiments of this disclosure also provide an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to cause the electronic device to perform a method according to an embodiment of this disclosure.

[0166] Exemplary embodiments of this disclosure also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a computer's processor, is used to cause the computer to perform a method according to embodiments of this disclosure.

[0167] Exemplary embodiments of this disclosure also provide a computer program product, including a computer program, wherein, when executed by a processor of a computer, the computer program is used to cause the computer to perform a method according to an embodiment of this disclosure.

[0168] refer to Figure 10 The present invention describes a structural block diagram of an electronic device 1000 that can serve as a server or client of the present disclosure, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0169] like Figure 10 As shown, the electronic device 1000 includes a computing unit 1001, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1002 or a computer program loaded from a storage unit 1008 into a random access memory (RAM) 1003. The RAM 1003 may also store various programs and data required for the operation of the device 1000. The computing unit 1001, ROM 1002, and RAM 1003 are interconnected via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0170] Multiple components in electronic device 1000 are connected to I / O interface 1005, including: input unit 1006, output unit 1007, storage unit 1008, and communication unit 1009. Input unit 1006 can be any type of device capable of inputting information to electronic device 1000. Input unit 1006 can receive input digital or character information and generate key signal inputs related to user settings and / or function control of electronic device. Output unit 1007 can be any type of device capable of presenting information and may include, but is not limited to, a display, speaker, video / audio output terminal, vibrator, and / or printer. Storage unit 1004 may include, but is not limited to, disk and optical disk. Communication unit 1009 allows electronic device 1000 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers, and / or chipsets, such as Bluetooth™ devices, WiFi devices, WiMax devices, cellular communication devices, and / or the like.

[0171] The computing unit 1001 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 1001 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1001 performs the various methods and processes described above. For example, in some embodiments, Figure 1 , Figures 3 to 5 The method can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as storage unit 1008. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 1000 via ROM 1002 and / or communication unit 1009. In some embodiments, computing unit 1001 can be configured to execute by any other suitable means (e.g., by means of firmware). Figure 1 , Figures 3 to 5 The method.

[0172] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0173] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0174] As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or apparatus (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0175] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0176] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0177] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other.

Claims

1. A method for determining the influencing factors of screen light spot in a hardware device, characterized in that, This invention is applied to a testing system, which includes control software and hardware devices. The hardware devices include a signal adapter board, a light emitter, a light emitter controller, a camera lens, a camera controller, and a terminal screen. The signal adapter board includes a screen connector interface, a host connector interface, a synchronization signal line interface, a signal acquisition wire, a screen ribbon cable, a host ribbon cable, and a synchronization signal line. The screen connector interface and the host connector interface are respectively located on opposite sides of the signal adapter board. The screen connector interface is connected to the screen ribbon cable interface of the terminal screen via the screen ribbon cable, and the host connector interface is connected to the host ribbon cable interface of the terminal host via the host ribbon cable. The synchronization signal line interface is connected to the screen synchronization signal pin in the screen connector interface via the signal acquisition wire to acquire the screen synchronization signal of the terminal screen. The synchronization signal line interface is connected to the control motherboard via the synchronization signal line to output the screen synchronization signal acquired from the terminal screen to the control motherboard. The method includes: The light-emitting controller and the shooting controller receive the screen synchronization signal sent by the signal adapter board; The light-emitting controller determines the emission signal of the light emitter based on the test database and the screen synchronization signal, and controls the light emitter to emit laser light according to the emission signal; The shooting controller determines the shooting signal of the shooting lens based on the test database and the screen synchronization signal, controls the shooting lens to shoot the light spot image on the terminal screen according to the shooting signal, and sends the light spot image to the control software; The control software uses the light spot image to analyze the light spot parameters and generates a report on the parameter relationship between the screen synchronization signal and / or the transmission signal and the light spot parameters; The step of analyzing the spot parameters using the spot image includes: The light spot image is binarized to obtain a binarized image; The binarized image is subjected to multiple dilation and erosion operations to obtain a preprocessed image; Find multiple target pixels in the preprocessed image whose pixel value is greater than or equal to a pixel value threshold and whose number of neighboring pixels in at least one direction is greater than or equal to a number threshold; The size and intensity of the light spot are determined based on the proportion of the number of the target pixels on the terminal screen and the average pixel value of the target pixels, respectively.

2. The method as described in claim 1, characterized in that, The light-emitting controller determines the emission signal of the light emitter based on the test database and the screen synchronization signal, including: Retrieve laser instances from the test database; Determine whether the laser instance is a single test. If the laser instance is a single test: The transmission signal is determined based on the screen synchronization signal, the initial transmission delay time, the initial transmission duration, and the initial transmission current value in the laser example; wherein the transmission signal includes the transmission signal start time, the signal transmission duration, and the signal transmission intensity.

3. The method as described in claim 2, characterized in that, The step of determining the transmission signal based on the screen synchronization signal, and the initial transmission delay time, initial transmission duration, and initial transmission current value in the laser instance, includes: The start time of the transmission signal is determined based on the sum of the start time of the screen synchronization signal and the initial transmission delay time; The initial transmission duration is taken as the signal transmission duration, and the initial transmission current value is taken as the signal transmission intensity; The transmitted signal is obtained by combining the start time of the transmitted signal, the duration of the transmitted signal, and the intensity of the transmitted signal.

4. The method as described in claim 2, characterized in that, In the case where the laser instance is a traversal test, it also includes: Based on the screen synchronization signal and the emission delay combination, emission duration combination, and / or emission current value combination in the laser instance, the emission signal traversal delay point, emission signal traversal duration point, and / or emission signal traversal intensity point are determined; wherein, the emission delay combination includes the initial emission delay time, the emission delay step size, and the maximum emission delay time; the emission duration combination includes the initial emission duration, the emission duration step size, and the maximum emission duration; and the emission current value combination includes the initial emission current value, the current value step size, and the maximum emission current value. The start time of the screen synchronization signal is superimposed with the traversal delay point of the transmission signal to determine the start time point of the transmission signal traversal. The transmitted signal is determined by using the starting time point of the transmitted signal traversal, the duration point of the transmitted signal traversal, and / or the intensity point of the transmitted signal traversal.

5. The method as described in claim 1, characterized in that, The shooting controller determines the shooting signal of the shooting lens based on the test database and the screen synchronization signal, including: Retrieve shooting examples from the test database; Determine whether the shooting instance is a single test. If the shooting instance is a single test: The shooting signal is determined based on the screen synchronization signal, the initial shooting delay time and the initial exposure duration in the shooting example; wherein, the shooting signal includes the shooting signal start time and the signal exposure duration.

6. The method as described in claim 5, characterized in that, The step of determining the shooting signal based on the screen synchronization signal, the initial shooting delay time, and the initial exposure duration in the shooting example includes: The start time of the shooting signal is determined based on the sum of the start time of the screen synchronization signal and the initial shooting delay time; The initial exposure duration is taken as the signal exposure duration; The shooting signal is obtained by combining the start time of the shooting signal and the exposure duration of the signal.

7. The method as described in claim 5, characterized in that, In the case where the shooting instance is a traversal test, it also includes: Based on the shooting delay combination and / or exposure combination in the shooting example, determine the shooting signal traversal delay point and / or exposure traversal duration point; wherein, the shooting delay combination includes the initial shooting delay time, the shooting delay step size and the maximum shooting delay time, and the exposure combination includes the initial exposure duration, the exposure duration step size and the maximum exposure duration; The start time of the screen synchronization signal is superimposed with the traversal delay point of the shooting signal to determine the start time point of the shooting signal traversal. The shooting signal is determined by traversing the starting time point and / or the exposure traversal duration point using the shooting signal.

8. The method as described in claim 1, characterized in that, The light spot parameters include light spot intensity and light spot size; the generation of the parameter relationship report between the screen synchronization signal and / or the transmitted signal and the light spot parameters includes: Fit a report showing the relationship between at least one of the following parameters and the spot intensity and / or spot size: Each point's brightness, brightness step size, each point's color, color step size, each emission delay time, emission delay step size, each emission duration, emission duration step size, each emission current value, current value step size, each shooting delay time, shooting delay step size, each exposure duration, exposure duration step size.

9. The method as described in claim 1, characterized in that, The hardware device further includes a terminal host; before the light-emitting controller and the shooting controller receive the screen synchronization signal sent by the signal adapter board, it also includes: The terminal host lights up the terminal screen according to the vertical synchronization instance in the test database; the vertical synchronization instance includes initial brightness, brightness step size, maximum brightness, initial color, color step size, and maximum color.

10. An apparatus for determining the influencing factors of light spot on the screen of a hardware device, characterized in that, This invention is applied to a testing system, which includes control software and hardware devices. The hardware devices include a signal adapter board, a light emitter, a light emitter controller, a camera lens, a camera controller, and a terminal screen. The signal adapter board includes a screen connector interface, a host connector interface, a synchronization signal line interface, a signal acquisition wire, a screen ribbon cable, a host ribbon cable, and a synchronization signal line. The screen connector interface and the host connector interface are respectively located on opposite sides of the signal adapter board. The screen connector interface is connected to the screen ribbon cable interface of the terminal screen via the screen ribbon cable, and the host connector interface is connected to the host ribbon cable interface of the terminal host via the host ribbon cable. The synchronization signal line interface is connected to the screen synchronization signal pin in the screen connector interface via the signal acquisition wire to acquire the screen synchronization signal of the terminal screen. The synchronization signal line interface is connected to the control motherboard via the synchronization signal line to output the screen synchronization signal acquired from the terminal screen to the control motherboard. The device includes: The receiving module of the light-emitting controller and the receiving module of the shooting controller are used to receive the screen synchronization signal sent by the signal adapter board; The control module of the light-emitting controller is used to determine the emission signal of the light emitter based on the test database and the screen synchronization signal, and control the light emitter to emit laser according to the emission signal; The control module of the shooting controller is used to determine the shooting signal of the shooting lens according to the test database and the screen synchronization signal, and control the shooting lens to shoot the light spot image on the terminal screen according to the shooting signal; The analysis module of the control software is used to analyze the spot parameters using the spot image and generate a parameter relationship report between the screen synchronization signal and / or the transmission signal and the spot parameters; including: performing binarization processing on the spot image to obtain a binarized image; performing multiple dilation and erosion operations on the binarized image to obtain a preprocessed image; finding multiple target pixels in the preprocessed image whose pixel values ​​are greater than or equal to a pixel value threshold and whose number of neighboring pixels in at least one direction is greater than or equal to a number threshold; and determining the spot size and the spot intensity based on the proportion of the number of the multiple target pixels on the terminal screen and the average pixel value of the multiple target pixels.

11. A test system for determining the influencing factors of screen light spot on a hardware device, characterized in that, include: The test fixture and control software are provided. The test fixture is equipped with hardware devices, including a signal adapter board, a light emitter, a light emitter controller, a camera lens, a camera controller, and a terminal screen. The signal adapter board includes a screen connector interface, a host connector interface, a synchronization signal line interface, a signal acquisition wire, a screen ribbon cable, a host ribbon cable, and a synchronization signal line. The screen connector interface and the host connector interface are respectively located on opposite sides of the signal adapter board. The screen connector interface is connected to the screen ribbon cable interface of the terminal screen via the screen ribbon cable, and the host connector interface is connected to the host ribbon cable interface of the terminal host via the host ribbon cable. The synchronization signal line interface is connected to the screen synchronization signal pin in the screen connector interface via the signal acquisition wire to acquire the screen synchronization signal of the terminal screen. The synchronization signal line interface is connected to the control motherboard via the synchronization signal line to output the screen synchronization signal acquired from the terminal screen to the control motherboard. in: The light-emitting controller and the shooting controller receive the screen synchronization signal sent by the signal adapter board; The light-emitting controller determines the emission signal of the light emitter based on the test database and the screen synchronization signal, and controls the light emitter to emit laser light according to the emission signal; The shooting controller determines the shooting signal of the shooting lens based on the test database and the screen synchronization signal, controls the shooting lens to shoot the light spot image on the terminal screen according to the shooting signal, and sends the light spot image to the control software; The control software analyzes the spot parameters using the spot image and generates a parameter relationship report between the screen synchronization signal and / or the transmission signal and the spot parameters. This includes: binarizing the spot image to obtain a binarized image; performing multiple dilation and erosion operations on the binarized image to obtain a preprocessed image; finding multiple target pixels in the preprocessed image whose pixel values ​​are greater than or equal to a pixel value threshold and whose number of neighboring pixels in at least one direction is greater than or equal to a number threshold; and determining the spot size and spot intensity based on the proportion of the number of target pixels on the terminal screen and the average pixel value of the target pixels, respectively.

12. The testing system as described in claim 11, characterized in that, The test fixture also includes a terminal host and a control motherboard. The terminal host and the terminal screen are connected through the signal adapter board. The signal adapter board and the control motherboard are connected through a synchronization signal line. The control motherboard is connected to the emitter and the camera lens through laser signal lines and lens signal lines, respectively. The control motherboard and the terminal host are connected to the carrier of the control software through USB connection cables.

13. The testing system as described in claim 12, characterized in that, Also includes: The control software is used to send the vertical synchronization instance, laser instance, and shooting instance of the test database to the control motherboard; The control motherboard is used to send the vertical synchronization instance to the terminal host, the laser instance to the emitter, and the shooting instance to the shooting lens, respectively. The terminal host is used to light up the terminal screen according to the vertical synchronization instance; The signal adapter board is used to collect the screen synchronization signal of the terminal screen and send the screen synchronization signal to the control motherboard. The control motherboard is used to synchronize the screen synchronization signal to the light-emitting controller and the shooting controller; The light-emitting controller is used to control the light emitter to emit laser light according to the emission signal; The shooting controller is used to control the shooting lens to acquire the light spot image on the terminal screen according to the shooting signal, and send the light spot image to the control motherboard; The control motherboard is used to receive the light spot image returned by the shooting lens and send it to the control software; The control software is used to analyze the light spot image, determine the light spot parameters, and generate a parameter relationship report between the screen synchronization signal and / or the transmission signal and the light spot parameters.

14. The testing system as described in claim 11, characterized in that, The light spot parameters include light spot intensity and light spot size; the generation of the parameter relationship report between the screen synchronization signal and / or the transmitted signal and the light spot parameters includes: Fit a curve showing the relationship between at least one of the following and the changes in the light spot intensity and / or the light spot size: Each point's brightness, brightness step size, each point's color, color step size, each emission delay time, emission delay step size, each emission duration, emission duration step size, each emission current value, current value step size, each shooting delay time, shooting delay step size, each exposure duration, exposure duration step size.

15. An electronic device comprising: processor; as well as Stored program memory, The program includes instructions that, when executed by the processor, cause the processor to perform a method for determining the influencing factors of screen light spots of a hardware device according to any one of claims 1-9.

16. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform a method for determining the influencing factors of screen light spots of a hardware device according to any one of claims 1-9.

Citation Information

Patent Citations

  • Light spot detection method and device, electronic equipment and storage medium

    CN115358992A

  • Precision light spot analyzer

    CN2434785Y