Image transmission test method, system and equipment and storage medium
By generating attenuation matrices to simulate different transmission distances, the problem of ideal test conditions for image transmission equipment in the existing technology is solved, accurate evaluation and efficient testing of equipment performance is achieved, and the need for field testing is reduced.
Patent Information
- Application Number
- CN202410892495.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing video transmission equipment testing technology, the test conditions are too ideal and difficult to truly reflect the performance of the equipment in actual applications. In addition, field testing is difficult and inconvenient for simultaneous observation, resulting in inaccurate test results.
By determining the target transmission distance of the image transmission equipment to be tested, an attenuation matrix is generated to attenuate the wireless signal, and environments with different transmission distances are simulated to determine whether the equipment is qualified and avoid field testing.
It improves the accuracy and efficiency of image transmission equipment testing, reduces labor costs, avoids inaccurate test results due to uncontrollable on-site environment, and enables timely observation of equipment performance.
Smart Images

Figure CN118741082A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of image transmission equipment testing, and in particular to an image transmission testing method, system, equipment and storage medium. Background Art
[0002] With the continuous development of science and technology, image transmission equipment occupies an important position in the field of modern communications and has been widely used in various industries, such as sports broadcasting, drones, security monitoring and emergency rescue, etc. The quality of image transmission equipment transmission performance directly affects the stability and reliability of the entire communication system. Therefore, in the research and development and production process of image transmission equipment, it is particularly important to accurately test the transmission performance of image transmission equipment.
[0003] In the existing image transmission equipment testing technology, the transmission performance of the equipment is usually evaluated by setting specific test conditions. However, these test conditions are often too idealistic, and the test results obtained by relying solely on these test methods are often difficult to truly reflect the performance of the image transmission equipment in actual applications. It is also difficult to find a suitable location for field testing. Even if a suitable site is found for testing, due to the long distance and long test time of field testing, the testers in both locations cannot observe the real-time situation of the test site at the same time. The testers can only rely on telephone or video to communicate the test results, and it is difficult to accurately judge the image quality and picture delay of the image transmission equipment. Summary of the invention
[0004] In order to solve the problem in existing image transmission testing technology that the test conditions are often too idealized, making it difficult to truly reflect the performance of the image transmission equipment in actual applications, and thus the image transmission equipment needs to be brought to the actual scene for testing, the present application provides an image transmission test method, system, device and storage medium.
[0005] The first aspect of the present application provides a method for testing image transmission, including: Determine the wireless propagation loss based on the target transmission distance of the image transmission device to be tested; generating an attenuation matrix according to the wireless transmission loss; The wireless signal of each frame image in the target video is attenuated in sequence by the attenuation matrix to obtain a first attenuated wireless signal of each frame image in the target video, wherein the target video is a video sent by the transmitting end of the image transmission device to be tested in the shielding box; Transmitting the first attenuated wireless signal of each frame of image in sequence to the receiving end of the image transmission device to be tested in the shielding box; Controlling the receiving end of the image transmission device to be tested to convert the received second attenuated wireless signal into a received image corresponding to each frame of the image; Whether the image transmission device transmitter to be tested and the image transmission device receiver to be tested are qualified is judged according to each frame of image and the received image corresponding to each frame of image.
[0006] By adopting the above technical solution, the target transmission distance that needs to be simulated for the image transmission device to be tested is determined, and the wireless transmission loss is determined according to the target transmission distance. The attenuation matrix attenuates the wireless signal sent by the transmitter of the image transmission device to be tested according to the wireless transmission loss, and transmits the attenuated wireless signal to the receiver of the image transmission device to be tested. The receiver of the image transmission device to be tested converts the received wireless signal into a received image, and finally matches the received image of each frame of the image with each frame of the image to determine whether the transmitter of the image transmission device to be tested and the receiver of the image transmission device to be tested are qualified. Therefore, by simulating different target transmission distances through the attenuation matrix, the image transmission device does not need to be tested directly in the actual scene, which can reduce labor costs, facilitate observation of the transmission results of the image transmission device, and improve the test efficiency and accuracy of the image transmission device.
[0007] Optionally, the image transmission test method also includes: Obtaining performance indicators of the image transmission device to be tested; The target transmission distance is determined according to the performance index of the image transmission device to be tested.
[0008] By adopting the above technical solution, according to the performance indicators of the image transmission device to be tested, the target transmission distance suitable for the image transmission device to be tested that needs to be simulated tested can be determined, thereby ensuring the detection effect of the image transmission device to be tested.
[0009] Optionally, generating an attenuation matrix according to the wireless transmission loss comprises the following steps: Determining the operating frequency of the image transmission device to be tested according to the performance index of the image transmission device to be tested; Calculating the wireless propagation loss according to the operating frequency and the target transmission distance to be simulated and tested; The attenuation matrix is generated according to the wireless propagation loss.
[0010] By adopting the above technical solution, the operating frequency of the image transmission device to be tested is determined, the corresponding wireless propagation loss is calculated through the operating frequency of the image transmission device to be tested and the target transmission distance to be simulated, and the corresponding attenuation matrix is generated, so as to accurately simulate the target transmission distance between the image transmission devices.
[0011] Optionally, determining the wireless propagation loss according to the target transmission distance of the image transmission device to be tested includes: The wireless propagation loss is determined by the following formula: Lfs=32.44+20lg(d)+20lg(f); Wherein, Lfs is the wireless propagation loss, 32.44 is the loss constant of wireless transmission in free space, d is the target transmission distance, and f is the operating frequency.
[0012] Through the above technical solution, it is convenient to calculate the corresponding wireless transmission loss according to the target transmission distance and the operating frequency of the image transmission device to be tested.
[0013] Optionally, the attenuating the wireless signal of each frame image in the target video in sequence by using the attenuation matrix to obtain a first attenuated wireless signal of each frame image in the target video comprises the following steps: Determining a signal attenuation power adjustment value according to the wireless propagation loss; adjusting the signal attenuation power of the attenuation matrix in sequence according to the signal attenuation power adjustment value; The wireless signal of each frame image in the target video is attenuated in sequence based on the adjusted signal attenuation power to obtain a first attenuated wireless signal of each frame image in the target video.
[0014] By adopting the above technical solution, the wireless signal of each frame sent by the transmitter of the image transmission device to be tested is attenuated. The attenuation of the wireless signal is performed according to the wireless propagation loss at different transmission distances. Therefore, the wireless transmission performance of the image transmission test device to be tested when the transmission distance is constantly changing can be observed.
[0015] Optionally, judging whether the image transmission device transmitter to be tested and the image transmission device receiver to be tested are qualified according to each frame of image and the received image corresponding to each frame of image comprises the following steps: Determine whether a first frame image matches a first received image, where the first frame image is the first frame image in the target video, and the first received image is an image obtained by converting a received attenuated signal by a receiving end of the image transmission device to be tested, and corresponds to the first frame image; If the first frame image matches the first received image, then determining whether the second frame image matches the second received image, wherein the second frame image is a frame image in the target video that is located after the first frame image and is adjacent to the first frame image, and the second received image is an image obtained by the receiving end of the image transmission device to be tested after converting the received attenuated signal, and corresponds to the second frame image; The above-mentioned image matching steps are performed in sequence according to the timestamp order of the image frames in the target video until the i-th frame image does not match the i-th received image, the i-th frame image is a frame image in the target video that is located after the i-1-th frame image and is adjacent to the i-1-th frame image, and the i-th received image is an image obtained by the receiving end of the image transmission device to be tested after converting the received attenuated signal and corresponds to the i-th frame image; Determining the transmission loss corresponding to the i-th frame image; Determining a test transmission distance corresponding to the transmission loss; Determining whether the test transmission distance matches the target transmission distance; If the test transmission distance matches the target transmission distance, it is determined that the image transmission device to be tested is qualified; If the test transmission distance does not match the target transmission distance, it is determined that the image transmission device to be tested is unqualified.
[0016] By adopting the above technical solution, the wireless transmission loss is continuously increased to simulate the increasing transmission distance of wireless transmission. The qualification of the image transmission device is judged based on the matching degree between the image and the received image.
[0017] Optionally, the determining whether the first frame image matches the first received image comprises the following steps: Acquire a first definition corresponding to the first frame image and a second definition corresponding to the first received image; If the first definition matches the second definition, it is determined that the first frame image matches the first received image; if the first definition does not match the second definition, it is determined that the first frame image does not match the first received image; and / or, Acquire the transmission time corresponding to the first frame image and the reception time corresponding to the first received image; Determining whether the time interval between the transmission time and the reception time is greater than a preset time interval; If the time interval between the receiving moments is greater than a preset time interval, it is determined that the first frame image does not match the first received image; if the time interval between the receiving moments is less than or equal to a preset time interval, it is determined that the first frame image matches the first received image; and / or, determining an amount of noise in the first received image; If the number of noise points is greater than the expected number, it is determined that the first frame image does not match the first received image; if the number of noise points is less than or equal to the expected number, it is determined that the first frame image matches the first received image; By adopting the above technical solution, it is determined whether the first frame image matches the first received image from three aspects: clarity, transmission delay, and the number of noise points.
[0018] The second aspect of the present application provides an image transmission test system, which adopts the following technical solution: A video transmission test system, comprising: A determination module, used to determine the wireless propagation loss according to the target transmission distance of the image transmission device to be tested; A generating module, used for generating an attenuation matrix according to the wireless transmission loss; An attenuation module, used to sequentially attenuate the wireless signal of each frame of the target video through the attenuation matrix to obtain a first attenuated wireless signal of each frame of the target video, wherein the target video is a video sent by the transmitting end of the image transmission device to be tested in the shielding box; A transmission module, used for sequentially transmitting the first attenuated wireless signal of each frame of image to a receiving end of the image transmission device to be tested in the shielding box; A control module, used for controlling the receiving end of the image transmission device to be tested to convert the received second attenuated wireless signal into a received image corresponding to each frame of the image; The judging module is used to judge whether the transmitting end of the image transmission device to be tested and the receiving end of the image transmission device to be tested are qualified according to each frame of image and the received image corresponding to each frame of image.
[0019] The third aspect of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the image transmission test method described in the first aspect when executing the computer program.
[0020] A fourth aspect of the present application provides a computer storage medium, which includes instructions, which, when executed on a computer, enable the computer to execute the steps of the image transmission test method described in any of the above aspects.
[0021] In summary, the present application includes at least one of the following beneficial technical effects: 1. It can accurately test the performance of the image transmission device. The attenuation matrix simulates the wireless transmission of the image transmission device under the condition of constantly changing distance. It can accurately test the maximum transmission distance of the image transmission device without the need for on-site field testing, thus avoiding inaccurate test results due to uncontrollable on-site environment. 2. It is convenient to observe the test results. The distance between the image transmission device transmitter and the image transmission device receiver is short, which makes it easy to observe the images captured by the image transmission device transmitter and the image transmission device receiver. There is no need to communicate the results of wireless transmission through other remote communication means, thus avoiding misjudgment of the performance of the image transmission device due to communication problems between personnel in the two places; 3. It is convenient to conduct long-term testing. The attenuation matrix parameters can be set in advance, and the image transmission equipment can be tested for a long time. No additional operation is required during this process, which saves labor costs and avoids the problem of unstable test environment caused by environmental changes during long-term field testing. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a flowchart of the image transmission test method provided in an embodiment of the present application; Figure 2 It is a virtual structural diagram of the image transmission test system provided in an embodiment of the present application; Figure 3 It is a schematic diagram of the hardware structure of the image transmission test system provided in an embodiment of the present application; Figure 4 It is a schematic diagram of the hardware structure of a computer device provided in an embodiment of the present application; DETAILED DESCRIPTION
[0023] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0024] To facilitate understanding, some terms provided in the embodiments of the present application are explained below, specifically as follows: an image transmission device refers to a device that transmits images or media content from one device to another via a transmission medium, and the transmission medium may be wireless light waves, optical fibers, Ethernet, etc.
[0025] A shielding box refers to a shielding body of various shapes made of conductive or magnetic materials.
[0026] The following describes the image transmission test method from the perspective of an image transmission test device, and the image transmission test device may be a server or a service unit in the server, without specific limitation.
[0027] Combined with reference Figure 1 , Figure 1 A flow chart of the image transmission test method provided for an embodiment of the present application includes: 101, determining the wireless propagation loss according to the target transmission distance of the image transmission device to be tested.
[0028] In this embodiment, the image transmission test device can first determine the transmission distance range that the image transmission device to be tested needs to cover in actual applications (the transmission distance range is the target transmission distance, for example, the target transmission distance is 2 kilometers. Of course, the target transmission distance can be adjusted according to the actual transmission distance range of the image transmission device to be tested, and is not specifically limited), and based on the wireless transmission technology used by the image transmission device and the characteristics of the working frequency band, analyze the wireless propagation loss at the target transmission distance.
[0029] Specifically, the image transmission test device can determine the wireless propagation loss by the following formula: Lfs=32.44+20lg(d)+20lg(f); Among them, Lfs is the wireless propagation loss, 32.44 is the loss constant of wireless transmission in free space, d is the target transmission distance, and f is the operating frequency.
[0030] In one embodiment, before determining the wireless propagation loss according to the target transmission distance of the image transmission device to be tested, the image transmission test device further performs the following operations: Obtain the performance indicators of the image transmission device to be tested; The target transmission distance is stated based on the performance indicators of the image transmission device to be tested.
[0031] In this embodiment, the image transmission test device may first obtain the performance indicators of the image transmission device to be tested, and the performance indicators of the image transmission device to be tested include but are not limited to: minimum transmission distance, maximum transmission distance, minimum transmission power and maximum transmission power, and receiving sensitivity. The acquisition method may be, for example, that the user takes a photo of the specification sheet of the image transmission device to be tested and transmits it to the image transmission test device. The image transmission test device may recognize the photographed picture and extract the performance indicators of the image transmission device to be tested. Of course, the performance indicators may also be obtained in other ways. For example, the image transmission test device may provide a dialog box to receive the performance indicators of the image transmission device to be tested input by the user, and the specific method is not limited. Afterwards, the image transmission test device can determine the target transmission distance based on the performance indicators of the image transmission device to be tested. The target transmission distance is any transmission distance between the minimum transmission distance and the maximum transmission distance. That is, the minimum value of the target transmission distance is the minimum transmission distance of the image transmission device to be tested, and the maximum value is the maximum transmission distance of the image transmission device to be tested.
[0032] 102. Generate an attenuation matrix according to wireless transmission loss.
[0033] In this embodiment, after determining the wireless transmission loss, the image transmission test device can generate an attenuation matrix according to the wireless transmission loss. The attenuation matrix is generated by an attenuator, which can attenuate the wireless signal by 0-100dB. The attenuation matrix achieves the attenuation of the wireless signal by reducing the power and amplitude of the wireless signal.
[0034] In one embodiment, the image transmission test device generates an attenuation matrix according to wireless transmission loss, including: Determine the operating frequency of the image transmission device to be tested according to the performance indicators of the image transmission device to be tested; Calculate the wireless propagation loss based on the operating frequency and the target transmission distance to be simulated and tested; Generate an attenuation matrix based on wireless propagation losses.
[0035] In this embodiment, the image transmission test device extracts the operating frequency of the image transmission device to be tested from the performance indicators obtained in step 101. Of course, the performance indicators can also be obtained in other ways. For example, the image transmission test device can provide a dialog box to receive the operating frequency of the image transmission device to be tested input by the user, or the operating frequency of the image transmission device can be set by adjusting a knob on the image transmission test device. The specific method is not limited thereto. Afterwards, the image transmission test device can calculate the wireless propagation loss according to the working frequency and target transmission distance of the image transmission device to be tested. Of course, the wireless propagation loss can also be obtained by other means. For example, the image transmission test device can directly obtain the wireless transmission loss of the image transmission device to be tested at the target transmission distance through the wireless transmission loss comparison table of the image transmission device to be tested, or the image transmission test device can provide a dialog box to receive the wireless transmission loss input by the user. There is no specific limitation. The wireless propagation loss is the wireless transmission loss that needs to be simulated in this simulation test. The following is a specific example to illustrate how to calculate the wireless transmission loss of the image transmission device to be tested. The working frequency of an image transmission device to be tested is 433.92MHz, and the target transmission distance is 2KM. The image transmission test device uses the wireless propagation loss formula to calculate that the wireless transmission loss that needs to be simulated in this simulation test is 91.27dB; Finally, the image transmission test device controls the attenuator to generate an attenuation matrix based on the acquired wireless transmission loss. The attenuation matrix simulates the wireless transmission of the image transmission device under test at the target transmission distance by absorbing or dissipating the energy of the wireless propagation signal of the image transmission device under test. For example, the attenuation matrix attenuates the wireless propagation signal by reducing the power of the wireless propagation signal of the image transmission device under test or reducing the amplitude of the wireless propagation signal of the image transmission device under test.
[0036] 103. Attenuate the wireless signal of each frame image in the target video in sequence using an attenuation matrix to obtain a first attenuated wireless signal of each frame image in the target video.
[0037] In this embodiment, the image transmission test device attenuates the wireless propagation signal sent by the image transmission test device to be tested in sequence through the attenuation matrix generated by the attenuator to obtain the attenuated wireless propagation signal, which contains the information of each frame of the target video. The target video is provided by the video source of the image transmission test device. The video source can be provided through a display. The camera at the transmitting end of the image transmission device to be tested is aimed at the display to capture the target video, or the video source is transmitted to the image transmission device to be tested through a connecting line in the form of a video signal.
[0038] It should be noted that two shielding boxes can be set up in advance: a first shielding box and a second shielding box. The image transmission device transmitter is placed in the first shielding box, and the image transmission device receiver is placed in the second shielding box. The shielding boxes provide an interference-free test environment for the image transmission device to be tested. The shielding boxes are square boxes made of aluminum alloy.
[0039] In one embodiment, the image transmission test device sequentially attenuates the wireless signal of each frame image in the target video through an attenuation matrix to obtain a first attenuated wireless signal of each frame image in the target video, including: Determine a signal attenuation power adjustment value according to wireless propagation loss; adjusting the signal attenuation power of the attenuation matrix in sequence according to the signal attenuation power adjustment value; The wireless signal of each frame image in the target video is attenuated in sequence based on the adjusted signal attenuation power to obtain a first attenuated wireless signal of each frame image in the target video.
[0040] In this embodiment, the image transmission test device determines the signal attenuation power adjustment value according to the magnitude of the wireless propagation loss, for example: When the wireless propagation loss range of the simulation test is 0-25dB, the signal attenuation power adjustment value is 0.1dB; When the wireless propagation loss range of the simulated test is 26-50dB, the signal attenuation power adjustment value is 0.2dB; When the wireless propagation loss range of the simulated test is 51-75dB, the signal attenuation power adjustment value is 0.3dB; When the wireless propagation loss range of the simulated test is 76-100dB, the signal attenuation power adjustment value is 0.4dB; Of course, the signal attenuation power adjustment value can also be set in other ways. For example, the image transmission test device can provide a dialog box to receive the signal attenuation power adjustment value input by the user, or the signal attenuation power adjustment value is set by adjusting a knob on the image transmission test device. The specific method is not limited thereto. Afterwards, the image transmission test device controls the attenuation matrix generated by the attenuator according to the signal attenuation power adjustment value. For example, the image transmission test device converts the signal attenuation power adjustment value into a voltage signal, and the attenuator adjusts the power of the generated attenuation matrix through the voltage signal. Of course, the attenuator can also be controlled to generate the attenuation matrix in other ways. For example, the user adjusts the signal attenuation power of the attenuation matrix generated by the attenuator through the signal attenuation power control knob provided by the attenuator. There is no specific limitation. Finally, the attenuator of the image transmission test device generates an attenuation matrix based on the adjusted signal attenuation power. The transmitter of the image transmission device to be tested converts each frame of the video captured by the camera into a wireless signal for each frame of the image, and transmits the wireless signal of each frame of the image to the attenuator. The attenuator attenuates the wireless signal of each frame of the image in turn through the attenuation matrix to obtain the first attenuated wireless signal of each frame of the image. The following is a specific example to illustrate how the attenuator attenuates the wireless signal of each frame of the image in turn through the attenuation matrix. The wireless transmission loss corresponding to the target transmission distance of the image transmission device to be tested is 100dB, then the adjustment value of the signal attenuation power is 0.4dB, and the attenuation matrix attenuates the wireless signal of the first frame of the image received by 0dB, and as the number of image frames increases, the attenuation power of the attenuation matrix will gradually increase according to the adjustment value. For example: the attenuation matrix attenuates the wireless signal of the first frame of the image by 0dB to obtain the first attenuated signal of the first frame; The attenuation matrix attenuates the wireless signal of the second frame image by 0.4 dB to obtain the first attenuated signal of the second frame. The time corresponding to the second frame image is after the time corresponding to the first needle image. The attenuation matrix attenuates the wireless signal of the third frame image by 0.8 dB to obtain the first attenuated signal of the third frame. The time of the third frame image is after the time of the second frame image, and the difference between the time of the third frame image and the second frame image is the same as the difference between the time of the second frame image and the first frame image. And so on, until the attenuation matrix attenuates the wireless signal of the i-th frame image by 100 dB, and obtains the first attenuated signal of the i-th frame, the time of the i-th frame image is after the time of the i-1-th frame image, and the difference between the i-th image and the i-1-th frame image is the same as the difference between the i-1-th frame image and the i-2-th frame image.
[0041] 104. Transmitting the first attenuated wireless signal of each frame of image to the receiving end of the image transmission device to be tested in the shielding box in sequence; In this embodiment, the image transmission test device transmits the first attenuated wireless signal of each frame of image attenuated by the attenuation matrix to the receiving end of the image transmission device to be tested. The transmission of the first attenuated wireless signal of each frame of image to the receiving end of the image transmission device to be tested needs to be transmitted in sequence according to the order of wireless signal attenuation. For example, the first attenuated wireless signal is transmitted to the receiving end of the image transmission device to be tested, and the first attenuated wireless signal is obtained by attenuating the first frame of image through the attenuation matrix. Then, the second attenuated wireless signal is transmitted to the receiving end of the image transmission device to be tested, and the second attenuated wireless signal is obtained by attenuating the second frame of image through the attenuation matrix, until the i-th attenuated wireless signal is transmitted to the receiving end of the image transmission device to be tested, and the i-th attenuated wireless signal is obtained by attenuating the i-th frame of image through the attenuation matrix.
[0042] 105. Control the receiving end of the image transmission device to be tested to convert the received second attenuated wireless signal into a received image corresponding to each frame of the image; In this embodiment, the user clicks on a dialog box on the screen of the receiving end of the image transmission device or presses a button to receive a wireless signal, so that the receiving end of the image transmission device starts to receive the second attenuated wireless signal, which is not specifically limited. The receiving end of the image transmission device demodulates the second attenuated wireless signal to obtain image data, and processes and decodes the demodulated image data to obtain a received image corresponding to each frame of the image. The receiving end of the image transmission device transmits the received image to the image transmission transmission test device via a connecting line, and the image transmission transmission test device displays the received image on the image transmission monitor.
[0043] 106. Determine whether the image transmission device transmitter and the image transmission device receiver under test are qualified according to each frame of image and the received image corresponding to each frame of image.
[0044] In this embodiment, the image transmission test device determines whether the image transmission device transmitter and the image transmission device receiver are qualified by checking whether each frame of the video source matches the image received by the image transmission test device from the image transmission device receiver. The image matching is determined from three aspects: the number of noise points, the image delay time, and the image clarity, as follows: The number of noise points is calculated for each frame of the video source and the corresponding received image. The noise points refer to the unexpected and random pixels that appear in the video. The brightness or color of these pixels is inconsistent with the surrounding pixels, thus affecting the quality and clarity of the received image.
[0045] The image delay time is calculated by calculating the time difference between each frame of the video source and the corresponding received image displayed on the image transmission monitor. This time difference is the delay time of the received image, which is the time difference between the video source being captured by the image transmission device to be tested and the user viewing the received image through the image transmission monitor.
[0046] Picture clarity compares each frame of the video source with the corresponding received image resolution. This resolution is the display resolution or pixel resolution, which specifically refers to the number of pixels that can be displayed on the display.
[0047] In one embodiment, the image transmission test device determines whether the image transmission device transmitter to be tested and the image transmission device receiver to be tested are qualified according to each frame of image and the received image corresponding to each frame of image, including the following steps: determining whether the first frame of image matches the first received image, the first frame of image being the first frame of image in the target video, the first received image being the image obtained by the image transmission device receiver to be tested after converting the received attenuated signal, and corresponding to the first frame of image; Acquire a first definition corresponding to the first frame image and a second definition corresponding to the first received image; If the first definition matches the second definition, it is determined that the first frame image matches the first received image; if the first definition does not match the second definition, it is determined that the first frame image does not match the first received image; and / or, Obtaining a transmission time corresponding to the first frame image and a reception time corresponding to the first received image; Determining whether the time interval between the transmission time and the reception time is greater than a preset time interval; If the time interval between the receiving moments is greater than the preset time interval, it is determined that the first frame image does not match the first received image; if the time interval between the receiving moments is less than or equal to the preset time interval, it is determined that the first frame image matches the first received image; and / or, determining an amount of noise in the first received image; If the number of noise points is greater than the expected number, it is determined that the first frame image does not match the first received image; if the number of noise points is less than or equal to the expected number, it is determined that the first frame image matches the first received image; If the first frame image matches the first received image, then determine whether the second frame image matches the second received image, the second frame image is a frame image in the target video that is located after the first frame image and adjacent to the first frame image, the second received image is an image obtained by the receiving end of the image transmission device to be tested after converting the received attenuation signal, and corresponds to the second frame image; the above image matching steps are performed in sequence according to the timestamp order of the image frames in the target video until the i-th frame image does not match the i-th received image, the i-th frame image is a frame image in the target video that is located after the i-1-th frame image and adjacent to the i-1-th frame image, the i-th received image is an image obtained by the receiving end of the image transmission device to be tested after converting the received attenuation signal, and corresponds to the i-th frame image; Determine the transmission loss corresponding to the i-th frame image; Determine the test transmission distance corresponding to the transmission loss; Determine whether the test transmission distance matches the target transmission distance; If the test transmission distance matches the target transmission distance, the image transmission device under test is determined to be qualified; If the test transmission distance does not match the target transmission distance, it is determined that the image transmission device to be tested is unqualified.
[0048] In this embodiment, the image transmission test device matches the first frame image and the first received image to the i-th frame image and the i-th received image; If the i-th frame image and the i-th received image meet the preset requirements in terms of the number of noise points, image delay time, and image clarity, the transmitting end and the receiving end of the image transmission device to be tested are judged to be qualified.
[0049] If any one of the three aspects of the number of noise points, the image delay time, and the image clarity does not match in matching the i-th frame image and the i-th received image, the image transmission test device will stop matching the i+1-th frame image and the i+1-th received image, and determine the wireless transmission loss under the frame image that fails to match, and calculate the transmission distance according to the wireless transmission loss formula combined with the wireless transmission loss and the operating frequency of the image transmission device to be tested; if the transmission distance is greater than or equal to the target transmission distance, the transmitting end and the receiving end of the image transmission device to be tested are judged to be qualified; if the transmission distance is less than the target transmission distance, the transmitting end and the receiving end of the image transmission device to be tested are judged to be unqualified. The following is a specific example to illustrate how to determine whether the transmitter and receiver of the image transmission device to be tested are qualified. The target transmission distance of the image transmission device to be tested is 2KM, the operating frequency is 433.92MHz, the number of noise points in the received image does not exceed 10, the picture clarity is 720p, and the transmission delay is within 60ms. The image transmission test device starts to match the first frame image and the first received image, calculates the number of noise points in the first received image, and determines the picture clarity and picture delay of the received image. Until any one of the number of noise points, picture clarity, and transmission delay between the i-th frame image and the i-th received image does not match (for example, the number of noise points in the received image is 11 or the picture clarity is 480p or the transmission delay reaches 70ms), the image transmission test device stops matching the i+1-th frame image and the i+1-th received image, and determines the wireless propagation loss of the wireless signal corresponding to the i-th received image. The wireless propagation loss is 96dB. According to the operating frequency of the image transmission device to be tested and the wireless propagation loss, it can be concluded that the corresponding test transmission distance is 3.45KM. The corresponding test transmission distance of 3.45KM is greater than the target transmission distance of 2KM, so the transmitting end of the image transmission device to be tested and the receiving end of the image transmission device to be tested are qualified.
[0050] When the target transmission distance is greater than the maximum transmission distance, and the transmitting end of the image transmission device to be tested and the receiving end of the image transmission device to be tested are still qualified, the target transmission distance is adjusted in sequence according to the prediction adjustment rule, and steps 101 to 106 are executed until the i-th frame image does not match the i-th received image. The test transmission distance when there is no match is the limit transmission distance of the image transmission device to be tested.
[0051] To sum up, it can be seen that in the embodiments provided by the present application, by using an image transmission test device to simulate an image transmission environment with a constantly changing distance, a wireless transmission test is performed on the image transmission device transmitter and the image transmission device receiver. This can eliminate the need to bring the image transmission device to the actual site for testing, thereby saving labor costs and improving the testing efficiency and accuracy of the image transmission device.
[0052] See also Figure 2 , Figure 2 This is a virtual structural diagram of the image transmission test system of the present application, and the image transmission test system 200 includes: A determination module 201, configured to determine the wireless propagation loss according to the target transmission distance of the image transmission device to be tested; A generating module 202, configured to generate an attenuation matrix according to the wireless transmission loss; An attenuation module 203 is used to sequentially attenuate the wireless signal of each frame of the target video through the attenuation matrix to obtain a first attenuated wireless signal of each frame of the target video, wherein the target video is a video sent by the transmitting end of the image transmission device to be tested in the shielding box; A transmission module 204, configured to sequentially transmit the first attenuated wireless signal of each frame of image to a receiving end of the image transmission device to be tested in the shielding box; The control module 205 is used to control the receiving end of the image transmission device to be tested to convert the received second attenuated wireless signal into a received image corresponding to each frame of the image; The judgment module 206 is used to judge whether the image transmission device transmitter and the image transmission device receiver are qualified according to each frame of image and the received image corresponding to each frame of image.
[0053] See also Figure 3 , Figure 3 The hardware structure diagram of the image transmission test system of the present application is shown in FIG. 300 , which includes: A first shielding box 301, a second shielding box 302, a video source 303, an image transmission monitor 304, an attenuator 305, and a control terminal 306. The first shielding box 301 is used to place the image transmission device transmitter, and the second shielding box 302 is used to place the image transmission device receiver. The control terminal 306 sends commands to the video source 303, the attenuator 305, and the image transmission monitor 304 and receives relevant data. The video source 303 outputs the video information to the image transmission device transmitter. The image transmission monitor 304 receives and displays the video information from the image transmission device receiver. The attenuator 305 generates an attenuation matrix 307, and the attenuation matrix 307 attenuates the wireless signal transmitted between the image transmission device transmitter and the image transmission device receiver.
[0054] See also Figure 4 , Figure 4 A schematic diagram of the structure of a computer device provided in an embodiment of the present application, the computer device 400 includes: At least one processor 401, at least one communication bus 402, at least one memory 406, a power supply 407, and a user interface 408. The user interface 408 of the terminal device 400 includes a display, a knob, a keyboard, or a click device. The memory 406 may include a high-speed RAM memory, or may include a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 406 stores one or more computer programs 403 or data 405. When the terminal device 400 is running, the processor 401 communicates with the memory 406, and the processor 401 calls the instructions stored in the memory 406 to execute the above-mentioned Figure 1 The image transmission test method described in any one of the above. The operating system 404 includes various programs for implementing various basic services and processing tasks based on hardware.
[0055] In one embodiment, the present application provides a computer device, which may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for testing image transmission is implemented.
[0056] Those skilled in the art will understand that Figure 4The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0057] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0058] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the above-mentioned computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0059] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A method for testing image transmission. It is characterized in that The following steps are involved: Determine the wireless propagation loss based on the target transmission distance of the image transmission device to be tested; generating an attenuation matrix according to the wireless transmission loss; The wireless signal of each frame image in the target video is attenuated in sequence by the attenuation matrix to obtain a first attenuated wireless signal of each frame image in the target video, wherein the target video is a video sent by the transmitting end of the image transmission device to be tested in the shielding box; Transmitting the first attenuated wireless signal of each frame of image in sequence to the receiving end of the image transmission device to be tested in the shielding box; Controlling the receiving end of the image transmission device to be tested to convert the received second attenuated wireless signal into a received image corresponding to each frame of the image; Whether the image transmission device transmitter to be tested and the image transmission device receiver to be tested are qualified is judged according to each frame of image and the received image corresponding to each frame of image.
2. The method according to claim 1, It is characterized in that The method further comprises: Obtaining performance indicators of the image transmission device to be tested; The target transmission distance is determined according to the performance index of the image transmission device to be tested.
3. The method according to claim 1, It is characterized in that Generating an attenuation matrix according to the wireless transmission loss comprises the following steps: Determining the operating frequency of the image transmission device to be tested according to the performance index of the image transmission device to be tested; Calculating the wireless propagation loss according to the operating frequency and the target transmission distance to be simulated and tested; The attenuation matrix is generated according to the wireless propagation loss.
4. The method according to claim 3, It is characterized in that Determining the wireless propagation loss according to the target transmission distance of the image transmission device to be tested includes: The wireless propagation loss is determined by the following formula: Lfs=32.44+20lg(d)+20lg(f); Wherein, Lfs is the wireless propagation loss, 32.44 is the loss constant of wireless transmission in free space, d is the target transmission distance, and f is the operating frequency.
5. The method according to claim 1, It is characterized in that The attenuating the wireless signal of each frame image in the target video in sequence by using the attenuation matrix to obtain a first attenuated wireless signal of each frame image in the target video includes: Determining a signal attenuation power adjustment value according to the wireless propagation loss; adjusting the signal attenuation power of the attenuation matrix in sequence according to the signal attenuation power adjustment value; The wireless signal of each frame image in the target video is attenuated in sequence based on the adjusted signal attenuation power to obtain a first attenuated wireless signal of each frame image in the target video.
6. The method according to claim 1, It is characterized in that Judging whether the image transmission device transmitter to be tested and the image transmission device receiver to be tested are qualified according to each frame of image and the received image corresponding to each frame of image includes: Determine whether a first frame image matches a first received image, where the first frame image is the first frame image in the target video, and the first received image is an image obtained by converting a received attenuated signal by the receiving end of the image transmission device to be tested, and corresponds to the first frame image; If the first frame image matches the first received image, then determining whether the second frame image matches the second received image, wherein the second frame image is a frame image in the target video that is located after the first frame image and is adjacent to the first frame image, and the second received image is an image obtained by the receiving end of the image transmission device to be tested after converting the received attenuated signal, and corresponds to the second frame image; The above-mentioned image matching steps are performed in sequence according to the timestamp order of the image frames in the target video until the i-th frame image does not match the i-th received image, the i-th frame image is a frame image in the target video that is located after the i-1-th frame image and is adjacent to the i-1-th frame image, and the i-th received image is an image obtained by the receiving end of the image transmission device to be tested after converting the received attenuated signal and corresponds to the i-th frame image; Determining the transmission loss corresponding to the i-th frame image; Determining a test transmission distance corresponding to the transmission loss; Determining whether the test transmission distance matches the target transmission distance; If the test transmission distance matches the target transmission distance, it is determined that the image transmission device to be tested is qualified; If the test transmission distance does not match the target transmission distance, it is determined that the image transmission device to be tested is unqualified.
7. The method according to claim 6, It is characterized in that The determining whether the first frame image matches the first received image comprises: Acquire a first definition corresponding to the first frame image and a second definition corresponding to the first received image; If the first definition matches the second definition, it is determined that the first frame image matches the first received image; if the first definition does not match the second definition, it is determined that the first frame image does not match the first received image; and / or, Acquire the transmission time corresponding to the first frame image and the reception time corresponding to the first received image; Determining whether the time interval between the transmission time and the reception time is greater than a preset time interval; If the time interval between the receiving moments is greater than a preset time interval, it is determined that the first frame image does not match the first received image; if the time interval between the receiving moments is less than or equal to a preset time interval, it is determined that the first frame image matches the first received image; and / or, determining an amount of noise in the first received image; If the number of noise points is greater than the expected number, it is determined that the first frame image does not match the first received image; if the number of noise points is less than or equal to the expected number, it is determined that the first frame image matches the first received image.
8. A video transmission test system, It is characterized in that include: A determination module, used to determine the wireless propagation loss according to the target transmission distance of the image transmission device to be tested; A generating module, used for generating an attenuation matrix according to the wireless transmission loss; An attenuation module, used to sequentially attenuate the wireless signal of each frame of the target video through the attenuation matrix to obtain a first attenuated wireless signal of each frame of the target video, wherein the target video is a video sent by the transmitting end of the image transmission device to be tested in the shielding box; A transmission module, used for sequentially transmitting the first attenuated wireless signal of each frame of image to a receiving end of the image transmission device to be tested in the shielding box; A control module, used for controlling the receiving end of the image transmission device to be tested to convert the received second attenuated wireless signal into a received image corresponding to each frame of the image; The judging module is used to judge whether the transmitting end of the image transmission device to be tested and the receiving end of the image transmission device to be tested are qualified according to each frame of image and the received image corresponding to each frame of image.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the image transmission test method as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the image transmission test method as described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Testing system for simulating remote wireless high-definition video transmission
CN103957403A
Method and system for testing wireless equipment
CN105187135A
Test system and method of dual-mode communication device, and nonvolatile storage medium
CN113395086A
Testing device and multilink performance testing system
CN118175569A
