CN113742152A - Screen projection test method, device, equipment and storage medium - Google Patents

Screen projection test method, device, equipment and storage medium Download PDF

Info

Publication number
CN113742152A
CN113742152A CN202111053019.9A CN202111053019A CN113742152A CN 113742152 A CN113742152 A CN 113742152A CN 202111053019 A CN202111053019 A CN 202111053019A CN 113742152 A CN113742152 A CN 113742152A
Authority
CN
China
Prior art keywords
screen projection
test
image
equipment
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111053019.9A
Other languages
Chinese (zh)
Inventor
余辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202111053019.9A priority Critical patent/CN113742152A/en
Publication of CN113742152A publication Critical patent/CN113742152A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2268Logging of test results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Abstract

The invention discloses a screen projection test control method, a device, equipment and a storage medium, wherein the method comprises the following steps: when screen projection connection of screen projection equipment is successful, acquiring a test image acquired by visual detection equipment; comparing the test image with a prestored image to obtain a screen projection test result of the screen projection equipment; and when the test result meets the preset standard, judging that the screen projection equipment passes the screen projection test. According to the invention, the test image played by the screen projection device to be detected is obtained through the visual detection device, and the screen projection device is judged to pass the screen projection test when the comparison result of the test image and the prestored image meets the preset standard, so that the technical problems of high cost and low efficiency of manual screen projection function test in the prior art are solved, and the screen projection test efficiency is improved and the test cost is reduced.

Description

Screen projection test method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of screen projection, in particular to a screen projection testing method, device, equipment and storage medium.
Background
At present, when screen sharing is performed by using a screen projection technology, due to the fact that screen projection equipment is various, images such as screen projection failure or abnormal playing after screen projection success easily occur, and the experience effect of video multi-screen interaction is serious. Therefore, the competitiveness of a product in the market needs to be improved by systematically testing the screen projection function, in the prior art, testing and verification are mostly performed in a manual mode aiming at the screen projection function, but during manual testing and verification, due to the fact that multiple devices and scenes need to be tested, manual testing is high in cost, and the testing efficiency is low, so that the technical problem that how to improve the testing efficiency of the screen projection function is to be solved urgently is solved.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a screen projection testing method, a screen projection testing device, screen projection equipment and a storage medium, and aims to solve the technical problem that the testing efficiency of the screen projection function is low in the prior art.
In order to achieve the purpose, the invention provides a screen projection testing method, which comprises the following steps:
when screen projection connection of screen projection equipment is successful, acquiring a test image acquired by visual detection equipment;
comparing the test image with a prestored image to obtain a screen projection test result of the screen projection equipment;
and when the test result meets a preset standard, judging that the screen projection equipment passes the screen projection test.
Optionally, the step of acquiring the test image acquired by the visual inspection device when the screen projection connection of the screen projection device is successful includes:
when screen projection connection of screen projection equipment is successful, controlling the screen projection equipment to project a screen through display equipment to play a test multimedia file;
sending an image acquisition instruction to visual detection equipment so that the visual detection equipment acquires a playing image of the display equipment according to the image acquisition instruction;
and acquiring the playing image, and taking the playing image as a test image.
Optionally, before the step of acquiring the test image acquired by the visual inspection device when the screen projection connection of the screen projection device is successful, the method further includes:
acquiring the equipment model of screen projection equipment, and searching test parameters corresponding to the screen projection equipment in a preset mapping relation table according to the equipment model;
and controlling the corresponding screen projection equipment to be connected with the screen projection of the display equipment according to the test parameters.
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:
preprocessing the test image to obtain a standardized test image;
extracting test zone bit information from the standardized test image, and comparing the test zone bit information with standard zone bit information of a prestored image;
and determining a screen projection test result of the screen projection equipment according to the comparison result.
Optionally, after the step of sending an image acquisition instruction to a visual inspection device to enable the visual inspection device to acquire a playing image of the display device according to the image acquisition instruction, the method further includes:
sending a judgment instruction to the visual detection equipment so that the visual detection equipment judges whether the played image meets a preset display standard according to the judgment instruction;
and when the playing image meets the preset display standard, acquiring the playing image acquired by the visual detection equipment, and taking the playing image as a test image.
Optionally, the step of controlling the screen projection connection between the corresponding screen projection device and the display device according to the test parameters includes:
reading a screen projection distance and a screen projection mode from the test parameters;
controlling the corresponding screen projection equipment to move to a target position according to the screen projection distance;
and when the screen projection equipment moves to the target position, controlling the screen projection equipment to be connected with the display equipment in a screen projection mode according to the screen projection mode.
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:
when the test result does not meet a preset standard, judging that the screen projection equipment does not pass the screen projection test;
and generating a screen projection test report of the screen projection equipment according to the test result and the preset standard.
In addition, in order to achieve the above object, the present invention further provides a screen projection testing apparatus, including:
the acquisition module is used for acquiring a test image acquired by the visual detection equipment when the screen projection connection of the screen projection equipment is successful;
the comparison module is used for comparing the test image with a prestored image to obtain a screen projection test result of the screen projection equipment;
and the judging module is used for judging that the screen projection equipment passes the screen projection test when the test result meets a preset standard.
In addition, in order to achieve the above object, the present invention further provides a screen projection testing apparatus, including: the system comprises a memory, a processor and a screen projection test program stored on the memory and capable of running on the processor, wherein the screen projection test program is configured to realize the steps of the screen projection test method.
In addition, in order to achieve the above object, the present invention further provides a storage medium, wherein the storage medium stores a screen projection test program, and the screen projection test program implements the steps of the screen projection test method as described above when executed by a processor.
According to the invention, when screen projection connection of screen projection equipment is successful, a test image acquired by visual detection equipment is acquired; comparing the test image with a prestored image to obtain a screen projection test result of the screen projection equipment; and when the test result meets a preset standard, judging that the screen projection equipment passes the screen projection test. According to the invention, the test image projected and played by the screen projection equipment to be detected is obtained through the visual detection equipment, and when the comparison result of the test image and the prestored image meets the preset standard, the screen projection equipment is judged to pass the screen projection test, so that the technical problems of high manual test cost and low efficiency in the prior art are solved, and the screen projection test efficiency is improved and the test cost is reduced.
Drawings
FIG. 1 is a schematic structural diagram of a screen projection test device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a screen projection test method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a screen projection testing method according to the present invention;
FIG. 4 is a flowchart illustrating a third exemplary embodiment of a screen projection testing method according to the present invention;
fig. 5 is a block diagram of a screen projection testing apparatus according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a screen projection test device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the screen projection test apparatus 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. Wherein a communication bus 1002 is used to enable connective 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, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the projection testing apparatus and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a screen projection test program.
In the screen projection test device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the screen projection test device of the present invention may be disposed 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.
An embodiment of the present invention provides a screen projection testing method, and referring to fig. 2, fig. 2 is a schematic flow diagram of a first embodiment of the screen projection testing method according to the present invention.
In this embodiment, the screen projection test method includes the following steps:
step S10: and when the screen projection connection of the screen projection equipment is successful, acquiring a test image acquired by the visual detection equipment.
It should be noted that the execution subject of the present embodiment may 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, or an electronic device, a screen projection test control device, etc. capable of implementing the above functions, and the present embodiment and each of the following embodiments are described below by taking the screen projection test control device as an example.
It can be understood that the screen projection device is a device having a screen projection function, the screen projection device may be a mobile phone, a tablet, or a computer, and the visual detection device may be a camera, a mobile phone, or another device having a camera function, which is not limited in this embodiment.
It should be understood that the test image is an image of a multimedia file that is projected and played on a display device by a projection device, where the display device may be a smart television, a computer, and the like, and the embodiment is described by taking a smart television as an example.
In the specific implementation, when the screen projection device is successfully connected with the display device, the screen projection device projects a screen on the display device to play a multimedia file, the visual detection device shoots a test image played on the display device, and the screen projection test control device obtains the shot test image from the visual detection device.
Step S20: and comparing the test image with a pre-stored image to obtain a screen projection test result of the screen projection equipment.
It can be understood that the pre-stored image is an 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 a screen projection test result of the screen projection device.
It should be understood that the multimedia file played by the screen projection device may be a picture file or a video file, when the multimedia file is a picture file, a time axis may be added to each picture in the picture file according to the playing sequence, the picture file with the time axis added may be used as a pre-stored image, and when the test image is compared with the pre-stored image, the screen projection test result of the screen projection device is obtained according to the comparison between the time mark of the test image on the time axis and the pre-stored image with the selected corresponding time.
It can be understood that, when the multimedia file is a video file, since the video is composed of a plurality of frames of pictures, the comparison can be performed in the same manner as the picture file, and in order to improve the test efficiency of the video file, when the comparison is performed, a plurality of frames of pictures can be selected from the video file to be compared with a preset picture, for example, the ith frame of picture is selected as a starting point, and a frames of pictures are compared at intervals in the future to obtain a screen projection test result of the screen projection device.
Step S30: and when the test result meets a preset standard, judging that the screen projection equipment passes the screen projection test.
It can be understood that the preset standard is set in advance according to an actual scene, for example, the preset standard may be set to be that the ratio of the pre-stored picture to the test picture is all consistent or the ratio of the pre-stored picture to the test picture is consistent to a preset value, when the test result meets the preset standard, it is determined that the screen projection device passes the screen projection test, and when the screen projection device passes the screen projection test, it indicates that the screen projection function of the smart television is normal when the screen projection device is used, for example, the device a passes the screen projection test, so that the device a can normally use the screen projection function of the smart television.
In the specific implementation, when the screen projection device A is successfully connected with the smart television, the screen projection device A projects a screen on the smart television to play a multimedia file, the visual detection device acquires a test image played by the smart television, the screen projection test control device acquires the test image from the visual detection device and compares the test image with a prestored image to obtain a screen projection test result of the screen projection device A, when the screen projection test result of the screen projection device A meets a preset standard, it is judged that the screen projection device A passes the screen projection test, and when the screen projection device A is used, the screen projection function of the smart television is normal.
Further, in order to improve the accuracy of the screen projection test result, the step S20 includes: preprocessing the test image to obtain a standardized test image; extracting test zone bit information from the standardized test image, and comparing the test zone bit information with standard zone bit information of a prestored image; and determining a screen projection test result of the screen projection equipment according to the comparison result.
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 that the preprocessing of the test image results in a normalized test image.
It should be understood that the multimedia files that are played by the screen projection device through screen projection are files that are pre-processed and are specially used for screen projection test, and the pre-processed multimedia files all contain flag bits, wherein the flag bits are flags for uniquely identifying the multimedia files.
It can be understood that the test image is an image of a multimedia file which is acquired by the visual detection device and is displayed by the screen projection device through the screen projection of the smart television, and therefore, the standardized test image also contains a flag bit, the test flag bit information is information of the flag bit in the standardized test image, the flag bit information includes the number of the flag bits, the positions of the flag bits and the forms of the flag bits, the positions of the flag bits are positions of the flag bits in the picture, and the forms of the flag bits include a circle, a rectangle, a triangle and the like.
In particular implementations, for example: at a moment t, preprocessing a test image acquired at the moment by screen projection test control equipment to obtain a standardized test image, wherein the flag bit information extracted from the standardized test image is as follows: there are 5 zone bits, are located standardized test image's center and four corners respectively, and the form of zone bit is circular, compares the standard zone bit information that will correspond the image of constantly prestoring, and standard zone bit information is: the screen projection equipment comprises 5 zone bits which are respectively positioned at the center and four corners of a prestored image, the zone bits are in a circular shape, and after comparison, the test zone bit information is consistent with the standard zone bit information, so that the screen projection equipment can normally use the screen projection function on the intelligent television.
Further, in order to timely grasp the information of the screen projection equipment which fails the screen projection test, after the step S20, the method further includes: when the test result does not meet a preset standard, judging that the screen projection equipment does not pass the screen projection test; and generating a screen projection test report of the screen projection equipment according to the test result and the preset standard.
It can be understood that when the test result does not meet the preset standard, it indicates that the screen projection device cannot normally use the screen projection function on the smart television, and then it is determined that the screen projection device fails the screen projection test, at this time, a screen projection test report of the screen projection test is generated according to the test result of the screen projection device that fails the screen projection test and the preset standard, and the content of the screen projection test report includes: the screen projection method comprises the following steps of the type of screen projection equipment, the screen projection mode of the screen projection equipment, the type of a projected intelligent television, a test image which does not accord with a preset standard and the like.
In the embodiment, when the screen projection connection of the screen projection equipment is successful, a test image acquired by the visual detection equipment is acquired; comparing the test image with a prestored image to obtain a screen projection test result of the screen projection equipment; and when the test result meets a preset standard, judging that the screen projection equipment passes the screen projection test. In the embodiment, the test image of the screen projection playing of the screen projection device to be detected is acquired through the visual detection device, and when the comparison result of the test image and the prestored image meets the preset standard, the screen projection device is judged to pass the screen projection test, so that the technical problems of high manual test cost and low efficiency in the prior art are solved, and the test cost is reduced while the screen projection test efficiency is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a screen projection testing method according to a second embodiment of the present invention.
Based on the first embodiment described above, in the present embodiment, the step S10 includes:
step S101: and when the screen projection connection of the screen projection equipment is successful, controlling the screen projection equipment to project the screen through the display equipment to play the test multimedia file.
It should be understood that the display device is a device that is tested whether the screen projection function is normal, the display device may be a smart television, a computer, or a tablet, and the present embodiment is described by taking a smart television as an example, the screen projection test control device is in communication connection with the screen projection device, and when the screen projection device is successfully connected, the screen projection test control device controls the screen projection device to project a screen through the display device to play a test multimedia file.
It can be understood that the test multimedia file can be stored in the screen projection test control device in advance, and when the screen projection connection between the screen projection device and the display device is successful, the screen projection test control device sends the test multimedia file to the screen projection device and controls the screen projection device to project the test multimedia file through the display device.
Step S102: and sending an image acquisition instruction to visual detection equipment so that the visual detection equipment acquires a playing image of the display equipment according to the image acquisition instruction.
It should be understood that the screen projection test control device is in communication connection with the visual detection device, the visual detection device is arranged right in front of the smart television, when the screen projection device plays a 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 comprises the time interval between two adjacent image acquisition, the number of image acquisition and the like, and the visual detection device shoots and acquires the playing image of the display device through the built-in camera module after receiving the image acquisition instruction.
Step S103: and acquiring the playing image, and taking the playing image as a test image.
It can be understood that, after the visual inspection device collects the playing image, the screen projection test control device acquires the playing image from the visual inspection device, and the acquired playing image is used as a test image.
In the specific implementation, the screen projection test control device is in communication connection with the screen projection device and the visual detection device, the visual detection device is arranged right in front of the intelligent television, when the screen projection function of the intelligent television is subjected to screen projection test, the screen projection test control device sends a test multimedia file to the screen projection device and controls the screen projection device to project the multimedia file through the intelligent television, when the intelligent television displays the multimedia file projected by the screen projection device, the screen projection test control device controls the screen projection test device to send an image acquisition instruction to the visual detection device, after the visual detection device receives the image acquisition instruction, a camera module of the visual detection device shoots and acquires a playing image of the intelligent television, and the screen projection test control device acquires the playing image from the visual detection device and takes the playing image as the test image.
Further, in order to improve the efficiency of the screen projection test, after the step 102, the method further includes: sending a judgment instruction to the visual detection equipment so that the visual detection equipment judges whether the played image meets a preset display standard according to the judgment instruction; and when the playing image meets the preset display standard, acquiring the playing image acquired by the visual detection equipment, and taking the playing image as a test image.
It should be understood that when the screen projection device projects the screen through the smart television, a more obvious screen projection playing error may exist, for example, after the screen projection device starts to project the screen through the smart television to play the test multimedia file, the smart television displays half of the image in a black screen or the smart television, the visual detection device can perform preliminary judgment on the played image projected by the screen projection, and the visual detection device can identify the played image projected by the more obvious screen projection playing error.
It should be understood that the preset standard may be set as that the black screen ratio of the played image is smaller than a preset threshold, after the visual inspection device collects the played image, the screen projection test control device sends a judgment instruction to the visual inspection device, the visual inspection device judges whether the played image meets a preset display standard, when the played image meets the preset display standard, the screen projection test control device obtains the played image, and uses the played image as a test image, when the played image does not meet the preset display standard, the visual inspection device judges that the screen projection of the screen projection device is abnormal, and sends abnormal information of the screen projection device that the screen projection is abnormal to the screen projection test control device, and the abnormal information may include information of the device model of the screen projection device, the screen projection mode, the screen projection distance, and the like.
In the specific implementation, when the visual detection device collects a playing image, the screen projection test control device sends a judgment instruction to the visual detection device, the visual detection device detects the black screen proportion of the playing image after receiving the judgment instruction, when the black screen proportion of the playing image is smaller than a preset threshold value, the playing image is judged to accord with a preset display standard, information that the playing image accords with the preset display standard is sent to the screen projection test control device, and the screen projection test control device obtains the playing image and takes the playing image as a test image after receiving the information.
In the embodiment, when screen projection connection of screen projection equipment is successful, the screen projection equipment is controlled to project a screen through display equipment to play a test multimedia file; sending an image acquisition instruction to visual detection equipment so that the visual detection equipment acquires a playing image of the display equipment according to the image acquisition instruction; and acquiring the playing image, and taking the playing image as a 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 screen projection test efficiency are improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a screen projection testing method according to a third embodiment of the present invention.
Based on the foregoing embodiments, in this embodiment, before the step S10, the method further includes:
step S01: the method comprises the steps of obtaining the equipment model of the screen projection equipment, and searching the test parameters corresponding to the screen projection equipment in a preset mapping relation table according to the equipment model.
It should be understood that the preset mapping relationship table is a relationship table of the device model and the test parameters set in advance, and the screen projection test control device can obtain the device model of the screen projection device and search the test parameters corresponding to the device model in the preset mapping relationship table according to the device model.
It should be understood that different screen projection devices have different contents to be tested, the contents to be tested of the different screen projection devices are set in advance to generate a preset mapping relation table, and the preset mapping relation table is stored in the screen projection test control device.
Step S02: and controlling the corresponding screen projection equipment to be connected with the screen projection of the display equipment according to the test parameters.
It can be understood that when the test parameter corresponding to the device model of the screen projection device is found, the screen projection test control device controls the screen projection device to be connected with the smart television according to the test parameter.
Further, in order to adjust the test scenario in time according to different screen projection devices and improve the efficiency of the screen projection test, the step S02 includes: reading a screen projection distance and a screen projection mode from the test parameters; controlling the corresponding screen projection equipment to move to a target position according to the screen projection distance; and when the screen projection equipment moves to the target position, controlling the screen projection equipment to be connected with the display equipment in a screen projection mode according to the screen projection mode.
It can be understood that the preset mapping relation table can refer to table 1-the preset mapping relation table, in the preset mapping relation table, the device model of the screen projection device corresponds to the test parameters, wherein the test parameters include screen projection distance and screen projection mode, when the screen projection test is performed, the screen projection device can be arranged on a movable workbench, the movable workbench is driven by a driving motor, the driving motor is controlled by the screen projection test control device, the screen projection test control device controls the driving motor to operate according to the screen projection distance to move the screen projection device to a target position, and when the screen projection device moves to the target position, the screen projection test control device controls the screen projection device to be connected with the smart television in the screen projection mode in the test parameters.
In the specific implementation, the screen projection test control device obtains that the device model of the screen projection device is A, the screen projection distance of A is found to be x meters by searching a preset mapping relation table, the screen projection modes are DLNA and Miracast, the screen projection test control device controls the driving motor to operate to move the screen projection device to a position x meters away from the intelligent television, when the screen projection device reaches a position x meters away from the intelligent television, the screen projection test control device controls the screen projection device to be connected with the intelligent television in a screen projection mode of DLNA, and after the screen projection test is completed, the screen projection test control device controls the screen projection device to be connected with the intelligent television in a screen projection mode of Miracast again to perform a new round of screen projection test.
TABLE 1 Preset mapping relationship Table
Model of the device Distance of screen projection Screen projection mode
A x meter DLNA and Miracast
B y meter DLNA and Airplay
C z meter DLNA and Miracast
The method includes the steps that the device model of the screen projection device is obtained, and test parameters corresponding to the screen projection device are searched in a preset mapping relation table according to the device model; and controlling the corresponding screen projection equipment to be connected with the screen projection of the display equipment according to the test parameters. In the embodiment, the screen projection test is performed by controlling the screen projection connection between the screen projection equipment and the display equipment according to the test parameters found in the preset mapping relation table according to the equipment model of the screen projection equipment, so that the screen projection test parameters can be adjusted in time according to the screen projection equipment of different models, and the screen projection test efficiency is improved.
In addition, an embodiment of the present invention further provides a storage medium, where a screen projection test program is stored on the storage medium, and the screen projection test program, when executed by a processor, implements the steps of the screen projection test method described above.
Referring to fig. 5, fig. 5 is a block diagram of a first embodiment of the screen projection testing apparatus according to the present invention.
As shown in fig. 5, the screen projection testing apparatus provided in the embodiment of the present invention includes: an acquisition module 10, a comparison module 20 and a decision module 30.
The acquisition module 10 is used for acquiring a test image acquired by the visual detection equipment when the screen projection connection of the screen projection equipment is successful;
the comparison module 20 is configured to compare the test image with a pre-stored image to obtain a screen projection test result of the screen projection device;
and the judging module 30 is configured to judge that the screen projection device passes the screen projection test when the test result meets a preset standard.
In this embodiment, the obtaining module 10 obtains a test image collected by a visual inspection device when the screen projection connection of the screen projection device is successful; the comparison module 20 compares the test image with a prestored image to obtain a screen projection test result of the screen projection equipment; the determining module 30 determines that the screen projection device passes the screen projection test when the test result meets a preset standard. In the embodiment, the test image of the screen projection playing of the screen projection device to be detected is acquired through the visual detection device, and when the comparison result of the test image and the prestored image meets the preset standard, the screen projection device is judged to pass the screen projection test, so that the technical problems of high manual test cost and low efficiency in the prior art are solved, and the test cost is reduced while the screen projection test efficiency is improved.
Based on the first embodiment of the screen projection testing device, a second embodiment of the screen projection testing device is provided.
In this embodiment, the comparison module 20 is further configured to pre-process the test image to obtain a standardized test image; extracting test zone bit information from the standardized test image, and comparing the test zone bit information with standard zone bit information of a prestored image; and determining a screen projection test result of the screen projection equipment according to the comparison result.
The comparison module 20 is further configured to determine that the screen projection device fails the screen projection test when the test result does not meet a preset standard; and generating a screen projection test report of the screen projection equipment according to the test result and the preset standard.
The obtaining module 10 is further configured to control the screen projection device to project a screen through the display device to play the test multimedia file when the screen projection connection of the screen projection device is successful; sending an image acquisition instruction to visual detection equipment so that the visual detection equipment acquires a playing image of the display equipment according to the image acquisition instruction; and acquiring the playing image, and taking the playing image as a test image.
The obtaining module 10 is further configured to send a judgment instruction to the visual inspection device, so that the visual inspection device judges whether the played image meets a preset display standard according to the judgment instruction; and when the playing image meets the preset display standard, acquiring the playing image acquired by the visual detection equipment, and taking the playing image as a test image.
The obtaining module 10 is further configured to obtain an equipment model of the screen projection equipment, and search a preset mapping relation table for a test parameter corresponding to the screen projection equipment according to the equipment model; and controlling the corresponding screen projection equipment to be connected with the screen projection of the display equipment according to the test parameters.
The acquisition module 10 is further configured to read a screen projection distance and a screen projection mode from the test parameters; controlling the corresponding screen projection equipment to move to a target position according to the screen projection distance; and when the screen projection equipment moves to the target position, controlling the screen projection equipment to be connected with the display equipment in a screen projection mode according to the screen projection mode.
Other embodiments or specific implementation manners of the screen projection testing device of the present invention may refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., a rom/ram, a magnetic disk, an optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A screen projection test method is characterized by comprising the following steps:
when screen projection connection of screen projection equipment is successful, acquiring a test image acquired by visual detection equipment;
comparing the test image with a prestored image to obtain a screen projection test result of the screen projection equipment;
and when the test result meets a preset standard, judging that the screen projection equipment passes the screen projection test.
2. The method of claim 1, wherein the step of acquiring the test image acquired by the visual inspection device when the screen-projection connection of the screen-projection device is successful comprises:
when screen projection connection of screen projection equipment is successful, controlling the screen projection equipment to project a screen through display equipment to play a test multimedia file;
sending an image acquisition instruction to visual detection equipment so that the visual detection equipment acquires a playing image of the display equipment according to the image acquisition instruction;
and acquiring the playing image, and taking the playing image as a test image.
3. The method of claim 1, wherein prior to the step of acquiring the test image acquired by the visual inspection device upon successful screen-projection connection of the screen-projecting device, the method further comprises:
acquiring the equipment model of screen projection equipment, and searching test parameters corresponding to the screen projection equipment in a preset mapping relation table according to the equipment model;
and controlling the corresponding screen projection equipment to be connected with the screen projection of the display equipment according to the test parameters.
4. The method of claim 1, wherein the step of comparing the test image with a pre-stored image to obtain a screen projection test result of the screen projection device comprises:
preprocessing the test image to obtain a standardized test image;
extracting test zone bit information from the standardized test image, and comparing the test zone bit information with standard zone bit information of a prestored image;
and determining a screen projection test result of the screen projection equipment according to the comparison result.
5. The method of claim 2, wherein after the step of sending an image capture instruction to a visual inspection device to cause the visual inspection device to capture a playback image of the display device according to the image capture instruction, the method further comprises:
sending a judgment instruction to the visual detection equipment so that the visual detection equipment judges whether the played image meets a preset display standard according to the judgment instruction;
and when the playing image meets the preset display standard, acquiring the playing image acquired by the visual detection equipment, and taking the playing image as a test image.
6. The method of claim 3, wherein the step of controlling the screen projection connection between the corresponding screen projection device and the display device according to the test parameters comprises:
reading a screen projection distance and a screen projection mode from the test parameters;
controlling the corresponding screen projection equipment to move to a target position according to the screen projection distance;
and when the screen projection equipment moves to the target position, controlling the screen projection equipment to be connected with the display equipment in a screen projection mode according to the screen projection mode.
7. The method according to any one of claims 1 to 6, wherein after the step of comparing the test image with a pre-stored image to obtain the screen projection test result of the screen projection device, the method further comprises:
when the test result does not meet a preset standard, judging that the screen projection equipment does not pass the screen projection test;
and generating a screen projection test report of the screen projection equipment according to the test result and the preset standard.
8. A screen projection testing apparatus, the apparatus comprising:
the acquisition module is used for acquiring a test image acquired by the visual detection equipment when the screen projection connection of the screen projection equipment is successful;
the comparison module is used for comparing the test image with a prestored image to obtain a screen projection test result of the screen projection equipment;
and the judging module is used for judging that the screen projection equipment passes the screen projection test when the test result meets a preset standard.
9. A screen-projection testing apparatus, the apparatus comprising: a memory, a processor, and a screen projection test program stored on the memory and executable on the processor, the screen projection test program configured to implement the steps of the screen projection test method of any of claims 1-7.
10. A storage medium having stored thereon a screen projection test program which, when executed by a processor, implements the steps of the screen projection test method of any one of claims 1 to 7.
CN202111053019.9A 2021-09-08 2021-09-08 Screen projection test method, device, equipment and storage medium Pending CN113742152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111053019.9A CN113742152A (en) 2021-09-08 2021-09-08 Screen projection test method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111053019.9A CN113742152A (en) 2021-09-08 2021-09-08 Screen projection test method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113742152A true CN113742152A (en) 2021-12-03

Family

ID=78737384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111053019.9A Pending CN113742152A (en) 2021-09-08 2021-09-08 Screen projection test method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113742152A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017212638A (en) * 2016-05-26 2017-11-30 キヤノン株式会社 Display device, control method for display device, and program
CN111240905A (en) * 2018-11-28 2020-06-05 腾讯科技(深圳)有限公司 Screen projection diagnosis method, device, system, storage medium and equipment
CN111580765A (en) * 2020-04-27 2020-08-25 Oppo广东移动通信有限公司 Screen projection method, screen projection device, storage medium, screen projection equipment and screen projection equipment
CN112055040A (en) * 2019-06-06 2020-12-08 百度在线网络技术(北京)有限公司 Screen projection processing method, device, equipment and storage medium
CN112822548A (en) * 2020-12-31 2021-05-18 努比亚技术有限公司 Screen projection display method and device, mobile terminal and storage medium
CN113221846A (en) * 2021-06-07 2021-08-06 北京百度网讯科技有限公司 Image recognition method, apparatus, device, storage medium, and program product

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017212638A (en) * 2016-05-26 2017-11-30 キヤノン株式会社 Display device, control method for display device, and program
CN111240905A (en) * 2018-11-28 2020-06-05 腾讯科技(深圳)有限公司 Screen projection diagnosis method, device, system, storage medium and equipment
CN112055040A (en) * 2019-06-06 2020-12-08 百度在线网络技术(北京)有限公司 Screen projection processing method, device, equipment and storage medium
CN111580765A (en) * 2020-04-27 2020-08-25 Oppo广东移动通信有限公司 Screen projection method, screen projection device, storage medium, screen projection equipment and screen projection equipment
CN112822548A (en) * 2020-12-31 2021-05-18 努比亚技术有限公司 Screen projection display method and device, mobile terminal and storage medium
CN113221846A (en) * 2021-06-07 2021-08-06 北京百度网讯科技有限公司 Image recognition method, apparatus, device, storage medium, and program product

Similar Documents

Publication Publication Date Title
CN106998494B (en) Video recording method and related device
CN111782492B (en) Page first screen loading duration testing method and device, computer equipment and medium
WO2021114710A1 (en) Live streaming video interaction method and apparatus, and computer device
CN110505497B (en) Cloud mobile phone operation monitoring method, system, device and storage medium
CN112637842B (en) Screen projection equipment connection method, system, equipment and storage medium
KR20140045897A (en) Device and method for media stream recognition based on visual image matching
CN115396705B (en) Screen operation verification method, platform and system
CN112559341A (en) Picture testing method, device, equipment and storage medium
CN109656800B (en) Method and device for testing image recognition application, terminal and storage medium
CN113920502A (en) Cloud deck adjusting method, device, equipment and medium
CN110213605B (en) Image correction method, device and equipment
CN114095722A (en) Definition determining method, device and equipment
CN110113630B (en) Video detection method and device, electronic equipment and storage medium
CN110989883B (en) Recording method and device for data transfer mode, storage medium and terminal
CN110769225B (en) Projection area obtaining method based on curtain and projection device
CN113742152A (en) Screen projection test method, device, equipment and storage medium
JP2008009938A (en) Moving image data processor, moving image data processing method, moving image data processing program and storage medium recording the program
US20180014058A1 (en) Communication method, mobile terminal and set top box using the same
CN113938674B (en) Video quality detection method, device, electronic equipment and readable storage medium
CN114745537A (en) Sound and picture delay testing method and device, electronic equipment and storage medium
CN115860827A (en) Mobile terminal advertisement testing method and system
CN111277724B (en) Detection method and device for abnormal operation application, electronic equipment and storage medium
CN110572641B (en) Display equipment testing method and device and computer readable storage medium
US9807461B1 (en) Communication method, mobile terminal
CN112052150A (en) Page loading time detection method, equipment, storage medium and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination