CN109495769B - Video communication method, terminal, smart television, server and storage medium - Google Patents
Video communication method, terminal, smart television, server and storage medium Download PDFInfo
- Publication number
- CN109495769B CN109495769B CN201710813438.5A CN201710813438A CN109495769B CN 109495769 B CN109495769 B CN 109495769B CN 201710813438 A CN201710813438 A CN 201710813438A CN 109495769 B CN109495769 B CN 109495769B
- Authority
- CN
- China
- Prior art keywords
- video
- video data
- terminal
- communication
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25808—Management of client data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4108—Peripherals receiving signals from specially adapted client devices characterised by an identification number or address, e.g. local network address
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4126—The peripheral being portable, e.g. PDAs or mobile phones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/426—Internal components of the client ; Characteristics thereof
- H04N21/42684—Client identification by a unique number or address, e.g. serial number, MAC address, socket ID
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/437—Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/441—Acquiring end-user identification, e.g. using personal code sent by the remote control or by inserting a card
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/835—Generation of protective data, e.g. certificates
- H04N21/8352—Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Computer Graphics (AREA)
- Power Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a video communication method, a terminal, a smart television, a server and a storage medium, and belongs to the technical field of internet. The method comprises the following steps: receiving a video projection request of a terminal, wherein the video projection request comprises a user account; acquiring the equipment identification of the intelligent television corresponding to the user account from an equipment identification database; sending a video call request to the intelligent television corresponding to the equipment identifier; and when the confirmation message is received, sending the first video data of the opposite communication terminal to the terminal and the intelligent television for display respectively. According to the invention, the server stores the corresponding relation between the user account and the equipment identifier of the intelligent television and can directly communicate with the intelligent television, so that the intelligent television can receive and display the video data of the opposite communication terminal without installing a specified video communication application, the communication mode is more convenient and faster, the method does not depend on the same account system in the video communication process, the limitation of the original video communication is overcome, and the video communication mode is expanded.
Description
Technical Field
The invention relates to the technical field of internet, in particular to a video communication method, a terminal, a smart television, a server and a storage medium.
Background
With the development of internet technology, more and more applications with video communication functions are developed. Based on the video communication applications, a user can perform video communication with other users on devices such as a smart phone and a tablet computer anytime and anywhere. However, the video experience effect is not good when the user performs video communication on the devices, which is limited to the display screens of the devices such as the smart phone and the tablet computer. In order to improve the video experience effect, more users start to perform video communication on the smart television with the large screen.
At present, in the prior art, when video communication is performed based on a smart television, the following method is mainly adopted: the method comprises the steps that a video communication application is installed on the smart television in advance, and when the fact that a user logs in the video communication application on the smart television through a user account and a password is detected, video communication is conducted with other users under the same account system based on the video communication application.
However, since the video communication application needs to be installed on the smart television in advance, the convenience of the communication mode is poor.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a video communication method, a terminal, a smart television, a server, and a storage medium. The technical scheme is as follows:
in a first aspect, a video communication method is provided, and the method includes:
receiving a video projection request of a terminal, wherein the video projection request comprises a user account for logging in a specified video communication application;
acquiring the equipment identification of the intelligent television corresponding to the user account from an equipment identification database, wherein the equipment identification database stores the corresponding relation between the user account and the equipment identification of the intelligent television;
sending a video call request to the smart television corresponding to the equipment identifier, wherein the video call request is used for the smart television to return a confirmation message;
and when the confirmation message is received, sending the first video data of the opposite communication terminal to the terminal and the intelligent television for display respectively.
In a second aspect, a video communication method is provided, the method comprising:
displaying a video projection option on a communication interface of a designated video communication application;
when the video projection option is detected to be selected, sending a video projection request to a server, wherein the video projection request comprises a user account for logging in the specified video communication application, the video projection request is used for the server to send a video call request to an intelligent television corresponding to the user account, and when a confirmation message of the intelligent television is received, sending first video data of a communication opposite terminal to a terminal and the intelligent television;
when the first video data is received, displaying the first video data.
In a third aspect, a video communication method is provided, the method including:
when a video call request of a server is received, displaying a video communication confirmation interface, wherein the video communication confirmation interface comprises a video projection confirmation option;
when the video projection confirmation option is detected to be selected, generating a confirmation message;
sending the confirmation message to the server, wherein the confirmation message is used for switching the communication state of the appointed video communication application in the terminal from a display state to a display stop state by the server, and returning the first video data of the opposite communication terminal;
when the first video data is received, displaying the first video data.
In a fourth aspect, there is provided a server for video communication, the server comprising:
the video projection system comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving a video projection request of a terminal, and the video projection request comprises a user account for logging in a specified video communication application;
the acquisition module is used for acquiring the equipment identification of the intelligent television corresponding to the user account from an equipment identification database, and the equipment identification database stores the corresponding relationship between the user account and the equipment identification of the intelligent television;
the sending module is used for sending a video call request to the intelligent television corresponding to the equipment identifier, wherein the video call request is used for the intelligent television to return a confirmation message;
the state switching module is used for switching the communication state of the appointed video communication application in the terminal from a display state to a display stop state when the confirmation message is received;
the sending module is used for sending the first video data of the opposite communication terminal to the terminal and the intelligent television for display respectively.
In a fifth aspect, there is provided a terminal for video communication, the terminal comprising:
the display module is used for displaying video projection options on a communication interface of a specified video communication application;
the sending module is used for sending a video projection request to a server when the video projection option is detected to be selected, wherein the video projection request comprises a user account for logging in the specified video communication application, the video projection request is used for sending a video call request to the smart television corresponding to the user account by the server, and when a confirmation message of the smart television is received, first video data of a communication opposite terminal is sent to a terminal and the smart television;
the display module is used for displaying the first video data when the first video data is received.
In a sixth aspect, a smart tv for video communication is provided, the smart tv comprising:
the display module is used for displaying a video communication confirmation interface when receiving a video call request of the server, wherein the video communication confirmation interface comprises a video projection confirmation option;
the message generation module is used for generating a confirmation message when the video projection confirmation option is detected to be selected;
the sending module is used for sending the confirmation message to the server, wherein the confirmation message is used for switching the communication state of the appointed video communication application in the terminal from a display state to a display stop state by the server and returning the first video data of a communication opposite terminal;
the display module is used for displaying the first video data when the first video data is received.
In a seventh aspect, there is provided a video communication apparatus, the apparatus being a server or a terminal or a smart tv, the apparatus comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes or a set of instructions;
when the apparatus is the server, the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement the video communication method of the first aspect;
when the apparatus is the terminal, the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement the video communication method of the second aspect;
when the apparatus is the smart tv, the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement the video communication method of the third aspect.
In an eighth aspect, there is provided a computer readable storage medium having stored therein at least one instruction, at least one program, set of codes or set of instructions, which is loaded and executed by a processor to implement the video communication method of the first aspect, or to implement the video communication method of the second aspect, or to implement the video communication method of the third aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the server stores the corresponding relation between the user account and the equipment identification of the intelligent television and can directly communicate with the intelligent television, so that the intelligent television can receive and display video data of a communication opposite end without installing a specified video communication application, the communication mode is more convenient and fast, the server does not depend on the same account system in the video communication process, the limitation of original video communication is overcome, and the video communication mode is expanded.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is an implementation environment related to a video communication method according to an embodiment of the present invention;
fig. 2 is a flow chart of a video communication method according to another embodiment of the present invention;
fig. 3 is a schematic diagram of a video communication process according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a server for video communication according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal for video communication according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of an intelligent television for video communication according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal for video communication according to an embodiment of the present invention;
fig. 8 illustrates a server for video communication, according to an example embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, an implementation environment related to a video communication method provided by an embodiment of the present invention is shown, where the implementation environment includes: terminal 101, server 102 and smart television 103.
The terminal 101 may be a smart phone, a tablet computer, a notebook computer, or the like, and the embodiment of the present invention does not specifically limit the product type of the terminal 101. In order to meet the video communication requirements of the user, at least one video communication application is installed in the terminal 101, and based on the installed video communication application, the terminal 101 can obtain a video communication service from the server 102.
The server 102 is an application server, and specifically, the server 102 may be an internet of things background server, and not only can manage the intelligent devices on the entire internet of things platform, but also can provide video communication service for the terminal 101 installed with video communication application, and manage the terminal 101; the server 102 may also be a video communication application server, which not only provides video communication services for the terminal 101 through video communication application, but also manages the intelligent device corresponding to the device identifier uploaded by the terminal 101.
The smart tv 103 has a communication function, and can send broadcast messages and various requests via a local area network or an external network to realize communication with the terminal 101 and the server 102.
The terminal 101, the server 102 and the smart television 103 can communicate through a wired network or a wireless network, and the server 102 and the smart television 103 can also communicate through a wired network or a wireless network.
Based on the implementation environment shown in fig. 1, an embodiment of the present invention provides a video communication method, referring to fig. 2, taking a terminal, a server, and a smart television as an example to execute the embodiment of the present invention, where the method provided by the embodiment of the present invention includes:
201. the terminal displays a video projection option on a communication interface of a designated video communication application.
When a user logs in a specified video communication application on a terminal through a user account and a password registered in the specified video communication application and communicates with other users in the specified video communication application through the user account, the terminal can display a communication interface of the specified video communication application, and various options for communication are displayed on the communication interface, wherein the options comprise a hands-free option, a hang-up option and the like. In order to improve the video communication experience effect of a user, a video projection option is also displayed on the communication interface, and the video projection option is used for triggering the server to project the video data of the opposite communication terminal to the large-screen smart television for display.
In the embodiment of the present invention, when the terminal displays the video projection option on the communication interface of the designated video communication application, the method includes, but is not limited to, the following two ways:
in the first mode, when the server detects that the user account is communicating with other user accounts, the server can generate a display instruction and send the display instruction to a terminal logging in the user account, and when the display instruction of the server is received, the terminal displays a video projection option on a communication interface according to the display instruction.
In the second mode, when the smart television is in an open state and is connected to a local area network, when the smart television receives a broadcast message sent by a terminal in the local area network, the terminal is determined to be connected to the local area network, and the fact that a user account is in communication with other user accounts is detected through communication with the terminal, the smart television can generate a display instruction and send the display instruction to the terminal, and when the display instruction of the smart television is received, the terminal displays a video projection option on a communication interface according to the display instruction.
202. And when the video projection option is detected to be selected, the terminal sends a video projection request to the server.
Based on the video projection option displayed on the display interface of the specified video communication application, if the user wants to display the video picture of the opposite communication terminal on the smart television with a larger screen, the user can click the video projection option, and when the video projection option is detected to be selected, the terminal generates a video projection request, wherein the video projection request comprises a user account for logging in the specified video communication application and the like. Of course, if the user has no projection requirements, the video projection option need not be processed and can be ignored.
203. When a video projection request is received, the server acquires the equipment identification of the intelligent television corresponding to the user account from the equipment identification database.
In the embodiment of the invention, a server maintains an equipment identification database, the equipment identification database stores the corresponding relation between the user account in the appointed video communication application and the equipment identification of the intelligent television, when a video projection request is received, the server acquires the user account, and further acquires the equipment identification of the intelligent television corresponding to the user account from the equipment identification database according to the user account.
The establishment process of the device identification database is as follows:
firstly, a terminal acquires an equipment identifier of the intelligent television.
In an embodiment of the invention, the smart television is provided with the two-dimensional code, the two-dimensional code comprises information such as the equipment identifier of the smart television and the type of the smart television, and the terminal can analyze the equipment identifier of the smart television from the two-dimensional code by scanning the two-dimensional code on the smart television.
In another embodiment of the present invention, after the smart tv is connected to the local area network, the smart tv may send a broadcast message in the local area network, where the broadcast message at least carries the device identifier of the smart tv, and when the broadcast message of the smart tv is received, the terminal may obtain the device identifier of the smart tv from the broadcast message.
Of course, the terminal may also acquire the device identifier of the smart television in other manners, and the embodiments of the present invention are not described one by one.
And secondly, the terminal sends a binding request to the server.
The terminal generates a binding request according to a user account for logging in the specified video communication application and the acquired equipment identifier of the intelligent television, and sends the binding request comprising the user account and the equipment identifier of the intelligent television to the server.
And thirdly, when the binding request is received, the server establishes an equipment identification database according to the user account and the equipment identification of the intelligent television.
When a binding request of the terminal is received, the server obtains an equipment identification database by establishing a corresponding relation between a user account and equipment identification of the intelligent television in the binding request.
Certainly, in order to ensure real-time effectiveness of the device identifier database, the corresponding relationship between the user account stored in the device identifier database and the device identifier of the smart television is not constant, and when the smart television in the user family is replaced or the user updates the user account registered in the specified video communication application, the terminal may send an update request to the server, so that the server updates the corresponding relationship stored in the device identifier database according to the update request.
204. And the server sends a video call request to the intelligent television corresponding to the equipment identifier.
And the server sends a video call request to the intelligent television corresponding to the equipment identification according to the equipment identification of the intelligent television corresponding to the user account. By the transmission mode, the request is transmitted more pertinently.
205. And when a video call request of the server is received, the intelligent television displays a video communication confirmation interface.
In the embodiment of the invention, the smart television is in an on state by default, and when a video call request of the server is received, the smart television can display a video communication confirmation interface on the current display screen, wherein the video communication confirmation interface comprises a video projection confirmation option, a video projection rejection option and the like. If the user wants to display the video data of the opposite communication terminal on the smart television, the user can click a video projection confirmation option, so that the video data can be displayed through a subsequent processing process; if the user does not wish to display video data of the correspondent node on the smart television, the user can click on the video projection rejection option, so that the current television content can continue to be displayed.
206. And when the video projection confirmation option is detected to be selected, the intelligent television generates a confirmation message.
When the video projection confirmation option is detected to be selected, under the trigger of the selection operation, the intelligent television generates a confirmation message for video communication, and the confirmation message can trigger the server to send the first video data of the opposite communication terminal to the intelligent television for display.
207. And the intelligent television sends the confirmation message to the server.
When the smart television sends the confirmation message to the server, the following two modes can be adopted:
in the first mode, the smart television sends a confirmation message to the terminal, and the terminal sends the confirmation message to the server.
In the second mode, the smart television sends a confirmation message to the server through the network.
208. And when the confirmation message is received, the server sends the first video data of the communication opposite end to the terminal and the intelligent television.
In order to improve data transmission efficiency, in the video communication process, first video data sent by a communication opposite end are generally coded data, the data can be normally displayed after being decoded, and when the video data are sent, whether the smart television has a decoding function or not is different in processing modes of a server.
In an embodiment of the invention, when a functional module for video decoding is arranged in the smart television or other video communication applications are installed, the other video communication applications not only have a decoding function, but also can be called by the smart television, that is, the smart television has the decoding function, at this time, the server can directly send the first video data of the opposite communication terminal to the smart television, and then the first video data is decoded by the smart television and displayed.
In another embodiment of the present invention, when the smart television does not have a decoding function, the server needs to send the first video data of the correspondent node to a third-party device (for example, a terminal in the embodiment of the present invention), and after the third-party device decodes the first video data, the server sends the decoded first video data to the smart television for display.
Usually, at least two data transmission channels are arranged on the server, and these data transmission channels can be used for communication between the server and external devices, including a first data transmission channel and at least one second data transmission channel for data transmission with the terminal.
Aiming at different data transmission channels, if the intelligent television has a decoding function, when the server sends the first video data of the opposite communication end to the terminal and the intelligent television, the server sends the first video data to the terminal by adopting the first data transmission channel and sends the first video data to the intelligent television by adopting the second data transmission channel.
Aiming at different data transmission channels, if the intelligent television does not have a decoding function, when the server sends first video data of a communication opposite terminal to the terminal and the intelligent television, the server sends the first video data to the terminal by adopting the first data transmission channel, after the terminal decodes the first video data, the server sends the decoded first video data to the server by adopting the first data transmission channel, and when the decoded first video data is received, the server sends the decoded second video data to the intelligent television by adopting the second data transmission channel.
It should be noted that, for example, the server sends the first video data of the opposite communication terminal to the terminal and the smart television, and the terminal and the smart television synchronously display the first video data, certainly, in order to save resources and avoid interference to the user caused by synchronous display of the same video communication picture on the terminal and the smart television, when receiving the confirmation message of the smart television, the server may also send the first video data to the smart television, and switch the designated video communication application in the terminal from the communication state to the suspended state, and in the suspended state, the video data will not be displayed on the terminal any more.
For different data transmission channels, if the smart television has a decoding function, when the server sends the first video data of the opposite communication terminal to the smart television for display, the following two modes can be adopted:
in the first mode, the server sends the first video data to the smart television through the first data transmission channel.
In the second mode, the server sends the first video data to the smart television through a second data transmission channel.
For different data transmission channels, if the smart television does not have the decoding function, when the server sends the first video data of the opposite communication terminal to the smart television for displaying, the following two modes can be adopted:
in the first mode, the server sends the first video data to the terminal through the first data transmission channel, after the terminal decodes the first video data, the first data transmission channel is used for sending the decoded first video data to the server, and the server sends the decoded second video data to the smart television through the second data transmission channel.
In the second mode, the server sends the first video data to the terminal through the first data transmission channel, after the terminal decodes the first video data, the first data transmission channel is adopted to send the decoded first video data to the server, and the server sends the decoded first video data to the smart television through the first data transmission channel.
209. When the first video data are received, the terminal and the intelligent television respectively display the first video data.
The intelligent television successfully projects the first video data displayed on the terminal with the small screen onto the intelligent television with the large screen by displaying the received first video data, the video communication experience of a user is improved by switching the first video data display media, the stickiness of the user to the appointed video communication application is increased, the existing video communication mode which can be only based on the same account system under the same video communication application on the terminal or the intelligent television is expanded to the video communication mode based on different account systems (between a communication opposite terminal logging in the user account of the appointed video communication application and the intelligent television without the appointed video communication application), the communication limitation is overcome, and a new communication mode is provided.
Certainly, in the video communication process, not only the opposite communication terminal needs to send the first video data to the local terminal for display, but also the local terminal needs to send the video data to the opposite terminal for display.
Generally, a camera is built in a terminal, and based on the configured camera, the terminal can acquire second video data of the terminal, display the second video data, encode the second video data to obtain encoded second video data, further send the encoded second video data to a server, and forward the encoded second video data by the server.
Because the main function of the smart television is to display a television picture, in the actual use process, whether a camera is configured for the smart television or not does not affect the normal use of the smart television, and in the video data acquisition process, the method provided by the embodiment of the invention is different when in processing, and comprises but is not limited to the following two conditions:
the first situation, if the smart television is provided with a camera, the terminal can be completely liberated in the whole video process, a user does not need to hold the terminal, the whole communication process can be completed only by adjusting the camera configured for the smart television, the third video data of the terminal can be collected by the camera configured for the smart television at the moment, the third video data is displayed, the collected third video data is encoded, the encoded third video data is obtained, the encoded third video data is further sent to the server, and the encoded third video data is forwarded by the server.
In the second case, if the smart television is not equipped with a camera, the smart television cannot acquire video data.
For the situation, in order to ensure that video communication can be performed normally, in the whole video process, a user needs to adjust the position and the height of the terminal to ensure that second video data of the local terminal can be acquired, encode the acquired second video data to obtain encoded second video data, encode the encoded second video data and send the encoded second video data to a server, and the server forwards the encoded second video data.
By combining different acquisition conditions of the terminal and the intelligent television to the video data, when the intelligent television is not provided with a camera and the server receives the coded second video data, the server can send the coded second video data to the communication opposite terminal and the intelligent television, and the coded second video data are respectively displayed by the communication opposite terminal and the intelligent television. When the intelligent television is provided with the camera, and the server receives the encoded second video data and the encoded third video data, the server identifies the encoded second video data and the encoded third video data, and then forwards the encoded second video data and the encoded third video data according to the identification result. When forwarding is specifically performed, the following situations are included but not limited to:
in an embodiment of the invention, when it is recognized that the encoded second video data includes face image data and the encoded third video data does not include the face image data, it is indicated that the built-in camera of the terminal acquires a face image of a user and the camera of the smart television does not acquire the face image of the user, and in order to implement effective video communication, the server may send the encoded second video data to the communication peer and the smart television for display respectively.
In another embodiment of the present invention, when it is recognized that the encoded second video data does not include face image data, the encoded third video data includes face image data, which indicates that a camera configured in the smart television acquires a face image of a user, and a camera built in the terminal does not acquire the face image of the user, in order to implement effective video communication, the server may send the encoded third video data to the communication peer and the terminal for display respectively.
In another embodiment of the present invention, when it is recognized that the encoded second video data includes face image data and the encoded third video data includes face image data, in order to comprehensively display the entire video communication process, the server may send the encoded second video data to the communication peer and the smart television for display respectively, and send the encoded third video data to the communication peer and the terminal for display respectively. Of course, if the face images included in the encoded second video data and the encoded third video data are identified as the face images of the same user, the server can screen out complete and clear face image data from the face images, and then sends the video data including the face image data to the opposite communication terminal and the smart television (or the terminal).
By adopting the processing mode, the video communication between the terminal and the communication opposite terminal is converted into the video communication between the terminal, the intelligent television and the communication opposite terminal, and a new video communication mode is expanded.
In the video process of the opposite communication terminal, a plurality of video communication options for communication are displayed on the smart television, wherein the video communication options comprise hang-up options, switching options and the like. When the hang-up option is detected to be selected, the smart television can send a video stop instruction to the server to trigger the server to end the video communication. When the switching option is detected to be selected, the smart television server can send a video switching instruction to the server to trigger the server to switch the video communication state of the smart television from the communication state to the suspension state, and in the suspension state, the smart television does not display video data but switches to a channel before the video and displays the content of the channel.
In the above, for example, the first video data is sent to the terminal and the smart television for display respectively, and in fact, the server may also send the first video data only to the smart television for display. For the situation, when the smart television is provided with the camera, the smart television can display the third video data through a third data code acquired by the camera, encode the third video data and send the encoded third video data to the server, and the server sends the encoded third video data to the opposite communication terminal for display; when the intelligent television is not provided with the camera, the terminal collects second video data through the camera, encodes the collected second video data and then sends the encoded second video data to the server, and the encoded second video data is sent to the intelligent television and the communication opposite terminal by the server to be displayed.
In the video process of the communication opposite terminal, when the intelligent television is disconnected in network and power off and the like, and the server cannot send the first video data of the communication opposite terminal to the intelligent television, in order to ensure that the video communication process can be smoothly carried out, the server can intelligently switch the designated video communication application in the terminal from a suspended state to a communication state, and in the communication state, the terminal can normally display the video data of the communication opposite terminal.
The video communication method provided by the embodiment of the invention can be applied to the following two scenes:
scene one: the smart television and the mobile phone in the home of the user are connected to the same local area network through the router, and when the user carries out video communication with friends of the user through the video communication application in the mobile phone, the user can project video pictures of the friends displayed on the mobile phone to the smart television for displaying.
Scene two: when a user performs video communication with friends of the user through a video communication application in a mobile phone in an office, a coffee shop and the like, the user can project video pictures of the friends displayed on the mobile phone to a smart television in a family for displaying, so that family members can see the video contents of the friends.
Fig. 3 is a schematic diagram of a process of performing video communication by using the method provided by the embodiment of the present invention, where the video communication process includes the following steps 1 to 7.
The method comprises the following steps that step 1, a mobile phone (terminal) obtains a user account for logging in the video communication application and an equipment identifier of the intelligent television, sends a binding request comprising the user account and the equipment identifier of the intelligent television to a cloud (server), and the cloud establishes a corresponding relation between the user account and the equipment identifier of the intelligent television based on the binding request and stores the corresponding relation.
And 2, when the mobile phone communicates with other users through the video application, the mobile phone can display video projection options on a communication interface.
And 3, when the video projection option is detected to be selected, the mobile phone sends a video projection request to the cloud, wherein the video projection request comprises a user account and the like.
And 4, when the video projection request is received, the cloud end acquires the equipment identification of the intelligent television corresponding to the user account according to the pre-stored corresponding relation.
And 5, the cloud sends a video call request to the intelligent television corresponding to the equipment identification according to the equipment identification of the intelligent television.
And 6, when the click operation of the video projection confirmation option is detected, the smart television generates a confirmation message and sends the confirmation message to the cloud.
And 7, after receiving the confirmation message, switching the communication state of the mobile phone by the cloud end, switching the communication state of the mobile phone from the display state to the display stop state, and further sending the video data of the opposite communication end to the smart television for displaying by the smart television.
According to the method provided by the embodiment of the invention, the server stores the corresponding relation between the user account and the equipment identifier of the intelligent television and can be directly communicated with the intelligent television, so that the intelligent television can receive and display the video data of the opposite communication terminal without installing the appointed video communication application, the communication mode is more convenient and faster, the method does not depend on the same account system in the video communication process, the limitation of the original video communication is overcome, and the video communication mode is expanded.
Referring to fig. 4, an embodiment of the present invention provides a server for video communication, where the server includes:
a receiving module 401, configured to receive a video casting request of a terminal, where the video casting request includes a user account for logging in a specified video communication application;
an obtaining module 402, configured to obtain, from an equipment identifier database, an equipment identifier of the smart television corresponding to the user account, where a corresponding relationship between the user account and the equipment identifier of the smart television is stored in the equipment identifier database;
a sending module 403, configured to send a video call request to the smart television corresponding to the device identifier, where the video call request is used for the smart television to return a confirmation message;
a sending module 403, configured to send the first video data of the opposite communication terminal to the terminal and the smart television for display respectively.
In another embodiment of the present invention, the sending module 403 is configured to send the first video data to the terminal for displaying through the first data transmission channel, and send the first video data to the smart television for displaying through the second data transmission channel;
the first data transmission channel is a data transmission channel used for data transmission between the server and the terminal, and the first data transmission channel and the second data transmission channel are two different data transmission channels on the server.
In another embodiment of the present invention, the receiving module 401 is further configured to receive second video data sent by the terminal; receiving third video data sent by the smart television;
the sending module 403 is further configured to send the second video data to the opposite communication terminal and the smart television for display respectively when it is recognized that the second video data includes face image data and the third video data does not include face image data; when the second video data is identified not to include the face image data and the third video data includes the face image data, the third video data is sent to the communication opposite terminal and the terminal to be displayed respectively; when the second video data are recognized to comprise face image data, the third video data comprise face image data, the second video data are sent to the communication opposite terminal and the intelligent television to be displayed respectively, and the third video data are sent to the communication opposite terminal and the terminal to be displayed respectively.
In summary, according to the server provided in the embodiment of the present invention, since the server stores the corresponding relationship between the user account and the device identifier of the smart television, and can directly communicate with the smart television, the smart television can receive and display the video data of the opposite communication terminal without installing a specific video communication application, the communication mode is more convenient, and the server does not depend on the same account system in the video communication process, overcomes the limitation of the original video communication, and expands the video communication mode.
Referring to fig. 5, an embodiment of the present invention provides a terminal for video communication, where the terminal includes:
a display module 501, configured to display a video projection option on a communication interface of a specified video communication application;
the sending module 502 is configured to send a video projection request to a server when detecting that a video projection option is selected, where the video projection request includes a user account for logging in a specified video communication application, and the video projection request is used for the server to send a video call request to an intelligent television corresponding to the user account, and when receiving a confirmation message of the intelligent television, send first video data of a communication peer to the terminal and the intelligent television respectively;
the display module 501 is further configured to display the first video data when the first video data is received.
In another embodiment of the present invention, the display module 501 is configured to receive a display instruction of the server, and display a video projection option according to the display instruction, where the display instruction is sent when the server detects that the user account communicates with another user account; or the like, or, alternatively,
the display module 501 is configured to receive a display instruction of the smart television, and display a video projection option according to the display instruction, where the display instruction is sent when the smart television detects that the terminal is connected to the local area network and the user account communicates with another user account.
In another embodiment of the present invention, the terminal further includes:
the acquisition module is used for acquiring second video data of the local terminal;
the display module 501 is further configured to display the second video data;
the sending module 502 is further configured to send the second video data to a server, and the server forwards the second video data.
In another embodiment of the present invention, the display module 501 is further configured to display third video data when the third video data sent by the server is received, where the third video data is collected by the smart television and then sent to the server.
According to the terminal provided by the embodiment of the invention, under the condition that the intelligent television does not need to install the appointed video communication application, the video projection option is displayed, the server can be triggered to send the video data of the opposite communication terminal to the intelligent television for displaying, the communication mode is more convenient and fast, the terminal does not depend on the same account system in the video communication process, the limitation of the original video communication is overcome, and the video communication mode is expanded.
Referring to fig. 6, an embodiment of the present invention provides a smart television for video communication, where the smart television includes:
the display module 601 is configured to display a video communication confirmation interface when a video call request of the server is received, where the video communication confirmation interface includes a video projection confirmation option;
a message generating module 602, configured to generate a confirmation message when it is detected that the video projection confirmation option is selected;
a sending module 603, configured to send a confirmation message to the server, where the confirmation message is used for the server to switch the communication state of the specified video communication application in the terminal from the display state to the display stop state, and return the first video data of the communication peer;
the display module 601 is further configured to display the first video data when the first video data is received.
In another embodiment of the present invention, the smart tv further includes:
the acquisition module is used for acquiring third video data of the local terminal based on the camera when the local terminal is provided with the camera;
the display module 601 is further configured to display the third video data;
a sending module 603, configured to send the third video data to a server, where the server forwards the third video data.
In another embodiment of the present invention, the display module 604 is further configured to display video communication options during video communication with the correspondent node, where the video communication options include a hang-up option and a switching option;
the sending module 603 is further configured to send a video stop instruction to the server when it is detected that the hang-up option is selected, where the video stop instruction is used for the server to end the video communication;
the sending module 603 is further configured to send a video switching instruction to the server when it is detected that the switching option is selected, where the video switching instruction is used for the server to switch the video communication state of the local terminal from the communication state to the suspended state, and the smart television does not display video data in the suspended state.
According to the intelligent television provided by the embodiment of the invention, the video data of the communication opposite terminal sent by the server can be received and displayed by communicating with the server without installing a specified video communication application, the communication mode is more convenient and fast, and the intelligent television does not depend on the same account system in the video communication process, so that the limitation of the original video communication is overcome, and the video communication mode is expanded.
Referring to fig. 7, a schematic structural diagram of a terminal for video communication according to an embodiment of the present invention is shown, where the terminal can be used to implement the video communication method provided in the above-described embodiment. Specifically, the method comprises the following steps:
the terminal 700 may include components such as an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a WiFi (Wireless Fidelity) module 170, a processor 180 including one or more processing cores, and a power supply 190. Those skilled in the art will appreciate that the terminal structure shown in fig. 7 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information from a base station and then sends the received downlink information to the one or more processors 180 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal 700, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may further include a memory controller to provide the processor 180 and the input unit 130 with access to the memory 120.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphical user interfaces of the terminal 700, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 7, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The terminal 700 can also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or a backlight when the terminal 700 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal 700, detailed descriptions thereof are omitted.
WiFi belongs to a short-distance wireless transmission technology, and the terminal 700 can help a user send and receive e-mails, browse web pages, access streaming media, and the like through the WiFi module 170, and provides wireless broadband internet access for the user. Although fig. 7 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the terminal 700 and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the terminal 700, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal 700 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, processor 180 may include one or more processing cores; optionally, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The terminal 700 also includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 180 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal 700 may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically in this embodiment, the display unit of the terminal 700 is a touch screen display, and the memory 120 of the terminal 700 stores at least one instruction, at least one program, a code set, or a set of instructions, which are loaded and executed by the processor to implement the video communication method shown in fig. 2.
According to the terminal provided by the embodiment of the invention, under the condition that the intelligent television does not need to install the appointed video communication application, the video projection option is displayed, the server can be triggered to send the video data of the opposite communication terminal to the intelligent television for displaying, the communication mode is more convenient and fast, the terminal does not depend on the same account system in the video communication process, the limitation of the original video communication is overcome, and the video communication mode is expanded.
An embodiment of the present invention further provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or the instruction set is stored, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the video communication method shown in fig. 2.
According to the computer-readable storage medium provided by the embodiment of the invention, under the condition that the intelligent television does not need to install the appointed video communication application, the server can be triggered to send the video data of the opposite communication terminal to the intelligent television for displaying by displaying the video projection option, the communication mode is more convenient and fast, and the computer-readable storage medium does not depend on the same account system in the video communication process, overcomes the limitation of the original video communication, and expands the video communication mode.
Fig. 8 illustrates a server for video communication, according to an example embodiment. Referring to fig. 8, the server 800 includes a processing component 822, which further includes one or more processors and memory resources, represented by memory 832, for storing at least one instruction, at least one program, set of codes, or set of instructions executable by the processing component 822. The application programs stored in memory 832 may include one or more modules that each correspond to a set of instructions. Further, the processing component 822 is configured with the at least one instruction, the at least one program, the set of codes, or the set of instructions to perform the functions performed by the server in the video communication method shown in fig. 2.
The server 800 may also include a power component 826 configured toTo perform power management of the server 800, a wired or wireless network interface 850 is configured to connect the server 800 to a network, and an input/output (I/O) interface 858. The Server 800 may operate based on an operating system, such as Windows Server, stored in the memory 832TM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTMOr the like.
According to the server provided by the embodiment of the invention, the corresponding relation between the user account and the equipment identifier of the intelligent television is stored in the server and the server can be directly communicated with the intelligent television, so that the intelligent television can receive and display the video data of the opposite communication terminal without installing a specified video communication application, the communication mode is more convenient and fast, the server does not depend on the same account system in the video communication process, the limitation of the original video communication is overcome, and the video communication mode is expanded.
It should be noted that: in the terminal, the smart television, the server and the storage medium for video communication provided in the above embodiments, when video communication is performed, only the division of the above functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structures of the terminal, the smart television, the server and the storage medium for video communication are divided into different functional modules, so as to complete all or part of the above described functions. In addition, the terminal, the smart television, the server and the storage medium for video communication provided by the above embodiments belong to the same concept as the video communication method embodiments, and specific implementation processes thereof are described in detail in the method embodiments and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (11)
1. A method of video communication, the method comprising:
receiving a video projection request of a terminal, wherein the video projection request comprises a user account for logging in a specified video communication application;
acquiring the equipment identification of the intelligent television corresponding to the user account from an equipment identification database, wherein the equipment identification database stores the corresponding relation between the user account and the equipment identification of the intelligent television;
sending a video call request to the smart television corresponding to the equipment identifier, wherein the video call request is used for the smart television to return a confirmation message;
when the confirmation message is received, sending first video data of the opposite communication terminal to the terminal and the intelligent television for display respectively;
receiving second video data sent by the terminal;
receiving third video data sent by the intelligent television;
when the second video data is recognized to comprise face image data, and the third video data does not comprise face image data, the second video data is sent to the opposite communication terminal and the intelligent television to be displayed respectively;
when the second video data is identified not to include face image data and the third video data includes face image data, sending the third video data to the communication opposite terminal and the terminal for display respectively;
when the second video data are recognized to comprise face image data, the third video data comprise face image data, the second video data are sent to the communication opposite terminal and the intelligent television to be displayed respectively, and the third video data are sent to the communication opposite terminal and the terminal to be displayed respectively.
2. The method according to claim 1, wherein the sending the first video data of the correspondent node to the terminal and the smart television for display respectively comprises:
sending the first video data to the terminal for display by adopting a first data transmission channel, and sending the first video data to the smart television for display by adopting a second data transmission channel;
the first data transmission channel is a data transmission channel used for data transmission between the server and the terminal, and the first data transmission channel and the second data transmission channel are two different data transmission channels on the server.
3. A method of video communication, the method comprising:
displaying a video projection option on a communication interface of a designated video communication application;
when the video projection option is detected to be selected, sending a video projection request to a server, wherein the video projection request comprises a user account for logging in the specified video communication application, the video projection request is used for the server to send a video call request to an intelligent television corresponding to the user account, and when a confirmation message of the intelligent television is received, sending first video data of a communication opposite terminal to a terminal and the intelligent television respectively;
displaying the first video data when the first video data is received;
acquiring second video data of the local terminal;
displaying the second video data, sending the second video data to the server, identifying by the server based on the second video data and third video data, sending the second video data to the opposite communication terminal and the smart television for display respectively when the second video data is identified to include face image data and the third video data does not include face image data, sending the third video data to the opposite communication terminal and the terminal for display respectively when the second video data is identified to not include face image data and the third video data includes face image data, sending the second video data to the opposite communication terminal and the terminal for display respectively when the second video data is identified to include face image data and the third video data includes face image data, sending the second video data to the opposite communication terminal and the smart television for display respectively, sending the third video data to the communication opposite terminal and the terminal for display respectively, wherein the third video data is collected by the smart television and then sent to the server;
and when third video data sent by the server is received, displaying the third video data.
4. The method of claim 3, wherein displaying video casting options on a communication interface of a specified video communication application comprises:
receiving a display instruction of the server, and displaying the video projection option according to the display instruction, wherein the display instruction is sent when the server detects that the user account is communicated with other user accounts; or the like, or, alternatively,
and receiving a display instruction of the intelligent television, and displaying the video projection option according to the display instruction, wherein the display instruction is sent when the intelligent television detects that the terminal is connected to a local area network and the user account is communicated with other user accounts.
5. A method of video communication, the method comprising:
when a video call request of a server is received, displaying a video communication confirmation interface, wherein the video communication confirmation interface comprises a video projection confirmation option;
when the video projection confirmation option is detected to be selected, generating a confirmation message;
sending the confirmation message to the server, wherein the confirmation message is used for the server to return the first video data of the communication opposite terminal;
displaying the first video data when the first video data is received;
when the local terminal is configured with a camera, acquiring third video data of the local terminal based on the camera;
displaying the third video data, sending the third video data to the server, identifying by the server based on second video data and the third video data, sending the second video data to the opposite communication terminal and the smart television for display respectively when the second video data is identified to include face image data and the third video data does not include face image data, sending the third video data to the opposite communication terminal and the terminal for display respectively when the second video data is identified to not include face image data and the third video data includes face image data, sending the third video data to the opposite communication terminal and the terminal for display respectively, and sending the second video data to the opposite communication terminal and the smart television for display respectively when the second video data is identified to include face image data and the third video data includes face image data, sending the third video data to the communication opposite terminal and the terminal for displaying respectively, and sending the second video data to the server after being collected by the terminal;
and when second video data sent by the server is received, displaying the second video data.
6. The method of claim 5, further comprising:
displaying video communication options in a video communication process with the communication opposite terminal, wherein the video communication options comprise a hang-up option and a switching option;
when the hang-up option is detected to be selected, sending a video stop instruction to the server, wherein the video stop instruction is used for the server to end the video communication;
when the switching option is detected to be selected, sending a video switching instruction to the server, wherein the video switching instruction is used for switching the video communication state of the local terminal from the communication state to the suspension state by the server, and the intelligent television does not display video data in the suspension state.
7. A server for video communication, the server comprising:
the video projection system comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving a video projection request of a terminal, and the video projection request comprises a user account for logging in a specified video communication application;
the acquisition module is used for acquiring the equipment identification of the intelligent television corresponding to the user account from an equipment identification database, and the equipment identification database stores the corresponding relationship between the user account and the equipment identification of the intelligent television;
the sending module is used for sending a video call request to the intelligent television corresponding to the equipment identifier, wherein the video call request is used for the intelligent television to return a confirmation message;
the sending module is further used for sending the first video data of the opposite communication terminal to the terminal and the intelligent television for display respectively;
the receiving module is further configured to receive second video data sent by the terminal;
the receiving module is further used for receiving third video data sent by the smart television;
the sending module is further configured to send the second video data to the opposite communication terminal and the smart television for display when it is recognized that the second video data includes face image data and the third video data does not include face image data;
the sending module is further configured to send the third video data to the correspondent node and the terminal for display respectively when it is recognized that the second video data does not include face image data and the third video data includes face image data;
the sending module is further configured to send the second video data to the opposite communication terminal and the smart television for respective display when the second video data is identified to include face image data and the third video data includes face image data, and send the third video data to the opposite communication terminal and the terminal for respective display.
8. A terminal for video communication, the terminal comprising:
the display module is used for displaying video projection options on a communication interface of a specified video communication application;
the sending module is used for sending a video projection request to a server when the video projection option is detected to be selected, wherein the video projection request comprises a user account for logging in the specified video communication application, the video projection request is used for sending a video call request to the smart television corresponding to the user account by the server, and when a confirmation message of the smart television is received, first video data of a communication opposite terminal is sent to a terminal and the smart television;
the display module is further configured to display the first video data when the first video data is received;
the acquisition module is used for acquiring second video data of the local terminal;
the display module is further configured to display the second video data;
the sending module is further configured to send the second video data to the server, the server performs recognition based on the second video data and third video data, when it is recognized that the second video data includes face image data and the third video data does not include face image data, the second video data is sent to the opposite communication terminal and the smart television for display respectively, when it is recognized that the second video data does not include face image data and the third video data includes face image data, the third video data is sent to the opposite communication terminal and the terminal for display respectively, when it is recognized that the second video data includes face image data and the third video data includes face image data, the second video data is sent to the opposite communication terminal and the smart television for display respectively, sending the third video data to the communication opposite terminal and the terminal for display respectively, wherein the third video data is collected by the smart television and then sent to the server;
the display module is further configured to display third video data sent by the server when the third video data is received.
9. An intelligent television for video communication, the intelligent television comprising:
the display module is used for displaying a video communication confirmation interface when receiving a video call request of the server, wherein the video communication confirmation interface comprises a video projection confirmation option;
the message generation module is used for generating a confirmation message when the video projection confirmation option is detected to be selected;
a sending module, configured to send the confirmation message to the server, where the confirmation message is used for the first video data that the server will return to the correspondent node;
the display module is further configured to display the first video data when the first video data is received;
the acquisition module is used for acquiring third video data of the local terminal based on the camera when the local terminal is provided with the camera;
the display module is further configured to display the third video data;
the sending module is further configured to send the third video data to the server, the server performs recognition based on second video data and the third video data, when it is recognized that the second video data includes face image data and the third video data does not include face image data, the second video data is sent to the opposite communication terminal and the smart television for display respectively, when it is recognized that the second video data does not include face image data and the third video data includes face image data, the third video data is sent to the opposite communication terminal and the terminal for display respectively, when it is recognized that the second video data includes face image data and the third video data includes face image data, the second video data is sent to the opposite communication terminal and the smart television for display respectively, sending the third video data to the communication opposite terminal and the terminal for displaying respectively, and sending the second video data to the server after being collected by the terminal;
the display module is further configured to display the second video data when receiving the second video data sent by the server.
10. A video communication apparatus, wherein the apparatus is a server or a terminal or a smart tv, the apparatus comprises a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions;
when the apparatus is the server, the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement the video communication method of any of claims 1 to 2;
when the apparatus is the terminal, the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement the video communication method of any of claims 3 to 4;
when the apparatus is the smart television, the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement the video communication method of any of claims 5 to 6.
11. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the video communication method of any of claims 1 to 2, or to implement the video communication method of any of claims 3 to 4, or to implement the video communication method of any of claims 5 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710813438.5A CN109495769B (en) | 2017-09-11 | 2017-09-11 | Video communication method, terminal, smart television, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710813438.5A CN109495769B (en) | 2017-09-11 | 2017-09-11 | Video communication method, terminal, smart television, server and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109495769A CN109495769A (en) | 2019-03-19 |
CN109495769B true CN109495769B (en) | 2021-07-23 |
Family
ID=65687813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710813438.5A Active CN109495769B (en) | 2017-09-11 | 2017-09-11 | Video communication method, terminal, smart television, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109495769B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112995721A (en) * | 2019-12-02 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Video delivery method, delivery method and device of rich media content and storage medium |
KR20210086103A (en) * | 2019-12-31 | 2021-07-08 | 삼성전자주식회사 | Display device, mobile device, video calling method performed by a display device thereof, video calling method performed by a mobile device thereof |
CN113497909B (en) * | 2020-03-18 | 2022-12-02 | 华为技术有限公司 | Equipment interaction method and electronic equipment |
CN112261339B (en) * | 2020-10-15 | 2023-04-11 | Oppo广东移动通信有限公司 | Video communication method, video communication device, electronic equipment and computer-readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103139529A (en) * | 2013-02-22 | 2013-06-05 | 青岛海信宽带多媒体技术有限公司 | Video call switchover method between session initiation protocol (SIP) server and video call devices |
CN105898136A (en) * | 2015-11-17 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Camera angle adjustment method, system and television |
CN106161741A (en) * | 2015-04-01 | 2016-11-23 | 联发科技(新加坡)私人有限公司 | A kind of terminal and function sharing method thereof |
CN106534998A (en) * | 2016-10-11 | 2017-03-22 | 腾讯科技(北京)有限公司 | Video communication interface display method, device and system |
US9729821B1 (en) * | 2016-03-31 | 2017-08-08 | Amazon Technologies, Inc. | Sensor fusion for location based device grouping |
-
2017
- 2017-09-11 CN CN201710813438.5A patent/CN109495769B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103139529A (en) * | 2013-02-22 | 2013-06-05 | 青岛海信宽带多媒体技术有限公司 | Video call switchover method between session initiation protocol (SIP) server and video call devices |
CN106161741A (en) * | 2015-04-01 | 2016-11-23 | 联发科技(新加坡)私人有限公司 | A kind of terminal and function sharing method thereof |
CN105898136A (en) * | 2015-11-17 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Camera angle adjustment method, system and television |
US9729821B1 (en) * | 2016-03-31 | 2017-08-08 | Amazon Technologies, Inc. | Sensor fusion for location based device grouping |
CN106534998A (en) * | 2016-10-11 | 2017-03-22 | 腾讯科技(北京)有限公司 | Video communication interface display method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN109495769A (en) | 2019-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106791892B (en) | Method, device and system for live broadcasting of wheelhouses | |
CN110622123B (en) | Display method and device | |
CN105430424B (en) | A kind of methods, devices and systems of net cast | |
CN103488939B (en) | Method, device and terminal for prompting user | |
WO2017202348A1 (en) | Video playing method and device, and computer storage medium | |
CN108040091B (en) | Data processing method, device and storage medium | |
CN107332976B (en) | Karaoke method, device, equipment and system | |
CN107786424B (en) | Audio and video communication method, terminal and server | |
CN106973330B (en) | Screen live broadcasting method, device and system | |
CN106254910B (en) | Method and device for recording image | |
CN107333162B (en) | Method and device for playing live video | |
CN109495769B (en) | Video communication method, terminal, smart television, server and storage medium | |
CN113986167A (en) | Screen projection control method and device, storage medium and display equipment | |
CN110187808B (en) | Dynamic wallpaper setting method and device and computer-readable storage medium | |
CN106101764A (en) | A kind of methods, devices and systems showing video data | |
CN112691363A (en) | Cross-terminal switching method and related device for cloud games | |
CN104917905B (en) | Processing method, terminal and the server of Stranger Calls | |
CN105227598A (en) | A kind of resource sharing method, device and system stored based on cloud | |
CN107770449B (en) | Continuous shooting method, electronic device and storage medium | |
CN107622234B (en) | Method and device for displaying budding face gift | |
CN105577712B (en) | A kind of file uploading method, device and system | |
CN106330875B (en) | Message display method and device | |
CN105703808A (en) | Method and device for transmitting data | |
CN105991510B (en) | Method, device and system for synchronizing session between multiple terminals | |
CN110891262A (en) | Bluetooth pairing method, system and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |