WO2017215100A1 - Method and device for video call data processing - Google Patents

Method and device for video call data processing Download PDF

Info

Publication number
WO2017215100A1
WO2017215100A1 PCT/CN2016/094385 CN2016094385W WO2017215100A1 WO 2017215100 A1 WO2017215100 A1 WO 2017215100A1 CN 2016094385 W CN2016094385 W CN 2016094385W WO 2017215100 A1 WO2017215100 A1 WO 2017215100A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
call
support information
video call
capability support
Prior art date
Application number
PCT/CN2016/094385
Other languages
French (fr)
Chinese (zh)
Inventor
刘昊晨
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017215100A1 publication Critical patent/WO2017215100A1/en

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
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals

Definitions

  • the present application relates to, but is not limited to, the field of communication technologies, and in particular, to a method and apparatus for video call data processing.
  • Video calls can transmit voice and images in real time, and consume more power than voice calls, often encountering inconvenient video calls.
  • the calling terminal often sends a video call request to the called terminal, and the called terminal selects whether to perform a video call, and the called terminal receives the reject video call command to reject the video call.
  • the additional operation triggers the rejection of the video call command, which is cumbersome to operate, and due to the limited interface of the terminal, frequent misoperations occur. Based on this, it is necessary to provide a method for processing video call data to improve the convenience of rejecting a video call.
  • a method for video call data processing comprising:
  • the video capability support information carried in the voice call response message is received from the called terminal, and the video capability support information is saved;
  • the video capability support information is obtained, and if the called terminal does not support the video call according to the video capability support information, the video call request is rejected.
  • the application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • an apparatus for video call data processing comprising:
  • the video capability support information receiving module is configured to receive the video capability support information carried in the voice call response message from the called terminal during the process of establishing a voice call with the called terminal, and save the video capability support information;
  • the request rejection module is configured to acquire the video capability support information before sending the video call request to the called terminal, and if the called terminal terminal does not support the video call according to the video capability support information, refuse to send the video Call request.
  • the method and device for processing the video call data by receiving the video capability support information carried in the voice call response message from the called terminal, and saving the video capability support information, in the process of establishing a voice call with the called terminal, Before the called terminal sends a video call request, the video capability support information is obtained. If the called terminal does not support the video call according to the video capability support information, the video call request is rejected, and the video capability support information is carried in the voice call response message. It is simple and convenient to add additional messages. If the called terminal does not support video calls, the video call request will not be sent but will be automatically rejected, which greatly improves the convenience of rejecting the video call.
  • a method for video call data processing comprising:
  • the application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • a device for processing video call data comprising:
  • the video capability support information acquiring module is configured to acquire video capability support information of the current terminal during the process of establishing a voice call with the calling terminal;
  • a video capability support information returning module configured to return the video capability support information carried in the voice call response message to the calling terminal, where the video capability support information is used by the primary
  • the calling terminal acquires before sending a video call request to the called terminal, and if it is determined according to the video capability support information that the called terminal does not support the video call, rejecting the sending of the video call request from the calling terminal.
  • the method and device for processing the video call data by acquiring the video capability support information of the current terminal during the establishment of the voice call with the calling terminal, and returning the video capability support information carried in the voice call response message to the main Calling the terminal, the video capability support information is obtained by the calling terminal before sending the video call request to the called terminal. If it is determined according to the video capability support information that the called terminal does not support the video call, the video call request is rejected from the calling terminal.
  • the video capability support information is carried in the voice call response message, and does not require the called terminal to additionally add a message, which is simple and convenient. If the called terminal does not support the video call, the video call request will not be sent but is automatically rejected, greatly improving. The convenience of rejecting a video call.
  • FIG. 1 shows an application environment of a method for video call data processing in an embodiment
  • FIG. 2 is a schematic diagram showing the internal structure of the terminal in FIG. 1 in an embodiment
  • FIG. 3 is a flow chart of a method for processing video communication data of a first embodiment in an embodiment
  • FIG. 4 is a signaling flow diagram of a calling terminal actively changing a communication mode in an embodiment
  • FIG. 5 is a flow chart of a method for processing second video call data in an embodiment
  • FIG. 6 is a flowchart of a method for setting video capability support information in an embodiment
  • Figure 7 illustrates a first state voice call interface in one embodiment
  • Figure 8 illustrates a second state voice call interface in one embodiment
  • FIG. 9 is a signaling flow diagram of a method for video call data processing in an embodiment
  • Figure 10 is a block diagram of an apparatus for processing first video call data in an embodiment
  • FIG. 11 is a block diagram of an apparatus for processing second video call data in an embodiment
  • Figure 12 is a block diagram of an apparatus for processing second video call data in another embodiment
  • Figure 13 is a block diagram of an apparatus for processing second video call data in still another embodiment
  • Figure 14 is a block diagram of an apparatus for second video call data processing in yet another embodiment.
  • FIG. 1 illustrates an application environment in which a video call data processing method operates in one embodiment.
  • the application environment includes a terminal 110, a server 120, and a terminal 130.
  • the server and the terminal can communicate through a network. For example, using an LTE network for a call.
  • the terminal 110 can be a smartphone, a tablet, a notebook, a desktop computer, etc., but is not limited thereto.
  • the terminal 110 can send a voice call request or a video call request to the server 120 through the network, and the server 120 can forward the voice call request or the video call request to the called terminal 130, thereby establishing a voice call or a video call between the terminal 110 and the terminal 130.
  • the internal structure of the terminal of FIG. 1 is as shown in FIG. 2.
  • the terminal includes a processor, a graphics processing unit, a storage medium, a memory, a network interface, a display screen, and an input device connected by a system bus.
  • the storage medium of the terminal stores an operating system, and further includes a device for processing the first video call data and/or a device for processing the second video call data, and the device for processing the first video call data is configured to implement a caller for the caller.
  • the method for processing video call data of the terminal, the device for processing the second video call data is set to implement a method for video call data processing applicable to the called terminal.
  • the processor is configured to provide computation and control capabilities to support the operation of the entire terminal.
  • the graphics processing unit in the terminal is configured to provide at least a rendering capability of the display interface
  • the memory is an operation providing environment of the device for processing the first video call data in the storage medium and/or the device for processing the second video call data
  • the network interface is set to Network communication with the server 120, such as sending a voice call request or a video call request to the server 120, and the like.
  • the display screen is set to display an application interface, etc.
  • the input device receives commands or data input by the user, such as receiving voice data and acquiring images.
  • the display screen and input device can be a touch screen.
  • a method for processing video communication data of the first type is provided to be applied to a calling terminal in the application environment, and the following steps are included:
  • Step S210 in the process of establishing a voice call with the called terminal, receiving the video capability support information carried in the voice call response message from the called terminal, and saving the video capability support information;
  • the calling terminal sends a voice call request to the called terminal to request to establish a voice call, which can be sent to the proxy server through the network, and then forwarded by the proxy server to the called terminal, IP data transmission technologies, such as VoLTE, send voice call requests.
  • the voice call response message refers to a response message returned by the called terminal after receiving the voice call request sent by the calling terminal, and the calling terminal negotiates with the called terminal to obtain the ability of the called terminal to support the video call, and the video capability support information. Carrying in the voice call response message does not require the called terminal to additionally add a message, which is simple and convenient.
  • the video capability support information refers to the ability of the called terminal to support the video call.
  • the called terminal determines that the parameter affecting the video capability support information may be the current power of the called terminal and the hardware support capability of the called terminal (such as whether the camera is included or not). And whether the current state of the camera is available, the environmental status of the called terminal, such as the ambient brightness, the current network status, such as whether the network is congested, etc., the service information of the called terminal, such as the remaining information of the traffic, etc., may also affect each parameter. Weighting is performed to obtain a weighted result. If the weighting result is within a preset range, the video capability support information is determined to support the video call capability, and if the weighted result is not within the preset range, the capability of not supporting the video call is determined. After receiving the video capability support information through the voice call response, the calling terminal can be saved in the IMS SIP stack, and the data access efficiency in the SIP stack is high, so that the video capability support information can be quickly obtained later.
  • step S220 before the video call request is sent to the called terminal, the video capability support information is obtained. If the video capability support information is used to determine that the called terminal does not support the video call, the video call request is rejected.
  • the video capability support information is used to determine whether the called terminal supports the video call. If the called terminal does not support the video call, the video call request will not be sent but is automatically Rejection, on the one hand, reduces the message interaction with the network, saves network resources, and on the other hand, the video call request is forbidden to be sent at the calling terminal, avoiding the called terminal receiving the video call request and operating the video call by mistake. Improved convenience of rejecting video calls.
  • the video capability support information carried in the voice call response message is received from the called terminal, and the video capability support information is saved, and the video is sent to the called terminal.
  • the video capability support information is obtained. If the video capability support information is used to determine that the called terminal does not support the video call, the video call request is rejected, and the video capability support information is carried in the voice call response message, and no additional message is needed. Simple and convenient, if the called terminal does not support the video call, the video call request will not be sent but is automatically rejected, which greatly improves the convenience of rejecting the video call.
  • the voice call is a VoLTE voice call
  • the video call request is a VoLTE video call request
  • the video capability support information is carried in an acknowledgement message IMS_SIP_INVITE established in the process of the voice call.
  • VoLTE Voice over LTE. It is an IP data transmission technology. It does not require a 2G/3G network. All services are carried on a 4G network. Data and voice services can be unified under the same network, providing high-quality audio and video. call.
  • the video call request is a VoLTE video call request
  • the IMS_SIP_INVITE message that is, the 200 OK message in the SIP (Session Initiation Protocol) protocol
  • SIP Session Initiation Protocol
  • the Contact parameter if the Contact parameter contains Audio and Video tag information, it means that the called terminal supports both voice call and video call; the Contact parameter does not contain Video tag information, indicating that the called terminal does not support video call.
  • the video capability support information of the called terminal is conveniently obtained in advance, and no additional message is required, which is efficient and compatible.
  • the video capability support information is determined by the called terminal according to a current power amount corresponding to the received power broadcast information and a preset video call power threshold threshold.
  • the video call power threshold threshold is determined, which can intelligently assist the user to automatically reject the video call request, thereby improving the intelligence of the terminal.
  • the video call power threshold threshold can be configured in advance according to user needs. For example, if the menu interface is added, the video call power threshold threshold setting button is added. For example, when the mobile phone power is lower than the video call power threshold threshold, the video call upgrade request is automatically rejected.
  • the video call power threshold can be customized as needed, such as 30%.
  • the battery emits power broadcast information in real time.
  • the power broadcast information is used to determine the current power of the called terminal.
  • the called terminal determines the current power of the called terminal, thereby determining the current state.
  • the relationship between the power and the preset video call power threshold If the current power is less than the preset video call power threshold, the video capability support information is not supported. If the current power is not less than the preset video call threshold, set The video capability support information is to support a video call.
  • the video capability support information may be represented by a system new system attribute parameter. If the video call is supported, the system adds a system attribute. The parameter can be set to true. If the video call is not supported, the system added system property parameter can be set to false.
  • the method further includes: in the process of a video call with the called terminal, sending, by using an Invite message in the SIP protocol, a request to the called terminal to downgrade the video call to a voice call, so that the called party is called.
  • the terminal After receiving the request that the video call is downgraded to a voice call, the terminal notifies the calling terminal of the current call process parameter change through the response information 100Trying in the SIP protocol, and prepares to negotiate, and the called terminal sends an IMS_SIP_INVITE, that is, a 200 OK message to the calling terminal. Indicates that the request is accepted and the video call is downgraded to a voice call.
  • the calling terminal can also actively downgrade the video call to a voice call according to its own conditions, such as power and network environment.
  • a method for processing a second video call data is provided to be applied to a called terminal in the foregoing application environment, and the following steps are included:
  • Step S310 Acquire video capability support information of the current terminal in a process of establishing a voice call with the calling terminal.
  • the called terminal receives the voice call request sent by the calling terminal, and starts to establish a voice call with the calling terminal, and the calling terminal can send a voice call request by using an IP data transmission technology, such as sending a voice call request through VoLTE.
  • the video capability support information refers to the ability of the called terminal to support the video call.
  • the called terminal determines that the parameter affecting the video capability support information may be the current power of the called terminal and the hardware support capability of the called terminal (such as whether the camera is included or not).
  • the environmental status of the called terminal such as the ambient brightness, the current network status, such as whether the network is congested, etc., the service information of the called terminal, such as the remaining information of the traffic, etc.
  • Weighting is performed to obtain a weighted result. If the weighting result is within the preset range, the video capability support information is determined to be supported, otherwise it is determined to be unsupported, such as support can be set to true, and unsupported can be set to false. After the video capability support information is determined, it can be represented by the system added system attribute parameter. When acquiring, the system adds the system attribute parameter to obtain the video capability support information of the current terminal.
  • Step S320 the video capability support information carried in the voice call response message is returned to the calling terminal, and the video capability support information is obtained by the calling terminal before sending the video call request to the called terminal, if it is determined according to the video capability support information. If the calling terminal does not support the video call, the video call request is rejected from the calling terminal.
  • the voice call response message refers to a response message that is returned after the called terminal receives the voice call request sent by the calling terminal, and the calling terminal negotiates with the called terminal to obtain the capability of the called terminal to support the video call, and the video
  • the capability support information is carried in the voice call response message, and does not require the called terminal to additionally add a message, which is simple and convenient.
  • the calling terminal can be saved in the IMS SIP stack, and the data access efficiency in the SIP stack is high, so that the video capability support information can be quickly obtained later.
  • the calling terminal reads the saved video capability support information before sending the video call request to the called terminal, and determines whether the called terminal supports the video call according to the video capability support information.
  • the video call The request will not be sent but will be automatically rejected.
  • the message exchange with the network is reduced, and the network resources are saved.
  • the video call request is forbidden to be sent at the calling terminal, and the called terminal is prevented from receiving the video call request. The wrong operation to connect to the video call greatly improves the convenience of rejecting the video call.
  • the video capability support information of the current terminal is acquired in the process of establishing a voice call with the calling terminal, and the video capability support information is carried in the voice call response message, and returned to the calling terminal, and the video is returned.
  • the capability support information is used by the calling terminal to obtain the video capability support information before sending the video call request to the called terminal. If the video capability support information is that the called terminal does not support the video call, the video call request is rejected, and the video capability support information is carried.
  • the called terminal does not need to additionally add a message, which is simple and convenient. If the called terminal does not support the video call, the video call request will not be sent but is automatically rejected, which greatly improves the convenience of rejecting the video call. .
  • the method for processing the second video call data before the step of acquiring the video capability support information of the current terminal, the method for processing the second video call data further includes:
  • Step S410 Receive power broadcast information, and obtain a preset video call power threshold threshold
  • the called terminal sends the power broadcast information in real time, and the power broadcast information is used to determine the current power of the called terminal, and after the called terminal receives the power broadcast information, determine the current power of the called terminal.
  • the video call power threshold threshold can be configured in advance according to user needs. For example, if the menu interface is added, the video call power threshold threshold setting button is added. For example, when the mobile phone power is lower than the video call power threshold threshold, the video call upgrade request is automatically rejected.
  • the video call power threshold can be customized as needed, such as 30%.
  • Step S420 determining whether the current power quantity corresponding to the power quantity broadcast information is less than a preset video call power
  • the threshold threshold is set. If the current power is less than the preset video call threshold, the video capability support information is not supported. If the current power is not less than the preset video call threshold, the video capability support information is set. To support video calls.
  • the video capability support information is that the video call is not supported. If the current power is not less than the preset video call power threshold, the video capability support information is set to support the video call.
  • the video capability support information may be represented by a system new system attribute parameter. For example, if the video call is supported, the system may add a system attribute parameter to indicate that it is true. If the video call is not supported, the system may add a system attribute parameter to indicate that it is false. .
  • the video capability support information is determined according to the current power of the called terminal and the preset video call power threshold threshold, and can intelligently assist the user to automatically reject the video call request, thereby improving the intelligence of the terminal.
  • the voice call is a VoLTE voice call
  • the video call request is a VoLTE video call request
  • the video capability support information is carried in an acknowledgement message IMS_SIP_INVITE established in the process of the voice call.
  • the IMS_SIP_INVITE message that is, the 200 OK message in the SIP protocol
  • the video capability support information may be filled in the Contact parameter of the IMS_SIP_INVITE message, such as Contact. If the parameter contains Audio and Video tag information, it means that the called terminal supports both voice call and video call; the Contact parameter does not contain Video tag information, indicating that the called terminal does not support video call.
  • the video capability support information of the called terminal is conveniently obtained in advance, and no additional message is required, which is efficient and compatible.
  • the method for processing the video call data further includes: if it is determined, according to the video capability support information, that the current terminal does not support the video call, The video call switching virtual key in the interface of the voice call established with the calling terminal is invalid.
  • the video capability support information is continuously monitored. If the video capability support information is used to determine that the called terminal does not support the video call, the video call switching virtual key is invalid, and the interface can be Hide video call switch virtual button to make it free Effect, or change the state of the video call switching virtual button so that it cannot be triggered. Monitor the video capability support information in real time, and intelligently disable the video call switching virtual button. For example, when the power is reduced from 90% to the preset video call power threshold threshold during the voice call, the video call switching virtual button is valid. It becomes invalid. As shown in FIG.
  • the video call switching virtual button 430 when the called terminal power is above a preset video call power threshold threshold, the video call switching virtual button 430 is in an active state as shown in FIG. 7 . When the called terminal power is less than the preset video call power threshold threshold, the video call switching virtual button 430 is in an invalid state as shown in FIG. 8 .
  • the method for processing the second video call data further includes: acquiring video capability support information of the current terminal in real time during a video call with the calling terminal, if the video capability support information is used to determine the If the current terminal does not support the video call, the call mode selection information is displayed on the current video call interface.
  • the called terminal supports video capability when receiving the video call request, a video call is made with the calling terminal, and during the video call with the calling terminal, the called terminal is likely to be supported by the video.
  • the capability becomes non-supporting video capability.
  • the power is gradually reduced to below the preset video call power threshold.
  • the call mode selection information is displayed on the current video call interface, and the call mode selection information can be displayed in the form of a prompt box or a floating window.
  • the display form is not limited, and the user can choose to continue the video call or downgrade to a voice call, further providing convenience of operation.
  • the frequency of the call mode selection information display is too high, and the display interval time can be limited. Only when the display interval time is reached, the next display is performed, for example, the display interval time is 5 minutes.
  • the flow of the video call data processing method is as follows:
  • the first terminal sends a voice call request to the server by using an invite message (Invite message), where the voice call request carries the target call terminal as the second terminal;
  • the server forwards the voice call request to the second terminal by using the Invite message, and returns a 100 Trying message to the first terminal to the first terminal, indicating that the call is being processed;
  • the second terminal After receiving the voice call request, the second terminal returns a 100 Trying message to the server, indicating that the call request is being processed, and sending a 180 Ringing ringing message to the server;
  • the server forwards the 180 Ringing ringing message to the first terminal, so that the first terminal hears the ringing tone;
  • the second terminal If the second terminal confirms the answer, it sends a 200 OK message to the server to forward the server to the first terminal, where the 200 OK message carries the video capability support information.
  • the first terminal After receiving the video capability support information, the first terminal saves the video capability support information in the IMS SIP stack. If the video capability support information does not support the video call, the video call request cannot be initiated subsequently.
  • Embodiments of the present invention further provide a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • an apparatus for processing first video call data including:
  • the video capability support information receiving module 510 is configured to receive the video capability support information carried in the voice call response message from the called terminal during the process of establishing a voice call with the called terminal, and save the video capability support information;
  • the request rejection module 520 is configured to obtain video capability support information before sending a video call request to the called terminal, and if the called terminal does not support the video call according to the video capability support information, reject the transmission of the video call request.
  • the voice call is a VoLTE voice call
  • the video call request is a VoLTE video call request
  • the video capability support information is carried in an acknowledgement message IMS_SIP_INVITE established in the process of the voice call.
  • the video capability support information is determined by the called terminal according to a current power amount corresponding to the received power broadcast information and a preset video call power threshold threshold.
  • an apparatus for processing second video call data including:
  • the video capability support information obtaining module 610 is configured to acquire video capability support information of the current terminal during the process of establishing a voice call with the calling terminal.
  • the video capability support information returning module 620 is configured to return the video capability support information carried in the voice call response message to the calling terminal, and the video capability support information is obtained by the calling terminal before sending the video call request to the called terminal. If it is determined according to the video capability support information that the called terminal does not support the video call, the video call request is rejected from the calling terminal.
  • the apparatus for processing the second video call data further includes:
  • the video capability support information determining module 630 is configured to: before the video capability support information acquiring module acquires the video capability support information of the current terminal, receive the power broadcast information, obtain a preset video call power threshold threshold, and determine that the power broadcast information corresponds to If the current power is less than the preset video call power threshold threshold, if the current power is less than the preset video call power threshold threshold, the video capability support information is set to not support video call, if the current power is not less than the current The preset video call power threshold threshold is set, and the video capability support information is set to support video call.
  • the voice call is a VoLTE voice call
  • the video call request is a VoLTE video call request
  • the video capability support information is carried in an acknowledgement message IMS_SIP_INVITE established during the voice call.
  • the apparatus for processing the second video call data further includes:
  • the video call virtual key invalidation module 640 is configured to: if the video capability support information returning module determines, according to the video capability support information, that the current terminal does not support the video call, the video call switching in the interface of the voice call established with the calling terminal is performed. The virtual button is invalid.
  • the apparatus for processing the second video call data further includes:
  • the video capability monitoring module 650 is configured to obtain the video capability support information of the current terminal in real time during the video call with the calling terminal, and if the current terminal does not support the video call according to the video capability support information, display the current video call interface. Call mode selection information.
  • the program can be stored in a computer readable storage medium, such as the present invention.
  • the program may be stored in a storage medium of the computer system and executed by at least one processor in the computer system to implement The flow of an embodiment of each method.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • a program to instruct related hardware eg, a processor
  • a computer readable storage medium such as a read only memory, a disk, or CD, etc.
  • all or part of the steps of the described embodiments may also be implemented using one or more integrated circuits.
  • each module/unit in the embodiment may be implemented in the form of hardware, such as an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executed by a processor and stored in a memory.
  • Embodiments of the invention are not limited to any specific form of combination of hardware and software.
  • the present application provides a method and a device for processing video call data.
  • the video capability support information of the current terminal is obtained, and the video capability support information carried in the voice call response message is returned to
  • the calling terminal determines that the called terminal does not support the video call according to the video capability support information
  • the calling terminal refuses to send a video call request from the calling terminal, and the video capability support information is carried in the voice call response message, and does not need to be called.
  • the terminal additionally adds a message. If the called terminal does not support the video call, the video call request will not be sent but is automatically rejected, which greatly improves the convenience of rejecting the video call.

Abstract

Disclosed are a method and device for video call data processing. The method comprises: in a process of establishing a voice call with a called terminal, receiving from the called terminal video capability support information carried in a voice call response message, and storing the video capability support information; before transmitting a video call request to the called terminal, acquiring the video capability support information; and, if the called terminal is determined on the basis of the video capability support information as not supporting video call, then rejecting the transmission of the video call request, thus increasing the degree of convenience for rejecting a video call.

Description

视频通话数据处理的方法和装置Method and device for processing video call data 技术领域Technical field
本申请涉及但不限于通信技术领域,特别是一种视频通话数据处理的方法和装置。The present application relates to, but is not limited to, the field of communication technologies, and in particular, to a method and apparatus for video call data processing.
背景技术Background technique
随着通信技术的发展,语音和视频通话成为人们交流的重要方式。视频通话能实时传语音和图像,且比语音通话更耗电,经常遇到不方便进行视频通话的情况。With the development of communication technology, voice and video calls have become an important way for people to communicate. Video calls can transmit voice and images in real time, and consume more power than voice calls, often encountering inconvenient video calls.
相关技术的视频通话数据处理方法,往往由主叫终端向被叫终端发送视频通话请求,由被叫终端选择是否进行视频通话,被叫终端接收拒绝视频通话指令才能拒绝视频通话。In the video call data processing method of the related art, the calling terminal often sends a video call request to the called terminal, and the called terminal selects whether to perform a video call, and the called terminal receives the reject video call command to reject the video call.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
额外的操作触发拒绝视频通话指令,操作繁琐,且由于终端界面有限,经常出现误操作的现象。基于此,有必要针对上述技术问题,提供一种视频通话数据处理的方法,提高拒绝视频通话的便利性。The additional operation triggers the rejection of the video call command, which is cumbersome to operate, and due to the limited interface of the terminal, frequent misoperations occur. Based on this, it is necessary to provide a method for processing video call data to improve the convenience of rejecting a video call.
一种视频通话数据处理的方法,所述方法包括:A method for video call data processing, the method comprising:
在与被叫终端建立语音通话的过程中,从被叫接收终端携带在语音通话响应消息中的视频能力支持信息,并保存所述视频能力支持信息;In the process of establishing a voice call with the called terminal, the video capability support information carried in the voice call response message is received from the called terminal, and the video capability support information is saved;
在向被叫终端发送视频通话请求前,获取所述视频能力支持信息,如果根据所述视频能力支持信息判断所述被叫终端不支持视频通话,则拒绝发送所述视频通话请求。Before the video call request is sent to the called terminal, the video capability support information is obtained, and if the called terminal does not support the video call according to the video capability support information, the video call request is rejected.
本申请另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现所述方法。 The application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
另一方面,提供一种视频通话数据处理的装置,所述装置包括:In another aspect, an apparatus for video call data processing is provided, the apparatus comprising:
视频能力支持信息接收模块,设置为在与被叫终端建立语音通话的过程中,从被叫终端接收携带在语音通话响应消息中的视频能力支持信息,并保存所述视频能力支持信息;The video capability support information receiving module is configured to receive the video capability support information carried in the voice call response message from the called terminal during the process of establishing a voice call with the called terminal, and save the video capability support information;
请求拒绝模块,设置为在向被叫终端发送视频通话请求前,获取所述视频能力支持信息,如果根据所述视频能力支持信息判断所述被叫终端不支持视频通话,则拒绝发送所述视频通话请求。The request rejection module is configured to acquire the video capability support information before sending the video call request to the called terminal, and if the called terminal terminal does not support the video call according to the video capability support information, refuse to send the video Call request.
上述视频通话数据处理的方法和装置,通过在与被叫终端建立语音通话的过程中,从被叫终端接收携带在语音通话响应消息中的视频能力支持信息,并保存视频能力支持信息,在向被叫终端发送视频通话请求前,获取视频能力支持信息,如果根据视频能力支持信息判断被叫终端不支持视频通话,则拒绝发送视频通话请求,视频能力支持信息携带在语音通话响应消息中,不需要额外增加消息,简单方便,如果被叫终端不支持视频通话,则视频通话请求将不会被发送而被自动拒绝,大大提高了拒绝视频通话的便利性。The method and device for processing the video call data, by receiving the video capability support information carried in the voice call response message from the called terminal, and saving the video capability support information, in the process of establishing a voice call with the called terminal, Before the called terminal sends a video call request, the video capability support information is obtained. If the called terminal does not support the video call according to the video capability support information, the video call request is rejected, and the video capability support information is carried in the voice call response message. It is simple and convenient to add additional messages. If the called terminal does not support video calls, the video call request will not be sent but will be automatically rejected, which greatly improves the convenience of rejecting the video call.
一种视频通话数据处理的方法,所述方法包括:A method for video call data processing, the method comprising:
在与主叫终端建立语音通话的过程中,获取当前终端的视频能力支持信息;Obtaining video capability support information of the current terminal during the process of establishing a voice call with the calling terminal;
将携带在语音通话响应消息中的所述视频能力支持信息并返回至所述主叫终端,所述视频能力支持信息由所述主叫终端在向被叫终端发送视频通话请求前获取,如果根据所述视频能力支持信息判断所述被叫终端不支持视频通话,则拒绝从所述主叫终端发送所述视频通话请求。And carrying the video capability support information in the voice call response message to the calling terminal, where the video capability support information is obtained by the calling terminal before sending a video call request to the called terminal, if The video capability support information determines that the called terminal does not support the video call, and refuses to send the video call request from the calling terminal.
本申请另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现所述方法。The application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
一种视频通话数据处理的装置,所述装置包括:A device for processing video call data, the device comprising:
视频能力支持信息获取模块,设置为在与主叫终端建立语音通话的过程中,获取当前终端的视频能力支持信息;The video capability support information acquiring module is configured to acquire video capability support information of the current terminal during the process of establishing a voice call with the calling terminal;
视频能力支持信息返回模块,设置为将携带在语音通话响应消息中的所述视频能力支持信息返回至所述主叫终端,所述视频能力支持信息由所述主 叫终端在向被叫终端发送视频通话请求前获取,如果根据所述视频能力支持信息判断所述被叫终端不支持视频通话,则拒绝从所述主叫终端发送所述视频通话请求。a video capability support information returning module, configured to return the video capability support information carried in the voice call response message to the calling terminal, where the video capability support information is used by the primary The calling terminal acquires before sending a video call request to the called terminal, and if it is determined according to the video capability support information that the called terminal does not support the video call, rejecting the sending of the video call request from the calling terminal.
上述视频通话数据处理的方法和装置,通过在与主叫终端建立语音通话的过程中,获取当前终端的视频能力支持信息,将携带在语音通话响应消息中的视频能力支持信息返回至所述主叫终端,视频能力支持信息由主叫终端在向被叫终端发送视频通话请求前获取,如果根据视频能力支持信息判断被叫终端不支持视频通话,则拒绝从所述主叫终端发送视频通话请求,视频能力支持信息携带在语音通话响应消息中,不需要被叫终端额外增加消息,简单方便,如果被叫终端不支持视频通话,则视频通话请求将不会被发送而被自动拒绝,大大提高了拒绝视频通话的便利性。The method and device for processing the video call data, by acquiring the video capability support information of the current terminal during the establishment of the voice call with the calling terminal, and returning the video capability support information carried in the voice call response message to the main Calling the terminal, the video capability support information is obtained by the calling terminal before sending the video call request to the called terminal. If it is determined according to the video capability support information that the called terminal does not support the video call, the video call request is rejected from the calling terminal. The video capability support information is carried in the voice call response message, and does not require the called terminal to additionally add a message, which is simple and convenient. If the called terminal does not support the video call, the video call request will not be sent but is automatically rejected, greatly improving. The convenience of rejecting a video call.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1示出一个实施例中视频通话数据处理的方法的应用环境;1 shows an application environment of a method for video call data processing in an embodiment;
图2为一个实施例中图1中终端的内部结构示意图;2 is a schematic diagram showing the internal structure of the terminal in FIG. 1 in an embodiment;
图3为一个实施例中第一种视频通话数据处理的方法的流程图;3 is a flow chart of a method for processing video communication data of a first embodiment in an embodiment;
图4为一个实施例中主叫终端主动变更通信方式的信令流向图;4 is a signaling flow diagram of a calling terminal actively changing a communication mode in an embodiment;
图5为一个实施例中第二种视频通话数据处理的方法的流程图;5 is a flow chart of a method for processing second video call data in an embodiment;
图6为一个实施例中设置视频能力支持信息的方法的流程图;6 is a flowchart of a method for setting video capability support information in an embodiment;
图7示出一个实施例中第一状态语音通话界面;Figure 7 illustrates a first state voice call interface in one embodiment;
图8示出一个实施例中第二状态语音通话界面;Figure 8 illustrates a second state voice call interface in one embodiment;
图9为一个实施例中视频通话数据处理的方法的信令流向图;9 is a signaling flow diagram of a method for video call data processing in an embodiment;
图10为一个实施例中第一视频通话数据处理的装置的框图;Figure 10 is a block diagram of an apparatus for processing first video call data in an embodiment;
图11为一个实施例中第二视频通话数据处理的装置的框图;11 is a block diagram of an apparatus for processing second video call data in an embodiment;
图12为另一个实施例中第二视频通话数据处理的装置的框图;Figure 12 is a block diagram of an apparatus for processing second video call data in another embodiment;
图13为再一个实施例中第二视频通话数据处理的装置的框图; Figure 13 is a block diagram of an apparatus for processing second video call data in still another embodiment;
图14为又一个实施例中第二视频通话数据处理的装置的框图。Figure 14 is a block diagram of an apparatus for second video call data processing in yet another embodiment.
本发明的较佳实施方式Preferred embodiment of the invention
图1示出在一个实施例中视频通话数据处理的方法运行的应用环境,如图1所示,该应用环境包括终端110、服务器120、终端130,服务器和终端之间都可以通过网络进行通信,如利用LTE网络进行通话。FIG. 1 illustrates an application environment in which a video call data processing method operates in one embodiment. As shown in FIG. 1 , the application environment includes a terminal 110, a server 120, and a terminal 130. The server and the terminal can communicate through a network. For example, using an LTE network for a call.
终端110可为智能手机、平板电脑、笔记本电脑、台式计算机等,但并不局限于此。终端110可通过网络向服务器120发送语音呼叫请求或视频呼叫请求,服务器120可转发语音呼叫请求或视频呼叫请求至被叫终端130,从而建立终端110和终端130之间的语音通话或视频通话。The terminal 110 can be a smartphone, a tablet, a notebook, a desktop computer, etc., but is not limited thereto. The terminal 110 can send a voice call request or a video call request to the server 120 through the network, and the server 120 can forward the voice call request or the video call request to the called terminal 130, thereby establishing a voice call or a video call between the terminal 110 and the terminal 130.
在一个实施例中,图1中终端的内部结构如图2所示,该终端包括通过系统总线连接的处理器、图形处理单元、存储介质、内存、网络接口、显示屏幕和输入设备。其中,终端的存储介质存储有操作系统,还包括第一视频通话数据处理的装置和/或第二视频通话数据处理的装置,第一视频通话数据处理的装置设置为实现一种适用于主叫终端的视频通话数据处理的方法,第二视频通话数据处理的装置设置为实现一种适用于被叫终端的视频通话数据处理的方法。该处理器设置为提供计算和控制能力,支撑整个终端的运行。终端中的图形处理单元设置为至少提供显示界面的绘制能力,内存为存储介质中的第一视频通话数据处理的装置和/或第二视频通话数据处理的装置的运行提供环境,网络接口设置为与服务器120进行网络通信,如向服务器120发送语音呼叫请求或视频呼叫请求等。显示屏幕设置为显示应用界面等,输入设备接收用户输入的命令或数据等,如接收语音数据和采集图像。对于带触摸屏的终端,显示屏幕和输入设备可为触摸屏。In one embodiment, the internal structure of the terminal of FIG. 1 is as shown in FIG. 2. The terminal includes a processor, a graphics processing unit, a storage medium, a memory, a network interface, a display screen, and an input device connected by a system bus. The storage medium of the terminal stores an operating system, and further includes a device for processing the first video call data and/or a device for processing the second video call data, and the device for processing the first video call data is configured to implement a caller for the caller. The method for processing video call data of the terminal, the device for processing the second video call data is set to implement a method for video call data processing applicable to the called terminal. The processor is configured to provide computation and control capabilities to support the operation of the entire terminal. The graphics processing unit in the terminal is configured to provide at least a rendering capability of the display interface, the memory is an operation providing environment of the device for processing the first video call data in the storage medium and/or the device for processing the second video call data, and the network interface is set to Network communication with the server 120, such as sending a voice call request or a video call request to the server 120, and the like. The display screen is set to display an application interface, etc., and the input device receives commands or data input by the user, such as receiving voice data and acquiring images. For terminals with a touch screen, the display screen and input device can be a touch screen.
在一个实施例中,如图3所示,提供了第一种视频通话数据处理的方法,以应用于上述应用环境中的主叫终端来举例说明,包括以下步骤:In an embodiment, as shown in FIG. 3, a method for processing video communication data of the first type is provided to be applied to a calling terminal in the application environment, and the following steps are included:
步骤S210,在与被叫终端建立语音通话的过程中,从被叫终端接收携带在语音通话响应消息中的视频能力支持信息,并保存视频能力支持信息;Step S210, in the process of establishing a voice call with the called terminal, receiving the video capability support information carried in the voice call response message from the called terminal, and saving the video capability support information;
具体地,主叫终端向被叫终端发送语音通话请求以请求建立语音通话,可通过网络先发送至代理服务器,再由代理服务器转发至被叫终端,可通过 IP数据传输技术,如VoLTE发送语音通话请求。语音通话响应消息是指被叫终端接收到主叫终端发送的语音通话请求后返回的响应消息,主叫终端通过和被叫终端协商以获取被叫终端对视频通话支持的能力,视频能力支持信息携带在语音通话响应消息中,不需要被叫终端额外增加消息,简单方便。视频能力支持信息是指被叫终端是否支持视频通话的能力,由被叫终端决定,影响视频能力支持信息的参数可能为被叫终端当前的电量、被叫终端的硬件支持能力(如是否包括摄像头以及当前摄像头的状态是否可用)、被叫终端的环境状态,如环境亮度等、当前网络状态,如网络是否拥塞等,被叫终端的业务信息,如流量剩余信息等,也可将各个影响参数进行加权,得到加权结果,如果加权结果在预设范围内,视频能力支持信息确定为支持视频通话的能力,如果加权结果不在预设范围内,则确定为不支持视频通话的能力。主叫终端通过语音通话响应接收到视频能力支持信息后,可保存在IMS SIP栈中,SIP栈中的数据存取效率高,便于后续快速得到视频能力支持信息。Specifically, the calling terminal sends a voice call request to the called terminal to request to establish a voice call, which can be sent to the proxy server through the network, and then forwarded by the proxy server to the called terminal, IP data transmission technologies, such as VoLTE, send voice call requests. The voice call response message refers to a response message returned by the called terminal after receiving the voice call request sent by the calling terminal, and the calling terminal negotiates with the called terminal to obtain the ability of the called terminal to support the video call, and the video capability support information. Carrying in the voice call response message does not require the called terminal to additionally add a message, which is simple and convenient. The video capability support information refers to the ability of the called terminal to support the video call. The called terminal determines that the parameter affecting the video capability support information may be the current power of the called terminal and the hardware support capability of the called terminal (such as whether the camera is included or not). And whether the current state of the camera is available, the environmental status of the called terminal, such as the ambient brightness, the current network status, such as whether the network is congested, etc., the service information of the called terminal, such as the remaining information of the traffic, etc., may also affect each parameter. Weighting is performed to obtain a weighted result. If the weighting result is within a preset range, the video capability support information is determined to support the video call capability, and if the weighted result is not within the preset range, the capability of not supporting the video call is determined. After receiving the video capability support information through the voice call response, the calling terminal can be saved in the IMS SIP stack, and the data access efficiency in the SIP stack is high, so that the video capability support information can be quickly obtained later.
步骤S220,在向被叫终端发送视频通话请求前,获取视频能力支持信息,如果根据视频能力支持信息判断被叫终端不支持视频通话,则拒绝发送视频通话请求。In step S220, before the video call request is sent to the called terminal, the video capability support information is obtained. If the video capability support information is used to determine that the called terminal does not support the video call, the video call request is rejected.
具体地,在向被叫终端发送视频通话请求前,先根据视频能力支持信息判断被叫终端是否支持视频通话,如果被叫终端不支持视频通话,则视频通话请求将不会被发送而被自动拒绝,一方面减少了和网络的消息交互,节约了网络资源,另一方面视频通话请求在主叫终端被禁止发出,避免了被叫终端接收到视频通话请求而误操作接通视频通话,大大提高了拒绝视频通话的便利性。Specifically, before the video call request is sent to the called terminal, the video capability support information is used to determine whether the called terminal supports the video call. If the called terminal does not support the video call, the video call request will not be sent but is automatically Rejection, on the one hand, reduces the message interaction with the network, saves network resources, and on the other hand, the video call request is forbidden to be sent at the calling terminal, avoiding the called terminal receiving the video call request and operating the video call by mistake. Improved convenience of rejecting video calls.
本实施例中,通过在与被叫终端建立语音通话的过程中,从被叫终端接收携带在语音通话响应消息中的视频能力支持信息,并保存视频能力支持信息,在向被叫终端发送视频通话请求前,获取视频能力支持信息,如果根据视频能力支持信息判断被叫终端不支持视频通话,则拒绝发送视频通话请求,视频能力支持信息携带在语音通话响应消息中,不需要额外增加消息,简单方便,如果被叫终端不支持视频通话,则视频通话请求将不会被发送而被自动拒绝,大大提高了拒绝视频通话的便利性。 In this embodiment, in the process of establishing a voice call with the called terminal, the video capability support information carried in the voice call response message is received from the called terminal, and the video capability support information is saved, and the video is sent to the called terminal. Before the call request, the video capability support information is obtained. If the video capability support information is used to determine that the called terminal does not support the video call, the video call request is rejected, and the video capability support information is carried in the voice call response message, and no additional message is needed. Simple and convenient, if the called terminal does not support the video call, the video call request will not be sent but is automatically rejected, which greatly improves the convenience of rejecting the video call.
在一个实施例中,语音通话为VoLTE语音通话,视频通话请求为VoLTE视频通话请求,视频能力支持信息携带在所述语音通话的过程中建立的确认消息IMS_SIP_INVITE中。In one embodiment, the voice call is a VoLTE voice call, the video call request is a VoLTE video call request, and the video capability support information is carried in an acknowledgement message IMS_SIP_INVITE established in the process of the voice call.
具体地,VoLTE即Voice over LTE,是一种IP数据传输技术,无需2G/3G网,全部业务承载于4G网络上,可实现数据与语音业务在同一网络下的统一,提供高质量的音视频通话。在视频通话请求为VoLTE视频通话请求时,IMS_SIP_INVITE消息即SIP(Session Initiation Protocol,会话初始协议)协议中的200OK消息,是语音呼叫流程建立的确认消息,可将视频能力支持信息填充在IMS_SIP_INVITE消息的Contact参数中,如Contact参数中含有Audio,Video标记信息,则表示被叫终端同时支持语音通话和视频通话;Contact参数中不含Video标记信息则表示被叫终端不支持视频通话。在建立语音通话的过程中提前方便地获取到被叫终端的视频能力支持信息,不需要额外发送消息,高效而具有可兼容性。Specifically, VoLTE is Voice over LTE. It is an IP data transmission technology. It does not require a 2G/3G network. All services are carried on a 4G network. Data and voice services can be unified under the same network, providing high-quality audio and video. call. When the video call request is a VoLTE video call request, the IMS_SIP_INVITE message, that is, the 200 OK message in the SIP (Session Initiation Protocol) protocol, is an acknowledgement message established by the voice call flow, and the video capability support information can be filled in the IMS_SIP_INVITE message. In the Contact parameter, if the Contact parameter contains Audio and Video tag information, it means that the called terminal supports both voice call and video call; the Contact parameter does not contain Video tag information, indicating that the called terminal does not support video call. In the process of establishing a voice call, the video capability support information of the called terminal is conveniently obtained in advance, and no additional message is required, which is efficient and compatible.
在一个实施例中,视频能力支持信息由被叫终端根据接收的电量广播信息对应的当前电量与预设视频通话电量门限阈值确定。In an embodiment, the video capability support information is determined by the called terminal according to a current power amount corresponding to the received power broadcast information and a preset video call power threshold threshold.
具体地,由于视频通话对于终端电量的消耗比语音通话大很多,如果用户当前的终端电量已经较低,则很可能会拒绝视频通话请求,视频能力支持信息根据被叫终端的当前电量与预设视频通话电量门限阈值确定,可智能的协助用户自动拒绝视频通话请求,提高了终端的智能化。视频通话电量门限阈值可根据用户需要提前配置,如新增菜单界面,增加视频通话电量门限阈值设置按键,如在界面显示“当手机电量低于视频通话电量门限阈值时,自动拒绝视频呼叫升级请求”,视频通话电量门限阈值可根据需要自定义,如定义为30%电量。被叫终端在使用过程中,电池实时的发出电量广播信息,电量广播信息用于确定被叫终端的当前电量,被叫终端接收到电量广播信息后,确定被叫终端的当前电量,从而判断当前电量与预设视频通话电量门限阈值的关系,如果当前电量小于预设视频通话电量门限阈值,则设置视频能力支持信息为不支持视频通话,如果当前电量不小于预设视频通话电量门限阈值,设置所述视频能力支持信息为支持视频通话。其中视频能力支持信息可由系统新增系统属性参数来表示,如支持视频通话,则系统新增系统属性 参数可设置为true,如果不支持视频通话,则系统新增系统属性参数可设置为false。Specifically, since the video call consumes a lot of power for the terminal than the voice call, if the current terminal power of the user is already low, the video call request is likely to be rejected, and the video capability support information is based on the current power and preset of the called terminal. The video call power threshold threshold is determined, which can intelligently assist the user to automatically reject the video call request, thereby improving the intelligence of the terminal. The video call power threshold threshold can be configured in advance according to user needs. For example, if the menu interface is added, the video call power threshold threshold setting button is added. For example, when the mobile phone power is lower than the video call power threshold threshold, the video call upgrade request is automatically rejected. The video call power threshold can be customized as needed, such as 30%. During the use of the called terminal, the battery emits power broadcast information in real time. The power broadcast information is used to determine the current power of the called terminal. After receiving the power broadcast information, the called terminal determines the current power of the called terminal, thereby determining the current state. The relationship between the power and the preset video call power threshold. If the current power is less than the preset video call power threshold, the video capability support information is not supported. If the current power is not less than the preset video call threshold, set The video capability support information is to support a video call. The video capability support information may be represented by a system new system attribute parameter. If the video call is supported, the system adds a system attribute. The parameter can be set to true. If the video call is not supported, the system added system property parameter can be set to false.
在一个实施例中,结合图4,方法还包括:在与被叫终端视频通话的过程中,通过SIP协议中的Invite消息向被叫终端发送视频通话降级为语音通话的请求,以使被叫终端接收到视频通话降级为语音通话的请求后,通过SIP协议中的应答信息100Trying通知主叫终端当前呼叫过程的参数发生变化,准备进行协商,被叫终端发送IMS_SIP_INVITE即200OK消息至主叫终端,表示接受请求,视频通话降级为语音通话。主叫终端也可根据自身条件,如电量、网络环境等主动将视频通话降级为语音通话。In an embodiment, in conjunction with FIG. 4, the method further includes: in the process of a video call with the called terminal, sending, by using an Invite message in the SIP protocol, a request to the called terminal to downgrade the video call to a voice call, so that the called party is called. After receiving the request that the video call is downgraded to a voice call, the terminal notifies the calling terminal of the current call process parameter change through the response information 100Trying in the SIP protocol, and prepares to negotiate, and the called terminal sends an IMS_SIP_INVITE, that is, a 200 OK message to the calling terminal. Indicates that the request is accepted and the video call is downgraded to a voice call. The calling terminal can also actively downgrade the video call to a voice call according to its own conditions, such as power and network environment.
在一个实施例中,如图5所示,提供了第二种视频通话数据处理的方法,以应用于上述应用环境中的被叫终端来举例说明,包括以下步骤:In an embodiment, as shown in FIG. 5, a method for processing a second video call data is provided to be applied to a called terminal in the foregoing application environment, and the following steps are included:
步骤S310,在与主叫终端建立语音通话的过程中,获取当前终端的视频能力支持信息;Step S310: Acquire video capability support information of the current terminal in a process of establishing a voice call with the calling terminal.
具体地,被叫终端接收主叫终端发送的语音通话请求,开始与主叫终端建立语音通话,主叫终端可通过IP数据传输技术发送语音通话请求,如通过VoLTE发送语音通话请求。视频能力支持信息是指被叫终端是否支持视频通话的能力,由被叫终端决定,影响视频能力支持信息的参数可能为被叫终端当前的电量、被叫终端的硬件支持能力(如是否包括摄像头以及当前摄像头的状态是否可用)、被叫终端的环境状态,如环境亮度等、当前网络状态,如网络是否拥塞等,被叫终端的业务信息,如流量剩余信息等,也可将各个影响参数进行加权,得到加权结果,如果加权结果在预设范围内,视频能力支持信息确定为支持,否则确定为不支持,如支持可设置为true,不支持可设置为false。视频能力支持信息确定后可由系统新增系统属性参数来表示,获取时读取系统新增系统属性参数得到当前终端的视频能力支持信息。Specifically, the called terminal receives the voice call request sent by the calling terminal, and starts to establish a voice call with the calling terminal, and the calling terminal can send a voice call request by using an IP data transmission technology, such as sending a voice call request through VoLTE. The video capability support information refers to the ability of the called terminal to support the video call. The called terminal determines that the parameter affecting the video capability support information may be the current power of the called terminal and the hardware support capability of the called terminal (such as whether the camera is included or not). And whether the current state of the camera is available, the environmental status of the called terminal, such as the ambient brightness, the current network status, such as whether the network is congested, etc., the service information of the called terminal, such as the remaining information of the traffic, etc., may also affect each parameter. Weighting is performed to obtain a weighted result. If the weighting result is within the preset range, the video capability support information is determined to be supported, otherwise it is determined to be unsupported, such as support can be set to true, and unsupported can be set to false. After the video capability support information is determined, it can be represented by the system added system attribute parameter. When acquiring, the system adds the system attribute parameter to obtain the video capability support information of the current terminal.
步骤S320,将携带在语音通话响应消息中的视频能力支持信息返回至主叫终端,视频能力支持信息由主叫终端在向被叫终端发送视频通话请求前获取,如果根据视频能力支持信息判断被叫终端不支持视频通话,则拒绝从所述主叫终端发送视频通话请求。 Step S320, the video capability support information carried in the voice call response message is returned to the calling terminal, and the video capability support information is obtained by the calling terminal before sending the video call request to the called terminal, if it is determined according to the video capability support information. If the calling terminal does not support the video call, the video call request is rejected from the calling terminal.
具体地,语音通话响应消息是指被叫终端接收到主叫终端发送的语音通话请求后返回的响应消息,主叫终端通过和被叫终端协商以获取被叫终端对视频通话支持的能力,视频能力支持信息携带在语音通话响应消息中,不需要被叫终端额外增加消息,简单方便。主叫终端接收到视频能力支持信息后,可保存在IMS SIP栈中,SIP栈中的数据存取效率高,便于后续快速得到视频能力支持信息。主叫终端在向被叫终端发送视频通话请求前,先读取保存的视频能力支持信息,根据视频能力支持信息判断被叫终端是否支持视频通话,如果被叫终端不支持视频通话,则视频通话请求将不会被发送而被自动拒绝,一方面减少了和网络的消息交互,节约了网络资源,另一方面视频通话请求在主叫终端被禁止发出,避免了被叫终端接收到视频通话请求而误操作接通视频通话,大大提高了拒绝视频通话的便利性。Specifically, the voice call response message refers to a response message that is returned after the called terminal receives the voice call request sent by the calling terminal, and the calling terminal negotiates with the called terminal to obtain the capability of the called terminal to support the video call, and the video The capability support information is carried in the voice call response message, and does not require the called terminal to additionally add a message, which is simple and convenient. After receiving the video capability support information, the calling terminal can be saved in the IMS SIP stack, and the data access efficiency in the SIP stack is high, so that the video capability support information can be quickly obtained later. The calling terminal reads the saved video capability support information before sending the video call request to the called terminal, and determines whether the called terminal supports the video call according to the video capability support information. If the called terminal does not support the video call, the video call The request will not be sent but will be automatically rejected. On the one hand, the message exchange with the network is reduced, and the network resources are saved. On the other hand, the video call request is forbidden to be sent at the calling terminal, and the called terminal is prevented from receiving the video call request. The wrong operation to connect to the video call greatly improves the convenience of rejecting the video call.
本实施例中,通过在与主叫终端建立语音通话的过程中,获取当前终端的视频能力支持信息,将视频能力支持信息携带在语音通话响应消息中,并返回至所述主叫终端,视频能力支持信息用于主叫终端在向被叫终端发送视频通话请求前获取视频能力支持信息,如果视频能力支持信息为被叫终端不支持视频通话,则拒绝发送视频通话请求,视频能力支持信息携带在语音通话响应消息中,不需要被叫终端额外增加消息,简单方便,如果被叫终端不支持视频通话,则视频通话请求将不会发送而被自动拒绝,大大提高了拒绝视频通话的便利性。In this embodiment, the video capability support information of the current terminal is acquired in the process of establishing a voice call with the calling terminal, and the video capability support information is carried in the voice call response message, and returned to the calling terminal, and the video is returned. The capability support information is used by the calling terminal to obtain the video capability support information before sending the video call request to the called terminal. If the video capability support information is that the called terminal does not support the video call, the video call request is rejected, and the video capability support information is carried. In the voice call response message, the called terminal does not need to additionally add a message, which is simple and convenient. If the called terminal does not support the video call, the video call request will not be sent but is automatically rejected, which greatly improves the convenience of rejecting the video call. .
在一个实施例中,如图6所示,获取当前终端的视频能力支持信息的步骤之前,所述第二种视频通话数据处理的方法还包括:In an embodiment, before the step of acquiring the video capability support information of the current terminal, the method for processing the second video call data further includes:
步骤S410,接收电量广播信息,获取预设视频通话电量门限阈值;Step S410: Receive power broadcast information, and obtain a preset video call power threshold threshold;
具体地,被叫终端在使用过程中,电池实时地发出电量广播信息,电量广播信息用于确定被叫终端的当前电量,被叫终端接收到电量广播信息后,确定被叫终端的当前电量。视频通话电量门限阈值可根据用户需要提前配置,如新增菜单界面,增加视频通话电量门限阈值设置按键,如在界面显示“当手机电量低于视频通话电量门限阈值时,自动拒绝视频呼叫升级请求”,视频通话电量门限阈值可根据需要自定义,如定义为30%电量。Specifically, during use, the called terminal sends the power broadcast information in real time, and the power broadcast information is used to determine the current power of the called terminal, and after the called terminal receives the power broadcast information, determine the current power of the called terminal. The video call power threshold threshold can be configured in advance according to user needs. For example, if the menu interface is added, the video call power threshold threshold setting button is added. For example, when the mobile phone power is lower than the video call power threshold threshold, the video call upgrade request is automatically rejected. The video call power threshold can be customized as needed, such as 30%.
步骤S420,判断电量广播信息对应的当前电量是否小于预设视频通话电 量门限阈值,如果当前电量小于所述预设视频通话电量门限阈值,则设置视频能力支持信息为不支持视频通话,如果当前电量不小于所述预设视频通话电量门限阈值,设置视频能力支持信息为支持视频通话。Step S420, determining whether the current power quantity corresponding to the power quantity broadcast information is less than a preset video call power The threshold threshold is set. If the current power is less than the preset video call threshold, the video capability support information is not supported. If the current power is not less than the preset video call threshold, the video capability support information is set. To support video calls.
具体地,如果当前电量小于预设视频通话电量门限阈值,说明终端当前处于低电量状态,而视频通话又比语音通话耗电量大得多,用户则很可能会选择拒绝视频通话请求,则设置视频能力支持信息为不支持视频通话,如果当前电量不小于预设视频通话电量门限阈值,设置所述视频能力支持信息为支持视频通话。其中视频能力支持信息可由系统新增系统属性参数来表示,如支持视频通话,可设置系统新增系统属性参数来表示为true,如果不支持视频通话可设置系统新增系统属性参数来表示为false。视频能力支持信息根据被叫终端的当前电量与预设视频通话电量门限阈值确定,可智能地协助用户自动拒绝视频通话请求,提高了终端的智能化。Specifically, if the current power is less than the preset video call power threshold threshold, the terminal is currently in a low battery state, and the video call consumes much more power than the voice call, and the user may choose to reject the video call request, then set The video capability support information is that the video call is not supported. If the current power is not less than the preset video call power threshold, the video capability support information is set to support the video call. The video capability support information may be represented by a system new system attribute parameter. For example, if the video call is supported, the system may add a system attribute parameter to indicate that it is true. If the video call is not supported, the system may add a system attribute parameter to indicate that it is false. . The video capability support information is determined according to the current power of the called terminal and the preset video call power threshold threshold, and can intelligently assist the user to automatically reject the video call request, thereby improving the intelligence of the terminal.
在一个实施例中,语音通话为VoLTE语音通话,视频通话请求为VoLTE视频通话请求,视频能力支持信息携带在所述语音通话的过程中建立的确认消息IMS_SIP_INVITE中。In one embodiment, the voice call is a VoLTE voice call, the video call request is a VoLTE video call request, and the video capability support information is carried in an acknowledgement message IMS_SIP_INVITE established in the process of the voice call.
具体地,在视频通话请求为VoLTE视频通话请求时,IMS_SIP_INVITE消息即SIP协议中的200OK消息,是语音呼叫流程建立的确认消息,可将视频能力支持信息填充在IMS_SIP_INVITE消息的Contact参数中,如Contact参数中含有Audio,Video标记信息,则表示被叫终端同时支持语音通话和视频通话;Contact参数中不含Video标记信息则表示被叫终端不支持视频通话。在建立语音通话的过程中提前方便地获取到被叫终端的视频能力支持信息,不需要额外发送消息,高效而具有可兼容性。Specifically, when the video call request is a VoLTE video call request, the IMS_SIP_INVITE message, that is, the 200 OK message in the SIP protocol, is an acknowledgement message established by the voice call flow, and the video capability support information may be filled in the Contact parameter of the IMS_SIP_INVITE message, such as Contact. If the parameter contains Audio and Video tag information, it means that the called terminal supports both voice call and video call; the Contact parameter does not contain Video tag information, indicating that the called terminal does not support video call. In the process of establishing a voice call, the video capability support information of the called terminal is conveniently obtained in advance, and no additional message is required, which is efficient and compatible.
在一个实施例中,在所述获取当前终端的视频能力支持信息的步骤之后,所述视频通话数据处理的方法还包括:如果根据视频能力支持信息判断所述当前终端不支持视频通话,则使得在与主叫终端建立的语音通话的界面中的视频通话切换虚拟按键无效。In an embodiment, after the step of acquiring the video capability support information of the current terminal, the method for processing the video call data further includes: if it is determined, according to the video capability support information, that the current terminal does not support the video call, The video call switching virtual key in the interface of the voice call established with the calling terminal is invalid.
具体地,在与主叫终端的语音通话的过程中,不断监听视频能力支持信息,如果根据视频能力支持信息判断被叫终端不支持视频通话,则使得视频通话切换虚拟按键无效,可通过在界面中隐藏视频通话切换虚拟按键使其无 效,或改变视频通话切换虚拟按键的状态使其无法被触发。实时地监听视频能力支持信息,可智能地使视频通话切换虚拟按键无效,如在语音通话的过程中电量由90%下降到预设视频通话电量门限阈值以下时,视频通话切换虚拟按键由有效状态变为无效状态。如图7所示,为一个可选的实施例中语音通话界面,当被叫终端电量在预设视频通话电量门限阈值以上时,视频通话切换虚拟按键430如图7所示,为处于有效状态,当被叫终端电量小于预设视频通话电量门限阈值时,视频通话切换虚拟按键430如图8所示,为处于无效状态。Specifically, during the voice call with the calling terminal, the video capability support information is continuously monitored. If the video capability support information is used to determine that the called terminal does not support the video call, the video call switching virtual key is invalid, and the interface can be Hide video call switch virtual button to make it free Effect, or change the state of the video call switching virtual button so that it cannot be triggered. Monitor the video capability support information in real time, and intelligently disable the video call switching virtual button. For example, when the power is reduced from 90% to the preset video call power threshold threshold during the voice call, the video call switching virtual button is valid. It becomes invalid. As shown in FIG. 7 , in the voice call interface of an optional embodiment, when the called terminal power is above a preset video call power threshold threshold, the video call switching virtual button 430 is in an active state as shown in FIG. 7 . When the called terminal power is less than the preset video call power threshold threshold, the video call switching virtual button 430 is in an invalid state as shown in FIG. 8 .
在一个实施例中,所述第二种视频通话数据处理的方法还包括:在与主叫终端视频通话的过程中,实时获取当前终端的视频能力支持信息,如果根据视频能力支持信息判断所述当前终端不支持视频通话,则在当前视频通话界面显示通话模式选择信息。In an embodiment, the method for processing the second video call data further includes: acquiring video capability support information of the current terminal in real time during a video call with the calling terminal, if the video capability support information is used to determine the If the current terminal does not support the video call, the call mode selection information is displayed on the current video call interface.
具体地,如果被叫终端在接收到视频通话请求时是支持视频能力的,则会与主叫终端进行视频通话,而在与主叫终端视频通话的过程中,被叫终端很可能由支持视频能力变为不支持视频能力,如电量逐渐减少到预设视频通话电量门限阈值以下,此时,在当前视频通话界面显示通话模式选择信息,通话模式选择信息可通过提示框或悬浮窗口的形式显示,显示形式不作限定,可由用户自行选择继续视频通话,还是降级为语音通话,进一步提供了操作的便利性。为了防止充电时电量时高时低导致通话模式选择信息显示的频率过高,可限定显示间隔时间,只有达到显示间隔时间才进行下一次显示,如显示间隔时间为5分钟。Specifically, if the called terminal supports video capability when receiving the video call request, a video call is made with the calling terminal, and during the video call with the calling terminal, the called terminal is likely to be supported by the video. The capability becomes non-supporting video capability. For example, the power is gradually reduced to below the preset video call power threshold. At this time, the call mode selection information is displayed on the current video call interface, and the call mode selection information can be displayed in the form of a prompt box or a floating window. The display form is not limited, and the user can choose to continue the video call or downgrade to a voice call, further providing convenience of operation. In order to prevent the battery from being high and low during charging, the frequency of the call mode selection information display is too high, and the display interval time can be limited. Only when the display interval time is reached, the next display is performed, for example, the display interval time is 5 minutes.
在一个可选的实施例中,结合图9,视频通话数据处理的方法的流程如下:In an optional embodiment, in conjunction with FIG. 9, the flow of the video call data processing method is as follows:
1、第一终端通过邀请消息(Invite消息)向服务器发送语音呼叫请求,语音呼叫请求携带目标呼叫终端为第二终端;1. The first terminal sends a voice call request to the server by using an invite message (Invite message), where the voice call request carries the target call terminal as the second terminal;
2、服务器通过Invite消息转发语音呼叫请求至第二终端,并向第一终端返回100Trying消息至第一终端,表示呼叫正在处理中;2. The server forwards the voice call request to the second terminal by using the Invite message, and returns a 100 Trying message to the first terminal to the first terminal, indicating that the call is being processed;
3、第二终端接收到语音呼叫请求后,向服务器返回100Trying消息,表示呼叫请求正在处理中,同时向服务器发送180Ringing振铃消息; After receiving the voice call request, the second terminal returns a 100 Trying message to the server, indicating that the call request is being processed, and sending a 180 Ringing ringing message to the server;
4、服务器转发180Ringing振铃消息至第一终端,使第一终端听到振铃声;4. The server forwards the 180 Ringing ringing message to the first terminal, so that the first terminal hears the ringing tone;
5、第二终端如果确认接听,则发送200OK消息至服务器,以使服务器转发给第一终端,其中200OK消息中携带了视频能力支持信息。5. If the second terminal confirms the answer, it sends a 200 OK message to the server to forward the server to the first terminal, where the 200 OK message carries the video capability support information.
6、第一终端接收到视频能力支持信息后,将视频能力支持信息保存在IMS SIP栈中,如果视频能力支持信息为不支持视频通话,则后续不能发起视频通话请求。After receiving the video capability support information, the first terminal saves the video capability support information in the IMS SIP stack. If the video capability support information does not support the video call, the video call request cannot be initiated subsequently.
本发明实施例另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现所述方法。Embodiments of the present invention further provide a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
在一个实施例中,如图10所示,提供了第一视频通话数据处理的装置,包括:In one embodiment, as shown in FIG. 10, an apparatus for processing first video call data is provided, including:
视频能力支持信息接收模块510,设置为在与被叫终端建立语音通话的过程中,从被叫终端接收携带在语音通话响应消息中的视频能力支持信息,并保存视频能力支持信息;The video capability support information receiving module 510 is configured to receive the video capability support information carried in the voice call response message from the called terminal during the process of establishing a voice call with the called terminal, and save the video capability support information;
请求拒绝模块520,设置为在向被叫终端发送视频通话请求前,获取视频能力支持信息,如果根据视频能力支持信息为被叫终端不支持视频通话,则拒绝视频通话请求的发送。The request rejection module 520 is configured to obtain video capability support information before sending a video call request to the called terminal, and if the called terminal does not support the video call according to the video capability support information, reject the transmission of the video call request.
在一个实施例中,语音通话为VoLTE语音通话,所述视频通话请求为VoLTE视频通话请求,所述视频能力支持信息携带在所述语音通话的过程中建立的确认消息IMS_SIP_INVITE中。In one embodiment, the voice call is a VoLTE voice call, the video call request is a VoLTE video call request, and the video capability support information is carried in an acknowledgement message IMS_SIP_INVITE established in the process of the voice call.
在一个实施例中,视频能力支持信息由被叫终端根据接收的电量广播信息对应的当前电量与预设视频通话电量门限阈值确定。In an embodiment, the video capability support information is determined by the called terminal according to a current power amount corresponding to the received power broadcast information and a preset video call power threshold threshold.
在一个实施例中,如图11所示,提供了第二视频通话数据处理的装置,包括:In one embodiment, as shown in FIG. 11, an apparatus for processing second video call data is provided, including:
视频能力支持信息获取模块610,设置为在与主叫终端建立语音通话的过程中,获取当前终端的视频能力支持信息。 The video capability support information obtaining module 610 is configured to acquire video capability support information of the current terminal during the process of establishing a voice call with the calling terminal.
视频能力支持信息返回模块620,设置为将携带在语音通话响应消息中的视频能力支持信息并返回至主叫终端,视频能力支持信息由主叫终端在向被叫终端发送视频通话请求前获取,如果根据视频能力支持信息判断被叫终端不支持视频通话,则拒绝从主叫终端发送视频通话请求。The video capability support information returning module 620 is configured to return the video capability support information carried in the voice call response message to the calling terminal, and the video capability support information is obtained by the calling terminal before sending the video call request to the called terminal. If it is determined according to the video capability support information that the called terminal does not support the video call, the video call request is rejected from the calling terminal.
在一个实施例中,如图12所示,第二视频通话数据处理的装置还包括:In an embodiment, as shown in FIG. 12, the apparatus for processing the second video call data further includes:
视频能力支持信息确定模块630,设置为在所述视频能力支持信息获取模块获取当前终端的视频能力支持信息之前,接收电量广播信息,获取预设视频通话电量门限阈值,判断所述电量广播信息对应的当前电量是否小于所述预设视频通话电量门限阈值,如果当前电量小于所述预设视频通话电量门限阈值,则设置所述视频能力支持信息为不支持视频通话,如果当前电量不小于所述预设视频通话电量门限阈值,设置所述视频能力支持信息为支持视频通话。The video capability support information determining module 630 is configured to: before the video capability support information acquiring module acquires the video capability support information of the current terminal, receive the power broadcast information, obtain a preset video call power threshold threshold, and determine that the power broadcast information corresponds to If the current power is less than the preset video call power threshold threshold, if the current power is less than the preset video call power threshold threshold, the video capability support information is set to not support video call, if the current power is not less than the current The preset video call power threshold threshold is set, and the video capability support information is set to support video call.
在一个实施例中,语音通话为VoLTE语音通话,所述视频通话请求为VoLTE视频通话请求,所述视频能力支持信息携带在语音通话的过程中建立的确认消息IMS_SIP_INVITE中。In one embodiment, the voice call is a VoLTE voice call, the video call request is a VoLTE video call request, and the video capability support information is carried in an acknowledgement message IMS_SIP_INVITE established during the voice call.
在一个实施例中,如图13所示,第二视频通话数据处理的装置还包括:In an embodiment, as shown in FIG. 13, the apparatus for processing the second video call data further includes:
视频通话虚拟按键无效模块640,设置为如果所述视频能力支持信息返回模块根据视频能力支持信息判断当前终端不支持视频通话,则使得在与主叫终端建立的语音通话的界面中的视频通话切换虚拟按键无效。The video call virtual key invalidation module 640 is configured to: if the video capability support information returning module determines, according to the video capability support information, that the current terminal does not support the video call, the video call switching in the interface of the voice call established with the calling terminal is performed. The virtual button is invalid.
在一个实施例中,如图14所示,第二视频通话数据处理的装置还包括:In an embodiment, as shown in FIG. 14, the apparatus for processing the second video call data further includes:
视频能力监测模块650,设置为在与主叫终端视频通话的过程中,实时获取当前终端的视频能力支持信息,如果根据视频能力支持信息判断当前终端不支持视频通话,则在当前视频通话界面显示通话模式选择信息。The video capability monitoring module 650 is configured to obtain the video capability support information of the current terminal in real time during the video call with the calling terminal, and if the current terminal does not support the video call according to the video capability support information, display the current video call interface. Call mode selection information.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述程序可存储于一计算机可读取存储介质中,如本发明实施例中,该程序可存储于计算机系统的存储介质中,并被该计算机系统中的至少一个处理器执行,以实现包括如上述 各方法的实施例的流程。其中,所述存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium, such as the present invention. In an embodiment, the program may be stored in a storage medium of the computer system and executed by at least one processor in the computer system to implement The flow of an embodiment of each method. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be considered as the scope of this manual.
本领域普通技术人员可以理解所述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,所述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,所述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明实施例不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or part of the steps in the method may be performed by a program to instruct related hardware (eg, a processor), which may be stored in a computer readable storage medium, such as a read only memory, a disk, or CD, etc. Alternatively, all or part of the steps of the described embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the embodiment may be implemented in the form of hardware, such as an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executed by a processor and stored in a memory. Programs/instructions to implement their respective functions. Embodiments of the invention are not limited to any specific form of combination of hardware and software.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments are merely illustrative of several embodiments of the present application, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the claims. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the present application. Therefore, the scope of the invention should be determined by the appended claims.
工业实用性Industrial applicability
本申请提供了视频通话数据处理的方法和装置,通过在与主叫终端建立语音通话的过程中,获取当前终端的视频能力支持信息,将携带在语音通话响应消息中的视频能力支持信息返回至所述主叫终端,如果根据视频能力支持信息判断被叫终端不支持视频通话,则拒绝从所述主叫终端发送视频通话请求,视频能力支持信息携带在语音通话响应消息中,不需要被叫终端额外增加消息,如果被叫终端不支持视频通话,则视频通话请求将不会被发送而被自动拒绝,大大提高了拒绝视频通话的便利性。 The present application provides a method and a device for processing video call data. In the process of establishing a voice call with a calling terminal, the video capability support information of the current terminal is obtained, and the video capability support information carried in the voice call response message is returned to If the calling terminal determines that the called terminal does not support the video call according to the video capability support information, the calling terminal refuses to send a video call request from the calling terminal, and the video capability support information is carried in the voice call response message, and does not need to be called. The terminal additionally adds a message. If the called terminal does not support the video call, the video call request will not be sent but is automatically rejected, which greatly improves the convenience of rejecting the video call.

Claims (16)

  1. 一种视频通话数据处理的方法,所述方法包括:A method for video call data processing, the method comprising:
    在与被叫终端建立语音通话的过程中,从被叫终端接收携带在语音通话响应消息中的视频能力支持信息,并保存所述视频能力支持信息;Receiving, in the process of establishing a voice call with the called terminal, receiving the video capability support information carried in the voice call response message from the called terminal, and saving the video capability support information;
    在向被叫终端发送视频通话请求前,获取所述视频能力支持信息,如果根据所述视频能力支持信息判断所述被叫终端不支持视频通话,则拒绝发送所述视频通话请求。Before the video call request is sent to the called terminal, the video capability support information is obtained, and if the called terminal does not support the video call according to the video capability support information, the video call request is rejected.
  2. 根据权利要求1所述的方法,其中,所述语音通话为VoLTE语音通话,所述视频通话请求为VoLTE视频通话请求,所述视频能力支持信息携带在所述语音通话的过程中建立的确认消息中。The method according to claim 1, wherein the voice call is a VoLTE voice call, the video call request is a VoLTE video call request, and the video capability support information carries an acknowledgement message established during the voice call. in.
  3. 根据权利要求1所述的方法,其中,所述视频能力支持信息由被叫终端根据接收的电量广播信息对应的当前电量与预设视频通话电量门限阈值确定。The method according to claim 1, wherein the video capability support information is determined by the called terminal according to a current power amount corresponding to the received power broadcast information and a preset video call power threshold threshold.
  4. 一种视频通话数据处理的方法,包括:A method for processing video call data, comprising:
    在与主叫终端建立语音通话的过程中,获取当前终端的视频能力支持信息;Obtaining video capability support information of the current terminal during the process of establishing a voice call with the calling terminal;
    将携带在语音通话响应消息中的所述视频能力支持信息返回至所述主叫终端,所述视频能力支持信息由所述主叫终端在向被叫终端发送视频通话请求前获取,如果根据所述视频能力支持信息判断所述被叫终端不支持视频通话,则拒绝从所述主叫终端发送所述视频通话请求。Returning the video capability support information carried in the voice call response message to the calling terminal, where the video capability support information is obtained by the calling terminal before sending a video call request to the called terminal, if The video capability support information determines that the called terminal does not support the video call, and refuses to send the video call request from the calling terminal.
  5. 根据权利要求4所述的方法,所述获取当前终端的视频能力支持信息的步骤之前,所述方法还包括:The method of claim 4, before the step of acquiring the video capability support information of the current terminal, the method further includes:
    接收电量广播信息,获取预设视频通话电量门限阈值;Receiving the power broadcast information, and obtaining a preset video call power threshold threshold;
    判断所述电量广播信息对应的当前电量是否小于所述预设视频通话电量门限阈值,如果当前电量小于所述预设视频通话电量门限阈值,则设置所述视频能力支持信息为不支持视频通话,如果当前电量不小于所述预设视频通 话电量门限阈值,设置所述视频能力支持信息为支持视频通话。Determining whether the current power corresponding to the power broadcast information is less than the preset video call power threshold threshold. If the current power is less than the preset video call power threshold threshold, setting the video capability support information to not support video call. If the current power is not less than the preset video pass The video power threshold is set to support the video call.
  6. 根据权利要求4所述的方法,其中,所述语音通话为VoLTE语音通话,所述视频通话请求为VoLTE视频通话请求,所述视频能力支持信息携带在所述语音通话的过程中建立的确认消息中。The method according to claim 4, wherein the voice call is a VoLTE voice call, the video call request is a VoLTE video call request, and the video capability support information carries an acknowledgement message established during the voice call. in.
  7. 根据权利要求4所述的方法,所述方法还包括:The method of claim 4, further comprising:
    如果根据所述视频能力支持信息判断所述当前终端不支持视频通话,则使得在与主叫终端建立的语音通话的界面中的视频通话切换虚拟按键无效。If it is determined according to the video capability support information that the current terminal does not support the video call, the video call switching virtual key in the interface of the voice call established with the calling terminal is invalid.
  8. 根据权利要求4所述的方法,所述方法还包括:The method of claim 4, further comprising:
    在与主叫终端视频通话的过程中,实时获取当前终端的视频能力支持信息,如果根据所述视频能力支持信息判断所述当前终端不支持视频通话,则在当前视频通话界面显示通话模式选择信息。During the video call with the calling terminal, the video capability support information of the current terminal is obtained in real time. If it is determined according to the video capability support information that the current terminal does not support the video call, the call mode selection information is displayed on the current video call interface. .
  9. 一种视频通话数据处理的装置,所述装置包括:A device for processing video call data, the device comprising:
    视频能力支持信息接收模块,设置为在与被叫终端建立语音通话的过程中,从被叫终端接收携带在语音通话响应消息中的视频能力支持信息,并保存所述视频能力支持信息;The video capability support information receiving module is configured to receive the video capability support information carried in the voice call response message from the called terminal during the process of establishing a voice call with the called terminal, and save the video capability support information;
    请求拒绝模块,设置为在向被叫终端发送视频通话请求前,获取所述视频能力支持信息,如果根据所述视频能力支持信息判断所述被叫终端不支持视频通话,则拒绝发送所述视频通话请求。The request rejection module is configured to acquire the video capability support information before sending the video call request to the called terminal, and if the called terminal terminal does not support the video call according to the video capability support information, refuse to send the video Call request.
  10. 根据权利要求9所述的装置,其中,所述语音通话为VoLTE语音通话,所述视频通话请求为VoLTE视频通话请求,所述视频能力支持信息携带在所述语音通话的过程中建立的确认消息中。The device according to claim 9, wherein the voice call is a VoLTE voice call, the video call request is a VoLTE video call request, and the video capability support information carries an acknowledgement message established during the voice call. in.
  11. 根据权利要求9所述的装置,其中,所述视频能力支持信息由被叫终端根据接收的电量广播信息对应的当前电量与预设视频通话电量门限阈值确定。The device according to claim 9, wherein the video capability support information is determined by the called terminal according to a current power amount corresponding to the received power broadcast information and a preset video call power threshold threshold.
  12. 一种视频通话数据处理的装置,包括: A device for processing video call data, comprising:
    视频能力支持信息获取模块,设置为在与主叫终端建立语音通话的过程中,获取当前终端的视频能力支持信息;The video capability support information acquiring module is configured to acquire video capability support information of the current terminal during the process of establishing a voice call with the calling terminal;
    视频能力支持信息返回模块,设置为将携带在语音通话响应消息中的所述视频能力支持信息返回至所述主叫终端,所述视频能力支持信息由所述主叫终端在向被叫终端发送视频通话请求前获取,如果根据所述视频能力支持信息判断所述被叫终端不支持视频通话,则拒绝从所述主叫终端发送所述视频通话请求。a video capability support information returning module, configured to return the video capability support information carried in the voice call response message to the calling terminal, where the video capability support information is sent by the calling terminal to the called terminal Obtaining a video call request, if it is determined according to the video capability support information that the called terminal does not support the video call, rejecting sending the video call request from the calling terminal.
  13. 根据权利要求12所述的装置,所述装置还包括:The device of claim 12, the device further comprising:
    视频能力支持信息确定模块,设置为在所述视频能力支持信息获取模块获取当前终端的视频能力支持信息之前,接收电量广播信息,获取预设视频通话电量门限阈值,判断所述电量广播信息对应的当前电量是否小于所述预设视频通话电量门限阈值,如果当前电量小于所述预设视频通话电量门限阈值,则设置所述视频能力支持信息为不支持视频通话,如果当前电量不小于所述预设视频通话电量门限阈值,设置所述视频能力支持信息为支持视频通话。The video capability support information determining module is configured to: before the video capability support information acquiring module acquires the video capability support information of the current terminal, receive the power broadcast information, obtain a preset video call power threshold threshold, and determine the corresponding power broadcast information. If the current power is less than the preset video call power threshold threshold, if the current power is less than the preset video call power threshold threshold, the video capability support information is set to not support video call, if the current power is not less than the preset Set a video call power threshold threshold, and set the video capability support information to support video call.
  14. 根据权利要求12所述的装置,其中,所述语音通话为VoLTE语音通话,所述视频通话请求为VoLTE视频通话请求,所述视频能力支持信息携带在所述语音通话的过程中建立的确认消息中。The device according to claim 12, wherein the voice call is a VoLTE voice call, the video call request is a VoLTE video call request, and the video capability support information carries an acknowledgement message established during the voice call. in.
  15. 根据权利要求12所述的装置,所述装置还包括:The device of claim 12, the device further comprising:
    视频通话虚拟按键无效模块,设置为如果所述视频能力支持信息返回模块根据所述视频能力支持信息判断所述当前终端不支持视频通话,则使得在与主叫终端建立的语音通话的界面中的视频通话切换虚拟按键无效。a video call virtual key invalidation module, configured to: if the video capability support information returning module determines, according to the video capability support information, that the current terminal does not support a video call, in an interface of a voice call established with the calling terminal The video call switching virtual button is invalid.
  16. 根据权利要求12所述的装置,所述装置还包括:The device of claim 12, the device further comprising:
    视频能力监测模块,设置为在与主叫终端视频通话的过程中,实时获取当前终端的视频能力支持信息,如果根据所述视频能力支持信息判断所述当前终端不支持视频通话,则在当前视频通话界面显示通话模式选择信息。 The video capability monitoring module is configured to acquire the video capability support information of the current terminal in real time during the video call with the calling terminal, and if it is determined according to the video capability support information that the current terminal does not support the video call, the current video is The call interface displays the call mode selection information.
PCT/CN2016/094385 2016-06-13 2016-08-10 Method and device for video call data processing WO2017215100A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610411064.XA CN107493451A (en) 2016-06-13 2016-06-13 The method and apparatus of video call data processing
CN201610411064.X 2016-06-13

Publications (1)

Publication Number Publication Date
WO2017215100A1 true WO2017215100A1 (en) 2017-12-21

Family

ID=60643147

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/094385 WO2017215100A1 (en) 2016-06-13 2016-08-10 Method and device for video call data processing

Country Status (2)

Country Link
CN (1) CN107493451A (en)
WO (1) WO2017215100A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110278215B (en) * 2019-07-16 2022-01-25 中国联合网络通信集团有限公司 Call establishment method and system, and session management function entity
CN110719371B (en) * 2019-09-05 2022-06-07 华为技术有限公司 Cross-device communication method, device, equipment and storage medium
CN110798646B (en) * 2019-11-01 2021-03-02 深圳市欧瑞博科技股份有限公司 Indoor cloud intercom method, indoor cloud intercom and storage medium
CN114915747B (en) * 2021-02-09 2024-05-03 华为技术有限公司 Video call method, electronic device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035161A (en) * 2006-03-09 2007-09-12 中兴通讯股份有限公司 Method for using the intelligent visual terminal to realize the image color ring
CN101340730A (en) * 2008-08-14 2009-01-07 华为技术有限公司 Method, device and system for falling video call to audio call
CN101540970A (en) * 2008-03-19 2009-09-23 华为技术有限公司 Method and device for processing calling information by terminal
CN101594442A (en) * 2009-07-03 2009-12-02 广州广哈通信有限公司 A kind of method and system of video consultation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035161A (en) * 2006-03-09 2007-09-12 中兴通讯股份有限公司 Method for using the intelligent visual terminal to realize the image color ring
CN101540970A (en) * 2008-03-19 2009-09-23 华为技术有限公司 Method and device for processing calling information by terminal
CN101340730A (en) * 2008-08-14 2009-01-07 华为技术有限公司 Method, device and system for falling video call to audio call
CN101594442A (en) * 2009-07-03 2009-12-02 广州广哈通信有限公司 A kind of method and system of video consultation

Also Published As

Publication number Publication date
CN107493451A (en) 2017-12-19

Similar Documents

Publication Publication Date Title
US20230029382A1 (en) Services over wireless communication with high flexibility and efficiency
US11843721B2 (en) Method and terminal for supporting voice service and data service simultaneously
CN108881779B (en) Method, system and server for answering and transferring video calls between intelligent devices
EP3905652A1 (en) Video ringback tone interaction method and apparatus
WO2017215100A1 (en) Method and device for video call data processing
US11509767B2 (en) Status prompt multimedia playing method and system, and apparatus
US20170187882A1 (en) Text Translation of an Audio Recording During Recording Capture
WO2022194002A1 (en) Voice service handover method, device, and user equipment
CN106803917B (en) Video call method for double-screen mobile terminal and double-screen mobile terminal
US11678149B2 (en) Communications network
CN110650254B (en) Information transmission method, information reception method, terminal, and storage medium
US11968322B2 (en) Methods and apparatuses of call implementation
US9049310B2 (en) Data communication
WO2024012368A1 (en) Communication processing method and apparatus, communication device and readable storage medium
WO2024051663A1 (en) Data channel establishment method, and first terminal and second terminal
WO2023241614A1 (en) Ims service acquisition method and terminal, network device and medium
WO2017041502A1 (en) Profile management and status notification method, terminal, network element, and communication system
WO2023141828A1 (en) Indication sending method and apparatus, indication receiving method and apparatus, and communication apparatus and storage medium
US20240163323A1 (en) Media content delivery method and device
EP4362424A1 (en) Media content delivery method and device
CN114585086B (en) Call response method, device, terminal equipment and storage medium
CN113992793B (en) Communication method and device and electronic equipment
WO2023011476A1 (en) Communication method, data channel establishment method, device, and storage medium
WO2022268012A1 (en) Resource processing method and apparatus, electronic device, and storage medium
WO2023221058A1 (en) Cell camping method and apparatus, terminal and computer readable storage medium

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: 16905213

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: 16905213

Country of ref document: EP

Kind code of ref document: A1