[go: up one dir, main page]

WO2018023895A1 - Method, device and system for controlling video call, and computer storage medium - Google Patents

Method, device and system for controlling video call, and computer storage medium Download PDF

Info

Publication number
WO2018023895A1
WO2018023895A1 PCT/CN2016/106199 CN2016106199W WO2018023895A1 WO 2018023895 A1 WO2018023895 A1 WO 2018023895A1 CN 2016106199 W CN2016106199 W CN 2016106199W WO 2018023895 A1 WO2018023895 A1 WO 2018023895A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
video
video call
save
traffic mode
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.)
Ceased
Application number
PCT/CN2016/106199
Other languages
French (fr)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2018023895A1 publication Critical patent/WO2018023895A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • 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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a video call control method, apparatus, system, and computer storage medium.
  • embodiments of the present invention provide a method, an apparatus, a system, and a computer storage medium for controlling a frequency call.
  • the method for controlling a video call according to the first aspect of the present invention includes: collecting a frame of video at a current time of a first terminal of a video call, and determining whether the video includes a face image; and the video does not include In the face image, the first terminal is set to save the traffic mode.
  • the method provided by the embodiment of the first aspect of the present invention can save the traffic of the terminal user and improve the use of the user by setting the first terminal to save the traffic mode when the frame video of the current time of the first terminal does not include the face image. Experience.
  • the method for controlling a video call includes: receiving the first prompt information sent by the first terminal, where the first prompt information is used to prompt the second terminal.
  • the first terminal has set a save traffic mode at the current time; and stops sending video data in the video call to the first terminal.
  • the method for controlling the video call according to the second embodiment of the present invention after receiving the first prompt information that the first terminal has sent the current traffic saving mode at the current time, stops sending video data to the first terminal, thereby saving the terminal.
  • User traffic improves user experience.
  • the video call control device of the third aspect of the present invention includes: an acquisition module, configured to collect a frame of video at a current time of the first terminal of the video call, and determine whether the video includes a face image;
  • a setting module is configured to set the first terminal to save the traffic mode when the video does not include the face image.
  • the video call control apparatus can save the traffic of the terminal user by setting the first terminal to save the traffic mode when the frame video of the current time of the first terminal does not include the face image. Improve the user experience.
  • the device for controlling a video call includes: a receiving module, configured to receive first prompt information sent by the first terminal, where the first prompt information is used to prompt the second terminal A terminal has set a save traffic mode at the current time; the stop module is configured to stop sending video data in the video call to the first terminal.
  • the control device for the video call according to the fourth embodiment of the present invention stops transmitting the video data to the first terminal after receiving the first prompt information that the first terminal has set the save traffic mode at the current time, thereby saving the terminal.
  • User traffic improves user experience.
  • the control system for a video call according to the embodiment of the present invention includes the video call control device proposed in the third embodiment and the video call control device according to the fourth aspect.
  • the video call control system of the fifth aspect of the present invention can save the traffic of the terminal user by combining the control device for the video call proposed by the embodiment of the third aspect with the control device for the video call proposed by the embodiment of the fourth aspect. Improve the user experience.
  • a computer storage medium comprising a set of instructions, when executed, causing at least one processor to perform a video call control method as proposed by the third aspect of the present invention or A method of controlling a video call as proposed in the fourth aspect of the present invention is performed.
  • the computer storage medium according to the embodiment of the sixth aspect of the present invention can save the traffic of the terminal user and improve the control method of the video call proposed by the embodiment of the first aspect or the method for controlling the video call proposed by the embodiment of the second aspect. User experience.
  • FIG. 1 is a schematic flow chart of a method for controlling a video call according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for controlling a video call according to another embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for controlling a video call according to another embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a method for controlling a video call according to another embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a method for controlling a video call according to another embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a method for controlling a video call according to another embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of a method for controlling a video call according to another embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a video call control apparatus according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a video call control apparatus according to another embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a video call control apparatus according to another embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a video call control apparatus according to another embodiment of the present invention.
  • FIG. 1 is a schematic flow chart of a method for controlling a video call according to an embodiment of the present invention.
  • This embodiment is exemplified by the control method of the video call being configured as a video call control device.
  • the control method of the video call can be applied to an instant messaging application, wherein the application can be a software program running on an electronic device, such as a personal computer (PC), a cloud device or a mobile device. , mobile devices such as smartphones, or tablets.
  • control method of the video call may include:
  • S101 Collect a frame of video at the current time of the first terminal in the video call, and determine whether the video includes a face image.
  • the camera sensor can be used to collect a frame of video at the current time, and capture a frame of video captured by the current first terminal. By comparing the video images before and after, a frame captured by the camera sensor of the first terminal can be determined. Whether the picture corresponding to the video changes, the face detection system can determine whether the face image captured by the camera sensor captured by the camera sensor of the first terminal currently triggers the subsequent step.
  • the video of the at least one frame sent by the second terminal before the current time is saved for completing.
  • control of the video call can also include:
  • the detection score is obtained according to the preset parameter of the first terminal, where the preset parameter includes at least one of an audio parameter, a displacement parameter, and a network parameter.
  • the comprehensive judgment is made according to the preset parameters of the first terminal, thereby obtaining a comprehensive score value, that is, obtaining the detection score.
  • the microphone can be used to detect whether the user of the current first terminal is talking, the gravity sensor determines whether the current first terminal is in a moving state, and the light sensor and the proximity sensor determine whether the user of the current first terminal is close to the body.
  • the first terminal, the network detection software detects the current network state of the first terminal. Obtain all the above states, namely audio parameters, displacement parameters and network parameters, and then make a comprehensive judgment to obtain a comprehensive score value, that is, obtain the detection score to trigger the subsequent operation of turning on/off the save traffic mode.
  • the single detection state does not necessarily trigger the first terminal to enable the traffic saving mode, but makes a comprehensive judgment on all the states to determine whether the first terminal starts the traffic saving mode.
  • the first terminal user can use a certain state as a basis for directly determining whether to open the traffic saving mode according to his own needs.
  • the user of the first terminal can freely adjust the detection order of each state, and can select the detection order according to the focus of the focus, and sequentially detect each state.
  • the user of the first terminal wants to automatically turn on the mode of saving traffic when the network status is not good, and can directly use the network parameter as the basis for detecting the score size.
  • the higher the proportion of the detection state in the determination comprehensive score the higher the proportion of the determination score is, and whether the traffic saving mode is enabled according to the comprehensive score, the traffic saving mode can be manually turned on or off by the user of the first terminal.
  • S202 Determine whether the detection score reaches a preset threshold.
  • the preset threshold may be preset by a built-in program of the mobile terminal.
  • the mobile terminal can also be set by the user according to his own needs.
  • the detection score acquired by S201 is compared with a preset threshold to trigger a subsequent step.
  • the detection score acquired in S201 is greater than the preset threshold, it is also determined whether the first terminal is set to save the traffic mode to trigger the subsequent operation of turning on/off the traffic saving mode.
  • the first terminal is set to save the traffic mode.
  • the detection score is obtained according to the preset parameter of the first terminal, and when the detection score reaches the preset threshold, the traffic saving mode is enabled. It can save the traffic of end users and enhance the user experience.
  • S102 Set the first terminal to save the traffic mode when the video does not include the face image.
  • the first terminal automatically starts to save the traffic mode to save the traffic of the terminal user and improve the user experience.
  • the method for controlling the video call may further include:
  • S301 Generate first prompt information that has set a save traffic mode.
  • the first terminal After the first terminal is set to save the traffic mode, the first terminal generates the first prompt information that has set the save traffic mode to trigger the subsequent step.
  • S302 Send the first prompt information to the second terminal, where the second terminal is a peer terminal that performs a video call with the first terminal, and the first prompt information is used to prompt the second terminal that the first terminal has set the save traffic mode.
  • the first terminal sends the first prompt information that has been set to save the traffic mode to the second terminal, so that the second terminal does not send the video data to the first terminal after receiving the first prompt information, but the sent voice The data remains unchanged, and the network remains connected.
  • the first terminal stops receiving the video data sent by the second terminal from the network, thereby achieving the purpose of saving traffic.
  • S303 randomly select one frame of video in at least one frame of video to replace one frame of video at the current time, and obtain a replaced one frame of video.
  • the second terminal after receiving the first prompt information sent by the first terminal, the second terminal stops sending video data to the first terminal, so that after the first terminal is enabled to save the traffic mode, the first terminal uses the previously saved at least one frame of video. Instead of receiving video data transmitted by the second terminal from the network side, the video data transmitted by the second terminal is updated to save one-time video at the current time, thereby saving traffic.
  • the first terminal is configured to save the traffic mode and generate the first prompt information that has been set to save the traffic mode, and send the first prompt information to the second terminal, and the second terminal stops sending to the first terminal after receiving the second terminal.
  • the first terminal replaces one frame of video at the current time in the first terminal by using at least one frame of video saved before, which can save the traffic of the terminal user and improve the user experience.
  • FIG. 4 is a schematic flowchart diagram of a method for controlling a video call according to another embodiment of the present invention. This embodiment is exemplified by applying the control method of the video call to the control device of the video call.
  • the method for controlling the video call may include:
  • S401 Save at least one frame of video sent by the second terminal before the current time.
  • the video of the at least one frame sent by the second terminal before the current time is saved, and the N frame image included in the video of the at least one frame is updated once every fixed time, and the new image is received again from the second terminal. .
  • S402 Collect a frame of video at the current time of the first terminal in the video call, and determine whether the video includes a face image.
  • the camera sensor can be used to collect a frame of video at the current time, and capture a frame of video captured by the current first terminal. By comparing the video images before and after, a frame captured by the camera sensor of the first terminal can be determined. Whether the picture corresponding to the video changes, the face detection system can determine whether the face image captured by the camera sensor captured by the camera sensor of the first terminal currently triggers the subsequent step.
  • the detection score is obtained according to the preset parameter of the first terminal, where the preset parameter includes at least one of an audio parameter, a displacement parameter, and a network parameter.
  • the comprehensive judgment is made according to the preset parameters of the first terminal, thereby obtaining a comprehensive score value, that is, obtaining the detection score.
  • the microphone can be used to detect whether the user of the current first terminal is talking, the gravity sensor determines whether the current first terminal is in a moving state, and the light sensor and the proximity sensor determine whether the user of the current first terminal is close to the body.
  • the first terminal, the network detection software detects the current network state of the first terminal. Obtain audio parameters, displacement parameters, and network parameters, and then make a comprehensive judgment to obtain a comprehensive score value, that is, obtain the detection score to trigger the subsequent operation of turning on/off the save traffic mode.
  • a single parameter does not necessarily trigger the first terminal to enable the traffic saving mode, but makes a comprehensive judgment on all parameters to determine whether the first terminal enables the traffic saving mode.
  • the first terminal user can use a certain parameter as a basis for directly determining whether to open the traffic saving mode according to his own needs.
  • the user of the first terminal can freely adjust the detection order of each parameter, and can select the detection order according to the focus of the focus, and sequentially detect each parameter. For example, the user of the first terminal is more concerned with the network status, and hopes that when the network status is not good.
  • the mode of saving traffic is automatically turned on, the network parameters can be directly used as the basis for detecting the size of the score. The higher the higher the proportion of the parameter in the determination, the more the traffic saving mode is turned on according to the detection score, and the traffic saving mode can be manually turned on or off by the user of the first terminal.
  • S404 Determine whether the detection score reaches a preset threshold.
  • the preset threshold may be preset by the built-in program of the mobile terminal, or may be set by the user according to the needs of the mobile terminal.
  • the detection score acquired by S403 is compared with a preset threshold to trigger a subsequent step.
  • the detection score acquired in S403 is greater than the preset threshold, it is also determined whether the first terminal is set to save the traffic mode to trigger the subsequent operation of turning on/off the traffic saving mode.
  • the first terminal is set to save the traffic mode.
  • S407 Set the first terminal to save the traffic mode when the video does not include the face image.
  • the first terminal automatically turns on to save the traffic mode, and generates the first prompt information that the saved traffic mode is set.
  • S408 Generate a first prompt information that has been set to save the traffic mode.
  • the first terminal After the first terminal is set to save the traffic mode, the first terminal generates the first prompt information that has set the save traffic mode to trigger the subsequent step.
  • S409 Send the first prompt information to the second terminal, so that the second terminal stops sending the video data in the video call to the first terminal after the current time.
  • the first terminal sends the first prompt information that has enabled the traffic saving mode to the second terminal, so that the second terminal does not send the video data to the first terminal after receiving the information sent by the first terminal, but sends the data.
  • the voice data remains the same, and the network stays connected to save traffic.
  • S410 randomly select one frame of video in at least one frame of video to replace one frame of video at the current time, and obtain a replaced one frame of video.
  • S411 Display the replaced one frame video on the first terminal.
  • the second terminal after receiving the first prompt information sent by the first terminal, the second terminal stops sending video data to the first terminal, so that after the first terminal is enabled to save the traffic mode, the first terminal uses the previously saved at least one frame of video. Instead of receiving video data transmitted by the second terminal from the network side, the video data transmitted by the second terminal is updated to save one-time video at the current time, thereby saving traffic.
  • the detection score is obtained according to the preset parameter of the first terminal, and when the detection score reaches the preset threshold, the save traffic mode is turned on, at the first terminal.
  • the first terminal is set to save the traffic mode, and the message for setting the saving traffic mode is prompted to the second terminal, so that the video data is no longer transmitted, and at least one frame is The video is randomly selected to replace one frame of video at the current time, and the replaced one frame of video is obtained, which can save the traffic of the end user and improve the user experience.
  • FIG. 5 is a schematic flowchart of a method for controlling a video call according to another embodiment of the present invention. This embodiment is exemplified by the control method of the video call being configured as a video call control device.
  • the method for controlling the video call may include:
  • S501 Receive first prompt information sent by the first terminal, where the first prompt information is used to prompt the second terminal that the first terminal has set the save traffic mode at the current time.
  • the second terminal receives the first prompt message that is sent by the first terminal and has set the save traffic mode at the current time, where the second terminal needs to install the same function as the first terminal to trigger subsequent power on/off mode. Operation.
  • S502 Stop sending video data in the video call to the first terminal.
  • the second terminal does not send the video data to the first terminal after receiving the first prompt information sent by the first terminal, but the sent voice data does not change, and the network remains connected.
  • the second terminal after receiving the first prompt information that is sent by the first terminal and the traffic saving mode is set at the current time, the second terminal stops sending the video data in the video call to the first terminal, but the sent voice data is not Change, can save end user traffic, improve user experience.
  • the method further includes:
  • S601 Save at least one frame of video sent by the first terminal before the current time.
  • the video of the at least one frame sent by the first terminal before the current time is saved, and the N frame image included in the video of the at least one frame is updated every other fixed time, and the new terminal is newly received again.
  • Image the video of the at least one frame sent by the first terminal before the current time is saved, and the N frame image included in the video of the at least one frame is updated every other fixed time, and the new terminal is newly received again.
  • S602 Determine whether the second terminal sets the saving traffic mode.
  • the second prompt information that is configured to save the traffic mode is generated, where the second prompt message is used to prompt the second terminal to set the save traffic mode at the current time.
  • S604 Send the second prompt information to the first terminal, where the second prompt information is used to prompt the second terminal to set the save traffic mode at the current time.
  • the second terminal sends the second prompt information that has been enabled to save the traffic mode to the first terminal, and the first terminal does not send the video data to the second terminal after receiving the information sent by the second terminal, but the sent voice The data remains unchanged, and the network remains connected, so that the second terminal does not need to directly receive the video data sent by the first terminal from the network end, thereby achieving the purpose of saving traffic.
  • the sending of the video data to the first terminal is stopped, which can save the traffic of the terminal user and improve the user experience.
  • FIG. 7 is a schematic flowchart diagram of a method for controlling a video call according to another embodiment of the present invention. This embodiment is exemplified by the control method of the video call being configured as a video call control device.
  • the method for controlling the video call may include:
  • S701 Save a video of at least one frame sent by the second terminal before the current time.
  • S702 Collect a frame of video at the current time of the first terminal in the video call, and determine whether the video includes a face image.
  • S703 Acquire a detection score according to a preset parameter of the first terminal when the video includes a face image, where the preset parameter includes at least one of an audio parameter, a displacement parameter, and a network parameter.
  • S704 Determine whether the detection score reaches a preset threshold.
  • S707 Set the first terminal to save the traffic mode when the video does not include the face image.
  • S708 Generate a first prompt information that has set a save traffic mode.
  • S709 Send the first prompt information to the second terminal, so that the second terminal stops sending the video data in the video call to the first terminal after the current time.
  • S710 Receive first prompt information sent by the first terminal, where the first prompt information is used to prompt the second terminal that the first terminal has set the save traffic mode at the current time.
  • S711 Stop sending video data in the video call to the first terminal.
  • S712 Save at least one frame of video sent by the first terminal before the current time.
  • S715 Send the second prompt information to the first terminal, where the second prompt information is used to prompt the second terminal to set the save traffic mode at the current time.
  • S716 randomly select one frame of video in at least one frame of video to replace one frame of video at the current time, and obtain a replaced one frame of video.
  • S717 Display the replaced one frame video on the first terminal.
  • the detection score is obtained according to the preset parameter of the first terminal, and when the detection score reaches a preset threshold, the save traffic mode is turned on, at the first
  • the first terminal is set to save the traffic mode, and the message for setting the traffic saving mode is prompted to the second terminal, so that the video data is no longer sent, and the second terminal receives the message.
  • the first terminal stops sending the video data in the video call to the first terminal, but the sent voice data does not change, and in the video of at least one frame at this time A frame of video is randomly selected to replace one frame of video at the current time, and the replaced one frame of video is displayed and displayed on the first terminal, which can save the traffic of the terminal user and improve the user experience.
  • FIG. 8 is a schematic structural diagram of a video call control apparatus according to an embodiment of the present invention.
  • the control device 80 of the video call can be implemented by software, hardware or a combination of the two.
  • the control device 80 of the video call can include:
  • the collecting module 801 is configured to collect a frame of video at the current time of the first terminal of the video call, and determine whether the video includes a face image.
  • the first setting module 802 is configured to set the first terminal to save the traffic mode when the video does not include the face image.
  • control device 80 of the video call may further include:
  • the first sending module 803 is configured to send the first prompt information to the second terminal, where the second terminal is a opposite terminal that performs a video call with the first terminal, and the first prompt information is used to prompt the second terminal
  • the save traffic mode has been set.
  • the first generating module 804 is configured to generate first prompt information that has been set to save the traffic mode.
  • the first obtaining module 805 is configured to obtain a detection score according to a preset parameter of the first terminal when the video includes a face image, where the preset parameter includes at least one of an audio parameter, a displacement parameter, and a network parameter.
  • the first determining module 806 is configured to determine whether the detected score reaches a preset threshold.
  • the second setting module 807 is configured to set the first terminal to save the traffic mode when the detection score reaches a preset threshold.
  • the first saving module 808 is configured to save the video of the at least one frame sent by the second terminal before the current time.
  • the replacement module 809 is configured to randomly select one frame of video in at least one frame of video to replace one frame of video at the current time, and obtain a replaced one frame of video.
  • the display module 810 is configured to display the replaced frame of video on the first terminal.
  • the first setting module 802 is specifically configured to: determine whether the first terminal is configured to save the traffic mode; and when the first terminal does not set the traffic saving mode, set the first terminal to save the traffic mode.
  • the traffic of the terminal user can be saved, and the user experience is improved.
  • FIG. 10 is a schematic structural diagram of a video call control apparatus according to another embodiment of the present invention.
  • the control device 100 of the video call can be implemented by software, hardware or a combination of the two.
  • the control device 100 for the video call can include:
  • the receiving module 101 is configured to receive the first prompt information sent by the first terminal, where the first prompt information is used to prompt the second terminal that the first terminal has set the save traffic mode at the current time.
  • the stopping module 102 is configured to stop sending video data in the video call to the first terminal.
  • control device 100 for the video call may further include:
  • the second saving module 103 is configured to save the video of the at least one frame sent by the first terminal before the current time.
  • the second determining module 104 is configured to determine whether the second terminal sets the saving traffic mode.
  • the second generation module 105 is configured to generate second prompt information that has been set to save the traffic mode when the second terminal sets the save traffic mode.
  • the second sending module 106 is configured to send the second prompt information to the first terminal, where the second prompt information is used to prompt the second terminal to set the save traffic mode at the current time.
  • the sending of the video data to the first terminal is stopped, which can save the traffic of the terminal user and improve the user experience.
  • portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates configured to implement logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • an embodiment of the present invention further provides a computer storage medium, the computer storage medium comprising a set of instructions, when the instruction is executed, causing at least one processor to perform the above-mentioned video call control method.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or soft.
  • the form of the functional module is implemented.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the solution provided by the embodiment of the present invention when the frame video of the current time of the first terminal does not include the face image, sets the first terminal to save the traffic mode; and for the second terminal, receives the current time sent by the first terminal. After the first prompt information of the saving traffic mode is set, stopping the sending of the video data to the first terminal can save the traffic of the terminal user.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

Provided are a method, device and system for controlling a video call, and a computer storage medium. The method for controlling a video call comprises: acquiring a current video frame of a first terminal participating in a video call, and determining whether the video frame contains a face image; and if the video frame does not contain a face image, setting the first terminal to be in a data allowance saving mode.

Description

视频通话的控制方法、装置、系统及计算机存储介质Video call control method, device, system and computer storage medium 技术领域Technical field

本发明涉及通信技术领域,尤其涉及一种视频通话的控制方法、装置、系统及计算机存储介质。The present invention relates to the field of communications technologies, and in particular, to a video call control method, apparatus, system, and computer storage medium.

背景技术Background technique

随着通信技术的不断发展和4G技术的盛行,越来越多的用户使用移动终端的视频软件进行视频通话,方便便捷。相关技术中,移动终端制造商考虑的只是保证网络通话的稳定度及清晰度。With the continuous development of communication technology and the prevalence of 4G technology, more and more users use video software of mobile terminals to make video calls, which is convenient and convenient. In the related art, the mobile terminal manufacturer considers only the stability and clarity of the network call.

这种方式下,将会消耗很多用户移动终端的视频流量。In this way, a lot of video traffic of the user's mobile terminal will be consumed.

发明内容Summary of the invention

为解决现有存在的技术问题,本发明实施例提供一种频通话的控制方法、装置、系统及计算机存储介质。In order to solve the existing technical problems, embodiments of the present invention provide a method, an apparatus, a system, and a computer storage medium for controlling a frequency call.

本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:

本发明第一方面实施例提出的视频通话的控制方法,包括:采集处于视频通话的第一终端在当前时间的一帧视频,并判断所述视频是否包含人脸图像;在所述视频不包含所述人脸图像时,将第一终端设置为节省流量模式。The method for controlling a video call according to the first aspect of the present invention includes: collecting a frame of video at a current time of a first terminal of a video call, and determining whether the video includes a face image; and the video does not include In the face image, the first terminal is set to save the traffic mode.

本发明第一方面实施例提出的方法,通过在第一终端当前时间的一帧视频不包含人脸图像时,将第一终端设置成节省流量模式,能够节省终端用户的流量,提升用户的使用体验。The method provided by the embodiment of the first aspect of the present invention can save the traffic of the terminal user and improve the use of the user by setting the first terminal to save the traffic mode when the frame video of the current time of the first terminal does not include the face image. Experience.

本发明第二方面实施例提出的视频通话的控制方法,包括:接收第一终端发送的第一提示信息,其中,所述第一提示信息用于提示第二终端所 述第一终端在当前时间已设置节省流量模式;停止向所述第一终端发送视频通话中的视频数据。The method for controlling a video call according to the embodiment of the second aspect of the present invention includes: receiving the first prompt information sent by the first terminal, where the first prompt information is used to prompt the second terminal The first terminal has set a save traffic mode at the current time; and stops sending video data in the video call to the first terminal.

本发明第二方面实施例提出视频通话的控制的方法,通过接收到第一终端发送的在当前时间已设置节省流量模式的第一提示信息后,停止向第一终端发送视频数据,能够节省终端用户的流量,提升用户的使用体验。The method for controlling the video call according to the second embodiment of the present invention, after receiving the first prompt information that the first terminal has sent the current traffic saving mode at the current time, stops sending video data to the first terminal, thereby saving the terminal. User traffic improves user experience.

本发明第三方面实施例提出的视频通话的控制装置,包括:采集模块,配置为采集处于视频通话的第一终端在当前时间的一帧视频,并判断所述视频是否包含人脸图像;第一设置模块,配置为在所述视频不包含所述人脸图像时,将第一终端设置为节省流量模式。The video call control device of the third aspect of the present invention includes: an acquisition module, configured to collect a frame of video at a current time of the first terminal of the video call, and determine whether the video includes a face image; A setting module is configured to set the first terminal to save the traffic mode when the video does not include the face image.

本发明第三方面实施例提出的视频通话的控制装置,通过在第一终端当前时间的一帧视频不包含人脸图像时,将第一终端设置成节省流量模式,能够节省终端用户的流量,提升用户的使用体验。The video call control apparatus according to the third embodiment of the present invention can save the traffic of the terminal user by setting the first terminal to save the traffic mode when the frame video of the current time of the first terminal does not include the face image. Improve the user experience.

本发明第四方面实施例提出的视频通话的控制装置,包括:接收模块,配置为接收第一终端发送的第一提示信息,其中,所述第一提示信息用于提示第二终端所述第一终端在当前时间已设置节省流量模式;停止模块,配置为停止向所述第一终端发送视频通话中的视频数据。The device for controlling a video call according to the fourth embodiment of the present invention includes: a receiving module, configured to receive first prompt information sent by the first terminal, where the first prompt information is used to prompt the second terminal A terminal has set a save traffic mode at the current time; the stop module is configured to stop sending video data in the video call to the first terminal.

本发明第四方面实施例提出的视频通话的控制装置,通过接收到第一终端发送的在当前时间已设置节省流量模式的第一提示信息后,停止向第一终端发送视频数据,能够节省终端用户的流量,提升用户的使用体验。The control device for the video call according to the fourth embodiment of the present invention stops transmitting the video data to the first terminal after receiving the first prompt information that the first terminal has set the save traffic mode at the current time, thereby saving the terminal. User traffic improves user experience.

本发明第五方面实施例提出的视频通话的控制系统,包括:第三方面实施例提出的视频通话的控制装置和第四方面实施例提出的视频通话的控制装置。The control system for a video call according to the embodiment of the present invention includes the video call control device proposed in the third embodiment and the video call control device according to the fourth aspect.

本发明第五方面实施例提出的视频通话的控制系统,通过结合第三方面实施例提出的视频通话的控制装置和第四方面实施例提出的视频通话的控制装置,能够节省终端用户的流量,提升用户的使用体验。 The video call control system of the fifth aspect of the present invention can save the traffic of the terminal user by combining the control device for the video call proposed by the embodiment of the third aspect with the control device for the video call proposed by the embodiment of the fourth aspect. Improve the user experience.

本发明第六方面实施例提出的计算机存储介质,所述计算机存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行如第三方面实施例提出的视频通话的控制方法或者执行如第四方面实施例提出的视频通话的控制方法。A computer storage medium according to a sixth aspect of the present invention, the computer storage medium comprising a set of instructions, when executed, causing at least one processor to perform a video call control method as proposed by the third aspect of the present invention or A method of controlling a video call as proposed in the fourth aspect of the present invention is performed.

本发明第六方面实施例提出的计算机存储介质,通过执行第一方面实施例提出的视频通话的控制方法或者执行第二方面实施例提出的视频通话的控制方法,能够节省终端用户的流量,提升用户的使用体验。The computer storage medium according to the embodiment of the sixth aspect of the present invention can save the traffic of the terminal user and improve the control method of the video call proposed by the embodiment of the first aspect or the method for controlling the video call proposed by the embodiment of the second aspect. User experience.

本发明实施例附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明实施例的实践了解到。The additional aspects and advantages of the embodiments of the invention will be set forth in part in the description in the description.

附图说明DRAWINGS

本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from

图1是本发明一实施例提出的视频通话的控制方法的流程示意图;1 is a schematic flow chart of a method for controlling a video call according to an embodiment of the present invention;

图2是本发明另一实施例提出的视频通话的控制方法的流程示意图;2 is a schematic flowchart of a method for controlling a video call according to another embodiment of the present invention;

图3是本发明另一实施例提出的视频通话的控制方法的流程示意图;3 is a schematic flowchart of a method for controlling a video call according to another embodiment of the present invention;

图4是本发明另一实施例提出的视频通话的控制方法的流程示意图;4 is a schematic flowchart of a method for controlling a video call according to another embodiment of the present invention;

图5是本发明另一实施例提出的视频通话的控制方法的流程示意图;FIG. 5 is a schematic flowchart of a method for controlling a video call according to another embodiment of the present invention; FIG.

图6是本发明另一实施例提出的视频通话的控制方法的流程示意图;6 is a schematic flowchart of a method for controlling a video call according to another embodiment of the present invention;

图7是本发明另一实施例提出的视频通话的控制方法的流程示意图;7 is a schematic flowchart of a method for controlling a video call according to another embodiment of the present invention;

图8是本发明一实施例提出的视频通话的控制装置的结构示意图;FIG. 8 is a schematic structural diagram of a video call control apparatus according to an embodiment of the present invention; FIG.

图9是本发明另一实施例提出的视频通话的控制装置的结构示意图;9 is a schematic structural diagram of a video call control apparatus according to another embodiment of the present invention;

图10是本发明另一实施例提出的视频通话的控制装置的结构示意图;FIG. 10 is a schematic structural diagram of a video call control apparatus according to another embodiment of the present invention; FIG.

图11是本发明另一实施例提出的视频通话的控制装置的结构示意图。 FIG. 11 is a schematic structural diagram of a video call control apparatus according to another embodiment of the present invention.

具体实施方式detailed description

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。相反,本发明的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。The embodiments of the present invention are described in detail below, and the examples of the embodiments are illustrated in the drawings, wherein the same or similar reference numerals are used to refer to the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are intended to be illustrative of the invention and are not to be construed as limiting. Rather, the invention is to cover all modifications, modifications and equivalents within the spirit and scope of the appended claims.

图1是本发明一实施例提出的视频通话的控制方法的流程示意图。本实施例以该视频通话的控制方法被配置为视频通话的控制装置中来举例说明。该视频通话的控制方法可以应用在即时通讯类应用程序中,其中,应用程序可以是指运行在电子设备上的软件程序,电子设备例如为个人电脑(Personal Computer,PC),云端设备或者移动设备,移动设备例如智能手机,或者平板电脑等。1 is a schematic flow chart of a method for controlling a video call according to an embodiment of the present invention. This embodiment is exemplified by the control method of the video call being configured as a video call control device. The control method of the video call can be applied to an instant messaging application, wherein the application can be a software program running on an electronic device, such as a personal computer (PC), a cloud device or a mobile device. , mobile devices such as smartphones, or tablets.

参见图1,该视频通话的控制方法可以包括:Referring to FIG. 1, the control method of the video call may include:

S101:采集处于视频通话的第一终端在当前时间的一帧视频,并判断视频是否包含人脸图像。S101: Collect a frame of video at the current time of the first terminal in the video call, and determine whether the video includes a face image.

具体地,可通过摄像头传感器来采集当前时间的一帧视频,并捕捉当前第一终端采集的一帧视频画面,通过对比前后的视频画面,即能判断出第一终端的摄像头传感器采集的一帧视频所对应的画面是否有变化,通过人脸检测系统能够判断出当前第一终端的摄像头传感器捕捉到的一帧视频画面中是否包含人脸图像,以触发后续步骤。Specifically, the camera sensor can be used to collect a frame of video at the current time, and capture a frame of video captured by the current first terminal. By comparing the video images before and after, a frame captured by the camera sensor of the first terminal can be determined. Whether the picture corresponding to the video changes, the face detection system can determine whether the face image captured by the camera sensor captured by the camera sensor of the first terminal currently triggers the subsequent step.

在本发明的实施例中,在采集处于视频通话的第一终端在当前时间的一帧视频之前,还包括保存接收时间在当前时间之前第二终端发送的至少一帧的视频,以用于完成上述采集视频并判断视频中是否包含人脸图像的步骤。In the embodiment of the present invention, before collecting the first video of the video call at the current time, the video of the at least one frame sent by the second terminal before the current time is saved for completing. The above steps of collecting a video and determining whether a video is included in the video.

可选地,参见图2,一些实施例中,在S101之后,该视频通话的控制 方法还可以包括:Optionally, referring to FIG. 2, in some embodiments, after S101, the control of the video call The method can also include:

S201:在视频包含人脸图像时,根据第一终端的预设参数获取检测分数,其中,预设参数包括音频参数、位移参数以及网络参数中的至少一种。S201: When the video includes a face image, the detection score is obtained according to the preset parameter of the first terminal, where the preset parameter includes at least one of an audio parameter, a displacement parameter, and a network parameter.

具体地,当视频包含人脸图像时,根据第一终端用户的音频参数、位移参数以及网络参数,包括第一终端用户是否在说话,第一终端是否有位移,以及当前第一终端的网络状态等做综合判断,即根据第一终端的预设参数做综合判断,从而得到一个综合的分数值,即获取检测分数。Specifically, when the video includes a face image, according to the audio parameters, the displacement parameter, and the network parameter of the first terminal user, whether the first terminal user is speaking, whether the first terminal has a displacement, and the current network state of the first terminal. In order to make a comprehensive judgment, the comprehensive judgment is made according to the preset parameters of the first terminal, thereby obtaining a comprehensive score value, that is, obtaining the detection score.

例如,可通过麦克风来检测出当前第一终端的用户是否在说话,重力传感器来判断当前第一终端是否处于移动状态,光感传感器和近感传感器来判断当前第一终端的用户的身体是否靠近第一终端,网络检测软件来检测出当前第一终端的网络状态。获取上述所有的状态,即音频参数、位移参数以及网络参数,进而做一个综合的判断,得到一个综合的分数值,即获取检测分数,以触发后续开启/关闭节省流量模式的操作。For example, the microphone can be used to detect whether the user of the current first terminal is talking, the gravity sensor determines whether the current first terminal is in a moving state, and the light sensor and the proximity sensor determine whether the user of the current first terminal is close to the body. The first terminal, the network detection software, detects the current network state of the first terminal. Obtain all the above states, namely audio parameters, displacement parameters and network parameters, and then make a comprehensive judgment to obtain a comprehensive score value, that is, obtain the detection score to trigger the subsequent operation of turning on/off the save traffic mode.

可以理解的是,单个检测状态不一定触发第一终端开启节省流量模式,而是对所有状态做一个综合的判断才能决定第一终端是否开启节省流量模式。当然,第一终端用户可以根据自身需求将某一状态作为直接决定是否开启节省流量模式的依据。另外,第一终端的用户可以自由调整每个状态的检测顺序,即可根据自己关注的侧重点来选择检测顺序,依次检测各个状态。例如,第一终端的用户希望在网络状态不好的时候自动开启节省流量的模式,可以将网络参数直接作为检测分数大小的依据。可以理解的是,越靠前的检测状态其在判定综合分中所占的比例越高,根据综合分数决定是否开启节省流量模式,节省流量模式可以由第一终端的用户手动打开或关闭。It can be understood that the single detection state does not necessarily trigger the first terminal to enable the traffic saving mode, but makes a comprehensive judgment on all the states to determine whether the first terminal starts the traffic saving mode. Of course, the first terminal user can use a certain state as a basis for directly determining whether to open the traffic saving mode according to his own needs. In addition, the user of the first terminal can freely adjust the detection order of each state, and can select the detection order according to the focus of the focus, and sequentially detect each state. For example, the user of the first terminal wants to automatically turn on the mode of saving traffic when the network status is not good, and can directly use the network parameter as the basis for detecting the score size. It can be understood that the higher the proportion of the detection state in the determination comprehensive score, the higher the proportion of the determination score is, and whether the traffic saving mode is enabled according to the comprehensive score, the traffic saving mode can be manually turned on or off by the user of the first terminal.

S202:判断检测分数是否达到预设阈值。S202: Determine whether the detection score reaches a preset threshold.

在本发明的实施例中,预设阈值可以由移动终端内置程序预先设定, 也可以由用户根据自身需求对移动终端进行设置。In an embodiment of the present invention, the preset threshold may be preset by a built-in program of the mobile terminal. The mobile terminal can also be set by the user according to his own needs.

例如,将S201获取的检测分数与预设阈值进行对比,以触发后续步骤。For example, the detection score acquired by S201 is compared with a preset threshold to trigger a subsequent step.

S203:如果检测分数达到预设阈值,判断第一终端是否设置节省流量模式。S203: If the detection score reaches a preset threshold, determine whether the first terminal sets the save traffic mode.

例如,在S201获取的检测分数大于预设阈值时,还需判断第一终端是否设置为节省流量模式,以触发后续开启/关闭节省流量模式的操作。For example, when the detection score acquired in S201 is greater than the preset threshold, it is also determined whether the first terminal is set to save the traffic mode to trigger the subsequent operation of turning on/off the traffic saving mode.

S204:在第一终端未设置节省流量模式时,第一终端设置为节省流量模式。S204: When the first terminal does not set the save traffic mode, the first terminal is set to save the traffic mode.

具体地,在检测分数大于预设阈值且第一终端未设置为节省流量模式时,将第一终端设置为节省流量模式。Specifically, when the detection score is greater than the preset threshold and the first terminal is not set to save the traffic mode, the first terminal is set to save the traffic mode.

本实施例中,在第一终端的摄像头传感器采集当前时间的一帧视频包含人脸图像时,根据第一终端的预设参数获取检测分数,当检测分数达到预设阈值时,开启节省流量模式,能够节省终端用户的流量,提升用户的使用体验。In this embodiment, when the camera sensor of the first terminal collects a frame video of the current time, including the face image, the detection score is obtained according to the preset parameter of the first terminal, and when the detection score reaches the preset threshold, the traffic saving mode is enabled. It can save the traffic of end users and enhance the user experience.

S102:在视频不包含人脸图像时,将第一终端设置为节省流量模式。S102: Set the first terminal to save the traffic mode when the video does not include the face image.

具体地,当视频不包含人脸图像时,第一终端自动开启为节省流量模式以节省终端用户的流量,提升用户的使用体验。Specifically, when the video does not include a face image, the first terminal automatically starts to save the traffic mode to save the traffic of the terminal user and improve the user experience.

可选地,参见图3,一些实施例中,在S102之后,该视频通话的控制方法还可以包括:Optionally, referring to FIG. 3, in some embodiments, after S102, the method for controlling the video call may further include:

S301:生成已设置节省流量模式的第一提示信息。S301: Generate first prompt information that has set a save traffic mode.

具体地,在第一终端设置为节省流量模式之后,第一终端生成已设置节省流量模式的第一提示信息,以触发后续步骤。Specifically, after the first terminal is set to save the traffic mode, the first terminal generates the first prompt information that has set the save traffic mode to trigger the subsequent step.

S302:将第一提示信息发送至第二终端,其中,第二终端为与第一终端进行视频通话的对侧终端,第一提示信息用于提示第二终端第一终端已设置节省流量模式。 S302: Send the first prompt information to the second terminal, where the second terminal is a peer terminal that performs a video call with the first terminal, and the first prompt information is used to prompt the second terminal that the first terminal has set the save traffic mode.

具体地,第一终端将已设置节省流量模式的第一提示信息发送至第二终端,以使第二终端在收到第一提示信息之后不再向第一终端发送视频数据,但是发送的语音数据不变,并且网络保持连接,第一终端停止从网络端接收第二终端发送的视频数据,从而达到节省流量的目的。Specifically, the first terminal sends the first prompt information that has been set to save the traffic mode to the second terminal, so that the second terminal does not send the video data to the first terminal after receiving the first prompt information, but the sent voice The data remains unchanged, and the network remains connected. The first terminal stops receiving the video data sent by the second terminal from the network, thereby achieving the purpose of saving traffic.

S303:在至少一帧的视频中随机选取一帧视频替换当前时间的一帧视频,得到替换后的一帧视频。S303: randomly select one frame of video in at least one frame of video to replace one frame of video at the current time, and obtain a replaced one frame of video.

S304:在第一终端上显示替换后的一帧视频。S304: Display the replaced one frame video on the first terminal.

具体地,当第二终端接收第一终端发送的第一提示信息之后,停止向第一终端发送视频数据,这样,第一终端在开启节省流量模式后,采用之前保存的至少一帧视频来对第一终端中当前时间的一帧视频进行替换,而不是从网络端接收第二终端传送的视频数据对当前时间的一帧视频进行更新,节省流量。Specifically, after receiving the first prompt information sent by the first terminal, the second terminal stops sending video data to the first terminal, so that after the first terminal is enabled to save the traffic mode, the first terminal uses the previously saved at least one frame of video. Instead of receiving video data transmitted by the second terminal from the network side, the video data transmitted by the second terminal is updated to save one-time video at the current time, thereby saving traffic.

本实施例中,通过第一终端设置成节省流量模式并生成已设置节省流量模式的第一提示信息,将第一提示信息发送至第二终端,第二终端收到后停止向第一终端发送视频数据,第一终端采用之前保存的至少一帧视频来对第一终端中当前时间的一帧视频进行替换,能够节省终端用户的流量,提升用户的使用体验。In this embodiment, the first terminal is configured to save the traffic mode and generate the first prompt information that has been set to save the traffic mode, and send the first prompt information to the second terminal, and the second terminal stops sending to the first terminal after receiving the second terminal. For the video data, the first terminal replaces one frame of video at the current time in the first terminal by using at least one frame of video saved before, which can save the traffic of the terminal user and improve the user experience.

图4是本发明另一实施例提出的视频通话的控制方法的流程示意图。本实施例以该视频通话的控制方法应用在视频通话的控制装置中来举例说明。FIG. 4 is a schematic flowchart diagram of a method for controlling a video call according to another embodiment of the present invention. This embodiment is exemplified by applying the control method of the video call to the control device of the video call.

参见图4,该视频通话的控制方法可以包括:Referring to FIG. 4, the method for controlling the video call may include:

S401:保存接收时间在当前时间之前第二终端发送的至少一帧的视频。S401: Save at least one frame of video sent by the second terminal before the current time.

具体地,保存接收时间在当前时间之前第二终端发送的至少一帧的视频,且至少一帧的视频所包含的N帧图像每隔固定的时间更新一次,重新从第二终端接收新的图像。 Specifically, the video of the at least one frame sent by the second terminal before the current time is saved, and the N frame image included in the video of the at least one frame is updated once every fixed time, and the new image is received again from the second terminal. .

S402:采集处于视频通话的第一终端在当前时间的一帧视频,并判断视频是否包含人脸图像。S402: Collect a frame of video at the current time of the first terminal in the video call, and determine whether the video includes a face image.

具体地,可通过摄像头传感器来采集当前时间的一帧视频,并捕捉当前第一终端采集的一帧视频画面,通过对比前后的视频画面,即能判断出第一终端的摄像头传感器采集的一帧视频所对应的画面是否有变化,通过人脸检测系统能够判断出当前第一终端的摄像头传感器捕捉到的一帧视频画面中是否包含人脸图像,以触发后续步骤。Specifically, the camera sensor can be used to collect a frame of video at the current time, and capture a frame of video captured by the current first terminal. By comparing the video images before and after, a frame captured by the camera sensor of the first terminal can be determined. Whether the picture corresponding to the video changes, the face detection system can determine whether the face image captured by the camera sensor captured by the camera sensor of the first terminal currently triggers the subsequent step.

S403:在视频包含人脸图像时,根据第一终端的预设参数获取检测分数,其中,预设参数包括音频参数、位移参数以及网络参数中的至少一种。S403: When the video includes the face image, the detection score is obtained according to the preset parameter of the first terminal, where the preset parameter includes at least one of an audio parameter, a displacement parameter, and a network parameter.

具体地,当视频包含人脸图像时,根据第一终端用户的音频参数、位移参数以及网络参数,包括第一终端用户是否在说话,第一终端是否有位移,以及当前第一终端的网络状态等做综合判断,即根据第一终端的预设参数做综合判断,从而得到一个综合的分数值,即获取检测分数。Specifically, when the video includes a face image, according to the audio parameters, the displacement parameter, and the network parameter of the first terminal user, whether the first terminal user is speaking, whether the first terminal has a displacement, and the current network state of the first terminal. In order to make a comprehensive judgment, the comprehensive judgment is made according to the preset parameters of the first terminal, thereby obtaining a comprehensive score value, that is, obtaining the detection score.

例如,可通过麦克风来检测出当前第一终端的用户是否在说话,重力传感器来判断当前第一终端是否处于移动状态,光感传感器和近感传感器来判断当前第一终端的用户的身体是否靠近第一终端,网络检测软件来检测出当前第一终端的网络状态。获取音频参数、位移参数以及网络参数,进而做一个综合的判断,得到一个综合的分数值,即获取检测分数,以触发后续开启/关闭节省流量模式的操作。For example, the microphone can be used to detect whether the user of the current first terminal is talking, the gravity sensor determines whether the current first terminal is in a moving state, and the light sensor and the proximity sensor determine whether the user of the current first terminal is close to the body. The first terminal, the network detection software, detects the current network state of the first terminal. Obtain audio parameters, displacement parameters, and network parameters, and then make a comprehensive judgment to obtain a comprehensive score value, that is, obtain the detection score to trigger the subsequent operation of turning on/off the save traffic mode.

可以理解的是,单个参数不一定触发第一终端开启节省流量模式,而是对所有参数做一个综合的判断才能决定第一终端是否开启节省流量模式。当然,第一终端用户可以根据自身需求将某一参数作为直接决定是否开启节省流量模式的依据。另外,第一终端的用户可以自由调整每个参数的检测顺序,即可根据自己关注的侧重点来选择检测顺序,依次检测各个参数。例如,第一终端的用户更关心网络状态,希望在网络状态不好的时 候自动开启节省流量的模式,那么就可以将网络参数直接作为检测分数大小的依据。越靠前的参数其在判定中所占的比例越高,根据检测分数决定是否开启节省流量模式,节省流量模式可以由第一终端的用户手动打开或关闭。It can be understood that a single parameter does not necessarily trigger the first terminal to enable the traffic saving mode, but makes a comprehensive judgment on all parameters to determine whether the first terminal enables the traffic saving mode. Of course, the first terminal user can use a certain parameter as a basis for directly determining whether to open the traffic saving mode according to his own needs. In addition, the user of the first terminal can freely adjust the detection order of each parameter, and can select the detection order according to the focus of the focus, and sequentially detect each parameter. For example, the user of the first terminal is more concerned with the network status, and hopes that when the network status is not good. When the mode of saving traffic is automatically turned on, the network parameters can be directly used as the basis for detecting the size of the score. The higher the higher the proportion of the parameter in the determination, the more the traffic saving mode is turned on according to the detection score, and the traffic saving mode can be manually turned on or off by the user of the first terminal.

S404:判断检测分数是否达到预设阈值。S404: Determine whether the detection score reaches a preset threshold.

在本发明的实施例中,预设阈值可以由移动终端内置程序预先设定,也可以由用户根据自身需求对移动终端进行设置。In the embodiment of the present invention, the preset threshold may be preset by the built-in program of the mobile terminal, or may be set by the user according to the needs of the mobile terminal.

例如,将S403获取的检测分数与预设阈值进行对比,以触发后续步骤。For example, the detection score acquired by S403 is compared with a preset threshold to trigger a subsequent step.

S405:如果检测分数达到预设阈值,判断第一终端是否设置节省流量模式。S405: If the detection score reaches a preset threshold, determine whether the first terminal sets the save traffic mode.

例如,在S403获取的检测分数大于预设阈值时,还需判断第一终端是否设置为节省流量模式,以触发后续开启/关闭节省流量模式的操作。For example, when the detection score acquired in S403 is greater than the preset threshold, it is also determined whether the first terminal is set to save the traffic mode to trigger the subsequent operation of turning on/off the traffic saving mode.

S406:在第一终端未设置节省流量模式时,第一终端设置为节省流量模式。S406: When the first terminal does not set the save traffic mode, the first terminal is set to save the traffic mode.

具体地,在检测分数大于预设阈值且第一终端未设置为节省流量模式时,将第一终端设置为节省流量模式。Specifically, when the detection score is greater than the preset threshold and the first terminal is not set to save the traffic mode, the first terminal is set to save the traffic mode.

S407:在视频不包含人脸图像时,将第一终端设置为节省流量模式。S407: Set the first terminal to save the traffic mode when the video does not include the face image.

具体地,当第一终端的当摄像头的人脸检测系统未检测到人脸图像时,第一终端自动开启为节省流量模式,并生成已设置节省流量模式的第一提示信息。Specifically, when the face detection system of the camera of the first terminal does not detect the face image, the first terminal automatically turns on to save the traffic mode, and generates the first prompt information that the saved traffic mode is set.

S408:生成已设置节省流量模式的第一提示信息。S408: Generate a first prompt information that has been set to save the traffic mode.

具体地,在第一终端设置为节省流量模式之后,第一终端生成已设置节省流量模式的第一提示信息,以触发后续步骤。Specifically, after the first terminal is set to save the traffic mode, the first terminal generates the first prompt information that has set the save traffic mode to trigger the subsequent step.

S409:将第一提示信息发送至第二终端,以使第二终端在当前时间之后停止向第一终端发送视频通话中的视频数据。 S409: Send the first prompt information to the second terminal, so that the second terminal stops sending the video data in the video call to the first terminal after the current time.

具体地,第一终端将已开启节省流量模式的第一提示信息发送至第二终端,以使第二终端在收到第一终端发送的信息之后不再向第一终端发送视频数据,但是发送的语音数据不变,并且网络保持连接,从而达到节省流量的目的。Specifically, the first terminal sends the first prompt information that has enabled the traffic saving mode to the second terminal, so that the second terminal does not send the video data to the first terminal after receiving the information sent by the first terminal, but sends the data. The voice data remains the same, and the network stays connected to save traffic.

S410:在至少一帧的视频中随机选取一帧视频替换当前时间的一帧视频,得到替换后的一帧视频。S410: randomly select one frame of video in at least one frame of video to replace one frame of video at the current time, and obtain a replaced one frame of video.

S411:在第一终端上显示替换后的一帧视频。S411: Display the replaced one frame video on the first terminal.

具体地,当第二终端接收第一终端发送的第一提示信息之后,停止向第一终端发送视频数据,这样,第一终端在开启节省流量模式后,采用之前保存的至少一帧视频来对第一终端中当前时间的一帧视频进行替换,而不是从网络端接收第二终端传送的视频数据对当前时间的一帧视频进行更新,节省流量。Specifically, after receiving the first prompt information sent by the first terminal, the second terminal stops sending video data to the first terminal, so that after the first terminal is enabled to save the traffic mode, the first terminal uses the previously saved at least one frame of video. Instead of receiving video data transmitted by the second terminal from the network side, the video data transmitted by the second terminal is updated to save one-time video at the current time, thereby saving traffic.

本实施例中,在第一终端的摄像头采集的视频包含人脸图像时,根据第一终端的预设参数获取检测分数,当检测分数达到预设阈值时,开启节省流量模式,在第一终端的摄像头采集的视频不包含人脸图像时,将第一终端设置成节省流量模式,并将设置节省流量模式的消息提示给第二终端,使其不再发送视频数据,并在至少一帧的视频中随机选取一帧视频替换当前时间的一帧视频,得到替换后的一帧视频,能够节省终端用户的流量,提升用户的使用体验。In this embodiment, when the video captured by the camera of the first terminal includes the face image, the detection score is obtained according to the preset parameter of the first terminal, and when the detection score reaches the preset threshold, the save traffic mode is turned on, at the first terminal. When the video captured by the camera does not include the face image, the first terminal is set to save the traffic mode, and the message for setting the saving traffic mode is prompted to the second terminal, so that the video data is no longer transmitted, and at least one frame is The video is randomly selected to replace one frame of video at the current time, and the replaced one frame of video is obtained, which can save the traffic of the end user and improve the user experience.

图5是本发明另一实施例提出的视频通话的控制方法的流程示意图。本实施例以该视频通话的控制方法被配置为视频通话的控制装置中来举例说明。FIG. 5 is a schematic flowchart of a method for controlling a video call according to another embodiment of the present invention. This embodiment is exemplified by the control method of the video call being configured as a video call control device.

参见图5,该视频通话的控制方法可以包括:Referring to FIG. 5, the method for controlling the video call may include:

S501:接收第一终端发送的第一提示信息,其中,第一提示信息用于提示第二终端第一终端在当前时间已设置节省流量模式。 S501: Receive first prompt information sent by the first terminal, where the first prompt information is used to prompt the second terminal that the first terminal has set the save traffic mode at the current time.

具体地,第二终端接收第一终端发送的在当前时间已设置节省流量模式的第一提示消息,其中,第二终端需安装与第一终端同样的功能,以触发后续开启/关闭节省流量模式的操作。Specifically, the second terminal receives the first prompt message that is sent by the first terminal and has set the save traffic mode at the current time, where the second terminal needs to install the same function as the first terminal to trigger subsequent power on/off mode. Operation.

S502:停止向第一终端发送视频通话中的视频数据。S502: Stop sending video data in the video call to the first terminal.

具体地,第二终端在接收到第一终端发送的第一提示信息之后不再向第一终端发送视频数据,但是发送的语音数据不变,并且网络保持连接。Specifically, the second terminal does not send the video data to the first terminal after receiving the first prompt information sent by the first terminal, but the sent voice data does not change, and the network remains connected.

本实施例中,通过接收到第一终端发送的在当前时间已设置节省流量模式的第一提示信息后,第二终端停止向第一终端发送视频通话中的视频数据,但是发送的语音数据不变,能够节省终端用户的流量,提升用户的使用体验。In this embodiment, after receiving the first prompt information that is sent by the first terminal and the traffic saving mode is set at the current time, the second terminal stops sending the video data in the video call to the first terminal, but the sent voice data is not Change, can save end user traffic, improve user experience.

可选地,一些实施例中,参见图6,在S502之后,还包括:Optionally, in some embodiments, referring to FIG. 6, after S502, the method further includes:

S601:保存接收时间在当前时间之前第一终端发送的至少一帧的视频。S601: Save at least one frame of video sent by the first terminal before the current time.

具体地,保存接收时间在当前时间之前第一终端发来的至少一帧的视频,且至少一帧的视频所包含的N帧图像每隔一个固定的时间更新一次,重新从第一终端接收新的图像。Specifically, the video of the at least one frame sent by the first terminal before the current time is saved, and the N frame image included in the video of the at least one frame is updated every other fixed time, and the new terminal is newly received again. Image.

S602:判断第二终端是否设置节省流量模式。S602: Determine whether the second terminal sets the saving traffic mode.

具体地,判断第二终端是否设置为节省流量模式,以触发后续开启/关闭节省流量模式的操作。Specifically, it is determined whether the second terminal is set to save the traffic mode to trigger the subsequent operation of turning on/off the traffic saving mode.

S603:在第二终端设置节省流量模式时,生成已设置节省流量模式的第二提示信息。S603: When the second terminal sets the save traffic mode, generate second prompt information that has set the save traffic mode.

具体地,在第二终端设置为节省流量模式时,生成已设置节省流量模式的第二提示信息,其中,第二提示消息用于提示第一终端第二终端在当前时间已设置节省流量模式。Specifically, when the second terminal is configured to save the traffic mode, the second prompt information that is configured to save the traffic mode is generated, where the second prompt message is used to prompt the second terminal to set the save traffic mode at the current time.

S604:将第二提示信息发送至第一终端,第二提示信息用于提示第一终端第二终端在当前时间已设置节省流量模式。 S604: Send the second prompt information to the first terminal, where the second prompt information is used to prompt the second terminal to set the save traffic mode at the current time.

具体地,第二终端将已开启节省流量模式的第二提示信息发送至第一终端,第一终端在收到第二终端发送的信息之后不再向第二终端发送视频数据,但是发送的语音数据不变,并且网络保持连接,这样第二终端无需直接从网络端接收第一终端发送的视频数据,从而达到节省流量的目的。Specifically, the second terminal sends the second prompt information that has been enabled to save the traffic mode to the first terminal, and the first terminal does not send the video data to the second terminal after receiving the information sent by the second terminal, but the sent voice The data remains unchanged, and the network remains connected, so that the second terminal does not need to directly receive the video data sent by the first terminal from the network end, thereby achieving the purpose of saving traffic.

本实施例中,通过接收到第一终端发送的在当前时间已设置节省流量模式的第一提示信息后,停止向第一终端发送视频数据,能够节省终端用户的流量,提升用户的使用体验。In this embodiment, after receiving the first prompt information that is sent by the first terminal and the traffic saving mode is set at the current time, the sending of the video data to the first terminal is stopped, which can save the traffic of the terminal user and improve the user experience.

图7是本发明另一实施例提出的视频通话的控制方法的流程示意图。本实施例以该视频通话的控制方法被配置为视频通话的控制装置中来举例说明。FIG. 7 is a schematic flowchart diagram of a method for controlling a video call according to another embodiment of the present invention. This embodiment is exemplified by the control method of the video call being configured as a video call control device.

参见图7,该视频通话的控制方法可以包括:Referring to FIG. 7, the method for controlling the video call may include:

S701:保存接收时间在当前时间之前第二终端发送的至少一帧的视频。S701: Save a video of at least one frame sent by the second terminal before the current time.

S702:采集处于视频通话的第一终端在当前时间的一帧视频,并判断视频是否包含人脸图像。S702: Collect a frame of video at the current time of the first terminal in the video call, and determine whether the video includes a face image.

S703:在视频包含人脸图像时,根据第一终端的预设参数获取检测分数,其中,预设参数包括音频参数、位移参数以及网络参数中的至少一种。S703: Acquire a detection score according to a preset parameter of the first terminal when the video includes a face image, where the preset parameter includes at least one of an audio parameter, a displacement parameter, and a network parameter.

S704:判断检测分数是否达到预设阈值。S704: Determine whether the detection score reaches a preset threshold.

S705:如果检测分数达到预设阈值,判断第一终端是否设置节省流量模式。S705: If the detection score reaches a preset threshold, determine whether the first terminal sets the save traffic mode.

S706:在第一终端未设置节省流量模式时,第一终端设置为节省流量模式。S706: When the first terminal does not set the save traffic mode, the first terminal is set to save the traffic mode.

S707:在视频不包含人脸图像时,将第一终端设置为节省流量模式。S707: Set the first terminal to save the traffic mode when the video does not include the face image.

S708:生成已设置节省流量模式的第一提示信息。S708: Generate a first prompt information that has set a save traffic mode.

S709:将第一提示信息发送至第二终端,以使第二终端在当前时间之后停止向第一终端发送视频通话中的视频数据。 S709: Send the first prompt information to the second terminal, so that the second terminal stops sending the video data in the video call to the first terminal after the current time.

S710:接收第一终端发送的第一提示信息,其中,第一提示信息用于提示第二终端第一终端在当前时间已设置节省流量模式。S710: Receive first prompt information sent by the first terminal, where the first prompt information is used to prompt the second terminal that the first terminal has set the save traffic mode at the current time.

S711:停止向第一终端发送视频通话中的视频数据。S711: Stop sending video data in the video call to the first terminal.

S712:保存接收时间在当前时间之前第一终端发送的至少一帧的视频。S712: Save at least one frame of video sent by the first terminal before the current time.

S713:判断第二终端是否设置节省流量模式。S713: Determine whether the second terminal sets the save traffic mode.

S714:在第二终端设置节省流量模式时,生成已设置节省流量模式的第二提示信息。S714: When the second terminal sets the saving traffic mode, generating second prompt information that the saved traffic mode is set.

S715:将第二提示信息发送至第一终端,第二提示信息用于提示第一终端第二终端在当前时间已设置节省流量模式。S715: Send the second prompt information to the first terminal, where the second prompt information is used to prompt the second terminal to set the save traffic mode at the current time.

S716:在至少一帧的视频中随机选取一帧视频替换当前时间的一帧视频,得到替换后的一帧视频。S716: randomly select one frame of video in at least one frame of video to replace one frame of video at the current time, and obtain a replaced one frame of video.

S717:在第一终端上显示替换后的一帧视频。S717: Display the replaced one frame video on the first terminal.

本实施例的执行过程可以参见图1-图6所示的实施例,在此不再赘述。For the implementation process of this embodiment, reference may be made to the embodiments shown in FIG. 1 to FIG. 6 , and details are not described herein again.

本实施例中,通过在第一终端的摄像头采集的视频包含人脸图像时,根据第一终端的预设参数获取检测分数,当检测分数达到预设阈值时,开启节省流量模式,在第一终端的摄像头采集的视频不包含人脸图像时,将第一终端设置成节省流量模式,并将设置节省流量模式的消息提示给第二终端,使其不再发送视频数据,第二终端接收到第一终端发送的在当前时间已设置节省流量模式的第一提示信息后,停止向第一终端发送视频通话中的视频数据,但是发送的语音数据不变,此时在至少一帧的视频中随机选取一帧视频替换当前时间的一帧视频,得到替换后的一帧视频并在第一终端上显示,能够节省终端用户的流量,提升用户的使用体验。In this embodiment, when the video captured by the camera of the first terminal includes a face image, the detection score is obtained according to the preset parameter of the first terminal, and when the detection score reaches a preset threshold, the save traffic mode is turned on, at the first When the video captured by the camera of the terminal does not include the face image, the first terminal is set to save the traffic mode, and the message for setting the traffic saving mode is prompted to the second terminal, so that the video data is no longer sent, and the second terminal receives the message. After the first prompt information of the save traffic mode is set at the current time, the first terminal stops sending the video data in the video call to the first terminal, but the sent voice data does not change, and in the video of at least one frame at this time A frame of video is randomly selected to replace one frame of video at the current time, and the replaced one frame of video is displayed and displayed on the first terminal, which can save the traffic of the terminal user and improve the user experience.

图8是本发明一实施例提出的视频通话的控制装置的结构示意图。该视频通话的控制装置80可以通过软件、硬件或者两者的结合实现,该视频通话的控制装置80可以包括: FIG. 8 is a schematic structural diagram of a video call control apparatus according to an embodiment of the present invention. The control device 80 of the video call can be implemented by software, hardware or a combination of the two. The control device 80 of the video call can include:

采集模块801,配置为采集处于视频通话的第一终端在当前时间的一帧视频,并判断视频是否包含人脸图像。The collecting module 801 is configured to collect a frame of video at the current time of the first terminal of the video call, and determine whether the video includes a face image.

第一设置模块802,配置为在视频不包含人脸图像时,将第一终端设置为节省流量模式。The first setting module 802 is configured to set the first terminal to save the traffic mode when the video does not include the face image.

一些实施例中,参见图9,该视频通话的控制装置80还可以包括:In some embodiments, referring to FIG. 9, the control device 80 of the video call may further include:

第一发送模块803,配置为将第一提示信息发送至第二终端,其中,第二终端为与第一终端进行视频通话的对侧终端,第一提示信息用于提示第二终端第一终端已设置节省流量模式。The first sending module 803 is configured to send the first prompt information to the second terminal, where the second terminal is a opposite terminal that performs a video call with the first terminal, and the first prompt information is used to prompt the second terminal The save traffic mode has been set.

第一生成模块804,配置为生成已设置节省流量模式的第一提示信息。The first generating module 804 is configured to generate first prompt information that has been set to save the traffic mode.

第一获取模块805,配置为在视频包含人脸图像时,根据第一终端的预设参数获取检测分数,其中,预设参数包括音频参数、位移参数以及网络参数中的至少一种。The first obtaining module 805 is configured to obtain a detection score according to a preset parameter of the first terminal when the video includes a face image, where the preset parameter includes at least one of an audio parameter, a displacement parameter, and a network parameter.

第一判断模块806,配置为判断检测分数是否达到预设阈值。The first determining module 806 is configured to determine whether the detected score reaches a preset threshold.

第二设置模块807,配置为在检测分数达到预设阈值时,则将第一终端设置为节省流量模式。The second setting module 807 is configured to set the first terminal to save the traffic mode when the detection score reaches a preset threshold.

第一保存模块808,配置为保存接收时间在当前时间之前第二终端发送的至少一帧的视频。The first saving module 808 is configured to save the video of the at least one frame sent by the second terminal before the current time.

替换模块809,配置为在至少一帧的视频中随机选取一帧视频替换当前时间的一帧视频,得到替换后的一帧视频。The replacement module 809 is configured to randomly select one frame of video in at least one frame of video to replace one frame of video at the current time, and obtain a replaced one frame of video.

显示模块810,配置为在第一终端上显示替换后的一帧视频。The display module 810 is configured to display the replaced frame of video on the first terminal.

可选地,第一设置模块802具体配置为:判断第一终端是否设置节省流量模式;在第一终端未设置节省流量模式时,将第一终端设置为节省流量模式。Optionally, the first setting module 802 is specifically configured to: determine whether the first terminal is configured to save the traffic mode; and when the first terminal does not set the traffic saving mode, set the first terminal to save the traffic mode.

需要说明的是,前述图1-图4实施例中对视频通话的控制方法实施例的解释说明也适用于该实施例的视频通话的控制装置80,其实现原理类似, 此处不再赘述。It should be noted that the description of the embodiment of the video call control method in the foregoing embodiments of FIG. 1 to FIG. 4 is also applicable to the video call control apparatus 80 of the embodiment, and the implementation principle is similar. I will not repeat them here.

本实施例中,通过在第一终端当前时间的一帧视频不包含人脸图像时,将第一终端设置成节省流量模式,能够节省终端用户的流量,提升用户的使用体验。In this embodiment, when the first terminal is set to the traffic saving mode when the frame video of the current time of the first terminal does not include the face image, the traffic of the terminal user can be saved, and the user experience is improved.

图10是本发明另一实施例提出的视频通话的控制装置的结构示意图。该视频通话的控制装置100可以通过软件、硬件或者两者的结合实现,该视频通话的控制装置100可以包括:FIG. 10 is a schematic structural diagram of a video call control apparatus according to another embodiment of the present invention. The control device 100 of the video call can be implemented by software, hardware or a combination of the two. The control device 100 for the video call can include:

接收模块101,配置为接收第一终端发送的第一提示信息,其中,第一提示信息用于提示第二终端第一终端在当前时间已设置节省流量模式。The receiving module 101 is configured to receive the first prompt information sent by the first terminal, where the first prompt information is used to prompt the second terminal that the first terminal has set the save traffic mode at the current time.

停止模块102,配置为停止向第一终端发送视频通话中的视频数据。The stopping module 102 is configured to stop sending video data in the video call to the first terminal.

一些实施例中,参见图11,该视频通话的控制装置100还可以包括:In some embodiments, referring to FIG. 11, the control device 100 for the video call may further include:

第二保存模块103,配置为保存接收时间在当前时间之前第一终端发送的至少一帧的视频。The second saving module 103 is configured to save the video of the at least one frame sent by the first terminal before the current time.

第二判断模块104,配置为判断第二终端是否设置节省流量模式。The second determining module 104 is configured to determine whether the second terminal sets the saving traffic mode.

第二生成模块105,配置为在第二终端设置节省流量模式时,生成已设置节省流量模式的第二提示信息。The second generation module 105 is configured to generate second prompt information that has been set to save the traffic mode when the second terminal sets the save traffic mode.

第二发送模块106,配置为将第二提示信息发送至第一终端,第二提示信息用于提示第一终端第二终端在当前时间已设置节省流量模式。The second sending module 106 is configured to send the second prompt information to the first terminal, where the second prompt information is used to prompt the second terminal to set the save traffic mode at the current time.

需要说明的是,前述图5-图6实施例中对视频通话的控制方法实施例的解释说明也适用于该实施例的视频通话的控制装置100,其实现原理类似,此处不再赘述。It should be noted that the description of the embodiment of the video call control method in the foregoing embodiments of FIG. 5 to FIG. 6 is also applicable to the video call control apparatus 100 of the embodiment, and the implementation principle thereof is similar, and details are not described herein again.

本实施例中,通过接收到第一终端发送的在当前时间已设置节省流量模式的第一提示信息后,停止向第一终端发送视频数据,能够节省终端用户的流量,提升用户的使用体验。In this embodiment, after receiving the first prompt information that is sent by the first terminal and the traffic saving mode is set at the current time, the sending of the video data to the first terminal is stopped, which can save the traffic of the terminal user and improve the user experience.

需要说明的是,在本发明的描述中,术语“第一”、“第二”等仅用于 描述目的,而不能理解为指示或暗示相对重要性。此外,在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。It should be noted that in the description of the present invention, the terms "first", "second", etc. are used only for The purpose of the description is not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" is two or more unless otherwise specified.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a particular logical function or process. And the scope of the preferred embodiments of the invention includes additional implementations, in which the functions may be performed in a substantially simultaneous manner or in an opposite order depending on the functions involved, in the order shown or discussed. It will be understood by those skilled in the art to which the embodiments of the present invention pertain.

应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有配置为对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that portions of the invention may be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates configured to implement logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, one or a combination of the steps of the method embodiments is included.

基于此,本发明实施例还提供了一种计算机存储介质,所述计算机存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行上述的视频通话的控制方法。Based on this, an embodiment of the present invention further provides a computer storage medium, the computer storage medium comprising a set of instructions, when the instruction is executed, causing at least one processor to perform the above-mentioned video call control method.

此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软 件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or soft. The form of the functional module is implemented. The integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。The above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of the present specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means a specific feature described in connection with the embodiment or example. A structure, material or feature is included in at least one embodiment or example of the invention. In the present specification, the schematic representation of the above terms does not necessarily mean the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples.

尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described, it is understood that the above-described embodiments are illustrative and are not to be construed as limiting the scope of the invention. The embodiments are subject to variations, modifications, substitutions and variations.

工业实用性Industrial applicability

本发明实施例提供的方案,在第一终端当前时间的一帧视频不包含人脸图像时,将第一终端设置成节省流量模式;对于第二终端,接收到第一终端发送的在当前时间已设置节省流量模式的第一提示信息后,停止向第一终端发送视频数据,能够节省终端用户的流量。 The solution provided by the embodiment of the present invention, when the frame video of the current time of the first terminal does not include the face image, sets the first terminal to save the traffic mode; and for the second terminal, receives the current time sent by the first terminal. After the first prompt information of the saving traffic mode is set, stopping the sending of the video data to the first terminal can save the traffic of the terminal user.

Claims (20)

一种视频通话的控制方法,包括:A method for controlling a video call, comprising: 采集处于视频通话的第一终端在当前时间的一帧视频,并判断所述视频是否包含人脸图像;Collecting a frame of video at the current time of the first terminal of the video call, and determining whether the video includes a face image; 在所述视频不包含所述人脸图像时,将第一终端设置为节省流量模式。When the video does not include the face image, the first terminal is set to save traffic mode. 如权利要求1所述的视频通话的控制方法,其中,所述方法还包括:The method of controlling a video call according to claim 1, wherein the method further comprises: 生成已设置节省流量模式的第一提示信息;Generating a first prompt message that has been set to save traffic mode; 将所述第一提示信息发送至第二终端,其中,所述第二终端为与所述第一终端进行视频通话的对侧终端,所述第一提示信息用于提示所述第二终端所述第一终端已设置节省流量模式。Transmitting the first prompt information to the second terminal, where the second terminal is a peer terminal that performs a video call with the first terminal, and the first prompt information is used to prompt the second terminal The first terminal has set a save traffic mode. 如权利要求1所述的视频通话的控制方法,其中,所述将第一终端设置为节省流量模式,包括:The method of controlling a video call according to claim 1, wherein the setting the first terminal to save a traffic mode comprises: 在所述视频包含所述人脸图像时,根据所述第一终端的预设参数获取检测分数,其中,所述预设参数包括音频参数、位移参数以及网络参数中的至少一种;When the video includes the face image, the detection score is obtained according to the preset parameter of the first terminal, where the preset parameter includes at least one of an audio parameter, a displacement parameter, and a network parameter; 判断所述检测分数是否达到预设阈值;Determining whether the detection score reaches a preset threshold; 当所述检测分数达到所述预设阈值时,将所述第一终端设置为所述节省流量模式。When the detection score reaches the preset threshold, the first terminal is set to the save traffic mode. 如权利要求1所述的视频通话的控制方法,其中,在所述采集处于视频通话的第一终端在当前时间的一帧视频之前,所述方法还包括:The method of controlling a video call according to claim 1, wherein before the capturing of the first video of the video call at the current time, the method further comprises: 保存接收时间在所述当前时间之前所述第二终端发送的至少一帧的视频。And storing, by the second terminal, the video of the at least one frame sent by the second terminal before the current time. 如权利要求2所述的视频通话的控制方法,其中,在所述将所述第一提示信息发送至第二终端之后,所述方法还包括:The method of controlling a video call according to claim 2, wherein after the sending the first prompt information to the second terminal, the method further comprises: 在所述至少一帧的视频中随机选取一帧视频替换所述当前时间的一帧 视频,得到替换后的一帧视频;Selecting one frame of video randomly in the video of the at least one frame to replace one frame of the current time Video, get a frame of video after replacement; 在所述第一终端上显示所述替换后的一帧视频。Displaying the replaced frame of video on the first terminal. 如权利要求1所述的视频通话的控制方法,其中,所述将所述第一终端设置为节省流量模式,包括:The method of controlling a video call according to claim 1, wherein the setting the first terminal to save a traffic mode comprises: 判断所述第一终端是否设置所述节省流量模式;Determining whether the first terminal sets the saving traffic mode; 在所述第一终端未设置所述节省流量模式时,将所述第一终端设置为所述节省流量模式。When the first terminal does not set the save traffic mode, set the first terminal to the save traffic mode. 一种视频通话的控制方法,包括:A method for controlling a video call, comprising: 接收第一终端发送的第一提示信息,其中,所述第一提示信息用于提示第二终端所述第一终端在当前时间已设置节省流量模式;Receiving the first prompt information sent by the first terminal, where the first prompt information is used to prompt the second terminal that the first terminal has set the save traffic mode at the current time; 停止向所述第一终端发送视频通话中的视频数据。Stop sending video data in the video call to the first terminal. 如权利要求7所述的视频通话的控制方法,其中,所述方法还包括:The method of controlling a video call according to claim 7, wherein the method further comprises: 保存接收时间在所述当前时间之前所述第一终端发送的至少一帧的视频。And storing, by the first terminal, the video of the at least one frame sent by the first terminal before the current time. 如权利要求7所述的视频通话的控制方法,其中,所述方法还包括:The method of controlling a video call according to claim 7, wherein the method further comprises: 判断所述第二终端是否设置节省流量模式;Determining whether the second terminal sets a traffic saving mode; 在所述第二终端设置所述节省流量模式时,生成已设置节省流量模式的第二提示信息;When the second terminal sets the saving traffic mode, generating second prompt information that has set a saving traffic mode; 将所述第二提示信息发送至所述第一终端,所述第二提示信息用于提示第一终端所述第二终端在当前时间已设置节省流量模式。Sending the second prompt information to the first terminal, where the second prompt information is used to prompt the first terminal that the second terminal has set a save traffic mode at the current time. 一种视频通话的控制装置,包括:A video call control device includes: 采集模块,配置为采集处于视频通话的第一终端在当前时间的一帧视频,并判断所述视频是否包含人脸图像;An acquisition module is configured to collect a frame of video at a current time of the first terminal of the video call, and determine whether the video includes a face image; 第一设置模块,配置为在所述视频不包含所述人脸图像时,将第一终 端设置为节省流量模式。a first setting module configured to: when the video does not include the face image, The end is set to save traffic mode. 如权利要求10所述的视频通话的控制装置,其中,所述装置还包括:The control device for a video call according to claim 10, wherein the device further comprises: 第一生成模块,配置为生成已设置节省流量模式的第一提示信息;a first generating module, configured to generate first prompt information that has been set to save a traffic mode; 第一发送模块,配置为将所述第一提示信息发送至第二终端,其中,所述第二终端为与所述第一终端进行视频通话的对侧终端,所述第一提示信息配置为提示所述第二终端所述第一终端已设置节省流量模式。The first sending module is configured to send the first prompt information to the second terminal, where the second terminal is a opposite terminal that performs a video call with the first terminal, and the first prompt information is configured as The first terminal that is prompted by the second terminal has set a save traffic mode. 如权利要求10所述的视频通话的控制装置,其中,所述装置还包括:The control device for a video call according to claim 10, wherein the device further comprises: 第一获取模块,配置为在所述视频包含所述人脸图像时,根据所述第一终端的预设参数获取检测分数,其中,所述预设参数包括音频参数、位移参数以及网络参数中的至少一种;a first acquiring module, configured to: when the video includes the face image, acquire a detection score according to a preset parameter of the first terminal, where the preset parameter includes an audio parameter, a displacement parameter, and a network parameter At least one type; 第一判断模块,配置为判断所述检测分数是否达到预设阈值;The first determining module is configured to determine whether the detection score reaches a preset threshold; 第二设置模块,配置为在所述检测分数达到所述预设阈值时,则将所述第一终端设置为所述节省流量模式。And a second setting module, configured to set the first terminal to the save traffic mode when the detection score reaches the preset threshold. 如权利要求10所述的视频通话的控制装置,其中,所述装置还包括:The control device for a video call according to claim 10, wherein the device further comprises: 第一保存模块,配置为保存接收时间在所述当前时间之前所述第二终端发送的至少一帧的视频。The first saving module is configured to save the video of the at least one frame sent by the second terminal before the current time. 如权利要求11所述的视频通话的控制装置,其中,所述装置还包括:The control device for a video call according to claim 11, wherein the device further comprises: 替换模块,配置为在所述至少一帧的视频中随机选取一帧视频替换所述当前时间的一帧视频,得到替换后的一帧视频;a replacement module, configured to randomly select one frame of video in the at least one frame of video to replace one frame of video at the current time, to obtain a replaced one frame of video; 显示模块,配置为在所述第一终端上显示所述替换后的一帧视频。And a display module configured to display the replaced one frame video on the first terminal. 如权利要求10所述的视频通话的控制装置,其中,所述第一设置 模块配置为:The control device for a video call according to claim 10, wherein said first setting The module is configured as: 判断所述第一终端是否设置所述节省流量模式;Determining whether the first terminal sets the saving traffic mode; 在所述第一终端未设置所述节省流量模式时,将所述第一终端设置为所述节省流量模式。When the first terminal does not set the save traffic mode, set the first terminal to the save traffic mode. 一种视频通话的控制装置,包括:A video call control device includes: 接收模块,配置为接收第一终端发送的第一提示信息,其中,所述第一提示信息配置为提示第二终端所述第一终端在当前时间已设置节省流量模式;The receiving module is configured to receive the first prompt information sent by the first terminal, where the first prompt information is configured to prompt the second terminal that the first terminal has set the save traffic mode at the current time; 停止模块,配置为停止向所述第一终端发送视频通话中的视频数据。And stopping the module, configured to stop sending video data in the video call to the first terminal. 如权利要求16所述的视频通话的控制装置,其中,所述装置还包括:The control device for a video call according to claim 16, wherein the device further comprises: 第二保存模块,配置为保存接收时间在所述当前时间之前所述第一终端发送的至少一帧的视频。And a second saving module configured to save the video of the at least one frame sent by the first terminal before the current time. 如权利要求16所述的视频通话的控制装置,其中,所述装置还包括:The control device for a video call according to claim 16, wherein the device further comprises: 第二判断模块,配置为判断所述第二终端是否设置节省流量模式;a second determining module, configured to determine whether the second terminal sets a saving traffic mode; 第二生成模块,配置为在所述第二终端设置所述节省流量模式时,生成已设置节省流量模式的第二提示信息;a second generating module, configured to generate, when the second terminal sets the saving traffic mode, second prompt information that has set a saving traffic mode; 第二发送模块,配置为将所述第二提示信息发送至所述第一终端,所述第二提示信息用于提示第一终端所述第二终端在当前时间已设置节省流量模式。The second sending module is configured to send the second prompt information to the first terminal, where the second prompt information is used to prompt the first terminal that the second terminal has set the save traffic mode at the current time. 一种视频通话的控制系统,包括:A video call control system includes: 如权利要求10-15任一项所述的视频通话的控制装置;以及A control device for a video call according to any of claims 10-15; 如权利要求16-18任一项所述的视频通话的控制装置。A control device for a video call according to any of claims 16-18. 一种计算机存储介质,所述计算机存储介质包括一组指令,当执 行所述指令时,引起至少一个处理器执行如权利要求1至6任一项所述的视频通话的控制方法或者执行如权利要求7至9任一项所述的视频通话的控制方法。 A computer storage medium, the computer storage medium comprising a set of instructions When the instruction is executed, the at least one processor causes the control method of the video call according to any one of claims 1 to 6 or the control method of the video call according to any one of claims 7 to 9.
PCT/CN2016/106199 2016-08-05 2016-11-17 Method, device and system for controlling video call, and computer storage medium Ceased WO2018023895A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610639506.6A CN107690055A (en) 2016-08-05 2016-08-05 The control method of video calling, apparatus and system
CN201610639506.6 2016-08-05

Publications (1)

Publication Number Publication Date
WO2018023895A1 true WO2018023895A1 (en) 2018-02-08

Family

ID=61073193

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/106199 Ceased WO2018023895A1 (en) 2016-08-05 2016-11-17 Method, device and system for controlling video call, and computer storage medium

Country Status (2)

Country Link
CN (1) CN107690055A (en)
WO (1) WO2018023895A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109963106B (en) * 2019-03-29 2020-01-10 宇龙计算机通信科技(深圳)有限公司 Video image processing method and device, storage medium and terminal
CN112529753B (en) * 2020-12-10 2022-03-01 清研灵智信息咨询(北京)有限公司 Research business system based on microservice system and multi-tenant technology
CN114363704B (en) * 2022-01-12 2024-03-19 北京百度网讯科技有限公司 Video playback method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141608A (en) * 2007-09-28 2008-03-12 腾讯科技(深圳)有限公司 Video instant communication system and method
US20120169837A1 (en) * 2008-12-08 2012-07-05 Telefonaktiebolaget L M Ericsson (Publ) Device and Method For Synchronizing Received Audio Data WithVideo Data
CN103647922A (en) * 2013-12-20 2014-03-19 百度在线网络技术(北京)有限公司 Virtual video call method and terminals
CN104022962A (en) * 2014-06-27 2014-09-03 宇龙计算机通信科技(深圳)有限公司 Flow control method and flow control device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100640483B1 (en) * 2004-10-22 2006-10-30 삼성전자주식회사 Apparatus and method for automatically changing a call mode in a mobile communication terminal
CN102905106B (en) * 2011-07-28 2015-12-02 联芯科技有限公司 Reduce the method and system of the resource consumption for video call of electronic equipment
CN103905771B (en) * 2012-12-28 2018-12-07 腾讯科技(深圳)有限公司 Video communication method and user terminal
CN103916622B (en) * 2013-01-06 2020-06-23 联想(北京)有限公司 Call mode switching method and device
US9131106B2 (en) * 2013-07-03 2015-09-08 Cisco Technology, Inc. Obscuring a camera lens to terminate video output
CN104935863A (en) * 2014-03-19 2015-09-23 联想(北京)有限公司 Communication control method and electronic devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141608A (en) * 2007-09-28 2008-03-12 腾讯科技(深圳)有限公司 Video instant communication system and method
US20120169837A1 (en) * 2008-12-08 2012-07-05 Telefonaktiebolaget L M Ericsson (Publ) Device and Method For Synchronizing Received Audio Data WithVideo Data
CN103647922A (en) * 2013-12-20 2014-03-19 百度在线网络技术(北京)有限公司 Virtual video call method and terminals
CN104022962A (en) * 2014-06-27 2014-09-03 宇龙计算机通信科技(深圳)有限公司 Flow control method and flow control device

Also Published As

Publication number Publication date
CN107690055A (en) 2018-02-13

Similar Documents

Publication Publication Date Title
CN109314869B (en) Method and device for configuring Discontinuous Reception (DRX) parameters
CN108564947B (en) Method, apparatus and storage medium for far-field voice wake-up
CN106488335B (en) Live-broadcast control method and device
CN106162768B (en) Wireless access point switching method and device
CN110786039B (en) Measurement configuration method and device, measurement information reporting method and device and base station
CN110633151A (en) Method, device and storage medium for distributed message cluster partition balance
CN106714214B (en) State control method, device, user equipment and base station of user equipment
CN109496451B (en) Network parameter configuration method, device and computer-readable storage medium
CN107204883B (en) Network fault processing method and device
CN105911573B (en) Method and device for retrieving flight equipment
CN108713346B (en) Channel monitoring method, device, system and storage medium
WO2020125276A1 (en) Measuring method and device in dc operation
WO2019129092A1 (en) Frame rate-lowered photographing method, mobile terminal and storage medium
CN105827489A (en) Intelligent household electrical appliance control method and device and intelligent household electrical appliance
WO2023230969A1 (en) Artificial intelligence model determination method and apparatus, and communication device and storage medium
CN105446332A (en) Automatic cleaning control method and device, electronic equipment
WO2022205385A1 (en) Measurement gap processing method and apparatus, and communication device and storage medium
WO2020042178A1 (en) Carrier activation method, device, apparatus, system, and storage medium
CN108353304B (en) Method, device, user equipment and base station for measuring cell signal quality
CN106507505B (en) Disconnection method and device for low-power-consumption Bluetooth connection
WO2021063195A1 (en) Method and apparatus for measuring reference signal receiving power (rsrp) of direct link
WO2018023895A1 (en) Method, device and system for controlling video call, and computer storage medium
WO2023245512A1 (en) Air interface processing method and apparatus, and storage medium
WO2020088203A1 (en) State transition method and device
CN106550482B (en) Communication connection establishing method and device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16911490

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16911490

Country of ref document: EP

Kind code of ref document: A1