Audio and video communication service quality strategy determination method and device

By obtaining and uploading network status data and call parameters before the call, and using deep learning neural networks to determine and issue the optimal QoS policy, the problem in the existing technology that QoS policies affect call quality and increase client processing pressure is solved, and the More efficient audio and video call quality assurance.

CN118802877APending Publication Date: 2024-10-18CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310913920.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-24
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing audio and video communication QoS policies obtain and apply core anchor data during calls, affecting call quality and increasing client processing pressure.

Method used

When there is no audio and video communication, the network status data is obtained in advance and uploaded to the server. The current call parameters are uploaded before the call is established. The deep learning neural network is used to determine the optimal QoS policy and is sent to the client for execution in real time.

Benefits of technology

It reduces the burden on the client during the call, improves the quality of audio and video calls, and improves the efficiency of QoS policy decision-making and delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118802877A_ABST
    Figure CN118802877A_ABST
Patent Text Reader

Abstract

The invention provides an audio and video communication service quality strategy determination method and device, and the method is applied to a client, and comprises the steps: obtaining network state data when audio and video communication is not carried out, and uploading the network state data to a server; when audio and video communication is carried out, current call parameters are uploaded to the server before a call is established; and receiving an optimal Qos strategy issued by the server based on the current call parameter, and executing the optimal Qos strategy. According to the method and the device, the network state data is acquired in advance and uploaded to the server when audio and video communication is not carried out, and the current call parameter is uploaded to the server before the session is established, so that all network states can be acquired before the call, the burden of a client during the call is not increased, and the call quality is improved; the current call parameter is sent to the server, so that the server issues the optimal Qos strategy in real time, and the audio and video communication Qos strategy decision-making and issuing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for determining a quality of service strategy for audio and video communication. Background Art

[0002] The Quality of Service (QoS) strategy for audio and video communication can indicate the performance guarantee obtained when information is transmitted in the data communication system, that is, to provide the required services for guaranteeing audio and video services on the Internet Protocol (IP) network where factors affecting audio and video quality exist. Under the condition that the network conditions remain unchanged, by performing rate and error control on network elements such as audio and video terminals and microcontroller units (MCUs), QoS can be guaranteed to a certain extent, improving the audio and video call quality.

[0003] In the existing QoS strategy, the core anchor point of the communication QoS strategy is the real-time network status of both parties, such as bandwidth, jitter, delay and packet loss rate. Only when the network status information is available can the client execute the relevant QoS strategy in a targeted manner to combat the abnormal network during the call to achieve the purpose of improving transmission quality. However, the core anchor point data is obtained and applied during the call between the two parties, which will affect the call quality and increase the client processing pressure. Summary of the invention

[0004] In view of the problems existing in the prior art, the present invention provides a method for determining a quality of service strategy for audio and video communication, which is applied to a client and comprises:

[0005] When no audio or video communication is performed, obtaining network status data, and uploading the network status data to a server;

[0006] When conducting audio and video communication, uploading current call parameters to the server before establishing the call;

[0007] Receive the optimal QoS policy sent by the server based on the current call parameters, and execute the optimal QoS policy.

[0008] According to a method for determining a quality of service strategy for audio and video communication provided by the present invention, the obtaining of network status data and uploading of the network status data to a server include:

[0009] Detect the current network connection status;

[0010] Based on the network connection status, determining a transmission network;

[0011] A network sniffing packet is sent to the server via the transmission network, network status data is recorded, and the network status data is uploaded to the server.

[0012] According to a method for determining a quality of service strategy for audio and video communication provided by the present invention, the method of determining a transmission network based on the network connection state includes:

[0013] If the current network connection status is Wi-Fi network connection status, use Wi-Fi network as the transmission network;

[0014] If the current network connection state is the operator network connection state, when it is detected that an application is in use, the network of the application is used as the transmission network;

[0015] If the current network connection state is detected as the operator network connection state for multiple consecutive times, the operator network is used as the transmission network.

[0016] The present invention also provides a method for determining a quality of service strategy for audio and video communication, which is applied to a server and comprises:

[0017] When the client is not performing audio or video communication, receiving network status data uploaded by each client, and dividing the network status data into grids;

[0018] For the network status data under each grid, the pre-built deep learning neural network is trained using the network status data under the grid to determine the optimal QoS strategy corresponding to the grid;

[0019] When the client uses the audio and video communication function, before establishing a call, receiving current call parameters uploaded by the client;

[0020] The grid where the client is located is determined based on the current call parameters, and the optimal QoS strategy corresponding to the grid where the client is located is sent to the client.

[0021] According to a method for determining a quality of service strategy for audio and video communication provided by the present invention, the network status data includes at least one of location information, operator name, network connection mode, and network sniffing result at the time of uploading; the gridding of the network status data includes:

[0022] The location information uploaded by each client is divided into regions according to grids, and the network status data under the same grid is classified according to the network connection mode and the operator name, so as to obtain multiple groups of classified network status data under the same grid.

[0023] According to a method for determining a quality of service strategy for audio and video communication provided by the present invention, the method uses the network status data under the grid to train a pre-built deep learning neural network to determine the optimal QoS strategy corresponding to the grid, including:

[0024] The deep learning neural network is trained by taking multiple groups of network status data classified under the same grid as the input value of the pre-built deep learning neural network, taking each Qos strategy and audio and video communication parameter as the hidden layer of the deep learning neural network, and taking the audio and video call quality Mos score as the output value of the deep learning neural network;

[0025] Obtain multiple Mos scores output by the trained deep learning neural network, and use the optimal Qos strategy corresponding to the highest Mos score as the optimal Qos strategy corresponding to the grid.

[0026] The present invention also provides an audio and video communication service quality strategy determination device, which is applied to a client and includes:

[0027] An acquisition module, used to acquire network status data when no audio or video communication is performed, and upload the network status data to a server;

[0028] An uploading module, used to upload current call parameters to the server before establishing a call during audio and video communication;

[0029] An execution module is used to receive the optimal QoS strategy sent by the server based on the current call parameters and execute the optimal QoS strategy.

[0030] The present invention also provides an audio and video communication service quality strategy determination device, which is applied to a server and includes:

[0031] A division module, used for receiving network status data uploaded by each client when the client is not performing audio and video communication, and performing grid division on the network status data;

[0032] A training module is used to train a pre-built deep learning neural network using the network status data of each grid to determine the optimal QoS strategy corresponding to the grid;

[0033] A parameter receiving module, used for receiving current call parameters uploaded by the client before establishing a call when the client uses the audio and video communication function;

[0034] The sending module is used to determine the grid where the client is located based on the current call parameters, and send the optimal QoS strategy corresponding to the grid where the client is located to the client.

[0035] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the method for determining the quality of service strategy for audio and video communication as described in any one of the above items are implemented.

[0036] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method for determining the quality of service strategy for audio and video communication as described in any one of the above are implemented.

[0037] The embodiment of the present invention obtains network status data in advance and uploads it to the server when audio and video communication is not in progress, and uploads the current call parameters to the server before establishing a session. Therefore, all network status can be obtained before the call, thereby not increasing the burden on the client during the call and improving the call quality; by sending the current call parameters to the server, the server can issue the optimal QoS strategy in real time based on the current call parameters, thereby improving the efficiency of QoS strategy decision-making and issuance of audio and video communications. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0039] Figure 1 This is one of the flow charts of the method for determining the quality of service strategy of audio and video communication provided by an embodiment of the present invention;

[0040] Figure 2 It is a schematic diagram of a flow chart of network status data collection provided by an embodiment of the present invention;

[0041] Figure 3 This is a second flow chart of a method for determining a quality of service strategy for audio and video communications provided by an embodiment of the present invention;

[0042] Figure 4 is an architecture diagram of a deep learning neural network provided by an embodiment of the present invention;

[0043] Figure 5 It is one of the structural schematic diagrams of the device for determining the quality of service strategy of audio and video communication provided by an embodiment of the present invention;

[0044] Figure 6 This is a second structural diagram of the device for determining the quality of service strategy for audio and video communication provided by an embodiment of the present invention;

[0045] Figure 7 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0047] In the existing QoS strategy, on the client side, at the beginning of the call establishment, both ends of the call will start the bandwidth estimation function, and will send network sniffing data packets to estimate the network bandwidth to determine the key parameters such as the initial bit rate of the transmitted media data. The bandwidth estimation provides a bandwidth reference during the entire call process; during the call, both ends of the call will first retransmit through NACK (Negative Acknowledgement, a negative feedback) to ensure the data integrity of both parties of the transmission. Secondly, both ends of the call will determine whether there is packet loss and the amount of packet loss through the Seq value of the received Real-time Transport Protocol (RTP) packet and return it to the sender through the RTP Control Protocol (RTCP) packet. The sender learns about the network packet loss situation based on the SR (Segment Routing, a source routing protocol) field in the RTCP packet and instructs the client whether to adjust the bit rate. At the same time, the forward error correction (FEC) mode and the number of redundant packets adopted by the client are selected according to the calculated packet loss rate.

[0048] On the server side, the server mainly uses segmented transmission control to improve the QoS of audio and video calls. The server will segment the communication link at both ends of the call in a p2p manner, thereby reducing the round-trip time (RTT) at both ends of the call and improving the efficiency of the QoS strategy. At the same time, it can also disperse the impact of a certain network abnormality on the entire communication link.

[0049] However, in the existing QoS strategy, the core anchor data of the communication QoS strategy is obtained and applied during the call between the two parties, which will affect the call quality and increase the client processing capacity.

[0050] Figure 1 This is one of the flow charts of the method for determining the quality of service strategy of audio and video communication provided by an embodiment of the present invention. Figure 1 The embodiment of the present invention provides a method for determining a quality of service strategy for audio and video communication, which is applied to a client. The method may specifically include the following steps:

[0051] Step 101, when no audio or video communication is performed, network status data is obtained and the network status data is uploaded to a server.

[0052] When the client is not performing audio or video communication (the user is not using the audio or video call function), that is, before the two parties of the call have a call, the client can first obtain the client's own network status data and upload the network status data to the server.

[0053] The server can receive the network status data uploaded by each client, divide the network status data into grids, and use the network status data under each grid to train the pre-built deep learning neural network to determine the optimal QoS strategy corresponding to each grid.

[0054] Step 102, when conducting audio and video communication, uploading current call parameters to the server before establishing the call.

[0055] When the client performs audio and video communication (user uses the audio and video call function), the current call parameters can be uploaded to the server before establishing the call. The uploaded call parameters may include at least one of location information, call time, network connection method, and operator name.

[0056] At the same time, the client can detect whether the user's location has changed. If it is out of the grid positioning, it can send the latest call parameters to the server again.

[0057] Step 103: receiving the optimal QoS policy sent by the server based on the current call parameters, and executing the optimal QoS policy.

[0058] After receiving the current call parameters uploaded by the client, the server can determine the corresponding optimal Qos strategy based on the current call parameters and immediately send the optimal Qos strategy to the client. The client can receive the optimal Qos strategy sent by the server in real time, and perform network optimization according to the returned optimal Qos strategy, thereby improving the quality of audio and video calls.

[0059] In one scenario, before establishing a call, if the client location does not exceed the current grid positioning, the client can receive the optimal QoS policy sent by the server based on the current grid positioning, and execute the optimal QoS policy; in another scenario, before establishing a call, if the client location exceeds the current grid positioning, the client can receive the optimal QoS policy sent by the server based on the latest grid positioning, and execute the optimal QoS policy.

[0060] In an embodiment of the present invention, by pre-acquiring network status data and uploading it to a server when no audio or video communication is performed, and uploading current call parameters to the server before establishing a session, all network status can be acquired before the call, thereby not increasing the burden on the client during the call and improving the call quality; by sending the current call parameters to the server, the server can issue the optimal QoS strategy in real time based on the current call parameters, thereby improving the efficiency of QoS strategy decision-making and issuance for audio and video communications.

[0061] In an optional embodiment, the obtaining of network status data and uploading of the network status data to a server includes: detecting a current network connection status; determining a transmission network based on the network connection status; sending a network sniffing packet to the server via the transmission network, recording the network status data, and uploading the network status data to the server.

[0062] Specifically, the client can first determine whether the client itself is using the audio and video call function. If the audio and video call function is not used, the client can prepare to collect network status data. First, the current network connection status of the client is detected, and the corresponding transmission network is determined based on the network connection status. Network sniffing packets can be regularly sent between the client and the server through the transmission network, and the sniffing results, that is, the network status data, are uploaded to the server's database.

[0063] If it is determined that the client is using the audio and video call function, the network status data will not be collected.

[0064] In an optional embodiment, determining the transmission network based on the network connection status includes: if the current network connection status is a Wi-Fi network connection status, using the Wi-Fi network as the transmission network; if the current network connection status is a carrier network connection status, when it is detected that an application is in use, using the network of the application as the transmission network; if the current network connection status is detected as a carrier network connection status for multiple consecutive times, using the carrier network as the transmission network.

[0065] Specifically, before collecting network status data, the client can determine the type of the client's current network connection status. If the client is currently in a Wi-Fi network connection state, the Wi-Fi network can be used to start sending sniffing packets to the server, and record the network status data, and finally upload it to the server. Among them, the uploaded network status data can be encapsulated in a fixed format, and the network status data can include location information at the time of upload, sniffing time point, Wi-Fi network operator, network connection method (Wi-Fi), and network sniffing results (uplink and downlink bandwidth, packet loss rate, jitter, and latency).

[0066] If the client is currently in the operator network connection state, the collection of network status data can be suspended to detect whether there are any applications in use in the client and network interactions that are sufficient to simulate network sniffing. If there are applications in use in the client and network interactions that are sufficient to simulate network sniffing, the network status data can be recorded and uploaded to the server. The uploaded network status data may include location information at the time of upload, sniffing time, operator name, network connection mode (4G / 5G), and network sniffing results (uplink and downlink bandwidth, packet loss rate, jitter, and latency).

[0067] If the network connection status is the operator network and there is no application in use that can provide network status data reference, you can wait until the next collection cycle to make a judgment. If the network connection status is detected as the operator network and cannot be effectively collected during multiple consecutive collection cycles, you can use the operator network to send a sniffing packet to the server and record the network status data, and upload the network status data to the server.

[0068] After each network status data collection is completed, all status flags can be cleared, and the client can continue to determine whether it is using the audio and video call function. If the audio and video call function is not used, the client can prepare to collect network status data again.

[0069] Figure 2 1 is a flow chart of network status data collection provided by an embodiment of the present invention. Figure 2 ,After the process of collecting network status data starts, it can be first determined whether the client is using the audio and video call function. If the client is using the audio and video call function, the collection of network status data can be stopped.

[0070] If the client does not use the audio and video call function, it can further determine whether the current network connection status is the operator network. If the current network connection status is not the operator network, the client can send a sniffing packet to the server and upload the sniffing result to the server.

[0071] If the current network connection status is the operator network, you can pause the collection and determine whether you can use other applications in use to sniff the network. If you can use other applications in use to sniff the network, you can upload the sniffing results to the server.

[0072] If you cannot use other applications in use to sniff the network, you can pause the collection and wait for the next collection cycle to make a judgment. If you detect that the current network connection status is the operator network for three consecutive times and can use other applications in use, you can use the operator network to send a sniffing packet to the server and record the network status data, and upload it to the server, and the single-cycle network data collection is completed.

[0073] In an embodiment of the present invention, by pre-acquiring network status data and uploading it to a server when no audio or video communication is performed, and uploading current call parameters to the server before establishing a session, all network status can be acquired before the call, thereby not increasing the burden on the client during the call and improving the call quality.

[0074] Figure 3 This is a second flow chart of the method for determining the quality of service strategy for audio and video communication provided by an embodiment of the present invention. Figure 3 The embodiment of the present invention provides a method for determining a quality of service strategy for audio and video communication, which is applied to a server. The method may specifically include the following steps:

[0075] Step 301, when the client is not performing audio or video communication, receiving network status data uploaded by each client, and dividing the network status data into grids.

[0076] When the client is not performing audio or video communication (the user is not using the audio or video call function), that is, before the two parties of the call have a call, the client can first obtain the client's own network status data and upload the network status data to the server.

[0077] The server can communicate with multiple clients. The server can receive the network status data uploaded by each client, and grid all the network status data in two dimensions: area and time domain, to obtain the network status data under multiple grids.

[0078] Step 302: for the network status data of each grid, a pre-built deep learning neural network is trained using the network status data of the grid to determine the optimal QoS strategy corresponding to the grid.

[0079] Specifically, the network status data under each network can be used to train the pre-built deep learning neural network using the network status data under the same grid.

[0080] After deep learning and training of big data, a set of optimal QoS strategies suitable for all network modes within each grid can be obtained, and the optimal QoS strategy can continue to be updated and trained in real time through the collected user data.

[0081] Step 303, when the client uses the audio and video communication function, before establishing a call, receiving the current call parameters uploaded by the client.

[0082] When the client performs audio and video communication (the user uses the audio and video call function), the client can upload the current call parameters to the server before establishing the call, and the server can receive the current call parameters uploaded by the client.

[0083] Step 304: determine the grid where the client is located based on the current call parameters, and send the optimal QoS policy corresponding to the grid where the client is located to the client.

[0084] The current call parameters uploaded by the client may include at least one of location information, call time, network connection mode and operator name.

[0085] Specifically, the server may determine the grid where the client is located based on the current location information of the client, and send the optimal QoS policy corresponding to the grid where the client is located to the client.

[0086] In an embodiment of the present invention, by pre-acquiring real-time network status big data uploaded by each client when no audio or video communication is performed, and dividing the network status data into grids, the optimal QoS strategy under different network states based on real data can be obtained through deep learning and training, and sent to each grid; when the client in the grid establishes real-time audio and video communication, the server sends the optimal QoS strategy corresponding to the grid where the client is located to the client, so that the client can adopt an accurate and reliable QoS strategy in the first place, thereby improving the quality of real-time audio and video communication.

[0087] In an optional embodiment, the network status data includes at least one of the location information at the time of uploading, the operator name, the network connection method and the network sniffing result; the gridding of the network status data includes: dividing the location information of each client at the time of uploading into areas according to grids, and classifying the network status data under the same grid according to the network connection method and the operator name, so as to obtain multiple groups of classified network status data under the same grid.

[0088] Specifically, after receiving the network status data uploaded by each client, the server can classify the data and summarize it into a data set.

[0089] First, all location information can be divided into regions with a grid of 4 square meters, and the network status data of all location information in the same grid can be classified into one category. Then, the network status data in the same grid can be subdivided and classified according to the network connection method, with Wi-Fi connection method as one category and operator network as another category. Wi-Fi connection method can be divided into categories according to different operator networks; operator network connection method can also be divided into categories according to different operators.

[0090] After classifying the network status data, the format of all data classification can be obtained as follows: grid identifier-Wi-Fi / 4G / 5G-operator A / operator B / operator C / other-upload time-network status (uplink and downlink bandwidth, packet loss rate, jitter, latency).

[0091] In an optional embodiment, the network status data under the grid is used to train a pre-constructed deep learning neural network to determine the optimal Qos strategy corresponding to the grid, including: using multiple groups of network status data classified under the same grid as input values ​​of the pre-constructed deep learning neural network, using each Qos strategy and audio and video communication parameters as the hidden layer of the deep learning neural network, and using the audio and video call quality Mos score as the output value of the deep learning neural network to train the deep learning neural network; obtaining multiple Mos scores output by the trained deep learning neural network, and taking the optimal Qos strategy corresponding to the highest Mos score as the optimal Qos strategy corresponding to the grid.

[0092] Figure 4 is an architecture diagram of a deep learning neural network provided by an embodiment of the present invention. Figure 4 , a training framework can be constructed that uses the classified and sorted network status big data as the input value of the deep learning neural network, each QoS strategy method and audio and video key parameters as the hidden layer, and the audio and video call Mos score as the final output value. Among them, the hidden layer data can be FEC, bit rate, resolution, frame rate, H264 / H265, Jitter Buffer, NACK; the audio and video call Mos score is composed of PESQ (Perceptual Evaluation of Speech Quality, objective speech quality evaluation) / POLQA (Perceptual Objective Listening Quality Analysis, perceptual objective listening quality evaluation) / VMAF (Visual Multimethod Assessment Fusion, video quality multi-method evaluation fusion) / PSNR (PeakSignal-to-Noise Ratio, peak signal-to-noise ratio).

[0093] Among them, the classified and organized big data may include network data grid coordinates, network connection status (Wi-Fi / 4G / 5G), operator identification, network data upload time, uplink bandwidth, downlink bandwidth, packet loss rate, jitter and delay.

[0094] In the embodiment of the present invention, by moving the acquisition of core anchor point data to before the call, and sending network status data in real time through big data, the client processing pressure can be reduced and the quality of audio and video calls can be improved.

[0095] In the existing QoS strategy scheme, the QoS strategy adopted in the application is often based on human experience rather than reliable experimental data. In the embodiment of the present invention, the QoS model obtained by applying various types of actual network status data to perform big data analysis and deep learning is used to provide QoS strategy guidance. Compared with the existing technical scheme, the optimal QoS strategy determined based on real data is more objective and reliable.

[0096] The following is a description of the audio and video communication service quality policy determination device provided by the present invention. The audio and video communication service quality policy determination device described below and the audio and video communication service quality policy determination method described above can correspond to each other.

[0097] Figure 5 This is one of the structural diagrams of the device for determining the quality of service strategy for audio and video communication provided by an embodiment of the present invention. Figure 5 The embodiment of the present invention provides a device for determining a quality of service strategy for audio and video communication, which is applied to a client. The device may specifically include the following modules:

[0098] The acquisition module 501 is used to acquire network status data when no audio or video communication is performed, and upload the network status data to the server;

[0099] The uploading module 502 is used to upload the current call parameters to the server before establishing the call during audio and video communication;

[0100] The execution module 503 is used to receive the optimal QoS policy sent by the server based on the current call parameters and execute the optimal QoS policy.

[0101] In an optional embodiment, the acquisition module 501 is specifically used to:

[0102] Detect the current network connection status;

[0103] Based on the network connection status, determining a transmission network;

[0104] A network sniffing packet is sent to the server via the transmission network, network status data is recorded, and the network status data is uploaded to the server.

[0105] In an optional embodiment, the acquisition module 501 is specifically used to:

[0106] If the current network connection status is Wi-Fi network connection status, use Wi-Fi network as the transmission network;

[0107] If the current network connection state is the operator network connection state, when it is detected that an application is in use, the network of the application is used as the transmission network;

[0108] If the current network connection state is detected as the operator network connection state for multiple consecutive times, the operator network is used as the transmission network.

[0109] In an embodiment of the present invention, by pre-acquiring network status data and uploading it to a server when no audio or video communication is performed, and uploading current call parameters to the server before establishing a session, all network status can be acquired before the call, thereby not increasing the burden on the client during the call and improving the call quality; by sending the current call parameters to the server, the server can issue the optimal QoS strategy in real time based on the current call parameters, thereby improving the efficiency of QoS strategy decision-making and issuance for audio and video communications.

[0110] Figure 6 This is a second structural diagram of the device for determining the quality of service strategy for audio and video communication provided by an embodiment of the present invention. Figure 6 The embodiment of the present invention provides a device for determining a quality of service strategy for audio and video communication, which is applied to a server. The device may specifically include the following modules:

[0111] A division module 601 is used to receive network status data uploaded by each client when the client is not performing audio or video communication, and to perform grid division on the network status data;

[0112] The training module 602 is used to train a pre-built deep learning neural network using the network status data of each grid to determine the optimal QoS strategy corresponding to the grid;

[0113] The parameter receiving module 603 is used to receive the current call parameters uploaded by the client before establishing a call when the client uses the audio and video communication function;

[0114] The sending module 604 is used to determine the grid where the client is located based on the current call parameters, and send the optimal QoS policy corresponding to the grid where the client is located to the client.

[0115] In an optional embodiment, the network status data includes at least one of location information, operator name, network connection mode and network sniffing result at the time of uploading; the division module 601 is specifically used for:

[0116] The location information uploaded by each client is divided into regions according to grids, and the network status data under the same grid is classified according to the network connection mode and the operator name, so as to obtain multiple groups of classified network status data under the same grid.

[0117] In an optional embodiment, the training module 602 is specifically used to:

[0118] The deep learning neural network is trained by taking multiple groups of network status data classified under the same grid as the input value of the pre-built deep learning neural network, taking each Qos strategy and audio and video communication parameter as the hidden layer of the deep learning neural network, and taking the audio and video call quality Mos score as the output value of the deep learning neural network;

[0119] Obtain multiple Mos scores output by the trained deep learning neural network, and use the optimal Qos strategy corresponding to the highest Mos score as the optimal Qos strategy corresponding to the grid.

[0120] In an embodiment of the present invention, by pre-acquiring real-time network status big data uploaded by each client when no audio or video communication is performed, and dividing the network status data into grids, the optimal QoS strategy under different network states based on real data can be obtained through deep learning and training, and sent to each grid; when the client in the grid establishes real-time audio and video communication, the server sends the optimal QoS strategy corresponding to the grid where the client is located to the client, so that the client can adopt an accurate and reliable QoS strategy in the first place, thereby improving the quality of real-time audio and video communication.

[0121] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7 As shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720, and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the audio and video communication service quality policy determination method, which is applied to the client, and the method includes:

[0122] When no audio or video communication is performed, obtaining network status data, and uploading the network status data to a server;

[0123] When conducting audio and video communication, uploading current call parameters to the server before establishing the call;

[0124] Receiving the optimal QoS policy sent by the server based on the current call parameters, and executing the optimal QoS policy;

[0125] Or, executing a method for determining a quality of service strategy for audio and video communication, applied to a server, the method comprising:

[0126] When the client is not performing audio or video communication, receiving network status data uploaded by each client, and dividing the network status data into grids;

[0127] For the network status data under each grid, the pre-built deep learning neural network is trained using the network status data under the grid to determine the optimal QoS strategy corresponding to the grid;

[0128] When the client uses the audio and video communication function, before establishing a call, receiving current call parameters uploaded by the client;

[0129] The grid where the client is located is determined based on the current call parameters, and the optimal QoS strategy corresponding to the grid where the client is located is sent to the client.

[0130] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0131] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the audio and video communication service quality policy determination method provided by the above methods, and is applied to a client, the method comprising:

[0132] When no audio or video communication is performed, obtaining network status data, and uploading the network status data to a server;

[0133] When conducting audio and video communication, uploading current call parameters to the server before establishing the call;

[0134] Receiving the optimal QoS policy sent by the server based on the current call parameters, and executing the optimal QoS policy;

[0135] Or, the audio and video communication service quality policy determination method provided by the above methods is executed and applied to the server, and the method includes:

[0136] When the client is not performing audio or video communication, receiving network status data uploaded by each client, and dividing the network status data into grids;

[0137] For the network status data under each grid, the pre-built deep learning neural network is trained using the network status data under the grid to determine the optimal QoS strategy corresponding to the grid;

[0138] When the client uses the audio and video communication function, before establishing a call, receiving current call parameters uploaded by the client;

[0139] The grid where the client is located is determined based on the current call parameters, and the optimal QoS strategy corresponding to the grid where the client is located is sent to the client.

[0140] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0141] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0142] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for determining a quality of service strategy for audio and video communication, characterized in that: Applied to the client, including: When no audio or video communication is performed, obtaining network status data, and uploading the network status data to a server; When conducting audio and video communication, uploading current call parameters to the server before establishing the call; Receive the optimal QoS policy sent by the server based on the current call parameters, and execute the optimal QoS policy.

2. The method according to claim 1, characterized in that: The obtaining of network status data and uploading of the network status data to a server includes: Detect the current network connection status; Based on the network connection status, determining a transmission network; A network sniffing packet is sent to the server via the transmission network, network status data is recorded, and the network status data is uploaded to the server.

3. The method according to claim 2, characterized in that The determining of the transmission network based on the network connection state includes: If the current network connection status is Wi-Fi network connection status, use Wi-Fi network as the transmission network; If the current network connection state is the operator network connection state, when it is detected that an application is in use, the network of the application is used as the transmission network; If the current network connection state is detected as the operator network connection state for multiple consecutive times, the operator network is used as the transmission network.

4. A method for determining a quality of service strategy for audio and video communication, characterized in that: Applicable to servers, including: When the client is not performing audio or video communication, receiving network status data uploaded by each client, and dividing the network status data into grids; For the network status data under each grid, the pre-built deep learning neural network is trained using the network status data under the grid to determine the optimal QoS strategy corresponding to the grid; When the client uses the audio and video communication function, before establishing a call, receiving current call parameters uploaded by the client; The grid where the client is located is determined based on the current call parameters, and the optimal QoS strategy corresponding to the grid where the client is located is sent to the client.

5. The method according to claim 4, characterized in that The network status data includes at least one of location information, operator name, network connection mode and network sniffing result when uploading; the gridding of the network status data includes: The location information uploaded by each client is divided into regions according to grids, and the network status data under the same grid is classified according to the network connection mode and the operator name, so as to obtain multiple groups of classified network status data under the same grid.

6. The method according to claim 5, characterized in that The method of using the network status data of the grid to train a pre-built deep learning neural network and determining the optimal QoS strategy corresponding to the grid includes: The deep learning neural network is trained by taking multiple groups of network status data classified under the same grid as the input value of the pre-built deep learning neural network, taking each Qos strategy and audio and video communication parameter as the hidden layer of the deep learning neural network, and taking the audio and video call quality Mos score as the output value of the deep learning neural network; Obtain multiple Mos scores output by the trained deep learning neural network, and use the optimal Qos strategy corresponding to the highest Mos score as the optimal Qos strategy corresponding to the grid.

7. A device for determining a quality of service strategy for audio and video communication, characterized in that: Applied to the client, including: An acquisition module, used to acquire network status data when no audio or video communication is performed, and upload the network status data to a server; An uploading module, used to upload current call parameters to the server before establishing a call during audio and video communication; An execution module is used to receive the optimal QoS strategy sent by the server based on the current call parameters and execute the optimal QoS strategy.

8. A device for determining a quality of service strategy for audio and video communication, characterized in that: Applicable to servers, including: A division module, used for receiving network status data uploaded by each client when the client is not performing audio and video communication, and performing grid division on the network status data; A training module is used to train a pre-built deep learning neural network using the network status data of each grid to determine the optimal QoS strategy corresponding to the grid; A parameter receiving module, used for receiving current call parameters uploaded by the client before establishing a call when the client uses the audio and video communication function; The sending module is used to determine the grid where the client is located based on the current call parameters, and send the optimal QoS strategy corresponding to the grid where the client is located to the client.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method for determining the audio and video communication service quality strategy according to any one of claims 1 to 6 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for determining the quality of service strategy for audio and video communications as claimed in any one of claims 1 to 6 is implemented.