[go: up one dir, main page]

CN110536093B - A method, device and system for selecting backbone network in real-time audio and video transmission - Google Patents

A method, device and system for selecting backbone network in real-time audio and video transmission Download PDF

Info

Publication number
CN110536093B
CN110536093B CN201910717087.7A CN201910717087A CN110536093B CN 110536093 B CN110536093 B CN 110536093B CN 201910717087 A CN201910717087 A CN 201910717087A CN 110536093 B CN110536093 B CN 110536093B
Authority
CN
China
Prior art keywords
audio
video
quality
network
experience
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910717087.7A
Other languages
Chinese (zh)
Other versions
CN110536093A (en
Inventor
曹帼琼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910717087.7A priority Critical patent/CN110536093B/en
Publication of CN110536093A publication Critical patent/CN110536093A/en
Application granted granted Critical
Publication of CN110536093B publication Critical patent/CN110536093B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5061Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the interaction between service providers and their network customers, e.g. customer relationship management
    • H04L41/5067Customer-centric QoS measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本申请实施例提供了一种在音视频实时传输中选择骨干网的方法、装置和系统。在进行音视频实时通话时,用户终端首先判断能否在预定时间内完成P2P穿越,若能完成则选择在P2P上传输,否则选择RTN。当音视频在P2P或RTN上传输时,用户终端根据播放该音视频的媒体引擎的音视频QoE以及P2P链路QoS,选择从P2P切换到RTN,或者从RTN切换到P2P。上述方案通过在P2P和RTN之间选择和切换,兼顾了实时音视频通话的QoE和运营成本,使得用户能够在较低的运营成本下获得良好的音视频QoE。

Figure 201910717087

Embodiments of the present application provide a method, device, and system for selecting a backbone network in real-time audio and video transmission. When making a real-time audio and video call, the user terminal first determines whether the P2P traversal can be completed within a predetermined time, and if it can be completed, selects to transmit on P2P, otherwise selects RTN. When audio and video are transmitted on P2P or RTN, the user terminal chooses to switch from P2P to RTN or from RTN to P2P according to the audio and video QoE of the media engine playing the audio and video and the P2P link QoS. The above solution takes into account the QoE and operating costs of real-time audio and video calls by selecting and switching between P2P and RTN, enabling users to obtain good audio and video QoE at lower operating costs.

Figure 201910717087

Description

Method, device and system for selecting backbone network in real-time audio and video transmission
Technical Field
The present application relates to real-time audio and video transmission technologies, and in particular, to a method, an apparatus, and a system for selecting a backbone network in real-time audio and video transmission.
Background
When the user terminals carry out real-time audio-video communication, two types of backbone networks, namely a Real Time Network (RTN) or a traversing peer-to-peer network (P2P), can be selected.
The RTN is a network architecture specially designed for real-time transmission, nodes are reorganized among data centers around the world, and the nodes are connected and scheduled with each other, so that a new virtual network is constructed on the basis of the existing public Internet. When audio and video communication is carried out, the RTN allocates the optimal and most smooth transmission path for audio and video in real time according to the connection and transmission condition of each node, the load condition, the distance from each node to a user and the response time, and the quality guarantee level required by real-time transmission is achieved. The RTN is used for transmitting the audio and video, and the operation cost is higher similarly to the transmission of a leased private network.
P2P is a distributed application architecture that distributes tasks and workloads among peers. When audio and video communication is carried out, two user terminals carrying out communication respectively take an Internet Protocol (IP) address and a port of an opposite terminal as a destination IP address and a port, and carry out audio and video transmission through P2P. And the public internet transmission is adopted, so that a private network does not need to be rented, and the operation cost is low. However, since the public internet is used, link quality such as bandwidth, delay jitter, and the like during audio and video transmission cannot be guaranteed. In addition, P2P traversal may not be enabled between two user terminals. For example, whether a P2P traversal can be implemented for an internet protocol version 4 (IPV 4) user terminal depends mainly on a Network Address Translation (NAT) device type. When the NAT devices used by the user terminals of the IPV4 are both symmetric, the P2P traversal success rate is very low.
A real-time audio/video call scheme in the prior art, for example, a real-time audio/video call solution based on a proprietary cloud service architecture, is similar to a solution using a real-time transmission network, and can provide good audio/video experience under communication quality with high resolution, high frame rate, and high bit rate. But the operation cost is high due to the need to build or lease a real-time transmission network.
Also for example, a real-time audio-video solution of RTN and P2P may be selected at the time of initiating a call, which makes a peer-to-peer network traversal attempt at the time of initiating a call, and selects to operate on the peer-to-peer network when traversal is successful, and otherwise selects to operate on the real-time transport network. The scheme can be selected when a call is initiated, and the operation cost and the user audio and video experience are properly considered. However, once a real-time transport network or a peer-to-peer network is selected at the time of initiating a call, subsequent handoffs may not be possible. Even after selecting the real-time transmission network, the link quality of the peer-to-peer network reaches the standard; or, after the peer-to-peer network is selected, the link quality of the peer-to-peer network is deteriorated or even does not reach the standard, and the peer-to-peer network cannot be reselected. Therefore, if a real-time transport network is selected when a call is initiated, high operating costs are incurred; and if a peer-to-peer network is selected when a call is initiated, a poor user audio-video experience may result.
Therefore, how to always give consideration to the operation cost and the audio and video experience in the real-time audio and video transmission is worthy of research.
Disclosure of Invention
In view of this, the embodiment of the present application provides a scheme for selecting a backbone network in real-time audio and video transmission. The scheme comprises a method, a device and a system for selecting a backbone network in audio and video real-time transmission. The scheme can give consideration to the audio and video experience quality and the operation cost of real-time audio and video conversation, so that a user can obtain good audio and video experience quality at lower operation cost.
In a first aspect, a method for selecting a backbone network in real-time audio and video transmission is provided, which is performed by a user terminal. The user terminal inquires a first corresponding table according to the current audio and video experience quality when a media engine playing the audio and video transmits the audio and video on a real-time transmission network, and obtains the first audio and video experience quality corresponding to the current audio and video experience quality. The audio and video experience quality is used for expressing the experience quality of a user on the audio and video, and is divided into a plurality of gears in the first corresponding table. The first corresponding table is used for recording the corresponding relation of audio and video experience quality under each gear when the real-time transmission network is switched to the peer-to-peer network, and the first audio and video experience quality is the audio and video experience quality after the real-time transmission network is correspondingly switched to the peer-to-peer network. And the user terminal inquires a second corresponding table according to the first audio and video experience quality to acquire a first link service quality corresponding to the first audio and video experience quality. The first link service quality is used for expressing the link communication quality of a backbone network for transmitting the audio and video, and the second corresponding table is used for recording the corresponding relation between the audio and video experience quality and the link service quality. The user terminal obtains the current link service quality of the peer-to-peer network; and determining whether the current link service quality reaches the standard according to the first link service quality. And when the current link service quality is determined to meet the standard, switching the audio and video to the peer-to-peer network for transmission.
With reference to the first aspect, in a possible implementation manner, before switching the audio/video to the peer-to-peer network for transmission, the user terminal further includes: and when the service quality of the current link is determined to meet the standard, the audio and video experience quality of the media engine is set as the first audio and video experience quality.
With reference to the first aspect, in a possible implementation manner, before querying a first mapping table according to a current audio/video experience quality of an audio/video when a media engine playing the audio/video transmits the audio/video over a real-time transmission network and acquiring a first audio/video experience quality corresponding to the current audio/video experience quality, a user terminal determines a backbone network in a network starting playing the audio/video according to a call time of initially calling the peer-to-peer network.
With reference to the first aspect or any one of the possible implementation manners of the first aspect, in a possible implementation manner, the determining, by the user terminal, a backbone network in the network for starting playing the audio and video according to a call time for starting a call to the peer-to-peer network specifically includes: when the calling time is larger than a first time threshold value, determining the backbone network as a real-time transmission network; when the call time is less than the first time threshold, the backbone network is determined to be a peer-to-peer network.
With reference to the first aspect or any one of the possible implementation manners of the first aspect, in a possible implementation manner, after determining a backbone network in a network for starting the audio/video, the user terminal transmits the audio/video on the network according to the determined backbone network, and sets the audio/video experience quality of the media engine to a predetermined initial audio/video experience quality, so that an access network in the network can smoothly start the audio/video.
With reference to the first aspect or any one of the possible implementation manners of the first aspect, in a possible implementation manner, after switching the audio/video to the peer-to-peer network for transmission, the user terminal measures a first delay jitter and/or a first packet loss rate of the peer-to-peer network; and changing the gear of the audio and video experience quality of the media engine according to the first time delay jitter and/or the first packet loss rate.
With reference to the first aspect or any one of the possible implementation manners of the first aspect, in a possible implementation manner, the changing, by the user terminal, the gear of the audio/video experience quality of the media engine according to the first delay jitter and/or the first packet loss rate specifically includes: when the first time delay jitter is higher than a first time delay jitter threshold value or the first packet loss rate is higher than a first packet loss rate threshold value, reducing the gear of the audio and video experience quality; and when the first time delay jitter is lower than the first time delay jitter threshold and the first packet loss rate is lower than the first packet loss rate threshold, improving the gear of the audio and video experience quality.
With reference to the first aspect or any one of the possible implementation manners of the first aspect, in a possible implementation manner, after the audio/video is switched to the peer-to-peer network for transmission, when the experience quality of the audio/video when the media engine transmits the audio/video on the peer-to-peer network is lower than a predetermined switching threshold value for switching a real-time transmission network, the user terminal obtains the network quality of an access network in the network. And when the user terminal determines that the network quality of the access network does not influence the audio and video experience quality, acquiring a second audio and video experience quality after the scheduled real-time transmission network switching. And the user terminal sets the audio and video experience quality of the media engine to be the second audio and video experience quality. And the user terminal switches the audio and video to the real-time transmission network for transmission.
With reference to the first aspect or any one of the possible implementation manners of the first aspect, in a possible implementation manner, after the audio/video is switched to the real-time transmission network for transmission, the user terminal measures a second delay jitter and/or a second packet loss rate of the real-time transmission network; and changing the gear of the audio and video experience quality of the media engine according to the second time delay jitter and/or the second packet loss rate.
With reference to the first aspect or any one of the possible implementation manners of the first aspect, in a possible implementation manner, the changing, by the user terminal, the gear of the audio/video experience quality of the media engine according to the second delay jitter and/or the second packet loss rate specifically includes: when the second time delay jitter is higher than a second time delay jitter threshold or the second packet loss rate is higher than a second packet loss rate threshold, reducing the gear of the audio and video experience quality; and when the second time delay jitter is lower than a second time delay jitter threshold value and the second packet loss rate is lower than a second packet loss rate threshold value, improving the gear of the audio and video experience quality.
With reference to the first aspect or any one of the possible implementation manners of the first aspect, in a possible implementation manner, the quality of audio/video experience further includes a video mean opinion score, where the video mean opinion score is determined according to the video quality, the operation experience, and the playing experience, and is used to reflect a subjective video experience of a user.
In a second aspect, an apparatus for selecting a backbone network in real-time audio and video transmission is provided, and the apparatus is disposed in a user terminal. The device includes: the device comprises a first acquisition unit, a second acquisition unit, a third acquisition unit, a first determination unit and a first switching unit. The first acquisition unit is configured to: according to the current audio and video experience quality when a media engine playing the audio and video transmits the audio and video on a real-time transmission network, inquiring a first corresponding table to obtain a first audio and video experience quality corresponding to the current audio and video experience quality, wherein the audio and video experience quality is used for expressing the experience quality of a user on the audio and video, the first corresponding table is divided into a plurality of gears, the first corresponding table is used for recording the corresponding relation of the audio and video experience quality under each gear when the real-time transmission network is switched to an equality network, and the first audio and video experience quality is the audio and video experience quality after the real-time transmission network is correspondingly switched to a peer-to-peer network. The second acquisition unit is configured to: and inquiring a second corresponding table according to the first audio and video experience quality to acquire a first link service quality corresponding to the first audio and video experience quality, wherein the first link service quality is used for expressing the link communication quality of a backbone network for transmitting the audio and video, and the second corresponding table is used for recording the corresponding relation between the audio and video experience quality and the link service quality. The third acquisition unit is configured to: the current link quality of service of the peer-to-peer network is obtained. The first determination unit is configured to: and determining whether the current link service quality reaches the standard according to the first link service quality. The first switching unit is configured to: and when the current link service quality is determined to meet the standard, switching the audio and video to the peer-to-peer network for transmission.
With reference to the second aspect, in one possible implementation, the apparatus further includes a first setting unit. The first setting unit is configured to: and when the service quality of the current link is determined to meet the standard, the audio and video experience quality of the media engine is set as the first audio and video experience quality.
With reference to the second aspect, in one possible implementation manner, the apparatus further includes a second determining unit. The second determination unit is configured to: and determining a backbone network in the network for starting the audio and video according to the calling time for calling the peer-to-peer network at the beginning.
With reference to the second aspect or any possible implementation manner of the second aspect, in a possible implementation manner, the second determining unit specifically includes a first determining module and a second determining module. The first determination module is configured to: and when the calling time is greater than a first time threshold value, determining the backbone network as a real-time transmission network. The second determination module is configured to: when the call time is less than the first time threshold, the backbone network is determined to be a peer-to-peer network.
With reference to the second aspect or any one of the possible embodiments of the second aspect, in one possible embodiment, the apparatus further includes a second setting unit. The second setting unit is configured to: and transmitting the audio and video on the network according to the determined backbone network, and setting the audio and video experience quality of the media engine as a preset initial audio and video experience quality so that an access network in the network can smoothly start playing the audio and video.
With reference to the second aspect or any one of the possible embodiments of the second aspect, in one possible embodiment, the apparatus further includes a first measurement unit and a first changing unit. The first measurement unit is configured to: a first delay jitter and/or a first packet loss rate of the peer-to-peer network is measured. The first changing unit is configured to: and changing the gear of the audio and video experience quality of the media engine according to the first time delay jitter and/or the first packet loss rate.
With reference to the second aspect or any one of the possible embodiments of the second aspect, in one possible embodiment, the first changing unit specifically includes a first lowering module and a first raising module. The first reduction module is configured to: and when the first time delay jitter is higher than a first time delay jitter threshold value or the first packet loss rate is higher than a first packet loss rate threshold value, reducing the gear of the audio and video experience quality. The first boost module is configured to: and when the first time delay jitter is lower than the first time delay jitter threshold and the first packet loss rate is lower than the first packet loss rate threshold, improving the gear of the audio and video experience quality.
With reference to the second aspect or any possible implementation manner of the second aspect, in a possible implementation manner, the apparatus further includes a fourth acquiring unit, a fifth acquiring unit, a third setting unit, and a second switching unit. The fourth acquisition unit is configured to: and when the audio and video experience quality of the media engine in the audio and video transmission on the peer-to-peer network is lower than a switching threshold value of a preset switching real-time transmission network, acquiring the network quality of an access network in the network. The fifth acquisition unit is configured to: and when the network quality of the access network is determined not to influence the audio and video experience quality, acquiring a second audio and video experience quality after the scheduled real-time transmission network switching. The third setting unit is configured to: and setting the audio and video experience quality of the media engine as the second audio and video experience quality. And the second switching unit is configured to: and switching the audio and video to the real-time transmission network for transmission.
With reference to the second aspect or any one of the possible embodiments of the second aspect, in one possible embodiment, the apparatus further includes a second measuring unit and a second changing unit. The second measurement unit is configured to: and measuring the second time delay jitter and/or the second packet loss rate of the real-time transmission network. And the second changing unit is configured to: and changing the gear of the audio and video experience quality of the media engine according to the second time delay jitter and/or the second packet loss rate.
With reference to the second aspect or any one of the possible embodiments of the second aspect, in one possible embodiment, the second changing unit specifically includes a second lowering module and a second raising module. The second reduction module is configured to: and when the second time delay jitter is higher than a second time delay jitter threshold or the second packet loss rate is higher than a second packet loss rate threshold, reducing the gear of the audio and video experience quality. And, the second boosting module is configured to: and when the second time delay jitter is lower than a second time delay jitter threshold value and the second packet loss rate is lower than a second packet loss rate threshold value, improving the gear of the audio and video experience quality.
With reference to the second aspect or any one of the possible implementation manners of the second aspect, in a possible implementation manner, the quality of the audio-video experience further includes a video mean opinion score, where the video mean opinion score is determined according to the video quality, the operation experience, and the playing experience, and is used for reflecting the subjective video experience of the user.
In a third aspect, a system for selecting a backbone network in real-time transmission of audio and video is provided. The system comprises a user terminal on which the apparatus described in the second aspect and any one of the possible designs of the second aspect is provided.
In a fourth aspect, a computing device is provided. The computing device includes a processor and a memory. The memory is for storing computer instructions. The processor is configured to execute the computer instructions stored by the memory to cause the computing device to perform the method described in the first aspect and any one of the possible designs of the first aspect.
In a fifth aspect, a computer program product is provided. The computer program product comprises computer instructions for instructing a computing device to perform the method as set forth in the first aspect and any one of the possible designs of the first aspect.
Drawings
FIG. 1 is a schematic diagram illustrating an implementation scenario of an embodiment disclosed herein;
fig. 2 is a schematic flowchart of a method for selecting a backbone network in real-time audio/video transmission according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a device for selecting a backbone network in real-time audio/video transmission according to an embodiment of the present disclosure.
Detailed Description
Fig. 1 is a schematic view of an implementation scenario of an embodiment disclosed in this specification. In this implementation scenario, a user uses his user terminal to perform real-time audio/video call, which specifically includes two sub-scenarios: when the call is initiated; and in the course of a call.
When the call is initiated, the user terminal firstly judges whether P2P successfully passes through within the preset time, if the P2P successfully passes through within the preset time, the audio and video is transmitted on the P2P backbone network, otherwise, the audio and video is transmitted on the RTN backbone network. At this time, the user terminal configures the quality of experience (QoE) of the audio and video of the media engine at a lower level, thereby ensuring that the access network can smoothly start the call under various communication quality environments. After the call is started, the media engine adaptively increases and decreases the QoE according to the quality of service (QoS) of the currently used real-time link of the backbone network, and the best QoE is expected to be achieved.
In the conversation process, when the audio and video is transmitted on the RTN, the user terminal detects and evaluates the link QoS of the P2P at any time, when the link QoS of the P2P reaches the standard, the user terminal adjusts the QoE of the media engine to a gear suitable for transmission on the P2P, and simultaneously switches a backbone network for transmitting the audio and video to the P2P. The media engine then adaptively up-shifts its QoE based on the real-time link QoS of P2P, expecting an optimal QoE to be achieved. When the QoE of the media engine is adaptively downshifted until the QoE drops to P2P and falls back to the RTN position, the user terminal judges whether the downshifting is caused by the access network. And when the user terminal is not caused by the access network, the user terminal switches the backbone network for transmitting the audio and video to the RTN. The media engine then adaptively upshifts its QoE based on the real-time link QoS of the RTN, expecting an optimal QoE to be achieved.
The process of selecting to transmit audio and video over the RTN at the time of initial call, then switching from the RTN to P2P and then from P2P to the RTN according to the link QoS of real-time P2P and QoE of the media engine is described in detail above. It should be understood that the procedure of selecting to transmit audio and video on P2P when a call is initiated, then switching from P2P to RTN and then switching from RTN to P2P according to the link QoS of P2P and QoE of the media engine in real time is similar to the above and will not be described herein again.
It should be noted that the QoE mentioned herein is used to represent the quality of experience of the user on the audio/video, and includes resolution, frame rate, and bitrate. Preferably, a Video Mean Opinion Score (VMOS) is also included. The resolution is the number of pixels included in a unit inch, and reflects the sharpness of an image. Frame rate, which is the frequency (rate) at which bitmap images called frames appear continuously on the display, reflects the fluency of the video. The code rate refers to the number of data bits transmitted per unit time during data transmission. The video mean opinion score, i.e., the VMOS, reflects the user's subjective video experience, determined based on video quality, operational experience, and playback experience.
The QoS mentioned herein is used to represent the link communication quality of the backbone network for transmitting the audio and video, including bandwidth, delay jitter and packet loss rate. Bandwidth, which is the amount of data that can pass through a link per unit time, is usually expressed in bps. Latency, refers to the time required for a message or packet to travel from one end of a network to the other. Delay jitter refers to the variation of delay. The packet loss rate is the ratio of the number of lost packets in the transmitted data set.
As a rule of thumb, a QoE can be divided into a number of different gears, each corresponding to a QoS required to meet the QoE.
The following will describe a specific implementation process of the user terminal selecting the backbone network in the real-time audio and video transmission.
Fig. 2 is a schematic flow chart of a method for selecting a backbone network in real-time audio/video transmission according to an embodiment of the present application, where the method is executed by a user terminal and may include the following steps:
s201, a user terminal inquires a first corresponding table according to the current audio and video QoE when a media engine playing the audio and video transmits the audio and video on a real-time transmission network, and obtains the first audio and video QoE corresponding to the current audio and video QoE.
Specifically, the audio/video QoE is used for representing the experience quality of the user on the audio/video, and is divided into a plurality of gears in a first corresponding table. The first corresponding table is used for recording audio and video QoE corresponding relations under each gear when the real-time transmission network is switched to the peer-to-peer network. Optionally, the first audio/video QoE is the audio/video QoE after being correspondingly switched to the peer-to-peer network.
Optionally, the first mapping table is table 1, and the QoE mapping table when the RTN switches to P2P. As shown in table 1, under the same coding type, the QoE is divided into a plurality of gears, and the RTN current resolution, the RTN current frame rate, and the RTN current code rate of each gear correspond to one of the resolution after switching to P2P, the frame rate after switching to P2P, and the code rate after switching to P2P, respectively.
Alternatively, when rtnR1 ═ 1080p, rtnF1 ═ 30fps, and rttx 1 ═ 2250kbps in table 1, p2pR1 ═ 1080p, p2pF1 ═ 25fps, and p2pTx1 ═ 1875kbps, respectively, in table 1.
Alternatively, when rtnR1 ═ 1080p, rtnF1 ═ 30fps, and rttx 1 ═ 2250kbps in table 1, p2pR1 ═ 720p, p2pF1 ═ 25fps, and rttx 1 ═ 1000kbps, respectively, in table 1.
Alternatively, when rtnR1 ═ 1080p, rtnF1 ═ 30fps, and rttx 1 ═ 2250kbps in table 1, p2pR1 ═ 540p, p2pF1 ═ 25fps, and p2pTx1 ═ 705kbps, respectively, in table 1.
It should be understood that the specific values in table 1 can be set according to the business needs by using corresponding formulas and empirical values.
TABLE 1 QoE mapping Table when RTN switches to P2P
Figure BDA0002155805380000061
Optionally, before S201, when the real-time audio/video call is started, the user terminal determines to start a backbone network in the audio/video network according to the call time of the peer-to-peer network. For example, when the call time is greater than a first time threshold, the user terminal determines the backbone network as a real-time transport network. For another example, when the call time is less than the first time threshold, the user terminal determines that the backbone network is a peer-to-peer network. It should be understood that the first time threshold may be set based on empirical values.
The backbone network for starting the broadcast video is determined by judging the calling time, so that the broadcast video can be started smoothly, and the operation cost is also considered.
Optionally, in order to start playing the audio and video smoothly and ensure that the call can be initiated in various quality environments of an access network in the network, the user terminal sets the audio and video QoE of the media engine to a predetermined initial audio and video QoE, where the initial audio and video QoE is located at a lower gear, and for example, the predetermined initial resolution, the predetermined initial frame rate, and the predetermined initial bit rate are 540p, 25fps, and 705kbps, respectively. It should be understood that the specific values of the predetermined initial audio video QoE described above are for exemplary purposes only. The initial audio video QoE may be set to other values according to the link condition of the access network.
By setting the audio and video QoE at a lower gear, the audio and video can be smoothly played under various quality environments of an access network.
And S202, the user terminal inquires a second corresponding table according to the first audio and video QoE and acquires a first link QoS corresponding to the first audio and video QoE.
Specifically, the link QoS is used to represent link communication quality of a backbone network for transmitting audio and video, and the second mapping table is used to record a corresponding relationship between the audio and video QoE and the link QoS.
Optionally, the second mapping table is table 2, and the audio/video QoE corresponds to the link QoS. As shown in table 2, the QoE and QoS are divided into a plurality of gears under the same coding type. According to the service requirement, the specific numerical values of resolution, frame rate, code rate, bandwidth, time delay jitter and packet loss rate corresponding to each gear can be set by adopting a corresponding formula and empirical values.
Alternatively, when R1, F1, and Tx11 in table 2 take 1080p, 30fps, and 2250kbps, respectively, Bx11 is 4050kbps, Dx11 is 200ms, Jx11 is 200ms, and Lx11 is 30%.
Optionally, when R2, F2, and Tx21 in table 2 take values of 720p, 30fps, and 1180kbps, respectively, Bx21 is 1888kbps, Dx21 is 200ms, Jx21 is 200ms, and Lx21 is 30%.
Optionally, the values of the resolution, the frame rate, and the code rate of the first audio/video QoE measured by the user terminal are 720p, 30fps, and 1180kbps, respectively, and the values of the bandwidth, the delay jitter, and the packet loss rate of the first link QoS corresponding to the first audio/video QoE obtained by querying the table 2 are 1888kbps, 200ms, and 30%, respectively.
Table 2 audio video QoE and link QoS corresponding table
Figure BDA0002155805380000071
Optionally, the second mapping table is table 3, and the audio/video QoE corresponds to the link QoS. Compared with table 2, in table 3, the audio and video QoE further includes a video mean opinion score, that is, a VMOS, for example, whose value is 2.5 to 3. Other values in table 3 are similar to those in table 2 and are not described herein again.
Table 3 audio video QoE and link QoS corresponding table
Figure BDA0002155805380000072
S203, the user terminal acquires the current link QoS of the peer-to-peer network.
Specifically, the ue measures the link of the peer-to-peer network to obtain the current link QoS of the peer-to-peer network, for example, the bandwidth, the delay jitter, and the packet loss rate of the current link QoS are 2000kbps, 80ms, 50ms, and 10%, respectively.
S204, the user terminal determines whether the current link QoS reaches the standard according to the first link QoS.
Specifically, when the current link QoS measured by the user terminal reaches or exceeds the first link QoS, it is determined that the current link QoS has reached the standard. For example, as described above, the user terminal queries the table 2, and the queried values of the bandwidth, delay jitter, and packet loss rate of the first link QoS are > 1888kbps, <200ms, and < 30%; the current link QoS bandwidth, time delay jitter and packet loss rate of the peer-to-peer network obtained by the user terminal through measurement are 2000kbps, 80ms, 50ms and 10% respectively. At this time, the current link QoS has reached the first link QoS, and then the current link QoS is determined to reach the standard. And vice versa.
S205, when the user terminal determines that the QoS of the current link of the peer-to-peer network reaches the standard, the audio and video are switched to the peer-to-peer network for transmission.
Specifically, when the user terminal determines that the current link QoS of the peer-to-peer network reaches the standard, the audio/video QoE of the media engine is set as the first audio/video QoE, and then the audio/video is switched to the peer-to-peer network for transmission.
When the current link QoS of the peer-to-peer network reaches the standard, the user terminal sets the audio and video QoE of the media engine to be the first audio and video QoE, so that the audio and video can be transmitted smoothly on the peer-to-peer network under the current link QoS condition of the peer-to-peer network, and the method has high definition and high fluency. In addition, the audio and video are switched from the real-time transmission network to the peer-to-peer network for transmission, so that the operation cost is reduced.
Optionally, when transmitting the audio and video over the peer-to-peer network, the user terminal measures a first delay jitter and/or a first packet loss rate of the peer-to-peer network, and changes the gear of the audio and video QoE of the media engine according to the measured first delay jitter and/or first packet loss rate.
Optionally, when the measured first delay jitter is lower than a first delay jitter threshold and the first packet loss rate is lower than a first packet loss rate threshold, the gear of the audio and video QoE is improved.
Optionally, when the measured first delay jitter is higher than the first delay jitter threshold, the gear of the audio and video QoE is reduced.
Optionally, when the measured first packet loss rate is higher than a first packet loss rate threshold, the gear of the audio and video QoE is reduced.
The user terminal can change the gear of the audio and video QoE of the media engine in real time by measuring the time delay jitter and/or the packet loss rate of the peer-to-peer network, so that the optimal audio and video QoE is obtained.
Optionally, when the audio and video QoE of the media engine transmitting the audio and video on the peer-to-peer network is lower than a predetermined switching threshold value for switching the real-time transmission network, the user terminal first obtains the network quality of the access network transmitting the audio and video, and when it is found that the network quality of the access network affects the audio and video QoE, it is determined that the audio and video is continuously transmitted on the peer-to-peer network. Otherwise, the user terminal queries and obtains a second audio and video QoE after the scheduled real-time transmission network switching. And then, setting the audio and video QoE of the media engine as the second audio and video QoE, and switching the audio and video to a real-time transmission network for transmission.
The method comprises the steps of firstly judging the network quality of the access network, and switching the audio and video from the peer-to-peer network to a real-time transmission network for transmission when the network quality of the access network does not affect the audio and video QoE, so that the higher operation cost caused by the error switching due to the poor network quality of the access network can be avoided, and the better audio and video QoE can be ensured.
Optionally, when the audio and video is transmitted on the real-time transmission network, the user terminal measures a second delay jitter and/or a second packet loss rate of the real-time transmission network, and changes the gear of the audio and video QoE of the media engine according to the measured second delay jitter and/or second packet loss rate.
Optionally, when the measured second delay jitter is lower than a second delay jitter threshold and the second packet loss rate is lower than a second packet loss rate threshold, the gear of the audio and video QoE is improved.
Optionally, when the measured second delay jitter is higher than a second delay jitter threshold, the gear of the audio and video QoE is reduced.
Optionally, when the measured second packet loss rate is higher than a second packet loss rate threshold, the gear of the audio and video QoE is reduced.
The user terminal can change the gear of the audio and video QoE of the media engine in real time by measuring the time delay jitter and/or the packet loss rate of the real-time transmission network, so that the optimal audio and video QoE is obtained.
It should be understood that the above-mentioned "first delay jitter threshold", "second delay jitter threshold", "first packet loss rate threshold", and "second packet loss rate threshold" may be set according to an empirical value, and are not limited herein. The terms "first" and "second" are only names used for the "threshold value", and are not limited to other meanings.
The method for selecting the backbone network in the real-time audio and video transmission according to the embodiment of the present application is described above in detail, and an apparatus for selecting the backbone network in the real-time audio and video transmission according to the embodiment of the present application is described below in detail.
Fig. 3 is a schematic structural diagram of a device for selecting a backbone network in real-time audio/video transmission according to an embodiment of the present disclosure, where the device is disposed in a user terminal. As shown in fig. 3, the apparatus 300 includes a first acquisition unit 301, a second acquisition unit 302, a third acquisition unit 303, a first determination unit 304, and a first switching unit 305.
The first acquisition unit 301 is configured to: and inquiring a first corresponding table according to the current audio and video experience quality when a media engine playing the audio and video transmits the audio and video on a real-time transmission network, and acquiring the first audio and video experience quality corresponding to the current audio and video experience quality. The audio and video experience quality is used for expressing the experience quality of a user on the audio and video, and is divided into a plurality of gears in the first corresponding table. The first correspondence table is used for recording the corresponding relation of the audio/video experience quality at each gear when the real-time transmission network is switched to the peer-to-peer network, for example, table 1 described above, which is not described herein again. The first audio and video experience quality is the audio and video experience quality after the corresponding switching to the peer-to-peer network.
The second obtaining unit 302 is configured to: and inquiring a second corresponding table according to the first audio and video experience quality to acquire a first link service quality corresponding to the first audio and video experience quality. The first link service quality is used for representing the link communication quality of a backbone network for transmitting the audio and video. The second correspondence table is used for recording a correspondence between audio/video experience quality and link service quality, for example, table 2 or table 3 described above, which is not described herein again.
The third acquisition unit 303 is configured to: the current link quality of service of the peer-to-peer network is obtained.
The first determination unit 304 is configured to: and determining whether the current link service quality reaches the standard according to the first link service quality.
The first switching unit 305 is configured to: and when the current link service quality is determined to meet the standard, switching the audio and video to the peer-to-peer network for transmission.
Optionally, the apparatus 300 further comprises a first setting unit. The first setting unit is configured to: and when the service quality of the current link is determined to meet the standard, the audio and video experience quality of the media engine is set as the first audio and video experience quality.
Optionally, the apparatus 300 further comprises a second determining unit. The second determination unit is configured to: and determining a backbone network in the network for starting the audio and video according to the calling time for calling the peer-to-peer network at the beginning.
Specifically, the second determination unit includes a first determination module and a second determination module. The first determination module is configured to: and when the calling time is greater than a first time threshold value, determining the backbone network as a real-time transmission network. The second determination module is configured to: when the call time is less than the first time threshold, the backbone network is determined to be a peer-to-peer network.
Optionally, the apparatus 300 further comprises a second setting unit. The second setting unit is configured to: and transmitting the audio and video on the network according to the determined backbone network, and setting the audio and video experience quality of the media engine as a preset initial audio and video experience quality so that an access network in the network can smoothly start playing the audio and video.
Optionally, the apparatus 300 further comprises a first measuring unit and a first changing unit. The first measurement unit is configured to: a first delay jitter and/or a first packet loss rate of the peer-to-peer network is measured. The first changing unit is configured to: and changing the gear of the audio and video experience quality of the media engine according to the first time delay jitter and/or the first packet loss rate.
Specifically, the first changing unit includes a first lowering module and a first raising module. The first reduction module is configured to: and when the first time delay jitter is higher than a first time delay jitter threshold value or the first packet loss rate is higher than a first packet loss rate threshold value, reducing the gear of the audio and video experience quality. The first boosting module is configured to: and when the first time delay jitter is lower than the first time delay jitter threshold and the first packet loss rate is lower than the first packet loss rate threshold, improving the gear of the audio and video experience quality.
Optionally, the apparatus 300 further includes a fourth acquiring unit, a fifth acquiring unit, a third setting unit, and a second switching unit. The fourth acquisition unit is configured to: and when the audio and video experience quality of the media engine during the audio and video transmission on the peer-to-peer network is lower than a switching threshold value of a preset switching real-time transmission network, acquiring the network quality of an access network in the network. The fifth acquisition unit is configured to: and when the network quality of the access network is determined not to influence the audio and video experience quality, acquiring a second audio and video experience quality after the scheduled real-time transmission network switching. The third setting unit is configured to: and setting the audio and video experience quality of the media engine as the second audio and video experience quality. The second switching unit is configured to: and switching the audio and video to the real-time transmission network for transmission.
Optionally, the apparatus 300 further comprises a second measuring unit and a second changing unit. The second measurement unit is configured to: and measuring the second time delay jitter and/or the second packet loss rate of the real-time transmission network. The second changing unit is configured to: and changing the gear of the audio and video experience quality of the media engine according to the second time delay jitter and/or the second packet loss rate.
Specifically, the second changing unit includes a second lowering module and a second raising module. The second reduction module is configured to: and when the second time delay jitter is higher than a second time delay jitter threshold or the second packet loss rate is higher than a second packet loss rate threshold, reducing the gear of the audio and video experience quality. The second boost module is configured to: and when the second time delay jitter is lower than a second time delay jitter threshold value and the second packet loss rate is lower than a second packet loss rate threshold value, improving the gear of the audio and video experience quality.
In one embodiment, a system for selecting a backbone network in real-time audio and video transmission is further provided, and the system comprises a user terminal, and the user terminal is provided with the device shown in fig. 3.
In one embodiment, a computing device is also provided that includes a processor and a memory. The memory stores computer instructions. The processor executes the computer instructions stored by the memory, causing the computing device to perform the method illustrated in fig. 2.
In one embodiment, a computer program product is also provided. The computer program product includes computer instructions that instruct a computing device to perform the method illustrated in fig. 2.
In the various embodiments of the present application described above, all or part of the implementation may be implemented by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable medium to another computer readable medium, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
The above-mentioned embodiments, objects, technical solutions and advantages of the present application are further described in detail, it should be understood that the above-mentioned embodiments are only examples of the present application, and are not intended to limit the scope of the present application, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present application should be included in the scope of the present application.

Claims (25)

1.一种在音视频实时传输中选择骨干网的方法,所述方法由用户终端执行,其特征在于,包括:1. a method for selecting a backbone network in the real-time transmission of audio and video, the method is executed by a user terminal, and is characterized in that, comprising: 根据播放所述音视频的媒体引擎在实时传输网络上传输所述音视频时的当前音视频体验质量,查询第一对应表,获取与所述当前音视频体验质量对应的第一音视频体验质量,其中所述音视频体验质量用于表示用户对音视频的体验质量,在所述第一对应表中被划分为多个档位,所述第一对应表用于记录实时传输网络切换到对等式网络时各个档位下音视频体验质量对应关系,所述第一音视频体验质量为对应切换到对等式网络后的音视频体验质量;According to the current audio and video quality of experience when the media engine playing the audio and video transmits the audio and video on the real-time transmission network, query the first correspondence table to obtain the first audio and video experience quality corresponding to the current audio and video quality of experience , wherein the audio and video experience quality is used to represent the user's experience quality of audio and video, and is divided into multiple gears in the first correspondence table, and the first correspondence table is used to record the real-time transmission network switching to pairing The corresponding relationship between the audio and video experience quality under each gear in the equation network, and the first audio and video experience quality is the audio and video experience quality after the corresponding switch to the peer-to-peer network; 根据所述第一音视频体验质量,查询第二对应表,获取与所述第一音视频体验质量对应的第一链路服务质量,其中所述第一链路服务质量用于表示传输音视频的骨干网的链路通信质量,所述第二对应表用于记录音视频体验质量与链路服务质量的对应关系;According to the first audio and video quality of experience, query the second correspondence table to obtain the first link service quality corresponding to the first audio and video quality of experience, where the first link service quality is used to indicate the transmission of audio and video The link communication quality of the backbone network, the second correspondence table is used to record the corresponding relationship between the audio and video experience quality and the link service quality; 获取所述对等式网络的当前链路服务质量;obtaining the current link quality of service of the peer-to-peer network; 根据所述第一链路服务质量,确定所述当前链路服务质量是否达标;According to the quality of service of the first link, determine whether the quality of service of the current link meets the standard; 当确定所述当前链路服务质量达标时,将所述音视频切换到所述对等式网络上传输。When it is determined that the service quality of the current link reaches the standard, the audio and video are switched to the peer-to-peer network for transmission. 2.根据权利要求1所述的方法,其特征在于,在将所述音视频切换到所述对等式网络上传输之前,还包括:2. The method according to claim 1, wherein before switching the audio and video to transmission on the peer-to-peer network, further comprising: 当确定所述当前链路服务质量达标时,将所述媒体引擎的音视频体验质量设置为所述第一音视频体验质量。When it is determined that the quality of service of the current link meets the standard, the audio and video experience quality of the media engine is set to the first audio and video experience quality. 3.根据权利要求1所述的方法,其特征在于,所述根据播放所述音视频的媒体引擎在实时传输网络上传输所述音视频时的当前音视频体验质量,查询第一对应表,获取与所述当前音视频体验质量对应的第一音视频体验质量之前,还包括:3. method according to claim 1, is characterized in that, described according to the current audio and video quality of experience when the media engine that plays described audio and video transmits described audio and video on real-time transmission network, inquires the first correspondence table, Before acquiring the first audio and video experience quality corresponding to the current audio and video experience quality, the method further includes: 根据起始呼叫所述对等式网络的呼叫时间,确定启播所述音视频的网络中的骨干网。The backbone network in the network that starts broadcasting the audio and video is determined according to the call time for starting the call to the peer-to-peer network. 4.根据权利要求3所述的方法,其特征在于,所述根据起始呼叫所述对等式网络的呼叫时间,确定启播所述音视频的网络中的骨干网,具体包括:4. The method according to claim 3, characterized in that, determining the backbone network in the network that starts broadcasting the audio and video according to the call time for starting the call to the peer-to-peer network, specifically comprising: 当所述呼叫时间大于第一时间阈值时,确定所述骨干网为实时传输网络;When the call time is greater than the first time threshold, determining that the backbone network is a real-time transmission network; 当所述呼叫时间小于所述第一时间阈值时,确定所述骨干网为对等式网络。When the call time is less than the first time threshold, it is determined that the backbone network is a peer-to-peer network. 5.根据权利要求4所述的方法,其特征在于,在确定启播所述音视频的网络中的骨干网之后,所述方法还包括:根据所确定的骨干网,在所述网络上传输音视频,并将所述媒体引擎的音视频体验质量设置为预定的初始音视频体验质量,以使得所述网络中的接入网能够顺利启播所述音视频。5. The method according to claim 4, wherein after determining the backbone network in the network that starts broadcasting the audio and video, the method further comprises: transmitting data on the network according to the determined backbone network audio and video, and set the audio and video experience quality of the media engine to a predetermined initial audio and video experience quality, so that the access network in the network can start broadcasting the audio and video smoothly. 6.根据权利要求1-5任一项所述的方法,其特征在于,所述将所述音视频切换到所述对等式网络上传输之后,还包括:6 . The method according to claim 1 , wherein after switching the audio and video to the peer-to-peer network for transmission, the method further comprises: 6 . 测量所述对等式网络的第一时延抖动和/或第一丢包率;measuring the first delay jitter and/or the first packet loss rate of the peer-to-peer network; 根据所述第一时延抖动和/或所述第一丢包率,改变所述媒体引擎的音视频体验质量的档位。According to the first delay jitter and/or the first packet loss rate, the audio and video experience quality level of the media engine is changed. 7.根据权利要求6所述的方法,其特征在于,所述根据所述第一时延抖动和/或所述第一丢包率,改变所述媒体引擎的音视频体验质量的档位,具体包括:7. The method according to claim 6, characterized in that, according to the first time delay jitter and/or the first packet loss rate, changing the audio and video quality of experience of the media engine, Specifically include: 当所述第一时延抖动高于第一时延抖动阈值或所述第一丢包率高于第一丢包率阈值时,降低所述音视频体验质量的档位;When the first delay jitter is higher than the first delay jitter threshold or the first packet loss rate is higher than the first packet loss rate threshold, reducing the level of the audio and video experience quality; 当所述第一时延抖动低于所述第一时延抖动阈值且所述第一丢包率低于所述第一丢包率阈值时,提高所述音视频体验质量的档位。When the first delay jitter is lower than the first delay jitter threshold and the first packet loss rate is lower than the first packet loss rate threshold, the level of the audio and video experience quality is improved. 8.根据权利要求1-5任一项所述的方法,其特征在于,所述将所述音视频切换到所述对等式网络上传输之后,还包括:8. The method according to any one of claims 1-5, wherein after switching the audio and video to the peer-to-peer network for transmission, the method further comprises: 当所述媒体引擎在所述对等式网络上传输所述音视频时的音视频体验质量低于预定的切换实时传输网络的切换阈值时,获取所述网络中的接入网的网络质量;When the quality of experience of the audio and video when the media engine transmits the audio and video on the peer-to-peer network is lower than a predetermined switching threshold for switching the real-time transmission network, acquiring the network quality of the access network in the network; 当确定所述接入网的网络质量未影响所述音视频体验质量时,获取预定的切换实时传输网络后的第二音视频体验质量;When it is determined that the network quality of the access network does not affect the audio and video quality of experience, acquiring a predetermined second audio and video quality of experience after switching the real-time transmission network; 将所述媒体引擎的音视频体验质量设置为所述第二音视频体验质量;Setting the audio and video quality of experience of the media engine to the second audio and video quality of experience; 将所述音视频切换到所述实时传输网络上传输。Switching the audio and video to the real-time transmission network for transmission. 9.根据权利要求8所述的方法,其特征在于,所述将所述音视频切换到所述实时传输网络上传输之后,还包括:9. The method according to claim 8, wherein after the audio and video are switched to be transmitted on the real-time transmission network, the method further comprises: 测量所述实时传输网络的第二时延抖动和/或第二丢包率;measuring the second delay jitter and/or the second packet loss rate of the real-time transmission network; 根据所述第二时延抖动和/或所述第二丢包率,改变所述媒体引擎的音视频体验质量的档位。According to the second delay jitter and/or the second packet loss rate, the audio and video experience quality level of the media engine is changed. 10.根据权利要求9所述的方法,其特征在于,所述根据所述第二时延抖动和/或所述第二丢包率,改变所述媒体引擎的音视频体验质量的档位,具体包括:10. The method according to claim 9, wherein, according to the second time delay jitter and/or the second packet loss rate, the audio and video quality of experience quality of the media engine is changed, Specifically include: 当所述第二时延抖动高于第二时延抖动阈值或所述第二丢包率高于第二丢包率阈值时,降低所述音视频体验质量的档位;When the second delay jitter is higher than the second delay jitter threshold or the second packet loss rate is higher than the second packet loss rate threshold, reducing the level of the audio and video experience quality; 当所述第二时延抖动低于第二时延抖动阈值且所述第二丢包率低于第二丢包率阈值时,提高所述音视频体验质量的档位。When the second delay jitter is lower than the second delay jitter threshold and the second packet loss rate is lower than the second packet loss rate threshold, the level of the audio and video experience quality is improved. 11.根据权利要求1-5任一项所述的方法,其特征在于,所述音视频体验质量还包括视频平均意见得分,其中所述视频平均意见得分根据视频质量、操作体验和播放体验确定,用于反应用户的主观视频体验。11. The method according to any one of claims 1-5, wherein the audio and video experience quality further comprises a video average opinion score, wherein the video average opinion score is determined according to video quality, operation experience and playback experience , which is used to reflect the user's subjective video experience. 12.一种在音视频实时传输中选择骨干网的装置,所述装置设置于用户终端中,其特征在于,包括:12. A device for selecting a backbone network in the real-time transmission of audio and video, the device is arranged in a user terminal, and is characterized in that, comprising: 第一获取单元,所述第一获取单元配置为:根据播放所述音视频的媒体引擎在实时传输网络上传输所述音视频时的当前音视频体验质量,查询第一对应表,获取与所述当前音视频体验质量对应的第一音视频体验质量,其中所述音视频体验质量用于表示用户对音视频的体验质量,在所述第一对应表中被划分为多个档位,所述第一对应表用于记录实时传输网络切换到对等式网络时各个档位下音视频体验质量对应关系,所述第一音视频体验质量为对应切换到对等式网络后的音视频体验质量;The first obtaining unit, the first obtaining unit is configured to: query the first correspondence table according to the current audio and video experience quality when the media engine that plays the audio and video transmits the audio and video on the real-time transmission network, and obtains the first correspondence table. The first audio and video experience quality corresponding to the current audio and video experience quality, wherein the audio and video experience quality is used to represent the user's experience quality of audio and video, and is divided into multiple gears in the first correspondence table, so The first correspondence table is used to record the corresponding relationship between the audio and video quality of experience in each gear when the real-time transmission network is switched to the peer-to-peer network, and the first audio and video quality of experience corresponds to the audio and video experience after switching to the peer-to-peer network. quality; 第二获取单元,所述第二获取单元配置为:根据所述第一音视频体验质量,查询第二对应表,获取与所述第一音视频体验质量对应的第一链路服务质量,其中所述第一链路服务质量用于表示传输音视频的骨干网的链路通信质量,所述第二对应表用于记录音视频体验质量与链路服务质量的对应关系;A second obtaining unit, the second obtaining unit is configured to: query a second correspondence table according to the first audio and video quality of experience, and obtain a first link service quality corresponding to the first audio and video quality of experience, wherein The first link quality of service is used to represent the link communication quality of the backbone network for transmitting audio and video, and the second correspondence table is used to record the corresponding relationship between the audio and video experience quality and the link service quality; 第三获取单元,所述第三获取单元配置为:获取所述对等式网络的当前链路服务质量;a third obtaining unit, the third obtaining unit is configured to: obtain the current link quality of service of the peer-to-peer network; 第一确定单元,所述第一确定单元配置为:根据所述第一链路服务质量,确定所述当前链路服务质量是否达标;a first determination unit, where the first determination unit is configured to: determine whether the current link service quality meets the standard according to the first link service quality; 第一切换单元,所述第一切换单元配置为:当确定所述当前链路服务质量达标时,将所述音视频切换到所述对等式网络上传输。A first switching unit, where the first switching unit is configured to: when it is determined that the quality of service of the current link is up to standard, switch the audio and video to the peer-to-peer network for transmission. 13.根据权利要求12所述的装置,其特征在于,所述装置还包括:13. The apparatus of claim 12, wherein the apparatus further comprises: 第一设置单元,所述第一设置单元配置为:当确定所述当前链路服务质量达标时,将所述媒体引擎的音视频体验质量设置为所述第一音视频体验质量。A first setting unit, where the first setting unit is configured to: when it is determined that the quality of service of the current link meets the standard, set the audio and video experience quality of the media engine to the first audio and video experience quality. 14.根据权利要求12所述的装置,其特征在于,所述装置还包括:14. The apparatus of claim 12, wherein the apparatus further comprises: 第二确定单元,所述第二确定单元配置为:根据起始呼叫所述对等式网络的呼叫时间,确定启播所述音视频的网络中的骨干网。A second determining unit, the second determining unit is configured to: determine the backbone network in the network that starts broadcasting the audio and video according to the call time of the initiating call to the peer-to-peer network. 15.根据权利要求14所述的装置,其特征在于,所述第二确定单元具体包括:15. The apparatus according to claim 14, wherein the second determining unit specifically comprises: 第一确定模块,所述第一确定模块配置为:当所述呼叫时间大于第一时间阈值时,确定所述骨干网为实时传输网络;a first determination module, the first determination module is configured to: when the call time is greater than a first time threshold, determine that the backbone network is a real-time transmission network; 第二确定模块,所述第二确定模块配置为:当所述呼叫时间小于所述第一时间阈值时,确定所述骨干网为对等式网络。A second determination module, the second determination module is configured to: when the call time is less than the first time threshold, determine that the backbone network is a peer-to-peer network. 16.根据权利要求15所述的装置,其特征在于,所述装置还包括:第二设置单元,所述第二设置单元配置为:根据所确定的骨干网,在所述网络上传输音视频,并将所述媒体引擎的音视频体验质量设置为预定的初始音视频体验质量,以使得所述网络中的接入网能够顺利启播所述音视频。16. The device according to claim 15, wherein the device further comprises: a second setting unit, the second setting unit is configured to: transmit audio and video on the network according to the determined backbone network , and set the audio and video experience quality of the media engine to a predetermined initial audio and video experience quality, so that the access network in the network can start broadcasting the audio and video smoothly. 17.根据权利要求12-16任一项所述的装置,其特征在于,所述装置还包括:17. The device according to any one of claims 12-16, wherein the device further comprises: 第一测量单元,所述第一测量单元配置为:测量所述对等式网络的第一时延抖动和/或第一丢包率;a first measurement unit, the first measurement unit is configured to: measure the first delay jitter and/or the first packet loss rate of the peer-to-peer network; 第一改变单元,所述第一改变单元配置为:根据所述第一时延抖动和/或所述第一丢包率,改变所述媒体引擎的音视频体验质量的档位。A first changing unit, where the first changing unit is configured to: change the level of the audio and video experience quality of the media engine according to the first delay jitter and/or the first packet loss rate. 18.根据权利要求17所述的装置,其特征在于,所述第一改变单元具体包括:18. The apparatus according to claim 17, wherein the first changing unit specifically comprises: 第一降低模块,所述第一降低模块配置为:当所述第一时延抖动高于第一时延抖动阈值或所述第一丢包率高于第一丢包率阈值时,降低所述音视频体验质量的档位;A first reduction module, the first reduction module is configured to: when the first delay jitter is higher than the first delay jitter threshold or the first packet loss rate is higher than the first packet loss rate threshold, reduce the Describe the level of audio and video experience quality; 第一提高模块,所述第一提高模块配置为:当所述第一时延抖动低于所述第一时延抖动阈值且所述第一丢包率低于所述第一丢包率阈值时,提高所述音视频体验质量的档位。a first improvement module, the first improvement module is configured to: when the first delay jitter is lower than the first delay jitter threshold and the first packet loss rate is lower than the first packet loss rate threshold , the gear for improving the audio and video experience quality. 19.根据权利要求12-16任一项所述的装置,其特征在于,所述装置还包括:19. The device according to any one of claims 12-16, wherein the device further comprises: 第四获取单元,所述第四获取单元配置为:当所述媒体引擎在所述对等式网络上传输所述音视频时的音视频体验质量低于预定的切换实时传输网络的切换阈值时,获取所述网络中的接入网的网络质量;a fourth obtaining unit, the fourth obtaining unit is configured to: when the quality of experience of the audio and video when the media engine transmits the audio and video on the peer-to-peer network is lower than a predetermined switching threshold for switching the real-time transmission network , obtain the network quality of the access network in the network; 第五获取单元,所述第五获取单元配置为:当确定所述接入网的网络质量未影响所述音视频体验质量时,获取预定的切换实时传输网络后的第二音视频体验质量;a fifth obtaining unit, the fifth obtaining unit is configured to: when it is determined that the network quality of the access network does not affect the audio and video quality of experience, obtain a predetermined second audio and video quality of experience after switching the real-time transmission network; 第三设置单元,所述第三设置单元配置为:将所述媒体引擎的音视频体验质量设置为所述第二音视频体验质量;A third setting unit, the third setting unit is configured to: set the audio and video experience quality of the media engine to the second audio and video experience quality; 第二切换单元,所述第二切换单元配置为:将所述音视频切换到所述实时传输网络上传输。A second switching unit, the second switching unit is configured to: switch the audio and video to the real-time transmission network for transmission. 20.根据权利要求19所述的装置,其特征在于,所述装置还包括:20. The apparatus of claim 19, wherein the apparatus further comprises: 第二测量单元,所述第二测量单元配置为:测量所述实时传输网络的第二时延抖动和/或第二丢包率;a second measurement unit, where the second measurement unit is configured to: measure the second delay jitter and/or the second packet loss rate of the real-time transmission network; 第二改变单元,所述第二改变单元配置为:根据所述第二时延抖动和/或所述第二丢包率,改变所述媒体引擎的音视频体验质量的档位。A second changing unit, where the second changing unit is configured to: change the level of the audio and video experience quality of the media engine according to the second delay jitter and/or the second packet loss rate. 21.根据权利要求20所述的装置,其特征在于,所述第二改变单元具体包括:21. The apparatus according to claim 20, wherein the second changing unit specifically comprises: 第二降低模块,所述第二降低模块配置为:当所述第二时延抖动高于第二时延抖动阈值或所述第二丢包率高于第二丢包率阈值时,降低所述音视频体验质量的档位;A second reduction module, the second reduction module is configured to: when the second delay jitter is higher than the second delay jitter threshold or the second packet loss rate is higher than the second packet loss rate threshold, reduce the Describe the level of audio and video experience quality; 第二提高模块,所述第二提高模块配置为:当所述第二时延抖动低于第二时延抖动阈值且所述第二丢包率低于第二丢包率阈值时,提高所述音视频体验质量的档位。A second improvement module, the second improvement module is configured to: when the second delay jitter is lower than the second delay jitter threshold and the second packet loss rate is lower than the second packet loss rate threshold, increase the Indicates the audio and video experience quality level. 22.根据权利要求12-16任一项所述的装置,其特征在于,所述音视频体验质量还包括视频平均意见得分,其中所述视频平均意见得分根据视频质量、操作体验和播放体验确定,用于反应用户的主观视频体验。22. The device according to any one of claims 12-16, wherein the audio and video experience quality further comprises a video average opinion score, wherein the video average opinion score is determined according to video quality, operation experience and playback experience , which is used to reflect the user's subjective video experience. 23.一种在音视频实时传输中选择骨干网的系统,其特征在于,所述系统包括用户终端,所述用户终端上设置有权利要求12-22任一项所述的装置。23. A system for selecting a backbone network in real-time audio and video transmission, wherein the system comprises a user terminal, and the user terminal is provided with the device according to any one of claims 12-22. 24.一种计算设备,其特征在于,所述计算设备包括处理器和存储器;24. A computing device, characterized in that the computing device comprises a processor and a memory; 所述存储器,用于存储计算机指令;the memory for storing computer instructions; 所述处理器,用于执行所述存储器存储的计算机指令,使得所述计算设备执行权利要求1至11任一项所述的方法。The processor for executing computer instructions stored in the memory to cause the computing device to perform the method of any one of claims 1 to 11. 25.一种计算机存储介质,其特征在于,所述计算机存储介质上存储有计算机指令,所述计算机指令指示计算设备执行权利要求1至11任一项所述的方法。25. A computer storage medium, wherein computer instructions are stored on the computer storage medium, and the computer instructions instruct a computing device to execute the method according to any one of claims 1 to 11.
CN201910717087.7A 2019-08-05 2019-08-05 A method, device and system for selecting backbone network in real-time audio and video transmission Active CN110536093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910717087.7A CN110536093B (en) 2019-08-05 2019-08-05 A method, device and system for selecting backbone network in real-time audio and video transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910717087.7A CN110536093B (en) 2019-08-05 2019-08-05 A method, device and system for selecting backbone network in real-time audio and video transmission

Publications (2)

Publication Number Publication Date
CN110536093A CN110536093A (en) 2019-12-03
CN110536093B true CN110536093B (en) 2021-08-13

Family

ID=68661560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910717087.7A Active CN110536093B (en) 2019-08-05 2019-08-05 A method, device and system for selecting backbone network in real-time audio and video transmission

Country Status (1)

Country Link
CN (1) CN110536093B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223262B (en) * 2011-05-20 2013-08-14 同济大学 Evaluation platform and method of quality of experience of video based on QoS
CN102802089B (en) * 2012-09-13 2014-12-31 浙江大学 Shifting video code rate regulation method based on experience qualitative forecast
CN103718532A (en) * 2013-03-26 2014-04-09 华为技术有限公司 A data transmission method, device and terminal equipment
CN105306867A (en) * 2014-06-05 2016-02-03 掌赢信息科技(上海)有限公司 Method, device and system for improving end-to-end video transmission quality
US10594785B2 (en) * 2016-03-11 2020-03-17 Intel Corporation Transitioning from an infrastructure based wireless connection to a peer to peer (P2P) wireless connection

Also Published As

Publication number Publication date
CN110536093A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
US10911506B2 (en) Methods for quality-aware adaptive streaming over hypertext transfer protocol and reporting quality of experience
US8780960B2 (en) Adjustment of transmission data rate based on data errors and/or latency
US7002992B1 (en) Codec selection to improve media communication
EP3127285B1 (en) Method and systems for optimizing bandwidth utilization in a multi-participant full mesh peer-to-peer video session
CN105765925B (en) Method for distributing available bandwidth of a network among ongoing traffic sessions run by network devices and corresponding device
CN103763505A (en) Method and device suitable for screen direction switching in video call
CN102710963A (en) Method and system for adjusting video quality of video stream
CN115209189B (en) Video stream transmission method, system, server and storage medium
CN111617466B (en) Encoding format determination method, device and implementation method of cloud game
KR20110137093A (en) Method and device for playing recorded content in wireless communication system
CN101662508B (en) Method for data transmission based on point-to-point protocol, device and system thereof
US20130028115A1 (en) Combining p2p and server-based conferencing
CN110536093B (en) A method, device and system for selecting backbone network in real-time audio and video transmission
CN107659853B (en) A kind of adaptive stream media live streaming control system
KR100739172B1 (en) Video transmission method of mobile terminal using pseudo streaming technology
US11997366B2 (en) Method and apparatus for processing adaptive multi-view streaming
US9654533B2 (en) Method of adaptively delivering media based on reception status information from media client and apparatus using the same
CN101771550A (en) Method, device and system for acquiring media content in P2P network
JP2009088970A (en) Moving picture distribution system, subscriber line termination device, moving picture distribution method, moving picture distribution program, and storage medium
CN110113641A (en) Transmission method, device, edge service node and the medium of video data
CN105393533A (en) Method, apparatus and network media system for playing multiple media contents
US20250233906A1 (en) Media stream transmission method and apparatus, electronic device, and storage medium
CN118803313A (en) Data transmission method, device, equipment and product based on real-time network
KR102088294B1 (en) Method for delivering adaptive media based on received status information from media client and apparatus using thereof
CN120811952A (en) Method for determining communication service quality reference

Legal Events

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