CN116471458A - Video call method, device and storage medium - Google Patents

Video call method, device and storage medium Download PDF

Info

Publication number
CN116471458A
CN116471458A CN202310300922.3A CN202310300922A CN116471458A CN 116471458 A CN116471458 A CN 116471458A CN 202310300922 A CN202310300922 A CN 202310300922A CN 116471458 A CN116471458 A CN 116471458A
Authority
CN
China
Prior art keywords
video
terminal
video call
quality
communication quality
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.)
Pending
Application number
CN202310300922.3A
Other languages
Chinese (zh)
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.)
Wuhan Xingji Meizu Technology Co ltd
Original Assignee
Wuhan Xingji Meizu Technology 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 Wuhan Xingji Meizu Technology Co ltd filed Critical Wuhan Xingji Meizu Technology Co ltd
Priority to CN202310300922.3A priority Critical patent/CN116471458A/en
Publication of CN116471458A publication Critical patent/CN116471458A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64784Data processing by the network
    • H04N21/64792Controlling the complexity of the content stream, e.g. by dropping packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4621Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present disclosure relates to a video call method, apparatus, and storage medium, the method comprising: monitoring the communication quality of the video call at a first terminal of the video call; determining that the communication quality is lower than a first preset quality; reducing the data amount of the first video data; and sending the first video data to a second terminal participating in the video call. According to the method and the device, the communication quality of the video call is monitored at the first terminal of the video call, when the communication quality is lower than the first preset quality, the communication quality is determined to be lower, the data size of the first video data to be sent is reduced, the first video data with the reduced data size is sent to the second terminal participating in the video call, the data size required to be transmitted in the video call process can be actively reduced when the communication quality is lower, so that the smoothness of the video call is improved, and the call experience of a user is improved.

Description

Video call method, device and storage medium
Technical Field
The disclosure relates to the technical field of terminals, and in particular relates to a video call method, video call equipment and a storage medium.
Background
With the continuous development of terminals and communication technologies, video call gradually becomes an important contact way in people's life, however, in the process of video call, communication quality often receives the restriction of network quality, if the network condition is relatively poor, the video data packet that sends is great, and the video that the opposite side received will have problems such as picture blocking, mosaic, display quality low, perhaps appears even green, has seriously influenced user's conversation experience, so how to make video call more smooth, it is the technical problem that needs to solve to promote user's conversation experience.
Disclosure of Invention
In order to solve the technical problems, the present disclosure provides a video call method, a device and a storage medium.
A first aspect of an embodiment of the present disclosure provides a video call method, including:
monitoring the communication quality of the video call at a first terminal of the video call;
determining that the communication quality is lower than a first preset quality;
reducing the data amount of the first video data;
and sending the first video data to a second terminal participating in the video call.
A second aspect of the embodiments of the present disclosure provides a computer device, including a memory and a processor, and a computer program, where the memory stores the computer program, and when the computer program is executed by the processor, implements the video call method as described in the first aspect.
A third aspect of the embodiments of the present disclosure provides a computer-readable storage medium in which a computer program is stored which, when executed by a processor, implements a video call method as described above in the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
in the video call method, the video call device and the storage medium provided by the embodiment of the disclosure, the communication quality of the video call is monitored by the first terminal of the video call, when the communication quality is lower than the first preset quality, the communication quality is determined to be lower, the data volume of the first video data to be sent is reduced, and the first video data with the reduced data volume is sent to the second terminal participating in the video call, so that when the communication quality is lower and the call experience is poorer, the data volume required to be transmitted in the video call process is actively reduced, the load pressure transmitted by the receiving and transmitting ends is reduced, the picture smoothness is improved, and the call experience of a user is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, the drawings that are required for the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a flowchart of a video call method provided in an embodiment of the present disclosure;
FIG. 2 is a flow chart of a method of monitoring communication quality provided by an embodiment of the present disclosure;
FIG. 3 is a flow chart of another method of monitoring communication quality provided by an embodiment of the present disclosure;
FIG. 4 is a flow chart of yet another method of monitoring communication quality provided by an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a video frame according to an embodiment of the disclosure;
FIG. 6 is a flow chart of a method of reducing the amount of video data provided by an embodiment of the present disclosure;
FIG. 7 is a flow chart of another method of reducing the amount of video data provided by an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, a further description of aspects of the present disclosure will be provided below. It should be noted that, without conflict, the embodiments of the present disclosure and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced otherwise than as described herein; it will be apparent that the embodiments in the specification are only some, but not all, embodiments of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
Fig. 1 is a flowchart of a video call method provided in an embodiment of the disclosure, which may be performed by an electronic device. As shown in fig. 1, the video call method provided in this embodiment includes the following steps:
s101, monitoring the communication quality of the video call at a first terminal of the video call.
The first terminal in the embodiments of the present disclosure may be understood as a terminal device of a participant in a video call, which has a communication function, a video capturing function, and a display function, and by way of example, the first terminal may include a mobile phone, an electronic computer, and the like, which is not limited herein.
The communication quality in the embodiments of the present disclosure may be understood as the fluency of a video call,
in the embodiment of the disclosure, the electronic equipment can monitor the communication quality of the video call in real time.
In an exemplary implementation manner of the embodiment of the disclosure, the electronic device may obtain a current signal strength of a first terminal participating in the video call, and determine a communication quality of the video call according to the signal strength. By way of example, the electronic device may obtain the signal strength of the device in real time via a modem in the first terminal.
S102, determining that the communication quality is lower than a first preset quality.
The first preset quality in the embodiments of the present disclosure may be understood as a preset critical value of the smoothness of the video call, and when the preset critical value is lower, the smoothness of the video call is considered to be worse.
In the embodiment of the disclosure, after obtaining the communication quality of the video call, the electronic device may compare the communication quality with a first preset quality, and determine that the current communication quality is lower than the first preset quality.
In an exemplary implementation manner of the embodiment of the present disclosure, after acquiring the current signal strength of the first terminal, the electronic device may compare the current signal strength with a preset signal strength, and if the current signal strength is lower than the preset signal strength, determine that the current communication quality is lower than the first preset quality.
S103, reducing the data quantity of the first video data.
The first video data in the embodiments of the present disclosure may be understood as local video data transmitted to an object of a video call.
In the embodiment of the disclosure, when determining that the current communication quality is lower than the first preset quality, the electronic device may determine that the current communication quality is poor, and needs to reduce the data amount of the first video data sent to the second terminal participating in the video call.
In an exemplary implementation of the disclosed embodiment, the electronic device may reduce the resolution of the first video data to reduce the data amount of the first video data when it is determined that the current communication quality is lower than the first preset quality. Specifically, a negotiation request may be sent to a second terminal participating in a video call, the resolution of the first video data sent to the other party may be reduced, and after negotiation is successful, the resolution of the first video data may be reduced.
S104, the first video data is sent to a second terminal participating in the video call.
The second terminal in the embodiment of the present disclosure may be understood as a terminal device having a communication function, a video capturing and displaying function, which is an object of a video call, and the second terminal may also include a mobile phone, an electronic computer, and the like, which is not limited herein.
In the embodiment of the disclosure, when determining that the data amount of the transmitted video data needs to be reduced, the electronic device may transmit the first video data after the data amount is reduced to the second terminal.
According to the method and the device for monitoring the communication quality of the video call at the first terminal of the video call, the communication quality is determined to be lower than the first preset quality, the data size of the first video data is reduced, the first video data is sent to the second terminal participating in the video call, when the communication quality is monitored to be lower than the first preset quality, the communication quality is determined to be lower, the data size of the video data sent to the second terminal in the video call process is actively reduced, the load pressure transmitted by the receiving end and the transmitting end is reduced, so that the picture smoothness is improved, and the call experience of a user is improved.
Fig. 2 is a flowchart of a method for monitoring communication quality according to an embodiment of the present disclosure, and as shown in fig. 2, on the basis of the above embodiment, communication quality may be monitored by the following method.
S201, determining that the communication mode of the first terminal is a time division duplex mode.
In the time division duplex mode, the uplink channel and the downlink channel share the same channel, and at some moments, the channel can be used as the downlink channel to receive data sent by the opposite terminal, and at other moments, the channel can be used as the uplink channel to send data to the opposite terminal.
In the embodiment of the disclosure, the electronic device may acquire a communication mode of a frequency band used for communication, and determine that the communication mode is a time division duplex mode.
S202, monitoring a first parameter of a downlink channel, wherein the first parameter comprises at least one of reference signal receiving power, reference signal receiving quality and signal-to-noise ratio.
The first parameter in the embodiments of the present disclosure may be understood as a parameter for characterizing a channel quality of wireless communication, and the first parameter may include a reference signal received power, a reference signal received quality, and a signal-to-noise ratio, where the reference signal received power may be understood as an average value of subcarrier powers, the reference signal received quality may be understood as a parameter after combining signal strength and interference, and the signal-to-noise ratio may be understood as a ratio of a strength of a received useful signal to a strength of a received interference signal.
In the embodiment of the present disclosure, after determining that the communication mode is a time division duplex mode, the electronic device may obtain the quality of the uplink channel through the quality of the downlink channel by using channel reciprocity, and specifically, may monitor a first parameter including at least one of reference signal receiving power, reference signal receiving quality, and signal-to-noise ratio in the downlink channel.
S203, determining the communication quality of the video call based on the first parameter.
In the embodiment of the disclosure, after obtaining the first parameter monitoring value of the downlink channel, the electronic device may determine the channel quality of the downlink channel according to the obtained first parameter, and then determine the communication quality of the uplink channel according to the communication quality of the downlink channel based on the channel reciprocity in the time division duplex mode, thereby determining the communication quality of the video call.
According to the embodiment of the disclosure, the first parameter of the downlink channel is monitored by determining that the communication mode of the first terminal is the time division duplex mode, the first parameter comprises at least one of reference signal receiving power, reference signal receiving quality and signal to noise ratio, and the communication quality of the video call is determined based on the first parameter, so that more accurate communication quality can be obtained by monitoring at least one of the reference signal receiving power, the reference signal receiving quality and the signal to noise ratio of the downlink channel, and further, whether the data volume of the transmitted video data needs to be reduced or not is judged more accurately.
Fig. 3 is a flowchart of another method for monitoring communication quality according to an embodiment of the present disclosure, and as shown in fig. 3, on the basis of the above embodiment, communication quality may be monitored as follows.
And S301, monitoring the transmitting power of the first terminal if the communication mode of the first terminal is determined to be a frequency division duplex mode.
The frequency division duplex mode in the embodiment of the disclosure may be understood as a duplex communication mode in which data is transmitted and received through two independent frequency bands in a communication system, where an uplink channel in a first frequency band is used for transmitting data, and a downlink channel in a second frequency band is used for receiving data.
The transmission power in the embodiments of the present disclosure may be understood as the signal strength of the first terminal transmitted to the base station, where the higher the transmission power, the worse the communication quality.
In the embodiment of the disclosure, the electronic device may acquire a communication mode of a frequency band used for communication of the first terminal, and monitor a transmission power when the first terminal transmits data when determining that the communication mode is a frequency division duplex mode.
S302, determining the communication quality of the video call based on the transmission power.
In the embodiment of the disclosure, after determining the transmission power of the first terminal, the electronic device may determine the communication quality when the video call is currently performed according to the relationship between the transmission power and the communication quality.
According to the embodiment of the disclosure, the communication mode of the first terminal is determined to be the frequency division duplex mode, the transmission power of the first terminal is monitored, the communication quality of the video call is determined based on the transmission power, and the more accurate communication quality can be obtained by monitoring the transmission power of the terminal, so that more accurate judgment is performed on whether the data volume of the transmitted video data needs to be reduced.
Fig. 4 is a flow chart of yet another method of monitoring communication quality provided by an embodiment of the present disclosure. As shown in fig. 4, on the basis of the above-described embodiment, the communication quality can be monitored by the following method.
S401, sending second video data to the second terminal.
The second video data in the embodiment of the present disclosure may be understood as video data for testing a packet loss rate, and by way of example, the second video data may be any video data sent during a video call, or may be test video data for testing a packet loss rate, which is not limited herein.
In the embodiment of the disclosure, the electronic device may send the second video data to the second terminal of the video call when the communication quality of the video call needs to be monitored.
S402, receiving the video packet loss rate fed back by the second terminal.
The packet loss rate in the embodiment of the present disclosure may be understood as a ratio of the number of lost packets to the total number of transmitted packets in the data transmission process, and the video packet loss rate may be understood as a proportion of the lost video packets to the transmitted video packets in the process of transmitting the video packets.
In the embodiment of the disclosure, the electronic device may acquire information returned by the second terminal after sending the second video data to the second terminal, and extract information of the video packet loss rate from the information.
In an exemplary implementation manner of the embodiment of the present disclosure, when the electronic device controls the video call through Real-time transport control protocol (Real-time Transport Control Protocol, RTCP), a Receiver Report (RR) message returned by the second terminal is obtained, and packet loss rate information is extracted from the Receiver report, so as to obtain a video packet loss rate fed back by the second terminal.
S403, determining the communication quality of the video call based on the video packet loss rate.
In the embodiment of the disclosure, the electronic device may determine the communication quality of the video call according to the video packet loss rate after determining the video packet loss rate when the electronic device performs the video call with the second terminal through the information returned by the second terminal.
According to the embodiment of the disclosure, the second video data is sent to the second terminal, the video packet loss rate fed back by the second terminal is received, the communication quality of the video call is determined based on the video packet loss rate, and more accurate communication quality of the video call can be determined according to the packet loss rate in the video call process, so that more accurate judgment is performed on whether the data volume of the sent video data needs to be reduced or not.
In some embodiments of the present disclosure, the electronic device may reduce a sampling rate of a camera of the first terminal, so that the camera collects the first video data based on the reduced sampling rate. The sampling rate may be understood as a ratio of a size of a picture area actually collected by the camera to a size of a picture area that can be collected by the camera. Specifically, when the current communication quality is determined to be lower than the first preset quality, the electronic device can send a control instruction to the camera, change configuration parameters of the camera, reduce the sampling rate of the camera during sampling, so that the camera samples a part of picture areas based on the reduced sampling rate to obtain first video data, and can sample the part of picture areas only by reducing the sampling rate of the camera without changing the sampling density and the sampling frequency, so that the number of collected pixels is reduced, the overall size of the collected video data is reduced, and further, when the first video data with the reduced data quantity is sent to the second terminal, the load pressure transmitted at the receiving and transmitting ends is reduced, the picture smoothness is improved, and the conversation experience of a user is improved.
Fig. 5 is a schematic diagram of a video frame according to an embodiment of the disclosure. As shown in fig. 5, in the video call, the video frame 510 includes a background image 520 and a portrait 530, when the communication quality is lower than a first preset quality, in order to reduce the data amount of the first video data, the electronic device may cut the video frame 540 according to the first preset ratio to obtain a first area 550, and modify the color of the first area 550 to a default color, such as black, where the portrait 560 remains in the frame, and a portion of the background image is deleted, so as to reduce the data amount of the first video data.
Further, a specific method for reducing the amount of video data in fig. 5 may be described with reference to fig. 6, and fig. 6 is a flowchart of a method for reducing the amount of video data according to an embodiment of the present disclosure. As shown in fig. 6, on the basis of the above-described embodiment, the amount of video data can be reduced by the following method.
S601, acquiring the first video data acquired by a camera of the first terminal.
In the embodiment of the disclosure, the electronic device may first acquire the first video data acquired by the camera of the first terminal when determining that the current communication quality is lower than the first preset quality.
S602, cutting the picture of the first video data according to a first preset proportion, so that the ratio of the area of a first area obtained by cutting to the area of the picture is equal to the first preset proportion.
The first preset proportion in the embodiment of the present disclosure may be understood as a preset cutting proportion for cutting a video frame in order to reduce the data amount of video data, and a specific value of the first preset proportion may be set by itself according to needs, which may be, for example, one third of the first preset proportion, and is not limited herein.
The first area in the embodiment of the present disclosure may be understood as a part of a picture area obtained after cutting a picture of video data, and by way of example, the first area may be an area in the picture that does not include important information, and when the data amount of the video data needs to be reduced, cutting the first area from the picture will not affect normal running of the video call.
In the embodiment of the disclosure, after the electronic device acquires the first video data, the electronic device may cut the picture of the first video data according to a first preset proportion to obtain a first area with an area ratio equal to the first preset proportion.
In an exemplary implementation manner of the embodiment of the present disclosure, since people usually aim at a face at a core area in the center of a picture during a video call, when the video call is a vertical screen call, a first area may be an upper edge area and a lower edge area, and when the video call is a horizontal screen call, the first area may be a left edge area and a right edge area, and the electronic device may cut the picture of the first video data according to a first preset ratio to obtain the first area.
In an exemplary implementation manner of the embodiment of the present disclosure, the electronic device may first identify an area other than a face in the frame, select a first area with a ratio of the area to the area of the frame equal to a first preset ratio, and cut the frame.
S603, modifying the color of the first area to a default color so as to reduce the data amount of the first video data.
In this embodiment of the present disclosure, after cutting a picture of first video data, the electronic device may process the first video data, modify a color of the first area to a default color, such as black, and since the video data after color modification includes a solid-color picture, after video encoding, an overall data amount of the first video data may be reduced.
In an exemplary implementation manner of the embodiment of the disclosure, after cutting a frame of the first video data, the electronic device may perform a coloring process on a first area in the video frame, and modify the color of the area to black, so as to obtain the first video data after reducing the data amount.
According to the embodiment of the disclosure, the first video data acquired by the camera of the first terminal is acquired, the picture of the first video data is cut according to the first preset proportion, so that the ratio of the area of the first area obtained by cutting to the area of the picture is equal to the first preset proportion, the color of the first area is modified to be the default color, the data size of the first video data is reduced, the picture can be divided, the color of the first area in the picture is modified to be the default color, the whole data size of the video data is reduced, and further, when the first video data with the reduced data size is sent to the second terminal, the load pressure transmitted by the receiving and transmitting ends is reduced, the picture smoothness is improved, and the conversation experience of a user is improved.
Fig. 7 is a flowchart of a method of reducing the amount of video data provided by an embodiment of the present disclosure. As shown in fig. 7, on the basis of the above-described embodiment, the amount of video data can be reduced by the following method.
S701, determining that the communication quality is lower than a second preset quality.
The second preset quality in the embodiments of the present disclosure may be understood as a preset critical value of the smoothness of the video call, and the second preset quality is lower than the first preset quality, and when the communication quality is lower than the second preset quality critical value, the smoothness of the video call is considered to be worse.
In the embodiment of the disclosure, the electronic device may continuously monitor the communication quality of the video call, and compare the communication quality with a second preset quality to determine that the current communication quality is lower than the second preset quality.
S702, cutting the picture according to a second preset proportion, so that the ratio of the second area obtained by cutting to the area of the picture is equal to the second preset proportion.
The second preset proportion in the embodiment of the present disclosure may be understood as a preset cutting proportion for further cutting the video frame in order to further reduce the data amount of the video data, where the second preset proportion is higher than the first preset proportion, and a specific value of the second preset proportion may be set by itself according to needs, and the second preset proportion may be one half as an example, which is not limited herein.
The second area in the embodiments of the present disclosure may be understood as a part of a picture area obtained by further cutting a picture of video data.
In the embodiment of the disclosure, after determining that the communication quality is lower than the second preset quality, the electronic device may cut the frame of the first video data according to a second preset ratio to obtain a second area with an area ratio to the frame equal to the second preset ratio.
S703, modifying the color of the second area to a default color so as to reduce the data amount of the first video data, wherein the second preset quality is lower than the first preset quality, and the second preset proportion is higher than the first preset proportion.
In this embodiment of the present disclosure, after cutting a picture of first video data, the electronic device may process the first video data, and modify a color of a second area obtained by cutting to a default color, for example, black, where the video data after color modification includes a solid-color picture, and after video encoding, an overall data size of the first video data may be reduced.
According to the embodiment of the disclosure, the picture is cut according to the second preset proportion by determining that the communication quality is lower than the second preset quality, so that the ratio of the area of the cut second area to the area of the picture is equal to the second preset proportion, the color of the second area is modified into the default color, and the data size of the first video data is reduced, wherein the second preset quality is lower than the first preset quality, and the second preset proportion is higher than the first preset proportion.
In other embodiments of the present disclosure, the electronic device may increase the data amount of the video data sent to the second terminal when the communication quality is higher than a third preset quality, where the third preset quality is higher than or equal to the first preset quality. Specifically, after the electronic device sends the first video data with the reduced data volume to the second terminal, if the communication quality is monitored to be higher than the third preset quality in the process of continuously monitoring the communication quality of the video call, the data volume can be restored to the level before the reduction, and the data volume of the video data can be improved after the communication quality is improved, so that the two parties of the call can receive richer information under the premise of ensuring the smoothness of the video call, and the call experience of the user is further improved.
Fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure.
As shown in fig. 8, the computer device may include a processor 810 and a memory 820 storing computer program instructions.
In particular, the processor 810 described above may include a Central Processing Unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits of embodiments of the present application.
Memory 820 may include mass storage for information or instructions. By way of example, and not limitation, memory 820 may comprise a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, magnetic tape, or universal serial bus (Universal Serial Bus, USB) Drive, or a combination of two or more of these. Memory 820 may include removable or non-removable (or fixed) media, where appropriate. The memory 820 may be internal or external to the integrated gateway device, where appropriate. In a particular embodiment, the memory 820 is a non-volatile solid state memory. In a particular embodiment, the Memory 820 includes Read-Only Memory (ROM). The ROM may be mask-programmed ROM, programmable ROM (PROM), erasable PROM (Electrical Programmable ROM, EPROM), electrically erasable PROM (Electrically Erasable Programmable ROM, EEPROM), electrically rewritable ROM (Electrically Alterable ROM, EAROM), or flash memory, or a combination of two or more of these, where appropriate.
The processor 810 reads and executes the computer program instructions stored in the memory 820 to perform the steps of the video call method provided by the embodiments of the present disclosure.
In one example, the computer device may also include a transceiver 830 and a bus 840. In which, as shown in fig. 8, the processor 810, the memory 820 and the transceiver 830 are connected and communicate with each other through a bus 840.
Bus 840 includes hardware, software, or both. By way of example, and not limitation, the buses may include an accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics BUS, an enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) BUS, a Front Side BUS (FSB), a HyperTransport (HT) interconnect, an industry standard architecture (Industrial Standard Architecture, ISA) BUS, an InfiniBand interconnect, a Low Pin Count (LPC) BUS, a memory BUS, a micro channel architecture (Micro Channel Architecture, MCa) BUS, a peripheral control interconnect (Peripheral Component Interconnect, PCI) BUS, a PCI-Express (PCI-X) BUS, a serial advanced technology attachment (Serial Advanced Technology Attachment, SATA) BUS, a video electronics standards association local (Video Electronics Standards Association Local Bus, VLB) BUS, or other suitable BUS, or a combination of two or more of these. Bus 840 may include one or more buses, where appropriate. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
The embodiments of the present disclosure also provide a computer-readable storage medium, which may store a computer program that, when executed by a processor, causes the processor to implement the video call method provided by the embodiments of the present disclosure.
The storage medium described above may, for example, include a memory 820 of computer program instructions executable by a processor 810 of a video telephony device to perform the video telephony method provided by embodiments of the present disclosure. Alternatively, the storage medium may be a non-transitory computer readable storage medium, for example, a ROM, a random access memory (Random Access Memory, RAM), a Compact Disc ROM (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like. The computer programs described above may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is merely a specific embodiment of the disclosure to enable one skilled in the art to understand or practice the disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown and described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A video call method, comprising:
monitoring the communication quality of the video call at a first terminal of the video call;
determining that the communication quality is lower than a first preset quality;
reducing the data amount of the first video data;
and sending the first video data to a second terminal participating in the video call.
2. The method of claim 1, wherein the monitoring the communication quality of the video call at the first terminal of the video call comprises:
determining that the communication mode of the first terminal is a time division duplex mode;
monitoring a first parameter of a downlink channel, wherein the first parameter comprises at least one of reference signal receiving power, reference signal receiving quality and signal-to-noise ratio;
and determining the communication quality of the video call based on the first parameter.
3. The method of claim 1, wherein the monitoring the communication quality of the video call at the first terminal of the video call comprises:
monitoring the transmitting power of the first terminal if the communication mode of the first terminal is determined to be a frequency division duplex mode;
and determining the communication quality of the video call based on the transmission power.
4. The method of claim 1, wherein the monitoring the communication quality of the video call at the first terminal of the video call comprises:
transmitting second video data to the second terminal;
receiving a video packet loss rate fed back by the second terminal;
and determining the communication quality of the video call based on the video packet loss rate.
5. The method of claim 1, wherein reducing the data amount of the first video data comprises:
and reducing the sampling rate of the camera of the first terminal so that the camera acquires the first video data based on the reduced sampling rate.
6. The method of claim 1, wherein reducing the data amount of the first video data comprises:
acquiring the first video data acquired by a camera of the first terminal;
cutting the picture of the first video data according to a first preset proportion so that the ratio of the area of a first area obtained by cutting to the area of the picture is equal to the first preset proportion;
the color of the first area is modified to a default color to reduce the data amount of the first video data.
7. The method of claim 6, wherein the method further comprises:
determining that the communication quality is lower than a second preset quality;
cutting the picture according to a second preset proportion, so that the ratio of the second area obtained by cutting to the area of the picture is equal to the second preset proportion;
and modifying the color of the second area into a default color so as to reduce the data amount of the first video data, wherein the second preset quality is lower than the first preset quality, and the second preset proportion is higher than the first preset proportion.
8. The method according to claim 1, wherein the method further comprises:
determining that the communication quality is higher than a third preset quality;
and increasing the data amount of the video data sent to the second terminal, wherein the third preset quality is higher than or equal to the first preset quality.
9. A computer device, comprising: a memory; a processor; a computer program; wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-8.
10. A computer readable storage medium, characterized in that the storage medium has stored therein a computer program which, when executed by a processor, implements the video telephony method of any of claims 1-8.
CN202310300922.3A 2023-03-22 2023-03-22 Video call method, device and storage medium Pending CN116471458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310300922.3A CN116471458A (en) 2023-03-22 2023-03-22 Video call method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310300922.3A CN116471458A (en) 2023-03-22 2023-03-22 Video call method, device and storage medium

Publications (1)

Publication Number Publication Date
CN116471458A true CN116471458A (en) 2023-07-21

Family

ID=87184900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310300922.3A Pending CN116471458A (en) 2023-03-22 2023-03-22 Video call method, device and storage medium

Country Status (1)

Country Link
CN (1) CN116471458A (en)

Similar Documents

Publication Publication Date Title
WO2018205829A1 (en) Radio frequency interference processing method and apparatus, storage medium, and electronic device
CN103916622B (en) Call mode switching method and device
US9179417B2 (en) Method, apparatus, and terminal for wireless network connection
CN109412645B (en) Electromagnetic interference control method and related device
EP3021520A1 (en) Method and apparatus for delimiting problem
US20060270441A1 (en) Mobile communication terminal
CN108174413B (en) Parameter adjusting method and device
EP3076609A1 (en) Method and device for transmitting media data
EP4124106A1 (en) Channel state information measurement method and apparatus, and computer storage medium
US20230300703A1 (en) Cell switching method and apparatus, storage medium, and electronic device
CN107770793A (en) Method for switching network, device and equipment
CN101467472B (en) Voice quality measurement for voice over IP in a wireless local area network
CN113455076A (en) Resource allocation method, device, communication equipment and storage medium
KR102103198B1 (en) Mute call detection in a communication network system
CN110771199B (en) Measurement processing method and device
KR100855477B1 (en) Method for monitoring 3g video telephony
CN116471458A (en) Video call method, device and storage medium
CN111149388B (en) Communication processing method, device and computer storage medium
US20100322167A1 (en) Mobile communication device and method for estimating radio resource allocated to mobile communication device
CN112689336A (en) Method and device for indicating channel occupation in time domain
CN110035448B (en) Method and equipment for measuring communication quality of unassociated link in wireless network
WO2021004617A1 (en) Discontinuous transmission, dtx, detection
CN108307418A (en) The weak coverage cell recognition methods of LTE, device, equipment and medium
WO2020048356A1 (en) Network state display method and apparatus
CN115776479A (en) Method, device, equipment and storage medium for switching video call resolution

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