Communication quality adaptive adjustment method, device and system

By monitoring the signal quality and packet loss rate and dynamically adjusting the video transmission parameters, the video service quality problems caused by signal changes and packet loss rate are solved, and the video transmission stability and fluency in various signal scenarios are achieved.

CN119094507APending Publication Date: 2024-12-06SHENZHEN ZTE TRUNKING TECH CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411034640.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

In scenarios with changes in signal quality and high packet loss rate, the existing technology is difficult to effectively solve the problems of mosaic, screen and lag in video images in video services. Especially in the environment of unstable signal, the RTCP mechanism cannot effectively solve the data. Video transmission delay and quality degradation caused by packet loss.

Method used

Adaptive adjustment method of communication quality is adopted, and the video resolution, frame rate and code rate are dynamically adjusted by monitoring signal quality and packet loss rate, and appropriate alternative communication solutions are selected to optimize video transmission parameters to ensure the stability and smoothness of video services. sex.

Benefits of technology

It effectively avoids lag and screen dissipation in the video service, improves the user experience, and ensures the quality and reliability of video transmission in various signal scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094507A_ABST
    Figure CN119094507A_ABST
Patent Text Reader

Abstract

The invention discloses a communication quality adaptive adjustment method, device and system, and solves the problems of video blurred screen, mosaic and lagging caused by signal quality change and packet loss. The communication quality adaptive adjustment method comprises the following steps: a calling terminal sends a call request and a first alternative communication scheme; the called terminal receives the call request and the first alternative communication scheme; the called terminal determines a second alternative communication scheme; comparing the first alternative communication scheme with the second alternative communication scheme; selecting one alternative communication scheme included in the first alternative communication scheme and the second alternative communication scheme as an actual communication scheme, acquiring signal quality by the calling terminal and the called terminal according to a preset period, and updating the alternative communication scheme; and comparing the updated first alternative communication scheme with the second alternative communication scheme, and updating the actual communication scheme. According to the invention, the monitoring user carries out packet loss detection on the received RTP stream to obtain the downlink packet loss rate, and adaptive adjustment of the video parameters is carried out according to the packet loss rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device and system for adaptively adjusting communication quality. Background Art

[0002] With the continuous development of trunking communication technology and the trend of wireless communication digital transformation technology, customers need to be able to not only hear but also see when using the B-TrunC system for business, so that they can respond immediately. Therefore, there are more and more scenarios that require multimedia business forms and background command and dispatch, so customers have higher and higher requirements for B-TrunC video services, and they need to be able to better, quickly and accurately respond to various emergencies.

[0003] When the B-TrunC system performs video services, it mainly involves video uploading, backhauling, video scheduling, video monitoring, video conversations, etc., all of which use video images, requiring the video images to be clearer, smoother, and more timely, and the bandwidth of cluster communication is required to be wider and wider; therefore, in some mountainous areas, corridors, parking lots, ferries, subways, forests, fires, earthquake sites, or network signal congestion, etc., the cluster communication base station is often out of range, resulting in the cluster communication signal is often not very good, which will cause video image mosaics, flower screens, black screens, delays, etc. during video transmission.

[0004] Currently, the following prior arts exist:

[0005] The Real-time Transport Protocol (RTP) uses sip---->RTP---->UDP transmission (UDP: a method of directly sending encapsulated IP data packets without establishing a connection), so the reliable transmission of data packets cannot be guaranteed. Therefore, the Real-time Transport Control Protocol (RTCP) is used in conjunction with it. RTCP is specifically used to transmit quality information; that is, if the signal is not good in some cases, the called end will check the RTCP packet and detect the transmission of the data packet. If a packet loss is found, the retransmission mechanism will be enabled to let the calling sender resend a new data packet. This method is used to solve the various mosaic and screen distortion phenomena caused by the loss of video data packets.

[0006] However, in some scenarios where the signal is unstable, the RTCP quality information packet is lost along with the data packet at the called end, so the RTCP mechanism cannot solve this dilemma. In the scenario where the signal is very good, when the terminal services fully occupy the bandwidth of the base station, the video call will be very stuck and mosaic, because the video data packet is lost, so the RTCP mechanism cannot solve this dilemma either.

[0007] In order to solve the problem of poor signal at a certain location, resulting in video packet loss, there is also a transmission based on sip---->RTP---->TCP. TCP is a transmission protocol designed to provide reliable end-to-end byte stream on an unreliable Internet network. It ensures the correctness of each bit in the data stream through timeout detection and retransmission mechanism; (completed by TCP protocol).

[0008] In order to solve the problem of data packet loss in scenarios with poor signals, the TCP transmission protocol is used. This solution brings about the following problems: the video image received by the called party is severely delayed, sometimes even for several minutes, and the called party cannot respond immediately.

[0009] Therefore, a solution is needed to solve the problems of video screen distortion, mosaic and freeze caused by video data packet loss by adaptively adjusting video-related parameters in various signal scenarios as long as the signal quality changes and the packet loss rate reach the trigger threshold (affecting video services). Summary of the invention

[0010] The embodiments of the present application provide a method, device and system for adaptively adjusting communication quality, which solve the problems of video distorted screen, mosaic and freeze caused by signal quality changes and packet loss.

[0011] In a first aspect, an embodiment of the present application provides a communication quality adaptive adjustment method for a calling end, comprising the steps of:

[0012] Acquire the current signal quality of the calling end and determine at least one first alternative communication scheme; the communication scheme includes video quality and / or audio quality;

[0013] sending a call request and a first alternative communication scheme;

[0014] Determine the actual communication plan and establish communications;

[0015] Acquire the signal quality of the calling party according to a preset period and update the first alternative communication solution;

[0016] The updated first candidate communication plan is sent, and the actual communication plan is updated.

[0017] In one embodiment, determining the actual communication scheme comprises the steps of:

[0018] receiving the actual communication plan;

[0019] or,

[0020] receiving a second alternative communication scheme;

[0021] The first alternative communication scheme and the second alternative communication scheme are compared; and an alternative communication scheme included in both the first alternative communication scheme and the second alternative communication scheme is selected as the actual communication scheme.

[0022] In a second aspect, the embodiment of the present application further provides a communication quality adaptive adjustment method for a called party, comprising the steps of:

[0023] receiving a call request and / or a first alternative communication scheme;

[0024] Acquire the current signal quality of the called party and determine at least one second alternative communication scheme; the communication scheme includes video quality and / or audio quality;

[0025] Sending a second alternative communication plan, receiving an actual communication plan, and establishing communication;

[0026] or,

[0027] Comparing the first alternative communication scheme with the second alternative communication scheme; selecting an alternative communication scheme included in both the first alternative communication scheme and the second alternative communication scheme as the actual communication scheme, and establishing communication;

[0028] After establishing communication, it also includes the following steps:

[0029] Acquire the signal quality of the called party according to a preset period and update the second alternative communication solution;

[0030] An updated second alternative communication scheme is sent, the updated first alternative communication scheme is compared with the second alternative communication scheme, and the actual communication scheme is updated.

[0031] In one embodiment, determining the first alternative communication scheme or the second alternative communication scheme specifically comprises the steps of:

[0032] Determining a plurality of signal quality thresholds; different signal quality thresholds correspond to different first alternative communication schemes or second alternative communication schemes;

[0033] The current signal quality of the calling end or the called end is determined, and in response to the current signal quality being greater than a certain quality threshold, the first alternative communication scheme or the second alternative communication scheme includes all alternative communication schemes whose quality is lower than the quality threshold.

[0034] In one of the embodiments, the communication scheme is video quality, and the manner of changing the communication scheme includes adjusting the video resolution, adjusting the video frame rate and / or adjusting the video bit rate.

[0035] In a third aspect, the embodiment of the present application further provides a communication quality adaptive adjustment method for a server, comprising the steps of:

[0036] receiving a call request and a first alternative communication scheme; the communication scheme includes video quality and / or audio quality;

[0037] Sending a call request and receiving a second alternative communication solution;

[0038] Comparing the first alternative communication scheme with the second alternative communication scheme; selecting an alternative communication scheme included in both the first alternative communication scheme and the second alternative communication scheme as the actual communication scheme;

[0039] Sending actual communication plans;

[0040] An updated first alternative communication scheme and a second alternative communication scheme are received and compared, and an actual communication scheme is updated and sent.

[0041] In a fourth aspect, an embodiment of the present application further provides a communication quality adaptive adjustment device, which is used to implement the communication quality adaptive adjustment method described in any one of the embodiments of the first aspect, and includes: a calling end determination module, which is used to obtain the current signal quality of the calling end; it is also used to determine at least one first alternative communication scheme; the communication scheme includes video quality and / or audio quality; it is also used to obtain the calling end signal quality according to a preset period and update the first alternative communication scheme. A calling end sending module, which is used to send a call request and a first alternative communication scheme; it is also used to send an updated first alternative communication scheme. A calling end receiving module, which is used to receive an actual communication scheme; it is also used to receive an updated actual communication scheme.

[0042] In the fifth aspect, the embodiment of the present application also provides a communication quality adaptive adjustment device, which is used to implement the communication quality adaptive adjustment method described in the embodiment of the second aspect, including: a called-end receiving module, which is used to receive a call request and / or a first alternative communication scheme; and is also used to receive an actual communication scheme. A called-end determination module, which is used to obtain the current signal quality of the called end and determine at least one second alternative communication scheme; the communication scheme includes video quality and / or audio quality; and is also used to obtain the called-end signal quality according to a preset period and update the second alternative communication scheme. A called-end sending module, which is used to send the second alternative communication scheme; and is also used to send an updated second alternative communication scheme, update and send the actual communication scheme.

[0043] In a sixth aspect, an embodiment of the present application further provides a communication quality adaptive adjustment system, comprising the communication quality adaptive adjustment device described in any one of the embodiments of the fourth and fifth aspects.

[0044] In the seventh aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any embodiment of the first aspect or the second aspect.

[0045] In an eighth aspect, an embodiment of the present application further 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 computer program, the method described in any embodiment of the first aspect or the second aspect is implemented.

[0046] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:

[0047] This application uses the monitoring user to detect packet loss on the received RTP stream to obtain the downlink packet loss rate, and adaptively adjusts the video parameters according to the packet loss rate. At the same time, it also monitors the signal quality changes of the call location in real time, initiates media negotiation based on the changes in signal quality, and reselects the video resolution for video service use; the above is a complete adaptive adjustment of video parameters, which can avoid freezes, screen distortion and other phenomena, and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0049] Figure 1 This is a flow chart of a communication quality adaptive adjustment method according to an embodiment of the present application;

[0050] Figure 2 This is a schematic diagram of the resolution groups carried by each signal quality in the embodiment of the present application;

[0051] Figure 3 This is another flow chart of a method for adaptively adjusting communication quality according to an embodiment of the present application;

[0052] Figure 4 A flow chart for determining an alternative communication solution for an embodiment of the present application;

[0053] Figure 5 This is a schematic diagram of the video parameter adjustment position in the embodiment of the present application;

[0054] Figure 6 This is a schematic diagram of the HD resolution adaptive adjustment strategy of the embodiment of the present application;

[0055] Figure 7 This is a schematic diagram of the D1 resolution adaptive adjustment strategy of the embodiment of the present application;

[0056] Figure 8 This is a schematic diagram of a VGA resolution adaptive adjustment strategy according to an embodiment of the present application;

[0057] Fig. 9 This is a schematic diagram of the CIF resolution adaptive adjustment strategy of the embodiment of the present application;

[0058] Fig.10 This is a schematic diagram of an adaptive adjustment strategy in an HD call according to an embodiment of the present application;

[0059] Fig.11 This is a schematic diagram of the adaptive adjustment strategy in the D1 call of the embodiment of the present application;

[0060] Fig.12 This is a schematic diagram of the adaptive adjustment strategy in a VGA call according to an embodiment of the present application;

[0061] Fig.13 This is a schematic diagram of the adaptive adjustment strategy in CIF call according to an embodiment of the present application;

[0062] Fig.14 This is a structural diagram of a communication quality adaptive adjustment system according to an embodiment of the present application;

[0063] Fig.15 This is another structural diagram of a communication quality adaptive adjustment system according to an embodiment of the present application;

[0064] Fig.16 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0066] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0067] Figure 1 This is a flow chart of a communication quality adaptive adjustment method according to an embodiment of the present application, which only includes a calling end and a called end, and includes steps: 110 to 170.

[0068] Step 110: The calling end obtains the current signal quality and determines at least one first alternative communication scheme; the communication scheme includes video quality and / or audio quality;

[0069] When we need to communicate, we first check the signal quality of the current call location.

[0070] There are many rules for judging and dividing signal quality.

[0071] For example, the communication industry provides a detailed explanation of the signal quality parameter testing requirements and standards;

[0072] Signal quality parameter standards for the communications industry:

[0073] Excellent signal: -85dBm <RSRP,25<SINR;

[0074] Good signal: -85dBm≤RSRP<-95dBm, 16≤SINR<25;

[0075] Signal: -95dBm≤RSRP<-105dBm, 11≤SINR<16;

[0076] Signal difference: -115dBm≤RSRP<-105dBm, 3≤SINR<11;

[0077] Very poor signal: RSRP <-115dBm, SINR <3;

[0078] The calling end carries the video resolution group according to the signal level for media negotiation;

[0079] The media negotiation refers to the negotiation between the calling end and the called end on the parameters used for encoding and decoding in a single call, which are usually the same parameters. The single call media negotiation can be determined by the network or the called end.

[0080] When the terminal acts as a single caller, it provides one or more sets of media parameters supported by this call to the cluster core network as candidates, and uses one set of parameters returned by the cluster core network as the media negotiation result.

[0081] When the terminal is called as a single call, it takes the intersection of one or more sets of media parameters received according to its own capabilities, and selects one set of parameters from the intersection to send to the cluster core network; if there is no intersection, the terminal uses the default minimum supported media parameter configuration and sends it to the cluster core network.

[0082] Different signal quality levels carry different video resolution groups, which can be described according to the following rules;

[0083] For example, Figure 2 As shown, the calling end itself supports video resolutions HD, D1, VGA, and CIF; the above HD, D1, VGA, and CIF are the first alternative communication solutions.

[0084] Based on the signal quality, the resolutions that the terminal can carry can be combined as follows:

[0085] The signal quality is excellent, and the calling end carries a combination of video resolutions HD, D1, VGA, and CIF;

[0086] The signal quality is good, and the calling end carries a combination of video resolutions HD, D1, VGA, and CIF;

[0087] In the signal quality, the calling end carries a combination of video resolutions D1, VGA, and CIF;

[0088] The signal quality is poor, and the calling party carries a combination of VGA and CIF video resolutions;

[0089] The signal quality is extremely poor, and the calling party carries the video resolution CIF;

[0090] Step 120: The calling end sends a call request and a first alternative communication solution to the called end;

[0091] Step 130: The called party obtains the current signal quality of the called party and determines at least one second alternative communication scheme; the communication scheme includes video quality and / or audio quality;

[0092] The way in which the called end determines the second alternative communication solution is the same as the way in which the calling end obtains the first alternative communication solution.

[0093] Step 140: compare the first alternative communication scheme and the second alternative communication scheme; select an alternative communication scheme included in both the first alternative communication scheme and the second alternative communication scheme as the actual communication scheme, and establish communication;

[0094] For example, when a call is initiated, the signal quality of the trunking communication network at the calling location is obtained; based on the signal quality level, the calling party carries the corresponding video resolution combination, and according to the B-TrunC standard for establishing a video call, the resolution at the intersection of the calling parties is selected as the resolution for the video service through media negotiation.

[0095] For another example, the maximum resolution among the intersection of video resolutions is used as the resolution of the video service.

[0096] During a video call, the calling or called end updates the video resolution group carried by the calling or called end according to the change in the signal quality level, re-initiates a media negotiation request, and through media negotiation, selects the largest video resolution in the intersection of the two parties for the video call service. The video resolution group is a collection of video resolutions that can be supported by the network signal quality of the calling or called end.

[0097] For example, when we use the B-TrunC video service, the calling party will carry the corresponding video resolution combination according to the above rules based on the signal quality of the call location, and then decide the resolution of the final video call service through media negotiation when the conversation is established. Figure 3 Four situations are handled.

[0098] In one embodiment, the calling end determines the actual communication plan, including the steps of:

[0099] receiving an actual communication plan; or receiving a second alternative communication plan;

[0100] The first alternative communication scheme and the second alternative communication scheme are compared; and an alternative communication scheme included in both the first alternative communication scheme and the second alternative communication scheme is selected as the actual communication scheme.

[0101] In this embodiment, the calling end directly communicates with the called end, and the first alternative communication scheme and the second alternative communication scheme can be at the network end or at the called end.

[0102] If the comparison between the first alternative communication scheme and the second alternative communication scheme occurs on the network side, the network side receives the second alternative communication scheme of the called side and compares it with the first alternative communication scheme of the calling side to obtain the actual communication scheme, which is then sent to both the calling side and the called side;

[0103] Compared with the first alternative communication scheme and the second alternative communication scheme occurring at the called end, the calling end only needs to wait for receiving the actual communication scheme after sending the first alternative communication scheme.

[0104] Step 150: The calling end and the called end obtain the calling end signal quality or the called end signal quality according to a preset period, and update the first alternative communication scheme or the second alternative communication scheme;

[0105] Step 160: The calling end sends the updated first alternative communication solution to the called end;

[0106] Step 170: Compare the updated first alternative communication solution with the second alternative communication solution, and update the actual communication solution.

[0107] Figure 3 This is another flow chart of a method for adaptively adjusting communication quality according to an embodiment of the present application, which includes a calling end, a called end and a server end, and includes steps: 210 to 2110.

[0108] Step 210: The calling end obtains the current signal quality and determines at least one first alternative communication scheme; the communication scheme includes video quality and / or audio quality;

[0109] Step 220: the calling end sends a call request and a first alternative communication scheme to the server end; the communication scheme includes video quality and / or audio quality;

[0110] Step 230: The server sends a call request to the called party.

[0111] Step 240: The called party obtains the current signal quality and determines at least one second alternative communication scheme; the communication scheme includes video quality and / or audio quality;

[0112] Step 250: the called end sends a second alternative communication solution to the server end;

[0113] Step 260: The server compares the first alternative communication scheme with the second alternative communication scheme; and selects an alternative communication scheme included in both the first alternative communication scheme and the second alternative communication scheme as the actual communication scheme;

[0114] Step 270: The server sends an actual communication plan;

[0115] Step 280: The calling end and the called end determine an actual communication plan and establish communication;

[0116] Step 290: The calling end and the called end obtain the signal quality of the calling end or the called end according to a preset period, and update and send the first alternative communication scheme or the second alternative communication scheme;

[0117] Step 2100: The server receives and compares the updated first alternative communication solution and the second alternative communication solution, and updates the actual communication solution.

[0118] Step 2110: The server sends an updated actual communication plan.

[0119] In one embodiment, if Figure 4 As shown, determining the first alternative communication scheme or the second alternative communication scheme specifically includes steps: 310-320.

[0120] Step 310: determining a plurality of signal quality thresholds; different signal quality thresholds correspond to different first alternative communication schemes or second alternative communication schemes;

[0121] Step 320: determine the current signal quality of the calling end or the called end, and in response to the current signal quality being greater than a certain quality threshold, the first alternative communication scheme or the second alternative communication scheme includes all alternative communication schemes below the quality threshold.

[0122] For example, during a video call, the calling party or the called party respectively carries a video resolution group that meets the quality of its own network signal, and by initiating media negotiation, selects the largest video resolution in the intersection of the two parties for the video call service. The video resolution group is a collection of video resolutions that can be supported by the network signal quality of the calling party or the called party, that is, the first alternative communication scheme or the second alternative communication scheme includes all alternative communication schemes below the quality threshold.

[0123] In one of the embodiments, the communication scheme is video quality, and the manner of changing the communication scheme includes adjusting the video resolution, adjusting the video frame rate and / or adjusting the video bit rate.

[0124] In this application, by detecting the signal value, packet loss rate, etc. of B-TrunC in various video service scenarios and reaching the preset threshold, the resolution, compression bit rate and frame rate of the video images collected by the calling and called parties are modified to ensure the normal use of the video images.

[0125] Since the signal radiation range of the base station is limited, the signal will drop, the bit error rate and packet loss rate will increase, and the base station throughput will decrease in basements, corridors, base station signal congestion, or base station bandwidth is full. Then, more video data cannot be sent. At this time, the video call will inevitably have screen distortion, mosaics, and freezes. Therefore, the video data volume can be optimized and its video quality can be improved by adjusting video-related parameters.

[0126] like Figure 5 As shown, during a video call, this application improves the size of video data by modifying the three parameters of video resolution, frame rate, and bit rate. These three parameters can be adjusted in any combination.

[0127] For example, an embodiment of the present application is explained in the order of first adjusting the video resolution, then adjusting the bit rate, and finally adjusting the frame rate.

[0128] To change the resolution:

[0129] For example, during the B-TrunC call establishment process, based on the results of media negotiation, both parties use consistent video resolution parameters to conduct video services;

[0130] If the video resolution is changed during a B-TrunC call, it means that the signal quality of one party in the video call has changed. Then, according to the B-TrunC standard, another media negotiation is initiated to renegotiate a new resolution for the video call service.

[0131] The method to change the resolution is to call the B-TrunC application APK to stop the preview, then reset the new preview resolution parameters, execute the update command, update to the camera module, and then start the preview. Then the camera framework layer will crop the corresponding resolution data and give it to the B-TrunC data acquisition end, thereby realizing the switching between different resolutions.

[0132] Another example is how to change the frame rate:

[0133] After B-TrunC obtains the video data output by the camera, it is directly transmitted to Figure 5 In the data processing function of the filter module of "MSAndroidVideoCapture", a dynamic frame rate control function is added to this data processing function to realize dynamic control of the frame rate.

[0134] For example, the frame rate is controlled as follows:

[0135] The camera module continuously outputs 30 frames of video data to B-TrunC, so the interval between frames is 1000ms / 30=33.3ms; if B-TrunC now wants to control the frame rate to 15 frames per second, the interval between frames is 1000ms / 15=66.7ms; so when the camera outputs 30 frames, B-TrunC only needs to take the even-numbered frames or the odd-numbered frames, thus realizing the change of frame rate (the same applies to other frame rates).

[0136] For example, the method to modify the bit rate:

[0137] The method of changing the encoder encoding rate is similar to changing the resolution. You can directly obtain the current bit rate, then stop encoding, set a new bit rate, and restart encoding.

[0138] For example, the downlink packet loss rate calculation method is:

[0139] When the video service is enabled, the relevant data transmitted by the called party through RTP can be received and its downlink packet loss rate can be calculated. The key data transmitted by RTP are as follows.

[0140] The socket extension sequence number (hwrcv_extseq) increases from the first one sent to the completion of the RTCP packet construction.

[0141] The variable (hwrcv_since_last_SR) is incremented by 1 for each RTP packet received and cleared to 0 after the RTCP report is constructed.

[0142] The packet loss rate is equal to: the number of received RTP packets / (maximum extended sequence number - initial extended sequence number).

[0143] It should be noted that in the process of improving video data, the packet loss rate changes, preferably by adjusting the bit rate and frame rate to change the video quality, and the signal quality changes, preferably by adjusting the resolution to change the video quality. Therefore, it is necessary to monitor the packet loss rate and signal quality.

[0144] The video quality adaptive adjustment strategy includes: video quality adjustment from high to low:

[0145] For example, during a B-TrunC video service, if the location of the calling (called) end changes (network signal deteriorates), the base station signal is congested, etc., resulting in more and more video distortion, mosaics, and freezes, the video data size can be reduced in a timely manner to reduce the pressure on network transmission and reduce video data packet loss, thus ensuring the normal operation of the video service.

[0146] When initiating a call, video calls with different resolutions are initiated based on the media negotiation results:

[0147] For example, when initiating a HD video resolution call: (video single call)

[0148] You can Figure 6 As shown, to understand its regulatory process;

[0149] Condition 1: The call location signal quality is excellent or good;

[0150] Condition 2: Send HD resolution video, and do not process other resolutions;

[0151] Condition 3: Based on the downlink packet loss rate, the following situations are handled:

[0152] If the packet loss rate is extremely low, for example, within the range of 0-3%, the adopted strategy does not need to be adjusted.

[0153] If the packet loss rate is low, such as in the range of 3%-20%, the strategy adopted is to adjust the bit rate to 3 / 4.

[0154] After changing the bitrate to 3 / 4, continue to check the packet loss rate:

[0155] If the packet loss rate is low, such as less than 5%, no adjustment is made and this round of adjustment ends.

[0156] If the packet loss rate is high, for example, greater than 5%, the frame rate is adjusted to 24 frames.

[0157] If the packet loss rate is high, such as in the range of 20%-100%, the strategy adopted is to adjust the bit rate to 1 / 2;

[0158] After changing the bit rate to 1 / 2, continue to check the packet loss rate:

[0159] If the packet loss rate is low, such as less than 5%, no adjustment is made and this round of adjustment ends.

[0160] If the packet loss rate is high, for example, greater than 5%, the frame rate is adjusted to 24 frames, ending this round of adjustment.

[0161] For another example, when initiating a D1 video resolution call: (video single call)

[0162] You can Figure 7 As shown, to understand its regulatory process;

[0163] Condition 1: The call location signal quality is excellent, good, or medium.

[0164] Condition 2: Send D1 resolution video, and do not process other resolutions.

[0165] Condition 3: Based on the packet loss rate, the following situations are handled:

[0166] If the packet loss rate is extremely low, such as within the range of 0-3%, the adopted strategy does not need to be adjusted.

[0167] If the packet loss rate is low, such as within the range of 3%-20%, the strategy is to adjust the bit rate to 3 / 4. After changing the bit rate to 3 / 4, continue to check the packet loss rate:

[0168] If the packet loss rate is low, such as less than 5%, no adjustment is made and this round of adjustment ends.

[0169] If the packet loss rate is high, for example, greater than 5%, the frame rate is adjusted to 24 frames.

[0170] If the packet loss rate is high, such as 20%-100%, the strategy is to adjust the bit rate to 1 / 2. After changing the bit rate to 1 / 2, continue to check the packet loss rate:

[0171] If the packet loss rate is low, for example, less than 5%, no adjustment is made and this round of adjustment ends;

[0172] If the packet loss rate is high, for example, greater than 5%, the frame rate is adjusted to 24 frames, ending this round of adjustment.

[0173] Initiating VGA video resolution: (video single call)

[0174] You can Figure 8 As shown, the regulation process is understood.

[0175] Condition 1: The call location signal quality is excellent, good, medium, or poor.

[0176] Condition 2: Send VGA resolution video, and do not process other resolutions.

[0177] Condition 3: Based on the packet loss rate, the following situations are handled:

[0178] If the packet loss rate is extremely low, such as within the range of 0-3%, the adopted strategy does not need to be adjusted;

[0179] If the packet loss rate is low, such as within the range of 3%-20%, the strategy is to adjust the bit rate to 3 / 4. After changing the bit rate to 3 / 4, continue to check the packet loss rate:

[0180] If the packet loss rate is low, such as less than 5%, no adjustment is made and this round of adjustment ends.

[0181] If the packet loss rate is high, for example, greater than 5%, the frame rate is adjusted to 24 frames.

[0182] If the packet loss rate is high, such as 20%-100%, the strategy is to adjust the bit rate to 1 / 2. After changing the bit rate to 1 / 2, continue to check the packet loss rate:

[0183] If the packet loss rate is low, such as less than 5%, no adjustment is made and this round of adjustment ends.

[0184] If the packet loss rate is high, for example, greater than 5%, the frame rate is adjusted to 24 frames, ending this round of adjustment.

[0185] Initiating CIF video resolution: (video single call)

[0186] You can Fig. 9 As shown, to understand its regulatory process;

[0187] Condition 1: The call location signal is excellent, good, medium, poor, or extremely poor.

[0188] Condition 2: Send CIF resolution video, and do not process other resolutions.

[0189] Condition 3: Based on the packet loss rate, the following situations are handled:

[0190] If the packet loss rate is extremely low, such as within the range of 0-3%, then the adopted strategy does not need to be adjusted;

[0191] If the packet loss rate is low, such as in the range of 3%-20%, then the strategy is to adjust the bit rate to 3 / 4;

[0192] After changing the bitrate to 3 / 4, continue to check the packet loss rate:

[0193] If the packet loss rate is low, such as less than 5%, no adjustment is made and this round of adjustment ends.

[0194] If the packet loss rate is high, for example, greater than 5%, the frame rate is adjusted to 24 frames, ending this round of adjustment.

[0195] If the packet loss rate is high, such as in the range of 20%-100%, then the strategy adopted is to adjust the bit rate by 1 / 2;

[0196] After changing the bit rate to 1 / 2, continue to check the packet loss rate:

[0197] If the packet loss rate is low, such as less than 5%, no adjustment is made and this round of adjustment ends.

[0198] If the packet loss rate is high, for example, greater than 5%, the frame rate is adjusted by 20 frames, ending this round of adjustment.

[0199] The video quality adaptive adjustment strategy also includes: adjusting the video quality from low to high.

[0200] When the packet loss rate is very low during video services, the video quality can be adaptively adjusted from low to high to achieve the best video display effect.

[0201] The adaptive adjustment process is as follows:

[0202] For example, HD resolution is used for video services in video calls: (video single call)

[0203] You can Fig.10 As shown, understand its regulatory process;

[0204] Condition 1: The signal quality of the location is excellent or good during video service.

[0205] Condition 2: Adjust according to different rules for the current HD resolution.

[0206] Condition 3: Based on the packet loss rate, the following situations are handled:

[0207] For video services with medium resolution HD, check the downlink packet loss rate:

[0208] The packet loss rate is high: for example, if it is greater than 1%, then the strategy adopted is not to make adjustments.

[0209] If the packet loss rate is extremely low, for example, within the range of 0-1%, then the strategy is to adjust the video bit rate to full (HD).

[0210] After adjusting the HD video bit rate, continue to check the downlink packet loss rate:

[0211] If the packet loss rate is high: for example, greater than 20%, the strategy is to adjust back to the pre-HD bit rate.

[0212] If the packet loss rate is low, for example, within the range of 1% to 20%, then the strategy adopted is not to make adjustments.

[0213] If the packet loss rate is extremely low, for example, within the range of 0-1%, the strategy adopted is to adjust the video frame rate to 30fps.

[0214] After adjusting the HD video frame rate to 30fps, continue to check the downlink packet loss rate:

[0215] If the packet loss rate is high: for example, greater than 20%, the strategy is to adjust back to the frame rate before HD.

[0216] If the packet loss rate is low, for example, within the range of 1% to 20%, then the strategy adopted is not to make adjustments.

[0217] For example, in a video call, D1 resolution is used for video services: (video single call)

[0218] You can Fig.11 As shown, understand its regulatory process;

[0219] Condition 1: The signal quality of the location is excellent, good, or medium during video service.

[0220] Condition 2: Adjust according to different rules for the current D1 resolution.

[0221] Condition 3: Based on the packet loss rate, the following situations are handled:

[0222] For video services with medium resolution D1, check the downlink packet loss rate:

[0223] The packet loss rate is high: for example, if it is greater than 1%, then the strategy adopted is not to make adjustments.

[0224] If the packet loss rate is extremely low, for example, within the range of 0-1%, then the strategy adopted is to adjust the video bit rate to full (D1).

[0225] After adjusting the D1 video bit rate, continue to check the downlink packet loss rate.

[0226] If the packet loss rate is high: for example, greater than 20%, the strategy is to adjust back to the bit rate before D1.

[0227] If the packet loss rate is low, for example, within the range of 1% to 20%, then the strategy adopted is not to make adjustments.

[0228] If the packet loss rate is extremely low, for example, within the range of 0-1%, the strategy adopted is to adjust the video frame rate to 30fps.

[0229] After adjusting the D1 video frame rate to 30fps, continue to check the downlink packet loss rate:

[0230] If the packet loss rate is high: for example, greater than 20%, the strategy is to adjust back to the frame rate before D1.

[0231] If the packet loss rate is low, for example, within the range of 1% to 20%, then the strategy adopted is not to make adjustments.

[0232] For another example, a video call uses VGA resolution for video services: (video single call)

[0233] You can Fig.12 As shown, the regulation process is understood.

[0234] Condition 1: The signal quality of the location is excellent, good, medium, or poor during video service.

[0235] Condition 2: Adjust according to different rules for the current VGA resolution.

[0236] Condition 3: Based on the packet loss rate, the following situations are handled:

[0237] For video services with medium resolution VGA, check the downlink packet loss rate:

[0238] The packet loss rate is high: for example, if it is greater than 1%, then the strategy adopted is not to make adjustments.

[0239] If the packet loss rate is extremely low, for example, within the range of 0-1%, then the strategy is to adjust the video bit rate to full (VGA).

[0240] After adjusting the VGA video bit rate, continue to check the downlink packet loss rate:

[0241] If the packet loss rate is high: for example, greater than 20%, the strategy is to adjust back to the previous VGA bit rate.

[0242] If the packet loss rate is low, for example, within the range of 1% to 20%, then the strategy adopted is not to make adjustments.

[0243] If the packet loss rate is extremely low, for example, within the range of 0-1%, the strategy adopted is to adjust the video frame rate to 30fps.

[0244] After adjusting the VGA video frame rate to 30fps, continue to check the downlink packet loss rate:

[0245] If the packet loss rate is high: for example, greater than 20%, the strategy is to adjust back to the previous VGA frame rate.

[0246] If the packet loss rate is low, for example, within the range of 1% to 20%, then the strategy adopted is not to make adjustments.

[0247] For another example, CIF resolution is used for video services in video calls: (video single call)

[0248] You can Fig.13 As shown, to understand its regulatory process;

[0249] Condition 1: During video service, the signal quality at the location is excellent, good, medium, poor, or extremely poor.

[0250] Condition 2: Adjust according to different rules for the current CIF resolution.

[0251] Condition 3: Based on the packet loss rate, the following situations are handled:

[0252] For video services with medium resolution CIF, check the downlink packet loss rate:

[0253] The packet loss rate is high: for example, if it is greater than 1%, then the strategy adopted is not to make adjustments.

[0254] If the packet loss rate is extremely low, for example, within the range of 0-1%, then the strategy is to adjust the video bit rate to full (CIF).

[0255] After adjusting the CIF video bit rate, continue to check the downlink packet loss rate:

[0256] If the packet loss rate is high: for example, greater than 20%, the strategy is to adjust back to the previous bit rate of CIF.

[0257] If the packet loss rate is low, for example, within the range of 1% to 20%, then the strategy adopted is not to make adjustments.

[0258] If the packet loss rate is extremely low, for example, within the range of 0-1%, the strategy adopted is to adjust the video frame rate to 30fps.

[0259] After adjusting the CIF video frame rate to 30 fps, continue to check the downlink packet loss rate.

[0260] If the packet loss rate is high: for example, greater than 20%, the strategy is to adjust back to the frame rate before CIF.

[0261] If the packet loss rate is low, for example, within the range of 1% to 20%, then the strategy adopted is not to make adjustments.

[0262] When performing video services, if screen distortion, mosaics, and freezes occur, preferably, the video quality is first adjusted from high to low, and then adjusted from low to high for further optimization.

[0263] Fig.14 This is a structural diagram of a communication quality adaptive adjustment system according to an embodiment of the present application, including:

[0264] The calling end determination module 1 is used to obtain the current signal quality of the calling end; it is also used to determine at least one first alternative communication scheme; the communication scheme includes video quality and / or audio quality; it is also used to obtain the calling end signal quality according to a preset period and update the first alternative communication scheme.

[0265] The calling end sending module 2 is used to send a call request and a first alternative communication solution; and is also used to send an updated first alternative communication solution.

[0266] The calling end receiving module 3 is used to receive the actual communication plan; and is also used to receive an updated actual communication plan.

[0267] The called-end receiving module 4 is used to receive a call request and / or a first alternative communication solution; and is also used to receive an actual communication solution.

[0268] The called end determination module 5 is used to obtain the current signal quality of the called end and determine at least one second alternative communication scheme; the communication scheme includes video quality and / or audio quality; and is also used to obtain the called end signal quality according to a preset period and update the second alternative communication scheme.

[0269] The called terminal sending module 6 is used to send the second alternative communication solution; it is also used to send an updated second alternative communication solution, and update and send the actual communication solution.

[0270] In one embodiment, if Fig.15 As shown, it also includes: a server-side receiving module 7, which is used to receive a call request and a first alternative communication scheme; and is also used to receive a second alternative communication scheme;

[0271] The server-side determination module 8 is used to compare the first alternative communication scheme with the second alternative communication scheme; and select an alternative communication scheme included in both the first alternative communication scheme and the second alternative communication scheme as the actual communication scheme;

[0272] The server-side sending module 9 is used to send a call request and also to send an actual communication solution.

[0273] It will be appreciated by those skilled in the art that embodiments of the present invention may provide methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0274] Therefore, the present application also proposes a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method described in any embodiment of the present application is implemented.

[0275] Furthermore, the present application also proposes an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in any embodiment of the present application when executing the computer program.

[0276] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0277] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0278] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0279] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0280] Fig.16 600 is a structural diagram of an electronic device provided in an embodiment of the present application. The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiment of the present application. It includes: one or more processors 620; a storage device 610, which is used to store one or more programs. When the one or more programs are run by the one or more processors 620, the one or more processors 620 implement the communication quality adaptive adjustment method in the embodiment of the present application.

[0281] The electronic device 600 further includes an input device 630 and an output device 640; the processor 620, storage device 610, input device 630 and output device 640 in the electronic device can be connected via a bus or other means, and the figure takes the connection via a bus 650 as an example.

[0282] The storage device 610, as a computer-readable storage medium, can be used to store software programs, computer executable programs, and module units, such as program instructions corresponding to the method for determining the cloud bottom height in the embodiment of the present application. The storage device 610 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to the use of the terminal, etc. In addition, the storage device 610 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the storage device 610 may further include a memory remotely arranged relative to the processor 620, and these remote memories may be connected via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0283] The input device 630 may be used to receive input numbers, character information or voice information, and generate key signal input related to user settings and function control of the electronic device. The output device 640 may include electronic devices such as a display screen and a speaker.

[0284] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0285] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A communication quality adaptive adjustment method, used for a calling end, characterized in that: Includes steps: Acquire the current signal quality of the calling party and determine at least one first alternative communication solution; The communication scheme includes video quality and / or audio quality; sending a call request and a first alternative communication scheme; Determine the actual communication plan and establish communications; Acquire the signal quality of the calling party according to a preset period and update the first alternative communication solution; The updated first candidate communication plan is sent, and the actual communication plan is updated.

2. The communication quality adaptive adjustment method according to claim 1, characterized in that: Determine the actual communication plan, including the following steps: receiving the actual communication plan; or, receiving a second alternative communication scheme; The first alternative communication scheme and the second alternative communication scheme are compared; and an alternative communication scheme included in both the first alternative communication scheme and the second alternative communication scheme is selected as the actual communication scheme.

3. A communication quality adaptive adjustment method, used for a called end, characterized in that: Includes steps: receiving a call request and / or a first alternative communication scheme; Obtaining the current signal quality of the called party and determining at least one second alternative communication solution; The communication scheme includes video quality and / or audio quality; Sending a second alternative communication plan, receiving an actual communication plan, and establishing communication; or, Comparing the first alternative communication scheme with the second alternative communication scheme; selecting an alternative communication scheme included in both the first alternative communication scheme and the second alternative communication scheme as the actual communication scheme, and establishing communication; After establishing communication, it also includes the following steps: Acquire the signal quality of the called party according to a preset period and update the second alternative communication solution; An updated second alternative communication scheme is sent, the updated first alternative communication scheme is compared with the second alternative communication scheme, and the actual communication scheme is updated.

4. The communication quality adaptive adjustment method according to any one of claims 1 to 3, characterized in that: Determining a first alternative communication scheme or a second alternative communication scheme specifically comprises the steps of: Determining a plurality of signal quality thresholds; different signal quality thresholds correspond to different first alternative communication schemes or second alternative communication schemes; The current signal quality of the calling end or the called end is determined, and in response to the current signal quality being greater than a certain quality threshold, the first alternative communication scheme or the second alternative communication scheme includes all alternative communication schemes whose quality is lower than the quality threshold.

5. The communication quality adaptive adjustment method according to any one of claims 1 to 3, characterized in that: The communication scheme is video quality, and the manner of changing the communication scheme includes adjusting video resolution, adjusting video frame rate and / or adjusting video bit rate.

6. A communication quality adaptive adjustment method, used on a server side, characterized in that: Contains steps: receiving a call request and a first alternative communication scheme; The communication scheme includes video quality and / or audio quality; Sending a call request and receiving a second alternative communication solution; Comparing the first alternative communication scheme with the second alternative communication scheme; selecting an alternative communication scheme included in both the first alternative communication scheme and the second alternative communication scheme as the actual communication scheme; Sending actual communication plans; An updated first alternative communication scheme and a second alternative communication scheme are received and compared, and an actual communication scheme is updated and sent.

7. A communication quality adaptive adjustment device, characterized in that: The method for implementing the communication quality adaptive adjustment method according to claim 1 or 2 comprises: The calling end determination module is used to obtain the current signal quality of the calling end; and is also used to determine at least one first alternative communication scheme; the communication scheme includes video quality and / or audio quality; and is also used to obtain the calling end signal quality according to a preset period and update the first alternative communication scheme; The calling end sending module is used to send a call request and a first alternative communication solution; and is also used to send an updated first alternative communication solution; The calling end receiving module is used to receive the actual communication plan; and is also used to receive an updated actual communication plan.

8. A communication quality adaptive adjustment device, characterized in that: The method for implementing the communication quality adaptive adjustment method according to claim 3 comprises: The called-end receiving module is used to receive the call request and / or the first alternative communication solution; and is also used to receive the actual communication solution; A called terminal determination module, used to obtain the current signal quality of the called terminal and determine at least one second alternative communication solution; The communication scheme includes video quality and / or audio quality; and is also used to obtain the called terminal signal quality according to a preset period and update the second alternative communication scheme; The called party sending module is used to send the second alternative communication solution; it is also used to send the updated second alternative communication solution, update and send the actual communication solution.

9. A communication quality adaptive adjustment system, comprising the communication quality adaptive adjustment device according to claims 7 and 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

11. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.