Screen detection method, detection equipment, equipment to be detected, medium and product
By using reflective components in the electronic device detection device, and using the camera of the device to be tested to capture and analyze the screen image, the problem of high cost of detection equipment in the prior art is solved, and efficient screen defect detection is achieved.
Patent Information
- Application Number
- CN202410251477.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-05
- Publication Date
- 2025-01-07
AI Technical Summary
Existing electronic device screen detection methods require additional detection equipment and cameras, resulting in increased costs.
By setting a reflection component in the detection device, the screen screen of the device to be tested is reflected into the shooting range of its camera, and the device to be tested itself performs shooting and analysis, reducing the configuration requirements of the detection device.
The cost of the detection equipment is reduced, the detection efficiency is improved, and the communication time of the equipment to be tested is reduced, realizing the rapid detection of screen defects.
Smart Images

Figure CN119269522A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a screen detection method, detection equipment, a device to be tested, a medium and a product. Background Art
[0002] Screen defect detection of electronic devices is an important part of the electronic device production process. At present, the screen detection method is usually implemented by professional detection equipment. After the screen of the electronic device displays the test picture, the camera of the detection equipment takes a picture of the screen of the electronic device and analyzes the captured screen picture. According to the detection result of the captured screen picture, it can be determined whether the screen of the electronic device has defects such as bright spots, dark spots, bad spots, color difference or color distortion.
[0003] However, the above detection method requires an additional set of detection equipment, and the detection equipment needs to have a camera to photograph the screen of the electronic device. The detection equipment may also need to have a display screen to display the screen detection results, which will increase the cost of the detection equipment. Summary of the invention
[0004] In view of this, the present application provides a screen detection method, a detection device, a device to be tested, a medium and a product.
[0005] In a first aspect, a screen detection method is provided, in which a device under test is first set at a first position, and a screen to be detected displayed on the screen of the device under test at the first position is reflected by a reflective component at a second position, and a reflected screen of the screen to be detected by the reflective component is within the shooting range of a camera of the device under test. Then, the device under test is controlled to shoot the reflected screen to obtain a first image, wherein the first image is used to detect the screen of the device under test.
[0006] In the above scheme, the device under test can be transferred to the first position where the reflective component can reflect the image including the screen of the device under test, and the camera of the device under test can capture the screen image. When the screen of the device under test is tested, the screen of the device under test can be controlled to display the image to be tested, and the screen image reflected by the reflective component can be captured by the camera of the device under test.
[0007] In this way, the image of the screen of the device under test displaying the screen to be tested can be captured by the camera of the device under test itself. There is no need to additionally configure a testing device including a camera. The testing device only needs to be configured with a reflective component that can reflect the screen image, saving the cost of the testing equipment.
[0008] In combination with the first aspect, in some implementations, the method also includes establishing a communication connection with the device under test; based on the communication connection, sending a test instruction to the device under test, the test instruction is used to control the device under test to display the image to be detected and run a camera application in the background, and / or control the device under test to shoot the reflected image to obtain a first image.
[0009] In the above scheme, the method can be implemented by sending a test instruction to the device to be tested to display the screen to be tested, run the camera application in the background, and take pictures. This eliminates the need for the test device to be equipped with a camera, thus saving the cost of the test device.
[0010] In combination with the first aspect, in some implementations, a screen detection program is installed in the device under test, and the screen detection program is used for the device under test to display the screen to be detected and to shoot the reflected screen; the test instruction is used to start the screen detection program.
[0011] In the above scheme, the device under test may also be pre-installed with a program that can implement the above method. The detection device only needs to send a command to start the program to the device under test, so that the device under test can display the screen to be tested, run the camera application in the background, and take pictures of the screen, etc., thereby eliminating the need for the detection device to be equipped with a camera itself, saving the cost of the detection equipment.
[0012] In combination with the first aspect, in some implementations, the method further includes: receiving a detection result obtained by the device under test based on the first image.
[0013] In the above scheme, the device under test can analyze the captured screen image to determine whether the screen has defects such as bright spots, dark spots, bad spots, color differences or color distortion, thereby reducing the communication time required for the device under test to send the captured screen image to other devices, and for other devices to return the test results to the device under test, thereby improving the detection efficiency.
[0014] In combination with the first aspect, in some implementations, the method further includes receiving a first image sent by the device to be tested; and detecting the screen of the device to be tested based on the first image to obtain a detection result.
[0015] In the above scheme, the device under test can send the captured screen image of the device under test to the detection device or other equipment for analysis. After the detection device or other equipment analyzes and determines the screen image, it can display the detection result of whether the screen of the device under test has defects and determine whether to perform subsequent inspection or repair on the device under test. Furthermore, the detection device or other equipment only needs to analyze and determine the screen image, and does not need to be equipped with a camera or other device, which saves the cost of the detection equipment.
[0016] In combination with the first aspect, in some implementations, the communication connection established with the device under test includes one or more of the following: a Bluetooth connection, a Wireless Fidelity connection, and a wired connection based on a Universal Serial Bus interface.
[0017] In the above solution, the detection device can establish a wired or wireless communication connection with the device to be tested, so that the detection device can control the device to be tested to display the screen to be tested, run the camera application in the background, and shoot the screen, etc. This eliminates the need for the detection device to be equipped with a camera by itself, saving the cost of the detection device.
[0018] In combination with the first aspect, in some implementations, the reflective component is one or more of a plane mirror and a concave mirror, and the ratio of the size of the reflective component to the size of the screen of the device to be tested is greater than a preset multiple.
[0019] In the above solution, the reflective component can reflect a picture including the entire screen of the device under test. For example, the size of the reflective component can be more than 1 times or more than 3 times the size of the device under test and / or the screen of the device under test. In addition, the device under test can take pictures of the screen by itself, and the testing device does not need to be equipped with a camera by itself, which saves the cost of the testing device.
[0020] In combination with the first aspect, in some implementations, the reflective component is parallel to the screen of the device under test.
[0021] In the above solution, the reflective component can be set in a position parallel to the screen of the electronic device, so that the mirror can reflect the screen image, and the device under test can capture the screen image. Then the device under test can capture the screen image by itself, and the testing device does not need to be equipped with a camera by itself, saving the cost of the testing device.
[0022] In combination with the first aspect, in some implementations, the method further includes controlling the device under test to shoot a reflection picture in the sealed darkroom cavity to obtain a first image.
[0023] In the above scheme, the sealed cavity can ensure that the device under test is not disturbed by external light sources when shooting the screen image. Alternatively, the sealed cavity can also be a darkroom, that is, there is no light source in the sealed cavity, and the light source that the reflective component can reflect only comes from the screen of the device under test, so that the screen image that can be shot by the device under test is clearer, and the accuracy of the detection is improved.
[0024] In a second aspect, a screen detection method is provided, which is applied to a device to be tested, wherein the device to be tested is located at a first position, and the method includes: displaying a screen to be detected and running a camera application in the background; photographing a reflected screen in a reflective component to obtain a first image, wherein the first image is used to detect the screen of the device to be tested, and the reflected screen in the reflective component is a screen after the screen to be detected displayed on the screen of the device to be tested is reflected by the reflective component located at a second position.
[0025] In the above scheme, the screen of the device under test can display the image to be tested, and the screen image reflected by the reflective component can be captured by the camera of the device under test itself. In this way, the image of the screen of the device under test displaying the image to be tested can be captured by the camera of the device under test itself, without the need to configure an additional testing device including a camera. The testing device only needs to be configured with a reflective component that can reflect the screen image, saving the cost of the testing device.
[0026] In combination with the second aspect, in some implementations, multiple images to be detected are displayed in sequence and a camera application is run in the background; based on each image to be detected, a preset number of reflection images are captured to obtain a first image corresponding to each image to be detected.
[0027] In the above scheme, the device to be tested can control the device to take a preset number or more images for each screen to be tested, for example, the preset number can be 2. In this way, taking multiple screen pictures can prevent the occurrence of errors in the test results caused by shooting errors, and can improve the accuracy of the test results.
[0028] In combination with the second aspect, in some implementations, a test instruction is received, and the test instruction is used to control the device under test to display the image to be detected and run a camera application in the background, and / or control the device under test to shoot the reflected image to obtain a first image.
[0029] In conjunction with the second aspect, in some implementations, the device to be tested is installed with a screen detection program; and after receiving a test instruction, the screen detection program is run, wherein the screen detection program is used to display a screen to be tested and start a camera application to run in the background.
[0030] In combination with the second aspect, in some implementations, the method further includes: based on the first image, detecting the screen of the device to be tested to obtain a detection result; and sending the detection result to the detection device.
[0031] In combination with the second aspect, in some implementations, a detection result corresponding to the first image sent by a detection device is received.
[0032] In combination with the second aspect, in some implementations, based on the detection result that the screen of the device to be tested fails the screen detection, a first interface is displayed, the first interface including the defect problem corresponding to the screen of the device to be tested and the display area corresponding to the defect problem; based on the detection result that the screen of the device to be tested passes the screen detection, a second interface is displayed.
[0033] In the above scheme, the device under test can display the test result that the screen has no defects, that is, display the second interface. The device under test can display the test result that the screen has defects, that is, display the first interface, and the first interface can also specifically include information such as the specific defects of the screen and / or the display area where the defects exist. In this way, the tester can determine the test result of the device under test based on the screen of the device under test, and there is no need to configure the test device with an additional screen, saving the cost of the test device.
[0034] In a third aspect, a detection device is provided, which includes a reflecting component, a control module, and a transmitting module; the transmitting module is used to fix and transmit the device to be tested; the reflecting component is used to reflect the picture to be tested displayed on the screen of the device to be tested located at a first position, and the reflecting component is located at a second position, and the reflected picture of the picture to be tested reflected by the reflecting component is located within the shooting range of the camera of the device to be tested; the control module is used to control the transmitting module to transmit the device to be tested fixed on the transmitting module to the first position, and control the device to be tested to shoot the reflected picture to obtain a first image, wherein the first image is used to detect the screen of the device to be tested.
[0035] In combination with the third aspect, in some implementations, the conveying module includes a conveying motor and a conveying belt, the conveying motor is connected to the conveying belt, and the conveying motor is used to control the conveying belt to convey the device to be tested to the first position.
[0036] In combination with the third aspect, in some implementations, the reflective component at the second position is located in front of the screen of the device under test at the first position, and the reflective component is parallel to the screen of the device under test.
[0037] In combination with the third aspect, in some implementations, the reflective component is one or more of a plane mirror and a concave mirror, and the ratio of the size of the reflective component to the size of the screen of the device to be tested is greater than a preset multiple.
[0038] In combination with the third aspect, in some implementations, the control module also includes an in-position sensor and a communication module; the in-position sensor is used to detect whether the device under test is located at the first position; the communication module is used to detect that the device sends a test instruction to the device under test, and the test instruction is used to control the display of the screen to be detected and run the camera application in the background, and / or control the device under test to shoot the reflected screen to obtain a first image.
[0039] In combination with the third aspect, in some implementations, the communication module is one or more of a Bluetooth module, a Wi-Fi module, and a Universal Serial Bus module.
[0040] In a fourth aspect, the present application provides a detection device, including a processor and a memory, the memory is used to store instructions, and the processor is used to execute instructions. When the processor executes the instructions, the method described in the first aspect is performed.
[0041] In a fifth aspect, the present application provides a device under test, including a processor and a memory, the memory is used to store instructions, and the processor is used to execute instructions. When the processor executes the instructions, the method described in the second aspect is performed.
[0042] In a sixth aspect, the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on an electronic device, the method described in the first aspect or the second aspect is executed.
[0043] In a seventh aspect, the present application provides a computer program product, which includes computer instructions. When the computer program product is executed by a computing device, the computing device executes the method described in the first aspect or the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for describing the embodiments are briefly introduced below.
[0045] Figure 1 This is a schematic diagram of the module structure of a screen detection device provided in an embodiment of the present application.
[0046] Figure 2 is a structural schematic diagram of a screen detection device provided in an embodiment of the present application;
[0047] Figure 3A is a structural schematic diagram of another screen detection device provided in an embodiment of the present application;
[0048] Figure 3B is a structural schematic diagram of another screen detection device provided in an embodiment of the present application;
[0049] Figure 4 It is a flowchart of a screen detection method provided in an embodiment of the present application;
[0050] Figure 5 is a flow chart of another screen detection method provided in an embodiment of the present application;
[0051] Figure 6 is a flow chart of another screen detection method provided in an embodiment of the present application;
[0052] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] The illustrative embodiments of the present application include, but are not limited to, a screen detection method, a detection device, a device to be tested, a medium, and a product.
[0054] As mentioned above, the current inspection of electronic device screens relies on inspection equipment equipped with cameras, which increases the cost of the inspection equipment.
[0055] In order to solve the above problems, the present application provides a screen detection method, in which the detection device is configured with a reflective component, for example, the reflective component can be a plane mirror, a concave mirror, etc. The detection device can transmit the device to be tested to a position where the reflective component can reflect a picture containing the screen of the device to be tested (hereinafter referred to as the screen picture), and the camera of the device to be tested can capture the screen picture, for example, the reflective component is parallel to the screen of the device to be tested. When the detection device detects the screen of the device to be tested, the screen of the device to be tested can be controlled to display the picture to be detected, and the device to be tested can be controlled to start a camera application in the background, and then the screen picture reflected by the reflective component can be captured through the camera of the device to be tested itself.
[0056] The device under test can analyze the captured screen image by itself to determine whether the screen has defects such as bright spots, dark spots, bad spots, color differences or color distortion, and display the test results directly on the screen of the device under test. Alternatively, the device under test can send the captured screen image of the device under test to the detection device or other equipment for analysis. After the detection device or other equipment analyzes and determines the screen image, it can display the test result of whether the screen of the device under test has defects and determine whether to perform subsequent inspections or repairs on the device under test. Alternatively, the detection device can also return the test results to the device under test for display, so that the detection personnel can perform subsequent inspections or repairs on the device under test.
[0057] In this way, the image of the screen of the device under test displaying the screen to be tested can be captured by the camera of the device under test itself. There is no need to additionally configure a testing device including a camera. The testing device only needs to be configured with a mirror that can reflect the screen image, saving the cost of the testing equipment.
[0058] It should be understood that the device under test can be any electronic device with a screen, such as a mobile phone, a tablet computer, a wearable device, a car-mounted device, an AR / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA) or a dedicated camera (such as a SLR camera, a card camera), etc.
[0059] The following first introduces the detection device 100 provided in the present application.
[0060] Figure 1 FIG. 1 shows a schematic diagram of the structure of a detection device 11. Figure 1 As shown, the detection device 100 includes a reflective component 110, and the reflective component 110 can reflect a screen image including the screen of the device under test. For example, the reflective component 110 can be a highly reflective mirror surface, specifically a plane mirror or a concave mirror, etc., wherein the focal length of the concave mirror can be selected according to the required test accuracy. It should be understood that the position of the reflective component 110 can meet the following reflection conditions: the reflective component 110 can reflect the screen image of the device under test, and the camera of the device under test can capture the screen image.
[0061] Optionally, the reflective component 110 of the detection device 100 can be composed of one or more mirrors, and the reflective component 110 composed of one or more mirrors can meet the above-mentioned reflection conditions. For example, when the reflective component 110 includes only one mirror, the mirror can be set at a position parallel to the screen of the device under test, so that the mirror can reflect the screen image, and the device under test can capture the screen image.
[0062] Optionally, the size of the reflective component 110 is larger than the screen size of the device under test, so that the reflective component 110 can reflect a picture including the entire screen of the device under test. For example, the size of the reflective component 110 can be more than 1 times or more than 3 times the size of the device under test and / or the screen size of the device under test.
[0063] Optionally, the distance between the reflective component 110 and the screen of the device under test can be adjusted. For example, when the reflective component 110 is a concave mirror, the detection device 100 can control the screen of the device under test to be within the focal length range of the concave mirror, and at this time, the screen of the device under test in the screen image of the concave mirror is an upright, enlarged virtual image, and within the focal length range of the concave mirror, the greater the distance between the screen of the device under test and the concave mirror, the larger the image obtained.
[0064] Optionally, the size of the reflective component 110 may be smaller than the screen size, and the detection device 100 may adjust the distance between the reflective component 110 and the screen of the device under test so that the reflective component 110 can reflect a picture including the entire screen of the device under test. In other words, the present application does not impose any specific restrictions on the size of the reflective component 110.
[0065] In some embodiments, the detection device 100 may also include a control module 120. The control module 120 may include a device controller and a communication module, wherein the communication module may also be integrated inside the device controller. The communication module may be used to implement communication between the detection device 100 and the device under test, such as receiving a screen image and / or a test result sent by the device under test. The device controller may process the device under test according to the test result. For example, when the test result indicates that the screen of the device under test has passed the test, the controller may control the device under test to perform subsequent tests and / or the detection device 100 may test the next device under test. When the test result indicates that the screen of the device under test has not passed the test, such as when there are major defects, the current device under test will be locked for subsequent maintenance of the device under test.
[0066] In other embodiments, the detection device 100 may further include a transmission module 130, and the control module 120 may further include an in-position sensor, which may also be integrated with the device controller and / or the communication module. The transmission module 130 is used to transmit the device to be tested to a preset position, for example, the transmission module 130 may be a conveyor belt or a robotic arm, etc. The in-position sensor may be used to sense whether the device to be tested is in a preset position, for example, the in-position sensor may be a pressure sensor, an infrared sensor, etc. Among them, for the device to be tested located at the preset position, the reflective component 110 may reflect the screen of the device to be tested.
[0067] In other embodiments, the detection device 100 may further include a sealed cavity 140, the reflective component 110 is disposed inside the sealed cavity 140, and the transmission module 130 may transmit the device under test into the sealed cavity 140. The sealed cavity 140 may ensure that the device under test is not disturbed by external light sources when capturing screen images.
[0068] Optionally, the sealed cavity 140 may be a darkroom, that is, there is no light source in the sealed cavity 140, and the light source that the reflective component 110 can reflect only comes from the screen of the device under test, so that the screen image captured by the device under test is clearer, thereby improving the accuracy of detection.
[0069] In summary, the image of the screen of the device under test displaying the screen to be tested can be captured by the camera of the device under test itself, without the need to additionally configure a testing device including a camera. The testing device only needs to be configured with a mirror that can reflect the screen image, thus saving the cost of the testing equipment.
[0070] For example, Figure 2 A schematic diagram of the structure of a detection device 200 is shown, wherein the reflection component in the detection device 200 is a plane mirror, the communication module is a wireless communication module integrated in the device controller, the sealed cavity is a darkroom, and the device to be tested is a mobile phone 20 as an example.
[0071] like Figure 2 As shown, the detection device 200 includes a darkroom 210, a plane mirror 220, a transmission module 230, a position sensor 240 and a device controller 250. A plane mirror 220 is installed in the darkroom 210, and the transmission module 230 may include a transmission motor (not shown in the figure) and a conveyor belt. The position sensor 240 and the device controller 250 can be installed below the transmission module 230. It should be understood that the position sensor 240 can also be installed in other places where the position of the mobile phone 20 can be detected, such as the side of the transmission module. The device controller 250 can also be installed in other places where it can communicate with the mobile phone 20, and this application does not make specific restrictions on this.
[0072] The transmission module 230 can transmit the mobile phone 20 to the darkroom 210, and the mobile phone 20 needs to have the screen facing upwards. After the in-position sensor 240 detects that the mobile phone 20 is transmitted to the preset position, it will send a position instruction to the device controller 250, so that the device controller 250 can control the transmission module 230 to stop transmission based on the position instruction, and then the mobile phone 20 will stay at the preset position.
[0073] Then, the device controller 250 will establish a communication connection with the mobile phone 20 through the internal communication module, for example, the device controller 250 can establish a Bluetooth connection or a wireless fidelity (Wi-Fi) connection with the mobile phone 20. In addition, the device controller 250 will send a test instruction to the mobile phone 20 through the established communication connection, and the test instruction is used to instruct the mobile phone 20 to display the image to be detected and run the camera function in the background, and instruct the mobile phone 20 to start the camera 11 and take a preset number of images.
[0074] It should be understood that since it is necessary to capture the screen of the mobile phone 20 in the plane mirror 220, it is necessary to use the front camera of the mobile phone 20 (e.g., camera 11) to capture. In some embodiments, if the reflective component has multiple mirrors, the screen image can be gradually reflected to a position where other cameras (e.g., rear cameras) of the mobile phone 20 can capture it, and the mobile phone 20 can also use other cameras to capture it. This application does not specifically limit the type of camera used by the device under test to capture the screen image.
[0075] In some embodiments, a screen detection application package (Android application package, APK) may be installed in the mobile phone 20. When the mobile phone 20 detects that the device controller 250 triggers the operation of starting the screen detection APK, it may first display the screen to be detected and take a picture of the screen.
[0076] In other embodiments, the mobile phone 20 may also display the screen to be detected in advance. For example, before the mobile phone 20 is transferred to the preset position, when the mobile phone 20 detects that the user or the robot triggers the operation of starting the screen detection APK, the screen to be detected may be displayed first, and the screen image may be photographed after the in-place sensor 240 recognizes that the position of the mobile phone 20 reaches the preset position, or after receiving the test instruction from the device controller 250. In other words, the present application does not impose specific restrictions on the execution time of the mobile phone 20 displaying the screen to be detected.
[0077] After the mobile phone 20 captures the screen image, the mobile phone 20 can analyze the captured screen image by itself, for example, comparing the captured screen image with the expected image to determine whether the screen has defects such as bright spots, dark spots, bad spots, color difference or color distortion. The mobile phone 20 can also display the test results directly on the screen of the mobile phone 20 so that the tester can perform subsequent operations. In addition, the communication time required for the mobile phone 20 to send the captured screen image to other devices and for other devices to return the test results to the device under test is reduced, thereby improving the detection efficiency.
[0078] Optionally, the mobile phone 20 may also send the test result to the device controller 250. For example, if the test result indicates that the screen of the mobile phone 20 has passed the test, such as the screen has no defects, the device controller 250 may control the device under test to perform subsequent tests and / or the test device to test the next device under test. If the test result indicates that the screen of the mobile phone 20 has not passed the test, such as there are major defects, the current device under test will be locked so that subsequent testers can perform repairs on the mobile phone 20.
[0079] In some embodiments, the mobile phone 20 may also send the captured screen image to the device controller 250 or other devices for analysis. For example, the device controller 250 may also be connected to the database image processing system of the production execution system (MES). After the image processing system analyzes and determines the screen image, it may display the detection result of whether the screen of the mobile phone 20 has defects, or return the detection result to the mobile phone 20 for display. The device controller 250 may also control the transmission module 230 according to the detection result, so that the detection personnel can perform subsequent detection or maintenance on the device to be tested.
[0080] In other embodiments, the device controller and the device under test may also establish a wired communication connection. For example, the communication module may also be a universal serial bus (USB) module connected to other components of the device controller.
[0081] For example, Figure 3A FIG. 3 shows the structure of another detection device 300A. Specifically, the reflection component in the detection device 300A is a plane mirror, the communication module is a USB module, the sealed cavity is a darkroom, and the device to be tested is a mobile phone 20. Figure 3A As shown, the detection device 300A includes a darkroom 310 , a plane mirror 320 , a transmission module 330 , a position sensor 340 , a USB module 350 and a device controller 360 .
[0082] After the in-position sensor 340 detects that the mobile phone 20 is transferred to the preset position, the device controller 360 can control the mechanical arm to connect the USB interface in the USB module 350 with the USB interface of the mobile phone 20, thereby realizing the connection between the mobile phone 20 and the device controller 360. After the device controller 360 detects that the detection is completed, for example, after receiving the detection result sent by the MES or the mobile phone 20, the mechanical arm can be controlled to operate to disconnect the USB module 350 from the mobile phone 20.
[0083] The structures and functions of other modules of the detection device 300A can also refer to the aforementioned Figure 2 The related descriptions will not be repeated here.
[0084] In other embodiments, the reflective component may also be a concave mirror or other types of mirrors. Figure 3B A detection device 300B whose reflective component is a concave mirror is shown. The other structures of the detection device 300B are similar to those of the detection device 300A, specifically including a darkroom 310 , a concave mirror 370 , a transmission module 330 , a position sensor 340 , a USB module 350 and a device controller 360 . Figure 3BThe structure and function of each module in the Figure 2 and Figure 3A The related descriptions will not be repeated here.
[0085] It should be understood that Figure 2 The plane mirror 220 in the detection device 200 shown in the figure can also be replaced by Figure 3B The concave mirror 370 is shown, and this application does not impose any specific limitations on this.
[0086] In summary, through any of the above-mentioned testing devices, the device under test can use its own camera to capture the image of the device under test when the screen displays the screen to be tested. There is no need to additionally configure a testing device including a camera. The testing device only needs to be configured with a mirror that can reflect the screen image, saving the cost of the testing equipment.
[0087] A screen detection method provided by an embodiment of the present application is described below. The method is applied to a detection device, which has a reflective component. For example, the structure of the detection device can refer to the aforementioned detection device 100, or can be any one or a combination of multiple detection devices 200, detection device 300A, and detection device 300B. The method specifically includes:
[0088] S410: Setting the device under test at a preset position.
[0089] The detection device can place the device under test at a preset position (e.g., the first position) by means of a mechanical arm or a conveyor belt, wherein the device under test can be the aforementioned mobile phone 20 or other electronic devices. Since the detection device has a reflective component, the position of the reflective component (e.g., the second position) and the preset position need to meet the above-mentioned reflection conditions, that is, the image displayed on the screen of the device under test at the preset position can be reflected by the reflective component, and the image reflected by the reflective component is within the shooting range of the camera of the device under test.
[0090] In some embodiments, the detection device may have an in-position sensor for detecting whether the device to be tested is in a preset position.
[0091] In other embodiments, after detecting that the device under test is placed at a preset position, the detection device can further adjust the distance between the reflective component and the screen of the device under test so that the reflective component can reflect a screen image containing the entire screen image of the device under test. Alternatively, when the reflective component is a concave mirror, the detection device can control the screen of the device under test to be within the focal length range of the concave mirror.
[0092] In other embodiments, after detecting that the device under test is located at a preset position, the detection device may also establish a communication connection with the device under test. For example, the detection device may establish a Bluetooth connection or a Wi-Fi connection with the device under test, or may control a mechanical arm to connect a USB interface to a USB interface of the device under test. For details, please refer to the aforementioned Figure 2 and Figure 3A The related descriptions will not be repeated here.
[0093] S420: Control the device under test to capture a screen image to obtain a first image.
[0094] After detecting that the device under test is located at the preset position, the detection device will also control the device under test to shoot the screen image reflected by the reflective component (also called the reflected image). In this way, the screen image can be captured by the camera of the device under test itself to obtain the screen image (also called the first image), without the need to additionally configure the detection device including the camera, thereby saving the cost of the detection equipment.
[0095] In some embodiments, the detection device may also control the device under test to shoot the screen image while displaying the image to be detected. For example, the detection device sends a test instruction to the device under test through the established communication connection, and the test instruction is used to instruct the device under test to display the image to be detected and run the camera function in the background. The image to be detected includes but is not limited to a red field, a green field, a blue field, a grayscale image, or a combination of any of the above multiple images.
[0096] In other embodiments, the detection device may also control the device to be tested to display multiple images to be detected, and for each image to be detected, the device to be tested is controlled to capture a preset number of images. For example, the preset number may be 1, 2, or more. Among them, capturing multiple screen images can prevent errors in the detection results caused by shooting errors, and can also improve the accuracy of the detection results.
[0097] In other embodiments, the device to be tested may also be installed with a screen detection APK, and the device to be tested may be triggered by other devices to start the screen detection APK, and then first display the screen to be tested, and then take a picture of the screen after receiving the test instruction of the detection device. Figure 2 The relevant description in will not be repeated here.
[0098] In other embodiments, the device under test may also analyze the captured screen image itself to determine whether there are defects on the screen, and directly display the detection result on the screen of the device under test.
[0099] In other embodiments, the detection device may also obtain a screen image captured by the device under test, and the detection device may analyze the screen image to determine whether there are defects on the screen of the device under test. Alternatively, the detection device may also send the screen image to other devices, such as an MES database image processing system, to analyze the screen image and obtain the detection result. The detection device may also display the detection result of whether there are defects on the screen of the device under test, or return the detection result to the device under test for display, so that the detection personnel can perform subsequent detection or maintenance on the device under test.
[0100] In summary, through the screen detection method provided in the present application, the device under test can capture the image of the device under test screen displaying the detection screen through its own camera, without the need to additionally configure a detection device including a camera. The detection device only needs to be configured with a mirror that can reflect the screen image, thereby saving the cost of the detection equipment.
[0101] Another screen detection method provided by the present application is described below. The method is applied to the device to be tested and the detection device, and is specifically described by taking the analysis of the screen image of the device to be tested as an example. The structure of the detection device can also specifically refer to the aforementioned detection device 100, and can also be any one or a combination of multiple of the detection device 200, the detection device 300A, and the detection device 300B. The method specifically includes:
[0102] S501: The device to be tested starts the screen detection APK.
[0103] The screen detection APK can be used on the device to be tested to run the camera function in the background to take pictures of the screen while displaying the screen to be tested.
[0104] In some embodiments, the screen detection APK is also integrated with a program for analyzing the screen image, so that the device under test can analyze the captured screen image itself to determine whether there is a defect problem on the screen.
[0105] The screen detection APK can be pre-installed in the device to be tested. After the device to be tested detects that the tester, the detection device or other device triggers the operation of starting the screen detection APK, it can run the screen detection APK. For example, the triggering operation can be clicking the icon of the screen detection APK. It should be understood that the triggering operation can also be other touch operations, such as double-clicking, sliding operation, etc., or it can also be voice operation or air gesture operation, etc., and this application does not make specific limitations on this.
[0106] S502: The detection device detects that the device to be tested is located at a preset position.
[0107] The detection device can place the device to be tested at a preset position through a robotic arm or a conveyor belt and other devices, and the position of the reflective component in the detection device and the preset position need to meet the reflection conditions. For details, please refer to the aforementioned step S410 and its related description, which will not be repeated here.
[0108] S503: The detection device establishes a communication connection with the device under test.
[0109] After detecting that the device under test is located at the preset position, the detection device can also establish a communication connection with the device under test. For example, the detection device can establish a Bluetooth connection or a Wi-Fi connection with the device under test, or the detection device can connect the USB interface with the USB interface of the device under test by controlling the robotic arm. For details, please refer to the aforementioned Figure 2 and Figure 3A The related descriptions will not be repeated here.
[0110] In some embodiments, after establishing the communication connection, the detection device may also install the screen detection APK in the device under test through the established communication connection, and then execute step S501. That is, the present application does not specifically limit the execution order of steps S501 to S503.
[0111] S504: The detection device sends a test instruction to the device under test.
[0112] The test command is used to trigger the device under test to display the screen to be tested and run the camera function in the background, and to instruct the device under test to take a picture of the screen.
[0113] S505: The device to be tested runs a camera application in the background and displays the images to be tested on the screen in sequence.
[0114] The device under test will display the image to be tested according to the test instruction, and the image to be tested includes but is not limited to red field, green field, blue field, grayscale image, or any combination of the above multiple images. The image to be tested can be one or more images, and the device under test can also automatically switch to display each preset image.
[0115] The device under test will also turn on the camera. In order to capture the reflected screen image, the device under test can turn on the front camera. Alternatively, when the reflective component has multiple mirrors, the device under test can also enable other cameras that can capture the screen image. For details, please refer to the above Figure 2 The relevant description will not be repeated here.
[0116] In some embodiments, the device under test may also display the screen to be tested in advance, for example, in step S501, the screen to be tested may be displayed first after the screen detection APK is started. Then, in step S504, the test instruction only triggers the background running of the camera function of the device under test and instructs the device under test to take a picture of the screen, and then in step S505, the device under test only needs to execute the operation of running the camera application in the background.
[0117] S506: The device to be tested takes two or more images for each picture to be tested.
[0118] The device under test can control the device under test to capture a preset number or more images for each screen to be detected, for example, the preset number can be 2. In this way, capturing multiple screen images can prevent errors in the detection results caused by shooting errors, and can improve the accuracy of the detection results.
[0119] Optionally, the number of captured images may also be lower than a preset value, so that the number of captured images is lower, which can reduce the time for analyzing the screen image and improve the overall detection efficiency.
[0120] S507: The device under test stores the captured screen image.
[0121] The device under test may store the image obtained by capturing the screen image, for example, in a random access memory (RAM) or a read-only memory (ROM) of the device under test, and this application does not impose any specific restrictions on this.
[0122] S508: The device under test performs defect detection on the screen image through the screen detection APK algorithm to determine whether it passes the defect detection. If yes, execute step S509, if not, execute step S510.
[0123] The screen detection APK installed in the device under test may integrate an algorithm program for screen image processing. The device under test may analyze the screen image based on the algorithm program to determine whether there are defects such as bright spots and dark spots. If there are defects, it is considered that the defect detection has not been passed. Conversely, if there are no defects, it is considered that the defect detection has been passed.
[0124] For example, the device under test can compare the screen image with the corresponding expected image to determine the screen display area with a large deviation from the expected image, and then determine the specific screen defect problem based on the specific deviation type. For example, if the screen display pixel is darker than the corresponding pixel in the expected image, it is considered that there is a dark spot on the screen.
[0125] In some embodiments, when any screen image of the device under test fails the defect detection, it can be considered that the screen fails the defect detection.
[0126] In other embodiments, since the device to be tested takes two screen images for each screen to be tested, the device to be tested first selects the screen image with a higher confidence level from the two screen images as the screen image to be analyzed, for example, selects the screen image with the clearest image quality for analysis, and uses the analysis result of the screen image as the detection result of the corresponding screen to be tested. If any screen image corresponding to any screen to be tested fails the defect detection, it can be considered that the screen fails the defect detection.
[0127] In other embodiments, the device to be tested performs detection and analysis on two screen images taken for each screen to be tested, and then integrates the detection results. For example, if the analysis result of one screen image is that there is a 50% possibility of a screen defect in a certain display area, and the analysis result of another screen image is that there is an 80% possibility of the same screen defect in a certain display area, then it is considered that for the screen to be tested, it is ultimately determined that there is a 65% possibility of the screen defect. When this ratio exceeds a preset ratio, it is considered that the screen has a defect. In other words, the present application does not impose specific restrictions on the specific judgment rules for screen analysis.
[0128] S509: The device under test displays a PASS interface on the screen.
[0129] The device under test can display the detection result that there is no defect on the screen, and its display interface can be called a PASS interface.
[0130] S510: The device under test displays a poor screen (NG) interface on the screen.
[0131] The device under test can display the detection result of screen defects, and its display interface can be called NG interface. Optionally, the NG interface can also specifically include information such as the specific defects of the screen and / or the display area with defects.
[0132] S511: The device under test sends the test result to the testing device.
[0133] The device under test can also send the test results to the testing device so that the testing device can control the conveying device to perform subsequent testing or maintenance operations.
[0134] S512: The detection device disconnects the communication connection with the device under test.
[0135] After receiving the detection result, the detection device may also consider that the screen detection of the current device under test has been completed, and then disconnect the communication connection with the device under test.
[0136] S513: The testing equipment performs subsequent testing.
[0137] Specifically, when the test result received by the testing device indicates that the screen of the device under test has no defects, the device under test is controlled to perform subsequent tests and / or the testing device performs tests on the next device under test. If the test result indicates that the screen of the device under test has not passed the test, the current device under test will be locked so that subsequent testers can repair the device under test.
[0138] In some embodiments, the detection device may also upload relevant log data (log) of the current detection to the MES system, for example, upload the unique identification of the device under test and the detection result to the MES system for recording by the MES system.
[0139] In summary, through the screen detection method provided by this application, the device under test can capture the image of the device under test screen displaying the detection screen through its own camera, without the need to configure an additional detection device including a camera. The detection device only needs to be configured with a mirror that can reflect the screen image, saving the cost of the detection device. In addition, the device under test performs screen analysis by itself, saving the communication time consumed when sending the screen image and improving the detection efficiency.
[0140] Next, combine Figure 6 Another screen detection method provided by the present application is described, and the method is applied to the device to be tested, the detection device and the MES system, and the detection device and the MES system are in communication connection. And the analysis of the screen image by the MES system is used as an example for description. The method specifically includes:
[0141] S601: The device to be tested starts the screen detection APK.
[0142] S602: The detection device detects that the device to be tested is located at a preset position.
[0143] S603: The detection device establishes a communication connection with the device under test.
[0144] S604: The detection device sends a test instruction to the device under test.
[0145] S605: The device to be tested runs a camera application in the background and displays the images to be tested on the screen in sequence.
[0146] S606: The device to be tested takes two or more images for each picture to be tested.
[0147] S607: The device under test stores the captured screen image.
[0148] For the relevant contents of step S601 to step S607, reference may be made to the description of the aforementioned step S501 to step S507, which will not be repeated here.
[0149] S608: The device under test sends a screen image to the testing device.
[0150] After the device under test captures the screen image, the screen image can be sent to the testing device through a communication connection with the testing device, so that the testing device forwards the screen image to the MES system.
[0151] S609: The detection device forwards the screen image to the MES system.
[0152] S610: The MES system performs defect detection on the screen image to determine whether it passes the defect detection. If so, execute step S611, if not, execute step S612.
[0153] The MES system can analyze the screen image based on the algorithm program to determine whether there are defects such as bright spots and dark spots. If there are defects, it is considered that the defect detection has not been passed. On the contrary, if there are no defects, it is considered that the defect detection has been passed. For details, please refer to the relevant description in the aforementioned step S508, which will not be repeated here.
[0154] S611: The MES system stores the test results that have passed the test.
[0155] The MES system can store the test results in correspondence with the unique identification of the equipment under test and other information.
[0156] S612: The MES system stores the test results that failed the test.
[0157] S613: The MES system returns the detection result to the detection device.
[0158] The MES system can also send test results to the testing equipment so that the testing equipment can control the conveyor device for subsequent testing or maintenance operations.
[0159] S614: The testing device determines whether the device under test passes the test. If yes, execute step S615, if not, execute step S616.
[0160] S615: The testing equipment performs subsequent testing.
[0161] When the test result received by the testing device indicates that the screen of the device under test has no defect problem, the device under test is controlled to perform subsequent tests and / or the testing device performs tests on the next device under test.
[0162] S616: The testing device locks the device under test using the product serial number.
[0163] When the test result indicates that the screen of the device under test has failed the test, the testing device obtains the product serial number of the current device under test, and locks the current device under test through the product serial number, so that subsequent testers can repair the device under test.
[0164] S617: The detection device sends a test result indicating that the test failed to the device under test.
[0165] S618: The device under test displays an NG interface.
[0166] The device under test can display the detection result of screen defects, for example, displaying an NG interface. Optionally, the NG interface can also specifically include information such as the specific defect problem of the screen and / or the display area with the defect problem.
[0167] In summary, through the screen detection method provided in the present application, the device under test can capture the image of the device under test screen displaying the detection screen through its own camera, without the need to additionally configure a detection device including a camera. The detection device only needs to be configured with a mirror that can reflect the screen image, thereby saving the cost of the detection equipment.
[0168] The method of the embodiment of the present application is described in detail above. In order to facilitate better implementation of the above scheme of the embodiment of the present application, correspondingly, related equipment for cooperating in implementing the above scheme is also provided below.
[0169] Figure 7 is a structural schematic diagram of an electronic device 700 provided in the present application. The electronic device 700 may be the device to be tested in the aforementioned content, such as a mobile phone 20.
[0170] like Figure 7 As shown, the electronic device 700 includes: a processor 710, a memory 720, an interface module 730, a power module 740, a wireless communication module 750, a mobile communication module 760, an audio module 770, a sensor module 780, a button 790, a camera 791, a display screen 792, etc.
[0171] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 700. In other embodiments of the present application, the electronic device 700 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0172] The processor 710 may include one or more processing units, for example, the processor 710 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. The processor 710 can be used to execute the display method provided in the embodiment of the present application.
[0173] The processor 710 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 710 is a cache memory. The memory may store instructions or data that the processor 710 has just used or cyclically used. If the processor 710 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 710, and thus improves the efficiency of the system.
[0174] The interface module 730 may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0175] The power module 740 is connected to the processor 710 and provides power to the processor 710, the memory 720, the camera 791, the display screen 792, and the mobile communication module 760.
[0176] The wireless communication function of the electronic device 700 can be implemented through the wireless communication module 750, the mobile communication module 760, the antenna, the modem processor and the baseband processor.
[0177] The wireless communication module 750 can provide wireless communication solutions for application in the electronic device 700, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc.
[0178] The mobile communication module 760 can provide wireless communication solutions including 2G / 3G / 4G / 5G etc. applied on the electronic device 700 .
[0179] The audio module 770 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 770 can also be used to encode and decode audio signals.
[0180] The sensor module 780 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
[0181] The electronic device 700 implements the display function through a GPU, a display screen 792, and an application processor.
[0182] The display screen 794 is used to display images, videos, etc. The display screen 794 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), a quantum dot light emitting diode (QLED), etc. In some embodiments, the electronic device 700 may include 1 or N display screens 794, where N is a positive integer greater than 1. In some embodiments, the electronic device 700 displays the user interface of each application through the display screen 794.
[0183] In some embodiments of the present application, the display screen 794 can be used to display the screen to be tested, so that after the camera 791 shoots the display screen 794, the electronic device 700 or other devices can perform defect detection on the display screen 794 based on the captured image. The display screen 794 can also be used to display an interface containing the test results, such as the aforementioned PASS interface or NG interface.
[0184] The electronic device 700 can realize the shooting function through ISP, camera 791, video codec, GPU, display screen 792 and application processor.
[0185] The camera 791 is used to capture still images or videos. In some embodiments, the electronic device 700 may include 1 or N cameras 791, where N is a positive integer greater than 1.
[0186] The memory 720 can be used to store computer executable program codes, which include instructions. The memory 720 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as an image playback function, etc.). The data storage area may store data (such as screen images) created during the use of the electronic device 700, etc. In addition, the memory 720 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 710 executes various functional applications and data processing of the electronic device 700 by running instructions stored in the memory 720, and / or instructions stored in a memory provided in the processor. In some implementation examples, the processor 710 executes the screen detection method provided in the embodiment of the present application by running instructions stored in the memory 720.
[0187] The buttons 790 include a power button, a volume button, etc. The buttons 790 may be mechanical buttons or touch buttons.
[0188] Need to explain, Figure 7 This is only a possible implementation of the embodiment of the present application. In practical applications, the electronic device 700 may also include more or fewer components, which is not limited here. Figures 4 to 6 The relevant explanations in the embodiments will not be repeated here.
[0189] It should be understood that Figure 7 The electronic device shown may also be a computer cluster consisting of at least one server, which is not specifically limited in this application.
[0190] The present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a processor, Figures 4 to 6 The method flow shown is realized.
[0191] The present application also provides a computer program product. When the computer program product is run on a processor, Figures 4 to 6 The method flow shown is realized.
[0192] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.
[0193] A person skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by a computer program to instruct the relevant hardware, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above-mentioned method embodiments. The aforementioned storage medium includes: a read-only memory (ROM) or a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
Claims
1. A screen detection method, characterized in that: The method comprises: The device under test is set at a first position, wherein the image to be tested displayed on the screen of the device under test at the first position is reflected by the reflective component at the second position, and the reflected image of the image to be tested reflected by the reflective component is located within the shooting range of the camera of the device under test; The device under test is controlled to shoot the reflection picture to obtain a first image, wherein the first image is used to detect the screen of the device under test.
2. The method according to claim 1, characterized in that The method further comprises: Establishing a communication connection with the device under test; Based on the communication connection, a test instruction is sent to the device under test, wherein the test instruction is used to control the device under test to display the image to be detected and run a camera application in the background, and / or control the device under test to shoot the reflected image to obtain a first image.
3. The method according to claim 2, characterized in that The device under test is installed with a screen detection program, and the screen detection program is used for the device under test to realize display of the image to be detected and to shoot the reflected image; The test instruction is used to start the screen detection program.
4. The method according to claim 1, characterized in that: The method further comprises: Receive a detection result obtained by the device under test based on the first image.
5. The method according to claim 1, characterized in that The method further comprises: Receiving the first image sent by the device under test; Based on the first image, the screen of the device to be tested is tested to obtain a test result.
6. The method according to claim 2, characterized in that The communication connection established with the device under test includes one or more of the following: Bluetooth connection, Wi-Fi connection, USB-based wired connection.
7. The method according to claim 1, characterized in that The reflective component is one or more of a plane mirror and a concave mirror, and the ratio of the size of the reflective component to the size of the screen of the device to be tested is greater than a preset multiple.
8. The method according to any one of claims 1 to 7, characterized in that: The reflective component is parallel to the screen of the device under test.
9. The method according to claim 1, characterized in that: The controlling the device under test to shoot the reflection picture to obtain a first image includes: The device under test is controlled in the sealed darkroom to shoot the reflection picture to obtain a first image.
10. A screen detection method, characterized in that: Applied to a device under test, the device under test is located at a first position, and the method includes: Display the image to be detected and run the camera application in the background; The reflected image in the reflective component is photographed to obtain a first image, wherein the first image is used to detect the screen of the device under test, and the reflected image in the reflective component is an image after the image to be detected displayed on the screen of the device under test is reflected by the reflective component located at the second position.
11. The method according to claim 10, characterized in that The displaying of the image to be detected and running the camera application in the background includes: Display multiple images to be detected in sequence and run the camera application in the background; The step of photographing the reflection picture to obtain a first image includes: Based on each picture to be detected, a preset number of reflection pictures are photographed to obtain a first image corresponding to each picture to be detected.
12. The method according to claim 10, characterized in that The method further comprises: A test instruction is received, where the test instruction is used to control the device under test to display the image to be detected and run a camera application in the background, and / or control the device under test to shoot the reflected image to obtain a first image.
13. The method according to claim 10, characterized in that The device under test is installed with a screen detection program; and The displaying of the image to be detected and running the camera application in the background includes: Upon receiving the test instruction, the screen detection program is run, wherein the screen detection program is used to display the screen to be detected and start the camera application to run in the background.
14. The method according to claim 10, characterized in that The method further comprises: Based on the first image, the screen of the device to be tested is tested to obtain a test result; The detection result is sent to the detection device.
15. The method according to claim 10, characterized in that The method further comprises: A detection result corresponding to the first image sent by a detection device is received.
16. The method according to claim 14 or 15, characterized in that The method further comprises: Based on the detection result that the screen of the device under test fails the screen detection, displaying a first interface, the first interface including a defect problem corresponding to the screen of the device under test and a display area corresponding to the defect problem; Based on the detection result that the screen of the device to be tested passes the screen detection, a second interface is displayed.
17. A detection device, characterized in that: The detection device includes a reflection component, a control module, and a transmission module; The transport module is used to fix and transport the device under test; The reflective component is used to reflect the image to be detected displayed on the screen of the device to be tested located at the first position, and the reflective component is located at the second position, and the reflected image of the image to be detected reflected by the reflective component is located within the shooting range of the camera of the device to be tested; The control module is used to control the transmission module to transmit the device under test fixed to the transmission module to a first position, and control the device under test to shoot the reflection picture to obtain a first image, wherein the first image is used to detect the screen of the device under test.
18. The detection device according to claim 17, characterized in that: The conveying module includes a conveying motor and a conveying belt. The conveying motor is connected to the conveying belt. The conveying motor is used to control the conveying belt to convey the device under test to the first position.
19. The detection device according to claim 17, characterized in that: The reflective component at the second position is located in front of the screen of the device under test at the first position, and the reflective component is parallel to the screen of the device under test.
20. The detection device according to any one of claims 17 to 19, characterized in that: The reflective component is one or more of a plane mirror and a concave mirror, and the ratio of the size of the reflective component to the size of the screen of the device to be tested is greater than a preset multiple.
21. The detection device according to claim 17, characterized in that The control module also includes an in-position sensor and a communication module; The in-position sensor is used to detect whether the device to be tested is located at the first position; The communication module is used for the detection device to send a test instruction to the device under test, and the test instruction is used to control the display of the image to be detected and run the camera application in the background, and / or control the device under test to shoot the reflected image to obtain a first image.
22. The detection device according to claim 21, characterized in that The communication module is one or more of a Bluetooth module, a Wi-Fi module, and a Universal Serial Bus module.
23. The detection device according to claim 17, characterized in that The detection device further comprises a sealed darkroom cavity, and the reflective component and the first position are located inside the sealed darkroom cavity.
24. A detection device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store instructions, and the processor is used to execute the instructions. When the processor executes the instructions, the method according to any one of claims 1 to 9 is executed.
25. A device under test, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store instructions, and the processor is used to execute the instructions. When the processor executes the instructions, the method according to any one of claims 10 to 16 is executed.
26. A computer-readable storage medium, characterized in that: The method comprises instructions, which, when executed on an electronic device, causes the electronic device to execute the method as claimed in any one of claims 1 to 10, or execute the method as claimed in any one of claims 10 to 16.
27. A computer program product, characterized in that The computer program product comprises computer instructions, and when executed by an electronic device, the electronic device executes the method according to any one of claims 1 to 9, or executes the method according to any one of claims 10 to 16.
Citation Information
Patent Citations
Terminal screen detection method and device, portable terminal and storage medium
CN110084801A
Method and system for realizing screen detection by multiple cameras and computer readable storage medium
CN110351530A
Device and method for detecting blurred screen and splash screen of Android terminal
CN113360329A
Screen defect optimization method and device, equipment and computer storage medium
CN113783996A
Screen detection method and device, electronic equipment and storage medium
CN114549433A