CN113949935A - Video processing method, video processing device, electronic equipment, video processing medium and video processing product - Google Patents

Video processing method, video processing device, electronic equipment, video processing medium and video processing product Download PDF

Info

Publication number
CN113949935A
CN113949935A CN202111467149.7A CN202111467149A CN113949935A CN 113949935 A CN113949935 A CN 113949935A CN 202111467149 A CN202111467149 A CN 202111467149A CN 113949935 A CN113949935 A CN 113949935A
Authority
CN
China
Prior art keywords
preloading
preload
video
preloaded
parameter
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.)
Granted
Application number
CN202111467149.7A
Other languages
Chinese (zh)
Other versions
CN113949935B (en
Inventor
王全理
马鹏
朱敏涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111467149.7A priority Critical patent/CN113949935B/en
Publication of CN113949935A publication Critical patent/CN113949935A/en
Application granted granted Critical
Publication of CN113949935B publication Critical patent/CN113949935B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-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 for requesting content on demand, e.g. video on demand

Abstract

The present disclosure relates to the field of computer technology, and in particular, to a video processing method, a video processing apparatus, an electronic device medium, and a computer program product, where the method includes: in the playing process of the current video, acquiring a preloaded video list corresponding to the video; obtaining at least one preloading parameter corresponding to a preloading strategy, and determining a target preloading configuration according to the preloading parameter and the preloading strategy; preloading is carried out on the preloaded video according to the target preloading configuration. Through the technical scheme of the embodiment of the disclosure, the problem that the preloading mode of the video is not flexible in the prior art can be solved.

Description

Video processing method, video processing device, electronic equipment, video processing medium and video processing product
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a video processing method, a video processing apparatus, an electronic device, a computer-readable storage medium, and a computer program product.
Background
With the rapid development of the internet, various video applications are emerging. In some video applications, videos which may be played next (for example, scenes in which the videos are played in a sliding manner up and down) can be preloaded, so that a user can directly watch the videos without waiting for video loading when jumping to the preloaded videos, waiting time of the user is reduced, and watching experience of the user is greatly improved.
In the related art, a plurality of videos following a current video may be preloaded, each of which is preloaded for a certain time period or a certain size. However, in the prior art, the manner of preloading all videos is the same, that is, the manner of preloading videos is not flexible, and problems such as traffic waste or bandwidth waste are caused.
Disclosure of Invention
The present disclosure provides a video processing method, a video processing apparatus, an electronic device, a computer-readable storage medium, and a computer program product, so as to at least solve the problem in the related art that a manner of preloading a video is not flexible. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a video processing method, including: in the playing process of the current video, acquiring a preloaded video list corresponding to the video; wherein the preloaded video list comprises a plurality of preloaded videos; obtaining at least one preloading parameter corresponding to a preloading strategy, and determining a target preloading configuration according to the preloading parameter and the preloading strategy; preloading the preloaded video according to the target preloading configuration.
Optionally, the determining a preload configuration according to the preload parameter and the preload policy includes: and when the preloading parameters are located in the strategy parameter range corresponding to the preloading parameters, determining the preloading configuration corresponding to the preloading strategy as a target preloading configuration.
Optionally, when the preload parameter is located in the policy parameter range corresponding to the preload parameter, determining the preload configuration corresponding to the preload policy as a target preload configuration includes: acquiring a plurality of preloading strategies corresponding to the preloading strategies; acquiring at least one strategy parameter sub-range corresponding to the pre-loading strategy; and when the preloading parameters are positioned in the strategy parameter subrange corresponding to the preloading strategy, determining the preloading sub-configuration corresponding to the preloading strategy as the target preloading configuration.
Optionally, when the preloading parameter is not in the policy parameter range corresponding to the preloading parameter, obtaining a general preloading configuration corresponding to the preloading policy; determining the generic preload configuration as a target preload configuration.
Optionally, the obtaining at least one preload parameter corresponding to a preload policy, and the determining a target preload configuration according to the preload parameter and the preload policy include: acquiring a page identifier corresponding to the video, and acquiring a page preloading strategy corresponding to the page identifier according to the page identifier; at least one pre-loading parameter corresponding to a page pre-loading strategy is obtained, and a target pre-loading configuration is determined according to the pre-loading parameter and the page pre-loading strategy.
Optionally, the target preloading configuration includes a number of preloaded videos and a preloading size, and the preloading the preloaded videos according to the target preloading configuration includes: preloading the preloaded video according to the number of preloaded videos and the preloading size.
Optionally, the target preloading configuration includes a first round of preloading configuration and a second round of preloading configuration, where the first round of preloading configuration includes a first round of preloading video number and a first round of preloading size, the second round of preloading configuration includes a second round of preloading video number and a second round of preloading size, and the preloading of the preloaded video according to the preloading video number and the preloading size includes: preloading the preloaded videos according to the number of the preloaded videos in the first round and the preloading size of the first round; and preloading the preloaded videos according to the number of the preloaded videos in the second round and the preloading size in the second round.
Optionally, the target preloading configuration corresponds to a preloading delay parameter, and the preloading the preloaded video according to the target preloading configuration includes: playing the preloaded video with the same value as the preloaded time delay parameter in the preloaded video list; preloading the unplayed preloaded video in the preloaded video list according to the target preloading configuration.
Optionally, the preloading parameter is one or more of a terminal network state, a time length of playing time per time, a playing time, a terminal position, and a content of playing time per time.
According to a second aspect of the embodiments of the present disclosure, there is provided a video processing apparatus including: the device comprises a preloaded video list acquisition unit, a video display unit and a video display unit, wherein the preloaded video list acquisition unit is configured to acquire a preloaded video list corresponding to a video in the playing process of the current video; wherein the preloaded video list comprises a plurality of preloaded videos; the target preloading configuration determining unit is configured to execute acquisition of at least one preloading parameter corresponding to a preloading strategy, and determine a target preloading configuration according to the preloading parameter and the preloading strategy; a preload unit configured to perform preloading of the preload video according to the target preload configuration.
Optionally, the preload policy includes a policy parameter range corresponding to at least one of the preload parameters, and the determining the preload configuration according to the preload parameter and the preload policy includes: the first preloading configuration determining unit is configured to determine the preloading configuration corresponding to the preloading strategy as a target preloading configuration when the preloading parameter is in the policy parameter range corresponding to the preloading parameter.
Optionally, when the preload parameter is located in a policy parameter range corresponding to the preload parameter, determining a preload configuration corresponding to the preload policy as a target preload configuration, where the video processing apparatus further includes: a preloading strategy obtaining unit configured to execute obtaining a plurality of preloading strategies corresponding to the preloading strategies; a strategy parameter sub-range obtaining unit configured to execute obtaining of at least one strategy parameter sub-range corresponding to the pre-loading sub-strategy; a second preload configuration determination and acquisition unit configured to determine a preload sub-configuration corresponding to the preload sub-policy as a target preload configuration when the preload parameter is within a policy parameter sub-range corresponding to the preload sub-policy.
Optionally, the video processing apparatus further includes: the general preloading configuration obtaining unit is configured to obtain general preloading configurations corresponding to the preloading strategies when the preloading parameters are not located in strategy parameter ranges corresponding to the preloading parameters; a third preload configuration determination acquisition unit configured to perform the determination of the generic preload configuration as a target preload configuration.
Optionally, the obtaining at least one preload parameter corresponding to a preload policy, and determining a target preload configuration according to the preload parameter and the preload policy, where the video processing apparatus further includes: the page identifier acquisition unit is configured to execute acquisition of a page identifier corresponding to the video, and acquire a page preloading strategy corresponding to the page identifier according to the page identifier; the fourth preloading configuration determining and acquiring unit is configured to execute acquiring at least one preloading parameter corresponding to a page preloading strategy, and determine a target preloading configuration according to the preloading parameter and the page preloading strategy.
Optionally, the target preloading configuration includes a number of preloaded videos and a preloading size, and the preloading is performed on the preloaded videos according to the target preloading configuration, where the video processing apparatus further includes: a first preloading unit configured to perform preloading of the preloaded video according to the number of preloaded videos and a preloading size.
Optionally, the target preloading configuration includes a first round of preloading configuration and a second round of preloading configuration, where the first round of preloading configuration includes a first round of preloading video number and a first round of preloading size, the second round of preloading configuration includes a second round of preloading video number and a second round of preloading size, and the preloading video is preloaded according to the preloading video number and the preloading size, and the video processing apparatus further includes: a first round preloading unit configured to perform preloading on the preloaded videos according to the first round preloaded video number and a first round preloaded size; a second round preloading unit configured to perform preloading of the preloaded videos according to the second round preloaded video number and a second round preloaded size.
Optionally, the target preloading configuration corresponds to a preloading delay parameter, and the preloading video is preloaded according to the target preloading configuration, where the video processing apparatus further includes: the preloaded video playing unit is configured to execute playing of a preloaded video with the same value as the preloaded time delay parameter in the preloaded video list; a second preloading unit configured to perform preloading of unplayed preloaded videos in the preloaded video list according to the target preloading configuration.
Optionally, the preloading parameter is one or more of a terminal network state, a time length of playing time per time, a playing time, a terminal position, and a content of playing time per time.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the executable instructions to implement the video processing method as any one of the above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the video processing method of any one of the above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, computer program/instructions, characterized in that the computer program/instructions, when executed by a processor, implement the video processing method of any one of the above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the video processing method provided by an embodiment of the present disclosure, a preload parameter corresponding to a preload policy may be obtained, a target preload configuration is determined according to the preload parameter and the preload policy, and a preload video is preloaded according to the preload configuration. On one hand, different preloading strategies can be set according to different conditions, and the preloaded video is preloaded through different target preloading configurations, so that the flexibility of a preloading scheme can be greatly improved; on the other hand, the preloaded video is preloaded through the target preloading configuration, the problem of flow waste or bandwidth waste can be avoided, and the cost and the bandwidth cost are reduced on the basis of ensuring smooth watching of a user.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a flow diagram illustrating a video processing method according to an exemplary embodiment;
FIG. 2 is a flowchart illustrating a determination of a preload sub-configuration corresponding to a preload sub-policy as a target preload configuration when the preload parameter is within a policy parameter sub-range corresponding to the preload sub-policy, in accordance with an exemplary embodiment;
FIG. 3 is a flow diagram illustrating a determination of a generic preload configuration as a target preload configuration in accordance with an exemplary embodiment;
FIG. 4 is a flowchart illustrating a method for determining a target preload configuration based on preload parameters and a page preload policy in accordance with an exemplary embodiment;
FIG. 5 is a flow diagram illustrating preloading of preloaded videos according to turns, according to an example embodiment;
FIG. 6 is a flow diagram illustrating preloading of unplayed preloaded videos in a preloaded video list according to a target preload configuration, according to an exemplary embodiment;
FIG. 7 is a schematic diagram illustrating video preloading with a preload policy in accordance with an exemplary embodiment;
FIG. 8 is a block diagram of a video processing apparatus according to an example embodiment;
FIG. 9 is a block diagram illustrating an electronic device suitable for use in implementing exemplary embodiments of the present disclosure, according to an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
With the rapid development of the internet, various video applications are emerging. In some video applications, videos which may be played next (for example, scenes in which the videos are played in a sliding manner up and down) can be preloaded, so that a user can directly watch the videos without waiting for video loading when jumping to the preloaded videos, waiting time of the user is reduced, and watching experience of the user is greatly improved.
In the related art, a plurality of videos following a current video may be preloaded, each of which is preloaded for a certain time period or a certain size. However, in the prior art, the preloading mode for all videos is the same, that is, the preloading mode for the videos is not flexible, and the problems of traffic waste or bandwidth waste and the like are caused.
Fig. 1 is a flow diagram illustrating a video processing method according to an exemplary embodiment, the video processing method, as shown in fig. 1, including the following steps.
In step S110, in the playing process of the current video, a preloaded video list corresponding to the video is obtained; the pre-loading video list comprises a plurality of pre-loading videos;
in step S120, at least one preload parameter corresponding to the preload policy is obtained, and the target preload configuration is determined according to the preload parameter and the preload policy;
in step S130, the preloaded video is preloaded according to the target preload configuration.
In the video processing method provided by an embodiment of the present disclosure, a preload parameter corresponding to a preload policy may be obtained, a target preload configuration is determined according to the preload parameter and the preload policy, and a preload video is preloaded according to the preload configuration. On one hand, different preloading strategies can be set according to different conditions, and the preloaded video is preloaded through different target preloading configurations, so that the flexibility of a preloading scheme can be greatly improved; on the other hand, the preloaded video is preloaded through the target preloading configuration, the problem of flow waste or bandwidth waste can be avoided, and the cost and the bandwidth cost are reduced on the basis of ensuring smooth watching of a user.
Next, steps S110 to S130 of the video processing method in the present exemplary embodiment will be described in more detail with reference to fig. 1 and the embodiment.
Step S110, acquiring a preloaded video list corresponding to a video in the playing process of the current video; the pre-loading video list comprises a plurality of pre-loading videos;
in an example embodiment of the present disclosure, a preloaded video list corresponding to a video is obtained during the playing process of a current video. Specifically, the video currently being played may include a video in a web application platform, and may also include a video in a web page. It should be noted that the present disclosure is not limited to a specific source of the video. When the current video is playing, a preloaded video list corresponding to the video can be obtained. Specifically, the preloaded video list corresponding to a video refers to a list of videos that may be played after the current video is played.
For example, in some video applications of sliding up and down, a user may switch to a next video for watching through a sliding up operation of a graphical user interface of a video application program, that is, while watching a current video, the next video is a video that may be played, and the video may be listed in a preloaded video list. Wherein the preloaded video list may include a plurality of preloaded videos. For example, in a video-on-slide application, 5 videos after the video currently being played may be listed in the preloaded video list.
In addition, in the present disclosure, the obtaining manner of the preloaded video list corresponding to the video is not particularly limited.
Step S120, at least one preloading parameter corresponding to the preloading strategy is obtained, and target preloading configuration is determined according to the preloading parameter and the preloading strategy;
in an example embodiment of the present disclosure, at least one preload parameter corresponding to a preload policy may be obtained, and a target preload configuration may be determined according to the preload parameter and the preload policy. Specifically, the preloading strategy may include various preloading parameters, and various preloading parameters corresponding to the preloading strategy may be obtained. For example, the preloading parameters may include a terminal network status, a time length of the time average playing, a playing time, a terminal location, a time average playing content, and the like. It should be noted that, the present disclosure is not limited to specific types of the preloading parameters corresponding to the preloading strategies.
The network speed of the terminal refers to the network condition of the terminal being used by the user, for example, the network speed, the network stability, the response speed, and the like of the terminal; the time average playing time length refers to an average playing time length when a user plays videos, for example, if a certain user opens three videos in total, the playing time length of the video a is 3 minutes, the playing time length of the video B is 4 minutes, and the playing time length of the video C is 5 minutes, the time average playing time length of the user is 4 minutes; the playing time refers to the time when the current video is played, for example, if the time when the user plays the video is 14:25, the playing time is 14: 25; the terminal position refers to a position where a terminal is located when a user plays a current video, for example, if the user is located in a subway station when the user plays the video, the terminal position obtained at this time is the subway station; the sub-average playing content refers to the file size of the average playing video when the user plays the video, for example, if a user opens three videos, the playing content of video a is 2MB, the playing content of video B is 3MB, and the playing content of video C is 4MB, the sub-average playing content of the user is 3 MB.
It should be noted that at least one preloading parameter (including but not limited to a terminal network state, a time length of playing once, a playing time, a terminal position, a content of playing once, etc.) corresponding to the preloading policy related to the present disclosure is information authorized by a user or fully authorized by each party.
After obtaining at least one preload parameter corresponding to the preload policy through the above steps, the target preload configuration may be determined according to the preload parameter and the preload policy. Specifically, a preload parameter standard value may be set for the preload policy, the preload parameter may be compared with the preload parameter standard value, and when the obtained at least one preload parameter meets the preload parameter standard value corresponding to the preload parameter, it indicates that the preload parameter is matched with the preload policy, that is, the target preload configuration corresponding to the current preload policy may be used.
Further, the pre-loading parameter may be compared with a pre-loading parameter standard value, and when the obtained at least one pre-loading parameter is the same as the pre-loading parameter standard value corresponding to the pre-loading parameter, it indicates that the pre-loading parameter is matched with the pre-loading policy, that is, the target pre-loading configuration corresponding to the current pre-loading policy may be used. It should be noted that, the present disclosure is not limited specifically to the specific manner of determining the target preload configuration according to the preload parameter and the preload policy.
In an example embodiment of the present disclosure, after obtaining at least one preload parameter corresponding to a preload policy through the above steps, a policy parameter range corresponding to the preload parameter may be obtained, whether the preload parameter is located in the policy parameter range corresponding to the preload parameter may be determined, and when the preload parameter is located in the policy parameter range corresponding to the preload parameter, a preload configuration corresponding to the preload policy is determined as a target preload configuration.
For example, the preloading strategy includes a strategy parameter range corresponding to the terminal network state, which is greater than or equal to 2Mb/s (which may be represented as [ 2, ∞ ]), a strategy parameter range corresponding to the sub-average playing time length, which is from-3 minutes to 5 minutes (which may be represented as [ 3-5 ]), a strategy parameter range corresponding to the playing time length, which is from-12: 00 to 14:00 (which may be represented as [ 1200 ] 1400 ]), an acquired network state (preloading parameter a) which is 3Mb/s (which may be represented as [ 3 ]), an acquired sub-average playing time length (preloading parameter B) which is 4 minutes (which may be represented as [ 4 ]), an acquired playing time (preloading parameter C) which is 13:15 (which may be represented as [ 1315 ]), that all acquired parameters are located in the strategy parameter range corresponding to the preloading parameter at this time, the preload configuration corresponding to the preload policy may be determined as the target preload configuration.
In an example embodiment of the present disclosure, a plurality of preload sub-strategies corresponding to the preload sub-strategies may be obtained, at least one strategy parameter sub-range corresponding to the preload sub-strategies is obtained, and when the preload parameter is located in the strategy parameter sub-range corresponding to the preload sub-strategies, the preload sub-configuration corresponding to the preload sub-strategies is determined as the target preload configuration. Referring to fig. 2, when the preload parameter is in the policy parameter subrange corresponding to the preload sub-policy, determining the preload sub-configuration corresponding to the preload sub-policy as the target preload configuration may include the following steps S210 to S230:
step S210, acquiring a plurality of preloading strategies corresponding to the preloading strategies;
step S220, obtaining at least one strategy parameter sub-range corresponding to the pre-loading strategy;
in an example embodiment of the present disclosure, a plurality of preload sub-policies corresponding to the preload policy may be obtained. Specifically, the preload strategy may include a plurality of preload sub-strategies including at least one strategy parameter sub-range corresponding to the preload parameter. And when the acquired preloading parameters accord with a certain preloading strategy, determining the preloading sub-configuration corresponding to the preloading strategy as the target preloading configuration. It should be noted that, the number of the plurality of pre-loading strategies and the specific content of the plurality of pre-loading strategies corresponding to the pre-loading strategies are not particularly limited in the present disclosure.
In step S230, when the preload parameter is located in the policy parameter subrange corresponding to the preload sub-policy, the preload sub-configuration corresponding to the preload sub-policy is determined as the target preload configuration.
In an example embodiment of the present disclosure, preload parameters corresponding to a plurality of preload policies may be obtained, and when the preload parameters are located in a policy parameter sub-range corresponding to the preload policies, a preload sub-configuration corresponding to the preload policies is determined as a target preload configuration. Specifically, a plurality of preload sub-strategies in the preload strategy may be traversed, and when the preload parameter is within a strategy parameter sub-range corresponding to at least one preload parameter of the preload sub-strategies, the preload sub-configuration corresponding to the preload sub-strategy is determined as the target preload configuration.
For example, the preloading strategy includes a preloading strategy a, a preloading strategy B, and a preloading strategy C, wherein the preloading strategy a includes: the strategy parameter sub-range a-network state is more than or equal to 2MB/s, the strategy parameter sub-range B-playing time is 12: 00-14: 00 or 19: 00-20: 00, the strategy parameter sub-range c-number average playing time is 3-15 minutes, and the pre-loading sub-strategy B comprises the following steps: the strategy parameter sub-range a-network state is more than or equal to 1MB/s, the strategy parameter sub-range b-playing time is 15: 00-16: 00, the strategy parameter sub-range C-time average playing time is 3-10 minutes, and the pre-loading sub-strategy C comprises the following steps: the strategy parameter sub-range a-network state is more than or equal to 5MB/s, the strategy parameter sub-range b-playing time is 16: 00-18: 00, the strategy parameter sub-range c-time average playing time is 3-8 minutes, and the preloading parameters obtained through the steps are as follows: the network state is-3.5 Mb/s, the playing time is-13: 15, the time average playing time is-8 minutes, namely the acquired preloading parameter is located in the strategy parameter sub-range corresponding to the preloading strategy A, and the preloading strategy configuration corresponding to the preloading strategy can be determined as the target loading configuration.
Further, a plurality of pre-load policies may be provided, the pre-load policies including policy parameter sub-ranges of the same type.
For example, the preload sub-strategy a includes: policy parameter subrange-network state 2MB/s-4MB/s, pre-load sub-policy B comprising: policy parameter subrange-network state 4MB/s-8MB/s, pre-load sub-policy C comprising: policy parameter subrange-network state greater than or equal to 8 MB/s.
For another example, the preload strategy a includes: the strategy parameter sub-range-time average playing time is 0-3 minutes, and the pre-loading strategy B comprises the following steps: the strategy parameter sub-range-time average playing time is 3-15 minutes, and the pre-loading strategy C comprises the following steps: the strategy parameter sub-range-time average playing time is 15-60 minutes.
For another example, the preload strategy a includes: the strategy parameter sub-range-the playing time is 12: 00-14: 00 or 19: 00-20: 00, and the pre-loading sub-strategy B comprises: the strategy parameter sub-range is 14: 00-15: 00.
Further, the preload sub-strategies may comprise a plurality of preload sub-strategies having different types of strategy parameter sub-ranges. Specifically, the conditions in each preload sub-strategy may be different.
For example, the preloading strategy includes a preloading strategy a, a preloading strategy B, and a preloading strategy C, wherein the preloading strategy a includes: the strategy parameter sub-range a-network state is more than or equal to 2MB/s, the strategy parameter sub-range B-playing time is 12: 00-14: 00 or 19: 00-20: 00, the strategy parameter sub-range c-number average playing time is 3-15 minutes, and the pre-loading sub-strategy B comprises the following steps: the strategy parameter sub-range a-network state is more than or equal to 1MB/s, the strategy parameter sub-range b-playing time is 15: 00-16: 00, and the pre-loading sub-strategy C comprises the following steps: the strategy parameter sub-range a-network state is more than or equal to 5MB/s, and the preloading parameters obtained through the steps are as follows: the network state is-1.5 Mb/s, the playing time is-15: 15, the time average playing time is-8 minutes, namely the acquired preloading parameter is located in the strategy parameter sub-range corresponding to the preloading strategy B, and the preloading strategy configuration corresponding to the preloading strategy can be determined as the target loading configuration.
Through the above steps S210 to S230, a plurality of pre-loading strategies corresponding to the pre-loading strategies may be obtained, at least one strategy parameter sub-range corresponding to the pre-loading strategies is obtained, and when the pre-loading parameters are located in the strategy parameter sub-range corresponding to the pre-loading strategies, the pre-loading configuration corresponding to the pre-loading strategies is determined as the target pre-loading configuration.
In an example embodiment of the present disclosure, when the preload parameter is not located in the policy parameter range corresponding to the preload parameter, a general preload configuration corresponding to the preload policy may be obtained, and the general preload configuration may be determined as the target preload configuration. Referring to fig. 3, determining the general preload configuration as the target preload configuration may include the following steps S310 to S320:
step S310, when the preloading parameter is not in the strategy parameter range corresponding to the preloading parameter, acquiring a general preloading configuration corresponding to the preloading strategy;
step S320, determining the general preload configuration as a target preload configuration.
In an example embodiment of the present disclosure, after the policy parameter range corresponding to the preload parameter is obtained through the above steps, it may be determined whether the preload parameter is located in the policy parameter range corresponding to the preload parameter, and when the preload parameter is not located in the policy parameter range corresponding to the preload parameter, it indicates that the preload configuration corresponding to the preload policy cannot be used as the target preload configuration. At this time, a general preload configuration may be obtained, and specifically, the general preload configuration may be a preload configuration that may be adopted when the preload configuration corresponding to the preload policy cannot be taken as the target preload configuration. The generic preload configuration may be determined as the target preload configuration. Wherein the generic pre-load configuration may be maintained through business experience. It should be noted that, the present disclosure does not make any special limitation on the preloading manner, the number of preloads, the duration of the preloads, the size of the preloads, and the like of the general preload configuration.
For example, when it is determined through the above steps that the preload parameter is not located in the policy parameter range corresponding to the preload parameter, the general preload configuration may be obtained: the first five videos in the preloaded video list are loaded with 400KB, 300KB, 200KB, 100KB, respectively, i.e. at this time the first five preloaded videos a in the preloaded video list may be preloaded with 400KB, preloaded video B with 300KB, preloaded video C with 300KB, preloaded video D with 200KB, preloaded video E with 100 KB.
Further, when the preload policy includes a plurality of preload sub-policies, when the acquired preload parameter is not located in the policy parameter sub-range corresponding to each preload sub-policy, the general preload configuration corresponding to the preload policy may be acquired, and the general preload configuration may be determined as the target preload configuration.
Through the steps S310 to S320, when the preload parameter is not within the policy parameter range corresponding to the preload parameter, the general preload configuration corresponding to the preload policy may be obtained, and the general preload configuration may be determined as the target preload configuration.
In an example embodiment of the present disclosure, a page identifier corresponding to a video may be obtained, a page preloading policy corresponding to the page identifier is obtained according to the page identifier, at least one preloading parameter corresponding to the page preloading policy is obtained, and a target preloading configuration is determined according to the preloading parameter and the page preloading policy. Referring to fig. 4, determining a target preload configuration according to the preload parameter and the page preload policy may include the following steps S410 to S420:
step S410, acquiring a page identifier corresponding to the video, and acquiring a page preloading strategy corresponding to the page identifier according to the page identifier;
step S420, at least one pre-loading parameter corresponding to the page pre-loading strategy is obtained, and the target pre-loading configuration is determined according to the pre-loading parameter and the page pre-loading strategy.
In an example embodiment of the present disclosure, a page identifier corresponding to a video may be obtained. Specifically, the page identifier corresponding to the video may be used to indicate the page where the current video is located. In particular, in some video applications, the pages may be divided into various pages, such as a pick page, a focus page, a hit page, a like page, and so forth. It should be noted that, the present disclosure is not limited to specific types of pages and specific forms of page identifiers. For example, if the page identifier corresponding to the video is 7, the page corresponding to the video is the selected page; the page identifier corresponding to the video is 10, and the corresponding page is the concerned page.
In an example embodiment of the present disclosure, after the page identifier corresponding to the video is obtained through the above steps, a page preloading policy corresponding to the page identifier may be obtained according to the page identifier. Specifically, the preloading policy may include a plurality of page preloading policies, and the page preloading policy corresponding to the page identifier may be determined in the plurality of page preloading policies according to the page identifier corresponding to the video.
After the page preloading strategy is obtained through the steps, the target preloading configuration can be determined according to the preloading parameters and the page preloading strategy. Specifically, it may be determined whether the preloading parameter meets a page preloading policy, and when the preloading parameter meets the page preloading policy, the page preloading configuration corresponding to the page preloading policy is determined as the target preloading configuration. It should be noted that, the preloading manner, the preloading number, the preloading size, and the like of the page preloading policy are not particularly limited in the present disclosure.
Through the steps S410 to S420, the page identifier corresponding to the video may be obtained, the page preloading policy corresponding to the page identifier may be obtained according to the page identifier, at least one preloading parameter corresponding to the page preloading policy may be obtained, and the target preloading configuration may be determined according to the preloading parameter and the page preloading policy.
And S130, preloading the preloaded video according to the target preloading configuration.
In an example embodiment of the present disclosure, after the target preload configuration is determined through the above steps, the preload video may be preloaded according to the target preload configuration. In particular, the target preload configuration may be used to indicate a method of preloading a plurality of preloaded videos in a preloaded video list. For example, a preload manner, a preload amount, a preload duration, a preload size, and the like may be included. It should be noted that the present disclosure is not limited to the specific content of the target preload configuration.
For example, the preloaded videos may be preloaded according to the number of preloaded videos and the preload size. For example, the target preload is configured to preload the first five preloaded videos a, B, C, D, E in the preloaded video list, specifically, 400KB for preloaded video a, 800KB for preloaded video B, 800KB for preloaded video C, 400KB for preloaded video D, and 400KB for preloaded video E, which may be represented as [ 400,800,800,400,400 ].
Further, the target preload configuration may include a loading method. Specifically, a plurality of preloaded videos may be preloaded in a serial manner, or a plurality of preloaded videos may be preloaded in a parallel manner. For example, for a preloaded video a, a preloaded video B, a preloaded video C, a preloaded video D, and a preloaded video E to be loaded, the preloaded video a may be preloaded first, and then the preloaded video B may be preloaded, and all preloaded videos are preloaded similarly; or, for the preloaded video a, the preloaded video B, the preloaded video C, the preloaded video D and the preloaded video E to be loaded, the preloaded video a, the preloaded video B, the preloaded video C, the preloaded video D and the preloaded video E may be preloaded simultaneously until all the preloaded videos are preloaded.
In an example embodiment of the present disclosure, the preloaded videos may be preloaded according to the number of preloaded videos of the first round and the first round preloading size, and preloaded according to the number of preloaded videos of the second round and the second round preloading size. Referring to fig. 5, preloading a preloaded video according to a turn may include the following steps S510 to S520:
step S510, preloading is conducted on the preloaded videos according to the number of the preloaded videos in the first round and the preloading size of the first round;
and step S520, preloading the preloaded videos according to the number of the preloaded videos in the second round and the preloading size in the second round.
In an example embodiment of the present disclosure, the preloaded videos may be preloaded according to the number of preloaded videos of the first round and the first round preloading size. Specifically, the target preloading configuration includes a first round preloading configuration and a second round preloading configuration, specifically, a first round preloading is performed on the preloaded videos in the preloaded video list according to the first round preloading configuration, and after the first round preloading is completed, a second round preloading is performed on the preloaded videos in the preloaded video list according to the second round preloading configuration.
Wherein the first round of preloading configuration comprises a first round of preloading video quantity and a first round of preloading size. The preloaded videos may be preloaded according to the number of preloaded videos of the first round and the size of the preloading of the first round. The second round preloading configuration comprises a second round preloading video number and a second round preloading size, and after the first round loading is completed, the preloading videos can be preloaded according to the second round preloading video number and the second round preloading size.
For example, the first round of preloading is configured to perform a first round of preloading on the first 5 videos in the preloaded video list according to a specific size, for example, 400KB of preloaded video a, 800KB of preloaded video B, 800KB of preloaded video C, 400KB of preloaded video D, and 400KB of preloaded video E in the preloaded video list, and after the first round of preloading is completed, the preloaded videos may be preloaded according to a second round of preloading configuration, for example, the first round of preloading is configured to perform a second round of preloading on the first 2 videos in the preloaded video list according to a specific size, that is, on the basis of the first round of preloading, the first 2 videos in the preloaded video list are preloaded according to a specific size, for example, 400KB of preloaded video a in the preloaded video list is preloaded again according to a specific size, The preloaded video B is preloaded with 800KB, i.e. the first 5 videos in the preloaded video list are preloaded with the size: preloaded video a is preloaded with 800KB, preloaded video B is preloaded with 1600KB, preloaded video C is preloaded with 800KB, preloaded video D is preloaded with 400KB, and preloaded video E is preloaded with 400 KB.
Further, the number of videos preloaded in the first round may be different from the number of videos preloaded in the second round, and the size of the preloaded in the first round may be different from that of the preloaded in the second round. It should be noted that, the present disclosure is not limited specifically to the specific contents of the first round preloading configuration and the second round preloading configuration.
Through the steps S510 to S520, the preloaded videos may be preloaded according to the number of preloaded videos in the first round and the size of the preloaded videos in the first round, and the preloaded videos may be preloaded according to the number of preloaded videos in the second round and the size of the preloaded videos in the second round.
In an example embodiment of the present disclosure, a preloaded video having the same value as the preloaded delay parameter in the preloaded video list may be played, and the unplayed preloaded video in the preloaded video list may be preloaded according to the target preloading configuration. Referring to fig. 6, preloading unplayed preloaded videos in a preloaded video list according to a target preloading configuration may include the following steps S610 to S620:
step S610, playing the preloaded video with the same value as the preloaded time delay parameter in the preloaded video list;
and S620, preloading the unplayed preloaded video in the preloaded video list according to the target preloading configuration.
In an example embodiment of the present disclosure, a preloaded video of the same value as the preloaded delay parameter in the preloaded video list may be played. Specifically, the target preloading configuration corresponds to a preloading delay parameter, that is, when a current video is played, a preloading operation is not performed, normal playing is performed first, that is, a preloading video with the same value as the preloading delay parameter in the preloading video list is played under the condition that preloading is not performed, and then the preloading video which is not played in the preloading video list is preloaded according to the target preloading configuration. It should be noted that the present disclosure is not limited to specific values of the pre-loading delay parameter.
For example, the preload delay parameter may be set to 7, that is, after the first 7 videos in the preloaded video list have been played, the unplayed preloaded videos in the preloaded video list are preloaded according to the target preload configuration.
Further, the preload delay parameter may be set to 0, that is, the unplayed preloaded video in the preloaded video list is preloaded directly according to the target preload configuration.
Through the steps of S610 to S620, the preloaded video with the same value as the preloaded delay parameter in the preloaded video list can be played, and the preloaded video that is not played in the preloaded video list is preloaded according to the target preloading configuration.
In an example embodiment of the present disclosure, a first target preload configuration may be determined in accordance with aspects of the present disclosure, during or after preloading of the preloaded video according to the first target preloading configuration, switching from the current video to the first preloaded video in the preloaded video list for playing in response to a switching operation of a user, at this time, the scheme of the present disclosure may be applied to determine the second target preloading configuration again, then preloading is performed again on the remaining preloaded videos in the preloaded video list according to the second target preloading configuration, if all or part of the preloaded videos in the preloaded video list have satisfied the second target preloading configuration, and ignoring, and if all or part of the preloaded videos in the pre-preloaded video list do not meet the second target preloading configuration, preloading all or part of the preloaded videos according to the second target preloading configuration.
For example, the first target preload is configured to: the method comprises the steps that a preloaded video A is preloaded with 400KB, a preloaded video B is preloaded with 800KB, a preloaded video C is preloaded with 800KB, a preloaded video D is preloaded with 400KB, and a preloaded video E is preloaded with 400KB, the five preloaded videos are loaded according to a first target preloading configuration, at the time, in response to a switching operation of a user, the current video is switched to the first preloaded video (the preloaded video A) in a preloaded video list to be played, at the time, the current preloaded video A is preloaded with 400KB, the preloaded video B is preloaded with 800KB, the preloaded video C is preloaded with 200KB, the preloaded video D is preloaded with 0KB, and the preloaded video E is preloaded with 0KB, at the time, a second target preloading configuration is determined again by applying the scheme of the present disclosure, and the second target preloading configuration is as follows: preloaded video B preload 400KB, preloaded video C preload 800KB, preloaded video D preload 800KB, preloaded video E preload 400KB, preloaded video F preload 400KB, at which point preloaded video B has been preloaded 800KB satisfying the requirement for and with preloaded video B in the second target preload configuration (preload 400KB), i.e. ignoring preloaded video B, preloaded video C has been preloaded 200KB but not satisfying the requirement for and with preloaded video C in the second target preload configuration (preload 800KB), i.e. at which point preloaded video C needs to be preloaded 600KB again to satisfy the second target preload configuration, preloaded video D has been preloaded 0KB but not satisfying the requirement for and with preloaded video D in the second target preload configuration (preload 800KB), i.e. at which preloaded video D needs to be preloaded 800KB again to satisfy the second target preload configuration, the same approach also requires preloading the preloaded video E and preloaded video F by 400KB to meet the second target preload configuration.
In an example embodiment of the present disclosure, as shown in fig. 7, when a current video is played, a preload policy string is obtained from a server by a josn method, and is parsed into a preload policy by a preloadstrategohelper, and a page identifier is obtained in Biz (page), the preload policy and the page identifier are input into a launcher (page launcher) as parameters (strategparam), then the parameters are input into a container, finally the parameters are input into a preload frame (preload SDK), and then the scheme of the present disclosure is executed by the preload frame.
In an example embodiment of the present disclosure, the preloading strategies may include a plurality of preloading strategies, each of the preloading strategies may include a strategy parameter sub-range corresponding to a plurality of preloading parameters, the plurality of preloading strategies may be traversed, and for a certain preloading strategy, it may be determined whether the preloading parameter satisfies the strategy parameter sub-range corresponding to the preloading parameter, if so, it may be determined whether a next preloading parameter satisfies the strategy parameter sub-range corresponding to the preloading parameter, if not, the current preloading strategy is not used, and the next preloading strategy is determined, and so on, if all the preloading strategies are not satisfied, a general preloading configuration is used.
In the video processing method provided by an embodiment of the present disclosure, a preload parameter corresponding to a preload policy may be obtained, a target preload configuration is determined according to the preload parameter and the preload policy, and a preload video is preloaded according to the preload configuration. On one hand, different preloading strategies can be set according to different conditions, and the preloaded video is preloaded through different target preloading configurations, so that the flexibility of a preloading scheme can be greatly improved; on the other hand, the preloaded video is preloaded through the target preloading configuration, the problem of flow waste or bandwidth waste can be avoided, the cost and the bandwidth cost are reduced on the basis of ensuring smooth watching of a user, the user scene can be better adapted, and the user experience is improved.
Fig. 8 is a block diagram illustrating a video processing device according to an example embodiment. Referring to fig. 8, the video processing apparatus 800 includes a preloaded video list obtaining unit 810, a target preload configuration determining unit 820, and a preloading unit 830.
The device comprises a preloaded video list acquisition unit, a video display unit and a video display unit, wherein the preloaded video list acquisition unit is configured to acquire a preloaded video list corresponding to a video in the playing process of the current video; the pre-loading video list comprises a plurality of pre-loading videos; the target preloading configuration determining unit is configured to execute the acquisition of at least one preloading parameter corresponding to the preloading strategy and determine a target preloading configuration according to the preloading parameter and the preloading strategy; a preloading unit configured to perform preloading of the preloaded video according to a target preloading configuration.
In an exemplary embodiment of the present disclosure, based on the foregoing solution, the preload policy includes a policy parameter range corresponding to at least one preload parameter, and the preload configuration is determined according to the preload parameter and the preload policy, and the video processing apparatus further includes: the first preloading configuration determining unit is configured to determine the preloading configuration corresponding to the preloading strategy as the target preloading configuration when the preloading parameter is located in the policy parameter range corresponding to the preloading parameter.
In an exemplary embodiment of the present disclosure, based on the foregoing solution, when the preload parameter is located in the policy parameter range corresponding to the preload parameter, the preload configuration corresponding to the preload policy is determined as the target preload configuration, and the video processing apparatus further includes: a preloading strategy obtaining unit configured to execute a plurality of preloading strategies corresponding to the obtaining preloading strategies; the strategy parameter sub-range acquisition unit is configured to execute acquisition of at least one strategy parameter sub-range corresponding to the pre-loading sub-strategy; and the second preloading configuration determination and acquisition unit is configured to determine the preloading sub-configuration corresponding to the preloading sub-strategy as the target preloading configuration when the preloading parameter is in the strategy parameter sub-range corresponding to the preloading sub-strategy.
In an exemplary embodiment of the present disclosure, based on the foregoing solution, the video processing apparatus further includes: the general preloading configuration obtaining unit is configured to obtain general preloading configuration corresponding to the preloading strategy when the preloading parameter is not located in the strategy parameter range corresponding to the preloading parameter; a third preload configuration determination acquisition unit configured to perform the determination of the generic preload configuration as the target preload configuration.
In an exemplary embodiment of the present disclosure, based on the foregoing scheme, at least one preload parameter corresponding to a preload policy is obtained, and a target preload configuration is determined according to the preload parameter and the preload policy, where the video processing apparatus further includes: the page identifier acquisition unit is configured to execute the acquisition of a page identifier corresponding to the video and acquire a page preloading strategy corresponding to the page identifier according to the page identifier; and the fourth preloading configuration determining and acquiring unit is configured to execute acquiring at least one preloading parameter corresponding to the page preloading strategy, and determine the target preloading configuration according to the preloading parameter and the page preloading strategy.
In an exemplary embodiment of the present disclosure, based on the foregoing solution, the target preloading configuration includes a number of preloaded videos and a preloading size, the preloaded videos are preloaded according to the target preloading configuration, and the video processing apparatus further includes: and the first preloading unit is configured to perform preloading on the preloaded videos according to the number of the preloaded videos and the preloading size.
In an exemplary embodiment of the present disclosure, based on the foregoing solution, the target preloading configuration includes a first round preloading configuration and a second round preloading configuration, the first round preloading configuration includes a first round preloading video number and a first round preloading size, the second round preloading configuration includes a second round preloading video number and a second round preloading size, and the preloaded videos are preloaded according to the preloaded video number and the preloaded size, and the video processing apparatus further includes: a first round preloading unit configured to perform preloading of preloaded videos according to a first round preloading video number and a first round preloading size; and the second round preloading unit is configured to perform preloading on the preloaded videos according to the second round preloading video quantity and the second round preloading size.
In an exemplary embodiment of the present disclosure, based on the foregoing scheme, the target preload configuration corresponds to a preload delay parameter, and the preload video is preloaded according to the target preload configuration, and the video processing apparatus further includes: the preloaded video playing unit is configured to execute playing of preloaded videos with the same value as the preloaded time delay parameter in the preloaded video list; and the second preloading unit is configured to perform preloading on the unplayed preloaded video in the preloaded video list according to the target preloading configuration.
In an exemplary embodiment of the present disclosure, based on the foregoing scheme, the preloading parameter is one or more of a terminal network status, a time length of playing time per time, a playing time, a terminal position, and a content of playing time per time.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An electronic device 900 according to such an embodiment of the disclosure is described below with reference to fig. 9. The electronic device 900 shown in fig. 9 is only an example and should not bring any limitations to the functionality or scope of use of the embodiments of the present disclosure.
As shown in fig. 9, the electronic device 900 is embodied in the form of a general purpose computing device. Components of electronic device 900 may include, but are not limited to: the at least one processing unit 910, the at least one storage unit 920, a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910), and a display unit 940.
Where the storage unit stores program code, the program code may be executed by the processing unit 910 to cause the processing unit 910 to perform the steps according to various exemplary embodiments of the present disclosure described in the above-mentioned "exemplary methods" section of this specification. For example, the processing unit 910 may execute step S110 shown in fig. 1, and obtain a preloaded video list corresponding to the video in the playing process of the current video; the pre-loading video list comprises a plurality of pre-loading videos; step S120, at least one preloading parameter corresponding to the preloading strategy is obtained, and target preloading configuration is determined according to the preloading parameter and the preloading strategy; and S130, preloading the preloaded video according to the target preloading configuration.
As another example, an electronic device may implement the various steps shown in FIG. 1.
The storage unit 920 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)921 and/or a cache memory unit 922, and may further include a read only memory unit (ROM) 923.
Storage unit 920 may also include a program/utility 924 having a set (at least one) of program modules 925, such program modules 925 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 930 can be any of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 900 may also communicate with one or more external devices 970 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 900, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 900 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interface 950. Also, the electronic device 900 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) via the network adapter 960. As shown, the network adapter 960 communicates with the other modules of the electronic device 900 via the bus 930. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as a memory comprising instructions, executable by a processor of an apparatus to perform the above-described method is also provided. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product comprising computer programs/instructions which, when executed by a processor, implement the video processing method in the above-described embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A video processing method, comprising:
in the playing process of the current video, acquiring a preloaded video list corresponding to the video; wherein the preloaded video list comprises a plurality of preloaded videos;
obtaining at least one preloading parameter corresponding to a preloading strategy, and determining a target preloading configuration according to the preloading parameter and the preloading strategy;
preloading the preloaded video according to the target preloading configuration.
2. The video processing method of claim 1, wherein the preload policy comprises a policy parameter range corresponding to at least one of the preload parameters, and wherein the determining the preload configuration according to the preload parameter and the preload policy comprises:
and when the preloading parameters are located in the strategy parameter range corresponding to the preloading parameters, determining the preloading configuration corresponding to the preloading strategy as a target preloading configuration.
3. The video processing method of claim 2, wherein the determining the pre-loading configuration corresponding to the pre-loading policy as the target pre-loading configuration when the pre-loading parameter is within the policy parameter range corresponding to the pre-loading parameter comprises:
acquiring a plurality of preloading strategies corresponding to the preloading strategies;
acquiring at least one strategy parameter sub-range corresponding to the pre-loading strategy;
and when the preloading parameters are positioned in the strategy parameter subrange corresponding to the preloading strategy, determining the preloading sub-configuration corresponding to the preloading strategy as the target preloading configuration.
4. The video processing method of claim 2, wherein the method further comprises:
when the preloading parameter is not in the strategy parameter range corresponding to the preloading parameter, acquiring a general preloading configuration corresponding to the preloading strategy;
determining the generic preload configuration as a target preload configuration.
5. The video processing method of claim 1, wherein the obtaining at least one preload parameter corresponding to a preload policy, and the determining a target preload configuration according to the preload parameter and the preload policy, comprises:
acquiring a page identifier corresponding to the video, and acquiring a page preloading strategy corresponding to the page identifier according to the page identifier;
at least one pre-loading parameter corresponding to a page pre-loading strategy is obtained, and a target pre-loading configuration is determined according to the pre-loading parameter and the page pre-loading strategy.
6. The video processing method of claim 1, wherein the target preload configuration comprises a preload video amount and a preload size, and wherein preloading the preload video according to the target preload configuration comprises:
preloading the preloaded video according to the number of preloaded videos and the preloading size.
7. A video processing apparatus, comprising:
the device comprises a preloaded video list acquisition unit, a video display unit and a video display unit, wherein the preloaded video list acquisition unit is configured to acquire a preloaded video list corresponding to a video in the playing process of the current video; wherein the preloaded video list comprises a plurality of preloaded videos;
the target preloading configuration determining unit is configured to execute acquisition of at least one preloading parameter corresponding to a preloading strategy, and determine a target preloading configuration according to the preloading parameter and the preloading strategy;
a preload unit configured to perform preloading of the preload video according to the target preload configuration.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the executable instructions to implement the video processing method of any of claims 1 to 6.
9. A computer-readable storage medium whose instructions, when executed by a processor of an electronic device, enable the electronic device to perform the video processing method of any of claims 1 to 6.
10. A computer program product comprising computer programs/instructions, characterized in that the computer programs/instructions, when executed by a processor, implement the video processing method of any of claims 1 to 6.
CN202111467149.7A 2021-12-03 2021-12-03 Video processing method, device, electronic equipment and medium Active CN113949935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111467149.7A CN113949935B (en) 2021-12-03 2021-12-03 Video processing method, device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111467149.7A CN113949935B (en) 2021-12-03 2021-12-03 Video processing method, device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN113949935A true CN113949935A (en) 2022-01-18
CN113949935B CN113949935B (en) 2024-03-12

Family

ID=79338825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111467149.7A Active CN113949935B (en) 2021-12-03 2021-12-03 Video processing method, device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN113949935B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225974A (en) * 2022-07-21 2022-10-21 中国平安人寿保险股份有限公司 Video processing method and device, electronic equipment and storage medium
CN116017040A (en) * 2022-12-02 2023-04-25 北京奇艺世纪科技有限公司 Multimedia content playing method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729438A (en) * 2013-12-30 2014-04-16 优视科技有限公司 Webpage preloading method and device
US20150200994A1 (en) * 2012-05-29 2015-07-16 Google Inc. Preloading resources of a web page
CN107888981A (en) * 2017-11-16 2018-04-06 北京小米移动软件有限公司 Audio frequency and video preload method, apparatus, equipment and storage medium
CN110069739A (en) * 2019-04-28 2019-07-30 百度在线网络技术(北京)有限公司 The page preloads method and device
CN110868626A (en) * 2019-11-06 2020-03-06 北京达佳互联信息技术有限公司 Method and device for preloading content data
CN111639289A (en) * 2020-05-13 2020-09-08 北京三快在线科技有限公司 Webpage loading method and device
CN112203111A (en) * 2020-09-29 2021-01-08 北京达佳互联信息技术有限公司 Multimedia resource preloading method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150200994A1 (en) * 2012-05-29 2015-07-16 Google Inc. Preloading resources of a web page
CN103729438A (en) * 2013-12-30 2014-04-16 优视科技有限公司 Webpage preloading method and device
CN107888981A (en) * 2017-11-16 2018-04-06 北京小米移动软件有限公司 Audio frequency and video preload method, apparatus, equipment and storage medium
CN110069739A (en) * 2019-04-28 2019-07-30 百度在线网络技术(北京)有限公司 The page preloads method and device
CN110868626A (en) * 2019-11-06 2020-03-06 北京达佳互联信息技术有限公司 Method and device for preloading content data
CN111639289A (en) * 2020-05-13 2020-09-08 北京三快在线科技有限公司 Webpage loading method and device
CN112203111A (en) * 2020-09-29 2021-01-08 北京达佳互联信息技术有限公司 Multimedia resource preloading method and device, electronic equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225974A (en) * 2022-07-21 2022-10-21 中国平安人寿保险股份有限公司 Video processing method and device, electronic equipment and storage medium
CN115225974B (en) * 2022-07-21 2024-04-05 中国平安人寿保险股份有限公司 Video processing method, device, electronic equipment and storage medium
CN116017040A (en) * 2022-12-02 2023-04-25 北京奇艺世纪科技有限公司 Multimedia content playing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113949935B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
Spiteri et al. From theory to practice: Improving bitrate adaptation in the DASH reference player
CN113949935A (en) Video processing method, video processing device, electronic equipment, video processing medium and video processing product
CN102036058B (en) Method, server, terminal and system for switching videos in video monitoring system
CN107659828A (en) Video image quality adjustment method, device, terminal device and storage medium
US8850055B1 (en) Intelligently streaming portions of media at higher quality over a limited bandwidth connection
MXPA04006412A (en) Sparse caching for streaming media.
US20180278704A1 (en) Information push method and electronic device
CN103200272B (en) A kind of Storage System for Stream Media and storage means
WO2011130027A2 (en) Media content improved playback quality
CN109348302A (en) Connect wheat user recommended method, device, server and storage medium in live streaming
US11748389B1 (en) Delegated decision tree evaluation
EP3800894A1 (en) Method and apparatus for detecting video playing quality
US20170168660A1 (en) Voice bullet screen generation method and electronic device
US20210279222A1 (en) Dynamic Buffer Lookahead in Adaptive Streaming Using Machine Learning
CN112423127A (en) Video loading method and device
CN110136713A (en) Dialogue method and system of the user in multi-modal interaction
CN106155828A (en) For play-back application resource control method and equipment
CN101702676A (en) Data buffering process and device
CN112839238A (en) Screen projection playing method and device and storage medium
CN108632667A (en) A kind of coding/decoding method and terminal of multimedia file
Pleşca et al. Multimedia prefetching with optimal Markovian policies
CN107172489A (en) TV applications software refreshing method, TV and computer-readable recording medium
CN114501084B (en) Play method, device, equipment and medium of player
US11924525B2 (en) Systems and methods for managing interruption of content presentation
CN107484040A (en) A kind of method for realizing network acceleration

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant