Screen projection test method, device, equipment and storage medium
The test image of the screen projection device is obtained through the visual detection equipment and compared with the pre-stored image, which solves the problem of low efficiency of screen projection function testing in the existing technology, achieves efficient screen projection testing and reduces costs.
Patent Information
- Application Number
- CN202111053019.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-08
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-09-08
AI Technical Summary
The testing efficiency of the screen projection function in the existing technology is low, resulting in high cost and low efficiency.
Obtain the test image of the screen projection device through the visual inspection equipment and compare it with the pre-stored image. Based on the comparison results, it is determined whether the screen projection device passes the test and a screen projection test report is generated.
It improves the efficiency of screen projection testing, reduces testing costs, and solves the problem of high cost and low efficiency of manual testing.
Smart Images

Figure CN113742152B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of screen projection technology, and in particular to a screen projection test method, device, equipment and storage medium. Background Art
[0002] At present, when using screen projection technology for screen sharing, due to the wide variety of screen projection devices, it is easy to fail to project or abnormal playback after successful projection, which seriously affects the experience of multi-screen interactive film and television. Therefore, it is necessary to conduct systematic testing of the screen projection function to improve the competitiveness of the product in the market. In the existing technology, the test of the screen projection function is mostly carried out manually. However, during manual testing and verification, because there are many devices and scenarios to be tested, manual testing is not only costly, but also inefficient. Therefore, how to improve the testing efficiency of the screen projection function has become a technical problem that needs to be solved urgently.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present invention is to provide a screen projection test method, device, equipment and storage medium, aiming to solve the technical problem of low testing efficiency of the screen projection function in the prior art.
[0005] To achieve the above object, the present invention provides a screen projection testing method, which comprises the following steps:
[0006] When the projection device is successfully connected to the screen, a test image captured by the visual inspection device is obtained;
[0007] Compare the test image with a pre-stored image to obtain a screen projection test result of the screen projection device;
[0008] When the test result meets the preset standard, it is determined that the screen projection device has passed the screen projection test.
[0009] Optionally, when the projection device is successfully connected to the screen, the step of acquiring a test image captured by the visual inspection device includes:
[0010] When the screen projection device is successfully connected to the screen projection device, control the screen projection device to play the test multimedia file through the display device;
[0011] Sending an image acquisition instruction to a visual inspection device, so that the visual inspection device acquires the playback image of the display device according to the image acquisition instruction;
[0012] The playback image is acquired, and the playback image is used as a test image.
[0013] Optionally, when the projection device is successfully connected to the screen, before the step of acquiring the test image captured by the visual inspection device, the method further includes:
[0014] Obtain the device model of the screen projection device, and search for the test parameters corresponding to the screen projection device in a preset mapping relationship table according to the device model;
[0015] Control the corresponding screen projection device and display device screen projection connection according to the test parameters.
[0016] Optionally, the step of comparing the test image with a pre-stored image to obtain a screen projection test result of the screen projection device includes:
[0017] Preprocessing the test image to obtain a standardized test image;
[0018] Extracting test flag information from the standardized test image, and comparing the test flag information with standard flag information of a pre-stored image;
[0019] The screen projection test result of the screen projection device is determined according to the comparison result.
[0020] Optionally, after the step of sending an image acquisition instruction to a visual detection device so that the visual detection device acquires the playback image of the display device according to the image acquisition instruction, the method further includes:
[0021] Sending a judgment instruction to the visual detection device, so that the visual detection device judges whether the playback image meets the preset display standard according to the judgment instruction;
[0022] When the playback image meets the preset display standard, the playback image captured by the visual inspection device is acquired, and the playback image is used as a test image.
[0023] Optionally, the step of controlling the corresponding screen projection device to be connected to the display device for screen projection according to the test parameters includes:
[0024] Reading the projection distance and projection mode from the test parameters;
[0025] Control the corresponding projection device to move to the target position according to the projection distance;
[0026] When the screen projection device moves to the target position, the screen projection device is controlled to be connected to the display device for screen projection according to the screen projection method.
[0027] Optionally, after the step of comparing the test image with a pre-stored image to obtain a screen projection test result of the screen projection device, the method further includes:
[0028] When the test result does not meet the preset standard, it is determined that the screen projection device has failed the screen projection test;
[0029] Generate a screen projection test report for the screen projection device according to the test results and the preset standards.
[0030] In addition, to achieve the above-mentioned purpose, the present invention also proposes a screen projection test device, the device comprising:
[0031] An acquisition module is used to acquire a test image collected by a visual inspection device when the projection device is successfully connected to the projection device;
[0032] A comparison module, used to compare the test image with a pre-stored image to obtain a screen projection test result of the screen projection device;
[0033] The determination module is used to determine whether the screen projection device has passed the screen projection test when the test result meets a preset standard.
[0034] In addition, to achieve the above-mentioned purpose, the present invention also proposes a screen projection test device, which includes: a memory, a processor, and a screen projection test program stored in the memory and executable on the processor, and the screen projection test program is configured to implement the steps of the screen projection test method described above.
[0035] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which a screen projection test program is stored. When the screen projection test program is executed by a processor, the steps of the screen projection test method described above are implemented.
[0036] When the projection device is successfully connected to the screen, the present invention obtains a test image captured by a visual inspection device; compares the test image with a pre-stored image to obtain a projection test result of the projection device; and determines that the projection device has passed the projection test when the test result meets a preset standard. Since the present invention obtains a test image projected and played by the projection device to be tested through a visual inspection device, when the comparison result between the test image and the pre-stored image meets a preset standard, the projection device is determined to have passed the projection test, which solves the technical problem of high cost and low efficiency of manual testing in the prior art, and reduces the testing cost while improving the efficiency of the projection test. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a structural schematic diagram of a screen projection test device in a hardware operating environment involved in an embodiment of the present invention;
[0038] Figure 2 This is a flow chart of the first embodiment of the screen projection test method of the present invention;
[0039] Figure 3This is a flow chart of a second embodiment of the screen projection test method of the present invention;
[0040] Figure 4 This is a flow chart of a third embodiment of the screen projection test method of the present invention;
[0041] Figure 5 This is a structural block diagram of the first embodiment of the screen projection testing device of the present invention.
[0042] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0043] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0044] Reference Figure 1 , Figure 1 A schematic diagram of the structure of a screen projection test device in the hardware operating environment involved in an embodiment of the present invention.
[0045] like Figure 1 As shown, the screen projection test 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. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.
[0046] Those skilled in the art will understand that Figure 1 The structure shown in does not constitute a limitation of the screen projection test equipment, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0047] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a screen projection test program.
[0048] exist Figure 1 In the screen projection test 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 the memory 1005 in the screen projection test device of the present invention can be set in the screen projection test device, and the screen projection test device calls the screen projection test program stored in the memory 1005 through the processor 1001, and executes the screen projection test method provided by the embodiment of the present invention.
[0049] The embodiment of the present invention provides a screen projection test method, referring to Figure 2 , Figure 2 It is a flowchart of the first embodiment of the screen projection testing method of the present invention.
[0050] In this embodiment, the screen projection test method includes the following steps:
[0051] Step S10: When the screen projection device is successfully connected to the screen projection device, a test image captured by the visual inspection device is obtained.
[0052] It should be noted that the executor of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device that can realize the above functions, a screen projection test control device, etc. The following takes the screen projection test control device as an example to illustrate this embodiment and the following embodiments.
[0053] It can be understood that the screen projection device is a device with a screen projection function, and the screen projection device can be a mobile phone, tablet or computer, etc. The visual detection device can be a camera, mobile phone or other device with a camera function, and this embodiment does not limit this.
[0054] It should be understood that the test image is an image of a multimedia file that is projected and played by a projection device on a display device, wherein the display device may be a smart TV, a computer, etc. This embodiment is described using a smart TV as an example.
[0055] In a specific implementation, when the projection device and the display device are successfully connected, the projection device plays the multimedia file on the display device, the visual inspection device captures the test image played on the display device, and the projection test control device obtains the captured test image from the visual inspection device.
[0056] Step S20: Compare the test image with the pre-stored image to obtain the screen projection test result of the screen projection device.
[0057] It can be understood that the pre-stored image is the image played by the display device when the screen projection function is normal, and the test image is compared with the pre-stored image to obtain the screen projection test result of the screen projection device.
[0058] It should be understood that the multimedia file played by the projection device can be a picture file or a video file. When the multimedia file is a picture file, a timeline can be added for each picture in the picture file in the order of playback, and the picture file with the added timeline is used as a pre-stored image. When comparing the test image with the pre-stored image, the projection test result of the projection device is obtained by comparing the time mark of the test image on the timeline with the pre-stored image at the corresponding time.
[0059] It can be understood that when the multimedia file is a video file, since the video is composed of several frames of pictures, it can be compared in the same way as the picture files. In order to improve the testing efficiency of video files, when comparing, several frames of pictures can be selected from the video file for comparison with the preset pictures. For example, the i-th frame picture is selected as the starting point, and the subsequent a frames of pictures are compared to obtain the screen projection test results of the projection device.
[0060] Step S30: When the test result meets the preset standard, it is determined that the screen projection device has passed the screen projection test.
[0061] It can be understood that the preset standard is set in advance according to the actual scenario. For example, the preset standard can be set to that all pre-stored pictures are consistent with the test pictures or the ratio of the pre-stored pictures to the test pictures reaches a preset value. When the test result meets the preset standard, it is determined that the screen projection device has passed the screen projection test. When the screen projection device passes the screen projection test, it indicates that when using the screen projection device, the screen projection function of the smart TV is normal. For example, if device A passes the screen projection test, the screen projection function of the smart TV can be used normally using device A.
[0062] In a specific implementation, when projection device A is successfully connected to a smart TV, projection device A plays multimedia files on the smart TV, the visual detection device collects the test images played by the smart TV, and the projection test control device obtains the test images from the visual detection device and compares the test images with the pre-stored images to obtain the projection test results of projection device A. When the projection test results of projection device A meet the preset standards, it is determined that projection device A has passed the projection test. When projection device A is used, the projection function of the smart TV is normal.
[0063] Furthermore, in order to improve the accuracy of the screen projection test results, the step S20 includes: preprocessing the test image to obtain a standardized test image; extracting test flag information from the standardized test image, and comparing the test flag information with the standard flag information of a pre-stored image; and determining the screen projection test result of the screen projection device based on the comparison result.
[0064] It should be understood that the preprocessing includes performing tilt correction on the test image, performing color processing on the test image and removing noise points on the test image, and the test image is preprocessed to obtain a standardized test image.
[0065] It should be understood that the multimedia files projected and played by the screen projection device are pre-processed files specifically for screen projection testing, and the pre-processed multimedia files all contain a flag bit, wherein the flag bit is a flag used to uniquely identify the multimedia file.
[0066] It can be understood that the test image is an image of a multimedia file captured by a visual inspection device and played by a projection device through a smart TV. Therefore, the standardized test image also contains flags. The test flag information is the information of the flags in the standardized test image. The flag information includes the number of flags, the position of the flags and the form of the flags. The position of the flags is the position of the flags in the picture. The forms of the flags include circle, rectangle, triangle, etc. This embodiment does not limit this. The test flag information is extracted from the standardized test image and compared with the standard flag information of the pre-stored image. The projection test result of the projection device is determined according to the comparison result.
[0067] In a specific implementation, for example: at time t, the screen projection test control device pre-processes a test image obtained at that time to obtain a standardized test image, and the flag information extracted from the standardized test image is: there are 5 flags, which are located at the center and four corners of the standardized test image, and the flags are in the form of a circle. The standard flag information of the pre-stored image at the corresponding time is compared, and the standard flag information is: there are 5 flags, which are located at the center and four corners of the pre-stored image, and the flags are in the form of a circle. After comparison, the test flag information and the standard flag information are consistent, then the screen projection device can use the screen projection function normally on the smart TV.
[0068] Furthermore, in order to timely obtain the information of the screen projection device that has failed the screen projection test, after step S20, the method also includes: when the test result does not meet the preset standard, determining that the screen projection device has failed the screen projection test; and generating a screen projection test report for the screen projection device according to the test result and the preset standard.
[0069] It can be understood that when the test results do not meet the preset standards, it indicates that the screen projection device cannot use the screen projection function normally on the smart TV, and the screen projection device is judged to have failed the screen projection test. At this time, a screen projection test report for the screen projection test is generated based on the test results of the screen projection device that failed the screen projection test and the preset standards. The content of the screen projection test report includes: the model of the screen projection device, the screen projection method of the screen projection device, the model of the smart TV being projected, the test image that does not meet the preset standards, etc.
[0070] In this embodiment, when the screen projection device is successfully connected to the screen projection, a test image captured by the visual detection device is obtained; the test image is compared with the pre-stored image to obtain the screen projection test result of the screen projection device; when the test result meets the preset standard, the screen projection device is determined to have passed the screen projection test. Since this embodiment obtains the test image of the screen projection device to be tested through the visual detection device, when the comparison result between the test image and the pre-stored image meets the preset standard, the screen projection device is determined to have passed the screen projection test, which solves the technical problems of high cost and low efficiency of manual testing in the prior art, and reduces the testing cost while improving the efficiency of the screen projection test.
[0071] refer to Figure 3 , Figure 3 It is a flowchart diagram of the second embodiment of the screen projection testing method of the present invention.
[0072] Based on the above first embodiment, in this embodiment, step S10 includes:
[0073] Step S101: When the screen projection device is successfully connected, control the screen projection device to play the test multimedia file through the display device.
[0074] It should be understood that the display device is the device being tested to see whether the screen projection function is normal. The display device may be a smart TV, a computer or a tablet, etc. This embodiment is described using a smart TV as an example. The screen projection test control device is communicated with the screen projection device. When the screen projection device is successfully connected, the screen projection test control device controls the screen projection device to play the test multimedia file through the display device.
[0075] It can be understood that the test multimedia file can be stored in the screen projection test control device in advance. When the screen projection device and the display device are successfully connected, the screen projection test control device will send the test multimedia file to the screen projection device and control the screen projection device to play the test multimedia file through the display device.
[0076] Step S102: sending an image acquisition instruction to a visual inspection device, so that the visual inspection device acquires the playback image of the display device according to the image acquisition instruction.
[0077] It should be understood that the screen projection test control device is communicatively connected with the visual detection device, and the visual detection device is arranged directly in front of the smart TV. When the screen projection device plays the test multimedia file through the display device, the screen projection test control device sends an image acquisition instruction to the visual detection device. The image acquisition instruction includes the time interval between two adjacent image acquisitions, the number of image acquisitions, etc. After receiving the image acquisition instruction, the visual detection device uses the built-in camera module to capture the playback image of the display device.
[0078] Step S103: Acquire the playback image, and use the playback image as a test image.
[0079] It can be understood that after the visual detection device captures the playback image, the screen projection test control device obtains the playback image from the visual detection device and uses the obtained playback image as a test image.
[0080] In a specific implementation, a screen projection test control device is communicatively connected with the screen projection device and the visual detection device. The visual detection device is arranged directly in front of the smart TV. When the screen projection function of the smart TV is tested, the screen projection test control device sends a test multimedia file to the screen projection device, and controls the screen projection device to play the multimedia file through the smart TV. When the smart TV displays the multimedia file projected and played by the screen projection device, the screen projection test control device controls the sending of an image acquisition instruction to the visual detection device. After receiving the image acquisition instruction, the camera module of the visual detection device captures the playback image of the smart TV. The screen projection test control device obtains the playback image from the visual detection device, and uses the playback image as a test image.
[0081] Furthermore, in order to improve the efficiency of the screen projection test, after step 102, the method also includes: sending a judgment instruction to the visual detection device, so that the visual detection device determines whether the playback image meets the preset display standard according to the judgment instruction; when the playback image meets the preset display standard, obtaining the playback image captured by the visual detection device, and using the playback image as a test image.
[0082] It should be understood that when the projection device is casting the screen through the smart TV, there may be obvious projection and playback errors. For example, after the projection device starts to cast the test multimedia file through the smart TV, the smart TV screen is black or the smart TV only displays half of the image. The visual detection device can make a preliminary judgment on the playback image of the screen projection. For the playback images with more obvious projection and playback errors, the visual detection device can identify them.
[0083] It should be understood that the preset standard can be set to a black screen ratio of the playback image that is less than a preset threshold. After the visual detection device captures the playback image, the screen projection test control equipment sends a judgment instruction to the visual detection device, and the visual detection device determines whether the playback image meets the preset display standard. When the playback image meets the preset display standard, the screen projection test control device obtains the playback image and uses the playback image as a test image. When the playback image does not meet the preset display standard, the visual detection device determines that the screen projection playback of the projection device is abnormal, and sends the abnormal information of the screen projection playback of the projection device to the screen projection test control device. The abnormal information may include information such as the device model, projection method and projection distance of the projection device.
[0084] In a specific implementation, when the visual detection device captures the playback image, the screen projection test control device sends a judgment instruction to the visual detection device. After receiving the judgment instruction, the visual detection device detects the black screen ratio of the playback image. When the black screen ratio of the playback image is less than a preset threshold, it is determined that the playback image meets the preset display standard, and the information that the playback image meets the preset display standard is sent to the screen projection test control device. After receiving the information, the screen projection test control device obtains the playback image and uses the playback image as a test image.
[0085] In this embodiment, when the screen projection device is successfully connected to the screen projection, the screen projection device is controlled to play the test multimedia file through the display device; an image acquisition instruction is sent to the visual detection device, so that the visual detection device acquires the playback image of the display device according to the image acquisition instruction; the playback image is acquired, and the playback image is used as the test image. The technical problem of low efficiency of manual image acquisition in the prior art is solved, and the acquisition efficiency of the test image and the efficiency of the screen projection test are improved.
[0086] refer to Figure 4 , Figure 4 It is a flow chart of the third embodiment of the screen projection testing method of the present invention.
[0087] Based on the above embodiments, in this embodiment, before step S10, the method further includes:
[0088] Step S01: Obtain the device model of the screen projection device, and search for test parameters corresponding to the screen projection device in a preset mapping relationship table according to the device model.
[0089] It should be understood that the preset mapping relationship table is a relationship table between device models and test parameters set in advance. The screen projection test control device can obtain the device model of the screen projection device and search for the test parameters corresponding to the device model in the preset mapping relationship table according to the device model.
[0090] It should be understood that different screen projection devices require different contents to be tested. The contents that different screen projection devices require to be tested are set in advance to generate a preset mapping relationship table, and the preset mapping relationship table is stored in the screen projection test control device.
[0091] Step S02: Control the corresponding screen projection device and the display device to connect to the screen projection device according to the test parameters.
[0092] It can be understood that when the test parameters corresponding to the device model of a screen projection device are found, the screen projection test control device controls the screen projection device to connect to the smart TV according to the test parameters.
[0093] Furthermore, in order to be able to adjust the test scene in time according to different projection devices and improve the efficiency of the projection test, the step S02 includes: reading the projection distance and projection mode from the test parameters; controlling the corresponding projection device to move to the target position according to the projection distance; when the projection device moves to the target position, controlling the projection device and the display device to connect according to the projection mode.
[0094] It can be understood that the preset mapping relationship table can refer to Table 1-Preset mapping relationship table. In the preset mapping relationship table, the device model and test parameters of the projection device correspond to each other, wherein the test parameters include the projection distance and the projection method. During the projection test, the projection device can be set on a mobile workbench, which is driven by a driving motor, and the driving motor is controlled by a projection test control device. The projection test control device controls the driving motor according to the projection distance to move the projection device to the target position. When the projection device moves to the target position, the projection test control device controls the projection device to connect to the smart TV through the projection method in the test parameters.
[0095] In the specific implementation, the screen projection test control device obtains the device model of the screen projection device as A, and finds out that the screen projection distance of A is x meters by looking up the preset mapping relationship table, and the screen projection method is DLNA and Miracast. The screen projection test control device controls the driving motor to move the screen projection device to a distance of x meters from the smart TV. When the screen projection device reaches a distance of x meters from the smart TV, the screen projection test control device controls the screen projection device to first connect to the smart TV through the DLNA screen projection method. After the screen projection test is completed, the screen projection test control device controls the screen projection device to connect to the smart TV through the Miracast screen projection method again to conduct a new round of screen projection test.
[0096] Table 1- Preset mapping relationship table
[0097] Device Model Projection distance Screen projection method A x m DLNA and Miracast B y meters DLNA and Airplay C z meters DLNA and Miracast
[0098] This embodiment obtains the device model of the screen projection device, searches for the test parameters corresponding to the screen projection device in the preset mapping relationship table according to the device model; and controls the corresponding screen projection device and the display device to be connected for screen projection according to the test parameters. Since this embodiment controls the screen projection device and the display device to be connected for screen projection testing according to the test parameters found in the preset mapping relationship table according to the device model of the screen projection device, the test parameters of the screen projection can be adjusted in time according to different models of screen projection devices, thereby improving the efficiency of the screen projection test.
[0099] In addition, an embodiment of the present invention further proposes a storage medium, on which a screen projection test program is stored. When the screen projection test program is executed by a processor, the steps of the screen projection test method described above are implemented.
[0100] Reference Figure 5 , Figure 5 This is a structural block diagram of the first embodiment of the screen projection testing device of the present invention.
[0101] like Figure 5 As shown, the screen projection testing device proposed in an embodiment of the present invention includes: an acquisition module 10, a comparison module 20 and a determination module 30.
[0102] The acquisition module 10 is used to acquire the test image collected by the visual detection device when the screen projection device is successfully connected to the screen projection device;
[0103] A comparison module 20, used to compare the test image with a pre-stored image to obtain a screen projection test result of the screen projection device;
[0104] The determination module 30 is used to determine whether the screen projection device has passed the screen projection test when the test result meets a preset standard.
[0105] In this embodiment, the acquisition module 10 acquires the test image captured by the visual detection device when the projection device is successfully connected to the screen; the comparison module 20 compares the test image with the pre-stored image to obtain the projection test result of the projection device; the judgment module 30 determines that the projection device has passed the projection test when the test result meets the preset standard. Since this embodiment acquires the test image of the projection device to be tested through the visual detection device, when the comparison result between the test image and the pre-stored image meets the preset standard, the projection device is judged to have passed the projection test, which solves the technical problem of high cost and low efficiency of manual testing in the prior art, and reduces the test cost while improving the efficiency of the projection test.
[0106] Based on the above-mentioned first embodiment of the screen projection test device of the present invention, a second embodiment of the screen projection test device of the present invention is proposed.
[0107] In this embodiment, the comparison module 20 is also used to preprocess the test image to obtain a standardized test image; extract test flag information from the standardized test image, and compare the test flag information with the standard flag information of a pre-stored image; and determine the screen projection test result of the screen projection device based on the comparison result.
[0108] The comparison module 20 is also used to determine that the screen projection device has not passed the screen projection test when the test result does not meet the preset standard; and generate a screen projection test report for the screen projection device according to the test result and the preset standard.
[0109] The acquisition module 10 is also used to control the screen projection device to play the test multimedia file through the display device when the screen projection device is successfully connected; send an image acquisition instruction to the visual detection device so that the visual detection device acquires the playback image of the display device according to the image acquisition instruction; acquire the playback image, and use the playback image as a test image.
[0110] The acquisition module 10 is also used to send a judgment instruction to the visual detection device, so that the visual detection device determines whether the playback image meets the preset display standard according to the judgment instruction; when the playback image meets the preset display standard, the playback image captured by the visual detection device is acquired, and the playback image is used as a test image.
[0111] The acquisition module 10 is also used to obtain the device model of the screen projection device, and search for test parameters corresponding to the screen projection device in a preset mapping relationship table according to the device model; and control the corresponding screen projection device and the display device to project the screen according to the test parameters.
[0112] The acquisition module 10 is also used to read the projection distance and projection mode from the test parameters; control the corresponding projection device to move to the target position according to the projection distance; when the projection device moves to the target position, control the projection device and the display device to connect according to the projection mode.
[0113] Other embodiments or specific implementation methods of the screen projection test device of the present invention can refer to the above-mentioned method embodiments and will not be repeated here.
[0114] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0115] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0116] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0117] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A screen projection test method, characterized in that: The method comprises: When the projection device is successfully connected to the screen, a test image captured by the visual inspection device is obtained; Compare the test image with a pre-stored image to obtain a screen projection test result of the screen projection device; When the test result meets the preset standard, it is determined that the screen projection device passes the screen projection test; The step of comparing the test image with the pre-stored image to obtain the screen projection test result of the screen projection device includes: Performing preprocessing of tilt correction, color processing, and noise point removal on the test image to obtain a standardized test image; Extracting test marker information from the standardized test image, and comparing the test marker information with standard marker information of a pre-stored image, the marker information including the number of markers, the position of the markers and the form of the markers, the position of the markers being the position of the markers in the image, and the form of the markers including circle, rectangle and triangle; Determine the screen projection test result of the screen projection device according to the comparison result; Before the step of acquiring the test image collected by the visual inspection device when the screen projection device is successfully connected to the screen projection, the method further includes: Obtain the device model of the screen projection device, and search for the test parameters corresponding to the screen projection device in a preset mapping relationship table according to the device model; Reading the projection distance and projection mode from the test parameters; Control the corresponding projection device to move to the target position according to the projection distance; When the screen projection device moves to the target position, the screen projection device is controlled to be connected to the display device for screen projection according to the screen projection method.
2. The method according to claim 1, characterized in that The step of obtaining the test image collected by the visual inspection device when the screen projection device is successfully connected to the screen projection device includes: When the screen projection device is successfully connected to the screen projection device, control the screen projection device to play the test multimedia file through the display device; Sending an image acquisition instruction to a visual inspection device, so that the visual inspection device acquires the playback image of the display device according to the image acquisition instruction; The playback image is acquired, and the playback image is used as a test image.
3. The method according to claim 2, characterized in that After the step of sending the image acquisition instruction to the visual detection device so that the visual detection device acquires the playback image of the display device according to the image acquisition instruction, the method further includes: Sending a judgment instruction to the visual detection device, so that the visual detection device judges whether the playback image meets the preset display standard according to the judgment instruction; When the playback image meets the preset display standard, the playback image captured by the visual inspection device is acquired, and the playback image is used as a test image.
4. The method according to any one of claims 1 to 3, characterized in that After the step of comparing the test image with a pre-stored image to obtain a screen projection test result of the screen projection device, the method further includes: When the test result does not meet the preset standard, it is determined that the screen projection device has failed the screen projection test; Generate a screen projection test report for the screen projection device according to the test results and the preset standards.
5. A screen projection testing device, characterized in that: The device comprises: An acquisition module is used to acquire a test image collected by a visual inspection device when the projection device is successfully connected to the projection device; A comparison module, used to compare the test image with a pre-stored image to obtain a screen projection test result of the screen projection device; A determination module, configured to determine that the screen projection device has passed the screen projection test when the test result meets a preset standard; The comparison module is also used to perform tilt correction, color processing, and noise point removal preprocessing on the test image to obtain a standardized test image; extract test flag information from the standardized test image, and compare the test flag information with the standard flag information of the pre-stored image, the flag information including the number of flags, the position of the flags, and the form of the flags, the position of the flags is the position of the flags in the image, and the form of the flags includes circle, rectangle, and triangle; determine the screen projection test result of the screen projection device according to the comparison result; The acquisition module is also used to obtain the device model of the screen projection device, and search for test parameters corresponding to the screen projection device in a preset mapping relationship table according to the device model; read the projection distance and the projection mode from the test parameters; control the corresponding projection device to move to the target position according to the projection distance; when the projection device moves to the target position, control the projection device and the display device to connect for screen projection according to the projection mode.
6. A screen projection test device, characterized in that: The device includes: a memory, a processor, and a screen projection test program stored in the memory and executable on the processor, wherein the screen projection test program is configured to implement the steps of the screen projection test method as described in any one of claims 1 to 4.
7. A storage medium, characterized in that: The storage medium stores a screen projection test program, and when the screen projection test program is executed by the processor, the steps of the screen projection test method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Screen projection diagnosis method, device and system, storage medium and equipment
CN111240905A
Screen projection method, screen projection device, storage medium, projected screen equipment and screen projection equipment
CN111580765A
Screen transmission image detection method and system and device with storage function
CN111787393A
Screen projection processing method, device, equipment and storage medium
CN112055040A
Screen projection display method and device, mobile terminal and storage medium
CN112822548A
