Network adaptive test method and system for video communication
By managing network test scenarios and client device information on the server side, the consistency and objectivity of adaptive testing of video communication networks is achieved, solving the shortcomings of manual simulation testing in the existing technology, reducing labor costs and improving testing efficiency.
Patent Information
- Application Number
- CN202410703746.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-03
AI Technical Summary
Existing video communication network adaptive testing methods rely on artificial simulation of network conditions, resulting in insufficient test consistency and objectivity, and the risk of misjudgment in manual subjective scoring.
The server creates network test scenarios and tasks, manages client device information, and the client performs network environment simulation and video analysis based on test tasks to ensure test consistency and reduce labor costs, achieving network adaptive testing of video communications.
It improves the objectivity and consistency of video communication network adaptive testing, reduces labor costs, and can simultaneously analyze the network conditions of push streaming and subscription clients, and conduct horizontal testing.
Smart Images

Figure CN118612409A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of video communication evaluation, and in particular to a network adaptive testing method and system for video communication. Background Art
[0002] With the rapid development of the Internet and technological progress, audio and video communications have reached unprecedented applications, especially in application scenarios such as online meetings and live broadcasts. Among them, the transmission effect of the video is the core concern indicator. For example, if screen sharing or some instant interactive needs are used in the meeting, the smoothness and clarity of the video will be particularly critical. In actual application scenarios, the user's network conditions are changeable. It is often encountered that the network conditions of a certain user change and the video push effect is not good, and other users at the meeting will see obvious freezes, blurs, or large changes in the video frame rate during the process. In order to better improve the experience of the process, good products will optimize and adjust the video network adaptively, and even under the condition of network speed limit, they can ensure relatively smooth video playback. This requires R&D and test personnel to conduct a reasonable evaluation of the network adaptive ability of the video. At present, the conventional evaluation scheme is mainly to observe the video subscription effect of the client under the condition of artificial simulation network, and complete the evaluation of network adaptive effect through manual subjective scoring.
[0003] However, the current adaptive testing method needs to rely on various network simulation tools for weak network simulation. The currently known weak network speed limit tools such as network and clumsy require a certain amount of operation time. If all the operation triggers are triggered manually, it is difficult to ensure the consistency of the test process in each round. In addition, the current manual subjective scoring method is more subjective and has a high possibility of misjudgment. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a network adaptive testing method and system for video communication, which can improve the objectivity and test consistency of the adaptive testing during the process of performing the network adaptive testing of video communication.
[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0006] A network adaptive testing method for video communication, comprising the steps of:
[0007] The server creates network test scenarios and their test steps, and receives and manages the client's device information;
[0008] The server creates a test task and sends the test task to the corresponding client, which includes a streaming client and a subscribing client. The test task is used to configure the device information, network test scenario and test frequency of the streaming client, the device information, network test scenario and test frequency of the subscribing client, and the application to be tested;
[0009] The client parses the test task, selects a corresponding application to be tested according to the test task, performs network configuration according to the network test scenario in the test task, parses the communication video according to the test frequency of the test task to obtain a test result of the video communication, and sends the test result to the server;
[0010] The server will time-align and display the test results uploaded by the streaming client and the subscribing client.
[0011] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0012] A network adaptive testing system for video communication comprises a server and a client; the server executes each step in the network adaptive testing method for video communication which is mainly executed by the server, and the client executes each step in the network adaptive testing method for video communication which is mainly executed by the client.
[0013] The beneficial effects of the present invention are as follows: a network test scenario and its test steps are created in the server, and the device information of the client is interfaced and managed. When the server creates a test task, the client to be tested, the network test scenario to be tested, the test frequency, and the application to be tested can be selected. The server sends the test task to the corresponding client, and the client simulates the network environment according to the network test scenario, and analyzes the communication video according to the test frequency, which can ensure the consistency of the execution of the same test task and improve the objectivity of the test while reducing labor costs. In addition, by testing the streaming client and the subscribing client at the same time, not only can the network conditions of the streaming client and the subscribing client be adaptively analyzed, but also the same type of applications can be run on the two clients respectively to perform direct horizontal testing of different applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 A flowchart of a network adaptive testing method for video communication according to an embodiment of the present invention;
[0015] Figure 2 A schematic diagram of a network adaptive testing system for video communication according to an embodiment of the present invention;
[0016] Figure 3This is a flow chart of a data management module in a server according to an embodiment of the present invention;
[0017] Figure 4 This is a flow chart of a device management module in a server according to an embodiment of the present invention;
[0018] Figure 5 This is a flowchart of a task management module in a server according to an embodiment of the present invention;
[0019] Figure 6 This is a flow chart of a data statistics module in a server according to an embodiment of the present invention;
[0020] Figure 7 It is a flow chart of a device scheduling module in a client in an embodiment of the present invention;
[0021] Figure 8 This is a flow chart of a network control module in a client according to an embodiment of the present invention;
[0022] Fig. 9 The figure is a flow chart of a video parsing module in a client according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.
[0024] Please refer to Figure 1 The embodiment of the present invention provides a network adaptive testing method for video communication, comprising the steps of:
[0025] The server creates network test scenarios and their test steps, and receives and manages the client's device information;
[0026] The server creates a test task and sends the test task to the corresponding client, which includes a streaming client and a subscribing client. The test task is used to configure the device information, network test scenario and test frequency of the streaming client, the device information, network test scenario and test frequency of the subscribing client, and the application to be tested;
[0027] The client parses the test task, selects a corresponding application to be tested according to the test task, performs network configuration according to the network test scenario in the test task, parses the communication video according to the test frequency of the test task to obtain a test result of the video communication, and sends the test result to the server;
[0028] The server will time-align and display the test results uploaded by the streaming client and the subscribing client.
[0029] From the above description, it can be seen that the beneficial effects of the present invention are: creating a network test scenario and its test steps in the server, interface and manage the client's device information, and then when the server creates a test task, it can select the client to be tested, the network test scenario to be tested, the test frequency and the application to be tested. The server sends the test task to the corresponding client, and the client simulates the network environment according to the network test scenario, and analyzes the communication video according to the test frequency, which can ensure the consistency of the execution of the same test task and improve the objectivity of the test while reducing labor costs. In addition, by testing the streaming client and the subscribing client at the same time, it is possible not only to adaptively analyze the network conditions of the streaming client and the subscribing client, but also to run the same type of applications on the two clients respectively, so as to perform direct horizontal testing of different applications.
[0030] Furthermore, the server creates a network test scenario and its test steps, including:
[0031] A network test scenario is created on demand in the server, and test steps in the network test scenario are created, each of which includes a test time, configurable indicators and parameters thereof.
[0032] As can be seen from the above description, by dynamically configuring the network test scenarios in advance on the server side, the network conditions in each test period can be configured for different test scenarios, so as to facilitate subsequent adaptive testing of video communications directly based on this.
[0033] Further, performing network configuration according to the network test scenario in the test task includes:
[0034] The client reads the network test scenario and its test steps in the test task, splices the data in each of the test steps into a program command line, simulates the network environment through the program command line, and delays a preset time after executing the program command line.
[0035] From the above description, it can be seen that by splicing each test step in the network test scenario into a corresponding program command line, it is possible to effectively perform targeted network environment simulation for the client according to the test task and ensure the test consistency of the same test.
[0036] Further, the communication video is parsed according to the test frequency of the test task to obtain the test result of the video communication, including:
[0037] The client takes a screenshot of the communication video according to the test frequency of the test task, and sets a corresponding timestamp for the screenshot;
[0038] The client performs timestamp recognition on the screenshots, and if an abnormality is recognized, the abnormality information is sent to the server, otherwise, the screenshot frame rate is calculated according to the timestamp of each screenshot;
[0039] The client parses each of the screenshots to obtain the clarity of each screenshot and the average clarity of the screenshots within a period, and quantifies the test result of the video communication by combining the screenshot frame rate and the average clarity.
[0040] From the above description, it can be seen that by analyzing the frame rate and clarity of the video screenshots, the video effect can be quantified and the objectivity of the video test result analysis can be improved.
[0041] Further, sending the test result to the server includes:
[0042] The server includes an exception feedback interface and a test result upload interface;
[0043] The client sends the exception information to the exception feedback interface of the server and sends the test results to the test result upload interface of the server.
[0044] From the above description, it can be seen that through process exception feedback, even if related exceptions occur during the test process, related error exceptions can be checked in the first time through early warning.
[0045] Please refer to Figure 2 Another embodiment of the present invention provides a network adaptive testing system for video communication, including a server and a client; the server executes each step of the network adaptive testing method for video communication mentioned above that is mainly executed by the server, and the client executes each step of the network adaptive testing method for video communication mentioned above that is mainly executed by the client.
[0046] The network adaptive testing method and system for video communication of the present invention are applicable to the process of network adaptive testing for video communication, and improve the objectivity and consistency of adaptive testing. The following is an explanation through specific implementation methods:
[0047] Embodiment 1
[0048] Please refer to Figure 1 , a network adaptive testing method for video communication, comprising the steps of:
[0049] S1. The server creates a network test scenario and its test steps, and receives and manages the client's device information.
[0050] In this embodiment, please refer to Figure 3The server includes a data management module, which is used to create, store and manage data of network test scenarios. It can create network test scenarios on demand and create test steps in the network test scenarios. Each test step includes test time, configurable indicators and their parameters.
[0051] Specifically, this module supports the creation of network test scenarios, such as bandwidth speed limit test scenarios; the scenario page supports the creation of different steps, and each step provides switches for different network indicators, which may include: Bandwidth, Lag, Drop, Throttle, Duplicate, Out of order, and Tamper. Each indicator switch is an independent configuration item and can be turned on individually or multiple times. When a switch is checked, such as Lag, you will need to enter a specific delay time, such as 200ms. Similarly, if Bandwidth is checked, you will need to enter a specific bandwidth size, such as 500Kbps.
[0052] After completing the indicator parameter settings, the user needs to set the duration of the step, such as 60 seconds, and then click Save to save the step configuration, and then continue to create the next step. After completing the configuration of all steps, you can choose to click Save to save the scene and give the scene a custom name. At the same time, the scene data can be modified and edited.
[0053] Please refer to Figure 4 In this embodiment, the server also includes a device management module, which is responsible for managing the device terminal program. When the device terminal program is started, a login request is sent to the module using the Mac address, IP, etc. If the module determines that the Mac address corresponds to a new device, a new device number is registered for it and the corresponding login number and address are returned; otherwise, if the module determines that the Mac address corresponds to an existing device, the corresponding login number and address are directly returned;
[0054] After that, when the device management module on the server obtains the login address of the client device, it will initiate a connection with the serial number. The connection here is a long Socket connection to ensure two-way instant communication between the client and the server. When the Socket connection between the client and the server is online, it will be marked as online, and when it is disconnected, it will be marked as offline.
[0055] S2. The server creates a test task and sends the test task to the corresponding client, which includes a streaming client and a subscribing client. The test task is used to configure the device information, network test scenario and test frequency of the streaming client, the device information, network test scenario and test frequency of the subscribing client, and the application to be tested.
[0056] Please refer to Figure 5 The server of this embodiment includes a task management module, which is used to create, configure and issue tasks:
[0057] First, create a task and configure the settings of the streaming client. That is, select the device of the current streaming client on the server, then select the scene to be tested (it can be empty by default, that is, there is no network restriction), and then configure the frequency of video analysis (the default is 10 frames / second);
[0058] Continue to configure the settings of the subscription client, that is, select the device currently subscribing to the client on the server, then select the scene to be tested (it can be empty by default, that is, there is no network restriction), and then configure the frequency of video analysis (the default is 10 frames / second);
[0059] After that, you can click to select the test application name. If it is a newly added test application, you can also click to create a new test application name. After completing the configuration, click Send Task.
[0060] S3. The client parses the test task, selects the corresponding application to be tested according to the test task, configures the network according to the network test scenario in the test task, parses the communication video according to the test frequency of the test task to obtain the test result of the video communication, and sends the test result to the server.
[0061] For details, please refer to Figure 7 The client includes a device scheduling module, which is mainly responsible for receiving task instructions issued by the server, parsing them into executable instructions, and calling the network control module and video parsing module in the client to record the process. The details are as follows:
[0062] First, when the device scheduling module is deployed, a registration will be initiated to the server, mainly to report its own device information, mainly including IP+Mac information;
[0063] After that, the device scheduling module will establish a socket long link to the server to maintain communication with the server, so that even if the client is deployed in a different LAN from the server, the server can still get some real-time data updates from the client. When the server and the client establish a link, a state of the current device on the server will be activated;
[0064] When receiving a command request from a task on the server, the device scheduling module will parse the parameters sent by the server, give the test data of the network test scenario to the network control module, and give the screenshot frequency to the video analysis module; after the scenario of the network control module is completed, it will integrate the test results of the video analysis and feed them back to the server.
[0065] In this embodiment, please refer to Figure 8 The network control module of the client is used to parse the information of the network test scenario in the task and simulate the network scenario accordingly, as follows:
[0066] First, the network control module receives the network scenario data provided by the device scheduling module and reads the first data in the data list;
[0067] After that, the indicators with non-empty values and their corresponding values are spliced into a Clumsy program command line that can be executed by cmd. The Clumsy tool is started by executing the cmd command through the subprocess module, thereby simulating the corresponding network environment (Clumsy is an open source network environment simulation tool);
[0068] Then, each time a scene is set, it will sleep and wait for the delay time configured in this step. When the waiting time is up, it will close the clumsy program, read the data value of the next step, and continue to splice the program command line;
[0069] When each step data in the scenario is executed, the device scheduling module is notified to complete the current network simulation control and close the clumsy program.
[0070] In this embodiment, please refer to Fig. 9 The video parsing module of the client is used to take screenshots of the video according to the screenshot frequency set by the server, and then parse the effect indicators of the corresponding screen, as follows:
[0071] First, the video parsing module receives the frequency N set by the device scheduling module and takes the corresponding screenshot, that is, a screenshot is taken every 1 / N seconds, and is stored locally with the current screenshot number - 1 as the name (by default, the screenshot will be Figure 1 The first picture with the number 0 is used to confirm the initial time). For example, if N is 10, it means 0.1 seconds. Figure 1 Each frame in the screenshot video will be timestamped, and the frame rate and clarity will be calculated through another thread, the current timestamp will be identified by OCR, and recorded in the timestamp record queue. At the same time, if the timestamp recognition fails, that is, a program exception may occur, the data statistics module on the server side will be called to report the exception to the server for corresponding warning notification;
[0072] The frame rate is calculated based on N screenshots per second. The timestamp of each screenshot is compared with the timestamp of the previous screenshot. If the timestamp is updated, the frame rate is recorded as +1; if the timestamp is the same as before, it is recorded as +0. If the timestamp is updated in N comparisons, it is considered that N is the corresponding frame rate.
[0073] At the same time, each screenshot will be analyzed by cv2 clarity, and the results of each clarity analysis will be recorded, and the average clarity per second will be calculated, that is, the average clarity of N pictures.
[0074] In summary, if a 10-second time is set and the frequency is 10 times / second, a screenshot will be generated at an interval of 0.1 seconds. Based on the initial screenshot No. 0, 100 screenshots will be generated continuously, named 1, 2, 3...100. And every 10 screenshots are used as a calculation cycle, and the frame rate and clarity per second in these 10 seconds are finally calculated; when the network control module completes the simulation time of the scene, the device scheduling module will terminate the video analysis, and then integrate the video analysis data and feed it back to the data statistics module on the server.
[0075] S4. The server aligns and displays the test results uploaded by the streaming client and the subscribing client in time.
[0076] Please refer to Figure 6 The data statistics module on the server side is responsible for receiving and displaying data reported during the client test process, and supports push management configuration when there are related exceptions. Specifically:
[0077] First, the data statistics module provides a set of interfaces for client reporting, including an exception feedback interface and a test report upload interface;
[0078] Among them, the abnormal feedback interface will cooperate with the push configuration function of the data statistics module. When relevant abnormalities occur, early warning notifications will be directly issued according to the push configuration channels. For example: the client program crashes during the video communication test, the corresponding program interface cannot be found, or the pop-up window blocks the video window and the video cannot be parsed. At this time, the notification server will be triggered and notified according to the configured notification channels (such as office software, email, etc.);
[0079] The test report upload interface is used to receive the test results reported by the client. Whenever the client completes the corresponding client test, it will upload it to the server.
[0080] Afterwards, when the test report is uploaded to the customer order, the data statistics module will aggregate the task ID and display the test results uploaded by all clients, including the video effects of the streaming client and the subscribing client. Preferably, in this embodiment, time is used as the X-axis and the Y-axis is used to display the indicator change trend of the process. The indicators include video indicators: clarity, frame rate, network indicators: bandwidth (Bandwidth), delay (Lag), packet loss (Drop), throttling (Throttle), retransmission (Duplicate), disorder (Out oforder), tampering (Tamper). Considering that the bandwidth indicator is often a single change, the indicators that have not changed throughout the process are hidden and not displayed by default. For example, in a test scenario where the bandwidth of the streaming client changes, you can clearly see the changes in clarity and frame rate of the user-subscribed video under different bandwidth limits on the server side.
[0081] In some embodiments, you can also check the test results of 2 identical network scenarios on the data statistics module for comparison, and you can directly and intuitively display the detection results of the two versions. That is, under the same X-axis and network changes, the changes in the video indicators of the two versions are superimposed and displayed, so you can clearly see the difference in the indicator changes of the two versions. For example, if the previous version of the video is prone to freezing, then the frame rate of the corresponding old version on the trend chart will be significantly lower, or the fluctuations will be large, so you can visually observe the results. Similarly, it can also support the comparison of the test results of two different applications under the same network scenario, that is, it can be used to evaluate the difference in effects with competing products.
[0082] Embodiment 2
[0083] This embodiment provides a specific application scenario of network adaptive testing for video communication:
[0084] Scenario 1:
[0085] Tester Xiao A is responsible for testing an online conference. The main application scenario of this product is to realize cloud office, so that people in different areas can have quick online discussions through online meetings. Among them, shared screen video is one of the most core use scenarios. At first, in order to have a better video experience, the project party required the resolution of the shared screen to be at least 1080 and the frame rate to be 25 frames. After the actual online, it was found that the actual network conditions of most users were not very ideal, especially many users may still access the network WiFi, and the network fluctuations were large. In this case, the shared screen effect of the meeting was extremely poor, and it would freeze from time to time, resulting in the promotion of the product. It was criticized by users from time to time. Everyone thought it would be better to use other competitive applications in the industry to hold meetings directly. Therefore, the product requires developers to make adaptive adjustments for different networks, and adjust the bit rate and frame rate by bandwidth estimation to smooth the process experience. After Xiao A communicated with the developers, the developers would adjust the corresponding sending frame rate when the network was poor to reduce the freeze caused by network congestion. Xiao A needs to consider indicators such as bandwidth, packet loss, and delay, and each indicator needs to verify the parameters of different gears. That is, Xiao A needs to list the network scenarios that need to be tested in advance, and then simulate different network conditions by setting up network simulation restriction tools to verify the client streaming / subscription conditions in the corresponding network scenarios. During this process, you need to pay attention to observation and recording, which is time-consuming and difficult to keep track of every detail. In addition, the developer also told Xiao A that considering the trade-off under weak network conditions, some parameters still need to be tested in actual tests and further adjusted, which made Xiao A feel that he had invested too much time.
[0086] Through the scheme of this embodiment, Xiao A only needs to configure the parameter data of the network environment in advance, and then start the video communication application to be tested and the client program on the corresponding test device. Then on the server side, you can click to send the configured network test data set to the corresponding streaming client computer. Then configure the frequency of video analysis according to the maximum frame rate of your own program. Then select the name of the application to be tested from the server and send the task. At this time, the network control module on the streaming device will start to simulate the process control of the corresponding network and perform video analysis of the process. At the same time, the subscribing client will also perform video analysis of the process. When the test is completed, the server can clearly see that at each time point, the video clarity and frame rate of the streaming client and the video clarity and frame rate of the subscribing client are a trend relationship diagram with the changes in the streaming client network indicators. At this time, Xiao A can intuitively see from the server that when the bandwidth limit is less than 1M, the frame rate changes and fluctuates very obviously, 3, 10, or even stuck directly, and it can be delivered to the R&D students for further optimization. After the development is optimized, Xiao A only needs to send the same test scenario again on the same device to achieve the same test process. Moreover, Xiao A does not need to manually perform network settings and can easily obtain an objective test result.
[0087] Scenario 2:
[0088] Based on the background of scenario 1, after the tester Xiao A's product had problems, the video sharing effect of the product was not as good as that of a third-party competing application. Therefore, the product side asked Xiao A to verify the implementation effect of the competing product. Without this system solution, Xiao A would need to invest more manual testing and verification costs.
[0089] Through the solution of this embodiment, as long as Xiao A uses the network application scenario when testing his own product, opens the competing product APP, and joins two clients. Perform a push stream and a subscription in the same way. Then create an application with the name corresponding to the competing product on the server. And select the corresponding network test scenario and send the test. You can get a video performance data of a third-party application under the same network conditions. Preferably, different product applications under the same network test scenario can be checked for comparison, so that you can see the difference in video effects between your own and third-party video communication applications in one view.
[0090] Scenario 3:
[0091] Based on scenario 1, after the product of tester Xiao A was released, many colleagues reported that in a certain meeting, the shared screen effect everyone saw was very stuck. The final cause was found to be that the computer performance of the colleague who shared the screen was relatively poor, and the video source of his streaming collection was stuck. Then Xiao A was required to reproduce the scene accordingly. At the same time, the developer also mentioned that he would dynamically adjust the bit rate and frame rate of the video when the network changes, and it is necessary to pay attention to the changes in the video effect on the subscription and publishing ends at the same time.
[0092] Through the solution of this embodiment, Xiao A only needs to send the relevant network scenarios to the streaming client. When the test is completed, he can see in the server statistics management whether the curves of the frame rate and clarity changes of the streaming client and the subscribing client are consistent when the streaming client network changes. If they are relatively consistent, it means that the subscribing client is not affected. And it can also be observed whether the curve is flat and whether there are obvious abnormal fluctuations. If it is flat, it means that the adaptive effect is good.
[0093] Embodiment 3
[0094] Please refer to Figure 2 A network adaptive testing system for video communication includes a server and a client. The server executes each step of the network adaptive testing method for video communication that is mainly performed by the server, and the client executes each step of the network adaptive testing method for video communication that is mainly performed by the client.
[0095] In summary, the network adaptive testing method and system for video communication provided by the present invention mainly include two large modules: a server and a client. The server is used as the core of the entire system hub, for creating / editing / storing network scenario data, and can issue test tasks on the server and receive test results reported by the client. The client is the task implementer of the entire system, for parsing the tasks issued by the server, passing the commands in the tasks to the network control module and the video parsing module respectively, and after the network scenario simulation is completed, uniformly summarizing the test results of the video analysis, and feeding it back to the data statistics module of the server, and the data statistics module displays the results of the view for the collected data of the streaming client and the subscribing client, so that a video effect trend comparison of the streaming client and the subscribing client can be intuitively seen on a timeline.
[0096] In this way, the tester can ensure the consistency of each round of network simulation process through the testing method of the present invention; the tester can complete the evaluation of the network adaptation effect of video communication by selecting the network simulation test data set through the server, so as to reduce the labor cost of the testing process; the tester can also intuitively observe the difference in video effect between the streaming client and the subscribing client through the testing method of the present invention, and can quantify the change in video effect of the streaming client or the subscribing client during network changes, and can also quickly evaluate the network adaptation effect of video communication competitors and find the difference between the product and the competitors; it can also intuitively see the optimization improvement of each version compared with the previous version.
[0097] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A network adaptive testing method for video communication, characterized in that: Includes steps: The server creates network test scenarios and their test steps, and receives and manages the client's device information; The server creates a test task and sends the test task to the corresponding client, which includes a streaming client and a subscribing client. The test task is used to configure the device information, network test scenario and test frequency of the streaming client, the device information, network test scenario and test frequency of the subscribing client, and the application to be tested; The client parses the test task, selects a corresponding application to be tested according to the test task, performs network configuration according to the network test scenario in the test task, parses the communication video according to the test frequency of the test task to obtain a test result of the video communication, and sends the test result to the server; The server will time-align and display the test results uploaded by the streaming client and the subscribing client.
2. A network adaptive testing method for video communication according to claim 1, characterized in that: The server creates a network test scenario and its test steps, including: The server creates a network test scenario as needed, and creates test steps in the network test scenario, each of which includes a test time, configurable indicators and parameters thereof.
3. A network adaptive testing method for video communication according to claim 1, characterized in that: Perform network configuration according to the network test scenario in the test task, including: The client reads the network test scenario and its test steps in the test task, splices the data in each test step into a program command line, simulates the network environment through the program command line, and delays a preset time after executing the program command line.
4. A network adaptive testing method for video communication according to claim 1, characterized in that: The communication video is parsed according to the test frequency of the test task to obtain the test result of the video communication, including: The client takes a screenshot of the communication video according to the test frequency of the test task, and sets a corresponding timestamp for the screenshot; The client performs timestamp recognition on the screenshots, and if an abnormality is recognized, the abnormality information is sent to the server, otherwise, the screenshot frame rate is calculated according to the timestamp of each screenshot; The client parses each of the screenshots to obtain the clarity of each screenshot and the average clarity of the screenshots within a period, and quantifies the test result of the video communication by combining the screenshot frame rate and the average clarity.
5. A network adaptive testing method for video communication according to claim 4, characterized in that: Sending the test results to the server includes: The server includes an exception feedback interface and a test result upload interface; The client sends the exception information to the exception feedback interface of the server and sends the test results to the test result upload interface of the server.
6. A network adaptive testing system for video communication, including a server and a client; The server is used to create network test scenarios and their test steps, and receive and manage the client's device information; The server is also used to create a test task and send the test task to the corresponding client, which includes a streaming client and a subscribing client. The test task is used to configure the device information, network test scenario and test frequency of the streaming client, the device information, network test scenario and test frequency of the subscribing client, and the application to be tested; The client is used to parse the test task, select the corresponding application to be tested according to the test task, perform network configuration according to the network test scenario in the test task, parse the communication video according to the test frequency of the test task to obtain the test result of the video communication, and send the test result to the server; The server is also used to time-align and display the test results uploaded by the streaming client and the subscribing client.
7. A network adaptive testing system for video communication according to claim 6, characterized in that: The server is used to create network test scenarios and their test steps, including: The server creates a network test scenario as needed, and creates test steps in the network test scenario, each of which includes a test time, configurable indicators and parameters thereof.
8. A network adaptive testing system for video communication according to claim 6, characterized in that: Perform network configuration according to the network test scenario in the test task, including: The client reads the network test scenario and its test steps in the test task, splices the data in each test step into a program command line, simulates the network environment through the program command line, and delays a preset time after executing the program command line.
9. A network adaptive testing system for video communication according to claim 6, characterized in that: The communication video is parsed according to the test frequency of the test task to obtain the test result of the video communication, including: The client takes a screenshot of the communication video according to the test frequency of the test task, and sets a corresponding timestamp for the screenshot; The client performs timestamp recognition on the screenshots, and if an abnormality is recognized, the abnormality information is sent to the server, otherwise, the screenshot frame rate is calculated according to the timestamp of each screenshot; The client parses each of the screenshots to obtain the clarity of each screenshot and the average clarity of the screenshots within a period, and quantifies the test result of the video communication by combining the screenshot frame rate and the average clarity.
10. A network adaptive testing system for video communication according to claim 9, characterized in that: Sending the test results to the server includes: The server includes an exception feedback interface and a test result upload interface; The client sends the exception information to the exception feedback interface of the server and sends the test results to the test result upload interface of the server.
Citation Information
Patent Citations
Video quality automatic test method based on Android
CN115002090A
Live broadcast picture evaluation method and device, computer equipment and storage medium
CN117979035A
System and method for implementing a client performance capture tool
US10498616B1
Integrated testing approach for publish / subscribe network systems
US20060259542A1
Active assurance of network slices
WO2022104395A1
