Remote automatic test method and system for wireless screen projection equipment and related equipment
By establishing a communication connection between the receiving end and the sending end of the wireless screen projection device, and using QR code information for wireless connection and test project transmission, the problem of wireless screen projection devices in the prior art is difficult to achieve long-distance automated testing, and a more efficient and convenient testing process is achieved.
Patent Information
- Application Number
- CN202411938963.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-11
AI Technical Summary
During production testing, existing wireless screen projection equipment is difficult to achieve long-distance automated testing due to the lack of human-computer interactive input interface and distance limitations.
Through the communication connection between the automatic test device of the receiver and the automatic test device of the transmitter, the wireless connection and test project transmission are used for the QR code information, and the long-distance automatic testing between the transmitter and the receiver is realized.
It improves the testing efficiency of wireless screen projection equipment, removes distance restrictions, and makes testing more convenient and widely applicable.
Smart Images

Figure CN119815121A_ABST
Abstract
Description
Technical Field
[0001] The present invention is applicable to the field of embedded multimedia technology, and in particular relates to a long-distance automatic testing method, system and related equipment for a wireless screen projection device. Background Art
[0002] Embedded multimedia products are generally used to insert multimedia data and display the data. For example, HDMI wireless projection devices are used for sending and receiving devices. The HDMI interface is a digital video / audio interface standard that uses a non-compression method, and the HDMI wireless projection device is based on the HDMI interface standard. Between the HDMI output and the HDMI input, the wireless WiFi connection protocol is used to encode and compress the non-compressed video / audio content transmitted by HDMI. After H264 encoding, it is wirelessly transmitted to a relatively long distance through the WiFi protocol, and the two devices are not constrained by HDMI cables. HDMI provides an interface between multimedia sources that support HDMI and devices such as (audio / video) AV devices, monitors, or digital TVs. HDMI uses high-frequency signals to send high-definition multimedia information.
[0003] Since wireless projection devices usually have only one HDMIIN and HDMIOUT interface, it is impossible to manually output commands during production to allow the transmitter and receiver to perform production tests, such as WiFi performance, IC stability, and software version detection. At the same time, since such devices usually lack input interfaces for human-computer interaction, it is difficult to trigger tests during factory production. When selecting test items, the transmitter (Pocket TX) and the receiver (Pocket RX) are close and cannot be separated. For some projects that require the transmitter and receiver to be tested at a certain distance, such as WiFi performance, audio and video tests, long-distance testing is not possible.
[0004] Therefore, there is an urgent need for a new long-distance automatic testing method, system and related equipment for wireless projection equipment to solve the above technical problems. Summary of the invention
[0005] The present invention provides a long-distance automatic testing method, system and related equipment for a wireless screen projection device, aiming to perform production testing on a transmitting end and a receiving end of the wireless screen projection device at a long distance, thereby improving the testing efficiency of the wireless screen projection device.
[0006] In a first aspect, the present invention provides a long-distance automatic testing method for a wireless screen projection device, the long-distance automatic testing method is based on a receiving end automatic testing device connected to a receiving end of the wireless screen projection device and a sending end automatic testing device connected to a sending end of the wireless screen projection device, the receiving end automatic testing device is communicatively connected with the sending end automatic testing device, and the long-distance automatic testing method comprises the following steps:
[0007] S1, the receiving end automatic testing device receives the two-dimensional code image information sent by the receiving end, and parses the two-dimensional code image information to extract a first two-dimensional code; wherein the first two-dimensional code includes wireless connection information;
[0008] S2, the transmitting-end automatic testing device receives the first two-dimensional code information sent by the receiving-end automatic testing device, and parses the first two-dimensional code information to extract the wireless connection information;
[0009] S3, the automatic testing device at the sending end obtains the test item information including the file to be projected, the automatic testing device at the sending end integrates the test item information with the wireless connection information to obtain the second QR code information, and sends the second QR code information to the sending end;
[0010] S4, the sending end parses the second two-dimensional code information, realizes wireless connection with the receiving end through the wireless connection information, performs production test according to the test item information, and sends the second two-dimensional code information to the receiving end for screen projection test;
[0011] S5. The automatic testing device at the receiving end detects whether the content output by the receiving end is the second QR code information; if so, the file to be projected is played to generate playback content, and the playback content is used to be transmitted to the receiving end through the screen projection program of the sending end, and output to the external display device through the receiving end; wherein, the playback content includes video screen content and audio content.
[0012] Preferably, the wireless connection information includes the SSID and password of the WiFi hotspot of the receiving end.
[0013] Preferably, in step S5, the transmitting end encodes the playback content into an H264 code stream and sends it to the receiving end, and the receiving end decodes the H264 code stream and outputs it to the external display device.
[0014] Preferably, step S4 further includes the following sub-steps:
[0015] The sending end performs a production test according to the test item information to obtain a first test result;
[0016] The sending end sends a production test instruction to the receiving end, and the receiving end performs a production test according to the production test instruction to obtain a second test result;
[0017] Determine whether the first test result and the second test result are abnormal; if so, output the first test result and the second test result to the external display device via the receiving end; if not, proceed to step S5.
[0018] Preferably, the automatic testing device at the sending end obtains the test item information through an external storage medium.
[0019] Preferably, the production test includes iperf test, software version detection, memory test and CPU load aging test.
[0020] In a second aspect, the present invention further provides a long-distance automatic testing system for a wireless screen projection device, wherein the long-distance automatic testing system is based on a receiving end automatic testing device connected to a receiving end of the wireless screen projection device and a transmitting end automatic testing device connected to a transmitting end of the wireless screen projection device, wherein the receiving end automatic testing device is communicatively connected to the transmitting end automatic testing device, and the long-distance automatic testing system comprises:
[0021] A two-dimensional code sending module, used for the receiving end automatic test device to receive the two-dimensional code image information sent by the receiving end, and to parse the two-dimensional code image information to extract a first two-dimensional code; wherein the first two-dimensional code includes wireless connection information;
[0022] A two-dimensional code parsing module, used for the automatic test device at the sending end to receive the first two-dimensional code information sent by the automatic test device at the receiving end, and to parse the first two-dimensional code information to extract the wireless connection information;
[0023] An integration module is used for the automatic test device at the sending end to obtain the test item information containing the file to be projected, the automatic test device at the sending end integrates the test item information with the wireless connection information to obtain the second QR code information, and sends the second QR code information to the sending end;
[0024] A parsing module, used for the sending end to parse the second two-dimensional code information, to achieve wireless connection with the receiving end through the wireless connection information, to perform production testing according to the test item information, and to send the second two-dimensional code information to the receiving end for screen projection testing;
[0025] The display module is used for the automatic testing device at the receiving end to detect whether the content output by the receiving end is the second QR code information; if so, the file to be projected is played to generate playback content, and the playback content is used to be transmitted to the receiving end through the screen projection program of the sending end, and output to an external display device via the receiving end.
[0026] Preferably, the parsing module includes the following units:
[0027] A first test unit, configured for the sending end to perform a production test according to the test item information to obtain a first test result;
[0028] A second test unit, configured for the sending end to send a production test instruction to the receiving end, and the receiving end performs a production test according to the production test instruction to obtain a second test result;
[0029] A judging unit is used to judge whether there is an abnormality in the first test result and the second test result: if so, the first test result and the second test result are output to the external display device via the receiving end; if not, they are transferred to the display module.
[0030] In the third aspect, the present invention also provides a computer device, comprising: a memory, a processor, and a long-distance automatic testing program for a wireless screen projection device stored in the memory and runnable on the processor, wherein when the processor executes the long-distance automatic testing program for the wireless screen projection device, it implements the steps in the long-distance automatic testing method for the wireless screen projection device as described in any one of the above embodiments.
[0031] In a fourth aspect, the present invention also provides a computer-readable storage medium, on which a long-distance automatic testing program for a wireless screen projection device is stored. When the long-distance automatic testing program for the wireless screen projection device is executed by a processor, the steps in the long-distance automatic testing method for the wireless screen projection device as described in any one of the above embodiments are implemented.
[0032] Compared with the prior art, the present invention realizes the automated testing of the wireless projection device by transmitting and receiving the QR code information of the wireless projection device, and the testing efficiency is high. At the same time, since the present invention transmits the QR code information through the receiving end automated testing device and the sending end automated testing device, the production testing of the sending end and the receiving end of the wireless projection device is not limited by the distance, and the testing is more convenient and has a wider applicability. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The present invention will be described in detail below in conjunction with the accompanying drawings. The above and other aspects of the present invention will become clearer and easier to understand through the detailed description made in conjunction with the following drawings. In the accompanying drawings:
[0034] Figure 1 It is a flowchart of a long-distance automatic testing method for a wireless screen projection device provided by an embodiment of the present invention;
[0035] Figure 2 It is a structural schematic diagram of a long-distance automatic testing system for a wireless screen projection device provided by an embodiment of the present invention;
[0036] Figure 3 is a schematic diagram of the structure of a computer device provided by an embodiment of the present invention; DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0038] Embodiment 1
[0039] Please refer to Figure 1 The present invention provides a long-distance automatic testing method for a wireless screen projection device, the long-distance automatic testing method is based on a receiving end automatic testing device connected to the receiving end of the wireless screen projection device and a transmitting end automatic testing device connected to the transmitting end of the wireless screen projection device, the receiving end automatic testing device is communicatively connected with the transmitting end automatic testing device. Wherein, the wireless screen projection device is an HDMI wireless screen projection device, the receiving end and the receiving end automatic testing device are defined as part A, and the transmitting end and the transmitting end automatic testing device are defined as part B. The receiving end of part A is respectively connected to the receiving end automatic testing device and the external display device through an HDMI one-into-two screen splitter (including an HDMIIN interface and two HDMIOUT interfaces), the transmitting end automatic testing device of part B is connected to the HDMIIN interface of the transmitting end through the HDMIOUT interface, and the transmitting end automatic testing device also includes a connection port for an external storage medium for data transmission with an external storage medium.
[0040] The automatic testing device at the transmitting end is connected to the automatic testing device at the receiving end by wired or wireless means, such as wifi, Ethernet, zigbee, Bluetooth, etc., so that part A and part B of the wireless projection device under test can be moved and the test distance can be adjusted to achieve the purpose of long-distance automatic testing, thereby meeting the testing requirements of the wireless projection device.
[0041] Before the test, it is necessary to select the communication mode between the automatic test device at the sending end and the automatic test device at the receiving end according to the test requirements, and connect them. For example, the Ethernet (network cable) connection mode. Exemplarily, after the automatic test device at the sending end and the automatic test device at the receiving end are powered on, the corresponding connection process is started according to the selected communication mode to connect the automatic test device at the sending end and the automatic test device at the receiving end. For example, if the network cable is connected, DHCP (Dynamic Host Configuration Protocol) is started, the automatic test device at the receiving end acts as a client (Client), and the automatic test device at the sending end acts as a server (Serve) to perform network communication.
[0042] The remote automatic testing method comprises the following steps:
[0043] S1, the receiving end automatic testing device receives the two-dimensional code image information sent by the receiving end, and parses the two-dimensional code image information to extract a first two-dimensional code; wherein the first two-dimensional code includes wireless connection information;
[0044] In the embodiment of the present invention, the wireless connection information includes the SSID (physical address) and password of the WiFi hotspot of the receiving end.
[0045] The password includes numbers, uppercase and lowercase letters, a combination of numbers and letters, a combination of numbers, letters and special symbols, etc. The encryption method can be one-way encryption, symmetric encryption, asymmetric encryption, etc. One-way encryption generates ciphertext by performing summary calculation on the data, and the ciphertext cannot be reversed. It can only be encrypted but not decrypted, and is often used to extract fingerprint information of the data to verify the integrity of the data. Symmetric encryption uses the same key for encryption and decryption; the encryption and decryption speed is relatively fast and the efficiency is relatively high. For symmetric encryption, there is no need to have the same set of keys. Asymmetric encryption is a "key exchange protocol for information disclosure." Asymmetric encryption requires two sets of keys, a public key and a private key. The public key and the private key are paired, that is, the public key is used to encrypt the data, and only the corresponding private key can decrypt it.
[0046] S2. The automatic testing device at the transmitting end receives the first two-dimensional code information sent by the automatic testing device at the receiving end, and parses the first two-dimensional code information to extract the wireless connection information.
[0047] S3. The automatic testing device at the sending end obtains the test item information containing the file to be projected, and the automatic testing device at the sending end integrates the test item information with the wireless connection information to obtain the second QR code information, and sends the second QR code information to the sending end.
[0048] In the embodiment of the present invention, the automatic test device at the transmitting end obtains the test item information through an external storage medium. Specifically, the external storage medium is a USB flash drive.
[0049] S4, the sending end parses the second two-dimensional code information, realizes wireless connection with the receiving end through the wireless connection information, performs production test according to the test item information, and sends the second two-dimensional code information to the receiving end for screen projection test;
[0050] In an embodiment of the present invention, the production test includes iperf test, software version detection, memory test and CPU load aging test. Specifically, iperf test network performance test tool is used to test the network passed, obtain network performance information, and improve the optimization effect of the network. Software version detection is used to detect the newly inserted software version. Memory test is used to test the memory capacity of the U disk, data transmission and reception rate, etc. CPU (processor) load aging test is used to test the processing performance of the processor.
[0051] In the embodiment of the present invention, step S4 further includes the following sub-steps:
[0052] The sending end performs a production test according to the test item information to obtain a first test result;
[0053] The sending end sends a production test instruction to the receiving end, and the receiving end performs a production test according to the production test instruction to obtain a second test result;
[0054] Determine whether the first test result and the second test result are abnormal; if so, output the first test result and the second test result to the external display device via the receiving end; if not, proceed to step S5.
[0055] Specifically, when there are abnormalities in the first test result and the second test result, the tester can directly observe the test results from the external display device, confirm the abnormal items, and end the test.
[0056] S5. The automatic testing device at the receiving end detects whether the content output by the receiving end is the second QR code information; if so, the file to be projected is played to generate playback content, and the playback content is used to be transmitted to the receiving end through the screen projection program of the sending end, and output to the external display device through the receiving end; wherein, the playback content includes video screen content and audio content.
[0057] In the embodiment of the present invention, in step S5, the transmitting end encodes the playback content into an H264 code stream and sends it to the receiving end, and the receiving end decodes the H264 code stream and outputs it to the external display device.
[0058] Specifically, when there is an abnormality in the screen projection test, the tester can use the external display device to confirm whether the playback content of the screen projection is normal. If it is normal, then all product tests are normal. If there is a playback abnormality, such as mosaics on the screen, sound freezes or no sound, it is an abnormality. This realizes efficient automated testing of wireless screen projection equipment.
[0059] Compared with the prior art, the present invention realizes the automated testing of the wireless projection device by transmitting and receiving the QR code information of the wireless projection device, and the testing efficiency is high. At the same time, since the present invention transmits the QR code information through the receiving end automated testing device and the sending end automated testing device, the production testing of the sending end and the receiving end of the wireless projection device is not limited by the distance, and the testing is more convenient and has a wider applicability.
[0060] Embodiment 2
[0061] The embodiment of the present invention also provides a remote automatic testing system for a wireless screen projection device, please refer to Figure 2 , Figure 2 200 is a structural diagram of a long-distance automatic test system 200 for a wireless screen projection device provided in an embodiment of the present invention. The long-distance automatic test system is based on a receiving end automatic test device connected to the receiving end of the wireless screen projection device and a sending end automatic test device connected to the sending end of the wireless screen projection device. The receiving end automatic test device is connected to the sending end automatic test device in communication. The long-distance automatic test system includes:
[0062] 201. A two-dimensional code sending module, configured for the receiving end automatic test device to receive the two-dimensional code image information sent by the receiving end, and to parse the two-dimensional code image information to extract a first two-dimensional code; wherein the first two-dimensional code includes wireless connection information;
[0063] 202. A two-dimensional code parsing module, configured for the automatic test device at the transmitting end to receive the first two-dimensional code information sent by the automatic test device at the receiving end, and to parse the first two-dimensional code information to extract the wireless connection information;
[0064] 203. An integration module, used for the automatic testing device at the sending end to obtain test item information including the file to be projected, the automatic testing device at the sending end to integrate the test item information with the wireless connection information to obtain second QR code information, and send the second QR code information to the sending end;
[0065] 204. A parsing module, configured for the transmitting end to parse the second two-dimensional code information, to realize wireless connection with the receiving end through the wireless connection information, to perform production testing according to the test item information, and to send the second two-dimensional code information to the receiving end for screen projection testing;
[0066] 205. Display module, used for the automatic testing device at the receiving end to detect whether the content output by the receiving end is the second QR code information; if so, play the file to be projected to generate playback content, and the playback content is used to be transmitted to the receiving end through the screen projection program of the sending end, and output to the external display device through the receiving end.
[0067] In an embodiment of the present invention, the wireless connection information includes the SSID and password of the WiFi hotspot of the receiving end.
[0068] In the embodiment of the present invention, the parsing module 204 includes the following units:
[0069] 2041. A first testing unit, configured for the sending end to perform a production test according to the test item information to obtain a first test result;
[0070] 2042. A second test unit, configured for the sending end to send a production test instruction to the receiving end, and the receiving end to perform a production test according to the production test instruction to obtain a second test result;
[0071] 2043. A judgment unit, used for judging whether there is an abnormality in the first test result and the second test result: if so, outputting the first test result and the second test result to the external display device via the receiving end; if not, switching to the display module 205.
[0072] The long-distance automatic testing system 200 of the wireless projection device can implement the steps in the long-distance automatic testing method of the wireless projection device in the above embodiment, and can achieve the same technical effects. Please refer to the description in the above embodiment and will not repeat them here.
[0073] Embodiment 3
[0074] The embodiment of the present invention also provides a computer device, please refer to Figure 3 , Figure 3 It is a structural diagram of a computer device provided in an embodiment of the present invention, wherein the computer device 300 includes: a memory 302, a processor 301, and a long-distance automatic testing program for a wireless projection device stored in the memory 302 and executable on the processor 301.
[0075] The processor 301 calls the remote automatic test program of the wireless screen projection device stored in the memory 302 to execute the steps of the remote automatic test method of the wireless screen projection device provided by the embodiment of the present invention. Figure 1 , the long-distance automatic testing method is based on a receiving-end automatic testing device connected to the receiving end of the wireless screen projection device and a transmitting-end automatic testing device connected to the transmitting end of the wireless screen projection device, and the receiving-end automatic testing device is communicatively connected to the transmitting-end automatic testing device. Wherein, the wireless screen projection device is an HDMI wireless screen projection device, the receiving end and the receiving-end automatic testing device are defined as part A, and the transmitting end and the transmitting-end automatic testing device are defined as part B. The receiving end of part A is respectively connected to the receiving-end automatic testing device and the external display device through an HDMI one-input and two-output screen splitter (including an HDMI IN interface and two HDMI OUT interfaces), the transmitting-end automatic testing device of part B is connected to the HDMIIN interface of the transmitting end through an HDMI OUT interface, and the transmitting-end automatic testing device also includes a connection port for an external storage medium for data transmission with an external storage medium.
[0076] The sending end automatic test device and the receiving end automatic test device are connected via wired or wireless means, such as wifi, Ethernet, zigbee, Bluetooth, etc., so that part A and part B of the wireless projection device under test can be moved, the test distance can be adjusted, and the purpose of long-distance automatic testing can be achieved.
[0077] Before the test, it is necessary to select the communication mode between the sending end automatic test device and the receiving end automatic test device according to the test requirements and connect them. For example, Ethernet (network cable) connection mode. Exemplarily, after the sending end automatic test device and the receiving end automatic test device are powered on, according to the selected communication mode, the corresponding connection process is started to connect the sending end automatic test device and the receiving end automatic test device. For example, if the network cable is connected, DHCP is started, the receiving end automatic test device acts as a client (Client), and the sending end automatic test device acts as a server (Serve) to perform network communication.
[0078] The remote automatic testing method comprises the following steps:
[0079] S1, the receiving end automatic testing device receives the two-dimensional code image information sent by the receiving end, and parses the two-dimensional code image information to extract a first two-dimensional code; wherein the first two-dimensional code includes wireless connection information;
[0080] In an embodiment of the present invention, the wireless connection information includes the SSID and password of the WiFi hotspot of the receiving end.
[0081] S2. The automatic testing device at the transmitting end receives the first two-dimensional code information sent by the automatic testing device at the receiving end, and parses the first two-dimensional code information to extract the wireless connection information.
[0082] S3. The automatic testing device at the sending end obtains the test item information containing the file to be projected, and the automatic testing device at the sending end integrates the test item information with the wireless connection information to obtain the second QR code information, and sends the second QR code information to the sending end.
[0083] In the embodiment of the present invention, the automatic test device at the transmitting end obtains the test item information through an external storage medium. Specifically, the external storage medium is a USB flash drive.
[0084] S4, the sending end parses the second two-dimensional code information, realizes wireless connection with the receiving end through the wireless connection information, performs production test according to the test item information, and sends the second two-dimensional code information to the receiving end for screen projection test;
[0085] In the embodiment of the present invention, the production test includes iperf test, software version detection, memory test and CPU load aging test.
[0086] In the embodiment of the present invention, step S4 further includes the following sub-steps:
[0087] The sending end performs a production test according to the test item information to obtain a first test result;
[0088] The sending end sends a production test instruction to the receiving end, and the receiving end performs a production test according to the production test instruction to obtain a second test result;
[0089] Determine whether the first test result and the second test result are abnormal; if so, output the first test result and the second test result to the external display device via the receiving end; if not, proceed to step S5.
[0090] Specifically, when there are abnormalities in the first test result and the second test result, the tester can directly observe the test results from the external display device, confirm the abnormal items, and end the test.
[0091] S5. The automatic testing device at the receiving end detects whether the content output by the receiving end is the second QR code information; if so, the file to be projected is played to generate playback content, and the playback content is used to be transmitted to the receiving end through the screen projection program of the sending end, and output to the external display device through the receiving end; wherein, the playback content includes video screen content and audio content.
[0092] In the embodiment of the present invention, in step S5, the transmitting end encodes the playback content into an H264 code stream and sends it to the receiving end, and the receiving end decodes the H264 code stream and outputs it to the external display device.
[0093] Specifically, when there is an abnormality in the screen projection test, the tester can use an external display device to confirm whether the playback content of the projection is normal. If it is normal, all product tests are normal. If there is a playback abnormality, such as mosaics on the screen, stuttering or no sound, etc., it is an abnormality.
[0094] The computer device 300 provided in the embodiment of the present invention can implement the steps in the method in the above embodiment and can achieve the same technical effects. Please refer to the description in the above embodiment and will not be repeated here.
[0095] Embodiment 4
[0096] An embodiment of the present invention also provides a computer-readable storage medium, which stores a long-distance automatic testing program for a wireless screen projection device. When the long-distance automatic testing program for the wireless screen projection device is executed by a processor, the various processes and steps in the long-distance automatic testing method for the wireless screen projection device provided by an embodiment of the present invention are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0097] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).
[0098] 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 device 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 device. 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 device including the element.
[0099] 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 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 ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (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.
[0100] The embodiments of the present invention are described above in conjunction with the accompanying drawings. What is disclosed is only the preferred embodiment of the present invention. However, the present invention is not limited to the above-mentioned specific implementation manner. The above-mentioned specific implementation manner is only illustrative rather than restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms and equivalent changes without departing from the scope of protection of the purpose of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A long-distance automatic testing method for a wireless screen projection device, characterized in that: The remote automatic testing method is based on a receiving end automatic testing device connected to the receiving end of the wireless screen projection device and a sending end automatic testing device connected to the sending end of the wireless screen projection device, wherein the receiving end automatic testing device is communicatively connected with the sending end automatic testing device, and the remote automatic testing method comprises the following steps: S1, the receiving end automatic testing device receives the two-dimensional code image information sent by the receiving end, and parses the two-dimensional code image information to extract a first two-dimensional code; wherein the first two-dimensional code includes wireless connection information; S2, the transmitting-end automatic testing device receives the first two-dimensional code information sent by the receiving-end automatic testing device, and parses the first two-dimensional code information to extract the wireless connection information; S3, the automatic testing device at the sending end obtains the test item information including the file to be projected, the automatic testing device at the sending end integrates the test item information with the wireless connection information to obtain the second QR code information, and sends the second QR code information to the sending end; S4, the sending end parses the second two-dimensional code information, realizes wireless connection with the receiving end through the wireless connection information, performs production test according to the test item information, and sends the second two-dimensional code information to the receiving end for screen projection test; S5. The automatic testing device at the receiving end detects whether the content output by the receiving end is the second QR code information: if so, the file to be projected is played to generate playback content, and the playback content is used to be transmitted to the receiving end through the screen projection program of the sending end, and output to the external display device through the receiving end; wherein, the playback content includes video screen content and audio content.
2. The long-distance automatic testing method of the wireless screen projection device according to claim 1, characterized in that: The wireless connection information includes the SSID and password of the WiFi hotspot of the receiving end.
3. The long-distance automatic testing method of the wireless screen projection device according to claim 1, characterized in that: In step S5, the transmitting end encodes the playback content into an H264 code stream and sends it to the receiving end, and the receiving end decodes the H264 code stream and outputs it to the external display device.
4. The long-distance automatic testing method of the wireless screen projection device according to claim 1, characterized in that: Step S4 also includes the following sub-steps: The sending end performs a production test according to the test item information to obtain a first test result; The sending end sends a production test instruction to the receiving end, and the receiving end performs a production test according to the production test instruction to obtain a second test result; Determine whether the first test result and the second test result are abnormal: if so, output the first test result and the second test result to the external display device via the receiving end; If not, proceed to step S5.
5. The long-distance automatic testing method of the wireless screen projection device according to claim 1, characterized in that: The automatic testing device at the sending end obtains the test item information through an external storage medium.
6. The long-distance automatic testing method of the wireless screen projection device according to claim 1, characterized in that: The production test includes iperf test, software version detection, memory test and CPU load aging test.
7. A remote automatic testing system for a wireless screen projection device, characterized in that: The remote automatic test system is based on a receiving end automatic test device connected to the receiving end of the wireless screen projection device and a sending end automatic test device connected to the sending end of the wireless screen projection device, and the receiving end automatic test device is communicatively connected with the sending end automatic test device. The remote automatic test system includes: A two-dimensional code sending module, used for the receiving end automatic test device to receive the two-dimensional code image information sent by the receiving end, and to parse the two-dimensional code image information to extract a first two-dimensional code; wherein the first two-dimensional code includes wireless connection information; A two-dimensional code parsing module, used for the automatic test device at the sending end to receive the first two-dimensional code information sent by the automatic test device at the receiving end, and to parse the first two-dimensional code information to extract the wireless connection information; An integration module is used for the automatic test device at the sending end to obtain the test item information containing the file to be projected, the automatic test device at the sending end integrates the test item information with the wireless connection information to obtain the second QR code information, and sends the second QR code information to the sending end; A parsing module, used for the sending end to parse the second two-dimensional code information, to achieve wireless connection with the receiving end through the wireless connection information, to perform production testing according to the test item information, and to send the second two-dimensional code information to the receiving end for screen projection testing; The display module is used for the automatic testing device at the receiving end to detect whether the content output by the receiving end is the second QR code information: if so, the file to be projected is played to generate playback content, and the playback content is used to be transmitted to the receiving end through the screen projection program of the sending end, and output to the external display device through the receiving end.
8. The long-distance automatic testing system for the wireless screen projection device according to claim 7, characterized in that: The parsing module includes the following units: A first test unit, configured for the sending end to perform a production test according to the test item information to obtain a first test result; A second test unit, configured for the sending end to send a production test instruction to the receiving end, and the receiving end performs a production test according to the production test instruction to obtain a second test result; a judging unit, configured to judge whether the first test result and the second test result are abnormal; if so, outputting the first test result and the second test result to the external display device via the receiving end; If not, go to the display module.
9. A computer device, characterized in that: include: A memory, a processor, and a long-distance automatic testing program for a wireless screen projection device stored in the memory and executable on the processor. When the processor executes the long-distance automatic testing program for the wireless screen projection device, the steps in the long-distance automatic testing method for the wireless screen projection device as described in any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a long-distance automatic testing program for the wireless screen projection device. When the long-distance automatic testing program for the wireless screen projection device is executed by the processor, the steps in the long-distance automatic testing method for the wireless screen projection device as described in any one of claims 1-6 are implemented.
Citation Information
Patent Citations
Cloud product testing method
CN111131468A
Automatic test method and system of HDMI wireless screen projection equipment and related equipment
CN116578450A