Key button transmittance test method, device, equipment and medium

By correcting the brightness value of the rubber layer using a surface light source correction coefficient, the problem of low transmittance test accuracy caused by camera lens distortion was solved, achieving higher test accuracy.

CN116297346BActive Publication Date: 2026-02-17GOERTEK INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310141788.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-16
Publication Date
2026-02-17
Estimated Expiration
2043-02-16

AI Technical Summary

Technical Problem

In the existing technology, the optical transmittance test accuracy of the rubber layer of the button structure is low, mainly due to insufficient brightness uniformity caused by camera lens distortion.

Method used

By obtaining the brightness values ​​of the camera with and without the rubber layer, the surface light source correction coefficient is determined. This coefficient is then used to correct the brightness value of the rubber layer, overcoming the influence of camera lens distortion and improving the accuracy of transmittance testing.

Benefits of technology

It effectively overcomes the impact of camera lens distortion on brightness uniformity, and improves the accuracy and precision of button transmittance testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116297346B_ABST
    Figure CN116297346B_ABST
Patent Text Reader

Abstract

The application discloses a key transmittance test method, device, equipment and medium. The method comprises the following steps: acquiring at least two first luminance values, at least two second luminance values collected by a camera of a current test system, and a first area light source luminance value of an area light source of the current test system; determining an area light source correction coefficient of the light-emitting area based on the numerical relationship between the first luminance values; correcting the second luminance values based on the area light source correction coefficient to obtain corrected key luminance values; and obtaining the transmittance of the key protrusion based on the corrected key luminance values and the first area light source luminance value. The application can correct the luminance values based on the area light source correction coefficient in the actual measurement process, compensate for the influence of the wide-angle distortion of the camera, and thus improve the accuracy of the transmittance test.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of materials testing technology, and in particular to a method, apparatus, equipment and medium for testing the transmittance of buttons. Background Technology

[0002] In related technologies, the button structure includes a stacked dome sheet button film layer and a rubber layer. The rubber layer requires optical transmittance testing. The optical transmittance testing system consists of a camera, a surface light source, and an external shield. The external shield provides a dark, enclosed environment, and the surface light source provides a uniformly bright luminous surface within this enclosed environment. The test sample is placed between the camera and the surface light source, allowing light to pass through the test sample, and the camera measures the brightness of the test sample.

[0003] Generally speaking, the brightness uniformity of a surface light source is above 95%. However, due to the wide-angle distortion of the camera, the brightness uniformity measured within the camera's field of view cannot reach the ideal level, resulting in the need to improve the test accuracy.

[0004] Application content

[0005] The main purpose of this application is to provide a method, apparatus, device and medium for testing the transmittance of buttons, in order to solve the technical problem of low testing accuracy of the rubber layer of existing buttons in optical transmittance testing.

[0006] To achieve the above objectives, this application provides a method for testing button transmittance, the method comprising:

[0007] The system acquires at least two first brightness values ​​and at least two second brightness values ​​from the camera of the current test system, as well as the first surface light source brightness value of the surface light source of the current test system. When the rubber layer is placed on the surface light source, the surface light source has at least one light-emitting area corresponding to the button protrusions of the rubber layer. The first brightness value is the brightness value of the light-emitting area when the rubber layer is not placed on the surface light source. The second brightness value is the brightness value of the button protrusions of the rubber layer when the rubber layer is placed on the surface light source emitting light at the first surface light source brightness value.

[0008] Based on the numerical relationship between the first brightness values, the surface light source correction coefficient of the light-emitting area is determined;

[0009] The second brightness value is corrected based on the surface light source correction coefficient to obtain the corrected button brightness value;

[0010] The transmittance of the raised button is obtained based on the brightness values ​​of the calibrated button and the first surface light source.

[0011] In one possible embodiment of this application, the surface light source correction coefficient of the light-emitting region is determined based on the numerical relationship between the first brightness values, including:

[0012] Based on the first brightness value, a brightness reference value is determined;

[0013] The surface light source correction coefficient of the luminous area is determined based on the ratio between the first luminance value and the luminance reference value.

[0014] In one possible embodiment of this application, the transmittance of the button protrusion is obtained based on the corrected button brightness value and the brightness value of the first surface light source, including:

[0015] Based on the brightness value of the first surface light source, determine the backlight brightness of each button protrusion on the side closest to the surface light source;

[0016] The transmittance of the raised buttons is obtained by adjusting the brightness values ​​of the calibrated buttons and the backlight brightness.

[0017] In one possible embodiment of this application, determining the backlight brightness of each button protrusion near the surface light source based on the brightness value of the first surface light source includes:

[0018] The laboratory transmittance of each second button protrusion in the second rubber layer is obtained, as well as at least one third brightness value acquired by the camera; wherein the third brightness value is the brightness value of the second button protrusion when the rubber layer is placed on a surface light source emitting light at the brightness value of the first surface light source.

[0019] The third brightness value is corrected based on the surface light source correction coefficient to obtain the reference button brightness correction value;

[0020] The backlight brightness value was obtained based on the reference button brightness correction value and laboratory transmittance.

[0021] In one possible embodiment of this application, obtaining the third brightness value of each second button protrusion in the second rubber layer includes:

[0022] Acquire at least two third brightness values ​​of the second rubber layer captured by the camera;

[0023] Based on reference button brightness correction values ​​and laboratory transmittance, backlight brightness values ​​were obtained, including:

[0024] Based on the reference button brightness correction value and laboratory transmittance, the initial backlight brightness value of each second button protrusion is obtained.

[0025] The backlight brightness value is obtained based on at least two initial backlight brightness values.

[0026] In one possible embodiment of this application, the laboratory transmittance is obtained by testing a standard rubber layer sample using a laboratory testing system, which has higher accuracy than current testing systems.

[0027] In one possible embodiment of this application, determining a brightness reference value based on a first brightness value includes:

[0028] Use the maximum value among at least one first brightness value as the brightness reference value.

[0029] Secondly, this application also discloses a button transmittance testing device, the device comprising:

[0030] The brightness acquisition module is used to acquire at least two first brightness values, at least two second brightness values, and the first surface light source brightness value of the current test system's surface light source, all captured by the camera of the current test system. When the rubber layer is placed on the surface light source, the surface light source has at least one light-emitting area corresponding to the button protrusions of the rubber layer. The first brightness value is the brightness value of the light-emitting area when the rubber layer is not placed on the surface light source. The second brightness value is the brightness value of the button protrusions of the rubber layer when the rubber layer is placed on the surface light source emitting light at the first surface light source brightness value.

[0031] The coefficient determination module is used to determine the surface light source correction coefficient of the luminous area based on the numerical relationship between the first brightness values;

[0032] The brightness compensation module is used to correct the second brightness value based on the surface light source correction coefficient to obtain the corrected button brightness value;

[0033] The transmittance calculation module is used to obtain the transmittance of the button protrusion based on the corrected button brightness value and the brightness value of the first surface light source.

[0034] Thirdly, this application also provides a key transmittance testing device, including: a processor, a memory, and a key transmittance testing program stored in the memory, wherein the key transmittance testing program is executed by the processor to implement the steps of the above key transmittance testing method.

[0035] Fourthly, this application also provides a computer-readable storage medium storing a key transmittance test program, which, when executed by a processor, implements the above-described key transmittance test method.

[0036] This application proposes a method for testing the transmittance of buttons. The method includes: acquiring at least two first brightness values ​​and at least two second brightness values ​​collected by a camera, as well as the brightness value of a first surface light source of a current testing system; wherein, when a rubber layer is placed on the surface light source, the surface light source has at least one light-emitting area corresponding one-to-one with the button protrusions of the rubber layer; the first brightness value is the brightness value of the light-emitting area when no rubber layer is placed on the surface light source; the second brightness value is the brightness value of the button protrusions of the rubber layer when the rubber layer is placed on the surface light source emitting light at the first surface light source brightness value; based on the numerical relationship between the first brightness values, the second brightness values ​​are corrected to obtain corrected button brightness values; and based on the corrected button brightness value and the first surface light source brightness value, the transmittance of the button protrusions is obtained.

[0037] Therefore, this application uses a camera to measure the first brightness value of each luminous area of ​​the surface light source when there is no rubber layer. The numerical relationship between the first brightness values ​​can reflect the influence of camera lens distortion on brightness uniformity. In this way, a surface light source correction coefficient is obtained to overcome the influence of camera lens distortion. The surface light source correction coefficient is then used to correct the second brightness value during actual measurement to compensate for the influence of camera distortion and improve the accuracy of transmittance testing. Attached Figure Description

[0038] Figure 1 This is a schematic diagram of the key transmittance testing device for the hardware operating environment involved in the embodiments of this application;

[0039] Figure 2 This is a flowchart illustrating the first embodiment of the button transmittance testing method of this application;

[0040] Figure 3 This is a schematic diagram showing the positions of the rubber layer and the surface light source in the current testing system of this application;

[0041] Figure 4 This is a flowchart illustrating the second embodiment of the button transmittance testing method of this application;

[0042] Figure 5 This is a flowchart illustrating the third embodiment of the button transmittance testing method of this application;

[0043] Figure 6 This is a schematic diagram of the button transmittance testing device of this application.

[0044] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0045] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0046] In related technologies, many electronic products, such as remote controls, incorporate LED lighting structures, which transmit light generated by internal LEDs to the outside of the product. Alternatively, they may have photosensitive structures, where built-in ambient light sensors detect external light. Both of these structures involve the transmittance performance of related light-transmitting components. Therefore, during manufacturing, the transmittance of these components needs to be tested to ensure the yield rate of electronic products. For backlit button structures, the rubber layer of the button structure requires optical transmittance testing. The optical transmittance testing system consists of a camera, a surface light source, and an external shield. The external shield provides a dark, enclosed environment, and the surface light source provides a uniformly bright luminous surface within this environment. The test sample is placed between the camera and the surface light source, allowing light to pass through it. The camera analyzes the brightness of the test sample using its built-in metering function. Generally, the brightness uniformity of the surface light source is above 95%. The current testing system's camera is equipped with a metering function to measure the intensity of light within the field of view.

[0047] However, due to the wide-angle distortion of the camera, the brightness uniformity measured within the camera's field of view cannot reach an ideal level, resulting in the need to improve the test accuracy.

[0048] To address this, this application provides a technical solution that first determines the numerical relationship between the first brightness values ​​of each luminous area measured by a single surface light source under the same camera, thereby determining the influence of camera lens distortion on the brightness values. This yields a surface light source correction coefficient to overcome the influence of camera lens distortion. In actual measurement, the brightness value of the rubber layer is corrected based on the surface light source correction coefficient, ensuring that the surface light sources reach the same level, thus improving the accuracy of transmittance testing.

[0049] The inventive concept of this application is further illustrated below with reference to some specific embodiments.

[0050] The following embodiments of this application will describe the key transmittance testing equipment used in the technical implementation of this application:

[0051] Reference Figure 1 , Figure 1 This is a schematic diagram of the key transmittance testing device for the hardware operating environment involved in the embodiments of this application.

[0052] like Figure 1As shown, the key transmittance testing device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless Fidelity (WI-FI) interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0053] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the key transmittance testing equipment and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0054] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a data storage module, a network communication module, a user interface module, and a key function configuration program.

[0055] exist Figure 1 In the button transmittance testing device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and memory 1005 in the button transmittance testing device of this application can be set in the button transmittance testing device. The button transmittance testing device calls the button function configuration program stored in the memory 1005 through the processor 1001 and executes the button function configuration method provided in the embodiment of this application.

[0056] Based on, but not limited to, the above hardware structure, this application provides a first embodiment of a button transmittance testing method. (Refer to...) Figure 2 , Figure 2 A flowchart illustrating the first embodiment of the button transmittance testing method of this application is shown.

[0057] It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown here.

[0058] In this embodiment, the method includes:

[0059] Step S100: Obtain at least two first brightness values, at least two second brightness values, and the first surface light source brightness value of the surface light source captured by the camera.

[0060] When the rubber layer is placed on the surface light source, the surface light source has at least one light-emitting area that corresponds one-to-one with the button protrusions of the rubber layer. The first brightness value is the brightness value of the light-emitting area when the rubber layer is not placed on the surface light source. The second brightness value is the brightness value of the button protrusions of the rubber layer when the rubber layer is placed on the surface light source that emits light at the brightness value of the first surface light source.

[0061] Specifically, in this embodiment, a television remote control is used as an example to illustrate the button structure under test. It is understood that the rubber layer of a television remote control has 22 buttons. Please refer to... Figure 3 When testing the button product under test, the specific testing method includes the following steps:

[0062] (1) Place the rubber layer on the surface light source, close the external shield, and use the camera to determine the position information of each button protrusion on the rubber layer within the camera's field of view. Based on the position information, determine the light-emitting areas on the surface light source that correspond one-to-one with each button protrusion.

[0063] (2) Remove the rubber layer from the surface light source 10. When no object is placed on the surface light source 10, close the external shield and the camera measures the first brightness value of each light-emitting area.

[0064] (3) Place the rubber layer back on the surface light source, set the brightness of the surface light source to the first surface light source brightness value, then close the external shield, and the camera measures the second brightness value of each button protrusion 21 on the rubber layer 20.

[0065] Step S200: Based on the numerical relationship between the first brightness values, determine the surface light source correction coefficient of the light-emitting area.

[0066] Specifically, ideally, the first brightness values ​​of each luminous region measured by the camera should be consistent. However, due to factors such as wide-angle distortion of the camera lens, the actual values ​​of the first brightness values ​​measured by the camera are not consistent. It is understandable that for the same camera, its wide-angle distortion should be relatively stable, and for the same test system, when the positional relationship between the camera and the surface light source remains unchanged, the position of each luminous region in the camera lens is also fixed. Therefore, for the same test system, the numerical relationship between the brightness values ​​of the luminous regions is relatively stable each time it is measured. Thus, based on the numerical relationship between the first brightness values ​​measured in step (2), the influence of wide-angle distortion of the camera lens on the brightness values ​​of the luminous regions can be quantified. Then, based on the quantification, the surface light source correction coefficient that enables the brightness values ​​of each luminous region to overcome the influence of wide-angle distortion of the camera lens can be obtained. That is, based on the numerical relationship between the first brightness values, the surface light source correction coefficient required to compensate the actual brightness values ​​of each luminous region to the ideal value can be determined.

[0067] Step S300: Correct the second brightness value based on the surface light source correction coefficient to obtain the corrected button brightness value.

[0068] Step S400: Based on the brightness value of the calibrated button and the brightness value of the first surface light source, obtain the transmittance of the button protrusion.

[0069] After obtaining the surface light source correction coefficients for each button area, these coefficients are used to correct the deviation caused by wide-angle distortion of the camera lens in the measured second brightness value. Specifically, for each button protrusion, the corrected button brightness value = second brightness value / surface light source correction coefficient.

[0070] In one example, the surface light source correction coefficient k for the light-emitting area corresponding to the switch button is... IO =0.78, second brightness value L IO =76, then the brightness value of the calibration button is L IO,校正 =76 / 0.78=97.4; the surface light source coefficient of the luminous area corresponding to the volume up button is k. ∧ =0.932, the second brightness value is L ∧ =132, then the brightness value of the calibration button is L ∧,校正 =132 / 0.932=141.7.

[0071] After calculating the corrected button brightness value for each button protrusion—that is, after compensating for the deviation caused by camera distortion using the surface light source coefficient—the transmittance of each button protrusion can be calculated. It can be understood that transmittance = corrected button brightness value / first surface light source brightness value.

[0072] Therefore, in this embodiment, without the rubber layer, the first brightness value of the light-emitting area corresponding to each button protrusion on the surface light source acquired by the camera is measured separately. Since the same measurement system is used, the surface light source correction coefficient of each light-emitting area can be obtained according to the numerical relationship between the first brightness values. The surface light source correction coefficient can compensate the actual brightness value of each light-emitting area to the ideal value. Thus, in the actual measurement process, the brightness value of the rubber layer can be corrected and compensated based on the surface light source correction coefficient, so that the brightness value overcomes the influence of wide-angle distortion of the camera lens, thereby improving the accuracy of the transmittance test.

[0073] Based on the above embodiments, this application provides a second embodiment of a button transmittance testing method. (Refer to...) Figure 4 , Figure 4 A flowchart illustrating a second embodiment of the button transmittance testing method of this application is shown.

[0074] In this embodiment, step S200 specifically includes:

[0075] Step S210: Determine the brightness reference value based on the first brightness value.

[0076] Specifically, after obtaining the initial brightness value of each button protrusion, the initial brightness value can be processed to obtain a brightness reference value. This reference value is used as a benchmark for subsequent data processing to evaluate other initial brightness values, reflecting the overall numerical ratio between the individual initial brightness values.

[0077] Therefore, the brightness reference value can be the average value, mode, or median value among at least one brightness value, and this embodiment does not limit this.

[0078] As an example, step S210 specifically includes: using the maximum value among at least one first brightness value as a brightness reference value.

[0079] As is understandable, distortion occurs because light undergoes irregular refraction as it passes through the lens elements. Therefore, the brightness of distorted areas will decrease, meaning the area with the highest brightness value can be approximated as having no distortion. Thus, by using the maximum value among at least one initial brightness value as a brightness reference value, subsequent processing can better reflect the numerical relationship between the brightness values ​​of distorted and undistorted areas.

[0080] Step S220: Determine the surface light source correction coefficient for the button area based on the ratio between the first brightness value and the brightness reference value.

[0081] Specifically, after determining the brightness reference value, the ratio between each first brightness value and the brightness reference value can be used as the surface light source correction coefficient for each button area.

[0082] Based on the foregoing, since distortion is caused by irregular refraction of light when it passes through the lens, the proportion of irregularly refracted light beams is approximately fixed for the same camera lens. Therefore, the ratio between each first brightness value and the brightness reference value can be used as the surface light source correction coefficient for each button area.

[0083] Of course, it is understandable that when performing step (2) of the aforementioned test method, the important thing is to obtain the ratio between each first brightness value and the brightness reference value, rather than the numerical value of each first brightness value itself. Therefore, when performing step (2), the actual luminous brightness of the surface light source is not limited. For example, the surface light source can be configured to still emit light at the first surface light source brightness value, or it can be configured to emit light at a brightness greater than the first surface light source brightness value. Alternatively, when performing step S (2), the surface light source emits light at the second surface light source brightness. For example, in one example, when the first surface light source brightness value is 280 lux, the second surface light source brightness can be 60 lux.

[0084] Based on the foregoing embodiments, a third embodiment of the button transmittance testing method of this application is proposed. (See also...) Figure 5 , Figure 5 This is a flowchart illustrating the third embodiment of the transmittance testing method of this application.

[0085] In this embodiment, step S400 specifically includes:

[0086] Step S410: Determine the backlight brightness of each button protrusion near the surface light source based on the brightness value of the first surface light source.

[0087] Step S420: Based on the corrected button brightness value and backlight brightness, obtain the transmittance of the button protrusion.

[0088] Specifically, since the uniformity of the surface light source is not ideally 100%, the backlight brightness of each button protrusion near the surface light source is not necessarily equal to the brightness value of the first surface light source. Therefore, the backlight brightness of each button protrusion near the surface light source can be determined first based on the brightness value of the first surface light source. Then, based on the corrected button brightness value and backlight brightness, the transmittance of the button protrusion can be obtained. In this way, the accuracy of the calculated transmittance of the button protrusion is higher.

[0089] Furthermore, the surface light source correction coefficient is based on the current test system, and therefore is affected by the camera parameters and the distance between the camera and the surface light source, among other parameters of the current test system. In this case, correcting the brightness value using the surface light source correction coefficient may result in a high correlation between the obtained corrected button brightness value and the current test system. Therefore, to eliminate the influence of the current test system on the test results, the backlight brightness value can be converted to the parameter environment corresponding to the current test system before calculating the transmittance.

[0090] In this embodiment, step S410 specifically includes:

[0091] Step S411: Obtain the laboratory transmittance of each second button protrusion in the second rubber layer, and at least one third brightness value collected by the camera; wherein, the third brightness value is the brightness value of the second button protrusion when the rubber layer is placed on a surface light source emitting light with the brightness value of the first surface light source.

[0092] Step S412: Correct the third brightness value based on the surface light source correction coefficient to obtain the reference button brightness correction value.

[0093] Step S413: Obtain the backlight brightness value based on the reference button brightness correction value and the standard sample laboratory transmittance.

[0094] Specifically, in this embodiment, the specific testing method includes the following steps:

[0095] (1) Place the rubber layer on the surface light source, close the external shield, and use the camera to determine the position information of each button protrusion on the rubber layer within the camera's field of view. Based on the position information, determine the light-emitting areas on the surface light source that correspond one-to-one with each button protrusion.

[0096] (2) Remove the rubber layer from the surface light source 10. When no object is placed on the surface light source 10, close the external shield and the camera measures the first brightness value of each light-emitting area.

[0097] (3) Place the rubber layer back on the surface light source, set the brightness of the surface light source to the first surface light source brightness value, then close the external shield, and the camera measures the second brightness value of each button protrusion 21 on the rubber layer 20.

[0098] (4) Place the second rubber layer on the surface light source of the current test system. The surface light source still emits light at the brightness value of the first surface light source. Then, close the external shield and the camera collects the third brightness value of each second button protrusion of the second rubber layer. The transmittance of each second button protrusion of the second rubber layer has been calculated in the laboratory, i.e., the laboratory transmittance.

[0099] Understandably, laboratory transmittance is obtained by testing standard rubber layer samples using a laboratory testing system, which is more accurate than current testing systems. Therefore, the transmittance of the keycap protrusions in the rubber layer is calculated using the more accurate laboratory transmittance, thus reducing testing errors.

[0100] In this embodiment, the test provided in this application is calibrated using a standard rubber layer sample and a standard laboratory transmittance sample with higher precision, so as to further improve the test accuracy.

[0101] In this embodiment, the surface light source and its luminous intensity remain unchanged. Then, the rubber layer of the product under test is replaced with a second rubber layer whose laboratory transmittance is already known. It is worth noting that the second rubber layer and the first rubber layer have the same specifications and are positioned in the same location as the surface light source, so the light propagation path in the second rubber layer is approximately the same as the light propagation path in the first rubber layer.

[0102] At this point, the backlight brightness value can be calculated by reverse calculation using the third brightness value of the second button protrusion on the second rubber layer, which is obtained from the current testing system. That is, backlight brightness value = third brightness value / standard sample laboratory transmittance.

[0103] Of course, it is understandable that, due to the existence of wide-angle distortion in the camera during this process, the third brightness value can be compensated by the area light source coefficient, which is to obtain the reference button brightness correction value, based on the concept of the embodiments of this application. Therefore:

[0104] Backlight brightness value = Reference button brightness correction value / Laboratory transmittance.

[0105] Therefore, this embodiment provides a method for determining the backlight brightness value, which can effectively obtain the backlight brightness and thus accurately measure the transmittance of the product.

[0106] Furthermore, as an embodiment, step S411 specifically includes: acquiring the third brightness values ​​of at least two second rubber layers captured by the camera.

[0107] Step S413 specifically includes: obtaining the initial backlight brightness value of each second button protrusion based on the reference button brightness correction value and the laboratory transmittance; and obtaining the backlight brightness value based on at least two initial backlight brightness values.

[0108] Specifically, in this embodiment, in order to further improve the testing accuracy, the second rubber layer includes at least two, such as ten.

[0109] To enable those skilled in the art to better understand the scope of protection of the claims of this application, specific implementation examples in specific application scenarios are used to explain and illustrate the technical solutions described in the claims of this application. It should be understood that the following examples are only used to explain this application and are not intended to limit the scope of protection of the claims of this application.

[0110] In one example, when the brightness value of the first surface light source is 280 lux, the second surface light source can be 60 lux. The resulting surface light source coefficients are shown in Table 1 below:

[0111] Table 1

[0112]

[0113] Where L1 is the first brightness value, K is the surface light source coefficient, and the maximum value of the first brightness value is 132, that is, the reference brightness value is 132.

[0114] The second rubber layer of NO.1 is placed on the surface light source of the current test system. The surface light source still emits light at the brightness value of the first surface light source. Then the external shield is closed, and the camera acquires the third brightness value of each second button protrusion of the second rubber layer of NO.1.

[0115] Then, remove the second rubber layer of NO.1 and place the second rubber layer of NO.2 on the surface light source of the current test system. The surface light source still emits light at the brightness value of the first surface light source. Then, close the external shielding cover and the camera collects the third brightness value of each second button protrusion on the second rubber layer.

[0116] Repeat the above steps to obtain the brightness values ​​of the second rubber layer NO.1 to NO.10 as shown in Table 2 below:

[0117] Table 2:

[0118] Serial Number No.1 No.2 No. 3 36 No. 5 No. 6 No. 7 No. 8 No. 9 No. 10 1 76 75 78 74 75 66 75 78 74 73 2 82 84 85 84 79 85 84 79 82 82 3 109 112 106 108 104 108 102 104 106 103 4 113 113 114 103 110 114 110 111 110 110 5 103 104 107 103 105 110 102 101 108 102 6 118 122 116 114 122 125 115 122 120 120 7 122 126 127 116 122 125 115 122 120 111 8 96 102 102 99 100 105 97 99 102 101 9 123 129 130 124 123 131 121 122 130 124 10 118 119 121 115 115 119 119 123 117 118 11 96 95 98 95 93 96 95 98 96 94 12 136 137 137 128 143 142 137 135 136 135 13 113 117 115 110 111 118 114 118 112 112 14 95 96 96 96 97 102 93 101 99 96 15 132 138 134 122 138 142 129 131 131 131 16 86 90 87 82 88 86 85 89 89 88 17 68 70 71 70 71 72 66 75 69 70 18 85 85 88 84 83 86 87 84 86 82 19 26 27 26 23 22 22 24 25 25 27 20 27 28 26 23 22 22 24 25 25 27 21 60 58 59 58 59 62 55 59 54 53 22 37 38 37 36 37 37 38 36 38 38

[0119] Substitute the surface light source coefficients from Table 1 into Table 2 above, and calculate the brightness correction values ​​for each reference button in Table 3 according to the formula: Reference button brightness correction value = Third brightness value / Surface light source coefficient.

[0120] Table 3:

[0121]

[0122]

[0123] The laboratory transmittance of the standard samples with 10 second rubber layers measured under laboratory conditions is shown in Table 4 below:

[0124] Table 4:

[0125] Serial Number No.1 No.2 No. 3 36 No. 5 No. 6 No. 7 No. 8 No. 9 No. 10 1 0.138 0.135 0.14 0.133 0.132 0.119 0.133 0.138 0.132 0.13 2 0.14 0.142 0.14 0.14 0.129 0.14 0.139 0.131 0.135 0.137 3 0.17 0.169 0.162 0.163 0.157 0.165 0.154 0.157 0.159 0.157 4 0.168 0.171 0.16 0.154 0.162 0.168 0.159 0.162 0.162 0.162 5 0.159 0.159 0.159 0.156 0.157 0.164 0.152 0.15 0.163 0.153 6 0.176 0.18 0.172 0.169 0.175 0.176 0.168 0.168 0.175 0.169 7 0.17 0.174 0.173 0.164 0.166 0.174 0.161 0.171 0.169 0.165 8 0.144 0.151 0.148 0.144 0.144 0.15 0.143 0.146 0.146 0.146 9 0.175 0.179 0.18 0.174 0.17 0.183 0.169 0.171 0.181 0.175 10 0.179 0.176 0.178 0.168 0.166 0.171 0.175 0.178 0.168 0.17 11 0.155 0.149 0.152 0.149 0.145 0.148 0.148 0.153 0.151 0.145 12 0.199 0.198 0.197 0.184 0.202 0.202 0.195 0.195 0.193 0.193 13 0.177 0.175 0.178 0.168 0.168 0.179 0.175 0.179 0.169 0.169 14 0.13 0.153 0.15 0.152 0.15 0.161 0.146 0.158 0.155 0.15 15 0.2 0.205 0.197 0.181 0.203 0.211 0.19 0.194 0.193 0.194 16 0.134 0.142 0.136 0.128 0.134 0.136 0.133. 0.137 0.137 0.134 17 0.119 0.119 0.121 0.118 0.116 0.124 0.111 0.126 0.122 0.121 18 0.14 0.137 0.14 0.132 0.131 0.137 0.138 0.134 0.137 0.129 19 0.046 0.046 0.045 0.04 0.037 0.038 0.041 0.041 0.043 0.046 20 0.048 0.05 0.045 0.042 0.042 0.047 0.043 0.042 0.047 0.045 21 0.113 0.11 0.112 0.11 0.112 0.117 0.105 0.11 0.101 0.101 22 0.068 0.069 0.066 0.064 0.066 0.068 0.068 0.064 0.068 0.068

[0126] Then, based on the formula: backlight brightness value = reference button brightness correction value / laboratory transmittance, the initial and final backlight brightness values ​​of each second button protrusion can be obtained as shown in Table 5 below:

[0127] Table 5:

[0128]

[0129]

[0130] The backlight brightness value is ultimately obtained from the "Avg" column in Table 5, which is based on the average value of the initial backlights of the 10 second rubber layers.

[0131] It is worth noting that the surface light source correction coefficient described above is based on the current test system. Therefore, it is affected by the camera parameters and the distance between the camera and the surface light source, among other parameters of the current test system. In this case, correcting the brightness value using the surface light source correction coefficient may result in a high correlation between the corrected button brightness value and the current test system. The units of the values ​​in the "Avg" column in Table 5 are not lux, but rather reflect the relative backlight brightness values ​​obtained under the current test system. Furthermore, the first brightness value, after being processed by the surface light source correction coefficient, is also a relative brightness value obtained under the current test system. Therefore, the transmittance calculated by both methods can still accurately reflect the actual transmittance of the button protrusion.

[0132] Secondly, based on the same inventive concept, see [reference] Figure 6 This application also provides a button transmittance testing device, the device comprising:

[0133] The brightness acquisition module 100 is used to acquire at least two first brightness values, at least two second brightness values, and the first surface light source brightness value of the surface light source of the current test system, all captured by the camera of the current test system. When the rubber layer is placed on the surface light source, the surface light source has at least one light-emitting area corresponding to the button protrusions of the rubber layer. The first brightness value is the brightness value of the light-emitting area when the rubber layer is not placed on the surface light source. The second brightness value is the brightness value of the button protrusions of the rubber layer when the rubber layer is placed on the surface light source emitting light at the first surface light source brightness value.

[0134] The coefficient determination module 200 is used to determine the surface light source correction coefficient of the light-emitting area based on the numerical relationship between the first brightness values.

[0135] The brightness compensation module 300 is used to correct the second brightness value based on the surface light source correction coefficient to obtain the corrected button brightness value;

[0136] The transmittance calculation module 400 is used to obtain the transmittance of the key protrusion based on the corrected key brightness value and the brightness value of the first surface light source.

[0137] It should be noted that the various implementation methods of the key transmittance testing device in this embodiment and the technical effects they achieve can be referred to the various implementation methods of the key transmittance testing method in the foregoing embodiments, and will not be repeated here.

[0138] Furthermore, embodiments of this application also propose a computer storage medium storing a key transmittance testing program. When executed by a processor, the key transmittance testing program implements the steps of the key transmittance testing method described above. Therefore, it will not be repeated here. Additionally, the beneficial effects of using the same method will not be repeated here either. For technical details not disclosed in the embodiments of the computer-readable storage medium involved in this application, please refer to the description of the method embodiments of this application. As an example, program instructions can be deployed to execute on a single computing device, or on multiple computing devices located at one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.

[0139] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0140] It should also be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, in the accompanying drawings of the device embodiments provided in this application, the connection relationships between modules indicate that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without any creative effort.

[0141] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware, and of course, it can also be implemented by special hardware including application-specific integrated circuits, special CPUs, special memory, special components, etc. Generally, any function performed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be diverse, such as analog circuits, digital circuits, or special-purpose circuits. However, for this application, software program implementation is more often the preferred implementation method. Based on this understanding, the technical solution 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 readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.

[0142] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A method for testing button transmittance, characterized in that, The method comprises: obtaining at least two first luminance values, at least two second luminance values and a first area light source luminance value of an area light source of a current test system collected by a camera of the current test system; wherein the area light source has at least one light-emitting area corresponding to a key protrusion of a rubber layer when the rubber layer is placed on the area light source, the first luminance value is a luminance value of the light-emitting area when the rubber layer is not placed on the area light source, and the second luminance value is a luminance value of the key protrusion of the rubber layer when the rubber layer is placed on the area light source emitting light at the first area light source luminance value; determining an area light source correction coefficient of the light-emitting area based on a numerical relationship between the first luminance values; correcting the second luminance values based on the area light source correction coefficient to obtain corrected key luminance values; obtaining a transmittance of the key protrusion based on the corrected key luminance values and the first area light source luminance value; the method further comprises: determining a luminance reference value based on the first luminance values; determining the area light source correction coefficient of the light-emitting area based on a ratio between the first luminance values and the luminance reference value.

2. The key-throughput test method of claim 1, wherein, the method further comprises: determining a backlight luminance of each key protrusion close to a side of the area light source based on the first area light source luminance value; obtaining the transmittance of the key protrusion based on the corrected key luminance values and the backlight luminance.

3. The key-throughput test method of claim 2, wherein, the method further comprises: obtaining a laboratory transmittance of each second key protrusion of a second rubber layer and at least one third luminance value collected by the camera; wherein the third luminance value is a luminance value of the second key protrusion when the rubber layer is placed on the area light source emitting light at the first area light source luminance value; correcting the third luminance values based on the area light source correction coefficient to obtain reference key luminance correction values; obtaining the backlight luminance value based on the reference key luminance correction values and the laboratory transmittance.

4. The key pass-through test method of claim 3, wherein, the method further comprises: obtaining at least two third luminance values of the second rubber layer collected by the camera; the method further comprises: obtaining an initial backlight luminance value of each second key protrusion based on the reference key luminance correction values and the laboratory transmittance; obtaining the backlight luminance value based on at least two initial backlight luminance values.

5. The key-throughput test method of claim 3, wherein, the laboratory transmittance is obtained by testing a standard rubber layer sample by a laboratory test system, and the laboratory test system has higher accuracy than the current test system.

6. The key-throughput test method according to any one of claims 1 to 5, characterized in that, the method further comprises: taking a maximum value of at least one first luminance value as the luminance reference value.

7. A key pass-through test apparatus, characterized by, the device comprises: The luminance acquisition module is configured to acquire at least two first luminance values, at least two second luminance values and a first area light source luminance value of an area light source of a current test system, wherein the rubber layer is placed on the area light source, the area light source has at least one light-emitting area corresponding to a key protrusion of the rubber layer, the first luminance value is a luminance value of the light-emitting area when the rubber layer is not placed on the area light source, and the second luminance value is a luminance value of the key protrusion of the rubber layer when the rubber layer is placed on the area light source emitting light at the first area light source luminance value. The coefficient determination module is configured to determine an area light source correction coefficient of the light-emitting area based on a numerical relationship between the first luminance values, and determine a luminance reference value based on the first luminance values, and determine the area light source correction coefficient of the light-emitting area based on a ratio between the first luminance values and the luminance reference value. The luminance compensation module is configured to correct the second luminance values based on the area light source correction coefficient to obtain corrected key luminance values. The transmittance calculation module is configured to obtain a transmittance of the key protrusion based on the corrected key luminance values and the first area light source luminance value.

8. A key pass-through test apparatus, characterized by, The key transmittance test method comprises the following steps: The key transmittance test program is stored in the memory and is executed by the processor to implement the steps of the key transmittance test method.

9. A computer-readable storage medium, characterized in that, The key transmittance test program is stored in the computer readable storage medium and is executed by the processor to implement the key transmittance test method.

Citation Information

Patent Citations

  • Brightness and chrominance measurement method, device and equipment and readable storage medium

    CN112033542A