VIDEO PROCESSING METHOD, APPARATUS, ELECTRONIC DEVICE, AND STORAGE MEDIUM
By preloading multimedia data of associated videos using resource configuration information, the latency issue in interactive video playback is addressed, improving user experience and conversion rates through smart terminals.
Patent Information
- Application Number
- JP2024534396
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-12-08
- Filing Date
- 2022-12-01
- Publication Date
- 2024-12-10
AI Technical Summary
The latency issue in playing interactive videos through smart terminals, particularly on H5 pages, results in poor user experience and lower conversion rates due to long loading times when switching to video playback pages.
A method and apparatus for preloading multimedia data of associated videos based on resource configuration information, allowing seamless transition and immediate playback of target videos by preloading associated videos, reducing latency and improving user experience.
Reduces video playback latency from 4-6 seconds to 1 second, enhancing user experience and increasing video conversion rates by eliminating long wait times during video loading.
Smart Images

Figure 2024545639000001_ABST
Abstract
Description
[Technical field]
[0001] This application claims priority from a Chinese patent application bearing application number 202111493846.X, filed with the China Patent Office on December 8, 2021, the entire contents of which are incorporated by reference into this application.
[0002] TECHNICAL FIELD The embodiments of the present disclosure relate to computer technology, such as video processing methods, devices, electronic devices, and storage media. [Background technology]
[0003] With the popularity of smart terminals, more and more users are using smart terminals to view corresponding video content. When playing interactive videos based on traditional H5 pages, users need to wait a long time for the video to load, and in the interactive video playback process, the video can only be loaded after the video playback is completed, which leads to a long waiting time and a poor user experience. Summary of the Invention
[0004] The present disclosure provides a video processing method, apparatus, electronic device and storage medium for preloading queued videos, so that there is no need to wait for a long time when playing the queued videos, thereby improving user viewing efficiency and improving video conversion rate.
[0005] In a first aspect, an embodiment of the present disclosure comprises: In response to detecting a target video in the video stream, delivering (transmitting) resource configuration information associated with the target video, the resource configuration information including an association relationship between multimedia data corresponding to the target video and at least one queued video associated with the target video; In response to detecting a trigger operation for playing the target video, jumping to a video playback page corresponding to the target video (switching to a video playback page), and determining at least one waiting-to-play video associated with the target video according to the association relationship; loading multimedia data of the at least one waiting video, and updating a target video displayed on the video playback page according to a trigger operation of the at least one waiting video.
[0006] In a second aspect, an embodiment of the present disclosure comprises: a resource configuration information delivery module configured to deliver resource configuration information associated with the target video in response to detecting a target video in the video stream, the resource configuration information including an association relationship between multimedia data corresponding to the target video and at least one waiting video associated with the target video; a queued video determination module configured to, in response to detecting a trigger operation for playing the target video, jump to a video playback page corresponding to the target video, and determine at least one queued video associated with the target video according to the association relationship; The present invention further provides a video processing device including: a video preload module configured to load multimedia data of the at least one waiting to be played video, and update a target video displayed on the video playback page according to a trigger operation of the at least one waiting to be played video.
[0007] In a third aspect, embodiments of the present disclosure include one or more processors; a storage device configured to store one or more programs; Further provided is an electronic device that, when the one or more programs are executed by the one or more processors, causes the one or more processors to perform a video processing method described in any one of the embodiments of the present disclosure.
[0008] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium including computer-executable instructions, the computer-executable instructions being configured to, when executed by a computer processor, perform a video processing method according to any one of the embodiments of the present disclosure. [Brief description of the drawings]
[0009] 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 components are not necessarily drawn to scale.
[0010] [Figure 1] FIG. 1 is a schematic flowchart of a video processing method provided by an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a schematic diagram of resource configuration information provided by one embodiment of the present disclosure. [Diagram 3] FIG. 3 is a schematic flowchart of a video processing method provided by another embodiment of the present disclosure. [Figure 4] FIG. 4 is a schematic structural diagram of a video processing device provided by an embodiment of the present disclosure. [Diagram 5] FIG. 5 is a schematic structural diagram of an electronic device provided according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] It should be understood that steps described in implementations of the methods of the present disclosure can be performed in different orders and / or in parallel. Also, method embodiments may include additional steps and / or omit performance of illustrated steps. The scope of the present disclosure is not limited in this respect.
[0012] As used herein, the term "including" and variations thereof are open-ended, i.e., "including but not limited to." The term "based on" means "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," and the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms are provided in the description below.
[0013] It should be noted that concepts such as "first" and "second" referred to in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order or interdependence of functions performed by these devices, modules or units. It should be noted that the modifications of "one" and "multiple" referred to in this disclosure are illustrative and not limiting, and should be understood by those skilled in the art as "one or multiple" unless the context clearly dictates otherwise.
[0014] The names of messages or information exchanged among devices in the embodiments of the present disclosure are for illustrative purposes only and are not used to limit the scope of these messages or information.
[0015] Before describing the technical solution, an application scenario can be described by way of example. The technical solution can be applied to a scenario of playing a video based on an H5 page. For example, an application integrates a waiting video created by a third party, for example, the waiting video may be an advertisement inserted by a third party, and when playing the waiting video, it is necessary to jump (switch) to a video playback page to play the waiting video based on H5. When the current player of the current application software jumps to the H5 page to play a video, it needs to load data corresponding to the waiting video, so the user needs to wait for a longer time to enjoy the time to be played, and during this waiting time, the user may leave the video playback page, which may result in a poor user experience and a poor conversion rate of the waiting video, so reducing the waiting time is an urgent task. Note that many of the videos present in the video playback software of the related art are native videos, that is, videos played based on a native player, and videos that jump to other video playback pages accordingly are treated as H5 videos.
[0016] 1 is a schematic flow chart of a video processing method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is suitable for inserting a video playback scenario based on an H5 page into video playback software supported by the Internet, and the method can be executed by a video processing device, which can be realized in the form of software and / or hardware, for example, through electronic devices such as mobile terminals, PCs, servers, etc. The video processing method provided by the embodiment of the present disclosure can be executed by a server, or by a client, or by the cooperation of a client and a server.
[0017] As shown in FIG. 1, the method includes: S110, upon detecting that a target video is included in the video stream, deliver resource configuration information associated with the target video.
[0018] The video processing method provided by the embodiment can be integrated into any video playback software. After detecting that the video playback software is triggered, a main page can be entered, and the main page can display multiple video streams. The multiple video streams include native video streams. The native video stream may be understood as a video recorded by a user who uploads a video based on the video playback software. The multiple video streams displayed on the main page may include a native video stream, and may include a first-view page or a link of a video stream played based on the H5 page. The video stream played based on the H5 page is used as a target video. That is, the target video may be a video inserted into the playback software by a third-party platform, and the video is played based on the H5 page.
[0019] Usually, the target video is mostly an advertisement video, a business promotion video, etc. The resource configuration information is configuration information associated with the target video, for example, the resource configuration information includes: multimedia data of the target video, related information of at least one waiting video associated with the target video.
[0020] Note that the queued video is also the video played based on the H5 page. After playing the target video, the played video is used as the queued video.
[0021] In this embodiment, the target video may be an interactive video and / or a non-interactive video. An interactive video may be understood as a corresponding video jump control that can pop up on the display interface to determine which video to jump to based on the user's trigger operation. If the user does not trigger said video jump control, no video jump will be performed.
[0022] When the target video is an interactive video, at least two video jump controls can be displayed on the video playback page corresponding to the target video. Each video jump control corresponds to a queued video and determines which queued video is to be jumped to based on a user's trigger operation on the video jump control. That is, the number of queued videos associated with the target video is equal to the number of video jump controls.
[0023] For example, the target video can be integrated into the video playback software, and the target video can be an integrated advertising video that is played based on the H5 page. When the user triggers the video playback software, the user can enter a main page of the video playback software, and the main page can display multiple video streams, and the multiple video streams may include the target video or may not include the target video. When the multiple video streams include the target video, the user may trigger the target video. In order to prevent the user from waiting for a long time when triggering the target video to enter the H5 page, when detecting that the target video is included in the video stream, the multimedia data of the target video and the related relationship of at least one queued video associated with the target video can be delivered, and the queued video that may be played after the target video is preloaded based on the related relationship.
[0024] In this embodiment, when a target video is detected to be included in a video stream, the step of delivering resource configuration information associated with the target video includes a step of delivering the resource configuration information associated with the target video when the target video is detected to be included in a video stream displayed on a currently displayed page and / or delivering resource configuration information associated with the target video when the target video is detected to be included in a displayed video stream.
[0025] When entering the main page of the video playback software, the multiple video streams displayed on the main page are updated based on the user's slide operation on the main page. The page currently displayed on the terminal device is used as the current display page, and the current display page may be the main page. Similarly, the current display page may include multiple video streams, and the multiple video streams may include a target video. When the user finishes viewing the video streams displayed on the current page or is not interested in the video streams displayed on the current page, the user can refresh the current page. After refreshing the page, the video streams displayed on the current display page are used as the video streams to be displayed. The target video may be included in the video streams to be displayed.
[0026] It can be understood that when multiple video streams in a current display page include a target video, or when the target video is included among multiple video streams to be displayed after refreshing the page, it is possible to deliver resource configuration information corresponding to the target video.
[0027] In addition, the distribution of resource configuration information is mainly performed by a resource configuration platform, for example, configuration information associated with a target video can be stored in the resource distribution platform, and when it is detected that the target video is included in a video stream, the resource distribution platform can distribute the resource configuration information of the target video.
[0028] Furthermore, the number of target videos may be one or more, and the specific number corresponds to the actual business. When the number of target videos is more than one, the resource configuration information of the multiple target videos can be stored in the resource distribution platform. For example, a correspondence relationship between the target videos and the corresponding resource configuration information can be established, and when a target video is detected to be included in multiple video streams, the corresponding resource configuration information can be determined and distributed based on the logo of the target video from the correspondence relationship.
[0029] Based on the above technical solutions, it needs to be further explained that the resource configuration information not only includes multimedia data corresponding to the target video, but also includes material files of multiple video frames in the target video, for example, the material files may be video jump controls displayed in the video frames.
[0030] S120, when detecting a trigger operation for playing the target video, jump to a video playback page corresponding to the target video, and determine at least one waiting-to-play video associated with the target video according to the association relationship.
[0031] Usually, when a user browses multiple video streams displayed in the playback software, if one of the video streams is interesting, the playback may be triggered. Of course, if the user is interested in the target video, the playback of the target video may also be triggered. The video playback page may be a page displaying the target video, for example, an H5 page. That is, the target video may be a video belonging to a pre-set type, and its resource configuration information may be a video stored in the resource distribution platform. Most of the other video streams are native videos, and the target video is mostly an H5 video. The related relationship includes at least one video waiting to be played associated with the target video, for example, the related relationship is shown in FIG. 2, the target video may be video, and there are two at least one video waiting to be played associated with the target video, which are v_a and v_b, respectively. At least one video waiting to be played associated with v_a includes one, v_a_a, at least one video waiting to be played associated with v_b includes one, v_b_a, two videos waiting to be played associated with v_a_a include two, v_a_a_a and v_a_a_b, and two videos waiting to be played associated with v_b_a include two, v_b_a_a and v_b_a_b. Of course, FIG. 2 is merely a schematic diagram of the association relationships, and is not a comprehensive diagram of the association relationships.
[0032] In actual use, it is possible to detect whether a user triggers a target video in real time or periodically, and when a user triggers a target video, it may jump to a video playback page corresponding to the target video. At the same time, it is possible to determine at least one waiting-to-play video associated with the target video based on the related relationship in the resource configuration information pre-delivered by the resource delivery platform.
[0033] That is, when a trigger operation for playing the target video is detected, the step of jumping to a video playback page corresponding to the target video includes a step of jumping to a video playback page displaying a multimedia data stream corresponding to the target video to play the target video on the video playback page when a trigger operation on a control for playing the target video is detected.
[0034] In actual use, if a user is interested in a target video, the user can trigger a control to play the target video, for example, when the user clicks on the target video, the user can jump to a video playback page displaying the target video, and the multimedia data stream corresponding to the target video can be played on the video playback page.
[0035] It should be noted that, according to S110, when detecting that the video stream contains a target video, the resource distribution platform can distribute resource configuration information corresponding to the target video, and the resource configuration information can know that the resource configuration information includes the multimedia data of the target video. Therefore, when a user triggers the playback of the target video, the resource configuration information corresponding to the target video may be fully distributed, so that the user does not need to wait for a long time when playing the video, improving the user experience.
[0036] Furthermore, in concrete use, the timing at which a user triggers a target video is uncertain, so when the target video is triggered, the resource configuration information corresponding to the target video may or may not have been delivered. When the delivery of the execution configuration and resource configuration information corresponding to the target video is completed, the target video is played.
[0037] Usually, when a page contains a target video, the resource configuration information of the target video is delivered, and when the target video is triggered, it is possible to directly enter the video playback page corresponding to the target video.
[0038] Furthermore, since the target video is played on the H5 page, a data package supporting video playback needs to be loaded before the target video is played. For example, the data package may be a toolkit for executing the H5 page. When the loading of the data package is completed and the delivery of the resource configuration information is completed, the target video can be played on the video playback page.
[0039] S130, loading multimedia data of the at least one waiting video, and updating a target video displayed on the video playback page according to a trigger operation of the at least one waiting video.
[0040] The multimedia data is data corresponding to a video waiting to be played.
[0041] It should be understood that after determining the videos to be played, it is possible to preload multimedia data corresponding to at least one of the videos to be played, so that there is no need to wait for a long loading time when playing the videos to be played.
[0042] For example, after determining at least one queued video associated with the target video based on the association relationship, the multimedia data of the queued videos can be pre-loaded, and a user can trigger the corresponding queued video, and according to the user's trigger operation, it is determined which queued videos' multimedia data need to be continuously loaded and which queued videos' multimedia data do not need to be loaded.
[0043] Based on the above technical solutions, it is possible to only load at least one next-level waiting video that is directly related to the target video, so as to avoid preloading of videos that occupy bandwidth.
[0044] Based on the above technical solution, the step of loading the multimedia data of the at least one video to be played includes the steps of pre-loading the multimedia data of the at least one video to be played when the target video is fully loaded, or loading the multimedia data of the target video and the at least one video to be played in parallel after the target video is loaded up to a preset number of frames.
[0045] In order to ensure that the multimedia data of the target video is complete, that is, the user does not freeze while watching the target video, after the multimedia data of the target video is fully loaded, the multimedia data of at least one video waiting to be played associated with the target video is loaded. Of course, when the performance of the terminal and the network parameters are relatively good, for example, the performance of the terminal may be the performance of the processor, and the network parameters may be the network speed, etc., after the target video is loaded to a preset number of frames or to a preset length based on the video playing length of the target video, the multimedia data of the target video and the at least one video waiting to be played are loaded in parallel. This can ensure that the target video does not freeze during playing, and also ensure that when the target video is not finished watching and other videos waiting to be played are watched, the other videos waiting to be played are also preloaded to a certain number of frames, avoiding long waiting times.
[0046] Note that when jumping from multiple video stream pages to a desired playback page, i.e., when the target video is a first view video, the multimedia data corresponding to the target video is likely to have been fully loaded. When triggering the control of the target video to jump to a video waiting to be played, the video waiting to be played can be used as the target video, and at this time, the multimedia data corresponding to the target video may or may not have been fully loaded. In this case, the multimedia data of the video waiting to be played associated with the target video can be loaded in the above manner.
[0047] In practical use, when there are two queued videos associated with a target video, and a user can trigger to play any of the queued videos, it will lead to resource waste if all multimedia data corresponding to the two queued videos are loaded. To avoid such a situation, it is possible to load at least one queued video clip or a preset number of frames of multimedia data of the at least one queued video.
[0048] One queued video may be composed of multiple queued video clips. The queued video is composed of multiple video frames. The preset frame number is the number of video frames that are preset and preloaded. The at least one queued video clip may be one clip or two clips, of course, may be multiple video clips, but may be one video clip to save resources.
[0049] For example, during the playback of the target video, for at least one queued video associated with the target video, it is possible to load the video clips in each queued video. Of course, it is also possible to load all the multimedia data of the queued videos. When detecting that a user has triggered a control corresponding to one queued video, it is not necessary to load the data of another queued video.
[0050] It should be noted that based on the above technical solutions, it is possible to clear the multimedia data of all waiting videos that have been loaded but not played, to avoid memory occupation.
[0051] In this embodiment, the step of updating a target video displayed on the video playback page according to a trigger operation on the at least one video waiting to be played includes the steps of displaying a video jump control corresponding to the at least one video to be displayed on the video playback page, and determining a target video waiting to be played from the at least one video waiting to be played according to a trigger operation of the video jump control, and repeatedly executing the steps of updating the target video on the video playback page based on the target video waiting to be played, determining at least one video waiting to be played that is associated with the target video according to the association relationship, and loading multimedia data of the at least one video waiting to be played.
[0052] The technical solution according to the embodiment of the present disclosure, when it is detected that a target video is included in multiple video streams in a current display page, delivers resource configuration information corresponding to the target video, and can determine a waiting video associated with the target video based on the resource configuration information, and preloads the waiting video, so that when a playback operation of the waiting video is detected, it can be played directly, avoiding the user waiting for a long time to exit the video playback interface when loading the video, which will lead to a decrease in video conversion efficiency; since the waiting video is preloaded in advance according to the association relationship of the resource configuration information, the user does not need to wait for a long time when triggering the playback of the waiting video, which can improve the video playback efficiency and improve the video conversion rate.
[0053] As an example of the above embodiment, Figure 3 is a schematic flowchart of a video processing method provided by another embodiment of the present disclosure. Based on the above described embodiment, a specific example can be taken to illustrate the technical solution.
[0054] Referring to FIG. 3, after detecting that the current display page includes a target video or the video stream in the displayed page includes a target video, a resource configuration file corresponding to the target video can be delivered based on the resource delivery platform. For example, the resource delivery platform sends a resource configuration file corresponding to the target video to a client that plays the target video. The target video at this time can be used as a first-view video. The feed stream in the current display page includes the target video (advertising video inserted by a third party), and when a user clicks on the target video, it jumps to a video playback page that plays the target video, that is, the video landing page is opened. In order to realize the target video being played on the video playback page, a data package supporting the video playback can be preloaded, for example, first determine whether the loading of js (data package) is completed, and when the loading of js is completed, execute js while determining whether the delivery of the resource configuration file is completed, and when the delivery is completed, the target video can be played on the video playback page.
[0055] The resource configuration file includes a project branch (i.e., an association relationship with a video). Based on the association relationship, a tree relationship diagram of multiple queued videos associated with the target video can be determined. Each node of the tree relationship diagram can correspond to a video. Based on the association relationship, a next level queued video associated with the target video can be determined, and the queued video can be preloaded. When a button corresponding to a queued video pops up on the display interface, the queued video as a jump destination can be determined based on a trigger operation of the button. The queued video as a jump destination can be used as a target video, and based on the association relationship, a queued video associated with the target video can be determined, and multimedia data can be preloaded. It is possible to play the video as smoothly as possible while ensuring a minimum number of loading times.
[0056] The technical solution of the present disclosure uses this method to play interactive video, which can reduce the playback latency of the target video from 4-6 seconds to 1 second, thereby improving the user's viewing experience.
[0057] The technical solution according to the embodiment of the present disclosure, when detecting that a target video is included in multiple video streams in a current display page, delivers resource configuration information corresponding to the target video, and can determine a waiting video associated with the target video based on the resource configuration information, and preloads the waiting video, so that the waiting video can be directly played when a playback operation of the waiting video is detected, avoiding the user waiting for a long time to exit the video playback interface during video loading, which will lead to a decrease in video conversion efficiency; according to the associated relationship of the resource configuration information, the waiting video is preloaded in advance, so that the user does not need to wait for a long time when triggering the playback of the waiting video, thereby improving the video playback efficiency and improving the video conversion rate.
[0058] 4 is a schematic structural diagram of a video processing device provided by an embodiment of the present disclosure, which can execute the video processing method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects of the execution method. As shown in FIG. 4, the device includes: The resource configuration information delivery module 310 is configured to deliver resource configuration information associated with a target video when detecting that a target video is included in a video stream, the resource configuration information including multimedia data corresponding to the target video and an association relationship of at least one played video associated with the target video; a queued video determination module 320 is configured to jump to a video playback page corresponding to the target video when detecting a trigger for playing the target video, and determine at least one queued video associated with the target video according to the association relationship; and a video preload module 330 is configured to load multimedia data of the at least one queued video and update the target video displayed on the video playback page according to a trigger operation of the at least one queued video.
[0059] Based on the above technical solutions, the resource configuration information distribution module further comprises: The device is configured to deliver the resource configuration information associated with a target video when it detects that a target video is included in a video stream displayed on a current display page, and / or to deliver the resource configuration information associated with the target video when it detects that the target video is included in a video stream to be displayed.
[0060] Based on the above technical solutions, the waiting video determination module is further configured to jump to a video playback page displaying a multimedia data stream corresponding to the target video when detecting a trigger operation of a control for playing the target video, so as to play the target video on the video playback page.
[0061] Based on the above technical solutions, the queued video determining module is further configured to determine at least one next-level queued video associated with the target video based on the association relationship.
[0062] Based on the above technical solutions, the video loading determination module is further configured to pre-load multimedia data of the at least one video waiting to be played when the loading of the target video is completed, or to load the multimedia data of the target video and the at least one video waiting to be played in parallel when detecting that the loading progress bar of the target video reaches a preset progress bar threshold.
[0063] Based on the above technical solution, the video loading determination module is further configured to load at least one video clip of the at least one waiting to be played, or a preset number of frames of multimedia data.
[0064] According to the above technical solution, the video load determination module further displays a video jump control on the video playback page corresponding to the at least one video to be displayed, and determines a target video to be played from the at least one video to be played according to a trigger operation of the video jump control; The method is configured to repeatedly perform the following: updating the target video on the video playback page based on the target waiting video, determining at least one waiting video associated with the target video according to the association relationship, and loading multimedia data of the at least one waiting video.
[0065] The technical solution according to the embodiment of the present disclosure, when detecting that a target video is included in multiple video streams in a current display page, delivers resource configuration information corresponding to the target video, and can determine a waiting video associated with the target video based on the resource configuration information, and preloads the waiting video, so that the waiting video can be directly played when a playback operation of the waiting video is detected, thereby avoiding the disadvantage that the user waits for a long time when loading the video and leaves the video playback interface, which leads to a decrease in video conversion efficiency; the waiting video is preloaded in advance according to the association relationship of the resource configuration information, so that the user does not need to wait for a long time when triggering the playback of the waiting video, thereby improving the video playback efficiency and improving the video conversion rate.
[0066] FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. In the following, referring to FIG. 5, a schematic structural diagram of an electronic device (for example, a terminal device or server in FIG. 5) 400 suitable for implementing an embodiment of the present disclosure is shown. The terminal device in the embodiment of the present disclosure includes, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), and in-vehicle terminals (for example, in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in FIG. 5 is merely an example and does not limit the functions and scope of use of the embodiment of the present disclosure.
[0067] 5, the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 401, and may execute various appropriate operations and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 406 into a random access memory (RAM) 403. The RAM 403 also stores various programs and data necessary for the operation of the electronic device 400. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An edit / output (I / O) interface 405 is also connected to the bus 404.
[0068] Typically, the following devices may be connected to the I / O interface 405: editing devices 406, such as a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 407, such as a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 406, such as magnetic tape or hard disk, etc.; and communication devices 409. The communication devices 409 may enable the electronic device 400 to communicate and exchange data with other devices, wirelessly or by wire. Although FIG. 5 illustrates the electronic device 400 with various devices, it should be understood that it is not necessary to implement or include all of the devices shown. Instead, more or fewer devices may be implemented or included.
[0069] According to an embodiment of the present disclosure, the process described above with reference to the flowcharts may be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product including a computer program embodied in a non-transitory computer-readable medium, the computer program including program code for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or may be installed from the storage device 406 or from the ROM 402. When the computer program is executed by the processing device 401, it performs the above-mentioned functions defined in the method of the embodiment of the present disclosure.
[0070] The names of messages or information exchanged among devices in the embodiments of the present disclosure are for illustrative purposes only and are not used to limit the scope of these messages or information.
[0071] The electronic device provided by the embodiment of the present disclosure and the video processing method provided by the above embodiment belong to the same disclosed concept, and the technical details not described in detail in this embodiment can be referred to the above embodiment. This embodiment has the same beneficial effects as the above embodiment.
[0072] An embodiment of the present disclosure provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, realizes the video processing method provided by the above embodiment.
[0073] It should be noted that the computer readable medium described above in this disclosure may be a computer readable signal medium, or a computer readable storage medium, or any combination of the two. The computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer readable storage media include, but are not limited to, an electrical connection with one or more wires, a portable computer disk, a hard drive, 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 disk read only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this disclosure, the computer readable medium may be any tangible medium that contains or stores a program, which may be used in or in combination with an instruction execution system, apparatus, or device. In this disclosure, the computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with computer readable program code embedded therein. The data signal thus propagated may take many forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transmit a program for use in, or in connection with, an instruction execution system, apparatus, or device. Program code embodied in a computer-readable medium may be transmitted using any suitable medium, including, but not limited to, wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0074] In some embodiments, clients and servers may communicate using any network protocol now known or later developed, such as HTTP (HyperText Transfer Protocol), and may be connected to each other by any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include local area networks ("LANs"), wide area networks ("WANs"), networks connected between wide area networks (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), and any other networks now known or later developed.
[0075] The computer-readable medium may be included in the electronic device, or may exist independently and not integrated into the electronic device.
[0076] The computer-readable medium includes one or more programs embedded therein, and when the one or more programs are executed by an electronic device, the electronic device: When detecting that a target video is included in the video stream, deliver resource configuration information associated with the target video, the resource configuration information including a relation between multimedia data corresponding to the target video and at least one waiting video associated with the target video; When detecting a trigger operation for playing the target video, jump to a video playback page corresponding to the target video, and determine at least one waiting-to-play video associated with the target video according to the association relationship; Load multimedia data of the at least one queued video, and update a target video displayed on the video playback page according to a trigger operation of the at least one queued video.
[0077] Computer program code for carrying out the operations of the present disclosure may be written in one or more programming languages, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely by the user's computer, partially by the user's computer, as a standalone software package, partially by the user's computer and partially by a remote computer, or entirely by a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer or to an external computer (e.g., an Internet connection via an Internet Service Provider) via any type of network, such as a local area network (LAN) or a wide area network (WAN).
[0078] The flowcharts and block diagrams in the drawings illustrate possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, program segment, or part of code that includes one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions shown in the blocks may be executed in a different order than that shown in the figures. For example, two blocks shown one after the other may actually be executed substantially in parallel or may be executed in reverse order depending on the functions involved. Each block of the block diagrams and / or flowchart diagrams, and combinations of blocks in the block diagrams and / or flowchart diagrams, may be implemented by a dedicated hardware-based system that performs the specified functions or operations, or may be implemented using a combination of specialized hardware and computer instructions.
[0079] The units according to the embodiments of the present disclosure may be implemented in software or hardware. The names of the units may not necessarily limit the units themselves, for example, the first acquisition unit may be expressed as "a unit for acquiring at least two Internet Protocol addresses."
[0080] The functions described herein may be performed, at least in part, by one or more hardware logic components. For example, but not limited to, typical 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 chips (SOCs), complex programmable logic devices (CPLDs), etc.
[0081] In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain or store a program used by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. More specific examples of machine-readable storage media include one or more wire-based electrical connections, portable computer disks, hard drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
[0082] According to one or more embodiments of the present disclosure, [Example 1] is When detecting that a target video is included in the video stream, delivering resource configuration information associated with the target video, the resource configuration information including a relation between multimedia data corresponding to the target video and at least one queued video associated with the target video; when detecting a trigger operation for playing the target video, jumping to a video playback page corresponding to the target video, and determining at least one waiting-to-play video associated with the target video according to the association relationship; loading multimedia data of the at least one waiting video, and updating a target video displayed on the video playback page according to a trigger operation of the at least one waiting video.
[0083] According to one or more embodiments of the present disclosure, [Example 2] provides a video processing method, including:
[0084] For example, when detecting that a target video is included in a video stream, the step of delivering resource configuration information associated with the target video includes: Delivering the resource configuration information associated with a target video upon detecting that the target video is included among the video streams displayed on the current display page; and / or Delivering resource configuration information associated with the target video upon detecting that the target video is included in a video stream to be displayed.
[0085] According to one or more embodiments of the present disclosure, [Example 3] provides a video processing method, including:
[0086] For example, the step of jumping to a video playback page corresponding to the target video when detecting a trigger for playing the target video includes: The method includes a step of jumping to a video playback page displaying a multimedia data stream corresponding to the target video, to play the target video on the video playback page, when a trigger operation of a control for playing the target video is detected.
[0087] According to one or more embodiments of the present disclosure, [Example 4] provides a video processing method, including:
[0088] determining at least one queued video associated with the target video based on the association relationship, Determining at least one of the next level queued videos associated with the target video based on the association relationship.
[0089] According to one or more embodiments of the present disclosure, [Example 5] provides a video processing method, including:
[0090] For example, the step of loading the multimedia data of the at least one video waiting to be played may include: preloading the multimedia data of the at least one pending video when the loading of the target video is completed; or The method includes loading multimedia data of the target video and the at least one waiting video in parallel when detecting that the loading progress bar of the target video reaches a preset progress bar threshold.
[0091] According to one or more embodiments of the present disclosure, [Example 6] provides a video processing method, including:
[0092] For example, the step of loading the multimedia data of the at least one video waiting to be played may include: The method includes loading at least one video clip or a preset number of frames of multimedia data of the at least one video to be played.
[0093] According to one or more embodiments of the present disclosure, [Example 7] provides a video processing method, including:
[0094] For example, the step of updating a target video displayed on the video playback page according to a trigger operation of the at least one video waiting to be played includes: displaying a video jump control on the video playback page, the video jump control corresponding to the at least one video to be displayed, and determining a target video to be played from among the at least one video to be played according to a trigger operation of the video jump control; The method includes repeatedly executing the steps of updating the target video on the video playback page based on the target waiting video, determining at least one waiting video associated with the target video according to the association relationship, and loading multimedia data of the at least one waiting video.
[0095] Also, although various operations are shown in a particular order, this should not be understood as requiring that these operations be performed in the particular order shown, or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although certain implementation details are included in the above description, these should not be construed as limiting the scope of the disclosure. Certain features that are described in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment may also be implemented in multiple embodiments separately or in any suitable subcombination.
Claims
1. in response to detecting a target video in the video stream, delivering resource configuration information associated with the target video, the resource configuration information including an association relationship between multimedia data corresponding to the target video and at least one queued video associated with the target video; in response to detecting a trigger operation for playing the target video, jumping to a video playback page corresponding to the target video, and determining at least one waiting-to-play video associated with the target video according to the association relationship; loading multimedia data of the at least one queued video, and updating a target video displayed on the video playback page according to a trigger operation of the at least one queued video; method.
2. In response to detecting a target video in the video stream, delivering resource configuration information associated with the target video includes: in response to detecting a target video among the video streams displayed on the current display page, delivering the resource configuration information associated with the target video; and b. delivering resource configuration information associated with the target video in response to detecting that the target video is included in a video stream to be displayed.
3. jumping to a video playback page corresponding to the target video in response to detecting a trigger operation for playing the target video, 2. The method of claim 1, further comprising: in response to detecting a trigger operation of a control for playing the target video, jumping to a video playback page displaying a multimedia data stream corresponding to the target video to play the target video on the video playback page.
4. determining at least one queued video associated with the target video based on the association relationship, The method of claim 1 , comprising determining at least one next level queued video associated with the target video based on the association relationship.
5. The step of loading the multimedia data of at least one video to be played includes: preloading multimedia data for the at least one pending video in response to determining that loading of the target video is complete; or 2. The method of claim 1, further comprising: loading multimedia data of the target video and the at least one waiting video in parallel in response to detecting that a loading progress bar of the target video has reached a preset progress bar threshold.
6. The step of loading the multimedia data of at least one video to be played includes:
2. The method of claim 1, further comprising the step of loading at least one video clip or a preset number of frames of multimedia data of said at least one video queued for playback.
7. updating a target video displayed on the video playback page according to a trigger operation of the at least one video waiting to be played, displaying a video jump control on the video playback page, the video jump control corresponding to the at least one video to be displayed, and determining a target video to be played from among the at least one video to be played according to a trigger operation of the video jump control; The method of claim 1 , comprising: repeatedly executing the steps of updating a target video in the video playback page based on the target waiting video, determining at least one waiting video associated with the target video according to the association relationship, and loading multimedia data of the at least one waiting video.
8. a resource configuration information delivery module configured to deliver resource configuration information associated with the target video in response to detecting a target video in the video stream, the resource configuration information including an association relationship between multimedia data corresponding to the target video and at least one waiting video associated with the target video; a queued video determination module configured to, in response to detecting a trigger operation for playing the target video, jump to a video playback page corresponding to the target video, and determine at least one queued video associated with the target video according to the association relationship; a video preload module configured to load multimedia data of the at least one queued video and update a target video displayed on the video playback page according to a trigger operation of the at least one queued video; Video processing device.
9. one or more processors; a storage device configured to store one or more programs; An electronic device, the one or more programs, when executed by one or more processors, causing the one or more processors to perform the method of any one of claims 1 to 7.
10. A storage medium containing computer-executable instructions which, when executed by a computer processor, perform a method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and device for controlling video playing and video playing equipment
CN110430461A
