CN112312222A - Video sending method and device and electronic equipment - Google Patents

Video sending method and device and electronic equipment Download PDF

Info

Publication number
CN112312222A
CN112312222A CN201911058903.4A CN201911058903A CN112312222A CN 112312222 A CN112312222 A CN 112312222A CN 201911058903 A CN201911058903 A CN 201911058903A CN 112312222 A CN112312222 A CN 112312222A
Authority
CN
China
Prior art keywords
video
target
application
address
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.)
Pending
Application number
CN201911058903.4A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201911058903.4A priority Critical patent/CN112312222A/en
Publication of CN112312222A publication Critical patent/CN112312222A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/27Server based end-user applications
    • H04N21/274Storing end-user multimedia data in response to end-user request, e.g. network recorder
    • H04N21/2743Video hosting of uploaded data from client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8358Generation of protective data, e.g. certificates involving watermark
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Abstract

The embodiment of the disclosure discloses a video sending method, a video sending device and electronic equipment. One embodiment of the method comprises: and in response to the detection of the predefined sharing operation in the first application, determining a target video and a target user identifier for the sharing operation, and sending video information of the target video to a target terminal corresponding to the target user identifier. According to the embodiment of the application, the target video is stored in the target server, and both the first application and the second application can acquire the target video through the target server. When the first application sends the target video to the second application, the second application can acquire the target video only by sending the video information of the target video, so that the data volume for sending the video is reduced, and the efficiency for sending the video is improved.

Description

Video sending method and device and electronic equipment
Technical Field
The present disclosure relates to the field of computer information processing, and in particular, to a video sending method, device and electronic device.
Background
With the development of science and technology, people's communication and exchange become more and more convenient, not only can utilize terminal equipment to chat (text chat, voice chat, video chat, etc.), but also can utilize terminal equipment to share files. Such as: different users (a user A and a user B) are provided with the same application A on the corresponding terminal devices, and the user A and the user B can be contacted through the application A, namely, the user A and the user B can send information mutually.
It will be appreciated that a plurality of applications may be installed on a user's terminal device. Such as: the portable terminal device of the user A is also provided with the application B, and when the user A wants to send a certain content on the application B to the user B (a friend of the user A in the application A), the user A needs to download the content to the terminal device first and then send the content to the user B through the application A.
Disclosure of Invention
This disclosure is provided to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The embodiment of the disclosure provides a video sending method, a video sending device and electronic equipment, and achieves the purpose of sharing videos across applications.
In a first aspect, a video sending method is provided in an embodiment of the present disclosure, where a target video and a target user identifier for a sharing operation are determined in response to detection of a predefined sharing operation in a first application; the target video is stored in a target server, and the target user identifier is in a communication list of a second application; sending the video information of the target video to a target terminal corresponding to the target user identification; wherein the video information comprises at least one of: the target terminal sends a video acquisition request to the target server, the target server responds to the received video acquisition request, acquires and returns the target video to the target terminal, and the target terminal plays the target video in the second application; wherein the video acquisition request comprises at least one of: a video identification and the first address.
In a second aspect, an embodiment of the present disclosure provides a video transmitting apparatus, including: the determining module is used for responding to the detection of a predefined sharing operation in the first application, and determining a target video and a target user identification which are aimed at by the sharing operation; the target video is stored in a target server, and the target user identifier is in a communication list of a second application; the sending module is used for sending the video information of the target video to a target terminal corresponding to the target user identification; wherein the video information comprises at least one of: the target terminal sends a video acquisition request to the target server, the target server responds to the received video acquisition request, acquires and returns the target video to the target terminal, and the target terminal plays the target video in the second application; wherein the video acquisition request comprises at least one of: a video identification and the first address.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device, configured to store one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the method for displaying pictures according to the first aspect.
In a fourth aspect, the present disclosure provides a computer readable medium, on which a computer program is stored, which when executed by a processor implements the steps of the processing method of pictures according to the first aspect.
According to the video sending method, the video sending device and the electronic equipment, the target video is stored in the target server, and both the first application and the second application can acquire the target video from the target server. When the first application sends the target video to the second application, the second application can obtain the target video only by sending the video information of the target video without sending the video, so that the data volume of video sending is reduced, and the video sending efficiency is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a flow chart of one embodiment of a method of video transmission according to the present disclosure;
fig. 2 is a schematic diagram of an application scenario of a video transmission method according to the present disclosure;
fig. 3A is a schematic diagram of another application scenario of a video transmission method according to the present disclosure;
fig. 3B is a schematic diagram of another application scenario of a video transmission method according to the present disclosure;
fig. 4 is a schematic diagram of another application scenario of a video transmission method according to the present disclosure;
FIG. 5 is a schematic block diagram of one embodiment of a video transmission apparatus according to the present disclosure;
FIG. 6 is an exemplary system architecture to which the video transmission method of one embodiment of the present disclosure may be applied;
fig. 7 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Referring to fig. 1, a flow diagram of one embodiment of a method of video transmission according to the present disclosure is shown. The video transmitting method is applied to terminal equipment. The video transmission method as shown in fig. 1 includes the following steps:
in response to detecting a predefined sharing operation in the first application, a target video and a target user identifier for the sharing operation are determined, step 110.
Here, the target video is stored in a target server, and the target user is identified in a correspondence list of the second application.
In some embodiments, the first application may be an application that plays a video and the target server may be used to store the video. That is, the video played by the first application may be stored in advance by the target server; when the first application needs to play the video, the corresponding video can be played only by acquiring the corresponding video from the target server.
In some embodiments, a user may want to share a video to a particular user/group chat while playing the video using a first application. Such as: the user may think the video is more interesting, may think the video is more positive in energy, etc.; at this time, the user may have a need to share out the video.
In some embodiments, a particular user/group chat (target user) may be in another application (second application), e.g., the second application may be a chat application. It should be noted here that the first application and the second application are two different applications; thus, a first account registered by a user at a first application may be different from a second account registered by the user at a second application. That is, the communication list corresponding to the first account of the user may be different from the communication list corresponding to the second account of the user. In this embodiment, the account corresponding to the target user is located in the communication list corresponding to the second account of the user.
That is, the embodiment of the present application is directed to a situation where a user views a certain video through a first application and wants to share the video with a target user in a second application (a certain contact or a certain group chat of the user in the second application). The common practice of the prior art for this is: downloading the video from the first application to the terminal device, then opening the second application through the terminal device, finding the identifier corresponding to the target user needing to be shared in the communication list of the second application, and then uploading the video to a server supporting the second application. Therefore, the whole process requires the user to download and upload the video, and the downloading and uploading of the video requires a large amount of time and flow, so that a large amount of time and communication resources of the user can be wasted, and the video sharing efficiency is reduced.
In the embodiment of the application, the target video to be sent and the target user to receive the video can be determined according to the predefined sharing operation on the current playing interface of the first application. After the target video and the target user are determined, the target video is sent to the target user by continuing to execute step 120.
In some embodiments, a target video and a target user are determined according to a predefined sharing operation; the method specifically comprises the following steps: when a user plays a certain video on a current playing interface of a first application, if the user wants to share the video, the user may perform a predefined sharing operation on the current playing interface, for example, "double-click operation" or "long-press operation", or perform "double-click operation" or "long-press operation" on a certain video display area displayed on the playing interface, and the video targeted by the predefined sharing operation may be determined as a target video. A sharing manifest may then be presented at the current display interface of the first application. The sharing list can be used for displaying an application to which the video is shared. Such as: the user selects the second application, at this time, the current playing interface may show a communication list corresponding to the second application, and since the communication list shows the user identifier, the user identifier may also be understood as the account number or the remark of the user. That is, determining the target user is determining (selecting) the target user identification. For example, when a certain user identifier in a communication list displayed on a display interface by a user executes operations such as "single click operation", "double click operation", and "long press operation"; this user identity may be determined to be the target user identity.
It should be noted that the predefined sharing operation may be a combination operation or a single operation; the method is not limited, and only needs to be reasonably selected according to actual conditions. For example, when the predefined sharing operation is a combining operation, a first step of the combining operation may be to determine an application that needs to share the target video, and a second step may be to determine a target user that needs to share the target video (or to select a target user identifier). When the predefined sharing operation is a single operation, the user can determine the target user only by one step, such as: when the user performs a predefined first sliding operation on a certain video of the first application, it may be determined that the user a is a target user in the communication list of the second application, and when the user performs a predefined second sliding operation on a certain video of the first application, it may be determined that the user B is a target user in the communication list of the second application. Of course, in the specific embodiment, there are many setting modes for the predefined sharing operation, which are not illustrated here, and only need to perform reasonable setting according to actual situations.
And step 120, sending the video information of the target video to a target terminal corresponding to the target user identifier.
In this embodiment, the video information may include at least one of: a video identification and a first address.
In this embodiment, the target terminal sends a video acquisition request to the target server, the target server acquires and returns a target video to the target terminal in response to the received video acquisition request, and the target terminal plays the target video in the second application.
In this embodiment, the video acquisition request includes at least one of: a video identification and the first address.
In some embodiments, after the target video and the target user identifier are determined, in order to reduce the transmission amount of data, the target video is sorted first to obtain video information. Therefore, only the video information needs to be sent to the second application corresponding to the target user identification, and the second application is installed on the target terminal; that is, it can be understood that the video information is sent to the target terminal corresponding to the target user identifier. According to the video sharing method and device, when the target video is shared, only the video information of the target video needs to be shared, the whole video file does not need to be sent, so that the data volume needing to be sent when the video is shared can be reduced, and the video sharing efficiency is improved.
It should be noted that, in the embodiment of the present application, the first application and the second application may obtain a video from the target server for playing. That is, there is a server (target server) that is common to the first application and the second application and that is used to store the video. The target server can establish a communication relationship with the first application; the first application may send a video acquisition request to the target server and decode and play the video acquired from the target server. The target server can also establish a communication relationship with the second application; the second application may also send a video acquisition request to the target server, or may decode and play a video acquired from the target server. Therefore, the address and the video identifier for playing the video in the first application are also applicable to the second application, so that the second application can acquire the target video from the target server by using the video information.
In some embodiments, the video information may include: a video identification and/or a first address. The first address may be an address of the target video in the target server. Therefore, the first application and the second application can acquire the target video from the target server through the first address and then play the target video.
For example, since the first application and the second application can directly obtain the video from the same server (target server), the first application sends the video to the second application in the same way as the second application sends the video to the first application. For the sake of simplicity of the description, details of a manner in which the second application sends the video to the first application are not described herein.
In some embodiments, the video identifier may be an Identification (ID) of the target video, and the target terminal may also obtain other addresses of the target video (other playing addresses of the target video in the target server) through the video identifier, that is, the second application may also obtain and play the target video through the other addresses.
In some embodiments, after receiving the video identifier and/or the first address, the second application sends a video acquisition request to the target server, so that the target server obtains a corresponding target video according to the video acquisition request, and returns the target video to the second application for playing.
For example, after the target user performs the preset trigger operation on the video information on the second application, the target terminal sends the video acquisition request to the target server, so that the target server responds to the received video acquisition request and returns the received video acquisition request to the target terminal to obtain the target video. The preset trigger operation may be a "click operation" or a "double click operation" of the target user on the video information on the second application, and is not limited herein.
In order to better understand the ideas provided by the embodiments of the present application, the following description is made with reference to specific examples. Referring to fig. 2, fig. 2 is a schematic view of an application scenario of a video transmission method according to an embodiment of the present application. In fig. 2, 210 is a target server, 220 is a first terminal 220 in which a first application and a second application are installed, and 230 is a second terminal 230 in which a second application is installed. The target video is stored in the target server 210, and both the first application and the second application can obtain the target video from the target server 210, that is, both the first terminal 220 and the second terminal 230 can obtain the target video from the target server 210. In order to protect the video files stored in the target server 210 from being acquired by malicious users, the target server 210 may encapsulate the video files stored therein. Thus, in some embodiments, the first application and the second application may share a set of decapsulation protocols such that a video played at the first application may be played at the second application 230 as well.
Illustratively, a first application on the first terminal 220 may also encode video information when sending the video information to a second application on the second terminal 230 to improve data security. At this time, the first application and the second application may share a set of codec protocols.
With continued reference to fig. 3A and 3B; fig. 3A is a schematic view of another application scenario of a video transmission method according to an embodiment of the present application. In fig. 3A, 310 is a terminal device, 320 is a display interface of a first application (meanwhile, it may also be a display screen of the terminal device 310), and 330 is a video file. If the user needs to send the video file 330 to the second application, a predefined sharing operation may be performed on the display interface 320 of the first application, such as: if the video file 330 is touched for a long time, another window 340 may be displayed on the display interface 320 of the first application, and the window 340 is used to display an application to which the video file 330 may be shared, as shown in fig. 3B. When the user selects the second application in the window 340, the display content on the display interface of the terminal device 310 may be changed into an operation interface corresponding to the second application, for example: a communication list (chat list/contact list) which can be displayed in an operation interface of the second application and is in the second application by a user; then, the user selects a target user identifier corresponding to a target user to be shared in the communication list; therefore, the video information is only required to be sent to the second application corresponding to the target user identification.
Further, please refer to fig. 4, fig. 4 is a schematic view of another application scenario of the video transmission method according to the embodiment of the present application; in fig. 4, 410 is a target terminal, 420 is a target server, and 430 is a display interface of the target terminal 410, and a square frame displayed on the display interface can represent a shortcut of an application. It can be seen that the target terminal 410 may have a first application (optional), a second application, and a plurality of other applications (optional) installed thereon. When the second application receives the video information, the shortcut of the second application may flash to alert the target user. Of course, other manners may also be adopted to remind the target user that the second application has received the video information; such as: the target terminal 410 vibrates, the target terminal 410 makes a prompt sound, and the like. Meanwhile, the second application receives the video information, which may also be understood as the target terminal 410 receiving the video information.
Illustratively, after the target terminal 410 receives the video information, it may send a video acquisition request to the target server 420. The target server 420 may return the target video to the target terminal 410 according to the received video acquisition request.
For example, the target terminal 410 may receive the video information, and the target user opens the second application before the target terminal 410 sends the video acquisition request to the target server 420. Such as: when the target terminal 410 receives the video information, generating prompt information for reminding a target user of new information, and when the user opens the second application based on the prompt information and triggers the video information, the target terminal 410 sends a video acquisition request to the target server 420; at this time, the target server 420 may return the target video to the target terminal 410 in response to the received video information, so that the target terminal may play the target video.
In summary, in the embodiment of the application, the target video is stored in the target server, and both the first application and the second application can acquire the target video through the target server, so that when the first application sends the target video to the second application, only the video information of the target video needs to be sent, and the second application can acquire the target video, thereby reducing the data volume for sending the video and improving the efficiency for sending the video.
In some optional embodiments, the target server obtains the target video according to the first address in response to determining that the first address is a valid address. The target server responds to the first address determined to be the invalid address, determines a second address based on the video identification, and obtains the target video according to the second address.
In some embodiments, to prevent the target video from being streamed in a large amount, the first address is usually time-efficient, that is, the first address will fail after a preset time period. Therefore, when the first address fails, the target server may fail to obtain the target video through the first address, and at this time, the target server needs to obtain a new address (second address) through the target identifier and obtain the target video using the second address.
In some embodiments, the target terminal may send the first address to the target server together with the video identity; therefore, the target server can directly use the video identifier to acquire the second address when the first address fails, and then acquire the target video. The target terminal can acquire the target video by only sending the information to the target server once.
In some embodiments, the target terminal may also send the first address to the target server first; when the first address is an effective address, the target server can obtain the target video through the first address. When the first address is invalid, the target server sends an invalidation notification (used for prompting the invalidation of the first address) to the target terminal, so that the target terminal sends the video identifier to the target server in response to the invalidation notification. Therefore, the target server obtains the second address through the video identifier, obtains the target video through the second address, and returns the target video to the target terminal. In this embodiment, the amount of data sent by the target terminal to the target server each time is small, so that the time for sending data each time can be reduced, and when the first address is the effective address, the target terminal only needs to send information to the target server once to obtain the target video.
In some optional embodiments, the video information further comprises: at least one video frame image of the target video; and the target terminal can display at least one video frame image through the second application.
In some embodiments, when the target user opens the video information received in the second application, at least one video frame image may be displayed on the display interface, so that the user can preview the target video. Such as: if the at least one video frame image mainly includes some animals, the possible target video is a video about the animals, and if the at least one video frame image mainly includes mountains and waters, the possible target video is a video about landscapes, and the like.
In some embodiments, the target user triggers the video information, which may be understood as a trigger operation performed by the target user in at least one video frame image area, and the target video can be played and paused through the trigger operation; or send a video acquisition request to a target server, etc. Such as: when the target terminal receives a target video returned by the target server at the moment, if the target user triggers 'click operation' in at least one video frame image area, the target video can be directly played; when the "double-click operation" is triggered, the playing of the target video may be paused. Of course, the specific operation is not limited, and only needs to be set reasonably according to actual conditions.
In some optional embodiments, the video information further comprises: a web site and at least one of: the width and height information of the target video and the source of the target video; the target terminal checks video information before sending the video acquisition request to a target server, and sends the website to the target server in response to determining that the check fails; and the target server acquires the webpage comprising the target video through the website and returns the webpage to the target terminal.
In some embodiments, the website address may be a web address of the target video, and the video information may include: the aspect information of the target video, the source of the target video, and the like. The video information is checked to ensure that the target video obtained through the video information is correct and complete. Such as: when the width and height information of the target video is not correct, the target video may be characterized to be missing. If the identification of the target video is not correct, the target video may be changed maliciously, and if the source of the target video is not correct, the target video may be replaced, etc. Therefore, in order to ensure that the video information sent to the target server is correct information, when the video information is not verified, the target terminal does not send a video acquisition request to the target server. At this time, the target user cannot receive the target video or cannot receive the complete target video. Therefore, in order to enable the target user to view the target video in this case as well; in some embodiments, when the video information fails to be verified, the target terminal may send a website to the target server, and the target server may obtain the website based on the website including: and the webpage of the target video is sent to the target terminal, so that the target user can browse the target video through the webpage.
In some optional embodiments, the target terminal may play the target video through the second application, wherein a playing interface of the target video may include a jump control; and the target terminal responds to the detected trigger operation aiming at the jump control and displays the playing page of the target video through the first application.
In some embodiments, when the first application sends video information to the second application, a reflow page link of the first application may be included in the video information, and when the second application of the target terminal plays a video, the reflow page link is presented on a display interface of the target terminal (a playing interface of the target video) in the form of a jump control. And when the jump control is triggered, the current display interface of the target terminal jumps to the play page of the first application from the play interface of the second application.
In some embodiments, if the target video is sent from the first application to the second application for playing; when the display interface of the target terminal jumps back to the play interface of the first application from the play interface of the second application, comments, explanation and the like of the user in the first application on the target video can be watched, namely, the target video can be better known.
In some embodiments, if the target user needs to download the target video, the target server adds a corresponding identifier (e.g., a watermark) to the target video according to the source of the target video. Such as: the source of the target information is application X, and when the second application downloads the target video, the watermark including application X is downloaded together, and when the target terminal plays the downloaded target video, the watermark of application X can be displayed at a preset position of the playing interface.
With further reference to fig. 5, as an implementation of the methods shown in the above figures, the present disclosure provides one embodiment of a video transmitting apparatus, which may be specifically applied in various electronic devices.
As shown in fig. 5, the video transmitting apparatus according to the embodiment of the present application includes: a determining module 510, configured to determine, in response to detecting a predefined sharing operation in a first application, a target video and a target user identifier for the sharing operation; the target video is stored in a target server, and the target user identification is in a communication list of a second application; a sending module 520, configured to send the video information of the target video to a target terminal corresponding to the target user identifier; wherein the video information comprises at least one of: the target terminal sends a video acquisition request to the target server, the target server responds to the received video acquisition request, acquires and returns the target video to the target terminal, and the target terminal plays the target video in the second application; wherein the video acquisition request comprises at least one of: a video identifier and the first address.
In some embodiments, the target server is configured to, in response to determining that the first address is an effective address, obtain the target video according to the first address; the target server is used for responding to the fact that the first address is determined to be a failure address, determining a second address based on the video identification, and obtaining the target video according to the second address.
In some embodiments, the video information further includes: at least one video frame image of the target video; and the target terminal displays the at least one video frame image through the second application.
In some embodiments, the video information further includes: a web site and at least one of: the width and height information of the target video and the source of the target video; the target terminal checks the video information before sending the video acquisition request to a target server, and sends the website to the target server in response to determining that the check is not passed; and the target server acquires the webpage comprising the target video through the website and returns the webpage to the target terminal.
In some embodiments, the target terminal plays the target video through the second application, wherein a playing interface of the target video includes a jump control; and the target terminal responds to the detected trigger operation aiming at the jump control and displays the playing page of the target video through the first application.
Referring to fig. 6, fig. 6 illustrates an exemplary system architecture to which the information processing method of one embodiment of the present disclosure may be applied.
As shown in fig. 6, the system architecture may include terminal devices 601, 602, 603, a network 604, and a server 605. The network 604 serves to provide a medium for communication links between the terminal devices 601, 602, 603 and the server 605. Network 604 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 601, 602, 603 may interact with the server 605 via the network 604 to receive or send messages or the like. The terminal devices 601, 602, 603 may have various client applications installed thereon, such as a web browser application, a search-type application, and a news-information-type application. The client application in the terminal device 601, 602, 603 may receive the instruction of the user, and complete the corresponding function according to the instruction of the user, for example, add the corresponding information in the information according to the instruction of the user.
The terminal devices 601, 602, 603 may be hardware or software. When the terminal devices 601, 602, 603 are hardware, they may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like. When the terminal device 601, 602, 603 is software, it can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 605 may be a server that provides various services, for example, receives video acquisition requests transmitted by the terminal apparatuses 601, 602, 603, and acquires target videos in various ways according to the video acquisition requests. And transmits the target video to the terminal devices 601, 602, 603.
It should be noted that the video transmission method provided by the embodiment of the present disclosure may be executed by a terminal device, and accordingly, the video transmission apparatus may be disposed in the terminal device 601, 602, 603.
It should be understood that the number of terminal devices, networks, and servers in fig. 6 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to fig. 7, shown is a schematic diagram of an electronic device (e.g., a terminal device or a server of fig. 6) suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, the electronic device may include a processing device (e.g., central processing unit, graphics processor, etc.) 701, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage device 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the electronic apparatus 700 are also stored. The processing device 701, the ROM702, and the RAM 703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Generally, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708 including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication means 709, or may be installed from the storage means 708, or may be installed from the ROM 702. The computer program, when executed by the processing device 701, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: in response to detecting a predefined sharing operation at a first application, determining a target video and a target user identification for which the sharing operation is directed; the target video is stored in a target server, and the target user identification is in a communication list of a second application; sending the video information of the target video to a target terminal corresponding to the target user identification; wherein the video information comprises at least one of: the target terminal sends a video acquisition request to the target server, the target server responds to the received video acquisition request, acquires and returns the target video to the target terminal, and the target terminal plays the target video in the second application; wherein the video acquisition request comprises at least one of: a video identifier and the first address.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. The name of the module does not in some cases form a limitation on the module itself, for example, the determining module may also be referred to as a "module for determining a target video and a target user identifier for the sharing operation".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A video transmission method, comprising:
in response to detecting a predefined sharing operation at a first application, determining a target video and a target user identification for which the sharing operation is directed; the target video is stored in a target server, and the target user identifier is in a communication list of a second application;
sending the video information of the target video to a target terminal corresponding to the target user identification;
wherein the video information comprises at least one of: the target terminal sends a video acquisition request to the target server, the target server responds to the received video acquisition request, acquires and returns the target video to the target terminal, and the target terminal plays the target video in the second application; wherein the video acquisition request comprises at least one of: a video identification and the first address.
2. The method of claim 1,
the target server responds to the fact that the first address is determined to be an effective address, and obtains the target video according to the first address;
the target server responds to the fact that the first address is determined to be a failure address, determines a second address based on the video identification, and obtains the target video according to the second address.
3. The method of claim 1, wherein the video information further comprises: at least one video frame image of the target video;
and the target terminal displays the at least one video frame image through the second application.
4. The method of claim 1, wherein the video information further comprises: a web site and at least one of: the width and height information of the target video and the source of the target video;
the target terminal checks the video information before sending the video acquisition request to a target server, and sends the website to the target server in response to determining that the check is not passed; and the target server acquires the webpage comprising the target video through the website and returns the webpage to the target terminal.
5. The method according to claim 1, wherein the target terminal plays the target video through the second application, wherein a playing interface of the target video comprises a jump control;
and the target terminal responds to the detected trigger operation aiming at the jump control and displays the playing page of the target video through the first application.
6. A video transmission apparatus, comprising:
the determining module is used for responding to the detection of a predefined sharing operation in the first application, and determining a target video and a target user identification which are aimed at by the sharing operation; the target video is stored in a target server, and the target user identifier is in a communication list of a second application;
the sending module is used for sending the video information of the target video to a target terminal corresponding to the target user identification;
wherein the video information comprises at least one of: the target terminal sends a video acquisition request to the target server, the target server responds to the received video acquisition request, acquires and returns the target video to the target terminal, and the target terminal plays the target video in the second application; wherein the video acquisition request comprises at least one of: a video identification and the first address.
7. The apparatus of claim 6,
the target server is used for responding to the fact that the first address is determined to be an effective address, and obtaining the target video according to the first address;
the target server is used for responding to the fact that the first address is determined to be a failure address, determining a second address based on the video identification, and obtaining the target video according to the second address.
8. The apparatus of claim 6, wherein the video information further comprises: at least one video frame image of the target video;
and the target terminal displays the at least one video frame image through the second application.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN201911058903.4A 2019-10-31 2019-10-31 Video sending method and device and electronic equipment Pending CN112312222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911058903.4A CN112312222A (en) 2019-10-31 2019-10-31 Video sending method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911058903.4A CN112312222A (en) 2019-10-31 2019-10-31 Video sending method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112312222A true CN112312222A (en) 2021-02-02

Family

ID=74486805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911058903.4A Pending CN112312222A (en) 2019-10-31 2019-10-31 Video sending method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112312222A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727133A (en) * 2021-08-31 2021-11-30 广州方硅信息技术有限公司 Live broadcast control method and device, equipment and medium thereof
CN113727177A (en) * 2021-08-31 2021-11-30 广州方硅信息技术有限公司 Screen-projecting resource playing method and device, equipment and medium thereof
CN113794836A (en) * 2021-09-09 2021-12-14 北京字节跳动网络技术有限公司 Bullet time video generation method, device, system, equipment and medium
CN115225916A (en) * 2021-04-15 2022-10-21 北京字节跳动网络技术有限公司 Video processing method, device and equipment
CN115515014A (en) * 2022-09-26 2022-12-23 北京字跳网络技术有限公司 Media content sharing method and device, electronic equipment and storage medium
WO2023169000A1 (en) * 2022-03-07 2023-09-14 腾讯科技(深圳)有限公司 Data processing method and apparatus, computer device, and readable storage medium
CN115225916B (en) * 2021-04-15 2024-04-23 北京字节跳动网络技术有限公司 Video processing method, device and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150169883A1 (en) * 2013-12-16 2015-06-18 Samsung Electronics Co., Ltd. Presence-based content sharing
CN105635753A (en) * 2015-06-08 2016-06-01 广州市动景计算机科技有限公司 Media data downloading method and device
CN106658200A (en) * 2016-12-30 2017-05-10 乐蜜科技有限公司 Live video sharing and obtaining methods and devices, and terminal equipment thereof
CN109302385A (en) * 2018-09-07 2019-02-01 广州酷狗计算机科技有限公司 Multimedia resource sharing method, device and storage medium
CN109451343A (en) * 2018-11-20 2019-03-08 广州酷狗计算机科技有限公司 Video sharing method, apparatus, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150169883A1 (en) * 2013-12-16 2015-06-18 Samsung Electronics Co., Ltd. Presence-based content sharing
CN105635753A (en) * 2015-06-08 2016-06-01 广州市动景计算机科技有限公司 Media data downloading method and device
CN106658200A (en) * 2016-12-30 2017-05-10 乐蜜科技有限公司 Live video sharing and obtaining methods and devices, and terminal equipment thereof
CN109302385A (en) * 2018-09-07 2019-02-01 广州酷狗计算机科技有限公司 Multimedia resource sharing method, device and storage medium
CN109451343A (en) * 2018-11-20 2019-03-08 广州酷狗计算机科技有限公司 Video sharing method, apparatus, terminal and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225916A (en) * 2021-04-15 2022-10-21 北京字节跳动网络技术有限公司 Video processing method, device and equipment
CN115225916B (en) * 2021-04-15 2024-04-23 北京字节跳动网络技术有限公司 Video processing method, device and equipment
CN113727133A (en) * 2021-08-31 2021-11-30 广州方硅信息技术有限公司 Live broadcast control method and device, equipment and medium thereof
CN113727177A (en) * 2021-08-31 2021-11-30 广州方硅信息技术有限公司 Screen-projecting resource playing method and device, equipment and medium thereof
CN113727177B (en) * 2021-08-31 2024-01-19 广州方硅信息技术有限公司 Screen-throwing resource playing method and device, equipment and medium thereof
CN113794836A (en) * 2021-09-09 2021-12-14 北京字节跳动网络技术有限公司 Bullet time video generation method, device, system, equipment and medium
CN113794836B (en) * 2021-09-09 2023-10-13 北京字节跳动网络技术有限公司 Bullet time video generation method, device, system, equipment and medium
WO2023169000A1 (en) * 2022-03-07 2023-09-14 腾讯科技(深圳)有限公司 Data processing method and apparatus, computer device, and readable storage medium
CN115515014A (en) * 2022-09-26 2022-12-23 北京字跳网络技术有限公司 Media content sharing method and device, electronic equipment and storage medium
CN115515014B (en) * 2022-09-26 2024-01-26 北京字跳网络技术有限公司 Media content sharing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11112942B2 (en) Providing content via multiple display devices
CN112312222A (en) Video sending method and device and electronic equipment
US20220368733A1 (en) Interaction method and apparatus, and electronic device
CN110809189B (en) Video playing method and device, electronic equipment and computer readable medium
US8930457B2 (en) Proximity initiated co-browsing sessions
CN112383787B (en) Live broadcast room creating method and device, electronic equipment and storage medium
CN112737927B (en) Information display method and device and electronic equipment
CN111163324B (en) Information processing method and device and electronic equipment
US11758087B2 (en) Multimedia conference data processing method and apparatus, and electronic device
CN111432001A (en) Method, apparatus, electronic device, and computer-readable medium for jumping scenes
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN112269959A (en) Display content control method and device, readable medium and electronic equipment
CN110619101B (en) Method and apparatus for processing information
CN110719499B (en) Video downloading method, system, medium and electronic device
KR101867412B1 (en) System and method for using contents seamlessly in different devices, terminal device
CN111444457B (en) Data release method and device, storage medium and electronic equipment
CN114827682A (en) Screen projection method, system, equipment and storage medium
CN112947880A (en) Screen projection method and device and electronic equipment
CN112149019A (en) Method, apparatus, electronic device, and computer-readable medium for displaying information
CN111897620A (en) Interaction method and device and electronic equipment
CN112533153A (en) Information transmission method and device and electronic equipment
CN113542335A (en) Information sharing method and device, electronic equipment and storage medium
CN111083196B (en) Information forwarding method and device and electronic equipment
CN113612676B (en) Social group message synchronization method, device, equipment and storage medium
CN112468849B (en) Method, apparatus, electronic device and medium for video information transmission

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210202