CN109089168B - Video sharing method, device and system and storage medium - Google Patents
Video sharing method, device and system and storage medium Download PDFInfo
- Publication number
- CN109089168B CN109089168B CN201811178934.9A CN201811178934A CN109089168B CN 109089168 B CN109089168 B CN 109089168B CN 201811178934 A CN201811178934 A CN 201811178934A CN 109089168 B CN109089168 B CN 109089168B
- Authority
- CN
- China
- Prior art keywords
- client
- video
- sharing
- application
- user
- 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/466—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/4668—Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
-
- 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/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a video sharing method, a device, a system and a storage medium, which are applied to a background server of video application, wherein the method comprises the following steps of receiving shared data sent by a first client when the first client responds to user operation triggering to share a video, wherein the shared data comprises the following steps: the method comprises the steps that identification of a first client side and video content to be shared are obtained; determining an identifier of a second client with a preset relationship according to the identifier of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of the social application in advance; and pushing the video content to the second client according to the identification of the second client. By the method and the device, the convenience of a video sharing process on the intelligent television equipment can be improved, and the video sharing effect is improved.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a video sharing method, apparatus, system, and storage medium.
Background
With the popularization of smart television devices, the number of users of video applications on smart television devices is rapidly increasing. While users watch videos, social needs of the users are increasingly obvious, such as video sharing. The mobile terminal can conveniently share videos to WeChat friends and QQ friends through links, password messages and the like through a public interface of social application, and even release the videos to social networks such as friend circles, QQ spaces, microblogs and the like. However, few users on the smart television device side install the QQ WeChat application, and cannot pull up the social application through the public interface for video sharing.
In the related technology, the smart television device is bound with the account number of the social platform, video information is pushed to the social account of the friend through the social platform, the friend receives a request to bind the smart television device, and then the video information is shared and pushed to the friend.
In this way, the operation steps performed by the user are complex, if the smart television device is updated, the smart television device needs to be bound again, and the sharing can be triggered only by binding the authorization of the users of the two sharing parties, so that the video sharing process on the smart television device is not convenient and efficient.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, one object of the present invention is to provide a video sharing method, which can improve the convenience of a video sharing process on a smart television device and improve a video sharing effect.
Another objective of the present invention is to provide a video sharing apparatus.
Another objective of the present invention is to provide a video sharing system.
It is another object of the invention to propose a non-transitory computer-readable storage medium.
It is a further object of the invention to propose a computer program product.
To achieve the above object, a video sharing method provided in an embodiment of a first aspect of the present invention is applied to a background server for video application, and includes: when a first client side responds to user operation triggering to share a video, receiving shared data sent by the first client side, wherein the shared data comprises: the method comprises the steps that identification of a first client side and video content to be shared are obtained; determining an identifier of a second client with a preset relationship according to the identifier of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of a social application in advance; and pushing the video content to the second client according to the identifier of the second client.
In the video sharing method provided in the embodiment of the first aspect of the present invention, when a first client triggers to share a video in response to a user operation, shared data sent by the first client is received, where the shared data includes: the identification of the first client and the video content to be shared are determined, the identification of the second client with the preset relationship is determined according to the identification of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of the social application in advance, the video content is pushed to the second client according to the identification of the second client, and the preset relationship is obtained by the background server of the video application from the background server of the social application in advance, so that the preset relationship can be directly called to determine the identification of the second client with the preset relationship in the video sharing process, the convenience of the video sharing process on the smart television equipment can be improved, and the video sharing effect is improved.
To achieve the above object, a video sharing apparatus provided in an embodiment of a second aspect of the present invention is applied to a background server for video application, and includes: the first receiving module is configured to receive shared data sent by a first client when the first client shares a video in response to a user operation trigger, where the shared data includes: the method comprises the steps that identification of a first client side and video content to be shared are obtained; the first determining module is used for determining an identifier of a second client side with a preset relationship according to the identifier of the first client side, wherein the preset relationship is obtained by a background server of the video application from a background server of a social application in advance; and the pushing module is used for pushing the video content to the second client according to the identifier of the second client.
In the video sharing apparatus provided in the embodiment of the second aspect of the present invention, when the first client triggers to share a video in response to a user operation, shared data sent by the first client is received, where the shared data includes: the identification of the first client and the video content to be shared are determined, the identification of the second client with the preset relationship is determined according to the identification of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of the social application in advance, the video content is pushed to the second client according to the identification of the second client, and the preset relationship is obtained by the background server of the video application from the background server of the social application in advance, so that the preset relationship can be directly called to determine the identification of the second client with the preset relationship in the video sharing process, the convenience of the video sharing process on the smart television equipment can be improved, and the video sharing effect is improved.
To achieve the above object, a video sharing system according to a third aspect of the present invention includes: the embodiment of the second aspect of the present invention provides a video sharing apparatus.
In the video sharing system provided in the embodiment of the third aspect of the present invention, when the first client triggers to share a video in response to a user operation, shared data sent by the first client is received, where the shared data includes: the identification of the first client and the video content to be shared are determined, the identification of the second client with the preset relationship is determined according to the identification of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of the social application in advance, the video content is pushed to the second client according to the identification of the second client, and the preset relationship is obtained by the background server of the video application from the background server of the social application in advance, so that the preset relationship can be directly called to determine the identification of the second client with the preset relationship in the video sharing process, the convenience of the video sharing process on the smart television equipment can be improved, and the video sharing effect is improved.
To achieve the above object, a non-transitory computer-readable storage medium according to a fourth aspect of the present invention is a non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a mobile terminal, the instructions enabling the mobile terminal to execute a video sharing method, the method including: when a first client side responds to user operation triggering to share a video, receiving shared data sent by the first client side, wherein the shared data comprises: the method comprises the steps that identification of a first client side and video content to be shared are obtained; determining an identifier of a second client with a preset relationship according to the identifier of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of a social application in advance; and pushing the video content to the second client according to the identifier of the second client.
A non-transitory computer-readable storage medium according to an embodiment of a fourth aspect of the present invention receives, when a first client triggers to share a video in response to a user operation, shared data sent by the first client, where the shared data includes: the identification of the first client and the video content to be shared are determined, the identification of the second client with the preset relationship is determined according to the identification of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of the social application in advance, the video content is pushed to the second client according to the identification of the second client, and the preset relationship is obtained by the background server of the video application from the background server of the social application in advance, so that the preset relationship can be directly called to determine the identification of the second client with the preset relationship in the video sharing process, the convenience of the video sharing process on the smart television equipment can be improved, and the video sharing effect is improved.
To achieve the above object, a computer program product according to a fifth embodiment of the present invention is provided, in which when instructions are executed by a processor, a video sharing method is performed, and the method includes: when a first client side responds to user operation triggering to share a video, receiving shared data sent by the first client side, wherein the shared data comprises: the method comprises the steps that identification of a first client side and video content to be shared are obtained; determining an identifier of a second client with a preset relationship according to the identifier of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of a social application in advance; and pushing the video content to the second client according to the identifier of the second client.
In the computer program product according to the embodiment of the fifth aspect of the present invention, when the first client triggers to share a video in response to a user operation, shared data sent by the first client is received, where the shared data includes: the identification of the first client and the video content to be shared are determined, the identification of the second client with the preset relationship is determined according to the identification of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of the social application in advance, the video content is pushed to the second client according to the identification of the second client, and the preset relationship is obtained by the background server of the video application from the background server of the social application in advance, so that the preset relationship can be directly called to determine the identification of the second client with the preset relationship in the video sharing process, the convenience of the video sharing process on the smart television equipment can be improved, and the video sharing effect is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a video sharing method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a video sharing method according to another embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating the effect of pushing video content to a second client;
fig. 4 is a schematic flowchart of a video sharing method according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a video sharing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a video sharing apparatus according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a video sharing system according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention. On the contrary, the embodiments of the invention include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Fig. 1 is a schematic flowchart of a video sharing method according to an embodiment of the present invention.
The embodiment of the present invention is used for sharing and controlling videos in video applications in the smart television device, and in a specific execution process, the embodiment of the present invention may share video content in the video applications in the smart television device to the video applications in the electronic device, or may also share video content in the video applications in the smart television device to social applications in the electronic device, which is not limited to this.
Among them, electronic devices such as smart phones, tablet computers, personal digital assistants, electronic books, and other hardware devices having various operating systems.
It should be noted that the execution main body in the embodiment of the present invention may be, for example, a Central Processing Unit (CPU) of a background server of a video application in hardware, and may be, for example, a video sharing service of the background server of the video application in software, which is not limited to this.
With the popularization of smart television devices, the number of users of video applications on smart television devices is rapidly increasing. While users watch videos, social needs of the users are increasingly obvious, such as video sharing. The mobile terminal can conveniently share videos to WeChat friends and QQ friends through links, password messages and the like through a public interface of social application, and even release the videos to social networks such as friend circles, QQ spaces, microblogs and the like. However, few users on the smart television device side install the QQ WeChat application, and cannot pull up the social application through the public interface for video sharing.
In the related technology, the smart television equipment is bound with the account number of the social platform, the video information is pushed to the social account of the friend through the social platform, the friend receives the request to bind the smart television equipment, and then the video information is shared and pushed to the friend.
In this way, the operation steps performed by the user are complex, if the smart television device is updated, the smart television device needs to be bound again, and the sharing can be triggered only by binding the authorization of the users of the two sharing parties, so that the video sharing process on the smart television device is not convenient and efficient.
In order to solve the above technical problem, an embodiment of the present invention provides a video sharing method, where when a first client triggers to share a video in response to a user operation, the method receives shared data sent by the first client, where the shared data includes: the identification of the first client and the video content to be shared are determined, the identification of the second client with the preset relationship is determined according to the identification of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of the social application in advance, the video content is pushed to the second client according to the identification of the second client, and the preset relationship is obtained by the background server of the video application from the background server of the social application in advance, so that the preset relationship can be directly called to determine the identification of the second client with the preset relationship in the video sharing process, the convenience of the video sharing process on the smart television equipment can be improved, and the video sharing effect is improved.
Referring to fig. 1, the method includes:
s101: when the first client side responds to user operation triggering to share the video, receiving shared data sent by the first client side, wherein the shared data comprises: the identification of the first client and the video content to be shared.
The user is the user who triggers the video sharing.
The first client is a client for triggering video sharing, and the client may specifically be a client for video application in the smart television device.
In the specific execution process, when a user triggers to share a video on a user interaction interface of a first client, an operating system of the first client calls a corresponding application program interface while receiving a user sharing instruction, generates sharing data according to video content indicated by the user sharing instruction and an identifier of the first client, and sends the sharing data to a background server of the video application.
In the specific execution process, before the identifier of the second client with the preset relationship is determined according to the identifier of the first client, the sharing data can be determined to be used for sharing the video content to the client of the video application according to the type information carried in the sharing data.
The type information is used for describing the type of the application receiving sharing, namely, a video application or a social application. Therefore, video sharing can be made more flexible.
The video content may include, for example: the currently played video, other videos not currently played, or related film content of the video, or poster content of the video, etc., may also be used, without limitation.
The identifier of the first client may specifically be, for example, an identifier of the smart television device where the first client is located, or may also be, for example, an identifier of the first client itself. The identifier of the first client may be used to uniquely identify the identity information of the first client and the identity information of the smart television device where the first client is located, which is not limited in this respect.
Compared with the prior art that when the video is shared by triggering the smart television device side, the account information of the video application in the smart television device and the account information of the social application are bound in advance by the user who triggers the video sharing, the sharing interface of the social application needs to be pulled in each sharing process, and the video is shared to the user side which receives the sharing from the account side of the user who shares the video through the background server of the social application.
According to the embodiment of the invention, when the first client responds to the user operation trigger to share the video, the user for sharing the video is not required to be prompted to bind the first client with the social application side account, and the video is not required to be shared through the background server of the social application.
S102: and determining an identifier of a second client with a preset relationship according to the identifier of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of the social application in advance.
For example, the communication connection between the background server of the video application and the background server of the social application may be established in advance, and then, the background server of the video application may call a preset application programming interface to obtain the preset relationship from the background server of the social application.
The preset relationship is pre-established, and the preset relationship can be used for describing that a first user account of a video sharing user to which a first client belongs exists and a friend relationship exists between the first user account and a second user account of a video receiving user to which a second client belongs, and specifically is used for describing that a first user account of the video sharing user in a social application and a friend relationship exists between the first user account of the video receiving user in the social application.
The sharing of the first user account of the video user in the social application and the receiving of the second user account of the video user in the social application may be obtained in advance by a background server of the video application from a background server of the social application.
As an example, a binding relationship between a video application on a first client and a first client identifier may be established in advance, and a binding relationship between a social application and the first client identifier may be established, and then, when video sharing is triggered, a first user account in the social application bound to the identifier of the first client may be determined via the identifier of the first client installed in the video application to which the video to be shared belongs.
Therefore, in the embodiment of the invention, the social message channel is established in advance by the background server of the video application and the background server of the social application, the corresponding account information is acquired to establish the preset relationship, and sharing is implemented only based on the preset relationship in the application scene of actually sharing the video, so that the sharing convenience can be effectively improved, and the sharing timeliness is improved.
Optionally, in some embodiments, referring to fig. 2, before the first client triggers sharing of the video in response to a user operation, the method further includes:
s201: and receiving an authorization registration request sent by a first client, wherein the authorization registration request carries information of a first user account of a user to which the first client belongs in the social application.
In the embodiment of the invention, in order to enable the sharing process to be based on the situation that the user actively uses the video application and starts the sharing authorization function, the user is prevented from inquiring privacy protection, and an authorization registration request sent by the first client side can be received.
In a specific execution process, a sharing authorization control can be provided on a user interaction interface of the first client, and when a user sharing the video triggers to start the sharing authorization control, a preset relationship is triggered to be established.
Specifically, when a user sharing the video triggers to start the sharing authorization control, the operating system of the first client invokes a corresponding application program interface, triggers to generate an authorization registration request, and sends the authorization registration request to a background server of the video application.
The information of the first user account included in the authorization registration request can be used for requesting information of a second user account with a friend relationship from a background server of the social application.
S202: and inquiring a background server of the social application according to the information of the first user account carried in the authorization registration request to obtain information of a plurality of second user accounts which are friends with the first user account.
In the specific execution process, the embodiment of the invention can specifically inquire the database in the background server of the social application, and obtain the information of a plurality of second user accounts which are friends with the first user account from the database.
The social application background servers may include one or more social application background servers, and the social application background servers may not be limited to the QQ application background server and the wechat application background server, and specifically, the information of the second user account may be obtained from the social application background servers to establish the preset relationship
The database in the background server is pre-established, and may specifically be established in a statistical manner, for example, background personnel perform statistics on the registration of the social application user and the behavior of adding friends, and correspondingly store the information of the accounts of each registered user with the added friends in the database.
Compared with the prior art that the sharing interface of the social application needs to be pulled in each sharing process (namely, the sharing interface is pulled by accessing the background server of the social application), the sharing interface is shared from the account side of the video sharing user to the sharing user side through the background server of the social application.
In the specific execution process in the embodiment of the invention, in order to further guarantee the video sharing efficiency and avoid unnecessary query, a step of determining that the background server of the video application does not store the preset relationship may be further executed before querying the background server of the social application according to the information of the first user account carried in the authorization registration request.
That is, the preset relationship established in the embodiment of the present invention may be stored in the background server of the video application, and before the query, it may be determined that the background server of the video application does not store the preset relationship, so as to avoid repeated acquisition and improve video sharing efficiency.
S203: and judging whether the second user account starts sharing authorization or not according to the information of a plurality of second user accounts which are friends with the first user account.
In the embodiment of the invention, in order to enable the sharing process to be based on the fact that the user actively uses the video application and starts the sharing authorization function, the user is prevented from questioning privacy protection, whether the sharing authorization is started for each second user account can be detected, if the sharing authorization is not started, the requirement that the user to which the second user account belongs does not receive the shared content can be indicated, and if the sharing authorization is started, the requirement that the user to which the second user account belongs has the shared content can be indicated, at the moment, the shared content is pushed according to the preset relationship established by the information of the second user account for which the sharing authorization is started, so that the user to which the second user account belongs is prevented from questioning the sharing.
In the embodiment of the invention, when the information of a plurality of second user accounts which are friends with the first user account is determined, monitoring can be triggered according to the identification of each second user account, and whether sharing authorization is started for each second user account is judged in real time according to the result obtained by monitoring.
In a specific execution process, a sharing authorization control may be provided on a user interaction interface of a second client (the second client is a client where a second user account is located), a user receiving a video may trigger to start the sharing authorization control, and generate description information of the user receiving the video, where the user has started the sharing authorization, so that a background server of the video application obtains corresponding description information based on an identifier of each second user account, analyzes the description information in real time, and determines whether each second user account starts the sharing authorization.
S204: and establishing a preset relationship between a second client used by the user to which the second user account belongs and the first client for opening the second user account sharing the authorization.
The second client is a client for receiving the shared video, and the client may specifically be a client of a video application in the smart television device, or may also be a client of a video application in the mobile terminal, or may also be a client of a social application in the mobile terminal.
S103: and pushing the video content to the second client according to the identification of the second client.
In order to further improve the flexibility of video sharing and better meet the actual use requirements of users, the embodiment of the invention can also generate corresponding two-dimensional code information according to the video content indicated by the user sharing instruction, and push the video content to the second client in a two-dimensional code form, or can also generate prompt information based on the indicated video content, generate a link corresponding to the prompt information, and push the prompt information and the corresponding link to the second client, without limitation.
As an example, referring to fig. 3, fig. 3 is a schematic diagram illustrating an effect of pushing video content to a second client, where the effect includes a pushing interface 31 and multiple pieces of video content 32, and the multiple pieces of video content 32 may be pushed by a friend in a QQ social application or pushed by a friend in a wechat social application, which is not limited in this respect.
The second client may trigger to receive the shared video by clicking on each piece of video content described above.
In this embodiment, when the first client triggers to share the video in response to the user operation, the shared data sent by the first client is received, where the shared data includes: the identification of the first client and the video content to be shared are determined, the identification of the second client with the preset relationship is determined according to the identification of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of the social application in advance, the video content is pushed to the second client according to the identification of the second client, and the preset relationship is obtained by the background server of the video application from the background server of the social application in advance, so that the preset relationship can be directly called to determine the identification of the second client with the preset relationship in the video sharing process, the convenience of the video sharing process on the smart television equipment can be improved, and the video sharing effect is improved.
Fig. 4 is a flowchart illustrating a video sharing method according to another embodiment of the present invention.
In order to make the application of the video sharing method more flexible and meet the diversified sharing requirements of the smart television device user, this embodiment further provides a video sharing method, and when the first client triggers to share the video in response to the user operation, the video sharing method receives the sharing data sent by the first client, where the sharing data includes: the method comprises the steps that if the identification of a first client and video content to be shared are determined according to type information carried in shared data, the shared data are used for sharing the video content to a client of a social application, corresponding sharing information is generated according to the shared data, the sharing information is sent to a background server of the social application, and the sharing information is used for enabling the background server of the social application to send sharing prompt information to the client corresponding to a first user account.
Referring to fig. 4, the method includes:
s401: when the first client side responds to user operation triggering to share the video, receiving shared data sent by the first client side, wherein the shared data comprises: the identification of the first client and the video content to be shared.
In the specific execution process, when a user triggers to share a video on a user interaction interface of a first client, an operating system of the first client calls a corresponding application program interface while receiving a user sharing instruction, generates sharing data according to video content indicated by the user sharing instruction and an identifier of the first client, and sends the sharing data to a background server of the video application.
The video content may include, for example: the currently played video may also be related film content of the video, or poster content of the video, and the like, without limitation.
The identifier of the first client may specifically be, for example, an identifier of the smart television device where the first client is located, or may also be, for example, an identifier of the first client itself, where the identifier of the first client may be used to uniquely identify the identity information of the first client, and to uniquely identify the identity information of the smart television device where the first client is located, which is not limited to this.
Compared with the prior art that when the video is shared by triggering the smart television device side, the account information of the video application in the smart television device and the account information of the social application are bound in advance by the user who triggers the video sharing, the sharing interface of the social application needs to be pulled in each sharing process, and the video is shared to the user side which receives the sharing from the account side of the user who shares the video through the background server of the social application.
According to the embodiment of the invention, when the first client responds to the user operation trigger to share the video, the user for sharing the video is not required to be prompted to bind the first client with the social application side account, and the video is not required to be shared through the background server of the social application.
S402: and if the sharing data are determined to be used for sharing the video content to the client side of the social application according to the type information carried in the sharing data, generating a corresponding sharing message, wherein the sharing message carries information of a first user account in the social application, which is authorized in advance by the user to which the first client side belongs.
In the specific execution process, if the sharing data is determined to be used for sharing the video content to the client side of the social application according to the type information carried in the sharing data, the video content to be shared in the video application on the smart television equipment can be shared first, the sharing user is triggered to be in an account of the social application, and then sharing can be performed by adopting a sharing channel between the social applications in the related technology.
The type information is used for describing the type of the application receiving sharing, namely, a video application or a social application. Therefore, video sharing can be made more flexible.
S403: and sending a sharing message to a background server of the social application, wherein the sharing message is used for enabling the background server of the social application to send sharing prompt information to a client corresponding to the first user account.
The corresponding client is the client corresponding to the account information in the social application, and the client is specifically the client of the social application.
In the specific execution process, the sharing message is used for enabling the background server of the social application to send the sharing prompt message to the client corresponding to the first user account, after the background server of the video application sends the sharing message to the background server of the social application, the client corresponding to the first user account can display the sharing message to the user to which the first user account belongs, and the user to which the sharing message belongs can push the video to be shared to the target sharing user in a mode of triggering the sharing message, so that the video sharing experience of the video application in the smart television device is improved, the operation steps are simplified, and the exposure and the playing amount of the video in the video application can be improved.
In order to further improve the flexibility of video sharing and better meet the actual use requirements of users, the embodiment of the invention can also generate corresponding two-dimension code information according to the sharing message, and push the sharing message to the background server of the social application in a two-dimension code form, which is not limited to this.
In this embodiment, when the first client triggers to share the video in response to the user operation, the shared data sent by the first client is received, where the shared data includes: the method comprises the steps that identification of a first client and video content to be shared are determined, if sharing data are used for sharing the video content to a client of a social application according to type information carried in the sharing data, corresponding sharing information is generated according to the sharing data, and the sharing information is sent to a background server of the social application, wherein the sharing information is used for enabling the background server of the social application to send sharing prompt information to the client corresponding to a first user account, application of a video sharing method of a smart television device end can be flexible, and diversified sharing requirements of smart television device users are met.
Fig. 5 is a schematic structural diagram of a video sharing device according to an embodiment of the present invention.
The method is applied to a background server of video application.
Referring to fig. 5, the apparatus 500 includes: a first receiving module 501, a first determining module 502, and a pushing module 503, wherein,
a first receiving module 501, configured to receive, when a first client triggers to share a video in response to a user operation, shared data sent by the first client, where the shared data includes: the identification of the first client and the video content to be shared.
The first determining module 502 is configured to determine, according to the identifier of the first client, an identifier of a second client having a preset relationship, where the preset relationship is obtained by a background server of the video application from a background server of the social application in advance.
The pushing module 503 is configured to push the video content to the second client according to the identifier of the second client.
Optionally, in some embodiments, referring to fig. 6, further comprising:
the second receiving module 504 is configured to receive an authorization registration request sent by a first client, where the authorization registration request carries information of a first user account of a user to which the first client belongs in a social application.
The query module 505 is configured to query the background server of the social application according to the information of the first user account carried in the authorization registration request, so as to obtain information of a plurality of second user accounts that are friends with the first user account.
The determining module 506 is configured to determine whether each second user account starts sharing authorization according to information of a plurality of second user accounts that are friends with the first user account.
The establishing module 507 is configured to establish a preset relationship between a second client used by a user to which the second user account belongs and the first client, for opening the second user account of the sharing authorization.
A second determining module 508, configured to determine whether a background server of the video application stores a preset relationship.
A third determining module 509, configured to determine, according to the type information carried in the shared data, that the shared data is used for sharing video content to the client of the video application.
A fourth determining module 510, configured to generate a corresponding sharing message according to the sharing data when it is determined that the sharing data is used for sharing video content to a client of the social application according to the type information carried in the sharing data, where the sharing message carries information of a first user account in the social application, which is authorized in advance by a user to which the first client belongs.
The sending module 511 is configured to send a sharing message to a background server of the social application, where the sharing message is used to enable the background server of the social application to send sharing prompt information to a client corresponding to the first user account.
It should be noted that the foregoing explanations of the embodiments of the video sharing method in fig. 1 to fig. 4 are also applicable to the video sharing apparatus 500 of the embodiments, and the implementation principles thereof are similar and will not be described herein again.
The division of the modules in the video sharing apparatus 500 is only for illustration, and in other embodiments, the video sharing apparatus 500 may be divided into different modules as needed to complete all or part of the functions of the video sharing apparatus 500.
In this embodiment, when the first client triggers to share the video in response to the user operation, the shared data sent by the first client is received, where the shared data includes: the identification of the first client and the video content to be shared are determined, the identification of the second client with the preset relationship is determined according to the identification of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of the social application in advance, the video content is pushed to the second client according to the identification of the second client, and the preset relationship is obtained by the background server of the video application from the background server of the social application in advance, so that the preset relationship can be directly called to determine the identification of the second client with the preset relationship in the video sharing process, the convenience of the video sharing process on the smart television equipment can be improved, and the video sharing effect is improved.
Fig. 7 is a schematic structural diagram of a video sharing system according to an embodiment of the present invention.
Referring to fig. 7, the system 700 includes:
the video sharing apparatus 500 in the embodiments of fig. 5 to 6 is described above.
It should be noted that the foregoing explanations of the embodiments of the video sharing method in fig. 1 to fig. 4 are also applicable to the video sharing system 700 of the embodiment, and the implementation principles thereof are similar and will not be described herein again.
The division of the modules in the video sharing system 700 is only for illustration, and in other embodiments, the video sharing system 700 may be divided into different modules as needed to complete all or part of the functions of the video sharing system 700.
In this embodiment, when the first client triggers to share the video in response to the user operation, the shared data sent by the first client is received, where the shared data includes: the identification of the first client and the video content to be shared are determined, the identification of the second client with the preset relationship is determined according to the identification of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of the social application in advance, the video content is pushed to the second client according to the identification of the second client, and the preset relationship is obtained by the background server of the video application from the background server of the social application in advance, so that the preset relationship can be directly called to determine the identification of the second client with the preset relationship in the video sharing process, the convenience of the video sharing process on the smart television equipment can be improved, and the video sharing effect is improved.
In order to implement the foregoing embodiments, the present invention further provides a non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to execute a video sharing method, and the method includes:
when the first client side responds to user operation triggering to share the video, receiving shared data sent by the first client side, wherein the shared data comprises: the method comprises the steps that identification of a first client side and video content to be shared are obtained;
determining an identifier of a second client with a preset relationship according to the identifier of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of the social application in advance;
and pushing the video content to the second client according to the identification of the second client.
In this embodiment, a non-transitory computer-readable storage medium receives, when a first client triggers to share a video in response to a user operation, shared data sent by the first client, where the sharing data includes: the identification of the first client and the video content to be shared are determined, the identification of the second client with the preset relationship is determined according to the identification of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of the social application in advance, the video content is pushed to the second client according to the identification of the second client, and the preset relationship is obtained by the background server of the video application from the background server of the social application in advance, so that the preset relationship can be directly called to determine the identification of the second client with the preset relationship in the video sharing process, the convenience of the video sharing process on the smart television equipment can be improved, and the video sharing effect is improved.
To achieve the above embodiments, the present invention further provides a computer program product, wherein when instructions in the computer program product are executed by a processor, a video sharing method is performed, and the method includes:
when the first client side responds to user operation triggering to share the video, receiving shared data sent by the first client side, wherein the shared data comprises: the method comprises the steps that identification of a first client side and video content to be shared are obtained;
determining an identifier of a second client with a preset relationship according to the identifier of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of the social application in advance;
and pushing the video content to the second client according to the identification of the second client.
The computer program product in this embodiment receives shared data sent by a first client when the first client triggers to share a video in response to a user operation, where the shared data includes: the identification of the first client and the video content to be shared are determined, the identification of the second client with the preset relationship is determined according to the identification of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of the social application in advance, the video content is pushed to the second client according to the identification of the second client, and the preset relationship is obtained by the background server of the video application from the background server of the social application in advance, so that the preset relationship can be directly called to determine the identification of the second client with the preset relationship in the video sharing process, the convenience of the video sharing process on the smart television equipment can be improved, and the video sharing effect is improved.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (13)
1. A video sharing method is applied to a background server of a video application, and comprises the following steps:
when a first client triggers video sharing in response to an operation of a user on a user interaction interface of the first client, receiving sharing data sent by the first client, wherein the sharing data comprises: the method comprises the steps of identifying a first client and video content to be shared, wherein the first client is a client of video application in the intelligent television equipment;
determining, according to type information carried in the shared data, that the shared data is used for sharing the video content to a client of a video application or a client of a social application, wherein the type information is used for describing that the type of the application receiving sharing is the video application or the social application;
determining an identifier of a second client with a preset relationship according to the identifier of the first client, wherein the preset relationship is obtained by a background server of the video application from a background server of a social application in advance; the second client is a client of the video application or a client of the social application;
and pushing the video content to the second client according to the identifier of the second client.
2. The video sharing method according to claim 1, before the first client triggers video sharing in response to a user operation, further comprising:
receiving an authorization registration request sent by the first client, wherein the authorization registration request carries information of a first user account of a user to which the first client belongs in social application;
inquiring a background server of the social application according to the information of the first user account carried in the authorization registration request to obtain information of a plurality of second user accounts which are friends with the first user account;
judging whether the second user accounts start sharing authorization or not according to the information of a plurality of second user accounts which are friends with the first user account;
and establishing a preset relationship between a second client used by the user to which the second user account belongs and the first client for opening the second user account sharing the authorization.
3. The video sharing method according to claim 2, wherein before querying a backend server of the social application according to the information of the first user account carried in the authorization registration request to obtain information of a plurality of second user accounts that are friends with the first user account, the method further comprises:
and determining whether a background server of the video application stores the preset relationship.
4. The video sharing method according to claim 1, wherein,
and generating a corresponding sharing message under the condition that the sharing data is used for sharing the video content to the client side of the social application, wherein the sharing message carries information of a first user account in the social application, which is authorized in advance by the user to which the first client side belongs.
5. The video sharing method of claim 4, wherein the method further comprises:
and sending the sharing message to a background server of the social application, wherein the sharing message is used for enabling the background server of the social application to send sharing prompt information to a client corresponding to the first user account.
6. A video sharing apparatus, applied to a background server of a video application, the apparatus comprising:
the first receiving module is configured to receive shared data sent by a first client when the first client triggers to share a video in response to an operation of a user on a user interaction interface of the first client, where the shared data includes: the method comprises the steps of identifying a first client and video content to be shared, wherein the first client is a client of video application in the intelligent television equipment; the sharing data carries type information, and the type information is used for describing that the type of the application receiving sharing is a video application or a social application;
the first determining module is used for determining an identifier of a second client side with a preset relationship according to the identifier of the first client side, wherein the preset relationship is obtained by a background server of the video application from a background server of a social application in advance;
the pushing module is used for pushing the video content to the second client according to the identifier of the second client;
wherein the apparatus further comprises: a third determining module, configured to determine, according to the type information carried in the shared data, that the shared data is used for sharing the video content to a client of a video application; a fourth determining module, configured to determine, according to the type information carried in the shared data, that the shared data is used for sharing the video content to a client of a social application; wherein the second client is a client of the video application or a client of the social application.
7. The video sharing apparatus of claim 6, further comprising:
a second receiving module, configured to receive an authorization registration request sent by the first client, where the authorization registration request carries information of a first user account of a user to which the first client belongs in a social application;
the query module is used for querying a background server of the social application according to the information of the first user account carried in the authorization registration request to obtain information of a plurality of second user accounts which are friends with the first user account;
the judging module is used for judging whether the second user account starts sharing authorization or not according to the information of a plurality of second user accounts which are friends with the first user account;
and the establishing module is used for establishing a preset relationship between a second client used by the user to which the second user account belongs and the first client for opening the second user account of the sharing authorization.
8. The video sharing apparatus of claim 7, further comprising:
and the second determining module is used for determining whether the background server of the video application stores the preset relationship.
9. The video sharing apparatus of claim 6,
the fourth determining module is further configured to generate a corresponding sharing message, where the sharing message carries information of a first user account in a social application, which is authorized in advance by a user to which the first client belongs.
10. The video sharing apparatus of claim 9, further comprising:
the sending module is configured to send the sharing message to a background server of the social application, where the sharing message is used to enable the background server of the social application to send sharing prompt information to a client corresponding to the first user account.
11. A video sharing system, comprising:
the video sharing apparatus as claimed in any one of claims 6 to 10.
12. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the video sharing method according to any one of claims 1 to 5.
13. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 5 by means of the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811178934.9A CN109089168B (en) | 2018-10-10 | 2018-10-10 | Video sharing method, device and system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811178934.9A CN109089168B (en) | 2018-10-10 | 2018-10-10 | Video sharing method, device and system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109089168A CN109089168A (en) | 2018-12-25 |
CN109089168B true CN109089168B (en) | 2020-07-28 |
Family
ID=64843410
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811178934.9A Active CN109089168B (en) | 2018-10-10 | 2018-10-10 | Video sharing method, device and system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109089168B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112260929B (en) * | 2019-07-22 | 2022-06-24 | 腾讯科技(深圳)有限公司 | Content sharing method and device, terminal and storage medium |
CN112311819A (en) * | 2019-07-25 | 2021-02-02 | 长城汽车股份有限公司 | Information sharing method, device and system based on location triggering |
CN110536075B (en) * | 2019-09-20 | 2023-02-21 | 上海掌门科技有限公司 | Video generation method and device |
CN110728586A (en) * | 2019-09-25 | 2020-01-24 | 支付宝(杭州)信息技术有限公司 | Data sharing method and device and application popularization method and device |
CN112953979A (en) * | 2019-11-22 | 2021-06-11 | 百度在线网络技术(北京)有限公司 | Data sharing method and device |
CN110784769B (en) * | 2019-11-22 | 2021-08-27 | 四川长虹电器股份有限公司 | Television pay content propagation method based on small program social contact |
CN111125430B (en) * | 2019-12-20 | 2024-04-23 | 北京奇艺世纪科技有限公司 | Video acquisition method and device, electronic equipment and storage medium |
CN111475737B (en) * | 2020-03-23 | 2023-08-18 | 平安直通咨询有限公司 | User recommendation method, device, electronic equipment and storage medium |
CN111490929B (en) * | 2020-03-27 | 2022-07-15 | 深圳市企鹅网络科技有限公司 | Video clip pushing method and device, electronic equipment and storage medium |
CN111654518B (en) * | 2020-04-14 | 2022-05-17 | 北京奇艺世纪科技有限公司 | Content pushing method and device, electronic equipment and computer readable storage medium |
CN113220654A (en) * | 2021-05-14 | 2021-08-06 | 深圳Tcl新技术有限公司 | Content sharing method, device and system and storage medium |
CN113365153B (en) * | 2021-05-31 | 2023-01-10 | 北京小米移动软件有限公司 | Data sharing method and device, storage medium and electronic equipment |
CN113438489B (en) * | 2021-08-26 | 2021-12-14 | 深圳市万佳安物联科技股份有限公司 | Push method and push system of cloud video |
CN115225602B (en) * | 2022-06-29 | 2024-05-17 | 赤子城网络技术(北京)有限公司 | Social application processing method and system |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110320380A1 (en) * | 2010-06-23 | 2011-12-29 | Microsoft Corporation | Video content recommendations |
CN103607656A (en) * | 2013-11-19 | 2014-02-26 | 四川长虹电器股份有限公司 | Method capable of realizing one-key sharing of content played through intelligent television or set top box at present |
CN105100878B (en) * | 2014-05-08 | 2018-07-17 | Tcl集团股份有限公司 | A kind of TV programme sharing method and system |
CN104639972B (en) * | 2014-12-31 | 2017-11-14 | 小米科技有限责任公司 | The method, apparatus and equipment of a kind of sharing contents |
CN104954882A (en) * | 2015-06-16 | 2015-09-30 | 腾讯科技(北京)有限公司 | Message sharing method and client |
CN105263045A (en) * | 2015-10-15 | 2016-01-20 | 桂林电子科技大学 | Video sharing method and video sharing system |
CN106817627A (en) * | 2017-01-12 | 2017-06-09 | 南京创维信息技术研究院有限公司 | A kind of social contact method and system based on intelligent television |
-
2018
- 2018-10-10 CN CN201811178934.9A patent/CN109089168B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109089168A (en) | 2018-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109089168B (en) | Video sharing method, device and system and storage medium | |
CN106096343B (en) | Message access control method and equipment | |
CN108540433B (en) | User identity verification method and device | |
CN106549988B (en) | Group joining method, device and system | |
US11617063B2 (en) | Method, apparatus, and system for changing association relationship between MCPTT user and MCPTT group | |
US20220141311A1 (en) | Resource subscription method, device and server, and computer storage medium | |
CN113630266B (en) | Method and device for instantiating edge application server | |
CN111258723B (en) | Transaction processing method, device, system, medium and equipment of distributed system | |
CN115380256A (en) | Equipment state monitoring method, device, equipment and storage medium | |
CN103312593B (en) | A kind of message distributing system and method | |
KR101705279B1 (en) | Server and method for providing device management service and device to be provided the service | |
WO2022216315A1 (en) | Location reporting for service enabler architecture layer (seal) | |
US20150244664A1 (en) | Enterprise messaging platform | |
CN111641845A (en) | Streaming media cluster control system and method | |
CN104507054B (en) | Group member information updating method and related equipment | |
EP3975598B1 (en) | Method, apparatus, and device for subscribing resources in field of internet of things, and storage medium | |
CN113541981B (en) | Member management method and system for network slice | |
WO2016197783A2 (en) | Method and apparatus for controlling message transmission | |
CN108156071B (en) | Method for adding members to community, terminal device and computer readable storage medium | |
CN112153580B (en) | Method, equipment and system for setting MCPTT group | |
CN102045323A (en) | Method and device for processing information of uniform resource identifier (URI) indexes | |
CN106790916A (en) | Information transferring method, device and server | |
US20150149543A1 (en) | Method for contents sharing service and server applied to the same | |
CN109818999B (en) | Data transmission method and device | |
CN105376727A (en) | Data card processing method and device |
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 |