WO2023217106A1 - 视频播放方法及装置 - Google Patents
视频播放方法及装置 Download PDFInfo
- Publication number
- WO2023217106A1 WO2023217106A1 PCT/CN2023/092899 CN2023092899W WO2023217106A1 WO 2023217106 A1 WO2023217106 A1 WO 2023217106A1 CN 2023092899 W CN2023092899 W CN 2023092899W WO 2023217106 A1 WO2023217106 A1 WO 2023217106A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video
- playback
- playback data
- server
- recommended
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
- H04N21/23106—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/251—Learning process for intelligent management, e.g. learning user preferences for recommending movies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
-
- 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
-
- 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
-
- 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/4667—Processing of monitored end-user data, e.g. trend analysis based on the log file of viewer selections
-
- 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
- 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/472—End-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
Definitions
- the present disclosure relates to the technical field of video recommendation, and in particular, to a video playback method and device.
- the implementation of providing videos to users through recommendations includes: after the terminal device receives the user's video playback operation, it sends a video recommendation request to the recommendation server. After the recommendation server receives the video recommendation request sent by the terminal device, it The recommendation algorithm generates recommendation information including the video download address, and returns the recommendation information to the terminal device. The terminal device then downloads the video from the corresponding video resource server based on the recommendation information, and then can start playing the video.
- embodiments of the present disclosure provide a video playback method, which is applied to a terminal device.
- the method includes:
- Video playback is started based on the playback data of the first video.
- embodiments of the present disclosure provide a video playback method application server, where the method includes:
- the video recommendation response information is sent to the terminal device, so that the terminal device parses the video recommendation response information to obtain the playback data of the first video, and starts video playback based on the playback data of the first video.
- an embodiment of the present disclosure provides a terminal device, including:
- a sending unit configured to send video recommendation request information to the server in response to the video playback operation
- a receiving unit configured to receive video recommendation response information sent by the server, where the video recommendation response information includes the download address of at least one recommended video and the playback data of the first video;
- a processing unit configured to parse the video recommendation response information and obtain the playback data of the first video
- a playback unit configured to start video playback based on the playback data of the first video.
- a server including:
- a receiving unit configured to receive video recommendation request information sent by the terminal device
- the acquisition unit is used to acquire the download address of at least one recommended video and the playback data of the first video
- a generating unit configured to generate video recommendation response information based on the download address of the at least one recommended video and the playback data of the first video
- a sending unit configured to send the video recommendation response information to a terminal device, so that the terminal device parses the video recommendation response information to obtain the playback data of the first video, and starts video playback based on the playback data of the first video. Play.
- an embodiment of the present disclosure provides an electronic device, including: a memory and a processor, the memory is used to store a computer program; the processor is used to enable the electronic device to implement any of the above when executing the computer program.
- the video playback method described in the embodiment is used to enable the electronic device to implement any of the above when executing the computer program.
- embodiments of the present disclosure provide a computer-readable storage medium, which when the computer program is executed by a computing device, causes the computing device to implement the video playback method described in any of the above embodiments.
- embodiments of the present disclosure provide a computer program product.
- the computer program product When the computer program product is run on a computer, it causes the computer to implement the video playback method described in any of the above embodiments.
- Figure 1 is a scene structure diagram of a video playback method provided by an embodiment of the present disclosure
- Figure 2 is one step flow chart of a video playback method provided by an embodiment of the present disclosure
- Figure 3 is the second step flow chart of the video playback method provided by the embodiment of the present disclosure.
- Figure 4 is a schematic structural diagram of a terminal device provided by an embodiment of the present disclosure.
- Figure 5 is a schematic structural diagram of a server provided by an embodiment of the present disclosure.
- FIG. 6 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present disclosure.
- words such as “exemplary” or “such as” are used to represent examples, illustrations or explanations. Any embodiment or design described as “exemplary” or “such as” in the present disclosure is not intended to be construed as preferred or advantageous over other embodiments or designs. Rather, invocations of the words “exemplary” or “such as” are intended to present the relevant concept in a concrete manner. Furthermore, in the description of the embodiments of the present disclosure, unless otherwise specified, the meaning of “plurality” means two or more.
- the terminal device when the terminal device receives the user's video playback operation, it needs to obtain recommendation information including the video download address from the recommendation server, and then downloads the video from the video resource server according to the video download address to play the video, and obtains the recommendation from the recommendation server.
- Both information and video downloading from the video resource server will have network delays and transmission times. The superposition of two network delays and transmission times will cause the video playback delay of the terminal device to be very long, which will greatly affect the user experience.
- embodiments of the present disclosure provide a video playback method and device for shortening the video playback delay of a terminal device.
- the scene architecture of the video playback method provided by the embodiment of the present disclosure includes: a terminal device 11 , a server 12 , a recommendation server 13 and a resource server 14 .
- a video playback application is installed on the terminal device 11, and in response to user input, the video can be played through the video playback application;
- the server 12 can provide video playback data to the terminal device for the terminal device 11 in response to the request of the terminal device;
- the recommendation server 13 saves a predefined recommendation algorithm and can respond to the recommendation request, determine the recommended video and return the download address of the recommended video;
- the resource server 14 saves the playback data of all videos, and other devices (terminal devices or servers) can according to the video The download address obtains the playback data of the corresponding video from the resource server.
- the terminal device 11 When the terminal device 11 receives an operation input by the user to control the player to perform video playback, the terminal device 11 sends video recommendation request information to the server 12 .
- the server 12 When the server 12 receives the video recommendation request information sent by the terminal device 11, it first sends the request information to the recommendation server 13 for requesting the recommendation server 13 to return the recommended video, and receives the download address of at least one recommended video sent by the recommendation server 13, and then Obtain the playback data of the first video from the resource server 14 based on the download address of at least one recommended video, generate video recommendation response information based on the download address of at least one recommended video and the playback data of the first video, and return the video recommendation response information to the terminal.
- Device 11 When the terminal device 11 receives an operation input by the user to control the player to perform video playback, the terminal device 11 sends video recommendation request information to the server 12 .
- the server 12 When the terminal device 11 receives the video recommendation request information sent by the terminal device 11, it first sends the request information to the recommendation server 13
- the terminal device 11 After receiving the video recommendation response information, the terminal device 11 obtains the playback data of the first video carried in the video recommendation response information, and starts video playback based on the playback data of the first video. The terminal device 11 also obtains the playback data of the at least one recommended video from the resource server 14 based on the download address of the at least one recommended video and performs subsequent video playback based on the playback data of the at least one recommended video.
- the terminal device 11 in the embodiment of the present disclosure can be a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (personal digital assistant, PDA), a smart watch, a smart phone
- UMPC ultra-mobile personal computer
- PDA personal digital assistant
- a terminal device such as a bracelet, or the terminal device 11 may also be other types of terminal devices, which are not limited in the embodiment of the present disclosure.
- the server 12 in the embodiment of the present disclosure may be an application server. For example, if the terminal device 11 receives an operation to control the startup of application A installed on the terminal device 11 for video playback, the server 12 may be the server of application A.
- the scenario architecture shown in Figure 1 takes the server 12, the recommendation server 13 and the resource server 14 as independent hardware devices as an example, but the embodiments of the present disclosure are not limited thereto.
- Two or more of the server 12, the recommendation server 13, and the resource server 14 are integrated into the same hardware device.
- the resource server 14 may be a single server or a server cluster.
- the video playback method includes the following steps S21 to S26:
- the terminal device responds to the video playback operation and sends video recommendation request information to the server.
- the server receives the video recommendation request information sent by the terminal device.
- the video playback operation in the embodiment of the present disclosure may be an operation for starting the video playback application, for example: input to the icon of the video playback application, or voice input to control the startup of the video playback application; in the embodiment of the present disclosure
- the video playback operation can also be an input for switching the video being played by the video playback application, for example: a downward sliding input input in the video playback interface of the terminal device.
- the video playback operation may specifically be a user's click operation on a virtual control or a voice command input by the user, or a specific gesture input by the user.
- the specific gesture may be any one of a click gesture, a sliding gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double click gesture.
- the video recommendation request information may also carry the identification information of the terminal device and/or the identification information of the logged-in user of the terminal device, so that the server can make the request based on the identification information of the terminal device and/or the identification information of the logged-in user of the terminal device. Make video recommendations.
- the server obtains the download address of at least one recommended video and the playback data of the first video.
- the terminal device may send request information carrying the identification information of the terminal device and/or the identification information of the logged-in user of the terminal device to the recommendation server, so that the recommendation server determines the recommended video according to a preset recommendation algorithm, and Return the download address of the recommended video to the server.
- the first video may be one of the at least one recommended video.
- the first video can be the first video among the recommended videos.
- the first video may also be a video cached by the server corresponding to the terminal device or the logged-in user of the terminal device. That is, the server caches videos for each user or terminal device, and when receiving the video recommendation request information sent by the terminal device, obtains the corresponding playback data of the first video based on the cached data.
- the playback data of the first video includes playback data corresponding to all video frames of the first video. That is, the playback data of the first video completely includes all the playback data of the first video.
- the playback data of the first video includes playback data corresponding to the first preset number of video frames of the first video. That is, the playback data of the first video only includes part of the playback data of the first video.
- the server generates video recommendation response information based on the download address of the at least one recommended video and the playback data of the first video.
- the video recommendation response information generated by the server not only includes the download address of the at least one recommended video, but also includes the playback data of the first video.
- the server sends the video recommendation response information to the terminal device.
- the terminal device receives the video recommendation response information sent by the server.
- the terminal device parses the video recommendation response information and obtains the playback data of the first video.
- the terminal device extracts the playback data of the first video from the video recommendation response information.
- the terminal device starts video playback based on the playback data of the first video.
- the video recommendation sent by the server includes the download address of at least one recommended video and the playback data of the first video. response information, and then parses the video recommendation response information, obtains the playback data of the first video, and starts video playback based on the playback data of the first video. Since the video playback method provided by the embodiment of the present disclosure sends the video recommendation request information to the server, the received video recommendation response information includes the playback data of the first video, so the embodiment of the present disclosure can obtain the playback data of the first video. And start video playback based on the playback data of the first video.
- the recommended video is first downloaded and then the video playback can be started.
- it only needs to Video playback can be started with one network request, which reduces network delay and transmission time. Therefore, embodiments of the present disclosure can shorten the video playback delay of the terminal device.
- the terminal device during the video playback process, the terminal device has to make two network requests (one is used to request the download address of the recommended video, and the other is used to request the playback data of the recommended video), and the two Network requests have a certain probability of failure, and any failure of the network request will cause video playback to fail. Therefore, the probability of video playback failure in related technologies is relatively high.
- the terminal device only needs to make a network request to start video playback. Therefore, the embodiment of the present disclosure can also reduce the probability of failure of video playback.
- An embodiment of the present disclosure provides another video playback method.
- the video playback method includes the following steps:
- the terminal device responds to the video playback operation and sends video recommendation request information to the server.
- the server receives the video recommendation request information sent by the terminal device.
- the server obtains the download address of at least one recommended video from the recommendation server.
- the implementation of the above step S302 may include the following steps a and d:
- Step a The server sends request information carrying the target user's identification to the recommendation server.
- the target user is a logged-in user of the terminal device, and the request information is used to request a recommendation server Returns the download address of the corresponding recommended video.
- Step b The recommendation server obtains the attribute information of the target user according to the identification of the target user.
- the target user's attribute information may include the target user's video viewing history, the target user's video viewing preferences, and other information.
- Step c The recommendation server determines at least one recommended video based on the attribute information of the target user and the predefined recommendation algorithm.
- the implementation of the above step c (the recommendation server determines the at least one recommended video based on the attribute information of the target user and the predefined recommendation algorithm) may include:
- the recommendation server determines the recommendation degree of each video in the video resource library based on the attribute information of the target user and the predefined recommendation algorithm, sorts the videos in the video resource library in descending order according to the recommendation degree, and sorts the top n videos in the sorting result. videos are determined as the at least one recommended video, where n is a positive integer.
- Step d The recommendation server sends the download address of the at least one recommended video to the server.
- the server determines the first video from the at least one recommended video.
- the above step S303 (the server determines the first video from the at least one recommended video) includes:
- the server determines a first recommended video in the at least one recommended video as the first video.
- the video with the highest ranking among the at least one recommended video is determined as the first video.
- the server obtains the playback data of the first video from the resource server according to the download address of the first video.
- the server Since the server obtains the download address of each video in the at least one recommended video from the recommendation server, and the first video is determined by the server in the at least one recommended video, the server can obtain the first video The download address of the video, and then obtain the playback data of the first video from the resource server according to the download address of the first video.
- the above step S304 (the server obtains the playback data of the first video from the resource server according to the download address of the first video) includes:
- the server obtains playback data corresponding to all video frames of the first video from the resource server according to the download address of the first video.
- the server completely obtains the playback data corresponding to the entire content of the first video from the resource server.
- the terminal device when the server obtains the playback data corresponding to all video frames of the first video from the resource server based on the download address of the first video, the terminal device no longer needs to obtain the playback data corresponding to all video frames of the first video from the resource server based on the download address of the first video.
- the resource server obtains the playback data of the first video, so the method provided by the embodiment of the present disclosure may also include:
- the above step S304 (the server obtains the playback data of the first video from the resource server according to the download address of the first video) includes:
- the server obtains playback data corresponding to the first preset number of video frames of the first video from the resource server according to the download address of the first video.
- the server only obtains playback data corresponding to part of the content of the first video from the resource server.
- the terminal device In the case where the server obtains the playback data corresponding to the first preset number of video frames of the first video from the resource server according to the download address of the first video, the terminal device also needs to obtain the playback data corresponding to the first preset number of video frames according to the download address of the first video. Playback data corresponding to other video frames after the first preset number of video frames of the first video is obtained from the resource server. Therefore, the download address of the first video needs to be retained in the download address of the at least one recommended video.
- the server generates video recommendation response information based on the download address of the at least one recommended video and the playback data of the first video.
- the above step S305 (the server generates video recommendation response information based on the download address of the at least one recommended video and the playback data of the first video) includes the following steps 1 and 2:
- Step 1 Merge the download address of the at least one recommended video and the playback data of the first video according to a preset format to generate merged data.
- the preset format can be pre-agreed by the server and the terminal device, or pre-configured by the operation and maintenance personnel.
- Step 2 Generate the video recommendation response information according to the merged data.
- the server sends the video recommendation response information to the terminal device.
- the terminal device receives the video recommendation response information sent by the server.
- the terminal device parses the video recommendation response information and obtains the playback data of the first video and the download address of the at least one recommended video.
- the terminal device may parse the video recommendation response information according to the preset format, thereby obtaining the playback data of the first video and the download address of the at least one recommended video.
- the download address of the at least one recommended video includes the download address of the first video. In some embodiments, the download address of the at least one recommended video does not include the download address of the first video. first video download address.
- the terminal device starts video playback based on the playback data of the first video.
- step S304 if the server obtains the playback data corresponding to the first preset number of video frames of the first video (partial playback data of the first video) from the resource server based on the download address of the first video, , then perform the following steps S309 to S312, and if the server obtains the playback data corresponding to all video frames of the first video from the resource server according to the download address of the first video (all playback data of the first video) , then skip steps S309 and S310 and directly execute the following steps S311 and S312.
- the terminal device obtains playback data corresponding to other video frames after the first preset video frames of the first video according to the download address of the first video.
- the terminal device caches playback data corresponding to other video frames after the first preset video frames of the first video to after the playback data corresponding to the first preset video frames of the first video.
- the terminal device obtains the playback data corresponding to the at least one recommended video according to the download address of the at least one recommended video.
- the terminal device caches the playback data corresponding to the at least one recommended video after the playback data of the first video.
- steps S309 to S312 and the above-mentioned step S308 may be executed synchronously, that is, when the terminal device starts video playback based on the playback data of the first video, it also starts acquiring subsequent playback data.
- the video recommendation sent by the server includes the download address of at least one recommended video and the playback data of the first video. response information, and then parses the video recommendation response information, obtains the playback data of the first video, and starts video playback based on the playback data of the first video. Since the video playback method provided by the embodiment of the present disclosure sends the video recommendation request information to the server, the received video recommendation response information includes the playback data of the first video, so the embodiment of the present disclosure can obtain the playback data of the first video. And start video playback based on the playback data of the first video.
- the recommended video is first downloaded and then the video playback can be started.
- it only needs to Video playback can be started with one network request, which reduces network delay and transmission time. Therefore, embodiments of the present disclosure can shorten the video playback delay of the terminal device.
- the terminal device If the terminal device does not receive the video recommendation response information sent by the server within the preset time period, the terminal device reads the playback data of the second video stored in the preset storage space, and performs playback based on the playback data of the second video. Start video playback.
- the terminal device After the terminal device sends the video recommendation request information to the server, but the server does not respond for a long time, it reads the cached playback data of the second video, and starts video playback based on the playback data of the second video, so as to further When the network request is abnormal, shorten the video playback delay of the terminal device.
- Abnormalities may also occur when the terminal device starts video playback based on the playback data of the first video. For example, necessary data such as the bit rate and resolution of the first video are missing or lost in the playback data.
- the embodiments of this disclosure also cover such anomalies, specifically including:
- the playback data of the second video stored in the preset storage space is read, and the playback data of the second video is started based on the playback data.
- the video recommendation response information returned by the server is received, video playback cannot be started based on the playback data of the first video.
- the cached playback data of the second video is read and based on the playback data of the second video.
- the playback data starts video playback, thereby further shortening the video playback delay of the terminal device when the playback data obtained through the network request is abnormal.
- the video playback method provided by the embodiment of the present disclosure also includes:
- the second video is updated according to the playback data of the recommended video.
- the terminal device obtains the playback data of the recommended video A, but has not yet played the recommended video A, but the user stops playing the video through the terminal device, then the video A can be updated to the second video .
- some embodiments of the present disclosure also provide a terminal device and a server.
- This embodiment corresponds to the foregoing method embodiment.
- the foregoing method is no longer implemented.
- the details in the examples will be described one by one, but it should be clear that the terminal device and server in the following embodiments can correspondingly implement all the contents in the foregoing method embodiments.
- FIG. 4 is a schematic structural diagram of the terminal device. As shown in Figure 4, the terminal device 400 includes:
- the sending unit 41 is configured to send video recommendation request information to the server in response to the video playback operation
- the receiving unit 42 is configured to receive video recommendation response information sent by the server, where the video recommendation response information includes the download address of at least one recommended video and the playback data of the first video;
- the processing unit 43 is configured to parse the video recommendation response information and obtain the playback data of the first video
- the playback unit 44 is configured to start video playback based on the playback data of the first video.
- the processing unit 43 is further configured to, after receiving the video recommendation response information sent by the server, parse the video recommendation response information and obtain the download address of the at least one recommended video; according to the Obtain the playback data corresponding to the at least one recommended video from the download address of at least one recommended video; and cache the playback data corresponding to the at least one recommended video after the playback data of the first video.
- the playback data of the first video includes playback data corresponding to the first preset video frames of the first video, and the video recommendation response information also includes the download address of the first video;
- the processing unit 43 is also configured to parse the video recommendation response information and obtain the download address of the first video; obtain the first preset video frames of the first video according to the download address of the first video. Playback data corresponding to other video frames; cache playback data corresponding to other video frames after the first preset video frames of the first video to after the playback data corresponding to the first preset video frames of the first video .
- the playback unit 44 is also configured to read the second video stored in the preset storage space if the video recommendation response information sent by the server is not received within a preset time period. Play data, and start video playback based on the play data of the second video.
- the playback unit 44 is also configured to read the second video stored in the preset storage space if an abnormality occurs in playing the first video based on the playback data of the first video. Play data, and start video playback based on the play data of the second video.
- FIG. 5 is a schematic structural diagram of the server. As shown in Figure 5, the server 500 includes:
- the receiving unit 51 is used to receive the video recommendation request information sent by the terminal device;
- the obtaining unit 52 is used to obtain the download address of at least one recommended video and the playback data of the first video;
- Generating unit 53 configured to generate video recommendation response information according to the download address of the at least one recommended video and the playback data of the first video
- the sending unit 54 is configured to send the video recommendation response information to the terminal device, so that the terminal device parses the video recommendation response information to obtain the playback data of the first video, and starts based on the playback data of the first video. Play video.
- the obtaining unit 52 is specifically configured to obtain the download address of the at least one recommended video from a recommendation server; determine the first video from the at least one recommended video; and according to the first video The download address obtains the playback data of the first video from the resource server.
- the obtaining unit 52 is specifically configured to determine the first recommended video in the at least one recommended video as the first video.
- the obtaining unit 52 is specifically configured to obtain the playback data corresponding to the first preset number of video frames of the first video from the resource server according to the download address of the first video.
- the generating unit 53 is specifically configured to merge the download address of the at least one recommended video and the playback data of the first video according to a preset format to generate merged data; according to the merged data Generate the video recommendation response information.
- the terminal device and server provided by this embodiment can execute the video playback method provided by the above method embodiment.
- the implementation principles and technical effects are similar and will not be described again here.
- the above-described units may be implemented as software components executing on one or more general-purpose processors, or as hardware such as programmable logic devices and/or application-specific integrated circuits that perform certain functions or a combination thereof.
- these units may be embodied in the form of a software product, which may be stored in a non-volatile storage medium that includes a computer device (e.g., personal computer, server, network devices, mobile terminals, etc.) to implement the methods described in the embodiments of the present disclosure.
- the above unit can also be implemented on a single device or distributed on multiple devices. The functions of these units can be combined with each other or further split into sub-units.
- FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
- the electronic device provided by this embodiment includes: a memory 601 and a processor 602.
- the memory 601 is used to store computer program instructions;
- the processor 602 is configured to execute the video playback method provided by the above embodiments when executing computer program instructions.
- embodiments of the present disclosure also provide a computer-readable storage medium.
- the computer-readable storage medium stores a computer program.
- the computing device implements the above embodiments. Provided video playback methods.
- embodiments of the present disclosure also provide a computer program product.
- the computing device implements the video playback method provided in the above embodiments.
- Embodiments of the present disclosure also provide a computer program, which includes instructions that, when executed by a processor, cause the processor to execute the video playback method provided by the above embodiments.
- embodiments of the present disclosure may be provided as a method, system, computer program product, or computer program. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein.
- the processor can be a Central Processing Unit (CPU), other general-purpose processors, Digital Signal Processor (DSP), Application Specific Integrated Circuit (ASIC), or off-the-shelf programmable processors. Gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- a general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
- Memory may include non-volatile memory in computer-readable media, random access memory (RAM) and/or non-volatile memory in the form of read-only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
- RAM random access memory
- ROM read-only memory
- flash RAM flash memory
- Computer-readable media includes permanent and non-permanent, removable and non-removable storage media.
- Storage media can be implemented by any method or technology to store information, and information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), and read-only memory.
- PRAM phase change memory
- SRAM static random access memory
- DRAM dynamic random access memory
- RAM random access memory
- read-only memory read-only memory
- ROM read-only memory
- EEPROM electrically erasable programmable read-only memory
- flash memory or other memory technology
- compact disc read-only memory CD-ROM
- DVD digital versatile disc
- Magnetic tape cassettes disk storage or other magnetic storage devices, or any other non-transmission medium, can be used to store information that can be accessed by a computing device.
- computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
Claims (16)
- 一种视频播放方法,包括:响应于视频播放操作,向服务器发送视频推荐请求信息;接收所述服务器发送的视频推荐响应信息,所述视频推荐响应信息包括至少一个推荐视频的下载地址和第一视频的播放数据;解析所述视频推荐响应信息,获取所述第一视频的播放数据;基于所述第一视频的播放数据开始进行视频播放。
- 根据权利要求1所述的视频播放方法,还包括:在接收所述服务器发送的视频推荐响应信息之后,解析所述视频推荐响应信息,获取所述至少一个推荐视频的下载地址;根据所述至少一个推荐视频的下载地址获取所述至少一个推荐视频对应的播放数据;将所述至少一个推荐视频对应的播放数据缓存到所述第一视频的播放数据之后。
- 根据权利要求1或2所述的视频播放方法,其中,所述第一视频的播放数据包括所述第一视频的前预设个视频帧对应的播放数据,所述视频推荐响应信息还包括所述第一视频的下载地址,所述视频播放方法还包括:解析所述视频推荐响应信息,获取所述第一视频的下载地址;根据所述第一视频的下载地址获取所述第一视频的前预设个视频帧之后的其它视频帧对应的播放数据;将所述第一视频的前预设个视频帧之后的其它视频帧对应的播放数据缓存到所述第一视频的前预设个视频帧对应的播放数据之后。
- 根据权利要求1-3任一项所述的视频播放方法,还包括:在预设时长内未接收到所述服务器发送的所述视频推荐响应信息的情况下,读取预设存储空间中存储的第二视频的播放数据,并基于所述第二视频的播放数据开始进行视频播放。
- 根据权利要求1-4任一项所述的视频播放方法,还包括:在基于所述第一视频的播放数据对所述第一视频进行播放出现异常的情况下,读取预设存储空间中存储的第二视频的播放数据,并基于所述第二视频的播放数据开始进行视频播放。
- 一种视频播放方法,包括:接收终端设备发送的视频推荐请求信息;获取至少一个推荐视频的下载地址和第一视频的播放数据;根据所述至少一个推荐视频的下载地址和所述第一视频的播放数据生成视频推荐响应信息;向终端设备发送所述视频推荐响应信息,以使终端设备解析所述视频推荐响应信息获取所述第一视频的播放数据,以及基于所述第一视频的播放数据开始进行视频播放。
- 根据权利要求6所述的视频播放方法,其中,所述获取至少一个推荐视频的下载地址和第一视频的播放数据,包括:从推荐服务器获取所述至少一个推荐视频的下载地址;从所述至少一个推荐视频中确定所述第一视频;根据所述第一视频的下载地址从资源服务器获取所述第一视频的播放数据。
- 根据权利要求7所述的视频播放方法,其中,所述从所述至少一个推荐视频中确定所述第一视频,包括:将所述至少一个推荐视频中的第一个推荐视频确定为所述第一视频。
- 根据权利要求7或8所述的视频播放方法,其中,所述根据所述第一视频的下载地址从资源服务器获取所述第一视频的播放数据,包括:根据所述第一视频的下载地址从所述资源服务器获取所述第一视频的前预设数量个视频帧对应的播放数据。
- 根据权利要求6至9任一项所述的视频播放方法,其中,所述根据所述至少一个推荐视频的下载地址和所述第一视频的播放数据生成视频推荐响应信息,包括:按照预设格式对所述至少一个推荐视频的下载地址和所述第一视频的播放数据进行合并,生成合并数据;根据所述合并数据生成所述视频推荐响应信息。
- 一种终端设备,包括:发送单元,用于响应于视频播放操作,向服务器发送视频推荐请求信息;接收单元,用于接收所述服务器发送的视频推荐响应信息,所述视频推荐响应信息包括至少一个推荐视频的下载地址和第一视频的播放数据;处理单元,用于解析所述视频推荐响应信息,获取所述第一视频的播放数据;播放单元,用于基于所述第一视频的播放数据开始进行视频播放。
- 一种服务器,包括:接收单元,用于接收终端设备发送的视频推荐请求信息;获取单元,用于获取至少一个推荐视频的下载地址和第一视频的播放数据;生成单元,用于根据所述至少一个推荐视频的下载地址和所述第一视频的播放数据生成视频推荐响应信息;发送单元,用于向终端设备发送所述视频推荐响应信息,以使终端设备解析所述视频推荐响应信息获取所述第一视频的播放数据,以及基于所述第一视频的播放数据开始进行视频播放。
- 一种电子设备,包括:存储器和处理器,所述存储器用于存储计算机程序;所述处理器用于在执行计算机程序时,使得所述电子设备实现权利要求1-10任一项所述的视频播放方法。
- 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序指令,当所述计算机程序指令被计算设备执行时,使得所述计算设备实现权利要求1-10任一项所述的视频播放方法。
- 一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机实现如权利要求1-10任一项所述的视频播放方法。
- 一种计算机程序,包括:指令,所述指令当由处理器执行时使所述处理器执行如权利要求1-10任一项所述的视频播放方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US18/864,220 US20260012670A1 (en) | 2022-05-09 | 2023-05-09 | Video playback method |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210500761.8A CN117082296A (zh) | 2022-05-09 | 2022-05-09 | 一种视频播放方法及装置 |
| CN202210500761.8 | 2022-05-09 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023217106A1 true WO2023217106A1 (zh) | 2023-11-16 |
Family
ID=88718096
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/092899 Ceased WO2023217106A1 (zh) | 2022-05-09 | 2023-05-09 | 视频播放方法及装置 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20260012670A1 (zh) |
| CN (1) | CN117082296A (zh) |
| WO (1) | WO2023217106A1 (zh) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102843605A (zh) * | 2012-08-22 | 2012-12-26 | Tcl集团股份有限公司 | 视频播放方法、装置 |
| US20170034233A1 (en) * | 2010-12-09 | 2017-02-02 | NETFLIX Inc. | Pre-Buffering Audio Streams |
| CN107645674A (zh) * | 2017-09-15 | 2018-01-30 | 成都视达科信息技术有限公司 | 一种视频播放方法和系统 |
| CN109729419A (zh) * | 2018-12-26 | 2019-05-07 | 上海众源网络有限公司 | 推送视频预加载方法、装置、电子设备及存储介质 |
| CN110324680A (zh) * | 2018-03-30 | 2019-10-11 | 腾讯科技(深圳)有限公司 | 一种视频推送方法、装置及服务器、客户端、存储介质 |
| CN112565871A (zh) * | 2020-11-06 | 2021-03-26 | 深圳市易平方网络科技有限公司 | 一种视频预加载方法、智能终端及存储介质 |
-
2022
- 2022-05-09 CN CN202210500761.8A patent/CN117082296A/zh active Pending
-
2023
- 2023-05-09 US US18/864,220 patent/US20260012670A1/en active Pending
- 2023-05-09 WO PCT/CN2023/092899 patent/WO2023217106A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170034233A1 (en) * | 2010-12-09 | 2017-02-02 | NETFLIX Inc. | Pre-Buffering Audio Streams |
| CN102843605A (zh) * | 2012-08-22 | 2012-12-26 | Tcl集团股份有限公司 | 视频播放方法、装置 |
| CN107645674A (zh) * | 2017-09-15 | 2018-01-30 | 成都视达科信息技术有限公司 | 一种视频播放方法和系统 |
| CN110324680A (zh) * | 2018-03-30 | 2019-10-11 | 腾讯科技(深圳)有限公司 | 一种视频推送方法、装置及服务器、客户端、存储介质 |
| CN109729419A (zh) * | 2018-12-26 | 2019-05-07 | 上海众源网络有限公司 | 推送视频预加载方法、装置、电子设备及存储介质 |
| CN112565871A (zh) * | 2020-11-06 | 2021-03-26 | 深圳市易平方网络科技有限公司 | 一种视频预加载方法、智能终端及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| US20260012670A1 (en) | 2026-01-08 |
| CN117082296A (zh) | 2023-11-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108521608B (zh) | 视频文件的处理方法、装置、终端及存储介质 | |
| CN110677727B (zh) | 音视频播放方法、装置、电子设备及存储介质 | |
| CN109474843B (zh) | 语音操控终端的方法、客户端、服务器 | |
| US12206929B2 (en) | Video playing method and apparatus | |
| CN108566561B (zh) | 视频播放方法、装置及存储介质 | |
| US20100268694A1 (en) | System and method for sharing web applications | |
| WO2017092313A1 (zh) | 控制播放设备播放视频的方法和装置 | |
| CN111372115B (zh) | 应用程序的访问方法及装置、通讯系统 | |
| CN112138376A (zh) | 云游戏存档方法、装置和电子设备 | |
| US11962837B2 (en) | Video update push method and terminal | |
| US20180198843A1 (en) | Nonconsecutive File Downloading | |
| US20220365959A1 (en) | Multimedia file storage and access method | |
| CN112449250B (zh) | 一种视频资源的下载方法、装置、设备和介质 | |
| CN113918849A (zh) | 一种页面显示方法、装置、系统、电子设备及存储介质 | |
| CN116017005B (zh) | 视频素材传输方法及相关设备 | |
| CN106469388A (zh) | 用户评论的实现方法和装置 | |
| CN111078654A (zh) | 一种分享信息的方法与设备 | |
| WO2026017165A1 (zh) | 页面显示方法及相关设备 | |
| WO2026021362A1 (zh) | 内容播放方法及相关设备 | |
| CN115019231A (zh) | 视频帧识别方法、装置、电子设备及存储介质 | |
| WO2023217106A1 (zh) | 视频播放方法及装置 | |
| CN114640718B (zh) | 一种基于数据处理系统的数据处理方法及装置 | |
| CN115278149B (zh) | 预加载云会议桌面的方法及相关装置 | |
| CN111447490A (zh) | 流媒体文件处理方法及装置 | |
| CN116320542A (zh) | 互动信息显示方法、系统、装置、电子设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23802876 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18864220 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 28.02.2025) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23802876 Country of ref document: EP Kind code of ref document: A1 |
|
| WWP | Wipo information: published in national office |
Ref document number: 18864220 Country of ref document: US |