CN110807128B - Video preloading method, device, equipment and storage medium - Google Patents

Video preloading method, device, equipment and storage medium Download PDF

Info

Publication number
CN110807128B
CN110807128B CN201911025547.6A CN201911025547A CN110807128B CN 110807128 B CN110807128 B CN 110807128B CN 201911025547 A CN201911025547 A CN 201911025547A CN 110807128 B CN110807128 B CN 110807128B
Authority
CN
China
Prior art keywords
video
preloading
data content
preset
preloaded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911025547.6A
Other languages
Chinese (zh)
Other versions
CN110807128A (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 CN201911025547.6A priority Critical patent/CN110807128B/en
Publication of CN110807128A publication Critical patent/CN110807128A/en
Application granted granted Critical
Publication of CN110807128B publication Critical patent/CN110807128B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/735Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Multimedia (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a video preloading method, a video preloading device, video preloading equipment and a video preloading storage medium, and relates to the technical field of video processing. The method comprises the following steps: receiving an acquisition request of a video page sent by a client; determining the preloaded data content of each video in the video page according to preset preloaded time; and indicating the client to finish the preloading operation of each video according to the determined preloading data content of each video. According to the method and the device, the server side determines the pre-loaded data content corresponding to each video according to the preset pre-loading duration, further, the pre-loaded data content of the video is determined at the server side, the situation that the client side analyzes the video file in the pre-loading process is avoided, and meanwhile the problems that the pre-loaded data content of part of the video files is insufficient and resources are wasted due to the fact that different video files are pre-loaded with the same data volume can be avoided.

Description

Video preloading method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of video processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for preloading a video.
Background
With the rapid development of the internet technology, video social contact gradually becomes an important part of daily life of people, but in the actual use process of videos, the conditions of slow playing speed, frequent blocking and the like often occur due to the influence of conditions such as network conditions, equipment performance and the like, and the user experience is seriously reduced.
How to increase the video starting speed and reduce the pause rate is generally to use a preloading mode for the video in the related art. For example, when a user plays a current video, the client downloads a part of data of other videos to be played to the local first, and when the user clicks to play the video, the player directly reads the locally cached data, so that the connection between the player and the video server is avoided when the user starts playing, and then the data is downloaded from the network, thereby achieving the purpose of increasing the playing speed.
However, in the related art, when the preloading is performed by loading the data size with a fixed time length, the client is required to analyze and process the video, so that the preloading operation performed by the client is complicated. Therefore, a new method for solving the above problems is urgently needed.
Disclosure of Invention
The present disclosure aims to provide a video preloading method and apparatus, so as to solve the problems that a client needs to analyze and process a video due to the loading of a data amount with a fixed time length, and the preloading operation flow is complex.
In a first aspect, the present disclosure provides a method for preloading a video, the method including:
receiving an acquisition request of a video page sent by a client;
determining the pre-loaded data content of each video in the video page according to the preset pre-loaded duration;
and indicating the client to finish the preloading operation of each video according to the determined preloading data content of each video.
In one embodiment, the videos are analyzed to obtain the number of bytes of each frame of each video, and the preloaded data content of each video is determined according to the number of bytes of each frame and the preset preloaded time; or analyzing the videos to obtain the offset and the time stamp of the key frame of each video, and determining the offset of the key frame of which the time stamp is closest to the preset preloading duration as the preloading data content of the corresponding video.
In one embodiment, response information is sent to the client, so that the client acquires corresponding preloaded data content according to the response information;
the response information includes a uniform resource locator URL of each video, or the response information includes the URL of each video and a data size of the preloaded data content corresponding to each URL, or the response information includes the preloaded data content of each video.
In one embodiment, determining the pre-loading data content of each video in the video page according to the preset pre-loading duration and by combining with video related information;
wherein the video-related information comprises at least one of: playing heat, click quantity, uploading time and estimated user preference.
In one embodiment, the means for incorporating the video-related information comprises at least one of:
in the operation mode 1, before the preloaded data content of each video is determined according to the preset preloaded time, the videos of which the video related information does not meet the preset video loading condition are filtered;
an operation mode 2, after the pre-loaded data content of each video is determined according to the preset pre-loading duration, adjusting the data volume of the pre-loaded data content by adopting the video related information;
and an operation mode 3, before the preloaded data content of each video is determined according to the preset preloaded time length, adjusting the preset preloaded time length by adopting the video related information.
In one embodiment, the preset video loading condition includes at least one of: the playing heat is greater than the preset heat, the click rate is greater than the preset click rate, the uploading time meets the requirement of a preset time period, and the estimated user preference is greater than the preset preference.
In one embodiment, the adjustment amount of the data amount of the preloaded data content is determined according to a first positive correlation between the adjustment amount and a value corresponding to an information type and/or at least one information type in the video related information;
adjusting the data volume of the preloaded data content according to the determined adjustment volume;
in the first positive correlation, the adjustment amount is proportional to the magnitude of the information of each information type, and when the video related information includes a plurality of information types, the adjustment amount is proportional to the type of the information type included in the video related information.
In one embodiment, the adjustment duration of the preset preloaded duration is determined according to a second positive correlation between the adjustment duration and the video related information;
adjusting the preset preloading duration according to the determined adjustment duration;
in a second aspect, the present disclosure provides a method for preloading a video, the method including:
sending an acquisition request of a video page to a server;
and completing the preloading operation according to the indication of the server, wherein the indication is sent by the server after determining the preloading data content of each video of the video page, and the preloading data content is determined by the server according to the preset preloading duration.
In an embodiment, the indication is response information sent by the server, where the response information includes a uniform resource locator URL of each video, or the response information includes the URL of each video and a data amount of preloaded data content corresponding to each URL, or the response information includes the preloaded data content of each video.
In one embodiment, before the completing the preloading operation according to the instruction of the server, the method further includes: and filtering the preloaded data content of the video which does not meet the preset video loading condition.
In one embodiment, the preset video loading condition includes at least one of: the playing heat is greater than the preset heat, the click rate is greater than the preset click rate, the uploading time meets the requirement of a preset time period, the estimated user preference is greater than the preset preference, and when the response information comprises the data volume corresponding to each URL, the data volume of the preloaded data content meets the condition of the specified data volume.
In one embodiment, for each of the videos:
and completing the preloading operation of the corresponding preloading data content based on the URL of the preloading data content of each video.
In a third aspect, the present disclosure provides an apparatus for preloading video, the apparatus comprising:
the receiving module is configured to execute an acquisition request for receiving a video page sent by a client;
the determining module is configured to determine the preloaded data content of each video in the video page according to a preset preloaded time;
and the indicating module is configured to execute the preloading data content according to the determined videos and indicate the client to finish the preloading operation of the videos.
In one embodiment, the apparatus further comprises:
the determination module configured to perform:
analyzing each video to obtain the byte number of each frame of each video, and determining the pre-loaded data content of each video according to the byte number of each frame and the preset pre-loaded duration; or analyzing the videos to obtain the offset and the time stamp of the key frame of each video, and determining the offset of the key frame of which the time stamp is closest to the preset preloading duration as the preloading data content of the corresponding video.
In one embodiment, the apparatus further comprises:
the indication module is configured to perform:
sending response information to the client so that the client can acquire corresponding preloaded data content according to the response information;
the response information includes a uniform resource locator URL of each video, or the response information includes the URL of each video and a data size of the preloaded data content corresponding to each URL, or the response information includes the preloaded data content of each video.
In one embodiment, the apparatus further comprises:
the determining module configured to perform:
determining the preloaded data content of each video in the video page according to the preset preloaded time and by combining with video related information;
wherein the video-related information comprises at least one of: playing heat, click quantity, uploading time and estimated user preference.
In one embodiment, the apparatus further comprises:
the determination module is configured to perform:
the means for incorporating the video-related information comprises at least one of:
in the operation mode 1, before the preloaded data content of each video is determined according to the preset preloaded time, the videos of which the video related information does not meet the preset video loading condition are filtered;
an operation mode 2, after the pre-loaded data content of each video is determined according to the preset pre-loading duration, adjusting the data volume of the pre-loaded data content by adopting the video related information;
and an operation mode 3, before the preloaded data content of each video is determined according to the preset preloaded time length, adjusting the preset preloaded time length by adopting the video related information.
In one embodiment, the apparatus further comprises:
the preset video loading condition comprises at least one of the following conditions: the playing heat is greater than the preset heat, the click rate is greater than the preset click rate, the uploading time meets the requirement of a preset time period, and the estimated user preference is greater than the preset preference.
In one embodiment, the apparatus further comprises:
the determination module is configured to perform:
determining the adjustment amount of the data amount of the preloaded data content according to a first positive correlation between the adjustment amount and a numerical value corresponding to the information type and/or at least one information type in the video related information;
adjusting the data volume of the preloaded data content according to the determined adjustment volume;
in the first positive correlation, the adjustment amount is proportional to the magnitude of the information of each information type, and when the video related information includes a plurality of information types, the adjustment amount is proportional to the type of the information type included in the video related information.
In one embodiment, the apparatus further comprises:
the determination module is configured to perform:
determining the adjustment time length of the preset preloading time length according to a second positive correlation relation between the adjustment time length and the video related information;
adjusting the preset preloading time according to the determined adjusting time;
in the second positive correlation, the adjustment duration is in direct proportion to the magnitude of the information of each information type of the video related information, and when the video related information includes multiple information types, the adjustment duration is in direct proportion to the type of the information type included in the video related information.
In a fourth aspect, the present disclosure provides an apparatus for preloading video, the apparatus comprising:
the sending module is configured to send the acquisition request of the video page to the server;
the preloading operation module is configured to execute preloading operation completed according to an instruction of the server, wherein the instruction is sent by the server after determining the preloading data content of each video of the video page, and the preloading data content is determined by the server according to a preset preloading duration.
In one embodiment, the apparatus further comprises:
the indication is response information sent by the server, where the response information includes a Uniform Resource Locator (URL) of each video, or the response information includes the URL of each video and a data amount of preloaded data content corresponding to each URL, or the response information includes the preloaded data content of each video.
In one embodiment, the apparatus further comprises:
and the filtering module is configured to execute the pre-loading data content for filtering out the videos which do not meet the preset video loading condition before the pre-loading operation module completes the pre-loading operation according to the instruction of the server.
In one embodiment, the apparatus further comprises:
the preset video loading condition comprises at least one of the following conditions: the playing heat is greater than the preset heat, the click rate is greater than the preset click rate, the uploading time meets the requirement of a preset time period, the estimated user preference is greater than the preset preference, and when the response information comprises the data volume corresponding to each URL, the data volume of the preloaded data content meets the condition of the specified data volume.
In one embodiment, the apparatus further comprises:
the preload operation module is configured to perform:
performing, for each of the videos:
and completing the preloading operation of the corresponding preloading data content based on the URL of the preloading data content of each video.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a computer storage medium for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of the first aspect and/or the second aspect.
According to a sixth aspect provided by embodiments of the present disclosure, there is provided a computer storage medium having stored thereon computer-executable instructions for performing the method according to the first and/or second aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the present disclosure provides a preloading method, apparatus, device and storage medium of video. The method comprises the following steps: receiving a request for acquiring a video page sent by a client; determining the preloaded data content of each video in the page according to the preset preloaded time length; and indicating the client to finish the preloading operation of each video according to the determined preloading data content of each video. According to the method and the device, the server can determine the pre-loaded data content corresponding to each video according to the preset pre-loading duration, so that the problem of complex pre-loading operation process is simplified, and further, when the server determines the pre-loaded data content, the server has more information which can be referred to relative to the client, so that the determination of the pre-loaded data content can be determined according to actual business requirements, and the problem of too much or too little pre-loaded data content is avoided.
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 schematic diagram of a suitable scenario in accordance with an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a video preloading procedure according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a requested page according to one embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a video preloading procedure according to an embodiment of the present disclosure;
FIG. 5 is a flowchart illustrating a video preloading method according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a video pre-loading device according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of another video preloading device according to an embodiment of the present disclosure;
FIG. 8 is a schematic structural diagram of an electronic device according to one embodiment of the present disclosure.
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.
In the related art, as described in the background art, when preloading is performed by loading a data size with a fixed time length, a client needs to analyze and process a video, so that the client has a complicated operation flow for executing preloading.
In view of the above, the present disclosure provides a video preloading method.
Fig. 1 is a schematic diagram of an applicable scenario in the embodiment of the present disclosure. The application scenario includes a terminal 10, a service server 11, and a video server 12, and the service server and the video server may together form a server. The terminal is provided with a client, and a user performs video operations such as browsing, downloading and uploading videos through the client.
Firstly, a client can send an acquisition request of a video page to a service server based on user operation, the service server 11 receives the acquisition request of the video page, then, according to a preset preloading duration, the preloading data content of each video in the video page is determined, and then, the client is instructed to complete the preloading operation.
For example, the service server 11 may notify the client of the URL of the preloaded data content of each video, where the URL usually points to the video server, and then the client accesses the video server through the URL to download the corresponding preloaded data content from the video server, thereby completing the preloading operation.
Therefore, in the disclosure, the server determines the content of the preloaded data of each video in the video page according to the preset preloading duration, and instructs the client to complete the preloading operation of each video. The client only needs to download the corresponding preloaded data content according to the indication of the server, and does not need to analyze and process the video, so that the process of determining the preloaded data content by the client can be simplified.
Referring to fig. 2, the present disclosure discloses a method of video preloading, the method comprising:
a client application is opened in the terminal in response to a user operation. The client application displays an operation interface of the client. The operation of responding to the user operation, for example responding to the user request to find the page, is performed in the operation interface. The discovery page may include a plurality of videos therein. Thus, in step 201, the client sends an acquisition request of the video page to the server. The acquisition request may include a page identifier and a user identifier.
In step 202, after receiving an acquisition request for acquiring a video page sent by a client, a server determines preloaded data contents of videos in the video page according to a preset preloading duration. Then, in step 203, the server instructs the client to complete the preloading operation on each video according to the preloaded data content of each video.
Based on the embodiment of the application, the server determines the pre-loading data of each video according to the preset pre-loading duration, so that the operation of the client for completing the video pre-loading can be simplified, and the determination of the pre-loading data content does not need to be performed by the client, thereby reducing the performance requirement on the client. In addition, based on the data of loading the preset preloading duration, the client can be ensured to play, the fluency of playing the video can be ensured, and the playing start is not blocked.
In one embodiment, when the server determines the preloaded data content, the server has more information to refer to than the client, so that the determination of the preloaded data content can be determined according to actual service needs. For example, as to how to determine the preloaded content of each video in the video page according to the preset preloaded time length, in one embodiment, one of the following two ways may be implemented:
mode 1), analyzing the videos to obtain the byte number of each frame of each video, and determining the pre-loaded data content of each video according to the byte number of each frame and the preset pre-loaded duration.
For example, if the preset loading duration is 5 seconds, the frame rate is 10, and the number of bytes per frame is a, the total preloaded data amount is 50A. Thereby determining the preloaded data content.
Mode 2), analyzing the videos to obtain the offsets of the key frames of the videos and the time stamps, and determining the offset of the key frame with the time stamp closest to the preset preloading duration as the preloading data content of the corresponding video.
For example, if the preload duration is 5 seconds, the timestamp of the key frame is 4.9 seconds, and the timestamp of the next key frame is 5.1 seconds, then it can be determined that the timestamp of the key frame of 4.9 seconds is closest to the preload duration. Therefore, the offset of the key frame of 4.9 seconds is determined to be the data amount of the preloaded data content, so as to determine the preloaded data content.
Through the two modes, the pre-loaded content of each video can be conveniently determined according to the preset pre-loading duration.
In regard to the instruction performed in step 203 to instruct the client to complete the preloading operation on the videos, in one embodiment, the instruction may be performed to send response information to the client, so that the client obtains corresponding preloaded data contents according to the response information; wherein, the response message may include one of the following three messages:
1) and the Uniform Resource Locators (URLs) of the videos, so that the client can access and download corresponding preloaded data contents according to the URLs.
2) And the response information comprises the URL of each video and the data size corresponding to each URL.
In this embodiment, the client may access and download the corresponding preloaded data content according to the URL, and perform the preloading operation according to the data size of each preloaded data content, so that the client can know the downloaded data size. For example, the size of the data volume is 10M (megabyte), and the client may stop the preloading operation after downloading the 10M data volume by connecting the port with the server.
3) And the response information comprises the pre-loaded data content of each video.
In this embodiment, the server may directly feed back the determined preloaded data content to the client, and the client receives the data to complete the preloading operation.
For example, the discovery page shown in fig. 3 includes video 1, video 2, video 3, and video 4. After the server receives the obtaining request for accessing the video page shown in fig. 3, the server may parse out that the page includes 4 videos as described above. And then, the server determines the pre-loading data contents of 4 videos in the video page according to a preset pre-loading time length, and instructs the client to finish the pre-loading operation of the 4 videos in the page according to the determined pre-loading data contents of the 4 videos. For example, the server may determine URLs of the 4 videos, and send response information carrying the URLs of the videos to the client, so that the client completes the preloading operation of the corresponding videos.
In one embodiment, network traffic is saved in order to assist the client in completing more accurate preloading operations. In the embodiment of the application, the preloaded data content can be determined according to the preset preloaded time length, and the preloaded data content of each video in the video page can be determined by further combining with the video related information on the basis of adopting the preset preloaded time length. Wherein the video-related information may include at least one of: playing heat, click quantity, uploading time, estimated user preference and the like. In implementation, the accuracy of determining the preloaded data content can be improved as much as possible, and information capable of meeting the requirements of the client can be used as video related information and applied to the embodiment of the disclosure.
Based on the video related information, the server side can flexibly determine the preloaded data content based on the information such as the playing heat, the click rate and the like. The click rate of the video can reflect the quality of the video and the preference of a user on a certain level, the higher the click rate of the video is, the higher the possibility that the video is clicked is, the preloaded data content can be in direct proportion to the click rate of the video when the preloaded data content is determined, and therefore, for the video with high click rate, a client can load more, so that the user experience can be smooth when the video is played.
Some descriptions are made herein on how to combine the video-related information, and it should be understood that these descriptions are only used to better understand the technical solutions provided by the embodiments of the present disclosure, but not used to limit the solutions of the embodiments of the present disclosure. In one implementation, the means for incorporating the video-related information includes one of:
in the operation mode 1, before the pre-loading data content of each video is determined according to the preset pre-loading duration, videos of which the video related information does not meet the preset video loading condition are filtered;
for example, 10 videos are included in the page, and 7 videos do not satisfy the preset video loading condition, the client may only preload the remaining three videos. And the rest 7 videos are not preloaded, so that the bandwidth occupation and the traffic consumption caused by the preloading operation of the 7 videos which do not meet the conditions are avoided.
Based on the preset video loading conditions, which videos in the page are probably not clicked can be estimated, and for the videos which are not clicked, the flow can be saved by not performing preloading operation. In one embodiment, the preset video loading condition includes at least one of the following: the playing heat is greater than the preset heat, the click rate is greater than the preset click rate, the uploading time meets the requirement of a preset time period, and the estimated user preference is greater than the preset preference.
For example, when the click volume of a video is less than a preset click volume, the video may be filtered out without determining to preload data content. Therefore, whether preloading is carried out can be determined according to the preset video loading conditions, and the downloading of video contents which cannot be played at the client side is avoided by filtering videos which cannot be browsed by a user basically, so that the purposes of saving network flow and processing resources of the server side and the client side are achieved.
An operation mode 2, after the pre-loaded data content of each video is determined according to the preset pre-loading duration, adjusting the data volume of the pre-loaded data content by adopting the video related information;
for example, when the popularity of a certain video is high, it indicates that the viewing volume of the video is large, so the data volume of the preloaded data content of the video can be increased a little. The watching of the user is prevented from being influenced.
And in the operation mode 3, before the pre-loading data content of each video is determined according to the preset pre-loading time length, the preset pre-loading time length is adjusted by adopting the video related information.
For example, before determining the preloaded data content of each video according to the preset preload duration, the upload time of a certain video is relatively new, so that the video is arranged above a video page, and the play amount is higher than that of other videos, so that the preset preload duration of the video can be adjusted to be longer, and the user experience is smoother.
Therefore, the server side can flexibly determine the pre-loaded content of each video by combining the related information of the video.
In one embodiment, in the foregoing operation mode 2, the adjusting the data amount in the preloaded data may be implemented by determining an adjustment amount of the data amount of the preloaded data content according to a first positive correlation between the adjustment amount and a value corresponding to an information type and/or at least one information type in the video related information; adjusting the data volume of the preloaded data content according to the determined adjustment volume; in the first positive correlation, the adjustment amount is proportional to the magnitude of the information of each information type, and when the video related information includes a plurality of information types, the adjustment amount is proportional to the type of the information type included in the video related information.
For example, the playing heat, the click rate, the uploading time, and the estimated user preference in the video related information are each an information type, and the information of each information type has a corresponding numerical value.
The influence of different information types on the adjustment amount can be different, for example, the estimated user preference can better represent the possibility that the user at the client side watches the corresponding video, and can describe the requirement of the user better than the uploading time, so that the influence of the preference of the user on the adjustment amount is larger than that of the long uploading time.
In order to measure the influence of the values of various types of information on the adjustment quantity, the values of various types can be normalized so as to compare the influence of the values of various types on the adjustment quantity on the same scale. When the adjustment amount is determined based on the numerical value, the larger the adjustment amount.
In a word, the determined data size of the preloaded data content is in direct proportion to the playing popularity, the click rate, the uploading time and the estimated user preference. When multiple types of information are included in the video-related information, the adjustment of the data amount with respect to a single type of information is larger. For example, when the video related information only includes the playing popularity, the adjustment amount is a, and on the premise that the playing popularity is the same as the value of the playing popularity, when the playing popularity and the click rate are included, the adjustment amount is B, where B is greater than a.
Therefore, in the embodiment of the application, the data volume of the preloaded data content can be adjusted according to the first positive correlation between the adjustment volume and the value corresponding to the information type and/or at least one information type in the video related information, so that the preloaded data content can be determined more flexibly, and the preloaded data content can be determined according to the requirement.
Similarly, in an embodiment, as to how to adjust the preset preload duration according to the related information of the video in the foregoing operation mode 3, the adjustment duration of the preset preload duration may be determined according to a second positive correlation between the adjustment duration and the related information of the video; adjusting the preset preloading duration according to the determined adjustment duration; in the second positive correlation, the adjustment duration is in direct proportion to the magnitude of the information of each information type of the video related information, and when the video related information includes multiple information types, the adjustment duration is in direct proportion to the type of the information type included in the video related information.
Similarly, different types of information may have different effects on the adjustment duration, e.g., the estimated user preference may have a greater effect on the adjustment duration than the upload time.
The influence of the value of the information on the adjustment duration is that the larger the value is, the larger the influence on the adjustment duration is.
Therefore, the pre-loading duration of the preset video can be adjusted according to the condition that the adjustment duration is in direct proportion to the numerical value of the information of each information type of the video related information.
Accordingly, how the client completes the preloading operation can be shown in fig. 4, which includes the following steps:
step 401: and sending the acquisition request of the video page to a server.
Step 402: and completing the preloading operation according to the instruction of the server, wherein the instruction is sent by the server after determining the preloading data content of each video of the video page, and the preloading data content is determined by the server according to the preset preloading duration.
Has the beneficial effects that: the client sends a video page amount acquisition request to the server, and after the server determines the pre-loaded data content of each video according to the preset pre-loading duration, the client receives an instruction of the server for completing the pre-loading operation. The client does not need to determine the pre-loaded data content of each video, so that the process that the client completes the pre-recording operation can be simplified, the requirement on the performance of the client is lowered, the pre-loaded data content of each video is determined according to the preset pre-loading duration, and the problem that the pre-loaded data content is too much or too little is solved.
In an embodiment, the indication is response information sent by the server, where the response information includes a uniform resource locator URL of each video, or the response information includes the URL of each video and a data size corresponding to each URL, or the response information includes preloaded data content of each video.
Therefore, the client can perform preloading operation according to the response information sent by the server.
Of course, determining which videos to preload may be performed by the server or the client. When the client determines which videos to preload, the client may also filter out videos that do not need to be preloaded according to the preset video loading condition. In implementation, the client may filter out the preloaded data content of the video that does not satisfy the preset video loading condition before step 402. The details of how to filter the waste water are described above and will not be described herein. It should be noted here that, when the client completes filtering, the preset video loading condition includes at least one of the following: the playing heat is greater than the preset heat, the click rate is greater than the preset click rate, the uploading time meets the requirement of a preset time period, the estimated user preference is greater than the preset preference, and when the response information comprises the data volume corresponding to each URL, the data volume of the preloaded data content meets the condition of the specified data volume. For example: the specified data volume condition is 50kb, when the data volume corresponding to each URL in the response information is greater than or equal to 50kb, the preloading operation can be carried out, and when the data volume corresponding to a certain URL is less than 50kb, the preloading operation can not be carried out on the video corresponding to the URL.
In one embodiment, when the URL is included in the response information, the foregoing step 402 may be implemented to perform, for each video: and completing the preloading operation of the corresponding preloading data content based on the URL of the preloading data content of each video.
The following modes can be implemented:
mode A: and performing preloading operation on the preloading data content of each video in the user browsing page, and ending the preloading operation on the video if the data volume of the received video reaches the data volume of the preloading data content of the video.
Wherein, the ending of the preloading operation can be implemented in the following ways:
1. disconnecting the connection and ending the preloading operation of the video.
2. The server sends response information to the client, the server sends each video preloading data content, and the client receives the preloading data content. If the client does not receive the preloaded data content successfully and waits for a certain period of time without receiving the preloaded data content of the video in the process, the client can resend the request to the server so as to continue preloading of the video. In implementation, the client and the server can complete preloading of the video based on breakpoint resuming.
To further understand the technical solution provided by the present disclosure, the following is described in comparison with fig. 5, and as shown in fig. 5, the present disclosure includes a service server, a video server, and a client, and the client may include two functional services: a service layer and a preloading module. By dividing the client into two functional services, the functions of the service layer and the preloading module can be separated at the client, so that the preloading module is only used for loading, and the service layer only processes service logic, for example, filters out a part of video information which is not required to be loaded. The client can conveniently maintain the functions of the service logic and the preloading module of the service layer respectively. When implemented, the method can comprise the following steps:
step 501: the client sends an acquisition request of the video page to the service server.
Step 502: and the service server determines the preloaded data content of each video in the video page according to the preset preloaded time and the video related information.
Step 503: and the service server indicates the client to finish the preloading operation of each video according to the determined preloading data content of each video in the video page.
Step 504: the client determines the videos needing to be loaded according to the service requirements, and sends video acquisition requests to the video server according to the URLs of the videos needing to be loaded.
Step 505: and the client receives the video URL returned by the video server, and does not need to filter if the service server filters the video URL, or performs filtering operation if the service server does not filter the video URL.
Step 506: and the client finishes the preloading operation according to the video URL and the corresponding preloading data content.
Based on the same inventive concept, the video generation method as described above in the present disclosure can also be implemented by a video generation apparatus. The effect of the device is similar to that of the method, and is not repeated herein.
Fig. 6 is a schematic structural diagram of a video generation apparatus according to an embodiment of the present disclosure.
As shown in fig. 6, the video generating apparatus 600 of the present disclosure may include a receiving module 610, a determining module 620, and an indicating module 630.
A receiving module 610 configured to execute receiving an acquisition request of a video page sent by a client;
the determining module 620 is configured to determine preloaded data contents of videos in the video page according to a preset preloading duration;
an instructing module 630, configured to execute, according to the determined preloaded data content of each video, instructing the client to complete a preloading operation on each video.
In one embodiment, the determining module 620 is configured to perform:
analyzing each video to obtain the byte number of each frame of each video, and determining the pre-loaded data content of each video according to the byte number of each frame and the preset pre-loaded duration; or analyzing the videos to obtain the offset and the time stamp of the key frame of each video, and determining the offset of the key frame of which the time stamp is closest to the preset preloading duration as the preloading data content of the corresponding video.
In one embodiment, the indication module 630 is configured to perform:
sending response information to the client so that the client can acquire corresponding preloaded data content according to the response information;
the response information includes a uniform resource locator URL of each video, or the response information includes the URL of each video and a data size of the preloaded data content corresponding to each URL, or the response information includes the preloaded data content of each video.
In one embodiment, the determining module 620 is configured to perform:
determining the preloaded data content of each video in the video page according to the preset preloaded time and by combining with video related information;
wherein the video-related information comprises at least one of: playing heat, click quantity, uploading time and estimated user preference.
In one embodiment, the determining module 620 is configured to perform:
the means for incorporating the video-related information comprises at least one of:
in the operation mode 1, before the preloaded data content of each video is determined according to the preset preloaded time, the videos of which the video related information does not meet the preset video loading condition are filtered;
an operation mode 2, after the pre-loaded data content of each video is determined according to the preset pre-loading duration, adjusting the data volume of the pre-loaded data content by adopting the video related information;
and an operation mode 3, before the preloaded data content of each video is determined according to the preset preloaded time length, adjusting the preset preloaded time length by adopting the video related information.
In one embodiment, the apparatus further comprises:
the preset video loading condition comprises at least one of the following conditions: the playing heat is greater than the preset heat, the click rate is greater than the preset click rate, the uploading time meets the requirement of a preset time period, and the estimated user preference is greater than the preset preference.
In one embodiment, the determining module 620 is configured to perform:
determining the adjustment amount of the data amount of the preloaded data content according to a first positive correlation between the adjustment amount and a numerical value corresponding to the information type and/or at least one information type in the video related information;
adjusting the data volume of the preloaded data content according to the determined adjustment volume;
in the first positive correlation, the adjustment amount is proportional to the magnitude of the information of each information type, and when the video related information includes a plurality of information types, the adjustment amount is proportional to the type of the information type included in the video related information.
In one embodiment, the determining module 620 is configured to perform:
determining the adjustment time length of the preset preloading time length according to a second positive correlation relation between the adjustment time length and the video related information;
adjusting the preset preloading time according to the determined adjusting time;
in the second positive correlation, the adjustment duration is proportional to a numerical value of information of each information type of the video related information, and when the video related information includes a plurality of information types, the adjustment duration is proportional to a type of the information type included in the video related information.
Based on the same inventive concept, the video generation method as described above in the present disclosure can also be implemented by a video generation apparatus. The effect of the device is similar to that of the method, and is not repeated herein.
Fig. 7 is a schematic structural diagram of a video generation apparatus according to an embodiment of the present disclosure.
As shown in fig. 7, the video generating apparatus 700 of the present disclosure may include a transmitting module 710 and a preload operation module 720.
A sending module 710 configured to execute sending an acquisition request of a video page to a server;
the preloading operation module 720 is configured to execute an instruction to complete preloading operation according to the server, where the instruction is sent by the server after determining the preloading data content of each video of the video page, and the preloading data content is determined by the server according to a preset preloading duration.
In an embodiment, the indication is response information sent by the server, where the response information includes a uniform resource locator URL of each video, or the response information includes the URL of each video and a data amount of preloaded data content corresponding to each URL, or the response information includes the preloaded data content of each video.
In one embodiment, the apparatus further comprises:
the filtering module 730 is configured to execute the pre-loading data content for filtering out the video which does not meet the preset video loading condition before the pre-loading operation module completes the pre-loading operation according to the instruction of the server.
In one embodiment, the preset video loading condition includes at least one of: the playing heat is greater than the preset heat, the click rate is greater than the preset click rate, the uploading time meets the requirement of a preset time period, the estimated user preference is greater than the preset preference, and when the response information comprises the data volume corresponding to each URL, the data volume of the preloaded data content meets the specified data volume condition.
In one embodiment, when the URL is included in the response information, the preload operation module 720 is configured to perform:
performing, for each of the videos:
and completing the preloading operation of the corresponding preloading data content based on the URL of the preloading data content of each video.
Having described a method and apparatus for preloading video according to an exemplary embodiment of the present application, an electronic device according to another exemplary embodiment of the present application will be described.
As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, method or program product. Accordingly, various aspects of the present application may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible implementations, an electronic device in accordance with the present application may include at least one processor, and at least one computer storage medium. The computer storage medium has stored therein program code which, when executed by a processor, causes the processor to perform the steps of the method for preloading of video according to various exemplary embodiments of the present application described above in this specification. For example, the processor may perform step 201 and 203 as shown in FIG. 2.
An electronic device 800 according to this embodiment of the application is described below with reference to fig. 8. The electronic device 800 shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 8, the electronic device 800 is represented in the form of a general electronic device. The components of the electronic device 800 may include, but are not limited to: the at least one processor 801, the at least one computer storage medium 802, and the bus 803 that connects the various system components (including the computer storage medium 802 and the processor 801).
Bus 803 represents one or more of any of several types of bus structures, including a computer storage media bus or computer storage media controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
The computer storage media 802 may include readable media in the form of volatile computer storage media, such as random access computer storage media (RAM)821 and/or cache storage media 822, and may further include read-only computer storage media (ROM) 823.
The computer storage media 802 may also include a program/utility 825 having a set (at least one) of program modules 824, such program modules 824 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.
The electronic device 800 may also communicate with one or more external devices 804 (e.g., keyboard, pointing device, etc.), with one or more devices that enable a user to interact with the electronic device 800, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 800 to communicate with one or more other electronic devices. Such communication may occur through input/output (I/O) interfaces 805. Also, the electronic device 800 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 806. As shown, the network adapter 806 communicates with the other modules for the electronic device 800 over the bus 803. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 800, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
In some possible embodiments, various aspects of a video preloading method provided by the present application may also be implemented in the form of a program product including program code for causing a computer device to perform the steps of a method for training a recognition model according to various exemplary embodiments of the present application described above in this specification when the program product is run on the computer device, for example, the computer device may perform the steps 201 and 205 shown in fig. 2.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable diskette, a hard disk, a random access computer storage media (RAM), a read-only computer storage media (ROM), an erasable programmable read-only computer storage media (EPROM or flash memory), an optical fiber, a portable compact disc read-only computer storage media (CD-ROM), an optical computer storage media piece, a magnetic computer storage media piece, or any suitable combination of the foregoing.
The preloaded program product for video of an embodiment of the present application may employ a portable compact disc read-only computer storage medium (CD-ROM) and include program code, and may be run on an electronic device. However, the program product of the present application is not so limited, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the consumer electronic device, partly on the consumer electronic device, as a stand-alone software package, partly on the consumer electronic device and partly on a remote electronic device, or entirely on the remote electronic device or server. In the case of remote electronic devices, the remote electronic devices may be connected to the consumer electronic device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to external electronic devices (e.g., through the internet using an internet service provider).
It should be noted that although several modules of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the modules described above may be embodied in one module according to embodiments of the application. Conversely, the features and functions of one module described above may be further divided into embodiments by a plurality of modules.
Further, while the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk computer storage media, CD-ROMs, optical computer storage media, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable computer storage medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable computer storage medium produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (18)

1. A method for preloading a video, the method comprising:
receiving an acquisition request of a video page sent by a client;
after the pre-loading data content of each video in the video page is determined according to the preset pre-loading duration, determining the adjustment amount of the data amount of the pre-loading data content according to the first positive correlation of the adjustment amount and the numerical value corresponding to the information type and/or at least one information type in the video related information; adjusting the data volume of the preloaded data content according to the determined adjustment volume; in the first positive correlation, the adjustment amount is directly proportional to the magnitude of the information of each information type, and when the video related information includes multiple information types, the adjustment amount is directly proportional to the type of the information type included in the video related information; the video-related information comprises at least one of: playing heat, click quantity, uploading time and estimated user preference;
and indicating the client to finish the preloading operation of each video according to the determined preloading data content of each video.
2. The method of claim 1, wherein the determining the preloaded data content of each video in the video page according to a preset preload duration comprises:
analyzing each video to obtain the byte number of each frame of each video, and determining the pre-loaded data content of each video according to the byte number of each frame and the preset pre-loaded duration; or the like, or, alternatively,
and analyzing the videos to obtain the offset and the time stamp of the key frame of each video, and determining the offset of the key frame of which the time stamp is closest to the preset preloading duration as the preloading data content of the corresponding video.
3. The method according to claim 1, wherein the instructing the client to complete the preloading operation of the videos according to the determined preloaded data contents of the videos comprises:
sending response information to the client so that the client can obtain corresponding preloaded data content according to the response information;
wherein the response information includes a Uniform Resource Locator (URL) of each video, or,
the response information includes the URLs of the videos and the data size of the preloaded data content corresponding to the URLs, or,
the response information comprises the preloaded data content of each video.
4. A method for preloading a video, the method comprising:
sending an acquisition request of a video page to a server;
completing a preloading operation according to an instruction of the server, wherein the instruction is sent by the server after determining the preloaded data content of each video of the video page, and the preloaded data content is obtained by determining the preloaded data content of each video in the video page by the server according to a preset preloading duration, and determining an adjustment quantity of the data quantity of the preloaded data content according to a first positive correlation of the adjustment quantity and a numerical value corresponding to an information type and/or at least one information type in video related information; adjusting the data size of the preloaded data content according to the determined adjustment amount, wherein in the first positive correlation, the adjustment amount is in direct proportion to the numerical value of the information of each information type, and when the video related information comprises a plurality of information types, the adjustment amount is in direct proportion to the types of the information types included in the video related information; the video-related information comprises at least one of: playing heat, click rate, uploading time and estimated user preference.
5. The method according to claim 4, wherein the indication is response information sent by the server, and the response information includes a Uniform Resource Locator (URL) of each video, or,
the response information includes the URLs of the videos and the data amounts of the preloaded data contents corresponding to the URLs, or,
the response information comprises the preloaded data content of each video.
6. The method of claim 5, wherein before the completing the preloading operation according to the indication of the server, the method further comprises: and filtering the preloaded data content of the video which does not meet the preset video loading condition.
7. The method of claim 6, wherein the preset video loading condition comprises at least one of: the playing heat is greater than the preset heat, the click rate is greater than the preset click rate, the uploading time meets the requirement of a preset time period, the estimated user preference is greater than the preset preference, and when the response information comprises the data volume corresponding to each URL, the data volume of the preloaded data content meets the specified data volume condition.
8. The method according to claim 5, wherein when the URL is included in the response message, the completing the preloading operation according to the indication of the server includes:
performing, for each of the videos:
and completing the preloading operation of the corresponding preloading data content based on the URL of the preloading data content of each video.
9. An apparatus for preloading video, the apparatus comprising:
the receiving module is configured to execute an acquisition request for receiving a video page sent by a client;
the determining module is configured to determine the adjustment amount of the data amount of each video in the video page according to a first positive correlation between the adjustment amount and a numerical value corresponding to an information type and/or at least one information type in video related information after determining the preloaded data content of each video according to a preset preloading duration; adjusting the data volume of the preloaded data content according to the determined adjustment volume; in the first positive correlation, the adjustment amount is directly proportional to the magnitude of the information of each information type, and when the video related information includes multiple information types, the adjustment amount is directly proportional to the type of the information type included in the video related information; the video related information comprises at least one of: playing heat, click quantity, uploading time and estimated user preference;
and the indicating module is configured to execute the preloading data content according to the determined videos and indicate the client to finish the preloading operation of the videos.
10. The apparatus of claim 9, wherein the determining module is configured to perform:
analyzing each video to obtain the byte number of each frame of each video, and determining the pre-loaded data content of each video according to the byte number of each frame and the preset pre-loaded duration; or the like, or, alternatively,
and analyzing the videos to obtain the offset and the timestamp of the key frame of each video, and determining the offset of the key frame of which the timestamp is closest to the preset preloading duration as the preloading data content of the corresponding video.
11. The apparatus of claim 9, wherein the indication module is configured to perform:
sending response information to the client so that the client can obtain corresponding preloaded data content according to the response information;
wherein the response information includes a Uniform Resource Locator (URL) of each video, or,
the response information includes the URL of each video and the data size of the preloaded data content corresponding to each URL, or,
the response information comprises the preloaded data content of each video.
12. An apparatus for preloading video, the apparatus comprising:
the sending module is configured to execute sending of an acquisition request of a video page to a server;
the preloading operation module is configured to execute a preloading operation completed according to an instruction of the server, wherein the instruction is sent by the server after determining the preloading data content of each video of the video page, and the preloading data content is obtained by determining the preloading data content of each video in the video page by the server according to a preset preloading duration, and determining an adjustment amount of the data amount of the preloading data content according to a first positive correlation of the adjustment amount and a numerical value corresponding to an information type and/or at least one information type in video related information; adjusting the data size of the preloaded data content according to the determined adjustment amount, wherein in the first positive correlation, the adjustment amount is in direct proportion to the numerical value of the information of each information type, and when the video related information comprises a plurality of information types, the adjustment amount is in direct proportion to the types of the information types included in the video related information; the video related information comprises at least one of: playing heat, click quantity, uploading time and estimated user preference.
13. The apparatus according to claim 12, wherein the indication is response information sent by the server, and the response information includes a Uniform Resource Locator (URL) of each video, or,
the response information includes the URLs of the videos and the data amount of the preloaded data content corresponding to each URL, or,
the response information comprises the preloaded data content of each video.
14. The apparatus of claim 13, further comprising:
and the filtering module is configured to execute the pre-loading data content for filtering out the videos which do not meet the preset video loading condition before the pre-loading operation module completes the pre-loading operation according to the instruction of the server.
15. The apparatus of claim 14, wherein the preset video loading condition comprises at least one of: the playing heat is greater than the preset heat, the click rate is greater than the preset click rate, the uploading time meets the requirement of a preset time period, the estimated user preference is greater than the preset preference, and when the response information comprises the data volume corresponding to each URL, the data volume of the preloaded data content meets the specified data volume condition.
16. The apparatus of claim 13, wherein when the URL is included in the response message, the preload operation module is configured to perform:
performing, for each of the videos:
and completing the preloading operation of corresponding preloading data contents based on the URL of the preloading data contents of each video.
17. An electronic device, comprising:
a processor;
a computer storage medium for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of preloading of video as claimed in any one of claims 1-8.
18. A computer storage medium having computer-executable instructions stored thereon, the computer-executable instructions configured to perform a method of preloading video according to any one of claims 1-8.
CN201911025547.6A 2019-10-25 2019-10-25 Video preloading method, device, equipment and storage medium Active CN110807128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911025547.6A CN110807128B (en) 2019-10-25 2019-10-25 Video preloading method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911025547.6A CN110807128B (en) 2019-10-25 2019-10-25 Video preloading method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110807128A CN110807128A (en) 2020-02-18
CN110807128B true CN110807128B (en) 2022-09-09

Family

ID=69489314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911025547.6A Active CN110807128B (en) 2019-10-25 2019-10-25 Video preloading method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110807128B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111432230A (en) * 2020-03-30 2020-07-17 杭州趣维科技有限公司 Mobile terminal video preloading method
CN111698281B (en) * 2020-04-26 2022-10-04 北京达佳互联信息技术有限公司 Resource downloading method and device, electronic equipment and storage medium
CN113688338A (en) * 2020-05-19 2021-11-23 上海惠芽信息技术有限公司 User data processing method, processing device and computer storage medium
CN112099910B (en) * 2020-08-28 2023-08-11 广州探迹科技有限公司 Preloading method for algorithm model in container cluster
CN112135169B (en) * 2020-09-18 2022-11-11 脸萌有限公司 Media content loading method, device, equipment and medium
CN112423123B (en) * 2020-11-20 2022-04-15 上海哔哩哔哩科技有限公司 Video loading method and device
CN112954409B (en) * 2021-03-31 2023-05-12 百果园技术(新加坡)有限公司 Video downloading method, device, server and storage medium
CN115225974B (en) * 2022-07-21 2024-04-05 中国平安人寿保险股份有限公司 Video processing method, device, electronic equipment and storage medium
CN115391582A (en) * 2022-09-27 2022-11-25 杭州涂鸦信息技术有限公司 Card processing method, electronic device and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580067A (en) * 2013-10-11 2015-04-29 北京大学 Multiserver-based stream media transmitting device and stream media transmitting method
CN107205160A (en) * 2017-06-27 2017-09-26 青岛海信电器股份有限公司 A kind of player method and device of the video issued for server
CN107613404A (en) * 2017-09-07 2018-01-19 北京达佳互联信息技术有限公司 Video broadcasting method, device and terminal
CN107888981A (en) * 2017-11-16 2018-04-06 北京小米移动软件有限公司 Audio frequency and video preload method, apparatus, equipment and storage medium
CN109982104A (en) * 2019-01-25 2019-07-05 武汉理工大学 The video of mobile awareness prefetches and caching Replacement Decision method in a kind of mobile edge calculations
CN109996094A (en) * 2017-12-29 2019-07-09 杭州海康威视系统技术有限公司 Video broadcasting method, apparatus and system
CN110110194A (en) * 2019-04-29 2019-08-09 百度在线网络技术(北京)有限公司 A kind of resource acquiring method, server, client and electronic equipment
CN110248239A (en) * 2019-06-24 2019-09-17 北京奇艺世纪科技有限公司 A kind of video content download method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8892720B2 (en) * 2009-02-12 2014-11-18 Arcsoft, Inc. System and method for network optimization through predictive downloading

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580067A (en) * 2013-10-11 2015-04-29 北京大学 Multiserver-based stream media transmitting device and stream media transmitting method
CN107205160A (en) * 2017-06-27 2017-09-26 青岛海信电器股份有限公司 A kind of player method and device of the video issued for server
CN107613404A (en) * 2017-09-07 2018-01-19 北京达佳互联信息技术有限公司 Video broadcasting method, device and terminal
CN107888981A (en) * 2017-11-16 2018-04-06 北京小米移动软件有限公司 Audio frequency and video preload method, apparatus, equipment and storage medium
CN109996094A (en) * 2017-12-29 2019-07-09 杭州海康威视系统技术有限公司 Video broadcasting method, apparatus and system
CN109982104A (en) * 2019-01-25 2019-07-05 武汉理工大学 The video of mobile awareness prefetches and caching Replacement Decision method in a kind of mobile edge calculations
CN110110194A (en) * 2019-04-29 2019-08-09 百度在线网络技术(北京)有限公司 A kind of resource acquiring method, server, client and electronic equipment
CN110248239A (en) * 2019-06-24 2019-09-17 北京奇艺世纪科技有限公司 A kind of video content download method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于HTTP的动态自适应流媒体传输算法;侯永宏等;《吉林大学学报(工学版)》;20180326(第04期);第273-282页 *

Also Published As

Publication number Publication date
CN110807128A (en) 2020-02-18

Similar Documents

Publication Publication Date Title
CN110807128B (en) Video preloading method, device, equipment and storage medium
US8874700B2 (en) Optimizing storage of data files
CN108848060B (en) Multimedia file processing method, processing system and computer readable storage medium
US9344517B2 (en) Downloading and adaptive streaming of multimedia content to a device with cache assist
EP3340633A1 (en) Terminal, cache server, and method for acquiring video slices and device thereof
TWI470983B (en) Method and apparatus for updating http content descriptions
CN106572358A (en) Live broadcast time shift method and client
CN104506937A (en) Method and system for sharing processing of audios and videos
EP3800894A1 (en) Method and apparatus for detecting video playing quality
JP6314252B2 (en) Network video playback method and apparatus
EP3866481A1 (en) Audio/video switching method and apparatus, and computer device and readable storage medium
CN111510789B (en) Video playing method, system, computer equipment and computer readable storage medium
Xiao et al. Dash2m: Exploring http/2 for internet streaming to mobile devices
US20120246570A1 (en) Managing a portal application
CN112449250B (en) Method, device, equipment and medium for downloading video resources
TWI602431B (en) Method and device for transmitting information
CN108259998A (en) Player and control method for playing back, device, electronic equipment and play system
CN113315810B (en) Online audio playing method and equipment
CN111510790A (en) Video request method, system, computer device and computer readable storage medium
CN116450353A (en) Processor core matching method and device, electronic equipment and storage medium
WO2017185632A1 (en) Data transmission method and electronic device
US9350796B2 (en) Method and device for receiving multimedia data
CN106899843B (en) A kind of video service quality appraisal procedure and device
CN112423099A (en) Video loading method and device and electronic equipment
CN113556200A (en) Clock calibration method, and network security protection method and device based on clock synchronization

Legal Events

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