CN112804469B - Video call processing method, device, equipment and storage medium - Google Patents

Video call processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN112804469B
CN112804469B CN202110003649.9A CN202110003649A CN112804469B CN 112804469 B CN112804469 B CN 112804469B CN 202110003649 A CN202110003649 A CN 202110003649A CN 112804469 B CN112804469 B CN 112804469B
Authority
CN
China
Prior art keywords
call
video call
resolution
target image
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110003649.9A
Other languages
Chinese (zh)
Other versions
CN112804469A (en
Inventor
孙云飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Pinecone Electronic Co Ltd
Original Assignee
Beijing Xiaomi Pinecone Electronic 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 Beijing Xiaomi Pinecone Electronic Co Ltd filed Critical Beijing Xiaomi Pinecone Electronic Co Ltd
Priority to CN202110003649.9A priority Critical patent/CN112804469B/en
Publication of CN112804469A publication Critical patent/CN112804469A/en
Application granted granted Critical
Publication of CN112804469B publication Critical patent/CN112804469B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/762Media network packet handling at the source 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS

Abstract

The application discloses a video call processing method, a device, equipment and a medium, wherein the method comprises the following steps: acquiring the network transmission speed of the video call and the system parameters of a system operating the video call function; determining a maximum resolution of the video call based on the network transmission speed and the system parameter; and adjusting the call parameters of the video call according to the maximum resolution of the video call, and carrying out the call according to the adjusted call parameters. According to the scheme, the maximum resolution of the video call can be obtained through calculation according to the network transmission speed and the system parameters, so that call parameters are correspondingly adjusted based on the maximum resolution to carry out the call, the terminal equipment can stably and smoothly carry out the call no matter how the network environment changes, and the user experience is improved to a great extent.

Description

Video call processing method, device, equipment and storage medium
Technical Field
The present invention relates generally to the field of computer networks, and in particular, to a method, an apparatus, a device, and a storage medium for processing a video call.
Background
With the rapid development of internet technology, the existing wireless voice call and short message communication modes cannot meet the requirements of people, and more users like to exchange voice and image signals for conversation in a video call mode.
At present, a user can carry out video call on equipment in a wireless or wired internet access mode, due to the influence of network signal strength, such as weak network signals, or under the condition that the pixel of the equipment is high, the data volume transmitted in the video call process is large, so that the normal call cannot be carried out due to frequent occurrence of picture blockage, and poor user experience is caused.
Disclosure of Invention
In view of the foregoing drawbacks and deficiencies in the prior art, it is desirable to provide a method, an apparatus, a device and a storage medium for processing a video call, which can adjust call parameters accordingly based on a maximum resolution to perform a call, so that the call can be performed stably and smoothly.
In a first aspect, an embodiment of the present application provides a video call processing method, where the method includes:
acquiring the network transmission speed of the video call and the system parameters of a system operating the video call function;
determining the maximum resolution of the video call based on the network transmission speed and the system parameters;
and adjusting the call parameters of the video call according to the maximum resolution of the video call, and carrying out the call according to the adjusted call parameters.
In one embodiment, determining the maximum resolution of the video call based on the network transmission speed and the system parameters comprises:
acquiring the bit depth in the video call process and the frame number played per second in the video call process from system parameters;
based on the bit depth, the number of frames played per second and the network transmission speed, a preset algorithm is adopted to calculate the maximum resolution of the video call.
In one embodiment, adjusting a call parameter of a video call according to a maximum resolution of the video call, and performing a call according to the adjusted call parameter includes:
determining a second target image from the first target image by adopting an image recognition algorithm;
calculating the current resolution of the first target image and the resolution corresponding to the second target image, wherein the resolution corresponding to the second target image is smaller than the current resolution;
comparing the maximum resolution with the current resolution and the resolution corresponding to the second target image to determine the current network signal state;
and adjusting the call parameters of the video call according to the current network signal state, and carrying out the call according to the adjusted call parameters.
In one embodiment, comparing the maximum resolution with the current resolution and the resolution corresponding to the second target image to determine the current network signal state includes:
when the maximum resolution of the video call is greater than or equal to the current resolution, determining that the current network signal state is a first network state;
when the maximum resolution of the video call is smaller than the current resolution and is larger than or equal to the resolution corresponding to the second target image, determining that the current network signal state is a second network state;
and when the maximum resolution of the video call is smaller than the resolution corresponding to the second target image, determining that the current network signal state is the third network state.
In one embodiment, the method for adjusting the call parameter of the video call according to the current network signal state and performing the call according to the adjusted call parameter includes:
when the determined current network signal state is a first network state, determining a first target image as a target transmission object;
determining the current resolution corresponding to the first target image as the target resolution of the video call;
and carrying out call transmission on the first target image according to the current resolution.
In one embodiment, adjusting a call parameter of a video call according to a current network signal state, and performing a call according to the adjusted call parameter includes:
when the determined current network signal state is a second network state, determining a second target image as a target transmission object; when the maximum resolution of the video call is smaller than the current resolution and is greater than or equal to the resolution corresponding to the second target image, the current network signal state is a second network state;
determining the maximum resolution as the target resolution of the video call;
and carrying out call transmission on the second target image according to the maximum resolution.
In one embodiment, the call parameters include a call mode, adjusting the call parameters of the video call according to the maximum resolution of the video call, and performing a call according to the adjusted call parameters, including:
when the determined current network signal state is the third network state, the call mode is adjusted from the video call mode to the voice call mode; when the maximum resolution of the video call is smaller than the resolution corresponding to the second target image, the current network signal state is a third network state;
and carrying out call transmission in a voice call mode.
In a second aspect, an embodiment of the present application provides a video call processing apparatus, where the apparatus includes:
the acquisition module is used for acquiring the network transmission speed of the video call and the system parameters of the system for operating the video call function;
the determining module is used for determining the maximum resolution of the video call based on the network transmission speed and the system parameters;
and the adjusting module is used for adjusting the call parameters of the video call according to the maximum resolution of the video call and carrying out the call according to the adjusted call parameters.
In a third aspect, an embodiment of the present application provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the processor implements a video call processing method as described in the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is used for implementing a video call processing method as described in an embodiment of the present application when executed by a processor.
According to the video call processing method, the video call processing device, the video call processing equipment and the video call processing medium, the network transmission speed and the system parameters of the video call are obtained, the maximum resolution of the video call is determined based on the network transmission speed and the system parameters of the system running the video call function, then the call parameters of the video call are adjusted according to the maximum resolution of the video call, and the call is carried out according to the adjusted call parameters. According to the technical scheme, the maximum resolution of the video call is calculated through the network transmission speed and the system parameters, so that the call parameters can be correspondingly adjusted to carry out the call based on the maximum resolution, the terminal equipment can carry out the call stably and smoothly no matter how the network environment changes, and the user experience is improved to a great extent.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a schematic system structure diagram of a video call processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a video call processing method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a video call processing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a video call processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a video call processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a computer system according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
It can be understood that with the continuous development of communication technology, video call becomes an important tool for people to exchange information. A video call is a call from one terminal to another in which each participant hears and sees the other participant, thereby communicating with the other participant. A video call between users may have only two participants and is limited to the participants' own audio and video. Whereas a video call in an enterprise environment may be more than two participants and may be provided with a multimedia presentation. The multimedia presentation may include office files, video content other than the presenter, and still pictures.
At present, along with the increasing network speed and the increasing mobile phone performance, the requirement of people on high-definition video call is also increased day by day. However, in the video call process, due to the influence of the network signal strength, when the pixel of the device is high, the data volume transmitted in the video call process is large, so that the picture is blocked, the picture cannot be stably and smoothly normally performed, and the user experience is poor.
Based on the above defects, embodiments of the present application provide a method, an apparatus, a device, and a medium for processing a video call, in which a maximum resolution of a transmission image is calculated through a network transmission speed and a system parameter, so that call parameters can be correspondingly adjusted based on the maximum resolution to perform a call, so that a terminal device can perform a call stably and smoothly regardless of a change in a network environment, and user experience is improved to a great extent.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating a system architecture of a video call method according to an embodiment of the present disclosure. As shown in fig. 1, the system architecture includes: a transmitting device 10 and a receiving device 20.
Optionally, the sending device 10 may be any user device that has a data sending function and can perform a video call. The network technology on which the terminal equipment depends to realize the video call is not limited, and the terminal equipment can be a voice technology VoLTE based on an LTE network, a video technology ViLTE based on the LTE network, a voice technology ViWiFi based on a WiFi network, or a video technology ViWiFi based on the WiFi network.
The receiving device 20 is configured to perform voice and image signal interaction with the sending device in response to the video call request after receiving the video call request sent by the sending device, so as to perform a video call.
The transmitting device 10 or the receiving device 20 according to the embodiment of the present application may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, smart glasses, a smart wristwatch, a pedometer, and a fixed terminal such as a digital TV, a desktop computer, and the like. For example, the video call provided by the embodiment of the present application may occur between the wearable device and the wearable device, may also occur between the wearable device and the mobile phone, may also occur between the wearable device and the personal computer, may also occur between the mobile phone and the personal computer, and may also occur between the mobile phone and the mobile phone.
The sending device may actively send the video call request, or receive the video call request sent by other devices, to perform the video call service. The sending device may send the video call request through a video call entry of the operating system, or may send the video call request through an installed third-party application, which may be, for example, instant messaging software.
For convenience of understanding and explanation, the video call processing method, apparatus, device and medium provided by the embodiments of the present application are described in detail below with reference to fig. 2 to 6.
Fig. 2 is a schematic flowchart illustrating a video call processing method according to an embodiment of the present application, where the method may be executed by a sending device. As shown in fig. 2, the method includes:
s101, acquiring the network transmission speed of the video call and the system parameters of the system for operating the video call function.
Specifically, the sending device may obtain the network transmission speed and the system parameter for operating the video call function in the video call process by calling the system interface, or may obtain the network transmission speed and the system parameter for operating the video call function in the video call process by using a third-party tool library. The third-party tool library can be, for example, a speed measurement tool library and a system parameter tool library.
The corresponding network transmission speeds are different when the device is in the network environment of different positions. For example, when the device is in a 2G network environment, the corresponding network transmission speed may be 10Kb/s-20Kb/s; when the device is in a 3G network environment, the corresponding network transmission speed may be 120Kb/s-600Kb/s; when the device is in a 4G network environment, the corresponding network transmission speed may be 1.5Mb/s-10Mb/s.
The system parameter may be, for example, a bit depth during the video call and a number of frames played per second during the video call.
And S102, determining the maximum resolution of the video call based on the network transmission speed and the system parameters.
In this step, after the network transmission speed and the system parameters are obtained, the bit depth in the video call process and the number of frames played per second in the video call process can be obtained from the system parameters, and then the maximum resolution in the video call process is calculated by adopting a preset algorithm based on the bit depth, the number of frames played per second and the network transmission speed.
Specifically, the maximum resolution of the video call can be calculated by the following formula:
Figure BDA0002882129040000071
wherein p represents the maximum resolution of the video call; v represents the network transmission speed of the video call; b represents the bit depth in the video call process; n represents the number of frames played per second during the video call.
The resolution is the precision of the screen image, and is how many pixels can be displayed on the display. Since the dots, lines and planes on the screen are made up of pixels, the more pixels the display can display, the finer the picture. The image resolution refers to the number of pixels contained within a unit inch.
In a video image, the color information of each pixel is described by a binary number of bits, which is called bit depth. Each cell storing 1 pixel can typically store 8 bits of binary number (byte addressing). We refer to the binary number that each memory cell can store as depth. Color bit depth refers to the number of binary bits used to store each pixel, and the color bit depth of an image directly affects the number of colors it can support. If the color bit depth of the image is denoted by a, the number of colors that the transmitted image can support is 2a. The color bit depth of the transmitted image is typically divided into 1 bit, 4 bits, 8 bits, 16 bits and 24 bits. In a 1-bit transmission image, each pixel can only be black or white; if the color bit depth is 24 bits, the number of supported colors is 1667 thousands, which is usually called true color, and the display screen of a typical device has a bit depth of 8 bits, 10 bits at the high end, and less preferably 6 bits.
S103, adjusting the call parameters of the video call according to the maximum resolution of the video call, and carrying out the call according to the adjusted call parameters.
In this step, the call parameter may include, for example, a target transmission object and a target resolution corresponding to the target transmission object, or may include parameters such as a call mode. The target transmission object may be, for example, a whole transmission image, where the whole transmission image is a first target image, or may be a target image corresponding to a target object, where the target image corresponding to the target object is a second target image, and for example, when the target object is a human face, the corresponding second target image is a human face image; and when the target object is a character, the corresponding second target image is a character image.
After the maximum resolution of the video call is calculated by adopting a preset algorithm, the current network signal state can be determined according to the maximum resolution of the video call, and then the call parameters are adjusted based on the current network signal state, so that a processed image is formed according to the adjusted call parameters, and the processed image is sent to equipment at the opposite end of the video call service. The method for adjusting the call parameters may be, for example, adjusting the resolution of the video call correspondingly, or adjusting the call mode so that the call parameters in the video call process can be matched with the current network signal state.
It should be noted that the maximum resolution of the video call is the resolution transmitted at the current network transmission speed and in compliance with the transmitted picture definition standard.
The adjustment of the resolution of the video call can be realized by adjusting the compression ratio of the image. The higher the compression ratio of the image, the lower the resolution of the image; the lower the compression ratio of the image, the higher the resolution of the image.
According to the video call processing method provided by the embodiment of the application, the network transmission speed and the system parameters of the video call are obtained, the maximum resolution of the video call is calculated based on the network transmission speed and the system parameters of a system running the video call function, then the call parameters of the video call are adjusted according to the maximum resolution of the video call, and the call is carried out according to the adjusted call parameters. According to the technical scheme, the maximum resolution of the video call is obtained through calculation according to the network transmission speed and the system parameters, so that call parameters can be correspondingly adjusted to carry out the call based on the maximum resolution, the data volume uploaded in the video call process is reduced, the terminal equipment can stably and smoothly carry out the call no matter how the network environment changes, and the user experience is improved to a great extent.
Optionally, on the basis of the foregoing embodiment, as shown in fig. 3, the step S103 may include the following method steps:
s201, determining a second target image from the first target image by adopting an image recognition algorithm.
S202, calculating the current resolution of the first target image and the resolution corresponding to the second target image, wherein the resolution corresponding to the second target image is smaller than the current resolution.
S203, comparing the maximum resolution with the current resolution and the resolution corresponding to the second target image, and determining the current network signal state.
And S204, adjusting the call parameters of the video call according to the current network signal state, and carrying out the call according to the adjusted call parameters.
In this embodiment, in the video call process, the second target image may be determined from the first target image by calling a system interface or a third-party tool library and using an image recognition algorithm. For example, the first target image may be subjected to image preprocessing to obtain a preprocessed image, the preprocessed image is subjected to feature extraction to obtain target feature points, and then the second target image is determined according to the target feature points. The first target image is an image of the whole video window, and the second target image is an image corresponding to the target object.
After a second target image is determined from the first target image, calculating the current resolution of the first target image and the resolution corresponding to the second target image, wherein the current resolution of the first target image is greater than the resolution corresponding to the second target image, then comparing the maximum resolution with the current resolution and the resolution corresponding to the second target image, determining the current network signal state, adjusting the call parameters of the video call according to the current network signal state, and carrying out the call according to the adjusted call parameters.
When the maximum resolution P0 of the video call is greater than or equal to the current resolution P1 corresponding to the first target image, namely P0 is greater than or equal to P1, determining that the current network signal state is a first network state, wherein the first network state represents that the current network environment is good.
When the maximum resolution P0 of the video call is smaller than the current resolution P1 corresponding to the first target image and is greater than or equal to the resolution P2 corresponding to the second target image, namely P1> P0 is greater than or equal to P2, the current network signal state is determined to be a second network state, and the second network state represents that the current network environment is poor.
And when the maximum resolution P0 of the video call is smaller than the resolution P2 corresponding to the second target image, determining that the current network signal state is a third network state, wherein the third network state represents the worst current network environment.
If the current network signal state is determined to be the first network state, determining that a target transmission object of the video call is a first target image, determining that the current resolution corresponding to the first target image is the target resolution, adjusting the first target image according to the current resolution to form a processed image, and then sending the processed image to equipment at the opposite end of the video call service so as to perform call transmission with the equipment at the opposite end of the video call service. And if the current network signal state is determined to be the second network state, determining that a target transmission object of the video call is a second target image, determining the maximum resolution as the target resolution of the video call, adjusting the second target image with the maximum resolution to form a processed image, and then sending the processed image to equipment at the opposite end of the video call service so as to perform call transmission with the equipment at the opposite end of the video call service. And if the current network signal state is determined to be the third network state, adjusting the call mode from the video call mode to the voice call mode, and then carrying out the call in the voice call mode.
Exemplarily, a wearable device such as a smart watch is used as the sending device, a user of the smart watch is a child, an opposite-end device communicating with the smart watch is a mobile phone, and a user of the smart phone is a parent. When the smart watch and the smart phone carry out video call, the smart watch can acquire the network transmission speed of the video call and the system parameters of a system for running the video call, wherein the system parameters comprise bit depth and the number of frames played per second, and then the maximum resolution of the video call is calculated by adopting a preset algorithm based on the bit depth, the number of frames played per second and the network transmission speed. The intelligent watch can identify a first target image collected by a camera according to a preset video, determine a second target image from the first target image by adopting an image identification algorithm, and calculate to obtain the current resolution of the first target image and the resolution corresponding to the second target image.
When the maximum resolution of the video call is greater than or equal to the current resolution, determining that the current network signal state is a first network state, determining that a target transmission object of the video call is a first target image, determining the current resolution corresponding to the first target image as the target resolution, adjusting the first target image according to the current resolution to obtain a processed image, and sending the processed image to the smart phone; when the maximum resolution of the video call is smaller than the current resolution corresponding to the first target image and larger than or equal to the resolution corresponding to the second target image, determining that the current network signal state is the second network state, determining that a target transmission object of the video call is the second target image, determining the maximum resolution of the video call as the target resolution, adjusting the second target image according to the maximum resolution to obtain a processed image, and sending the processed image to the smart phone; when the maximum resolution of the video call is smaller than the resolution corresponding to the second target image, the current network signal state is determined to be the third network state, the call mode is adjusted from the video call mode to the voice call mode, and then the call is carried out with the smart phone in the voice call mode.
In the embodiment, the current resolution of the first target image and the resolution corresponding to the second target image are calculated, the maximum resolution is compared with the current resolution and the resolution corresponding to the second target image, the current network signal state is determined, and the call parameters are intelligently adjusted according to the current network signal state to carry out call, so that the data volume uploaded in the video call process is reduced, the problem of blocking is solved, and the user experience is improved.
On the other hand, fig. 4 is a schematic structural diagram of a video call processing apparatus according to an embodiment of the present disclosure. The apparatus may be an apparatus in a transmitting device, as shown in fig. 4, the apparatus 400 comprising:
an obtaining module 410, configured to obtain a network transmission speed of a video call and a system parameter of a system running a video call function;
a determining module 420, configured to determine a maximum resolution of the video call based on the network transmission speed and the system parameter;
the adjusting module 430 is configured to adjust a call parameter of the video call according to the maximum resolution of the video call, and perform a call according to the adjusted call parameter.
Optionally, as shown in fig. 5, the determining module 420 includes:
an obtaining unit 421, configured to obtain, from the system parameters, a bit depth in the video call process and a number of frames played per second in the video call process;
the first calculating unit 422 is configured to calculate a maximum resolution of the video call by using a preset algorithm based on the bit depth, the number of frames played per second, and the network transmission speed.
Optionally, the adjusting module 430 includes:
a first determining unit 431 for determining a second target image from the first target image using an image recognition algorithm;
a second calculating unit 432, configured to calculate a current resolution of the first target image and a resolution corresponding to the second target image, where the resolution corresponding to the second target image is smaller than the current resolution;
a second determining unit 433, configured to compare the maximum resolution with the current resolution and a resolution corresponding to the second target image, and determine a current network signal state;
and an adjusting unit 434, configured to adjust a call parameter of the video call according to the current network signal state, and perform a call according to the adjusted call parameter.
Optionally, the second determining unit 433 is specifically configured to:
when the maximum resolution of the video call is greater than or equal to the current resolution, determining that the current network signal state is a first network state;
when the maximum resolution of the video call is smaller than the current resolution and is larger than or equal to the resolution corresponding to the second target image, determining that the current network signal state is a second network state;
and when the maximum resolution of the video call is smaller than the resolution corresponding to the second target image, determining that the current network signal state is a third network state.
Optionally, the adjusting unit 434 is specifically configured to:
when the determined current network signal state is a first network state, determining a first target image as a target transmission object;
determining the current resolution corresponding to the first target image as the target resolution of the video call;
and carrying out call transmission on the first target image according to the current resolution.
Optionally, the adjusting unit 434 is specifically configured to:
when the determined current network signal state is a second network state, determining a second target image as a target transmission object; when the maximum resolution of the video call is smaller than the current resolution and is greater than or equal to the resolution corresponding to the second target image, the current network signal state is a second network state;
determining the maximum resolution as the target resolution of the video call;
and carrying out call transmission on the second target image according to the maximum resolution.
Optionally, the adjusting unit 434 is specifically configured to:
when the determined current network signal state is the third network state, the call mode is adjusted from the video call mode to the voice call mode; when the maximum resolution of the video call is smaller than the resolution corresponding to the second target image, the current network signal state is a third network state;
and carrying out call transmission in a voice call mode.
It can be understood that the functions of each functional module of the video call processing apparatus in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the relevant description of the foregoing method embodiment, which is not described herein again.
To sum up, the video call processing apparatus provided in the embodiment of the present application obtains the network transmission parameter of the video call and the system parameter of the system that operates the video call function by the obtaining module, determines the maximum resolution of the video call based on the network transmission speed and the system parameter by the calculating module, adjusts the call parameter of the video call according to the maximum resolution of the transmission image by the adjusting module, and performs the call according to the adjusted call parameter. According to the device, the maximum resolution of the video call is calculated through the network transmission speed and the system parameters, so that the call parameters can be correspondingly adjusted to carry out the call based on the maximum resolution, the terminal equipment can carry out the call stably and smoothly no matter how the network environment changes, and the user experience is improved to a great extent.
On the other hand, the embodiment of the present application further provides a processing device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the video call processing method as described above when executing the program.
Referring now to FIG. 6, shown is a block diagram of a computer system 900 suitable for use in implementing the apparatus of an embodiment of the present application.
As shown in fig. 6, the computer system 900 includes a Central Processing Unit (CPU) 901 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 902 or a program loaded from a storage section 903 into a Random Access Memory (RAM) 903. In the RAM 903, various programs and data necessary for the operation of the system 900 are also stored. The CPU 901, ROM 902, and RAM 903 are connected to each other via a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.
The following components are connected to the I/O interface 905: an input portion 906 including a keyboard, a mouse, and the like; an output portion 907 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 908 including a hard disk and the like; and a communication section 909 including a network interface card such as a LAN card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as necessary. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 910 as necessary, so that a computer program read out therefrom is mounted into the storage section 908 as necessary.
In particular, according to embodiments of content sharing or processing disclosed herein, the process described above with reference to fig. 2 may be implemented as a computer software program. For example, embodiments of the electronic red packet processing disclosed herein include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method of FIG. 2. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 909, and/or installed from the removable medium 911.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various content sharing or processing embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor, and may be described as: a processor includes an acquisition module, a determination module, and an adjustment module. The names of these units or modules do not in some cases constitute a limitation on the units or modules themselves, and for example, the acquiring module may also be described as "a system parameter for acquiring a network transmission speed of a video call and a system running the video call function".
As another aspect, the present application also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the foregoing device in the foregoing embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer-readable storage medium stores one or more programs, which are used by one or more processors to execute the video call processing method described in the present application, and specifically executes:
acquiring the network transmission speed of video call and the system parameters of a system operating the video call function;
determining a maximum resolution of the video call based on the network transmission speed and the system parameter;
and adjusting the call parameters of the video call according to the maximum resolution of the video call, and carrying out the call according to the adjusted call parameters.
According to the video call processing method, the video call processing device, the video call processing equipment and the video call processing medium, the network transmission speed of the video call and the system parameters of a system running the video call function are obtained, the maximum resolution of the video call is determined based on the network transmission speed and the system parameters, then the call parameters of the video call are adjusted according to the maximum resolution of the video call, and the call is carried out according to the adjusted call parameters. According to the technical scheme, the maximum resolution of the video call is calculated through the network transmission speed and the system parameters, so that the call parameters can be correspondingly adjusted to carry out the call based on the maximum resolution, the terminal equipment can stably and smoothly carry out the call no matter how the network environment changes, and the user experience is improved to a great extent.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (8)

1. A method for processing a video call, the method comprising:
acquiring the network transmission speed of video call and the system parameters of a system operating the video call function;
acquiring the bit depth in the video call process and the frame number played per second in the video call process from the system parameters;
based on the bit depth, the number of frames played per second and the network transmission speed, calculating the maximum resolution of the video call by adopting a preset algorithm;
determining a second target image from the first target image by adopting an image recognition algorithm;
calculating the current resolution of the first target image and the resolution corresponding to the second target image, wherein the resolution corresponding to the second target image is smaller than the current resolution;
comparing the maximum resolution with the current resolution and the resolution corresponding to the second target image to determine the current network signal state;
and adjusting the call parameters of the video call according to the current network signal state, and carrying out the call according to the adjusted call parameters.
2. The method of claim 1, wherein comparing the maximum resolution to the current resolution and a resolution corresponding to the second target image to determine a current network signal state comprises:
when the maximum resolution of the video call is greater than or equal to the current resolution, determining that the current network signal state is a first network state;
when the maximum resolution of the video call is smaller than the current resolution and is greater than or equal to the resolution corresponding to the second target image, determining that the current network signal state is a second network state;
and when the maximum resolution of the video call is smaller than the resolution corresponding to the second target image, determining that the current network signal state is a third network state.
3. The method according to claim 1 or 2, wherein the call parameters include a target transmission object and a target resolution corresponding to the target transmission object, and the adjusting the call parameters of the video call according to the current network signal state and performing the call according to the adjusted call parameters comprises:
when the determined current network signal state is a first network state, determining the first target image as a target transmission object;
determining the current resolution corresponding to the first target image as the target resolution of the video call;
and carrying out call transmission on the first target image according to the current resolution.
4. The method according to claim 1 or 2, wherein adjusting the call parameters of the video call according to the current network signal state and performing a call according to the adjusted call parameters comprises:
when the determined current network signal state is a second network state, determining the second target image as a target transmission object; when the maximum resolution of the video call is smaller than the current resolution and is greater than or equal to the resolution corresponding to the second target image, the current network signal state is a second network state;
determining the maximum resolution as a target resolution of the video call;
and carrying out call transmission on the second target image according to the maximum resolution.
5. The method of claim 2, wherein the call parameters include a call mode, adjusting the call parameters of the video call according to a maximum resolution of the video call, and performing a call according to the adjusted call parameters, comprising:
when the determined current network signal state is the third network state, adjusting the call mode from a video call mode to a voice call mode; when the maximum resolution of the video call is smaller than the resolution corresponding to the second target image, the current network signal state is a third network state;
and carrying out call transmission in the voice call mode.
6. A video call processing apparatus, comprising:
the acquisition module is used for acquiring the network transmission speed of the video call and the system parameters of the system for operating the video call function;
a determining module for determining a maximum resolution of the video call based on the network transmission speed and the system parameter;
the adjusting module is used for adjusting the call parameters of the video call according to the maximum resolution of the video call and carrying out the call according to the adjusted call parameters;
the determining module is specifically configured to: acquiring the bit depth in the video call process and the frame number played per second in the video call process from the system parameters;
based on the bit depth, the number of frames played per second and the network transmission speed, calculating the maximum resolution of the video call by adopting a preset algorithm;
the adjusting module is specifically configured to: determining a second target image from the first target image by adopting an image recognition algorithm;
calculating the current resolution of the first target image and the resolution corresponding to the second target image, wherein the resolution corresponding to the second target image is smaller than the current resolution;
comparing the maximum resolution with the current resolution and the resolution corresponding to the second target image to determine the current network signal state;
and adjusting the call parameters of the video call according to the current network signal state, and carrying out the call according to the adjusted call parameters.
7. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor is configured to implement the video call processing method according to any one of claims 1 to 5 when executing the program.
8. A computer-readable storage medium having stored thereon a computer program for implementing the video call processing method according to any one of claims 1 to 5.
CN202110003649.9A 2021-01-04 2021-01-04 Video call processing method, device, equipment and storage medium Active CN112804469B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110003649.9A CN112804469B (en) 2021-01-04 2021-01-04 Video call processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110003649.9A CN112804469B (en) 2021-01-04 2021-01-04 Video call processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112804469A CN112804469A (en) 2021-05-14
CN112804469B true CN112804469B (en) 2023-03-24

Family

ID=75807880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110003649.9A Active CN112804469B (en) 2021-01-04 2021-01-04 Video call processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112804469B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150508B (en) * 2022-05-19 2023-10-24 东莞市步步高教育软件有限公司 Video call processing method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025965A (en) * 2010-12-07 2011-04-20 华为终端有限公司 Video talking method and visual telephone
CN103702061A (en) * 2013-12-23 2014-04-02 上海网达软件股份有限公司 Automatic adjustment method of resolution of video call of intelligent terminal
CN104980411A (en) * 2014-04-14 2015-10-14 腾讯科技(深圳)有限公司 Control method, server and terminal for video call and video call system
CN105657321A (en) * 2015-11-09 2016-06-08 乐视致新电子科技(天津)有限公司 Adaptive video definition adjusting method, apparatus and terminal
CN107087136A (en) * 2017-04-19 2017-08-22 宇龙计算机通信科技(深圳)有限公司 Internet video call method, terminal and computer-readable recording medium
CN108881781A (en) * 2018-07-17 2018-11-23 广东小天才科技有限公司 The determination method and device of video call process intermediate-resolution
CN111294546A (en) * 2019-02-26 2020-06-16 展讯通信(上海)有限公司 Resolution adjustment method and device for video call

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101589524B1 (en) * 2008-11-07 2016-01-29 삼성전자주식회사 Apparatus and method for providing high quality video service on video telephony using the multiple video format in mobile communication terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025965A (en) * 2010-12-07 2011-04-20 华为终端有限公司 Video talking method and visual telephone
CN103702061A (en) * 2013-12-23 2014-04-02 上海网达软件股份有限公司 Automatic adjustment method of resolution of video call of intelligent terminal
CN104980411A (en) * 2014-04-14 2015-10-14 腾讯科技(深圳)有限公司 Control method, server and terminal for video call and video call system
CN105657321A (en) * 2015-11-09 2016-06-08 乐视致新电子科技(天津)有限公司 Adaptive video definition adjusting method, apparatus and terminal
CN107087136A (en) * 2017-04-19 2017-08-22 宇龙计算机通信科技(深圳)有限公司 Internet video call method, terminal and computer-readable recording medium
CN108881781A (en) * 2018-07-17 2018-11-23 广东小天才科技有限公司 The determination method and device of video call process intermediate-resolution
CN111294546A (en) * 2019-02-26 2020-06-16 展讯通信(上海)有限公司 Resolution adjustment method and device for video call

Also Published As

Publication number Publication date
CN112804469A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN111246209B (en) Adaptive encoding method, apparatus, electronic device, and computer storage medium
CN110213614B (en) Method and device for extracting key frame from video file
CN111260601B (en) Image fusion method and device, readable medium and electronic equipment
EP4231650A1 (en) Picture display method and apparatus, and electronic device
CN111385484B (en) Information processing method and device
US20240045641A1 (en) Screen sharing display method and apparatus, device, and storage medium
CN111080595A (en) Image processing method, image processing device, electronic equipment and computer readable medium
CN112069977A (en) Image processing method, image processing device, electronic equipment and computer readable medium
CN112272226A (en) Picture loading method and device and readable storage medium
CN111935442A (en) Information display method and device and electronic equipment
CN112804469B (en) Video call processing method, device, equipment and storage medium
CN115761090A (en) Special effect rendering method, device, equipment, computer readable storage medium and product
CN112261349B (en) Image processing method and device and electronic equipment
CN113038176A (en) Video frame extraction method and device and electronic equipment
CN110097520B (en) Image processing method and device
US20220239920A1 (en) Video processing method, related apparatus, storage medium, and program product
CN110399802B (en) Method, apparatus, medium, and electronic device for processing eye brightness of face image
CN116248991A (en) Camera position adjustment method, camera position adjustment device, electronic equipment and computer readable medium
CN110809166B (en) Video data processing method and device and electronic equipment
CN112312224A (en) Information display method and device and electronic equipment
CN111583139A (en) Blush adjusting method, blush adjusting device, electronic equipment and computer readable medium
CN111738950A (en) Image processing method and device
CN113409199A (en) Image processing method, image processing device, electronic equipment and computer readable medium
CN112804457B (en) Photographing parameter determination method and device and electronic equipment
CN112312200A (en) Video cover generation method and device and electronic equipment

Legal Events

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