WO2018000624A1 - Video playing control method and device - Google Patents

Video playing control method and device Download PDF

Info

Publication number
WO2018000624A1
WO2018000624A1 PCT/CN2016/100343 CN2016100343W WO2018000624A1 WO 2018000624 A1 WO2018000624 A1 WO 2018000624A1 CN 2016100343 W CN2016100343 W CN 2016100343W WO 2018000624 A1 WO2018000624 A1 WO 2018000624A1
Authority
WO
WIPO (PCT)
Prior art keywords
duration
video
preset
played
cache
Prior art date
Application number
PCT/CN2016/100343
Other languages
French (fr)
Chinese (zh)
Inventor
周科
韩卓林
Original Assignee
乐视控股(北京)有限公司
乐视网信息技术(北京)股份有限公司
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 乐视控股(北京)有限公司, 乐视网信息技术(北京)股份有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2018000624A1 publication Critical patent/WO2018000624A1/en

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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/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/47217End-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 controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Definitions

  • Embodiments of the present invention relate to the field of video technologies, and in particular, to a video playback control method and apparatus.
  • the inventors have found that many users do not read the entire complete video without interruption. For example, after the user waits for the video to be cached for a period of time and starts broadcasting, many users will drag the progress bar of the video backward after watching the video for a certain period of time to continue watching. In this way, there are many times when the video is cached and not viewed by the user, which causes waste of resources, and the video needs to be re-cached after the progress bar is dragged, which causes the user to wait too long.
  • the present invention provides a video playback control method and apparatus.
  • a video playback control method for an electronic device, the method comprising:
  • a video playback control apparatus for use in an electronic device, the apparatus comprising:
  • a preset playback duration acquisition module configured to acquire a preset playback duration of the to-be-played video when the electronic device caches video data corresponding to the to-be-played video
  • a buffer rate obtaining module configured to acquire a buffering rate of the to-be-played video by the electronic device
  • An initial buffer duration determining module configured to determine an initial buffer duration of the to-be-played video according to the preset playing duration and the buffering rate
  • a playing module configured to play video data of the to-be-played video buffered by the electronic device when a buffering duration of the video data of the to-be-played video is equal to the initial buffering duration.
  • an electronic device including:
  • At least one processor At least one processor
  • At least one memory for storing processor executable instructions
  • At least one communication interface At least one communication interface
  • At least one bus At least one bus
  • processor is configured to:
  • a computer storage medium is further provided, wherein the computer storage medium can store a program, and when the program is executed, the first aspect of the present invention can provide some or all of the implementation manners of the video playback control method. step.
  • a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
  • the first aspect of the present invention provides some or all of the steps in various implementations of the video playback control method.
  • an electronic device comprising: one or more processors; and a memory; wherein the memory stores instructions executable by the one or more processors, the instructions being set Some or all of the steps in various implementations of the video playback control method are provided for performing the first aspect of the present invention.
  • the video playback control method and device provided by the embodiment of the present invention, when the electronic device caches the video data corresponding to the video to be played, obtains the preset playback duration of the video to be played, and obtains the cache rate of the to-be-played video by the electronic device.
  • the initial cache duration of the video to be played is determined.
  • the playback electronic device caches the video data of the video to be played. In this way, the problem of waste of resources and high waiting time of the user when the video buffer to be played is too much can be effectively prevented, and the phenomenon that the user has a small amount of video buffers to be played when watching the video to be played can be prevented.
  • FIG. 1 is a flowchart of a video playback control method according to an exemplary embodiment of the present invention
  • FIG. 2 is a schematic diagram of a video playback coordinate axis according to an exemplary embodiment of the invention
  • FIG. 3 is a flowchart of step S130 of FIG. 1 according to an exemplary embodiment of the present invention
  • FIG. 4 is a flowchart of step S130 of FIG. 1 according to an exemplary embodiment of the present invention
  • FIG. 5 is a flowchart of step S110 of FIG. 1 according to an exemplary embodiment of the present invention.
  • FIG. 6 is a flowchart of step S110 of FIG. 1 according to an exemplary embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a video playback control apparatus according to an exemplary embodiment
  • FIG. 8 is a schematic diagram of the initial cache duration determining module of FIG. 7 according to an exemplary embodiment
  • FIG. 9 is a schematic diagram of the initial cache duration determining module of FIG. 7 according to an exemplary embodiment
  • FIG. 10 is a schematic diagram of a preset play duration acquisition module of FIG. 7 according to an exemplary embodiment
  • FIG. 11 is a schematic diagram of a preset play duration acquisition module of FIG. 7 according to an exemplary embodiment
  • FIG. 12 is a schematic structural diagram of an electronic device according to an exemplary embodiment
  • FIG. 13 is a schematic structural diagram of still another electronic device according to an exemplary embodiment.
  • the embodiment of the present invention first provides a video playback control method. As shown in FIG. 1 , the method may include the following steps:
  • step S110 when the electronic device caches the video data corresponding to the video to be played, The preset playback duration of the video to be played.
  • the preset playing duration of the video to be played may be obtained by acquiring a historical playing record of the video.
  • the length of the video that is watched before the user views the video that is, the preset playing time of the video to be played, is to be obtained, so that the video to be played is cached too much.
  • the user does not completely watch the resource waste caused by the cached video, and can also avoid the problem that the user waits too long when the video is too much to be played.
  • the length of the cache to be played once is too short, the user may be stuck during the viewing of the video to be played.
  • the preset play duration of the video to be played is calculated by using the historical play record of the video to be played
  • the average viewing time of the user can be calculated in a statistical manner, and the average viewing time is used as the to-be-played video.
  • the preset playback time can be performed by sampling.
  • step S120 the cache rate of the video to be played by the electronic device is obtained.
  • the cache rate of the video to be played by the electronic device is the download rate of the video to be played by the electronic device.
  • the percentage of the video to be played may be downloaded, for example, the video data of the video to be played every second is to be played. The percentage of the cached data for the video.
  • the cache rate of the video to be played can be obtained by multiplying the current network speed of the electronic device by the code rate of the video to be played, and the ratio of the cache amount to the total amount of the video to be played is the cache. rate.
  • the current electronic device downloads 1M size of cached data every second. If the total size of the video to be played is 100M, 1/100 is the buffering rate of the to-be-played video.
  • step S130 the initial buffer duration of the video to be played is determined according to the preset playing duration and the buffering rate.
  • the size of the video of the to-be-played video in the preset playing time can be determined by the electronic device. Since the video to be played is cached from the beginning to the end of the playback, the electronic device has been After the video to be played is cached, the total buffer length may be subtracted from the preset playback duration to obtain an initial buffer duration, which is the user waiting time required to cache the video to be played.
  • step S140 when the buffer duration of the video data of the video to be played is equal to the initial buffer duration, the video data of the to-be-played video buffered by the electronic device is played.
  • the electronic device starts to buffer the to-be-played video, which is equivalent to the to time in FIG. 2.
  • the video player of the electronic device starts playing the cached video data until playing. Time t2. Therefore, during the period from t1 to t2, it is necessary to ensure that the electronic device smoothly plays the cached video data, and there is no jamming phenomenon in the middle.
  • the duration between t0 and t1 is called the buffer duration, that is, the user waits for the duration, and is required to
  • the video buffer data buffered within the buffer duration can be played from time t1 to time t2.
  • the duration between t1 and t2 is referred to as the preset playback duration of the video to be played.
  • the video playback control method when the electronic device caches the video data corresponding to the video to be played, obtains the preset playback duration of the video to be played, and determines the cache rate of the to-be-played video by the electronic device to determine the to-be-played video.
  • the initial buffering duration of the played video When the buffering duration of the video data of the video to be played is equal to the initial buffering duration, the playing electronic device caches the video data of the video to be played. This can effectively prevent the waste of resources caused by too much video buffer to be played and the problem that the user waits for too long, and can also avoid the phenomenon that the user has a small amount of video buffers to be played when watching the video to be played.
  • step S130 may further include the following steps:
  • step S131 the total buffer duration required for the electronic device to play the video data corresponding to the preset playing duration is calculated.
  • step S132 the total calculation duration is obtained by subtracting the preset playback duration from the total cache duration, and the first calculation duration is used as the initial cache duration.
  • FIG. S130 can also include the following steps:
  • step S133 the first preset cache duration and the second preset cache duration are respectively acquired.
  • the first preset cache duration is less than the second cache duration.
  • step S134 the first calculation duration is compared with the first preset cache duration and the second preset cache duration.
  • step S135 when the first buffer duration is less than the first preset cache duration, the first cache duration is used as the initial cache duration.
  • step S136 when the first cache duration is not less than the first preset cache duration, and the first cache duration is not greater than the second preset cache duration, the first cache duration is used as the initial cache duration.
  • step S137 when the first buffer duration is greater than the second preset cache duration, the second preset duration is used as the initial cache duration.
  • the first preset cache duration and the second preset cache duration in the embodiment of the present invention are preset.
  • the first preset cache duration may be 3 seconds
  • the second preset cache duration may be It is 8 seconds, which can be adjusted as needed.
  • the initial buffer duration is determined by comparing the calculated first calculation duration with the first preset cache duration and the second preset cache duration. In this way, the initial cache duration is determined, which not only caches the cached video data that meets the user's playback requirements, but also avoids the possibility that the user will give up watching because the waiting time is too long.
  • step S110 may further include the following steps:
  • step S111 a history play record of the video to be played is acquired.
  • step S112 the average play duration of the video to be played is calculated.
  • step S113 the average play duration is used as the preset play duration of the video to be played.
  • the historical play record of the to-be-played video refers to viewing the historical play status of the to-be-played video. For example, many users prefer to view the video to be played in a drag-and-drop manner, and then count the average viewing time of the video to be played every time the user views the video; if there are more users watching the video to be played, a number of samples can be extracted by sampling.
  • the historical viewing status of the user, and then calculating the average viewing time of each viewing when the user views the to-be-played video, that is, the average playing time of the video to be played, then the average playing time can be used as the preset playing of the to-be-played video. duration.
  • the embodiment of the present invention adapts the preset playback duration to meet the playback requirements of most users, so that each time the user jumps, the corresponding video data can be cached to avoid buffering too much video data without being timely. When viewing, the resulting resources are wasted and the user has high waiting time.
  • step S110 may further include the following steps:
  • step S114 the video type of the video to be played is acquired.
  • step S115 an average play duration of the video corresponding to the video type is acquired.
  • step S116 the average play duration is used as the preset play duration of the video to be played.
  • the preset playing duration may be determined by using the foregoing embodiment; when the video to be played is just online, generally There is enough historical play history or no history play record at all, so other methods are needed to determine the preset play duration.
  • the type of video of the video to be played such as entertainment, news, sports, movies, or TV shows.
  • the video type of the to-be-played video is news, it can be obtained.
  • the average playing time of news videos, and the average playing time of each type of video can be pre-stated.
  • the average playing duration corresponding to the type of the video to be played is used as the preset playing duration of the to-be-played video. Since the playing habits of the same type of video users are similar, it is useful for determining the preset playing duration of the video to be played. In this way, in the case that the to-be-played video has no history play record, the preset play duration is determined in time to avoid buffering excessive video data without being viewed by the user in time, resulting in waste of resources and high waiting time of the user.
  • the video playback control method when the electronic device caches the video data corresponding to the video to be played, obtains the preset playback duration of the video to be played, and determines the cache rate of the to-be-played video by the electronic device to determine the to-be-played video.
  • the initial buffering duration of the played video When the buffering duration of the video data of the video to be played is equal to the initial buffering duration, the playing electronic device caches the video data of the video to be played. In this way, the problem of waste of resources and high waiting time of the user when the video buffer to be played is too much can be effectively prevented, and the phenomenon that the user has a small amount of video buffers to be played when watching the video to be played can be prevented. And determining the preset playing duration of the desired playing by obtaining the historical playing record of the video to be played or the type of the video to be played.
  • the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is more Good implementation.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. Enabling a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the methods of the various embodiments of the present invention Step by step.
  • the foregoing storage medium includes various types of media that can store program codes, such as a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • an embodiment of the present invention further provides a video playback control device, where the device is located in an electronic device. As shown in FIG. 7, the device includes:
  • the preset playing duration acquisition module 10 is configured to acquire a preset playing duration of the to-be-played video when the electronic device caches video data corresponding to the to-be-played video;
  • the cache rate obtaining module 20 is configured to acquire, by the electronic device, a buffer rate of the to-be-played video.
  • the initial buffer duration determining module 30 is configured to determine an initial buffer duration of the to-be-played video according to the preset playing duration and the buffering rate;
  • the playing module 40 is configured to play the video data of the to-be-played video buffered by the electronic device when the buffering duration of the video data of the to-be-played video is equal to the initial buffering duration.
  • the initial cache duration determining module 30 includes:
  • the total cache duration determining sub-module 31 is configured to calculate a total cache duration required when the electronic device plays the video data corresponding to the preset playing duration;
  • the first initial buffer duration determining sub-module 32 is configured to obtain the first calculating duration by subtracting the total playing duration from the total playing duration, and using the first calculating duration as the initial buffer duration.
  • the initial cache duration determining module 30 further includes:
  • the preset cache duration acquisition sub-module 33 is configured to respectively acquire the first preset cache duration and the first The second preset cache duration is longer than the second cache duration;
  • the buffer duration comparison sub-module 34 is configured to compare the first calculation duration with the first preset cache duration and the second preset cache duration;
  • the second initial cache duration determining sub-module 35 is configured to use the first cache duration as the initial cache duration when the first cache duration is less than the first preset cache duration;
  • the third initial cache duration determining sub-module 36 is configured to: when the first cache duration is not less than the first preset cache duration, and the first cache duration is not greater than the second preset cache duration Determining, by using the first cache duration, the initial cache duration;
  • the fourth initial buffer duration determining sub-module 37 is configured to use the second preset duration as the initial buffer duration when the first buffer duration is greater than the second preset cache duration.
  • the preset play duration acquisition module 10 includes:
  • the history play record acquisition sub-module 11 is configured to acquire a history play record of the to-be-played video
  • the average play duration calculation sub-module 12 is configured to calculate an average play duration of the to-be-played video
  • the first preset playing duration determining sub-module 13 is configured to use the average playing duration as the preset playing duration of the to-be-played video.
  • the preset play duration acquisition module 10 includes:
  • a video type obtaining sub-module 14 configured to acquire a video type of the to-be-played video
  • the average play duration acquisition sub-module 15 is configured to acquire an average play duration of the video corresponding to the video type
  • the second preset playing duration determining sub-module 16 is configured to use the average playing duration as the preset playing duration of the to-be-played video.
  • the video playback control device obtains the preset playback duration of the video to be played when the electronic device caches the video data corresponding to the video to be played, and determines the cache rate of the to-be-played video by the electronic device to determine the to-be-played video.
  • the initial buffering duration of the played video When the buffering duration of the video data of the video to be played is equal to the initial buffering duration, the playing electronic device caches the video data of the video to be played. In this way, the problem of waste of resources and high waiting time of the user when the video buffer to be played is too much can be effectively prevented, and the phenomenon that the user has a small amount of video buffers to be played when watching the video to be played can be prevented. And determining the preset playing duration of the desired playing by obtaining the historical playing record of the video to be played or the type of the video to be played.
  • the embodiment of the present invention further provides an electronic device.
  • the electronic device 210 includes: at least one processor 211, at least one bus 212, at least one communication interface 213, and at least one memory 214, where
  • the memory 211 is for storing computer executable instructions; the memory 204 can include read only memory and random access memory, and provides instructions and data to the processor 201. A portion of the memory 204 may further include a non-Volatile Random Access Memory (NVRAM);
  • NVRAM non-Volatile Random Access Memory
  • the processor 211 is connected to the communication interface 213 and the memory 214 via a bus 212;
  • the processor 211 when the computer is running, the processor 211 executes computer execution instructions stored in the memory 214, and the processor 211 can perform the steps in the embodiment shown in FIG. Used for:
  • FIG. 13 is a schematic structural diagram of hardware of an electronic device for performing a video playback control method according to an embodiment of the present disclosure. As shown in FIG. 13, the device includes:
  • processors 1310 and a memory 1320 are exemplified by a processor 1310 in FIG.
  • the apparatus that performs the video playback control method may further include: an input device 1330 and an output device 1340.
  • the processor 1310, the memory 1320, the input device 1330, and the output device 1340 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 1320 is a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, such as a program corresponding to the video playback control method in the embodiment of the present application.
  • the instruction/module for example, the preset play duration acquisition module 10, the cache rate acquisition module 20, the initial cache duration determination module 30, and the playback module 40 shown in FIG. 7).
  • the processor 1310 executes various functional applications and data of the electronic device by running non-volatile software programs, instructions, and modules stored in the memory 1320. Processing, that is, implementing the video playback control method in any of the above method embodiments.
  • the memory 1320 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; and the storage data area may store a usage according to the video playback control device (such as FIG. 7). Created data, etc. Further, the memory 1320 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, memory 1320 can optionally include memory remotely located relative to processor 1310, which can be connected to the video playback control device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the input device 1330 can receive the input digital or character information and generate a key signal input related to user settings and function control of the video playback control device.
  • the output device 1340 can include a display device such as a display screen.
  • the one or more modules are stored in the memory 1320, and when executed by the one or more processors 1310, perform a video playback control method in any of the above method embodiments.
  • the electronic device of the embodiment of the invention exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, the implementation of the video playback control method provided by the embodiment shown in FIG. 1 and FIG. 3 to FIG. 6 can be implemented. Some or all of the steps in the way.
  • Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are During execution, some or all of the steps in the implementation manners of the video playback control method provided in the embodiment shown in FIG. 1 and FIG. 3 to FIG. 6 may be implemented.
  • embodiments of the invention are applicable to a wide variety of general purpose or dedicated computing system rings.
  • environment or configuration For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor based systems, set-top boxes, programmable consumer electronics devices, network PCs, small computers, mainframe computers, including A distributed computing environment of any of the above systems or devices, and the like.
  • Embodiments of the invention may be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • Embodiments of the invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

Abstract

Embodiments of the present invention relate to a video playing control method and device. The method comprises: when an electronic device caches video data corresponding to a video to be played, obtaining a preset playing duration of the video to be played; obtaining a caching rate of the electronic device for caching the video to be played; determining an initial caching duration of the video to be played according to the preset playing duration and the caching rate; and when the caching duration of the video data of the video to be played is equal to the initial caching duration, playing the video data of the video to be played cached by the electronic device. In this way, the problems of a waste of resources and a long waiting duration of a user caused by too much cached video to be played can be effectively prevented, and stutters and other phenomena resulting from too little cached video to be played when the user views the video to be played can also be avoided.

Description

视频播放控制方法及装置Video playback control method and device
本申请要求于2016年6月29日提交中国专利局、申请号为201610499978.6、发明名称为“视频播放控制方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application, which is filed on Jun. 29, 2016, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明实施例涉及视频技术领域,尤其涉及一种视频播放控制方法及装置。Embodiments of the present invention relate to the field of video technologies, and in particular, to a video playback control method and apparatus.
背景技术Background technique
随着技术的不断发展,可供用户使用终端的品种和类型也越来越多,例如:智能手机、平板电脑和电视机等。在用户在通过终端在线观看视频时,受限于网速的影响,通常将用户所需观看的视频缓存一段时间,然后再播放已缓存的视频,避免用户在观看整部视频的过程中出现卡顿的现象发生。As technology continues to evolve, there are more and more varieties and types of terminals available to users, such as smartphones, tablets, and televisions. When a user watches a video online through a terminal, it is limited by the influence of the network speed, and usually the video that the user needs to watch is cached for a period of time, and then the cached video is played to prevent the user from appearing in the process of watching the entire video. The phenomenon of Dunton occurred.
然而,发明人在实现本发明的过程中发现,很多用户并不是将整部完整的视频不间断的看完。例如,在用户等待视频缓存一段时间并启播后,很多用户在观看完一段时间的该视频时,就会将该视频的进度条往后拖动一段后继续观看。这样很多时候会存在视频被缓存而没有被用户观看的现象,造成资源的浪费,以及在进度条拖动后视频需要重新缓存,而导致用户等待时间过长等问题。However, in the process of implementing the present invention, the inventors have found that many users do not read the entire complete video without interruption. For example, after the user waits for the video to be cached for a period of time and starts broadcasting, many users will drag the progress bar of the video backward after watching the video for a certain period of time to continue watching. In this way, there are many times when the video is cached and not viewed by the user, which causes waste of resources, and the video needs to be re-cached after the progress bar is dragged, which causes the user to wait too long.
发明内容Summary of the invention
用户在线观看视频时,为了防止可能导致的资源浪费及用户等待时 间过长等问题,本发明实施例提供一种视频播放控制方法及装置。When users watch videos online, in order to prevent possible waste of resources and when users wait The present invention provides a video playback control method and apparatus.
根据本发明实施例的第一方面,提供一种视频播放控制方法,应用于电子设备,该方法包括:According to a first aspect of the present invention, a video playback control method is provided for an electronic device, the method comprising:
在所述电子设备缓存待播放视频对应的视频数据时,获取所述待播放视频的预设播放时长;Obtaining a preset playing duration of the to-be-played video when the electronic device caches video data corresponding to the to-be-played video;
获取所述电子设备缓存所述待播放视频的缓存速率;Obtaining, by the electronic device, a buffering rate of the to-be-played video;
根据所述预设播放时长和所述缓存速率,确定所述待播放视频的初始缓存时长;Determining, according to the preset playing duration and the buffering rate, an initial buffering duration of the to-be-played video;
在所述待播放视频的视频数据的缓存时长等于所述初始缓存时长时,播放所述电子设备缓存的所述待播放视频的视频数据。And playing video data of the to-be-played video buffered by the electronic device when the buffering duration of the video data of the to-be-played video is equal to the initial buffering duration.
根据本发明实施例的第二方面,提供一种视频播放控制装置,应用于电子设备,该装置包括:According to a second aspect of the embodiments of the present invention, a video playback control apparatus is provided for use in an electronic device, the apparatus comprising:
预设播放时长获取模块,用于在所述电子设备缓存待播放视频对应的视频数据时,获取所述待播放视频的预设播放时长;a preset playback duration acquisition module, configured to acquire a preset playback duration of the to-be-played video when the electronic device caches video data corresponding to the to-be-played video;
缓存速率获取模块,用于获取所述电子设备缓存所述待播放视频的缓存速率;a buffer rate obtaining module, configured to acquire a buffering rate of the to-be-played video by the electronic device;
初始缓存时长确定模块,用于根据所述预设播放时长和所述缓存速率,确定所述待播放视频的初始缓存时长;An initial buffer duration determining module, configured to determine an initial buffer duration of the to-be-played video according to the preset playing duration and the buffering rate;
播放模块,用于在所述待播放视频的视频数据的缓存时长等于所述初始缓存时长时,播放所述电子设备缓存的所述待播放视频的视频数据。a playing module, configured to play video data of the to-be-played video buffered by the electronic device when a buffering duration of the video data of the to-be-played video is equal to the initial buffering duration.
根据本发明实施例的第三方面,提供一种电子设备,包括:According to a third aspect of the embodiments of the present invention, an electronic device is provided, including:
至少一个处理器;At least one processor;
至少一个用于存储处理器可执行指令的存储器; At least one memory for storing processor executable instructions;
至少一个通信接口;At least one communication interface;
至少一个总线;At least one bus;
其中,所述处理器被配置为:Wherein the processor is configured to:
在所述电子设备缓存待播放视频对应的视频数据时,获取所述待播放视频的预设播放时长;Obtaining a preset playing duration of the to-be-played video when the electronic device caches video data corresponding to the to-be-played video;
获取所述电子设备缓存所述待播放视频的缓存速率;Obtaining, by the electronic device, a buffering rate of the to-be-played video;
根据所述预设播放时长和所述缓存速率,确定所述待播放视频的初始缓存时长;Determining, according to the preset playing duration and the buffering rate, an initial buffering duration of the to-be-played video;
在所述待播放视频的视频数据的缓存时长等于所述初始缓存时长时,播放所述电子设备缓存的所述待播放视频的视频数据。And playing video data of the to-be-played video buffered by the electronic device when the buffering duration of the video data of the to-be-played video is equal to the initial buffering duration.
第四方面,还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可实现本发明第一方面提供一种视频播放控制方法的各实现方式中的部分或全部步骤。In a fourth aspect, a computer storage medium is further provided, wherein the computer storage medium can store a program, and when the program is executed, the first aspect of the present invention can provide some or all of the implementation manners of the video playback control method. step.
第五方面,还提供一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行本发明第一方面提供一种视频播放控制方法的各实现方式中的部分或全部步骤。In a fifth aspect, a computer program product is also provided, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer When the computer is executed, the first aspect of the present invention provides some or all of the steps in various implementations of the video playback control method.
第六方面,还提供一种电子设备,包括:一个或多个处理器;以及,存储器;其中,所述存储器存储有可被所述一个或多个处理器执行的指令,所述指令被设置为用于执行本发明第一方面提供一种视频播放控制方法的各实现方式中的部分或全部步骤。In a sixth aspect, there is provided an electronic device comprising: one or more processors; and a memory; wherein the memory stores instructions executable by the one or more processors, the instructions being set Some or all of the steps in various implementations of the video playback control method are provided for performing the first aspect of the present invention.
本发明的实施例提供的技术方案可以包括以下有益效果: The technical solutions provided by the embodiments of the present invention may include the following beneficial effects:
本发明实施例提供的视频播放控制方法及装置,在电子设备缓存待播放视频对应的视频数据时,获取待播放视频的预设播放时长,通过获取电子设备缓存该待播放视频的缓存速率,来确定待播放视频的初始缓存时长,在待播放视频的视频数据的缓存时长等于初始缓存时长时,播放电子设备缓存待播放视频的视频数据。这样可以有效防止在待播放视频缓存过多时造成的资源浪费及用户高等待时长的问题,同时也可以避免用户在观看待播放视频时因待播放视频缓存过少而出现的卡顿等现象。The video playback control method and device provided by the embodiment of the present invention, when the electronic device caches the video data corresponding to the video to be played, obtains the preset playback duration of the video to be played, and obtains the cache rate of the to-be-played video by the electronic device. The initial cache duration of the video to be played is determined. When the buffer duration of the video data of the video to be played is equal to the initial buffer duration, the playback electronic device caches the video data of the video to be played. In this way, the problem of waste of resources and high waiting time of the user when the video buffer to be played is too much can be effectively prevented, and the phenomenon that the user has a small amount of video buffers to be played when watching the video to be played can be prevented.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明实施例。The above general description and the following detailed description are intended to be illustrative and not restrictive.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是根据本发明一示例性实施例示出的一种视频播放控制方法的流程图;1 is a flowchart of a video playback control method according to an exemplary embodiment of the present invention;
图2是根据本发明一示例性实施例示出的一种视频播放坐标轴示意图;FIG. 2 is a schematic diagram of a video playback coordinate axis according to an exemplary embodiment of the invention; FIG.
图3是根据本发明一示例性实施例示出的图1中步骤S130的流程图;FIG. 3 is a flowchart of step S130 of FIG. 1 according to an exemplary embodiment of the present invention; FIG.
图4是根据本发明一示例性实施例示出的图1中步骤S130的流程图;FIG. 4 is a flowchart of step S130 of FIG. 1 according to an exemplary embodiment of the present invention; FIG.
图5是根据本发明一示例性实施例示出的图1中步骤S110的流程图; FIG. 5 is a flowchart of step S110 of FIG. 1 according to an exemplary embodiment of the present invention; FIG.
图6是根据本发明一示例性实施例示出的图1中步骤S110的流程图;FIG. 6 is a flowchart of step S110 of FIG. 1 according to an exemplary embodiment of the present invention; FIG.
图7是根据一示例性实施例示出的一种视频播放控制装置的结构示意图;FIG. 7 is a schematic structural diagram of a video playback control apparatus according to an exemplary embodiment;
图8是根据一示例性实施例示出的图7中初始缓存时长确定模块的示意图;FIG. 8 is a schematic diagram of the initial cache duration determining module of FIG. 7 according to an exemplary embodiment; FIG.
图9是根据一示例性实施例示出的图7中初始缓存时长确定模块的示意图;FIG. 9 is a schematic diagram of the initial cache duration determining module of FIG. 7 according to an exemplary embodiment; FIG.
图10是根据一示例性实施例示出的图7中预设播放时长获取模块的示意图;FIG. 10 is a schematic diagram of a preset play duration acquisition module of FIG. 7 according to an exemplary embodiment; FIG.
图11是根据一示例性实施例示出的图7中预设播放时长获取模块的示意图;FIG. 11 is a schematic diagram of a preset play duration acquisition module of FIG. 7 according to an exemplary embodiment; FIG.
图12是根据一示例性实施例示出的一种电子设备的结构示意图;FIG. 12 is a schematic structural diagram of an electronic device according to an exemplary embodiment;
图13是根据一示例性实施例示出的又一种电子设备的结构示意图。FIG. 13 is a schematic structural diagram of still another electronic device according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明实施例相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明实施例的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the invention. Instead, they are merely examples of devices and methods consistent with aspects of the embodiments of the invention as detailed in the appended claims.
用户在线观看视频时,为了防止可能导致的资源浪费及用户等待时间过长等问题,本发明实施例首先提供了一种视频播放控制方法,如图1所示,该方法可以包括如下步骤:When the user is watching the video online, in order to prevent the waste of resources and the long waiting time of the user, the embodiment of the present invention first provides a video playback control method. As shown in FIG. 1 , the method may include the following steps:
在步骤S110中,在电子设备缓存待播放视频对应的视频数据时,获 取待播放视频的预设播放时长。In step S110, when the electronic device caches the video data corresponding to the video to be played, The preset playback duration of the video to be played.
本发明实施例中,待播放视频的预设播放时长,可以通过获取该视频的历史播放记录获取。很多视频在播放过程中,用户习惯性的看一段视频之后,在播放器上往后拖动一段,然后再看,反复上述操作。因此,本发明实施例中需要获取用户在观看该待播放视频时,在观看跳转前观看的视频时长,即待播放视频的预设播放时长,这样可以避免将待播放视频一次缓存过多,而用户没有完全观看已缓存的视频造成的资源浪费情况,另外还可以避免因缓存待播放视频过多时,造成用户等待时间过长的问题。另外,如果对待播放视频一次缓存时长过短,会造成用户在观看待播放视频期间,出现卡顿的现象。In the embodiment of the present invention, the preset playing duration of the video to be played may be obtained by acquiring a historical playing record of the video. During the playback of many videos, after the user habitually watches a video, drag it backwards on the player, then look at it and repeat the above operation. Therefore, in the embodiment of the present invention, the length of the video that is watched before the user views the video, that is, the preset playing time of the video to be played, is to be obtained, so that the video to be played is cached too much. The user does not completely watch the resource waste caused by the cached video, and can also avoid the problem that the user waits too long when the video is too much to be played. In addition, if the length of the cache to be played once is too short, the user may be stuck during the viewing of the video to be played.
示例性的,在通过待播放视频的历史播放记录来计算待播放视频的预设播放时长时,可以通过统计的方式,计算用户一次观看的平均观看时长,将该平均观看时长作为该待播放视频的预设播放时长。当然,如果观看该待播放视频的用户过多,可以通过抽样的方式来统计计算。For example, when the preset play duration of the video to be played is calculated by using the historical play record of the video to be played, the average viewing time of the user can be calculated in a statistical manner, and the average viewing time is used as the to-be-played video. The preset playback time. Of course, if there are too many users watching the video to be played, the calculation can be performed by sampling.
在步骤S120中,获取电子设备缓存待播放视频的缓存速率。In step S120, the cache rate of the video to be played by the electronic device is obtained.
电子设备缓存待播放视频的缓存速率即为电子设备下载待播放视频的下载速率,示例性的,可以是下载待播放视频的百分比等,如每秒下载待播放视频的视频数据所占整个待播放视频的缓存数据的百分比。The cache rate of the video to be played by the electronic device is the download rate of the video to be played by the electronic device. For example, the percentage of the video to be played may be downloaded, for example, the video data of the video to be played every second is to be played. The percentage of the cached data for the video.
可以通过获取电子设备的当前网速、待播放视频的码率,将网速乘以码率可以得到待播放视频的缓存量,该缓存量与整个待播放视频所占总量的比值即为缓存速率。示例性的,当前电子设备每秒下载1M大小的缓存数据,如果待播放视频的总大小为100M,那么1/100即为该待播放视频的缓存速率。 The cache rate of the video to be played can be obtained by multiplying the current network speed of the electronic device by the code rate of the video to be played, and the ratio of the cache amount to the total amount of the video to be played is the cache. rate. Exemplarily, the current electronic device downloads 1M size of cached data every second. If the total size of the video to be played is 100M, 1/100 is the buffering rate of the to-be-played video.
在步骤S130中,根据预设播放时长和缓存速率,确定待播放视频的初始缓存时长。In step S130, the initial buffer duration of the video to be played is determined according to the preset playing duration and the buffering rate.
由于待播放视频的总大小可以根据上述计算出来,同样可以将电子设备播放预设播放时长内的待播放视频的视频量大小确定下来,由于待播放视频从开始缓存到播放完毕,电子设备都一直在缓存该待播放视频,那么可以将总缓存时长减去预设播放时长得到初始缓存时长,该初始缓存时长即缓存待播放视频所需的用户等待时长。Since the total size of the video to be played can be calculated according to the above, the size of the video of the to-be-played video in the preset playing time can be determined by the electronic device. Since the video to be played is cached from the beginning to the end of the playback, the electronic device has been After the video to be played is cached, the total buffer length may be subtracted from the preset playback duration to obtain an initial buffer duration, which is the user waiting time required to cache the video to be played.
在步骤S140中,在待播放视频的视频数据的缓存时长等于初始缓存时长时,播放电子设备缓存的待播放视频的视频数据。In step S140, when the buffer duration of the video data of the video to be played is equal to the initial buffer duration, the video data of the to-be-played video buffered by the electronic device is played.
在本发明实施例中,结合图2,受限于网速和视频码率等因素的影响,用户在电子设备上观看待播放视频时,例如,在用户点击待播放视频,需要通过电子设备上播放待播放视频时,此时电子设备开始缓存待播放视频,相当于图2中的to时刻,在视频缓存到t1时刻时,电子设备的视频播放器开始播放已缓存的视频数据,直到播放到t2时刻。因此,在t1~t2的时间段内,要保证电子设备流畅播放已缓存的视频数据,中间不能有卡顿现象,将t0~t1之间的时长称为缓存时长,即用户等待时长,要求在该缓存时长内缓存的视频缓存数据可以从t1时刻播放到t2时刻。将t1~t2之间的时长称为待播放视频的预设播放时长。In the embodiment of the present invention, in conjunction with FIG. 2, limited by the factors such as the network speed and the video code rate, when the user views the video to be played on the electronic device, for example, when the user clicks on the video to be played, the user needs to pass the electronic device. When the video to be played is played, the electronic device starts to buffer the to-be-played video, which is equivalent to the to time in FIG. 2. When the video is buffered to t1, the video player of the electronic device starts playing the cached video data until playing. Time t2. Therefore, during the period from t1 to t2, it is necessary to ensure that the electronic device smoothly plays the cached video data, and there is no jamming phenomenon in the middle. The duration between t0 and t1 is called the buffer duration, that is, the user waits for the duration, and is required to The video buffer data buffered within the buffer duration can be played from time t1 to time t2. The duration between t1 and t2 is referred to as the preset playback duration of the video to be played.
很多用户在观看视频时,为了获悉整个待播放视频的内容梗概,在观看一段视频后,在播放器上将视频往后多次拖动,每拖动一次,观看一段时间,以便了解该视频内容的大概情况,如果感觉对该视频感兴趣,再从头观看该视频。例如,在图2中,用户在将待播放视频从t1时刻观看到t2时刻时,将该待播放视频从t2时刻拖动到t3时刻,这时电子设备需要 将该待播放视频从t3时刻开始缓存该待播放视频,然后到t4播放等待,后续处理方式与前者一致,这里不再赘述。When watching a video, many users listen to the content of the entire video to be played. After watching a video, drag the video back and forth on the player multiple times. Each time you drag it, watch it for a period of time to understand the video content. The general situation, if you feel interested in the video, then watch the video from the beginning. For example, in FIG. 2, when the user views the video to be played from the time t1 to the time t2, the user drags the to-be-played video from the time t2 to the time t3, at which time the electronic device needs The video to be played is cached from the time t3, and then the video is to be played until t4, and the subsequent processing manner is consistent with the former, and details are not described herein again.
本发明实施例提供的视频播放控制方法,在电子设备缓存待播放视频对应的视频数据时,获取待播放视频的预设播放时长,通过获取电子设备缓存该待播放视频的缓存速率,来确定待播放视频的初始缓存时长,在待播放视频的视频数据的缓存时长等于初始缓存时长时,播放电子设备缓存待播放视频的视频数据。这样可以有效防止在待播放视频缓存过多时造成的资源浪费及用户等待时长过长的问题,同时也可以避免用户在观看待播放视频时因待播放视频缓存过少而出现的卡顿等现象。The video playback control method provided by the embodiment of the present invention, when the electronic device caches the video data corresponding to the video to be played, obtains the preset playback duration of the video to be played, and determines the cache rate of the to-be-played video by the electronic device to determine the to-be-played video. The initial buffering duration of the played video. When the buffering duration of the video data of the video to be played is equal to the initial buffering duration, the playing electronic device caches the video data of the video to be played. This can effectively prevent the waste of resources caused by too much video buffer to be played and the problem that the user waits for too long, and can also avoid the phenomenon that the user has a small amount of video buffers to be played when watching the video to be played.
作为图1方法的细化,在本发明的另一实施例中,如图3所示,步骤S130还可以包括如下步骤:As a refinement of the method of FIG. 1, in another embodiment of the present invention, as shown in FIG. 3, step S130 may further include the following steps:
在步骤S131中,计算待电子设备播放预设播放时长对应的视频数据时所需的总缓存时长。In step S131, the total buffer duration required for the electronic device to play the video data corresponding to the preset playing duration is calculated.
在步骤S132中,将总缓存时长减去预设播放时长得到第一计算时长,将第一计算时长作为初始缓存时长。In step S132, the total calculation duration is obtained by subtracting the preset playback duration from the total cache duration, and the first calculation duration is used as the initial cache duration.
需要获取待播放视频的码率和电子设备的当前网速,可以计算出在待播放视频播放预设播放时长时缓存数据的总量大小,将该总量除以电子设备的网速,得到电子设备播放所述预设播放时长对应的视频数据时所需的总缓存时长;将该中缓存时长减去预设播放时长,可以得到初始缓存时长。这样电子设备可以根据该初始缓存时长对待播放视频进行缓存,以便适应用户的观看需求,避免用户高等待时间及资源浪费的情况发生。You need to obtain the code rate of the video to be played and the current network speed of the electronic device. You can calculate the total amount of data cached when the video is played for the preset playback time. The total amount is divided by the network speed of the electronic device to obtain the electronic. The total buffer duration required for the device to play the video data corresponding to the preset playing duration; the initial buffering duration is obtained by subtracting the preset playing duration from the buffering duration. In this way, the electronic device can cache the video to be played according to the initial cache time, so as to adapt to the user's viewing requirements, and avoid high user waiting time and waste of resources.
作为图3方法的细化,在本发明的另一实施例中,如图4所示,步骤 S130还可以包括如下步骤:As a refinement of the method of FIG. 3, in another embodiment of the present invention, as shown in FIG. S130 can also include the following steps:
在步骤S133中,分别获取第一预设缓存时长和第二预设缓存时长。In step S133, the first preset cache duration and the second preset cache duration are respectively acquired.
其中,第一预设缓存时长小于第二缓存时长。The first preset cache duration is less than the second cache duration.
在步骤S134中,将第一计算时长分别与第一预设缓存时长、第二预设缓存时长比较。In step S134, the first calculation duration is compared with the first preset cache duration and the second preset cache duration.
在步骤S135中,在第一缓存时长小于第一预设缓存时长时,将第一缓存时长作为初始缓存时长。In step S135, when the first buffer duration is less than the first preset cache duration, the first cache duration is used as the initial cache duration.
在步骤S136中,在第一缓存时长不小于第一预设缓存时长,且第一缓存时长不大于第二预设缓存时长之间时,将第一缓存时长作为初始缓存时长。In step S136, when the first cache duration is not less than the first preset cache duration, and the first cache duration is not greater than the second preset cache duration, the first cache duration is used as the initial cache duration.
在步骤S137中,在第一缓存时长大于第二预设缓存时长时,将第二预设时长作为初始缓存时长。In step S137, when the first buffer duration is greater than the second preset cache duration, the second preset duration is used as the initial cache duration.
在本发明实施例中的第一预设缓存时长和第二预设缓存时长是预先设定好的,示例性的,的第一预设缓存时长可以是3秒,第二预设缓存时长可以是8秒,具体可以根据需要进行调整。通过将计算出的第一计算时长分别与第一预设缓存时长、第二预设缓存时长比较,来确定出初始缓存时长。这样最终确定出的初始缓存时长,不但可以缓存出适应用户播放需求的缓存视频数据,还可以避免用户因等待时长过长而放弃继续观看的可能。The first preset cache duration and the second preset cache duration in the embodiment of the present invention are preset. For example, the first preset cache duration may be 3 seconds, and the second preset cache duration may be It is 8 seconds, which can be adjusted as needed. The initial buffer duration is determined by comparing the calculated first calculation duration with the first preset cache duration and the second preset cache duration. In this way, the initial cache duration is determined, which not only caches the cached video data that meets the user's playback requirements, but also avoids the possibility that the user will give up watching because the waiting time is too long.
作为图1方法的细化,在本发明提供的又一实施例中,如图5所示,步骤S110还可以包括如下步骤:As a refinement of the method of FIG. 1, in another embodiment provided by the present invention, as shown in FIG. 5, step S110 may further include the following steps:
在步骤S111中,获取待播放视频的历史播放记录。In step S111, a history play record of the video to be played is acquired.
在步骤S112中,计算待播放视频的平均播放时长。 In step S112, the average play duration of the video to be played is calculated.
在步骤S113中,将平均播放时长作为待播放视频的预设播放时长。In step S113, the average play duration is used as the preset play duration of the video to be played.
结合上述实施例,该待播放视频的历史播放记录,是指观看该待播放视频的历史播放情况。例如,很多用户喜欢将待播放视频拖动式的浏览观看,那么统计用户平均每观看一次该待播放视频的平均观看时长;如果观看该待播放视频的用户较多,可以采用抽样的方式提取若干用户的历史观看情况,然后计算这些用户的观看该待播放视频时,每次观看的平均观看时长,即待播放视频的平均播放时长,那么可以将该平均播放时长作为待播放视频的预设播放时长。In conjunction with the foregoing embodiment, the historical play record of the to-be-played video refers to viewing the historical play status of the to-be-played video. For example, many users prefer to view the video to be played in a drag-and-drop manner, and then count the average viewing time of the video to be played every time the user views the video; if there are more users watching the video to be played, a number of samples can be extracted by sampling. The historical viewing status of the user, and then calculating the average viewing time of each viewing when the user views the to-be-played video, that is, the average playing time of the video to be played, then the average playing time can be used as the preset playing of the to-be-played video. duration.
这样,本发明实施例通过确定得到的预设播放时长,适应大多用户的播放需求,以便在用户每次跳转播放期间,可以缓存相应的视频数据,避免缓存过多视频数据而没有被用户及时观看时,造成的资源浪费与用户高等待时间。In this way, the embodiment of the present invention adapts the preset playback duration to meet the playback requirements of most users, so that each time the user jumps, the corresponding video data can be cached to avoid buffering too much video data without being timely. When viewing, the resulting resources are wasted and the user has high waiting time.
作为图1方法的细化,在本发明提供的又一实施例中,如图6所示,步骤S110还可以包括如下步骤:As a refinement of the method of FIG. 1, in another embodiment provided by the present invention, as shown in FIG. 6, step S110 may further include the following steps:
在步骤S114中,获取待播放视频的视频类型。In step S114, the video type of the video to be played is acquired.
在步骤S115中,获取视频类型对应视频的平均播放时长。In step S115, an average play duration of the video corresponding to the video type is acquired.
在步骤S116中,将平均播放时长作为待播放视频的预设播放时长。In step S116, the average play duration is used as the preset play duration of the video to be played.
本发明实施例在获取待播放视频的预设播放时长时,如果该待播放视频有足够的历史播放记录,可以通过上述实施例来确定预设播放时长;在待播放视频刚上线时,一般还足够的历史播放记录或者根本没有历史播放记录,这样就需要采取其他方式来确定该预设播放时长。In the embodiment of the present invention, when the preset playing time of the video to be played is obtained, if the video to be played has sufficient historical playing records, the preset playing duration may be determined by using the foregoing embodiment; when the video to be played is just online, generally There is enough historical play history or no history play record at all, so other methods are needed to determine the preset play duration.
可以获取该待播放视频的视频类型,如娱乐、新闻、体育、电影或电视剧等。示例性的,如果该待播放视频的视频类型是新闻,可以获取 新闻类视频的平均播放时长,而每类视频类型的平均播放时长可以预先统计出来。那么将待播放视频的类型对应的平均播放时长,作为该待播放视频的预设播放时长。由于同一类的视频用户的播放习惯相似,对于确定待播放视频的预设播放时长很有参考意义。这样可以在该待播放视频没有历史播放记录的情况下,及时确定出预设播放时长,以避免缓存过多视频数据而没有被用户及时观看时,造成的资源浪费与用户高等待时间。The type of video of the video to be played, such as entertainment, news, sports, movies, or TV shows. Exemplarily, if the video type of the to-be-played video is news, it can be obtained. The average playing time of news videos, and the average playing time of each type of video can be pre-stated. Then, the average playing duration corresponding to the type of the video to be played is used as the preset playing duration of the to-be-played video. Since the playing habits of the same type of video users are similar, it is useful for determining the preset playing duration of the video to be played. In this way, in the case that the to-be-played video has no history play record, the preset play duration is determined in time to avoid buffering excessive video data without being viewed by the user in time, resulting in waste of resources and high waiting time of the user.
本发明实施例提供的视频播放控制方法,在电子设备缓存待播放视频对应的视频数据时,获取待播放视频的预设播放时长,通过获取电子设备缓存该待播放视频的缓存速率,来确定待播放视频的初始缓存时长,在待播放视频的视频数据的缓存时长等于初始缓存时长时,播放电子设备缓存待播放视频的视频数据。这样可以有效防止在待播放视频缓存过多时造成的资源浪费及用户高等待时长的问题,同时也可以避免用户在观看待播放视频时因待播放视频缓存过少而出现的卡顿等现象。并且可以通过获取待播放视频的历史播放记录或待播放视频的类型来确定所需播放的预设播放时长。The video playback control method provided by the embodiment of the present invention, when the electronic device caches the video data corresponding to the video to be played, obtains the preset playback duration of the video to be played, and determines the cache rate of the to-be-played video by the electronic device to determine the to-be-played video. The initial buffering duration of the played video. When the buffering duration of the video data of the video to be played is equal to the initial buffering duration, the playing electronic device caches the video data of the video to be played. In this way, the problem of waste of resources and high waiting time of the user when the video buffer to be played is too much can be effectively prevented, and the phenomenon that the user has a small amount of video buffers to be played when watching the video to be played can be prevented. And determining the preset playing duration of the desired playing by obtaining the historical playing record of the video to be played or the type of the video to be played.
通过以上的方法实施例的描述,所属领域的技术人员可以清楚地了解到本发明实施例可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部 分步骤。而前述的存储介质包括:只读存储器(ROM)、随机存取存储器(RAM)、磁碟或者光盘等各种可以存储程序代码的介质。Through the description of the foregoing method embodiments, those skilled in the art can clearly understand that the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is more Good implementation. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. Enabling a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the methods of the various embodiments of the present invention Step by step. The foregoing storage medium includes various types of media that can store program codes, such as a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
另外,作为对上述各实施例的实现,本发明实施例还提供了一种视频播放控制装置,该装置位于电子设备中,如图7所示,该装置包括:In addition, as an implementation of the foregoing embodiments, an embodiment of the present invention further provides a video playback control device, where the device is located in an electronic device. As shown in FIG. 7, the device includes:
预设播放时长获取模块10,用于在所述电子设备缓存待播放视频对应的视频数据时,获取所述待播放视频的预设播放时长;The preset playing duration acquisition module 10 is configured to acquire a preset playing duration of the to-be-played video when the electronic device caches video data corresponding to the to-be-played video;
缓存速率获取模块20,用于获取所述电子设备缓存所述待播放视频的缓存速率;The cache rate obtaining module 20 is configured to acquire, by the electronic device, a buffer rate of the to-be-played video.
初始缓存时长确定模块30,用于根据所述预设播放时长和所述缓存速率,确定所述待播放视频的初始缓存时长;The initial buffer duration determining module 30 is configured to determine an initial buffer duration of the to-be-played video according to the preset playing duration and the buffering rate;
播放模块40,用于在所述待播放视频的视频数据的缓存时长等于所述初始缓存时长时,播放所述电子设备缓存的所述待播放视频的视频数据。The playing module 40 is configured to play the video data of the to-be-played video buffered by the electronic device when the buffering duration of the video data of the to-be-played video is equal to the initial buffering duration.
在本发明又一实施例中,基于图7,如图8所示,所述初始缓存时长确定模块30,包括:In another embodiment of the present invention, based on FIG. 7, as shown in FIG. 8, the initial cache duration determining module 30 includes:
总缓存时长确定子模块31,用于计算所述电子设备播放所述预设播放时长对应的视频数据时所需的总缓存时长;The total cache duration determining sub-module 31 is configured to calculate a total cache duration required when the electronic device plays the video data corresponding to the preset playing duration;
第一初始缓存时长确定子模块32,用于将所述总缓存时长减去所述预设播放时长得到第一计算时长,将所述第一计算时长作为初始缓存时长。The first initial buffer duration determining sub-module 32 is configured to obtain the first calculating duration by subtracting the total playing duration from the total playing duration, and using the first calculating duration as the initial buffer duration.
在本发明又一实施例中,基于图8,如图9所示,所述初始缓存时长确定模块30,还包括:In another embodiment of the present invention, based on FIG. 8, as shown in FIG. 9, the initial cache duration determining module 30 further includes:
预设缓存时长获取子模块33,用于分别获取第一预设缓存时长和第 二预设缓存时长,所述第一预设缓存时长小于所述第二缓存时长;The preset cache duration acquisition sub-module 33 is configured to respectively acquire the first preset cache duration and the first The second preset cache duration is longer than the second cache duration;
缓存时长比较子模块34,用于将所述第一计算时长分别与所述第一预设缓存时长、所述第二预设缓存时长比较;The buffer duration comparison sub-module 34 is configured to compare the first calculation duration with the first preset cache duration and the second preset cache duration;
第二初始缓存时长确定子模块35,用于在所述第一缓存时长小于所述第一预设缓存时长时,将所述第一缓存时长作为所述初始缓存时长;The second initial cache duration determining sub-module 35 is configured to use the first cache duration as the initial cache duration when the first cache duration is less than the first preset cache duration;
第三初始缓存时长确定子模块36,用于在所述第一缓存时长不小于所述第一预设缓存时长,且所述第一缓存时长不大于所述第二预设缓存时长之间时,将所述第一缓存时长作为所述初始缓存时长;The third initial cache duration determining sub-module 36 is configured to: when the first cache duration is not less than the first preset cache duration, and the first cache duration is not greater than the second preset cache duration Determining, by using the first cache duration, the initial cache duration;
第四初始缓存时长确定子模块37,用于在所述第一缓存时长大于所述第二预设缓存时长时,将所述第二预设时长作为所述初始缓存时长。The fourth initial buffer duration determining sub-module 37 is configured to use the second preset duration as the initial buffer duration when the first buffer duration is greater than the second preset cache duration.
在本发明又一实施例中,基于图7,如图10所示,所述预设播放时长获取模块10,包括:In another embodiment of the present invention, based on FIG. 7, as shown in FIG. 10, the preset play duration acquisition module 10 includes:
历史播放记录获取子模块11,用于获取所述待播放视频的历史播放记录;The history play record acquisition sub-module 11 is configured to acquire a history play record of the to-be-played video;
平均播放时长计算子模块12,用于计算所述待播放视频的平均播放时长;The average play duration calculation sub-module 12 is configured to calculate an average play duration of the to-be-played video;
第一预设播放时长确定子模块13,用于将所述平均播放时长作为所述待播放视频的预设播放时长。The first preset playing duration determining sub-module 13 is configured to use the average playing duration as the preset playing duration of the to-be-played video.
在本发明又一实施例中,基于图7,如图11所示,所述预设播放时长获取模块10,包括:In another embodiment of the present invention, based on FIG. 7, as shown in FIG. 11, the preset play duration acquisition module 10 includes:
视频类型获取子模块14,用于获取所述待播放视频的视频类型;a video type obtaining sub-module 14 configured to acquire a video type of the to-be-played video;
平均播放时长获取子模块15,用于获取所述视频类型对应视频的平均播放时长; The average play duration acquisition sub-module 15 is configured to acquire an average play duration of the video corresponding to the video type;
第二预设播放时长确定子模块16,用于将所述平均播放时长作为所述待播放视频的预设播放时长。The second preset playing duration determining sub-module 16 is configured to use the average playing duration as the preset playing duration of the to-be-played video.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。With regard to the apparatus in the above embodiments, the specific manner in which the respective modules perform the operations has been described in detail in the embodiment relating to the method, and will not be explained in detail herein.
本发明实施例提供的视频播放控制装置,在电子设备缓存待播放视频对应的视频数据时,获取待播放视频的预设播放时长,通过获取电子设备缓存该待播放视频的缓存速率,来确定待播放视频的初始缓存时长,在待播放视频的视频数据的缓存时长等于初始缓存时长时,播放电子设备缓存待播放视频的视频数据。这样可以有效防止在待播放视频缓存过多时造成的资源浪费及用户高等待时长的问题,同时也可以避免用户在观看待播放视频时因待播放视频缓存过少而出现的卡顿等现象。并且可以通过获取待播放视频的历史播放记录或待播放视频的类型来确定所需播放的预设播放时长。The video playback control device provided by the embodiment of the present invention obtains the preset playback duration of the video to be played when the electronic device caches the video data corresponding to the video to be played, and determines the cache rate of the to-be-played video by the electronic device to determine the to-be-played video. The initial buffering duration of the played video. When the buffering duration of the video data of the video to be played is equal to the initial buffering duration, the playing electronic device caches the video data of the video to be played. In this way, the problem of waste of resources and high waiting time of the user when the video buffer to be played is too much can be effectively prevented, and the phenomenon that the user has a small amount of video buffers to be played when watching the video to be played can be prevented. And determining the preset playing duration of the desired playing by obtaining the historical playing record of the video to be played or the type of the video to be played.
本发明实施例还提供一种电子设备,如图12所示,该电子设备210包括:至少一个处理器211、至少一个总线212、至少一个通信接口213和至少一个存储器214,其中,The embodiment of the present invention further provides an electronic device. As shown in FIG. 12, the electronic device 210 includes: at least one processor 211, at least one bus 212, at least one communication interface 213, and at least one memory 214, where
存储器211用于存储计算机可执行指令;存储器204可以包括只读存储器和随机存取存储器,并向处理器201提供指令和数据。存储器204的一部分还可以包括非易失性随机存取存储器(NVRAM,Non-Volatile Random Access Memory);The memory 211 is for storing computer executable instructions; the memory 204 can include read only memory and random access memory, and provides instructions and data to the processor 201. A portion of the memory 204 may further include a non-Volatile Random Access Memory (NVRAM);
处理器211与通信接口213、存储器214通过总线212相连接;The processor 211 is connected to the communication interface 213 and the memory 214 via a bus 212;
在本发明一个实施例中,当计算机运行时,处理器211执行存储器214中存储的计算机执行指令,处理器211可以执行图1所示实施例中的步骤, 用于:In one embodiment of the present invention, when the computer is running, the processor 211 executes computer execution instructions stored in the memory 214, and the processor 211 can perform the steps in the embodiment shown in FIG. Used for:
在所述电子设备缓存待播放视频对应的视频数据时,获取所述待播放视频的预设播放时长;Obtaining a preset playing duration of the to-be-played video when the electronic device caches video data corresponding to the to-be-played video;
获取所述电子设备缓存所述待播放视频的缓存速率;Obtaining, by the electronic device, a buffering rate of the to-be-played video;
根据所述预设播放时长和所述缓存速率,确定所述待播放视频的初始缓存时长;Determining, according to the preset playing duration and the buffering rate, an initial buffering duration of the to-be-played video;
在所述待播放视频的视频数据的缓存时长等于所述初始缓存时长时,播放所述电子设备缓存的所述待播放视频的视频数据。And playing video data of the to-be-played video buffered by the electronic device when the buffering duration of the video data of the to-be-played video is equal to the initial buffering duration.
图13是本申请实施例提供的执行视频播放控制方法的电子设备的硬件结构示意图,如图13所示,该设备包括:FIG. 13 is a schematic structural diagram of hardware of an electronic device for performing a video playback control method according to an embodiment of the present disclosure. As shown in FIG. 13, the device includes:
一个或多个处理器1310以及存储器1320,图13中以一个处理器1310为例。One or more processors 1310 and a memory 1320 are exemplified by a processor 1310 in FIG.
执行视频播放控制方法的设备还可以包括:输入装置1330和输出装置1340。The apparatus that performs the video playback control method may further include: an input device 1330 and an output device 1340.
处理器1310、存储器1320、输入装置1330和输出装置1340可以通过总线或者其他方式连接,图13中以通过总线连接为例。The processor 1310, the memory 1320, the input device 1330, and the output device 1340 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
存储器1320作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的视频播放控制方法对应的程序指令/模块(例如,附图7所示的预设播放时长获取模块10、缓存速率获取模块20、初始缓存时长确定模块30和播放模块40)。处理器1310通过运行存储在存储器1320中的非易失性软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据 处理,即实现上述任一方法实施例中的视频播放控制方法。The memory 1320 is a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, such as a program corresponding to the video playback control method in the embodiment of the present application. The instruction/module (for example, the preset play duration acquisition module 10, the cache rate acquisition module 20, the initial cache duration determination module 30, and the playback module 40 shown in FIG. 7). The processor 1310 executes various functional applications and data of the electronic device by running non-volatile software programs, instructions, and modules stored in the memory 1320. Processing, that is, implementing the video playback control method in any of the above method embodiments.
存储器1320可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据视频播放控制装置(如附图7)的使用所创建的数据等。此外,存储器1320可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器1320可选包括相对于处理器1310远程设置的存储器,这些远程存储器可以通过网络连接至视频播放控制装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 1320 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; and the storage data area may store a usage according to the video playback control device (such as FIG. 7). Created data, etc. Further, the memory 1320 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, memory 1320 can optionally include memory remotely located relative to processor 1310, which can be connected to the video playback control device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置1330可接收输入的数字或字符信息,以及产生与视频播放控制装置的用户设置以及功能控制有关的键信号输入。输出装置1340可包括显示屏等显示设备。The input device 1330 can receive the input digital or character information and generate a key signal input related to user settings and function control of the video playback control device. The output device 1340 can include a display device such as a display screen.
所述一个或者多个模块存储在所述存储器1320中,当被所述一个或者多个处理器1310执行时,执行上述任意方法实施例中的视频播放控制方法。The one or more modules are stored in the memory 1320, and when executed by the one or more processors 1310, perform a video playback control method in any of the above method embodiments.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above products can perform the methods provided by the embodiments of the present application, and have the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiments of the present application.
本发明实施例的电子设备以多种形式存在,包括但不限于:The electronic device of the embodiment of the invention exists in various forms, including but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。 (1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。(4) Server: A device that provides computing services. The server consists of a processor, a hard disk, a memory, a system bus, etc. The server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
(5)其他具有数据交互功能的电子装置。(5) Other electronic devices with data interaction functions.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可实现图1及图3~图6所示实施例提供的视频播放控制方法的各实现方式中的部分或全部步骤。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, the implementation of the video playback control method provided by the embodiment shown in FIG. 1 and FIG. 3 to FIG. 6 can be implemented. Some or all of the steps in the way.
本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,可实现图1及图3~图6所示实施例提供的视频播放控制方法的各实现方式中的部分或全部步骤。Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are During execution, some or all of the steps in the implementation manners of the video playback control method provided in the embodiment shown in FIG. 1 and FIG. 3 to FIG. 6 may be implemented.
可以理解的是,本发明实施例可用于众多通用或专用的计算系统环 境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。It will be appreciated that embodiments of the invention are applicable to a wide variety of general purpose or dedicated computing system rings. In the environment or configuration. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor based systems, set-top boxes, programmable consumer electronics devices, network PCs, small computers, mainframe computers, including A distributed computing environment of any of the above systems or devices, and the like.
本发明实施例可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本发明实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。Embodiments of the invention may be described in the general context of computer-executable instructions executed by a computer, such as a program module. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types. Embodiments of the invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network. In a distributed computing environment, program modules can be located in both local and remote computer storage media including storage devices.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is any such actual relationship or order between entities or operations. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
本领域技术人员在考虑说明书及实践这里公开的发明实施例后,将容易想到本发明实施例的其它实施方案。本申请旨在涵盖本发明实施例的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵 循本发明实施例的一般性原理并包括本发明实施例未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明实施例的真正范围和精神由下面的权利要求指出。Other embodiments of the embodiments of the invention will be apparent to those skilled in the < This application is intended to cover any variations, uses, or adaptations of the embodiments of the invention. The general principles of the embodiments of the present invention are included and include common general knowledge or conventional techniques in the art that are not disclosed in the embodiments of the present invention. The specification and examples are to be considered as illustrative only,
应当理解的是,本发明实施例并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明实施例的范围仅由所附的权利要求来限制。 It is to be understood that the embodiments of the present invention are not limited to the precise structures and The scope of the embodiments of the invention is limited only by the appended claims.

Claims (13)

  1. 一种视频播放控制方法,应用于电子设备,其特征在于,所述方法包括:A video playback control method is applied to an electronic device, and the method includes:
    在所述电子设备缓存待播放视频对应的视频数据时,获取所述待播放视频的预设播放时长;Obtaining a preset playing duration of the to-be-played video when the electronic device caches video data corresponding to the to-be-played video;
    获取所述电子设备缓存所述待播放视频的缓存速率;Obtaining, by the electronic device, a buffering rate of the to-be-played video;
    根据所述预设播放时长和所述缓存速率,确定所述待播放视频的初始缓存时长;Determining, according to the preset playing duration and the buffering rate, an initial buffering duration of the to-be-played video;
    在所述待播放视频的视频数据的缓存时长等于所述初始缓存时长时,播放所述电子设备缓存的所述待播放视频的视频数据。And playing video data of the to-be-played video buffered by the electronic device when the buffering duration of the video data of the to-be-played video is equal to the initial buffering duration.
  2. 根据权利要求1所述的视频播放控制方法,其特征在于,所述确定所述待播放视频的初始缓存时长,包括:The video playback control method according to claim 1, wherein the determining an initial buffer duration of the to-be-played video comprises:
    计算所述电子设备播放所述预设播放时长对应的视频数据时所需的总缓存时长;Calculating a total buffer duration required when the electronic device plays the video data corresponding to the preset playing duration;
    将所述总缓存时长减去所述预设播放时长得到第一计算时长,将所述第一计算时长作为初始缓存时长。The first calculation duration is obtained by subtracting the total playback duration from the preset playback duration, and the first calculation duration is used as an initial cache duration.
  3. 根据权利要求2所述的视频播放控制方法,其特征在于,所述确定所述待播放视频的初始缓存时长,还包括:The video playback control method according to claim 2, wherein the determining the initial cache duration of the to-be-played video further includes:
    分别获取第一预设缓存时长和第二预设缓存时长,所述第一预设缓存时长小于所述第二缓存时长;Obtaining a first preset cache duration and a second preset cache duration, where the first preset cache duration is less than the second cache duration;
    将所述第一计算时长分别与所述第一预设缓存时长、所述第二预设缓存时长比较;Comparing the first calculation duration with the first preset cache duration and the second preset cache duration;
    在所述第一缓存时长小于所述第一预设缓存时长时,将所述第一缓存时长作为所述初始缓存时长;When the first cache duration is less than the first preset cache duration, the first cache duration is used as the initial cache duration;
    在所述第一缓存时长不小于所述第一预设缓存时长,且所述第一缓存时长不大于所述第二预设缓存时长之间时,将所述第一缓存时长作为所述初始缓存时长;When the first cache duration is not less than the first preset cache duration, and the first cache duration is not greater than the second preset cache duration, the first cache duration is used as the initial Cache duration;
    在所述第一缓存时长大于所述第二预设缓存时长时,将所述第二 预设时长作为所述初始缓存时长。When the first cache duration is greater than the second preset cache duration, the second The preset duration is used as the initial cache duration.
  4. 根据权利要求1所述的视频播放控制方法,其特征在于,所述获取所述待播放视频的预设播放时长,包括:The video playback control method according to claim 1, wherein the acquiring the preset playing duration of the to-be-played video comprises:
    获取所述待播放视频的历史播放记录;Obtaining a historical play record of the to-be-played video;
    计算所述待播放视频的平均播放时长;Calculating an average playing duration of the to-be-played video;
    将所述平均播放时长作为所述待播放视频的预设播放时长。The average playing duration is used as the preset playing duration of the to-be-played video.
  5. 根据权利要求1所述的视频播放控制方法,其特征在于,所述获取所述待播放视频的预设播放时长,包括:The video playback control method according to claim 1, wherein the acquiring the preset playing duration of the to-be-played video comprises:
    获取所述待播放视频的视频类型;Obtaining a video type of the to-be-played video;
    获取所述视频类型对应视频的平均播放时长;Obtaining an average playing duration of the video corresponding to the video type;
    将所述平均播放时长作为所述待播放视频的预设播放时长。The average playing duration is used as the preset playing duration of the to-be-played video.
  6. 一种视频播放控制装置,应用于电子设备,其特征在于,所述装置包括:A video playback control device is applied to an electronic device, characterized in that the device comprises:
    预设播放时长获取模块,用于在所述电子设备缓存待播放视频对应的视频数据时,获取所述待播放视频的预设播放时长;a preset playback duration acquisition module, configured to acquire a preset playback duration of the to-be-played video when the electronic device caches video data corresponding to the to-be-played video;
    缓存速率获取模块,用于获取所述电子设备缓存所述待播放视频的缓存速率;a buffer rate obtaining module, configured to acquire a buffering rate of the to-be-played video by the electronic device;
    初始缓存时长确定模块,用于根据所述预设播放时长和所述缓存速率,确定所述待播放视频的初始缓存时长;An initial buffer duration determining module, configured to determine an initial buffer duration of the to-be-played video according to the preset playing duration and the buffering rate;
    播放模块,用于在所述待播放视频的视频数据的缓存时长等于所述初始缓存时长时,播放所述电子设备缓存的所述待播放视频的视频数据。a playing module, configured to play video data of the to-be-played video buffered by the electronic device when a buffering duration of the video data of the to-be-played video is equal to the initial buffering duration.
  7. 根据权利要求6所述的视频播放控制装置,其特征在于,所述初始缓存时长确定模块,包括:The video playback control device according to claim 6, wherein the initial buffer duration determining module comprises:
    总缓存时长确定子模块,用于计算所述电子设备播放所述预设播放时长对应的视频数据时所需的总缓存时长; a total cache duration determining submodule, configured to calculate a total cache duration required when the electronic device plays the video data corresponding to the preset playing duration;
    第一初始缓存时长确定子模块,用于将所述总缓存时长减去所述预设播放时长得到第一计算时长,将所述第一计算时长作为初始缓存时长。The first initial buffer duration determining submodule is configured to obtain the first calculating duration by subtracting the total playing duration from the total playing duration, and using the first calculating duration as the initial buffer duration.
  8. 根据权利要求7所述的视频播放控制装置,其特征在于,所述初始缓存时长确定模块,还包括:The video playback control device according to claim 7, wherein the initial buffer duration determining module further comprises:
    预设缓存时长获取子模块,用于分别获取第一预设缓存时长和第二预设缓存时长,所述第一预设缓存时长小于所述第二缓存时长;The preset cache duration acquisition sub-module is configured to obtain a first preset cache duration and a second preset cache duration, where the first preset cache duration is less than the second cache duration;
    缓存时长比较子模块,用于将所述第一计算时长分别与所述第一预设缓存时长、所述第二预设缓存时长比较;a buffer duration comparison submodule, configured to compare the first calculation duration with the first preset cache duration and the second preset cache duration;
    第二初始缓存时长确定子模块,用于在所述第一缓存时长小于所述第一预设缓存时长时,将所述第一缓存时长作为所述初始缓存时长;a second initial cache duration determining submodule, configured to use the first cache duration as the initial cache duration when the first cache duration is less than the first preset cache duration;
    第三初始缓存时长确定子模块,用于在所述第一缓存时长不小于所述第一预设缓存时长,且所述第一缓存时长不大于所述第二预设缓存时长之间时,将所述第一缓存时长作为所述初始缓存时长;a third initial cache duration determining submodule, configured to: when the first cache duration is not less than the first preset cache duration, and the first cache duration is not greater than the second preset cache duration, Using the first cache duration as the initial cache duration;
    第四初始缓存时长确定子模块,用于在所述第一缓存时长大于所述第二预设缓存时长时,将所述第二预设时长作为所述初始缓存时长。And a fourth initial cache duration determining submodule, configured to use the second preset duration as the initial cache duration when the first cache duration is greater than the second preset cache duration.
  9. 根据权利要求6所述的视频播放控制装置,其特征在于,所述预设播放时长获取模块,包括:The video playback control device according to claim 6, wherein the preset playback duration acquisition module comprises:
    历史播放记录获取子模块,用于获取所述待播放视频的历史播放记录;a history play record obtaining sub-module, configured to acquire a historical play record of the to-be-played video;
    平均播放时长计算子模块,用于计算所述待播放视频的平均播放时长;An average play duration calculation sub-module, configured to calculate an average play duration of the to-be-played video;
    第一预设播放时长确定子模块,用于将所述平均播放时长作为所述待播放视频的预设播放时长。The first preset playing duration determining submodule is configured to use the average playing duration as the preset playing duration of the to-be-played video.
  10. 根据权利要求6所述的视频播放控制装置,其特征在于,所述预设播放时长获取模块,包括:The video playback control device according to claim 6, wherein the preset playback duration acquisition module comprises:
    视频类型获取子模块,用于获取所述待播放视频的视频类型; a video type obtaining submodule, configured to acquire a video type of the to-be-played video;
    平均播放时长获取子模块,用于获取所述视频类型对应视频的平均播放时长;The average playing time acquisition sub-module is configured to obtain an average playing duration of the video corresponding to the video type;
    第二预设播放时长确定子模块,用于将所述平均播放时长作为所述待播放视频的预设播放时长。The second preset playing duration determining submodule is configured to use the average playing duration as the preset playing duration of the to-be-played video.
  11. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    至少一个处理器;At least one processor;
    至少一个用于存储处理器可执行指令的存储器;At least one memory for storing processor executable instructions;
    至少一个通信接口;At least one communication interface;
    至少一个总线;At least one bus;
    其中,所述处理器被配置为:Wherein the processor is configured to:
    在所述电子设备缓存待播放视频对应的视频数据时,获取所述待播放视频的预设播放时长;Obtaining a preset playing duration of the to-be-played video when the electronic device caches video data corresponding to the to-be-played video;
    获取所述电子设备缓存所述待播放视频的缓存速率;Obtaining, by the electronic device, a buffering rate of the to-be-played video;
    根据所述预设播放时长和所述缓存速率,确定所述待播放视频的初始缓存时长;Determining, according to the preset playing duration and the buffering rate, an initial buffering duration of the to-be-played video;
    在所述待播放视频的视频数据的缓存时长等于所述初始缓存时长时,播放所述电子设备缓存的所述待播放视频的视频数据。And playing video data of the to-be-played video buffered by the electronic device when the buffering duration of the video data of the to-be-played video is equal to the initial buffering duration.
  12. 一种计算机存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为:A computer storage medium storing computer executable instructions, the computer executable instructions being set to:
    在所述电子设备缓存待播放视频对应的视频数据时,获取所述待播放视频的预设播放时长;Obtaining a preset playing duration of the to-be-played video when the electronic device caches video data corresponding to the to-be-played video;
    获取所述电子设备缓存所述待播放视频的缓存速率;Obtaining, by the electronic device, a buffering rate of the to-be-played video;
    根据所述预设播放时长和所述缓存速率,确定所述待播放视频的初始缓存时长;Determining, according to the preset playing duration and the buffering rate, an initial buffering duration of the to-be-played video;
    在所述待播放视频的视频数据的缓存时长等于所述初始缓存时 长时,播放所述电子设备缓存的所述待播放视频的视频数据。The buffering duration of the video data of the to-be-played video is equal to the initial buffering time. For a long time, the video data of the to-be-played video buffered by the electronic device is played.
  13. 一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1至5任一项所述的方法。 A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, causing the computer The method of any one of claims 1 to 5 is performed.
PCT/CN2016/100343 2016-06-29 2016-09-27 Video playing control method and device WO2018000624A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610499978.6 2016-06-29
CN201610499978.6A CN106131657A (en) 2016-06-29 2016-06-29 Video playing control method and device

Publications (1)

Publication Number Publication Date
WO2018000624A1 true WO2018000624A1 (en) 2018-01-04

Family

ID=57284878

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100343 WO2018000624A1 (en) 2016-06-29 2016-09-27 Video playing control method and device

Country Status (2)

Country Link
CN (1) CN106131657A (en)
WO (1) WO2018000624A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112752152A (en) * 2020-12-28 2021-05-04 海信视像科技股份有限公司 Delivery video playing method and display equipment
CN114143612A (en) * 2021-12-06 2022-03-04 北京达佳互联信息技术有限公司 Video display method, video display device, electronic equipment, storage medium and program product
CN114900732A (en) * 2022-04-25 2022-08-12 北京奇艺世纪科技有限公司 Video caching method and device, electronic equipment and storage medium
CN115022721A (en) * 2022-05-31 2022-09-06 北京达佳互联信息技术有限公司 Content display method and device, electronic equipment and storage medium
CN115278349A (en) * 2022-07-21 2022-11-01 北京邮电大学 Method for processing dragging watching video under wireless communication environment
CN115297092A (en) * 2022-07-29 2022-11-04 抖音视界有限公司 Media data caching method and device, electronic equipment and storage medium
CN115378920A (en) * 2022-10-26 2022-11-22 南京大鱼半导体有限公司 Method and equipment for adjusting audio time delay
CN115866309A (en) * 2022-11-29 2023-03-28 广州后为科技有限公司 Audio and video caching method and device supporting multi-channel video synchronization

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106777113B (en) * 2016-12-15 2020-03-13 北京安云世纪科技有限公司 Data processing method and device in application program and mobile terminal
CN106792174B (en) * 2016-12-20 2020-01-21 天脉聚源(北京)传媒科技有限公司 Method and device for monitoring playing fluency of network video
CN109413128B (en) * 2017-08-18 2022-02-11 北京搜狗科技发展有限公司 Data processing method and device and electronic equipment
CN107454458A (en) * 2017-08-30 2017-12-08 努比亚技术有限公司 A kind of video data caching method, equipment and storage medium
CN109525887B (en) * 2018-12-27 2021-06-18 长沙理工大学 Self-adjusting playing method, system and device of online video
CN113691859A (en) * 2021-09-16 2021-11-23 百果园技术(新加坡)有限公司 Video caching method, device, equipment and medium
CN113810773B (en) * 2021-09-17 2024-03-01 北京百度网讯科技有限公司 Video downloading method and device, electronic equipment and storage medium
CN114374879B (en) * 2022-01-14 2023-12-29 重庆帮企科技集团有限公司 Mobile terminal video loading method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001362A (en) * 2006-01-11 2007-07-18 腾讯科技(深圳)有限公司 Method and terminal of on-line playing flow media
CN103002272A (en) * 2011-09-15 2013-03-27 上海聚力传媒技术有限公司 Method, device and equipment for switching code rate of audio and video information
CN103546540A (en) * 2013-09-26 2014-01-29 传线网络科技(上海)有限公司 Method and system for realizing control of cache data on CDN (content delivery network)
US20140244857A1 (en) * 2013-02-22 2014-08-28 Samsung Electronics Co., Ltd. Dynamic buffering method and apparatus for providing streaming

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309400B (en) * 2008-06-27 2011-09-14 上海华为技术有限公司 Stream media service pause information acquisition method and device
CN103731720B (en) * 2013-11-25 2018-01-30 乐视致新电子科技(天津)有限公司 The multi-medium data caching method and device of a kind of intelligent television

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001362A (en) * 2006-01-11 2007-07-18 腾讯科技(深圳)有限公司 Method and terminal of on-line playing flow media
CN103002272A (en) * 2011-09-15 2013-03-27 上海聚力传媒技术有限公司 Method, device and equipment for switching code rate of audio and video information
US20140244857A1 (en) * 2013-02-22 2014-08-28 Samsung Electronics Co., Ltd. Dynamic buffering method and apparatus for providing streaming
CN103546540A (en) * 2013-09-26 2014-01-29 传线网络科技(上海)有限公司 Method and system for realizing control of cache data on CDN (content delivery network)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112752152A (en) * 2020-12-28 2021-05-04 海信视像科技股份有限公司 Delivery video playing method and display equipment
CN112752152B (en) * 2020-12-28 2022-11-25 海信视像科技股份有限公司 Delivery video playing method and display equipment
CN114143612A (en) * 2021-12-06 2022-03-04 北京达佳互联信息技术有限公司 Video display method, video display device, electronic equipment, storage medium and program product
CN114143612B (en) * 2021-12-06 2024-03-15 北京达佳互联信息技术有限公司 Video display method, device, electronic equipment, storage medium and program product
CN114900732A (en) * 2022-04-25 2022-08-12 北京奇艺世纪科技有限公司 Video caching method and device, electronic equipment and storage medium
CN114900732B (en) * 2022-04-25 2024-01-12 北京奇艺世纪科技有限公司 Video caching method and device, electronic equipment and storage medium
CN115022721A (en) * 2022-05-31 2022-09-06 北京达佳互联信息技术有限公司 Content display method and device, electronic equipment and storage medium
CN115022721B (en) * 2022-05-31 2023-11-21 北京达佳互联信息技术有限公司 Content display method and device, electronic equipment and storage medium
CN115278349B (en) * 2022-07-21 2023-05-23 北京邮电大学 Method for processing drag watching video under wireless communication environment
CN115278349A (en) * 2022-07-21 2022-11-01 北京邮电大学 Method for processing dragging watching video under wireless communication environment
CN115297092B (en) * 2022-07-29 2023-06-16 抖音视界有限公司 Media data caching method and device, electronic equipment and storage medium
CN115297092A (en) * 2022-07-29 2022-11-04 抖音视界有限公司 Media data caching method and device, electronic equipment and storage medium
CN115378920A (en) * 2022-10-26 2022-11-22 南京大鱼半导体有限公司 Method and equipment for adjusting audio time delay
CN115866309A (en) * 2022-11-29 2023-03-28 广州后为科技有限公司 Audio and video caching method and device supporting multi-channel video synchronization
CN115866309B (en) * 2022-11-29 2023-09-22 广州后为科技有限公司 Audio and video caching method and device supporting multipath video synchronization

Also Published As

Publication number Publication date
CN106131657A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
WO2018000624A1 (en) Video playing control method and device
CN109413483B (en) Live content preview method, device, equipment and medium
WO2018000661A1 (en) Barrage display method and apparatus
CN109257631B (en) Video carousel playing method and device, computer equipment and storage medium
WO2017181598A1 (en) Method and device for playing video
US10261999B2 (en) Searching multimedia based on trigger events
CN109640129B (en) Video recommendation method and device, client device, server and storage medium
US10271105B2 (en) Method for playing video, client, and computer storage medium
WO2017181597A1 (en) Method and device for video playback
US11716506B2 (en) Dynamic content ratings
WO2015090095A1 (en) Information pushing method, device, and system
WO2017092422A1 (en) Android platform-based multimedia processing method, device, and mobile terminal apparatus
WO2021012665A1 (en) Interactive audio and video playing method and apparatus
CN108604204B (en) Selecting and distributing records of applications executing on computing devices in a network environment
US20170168705A1 (en) Method and electronic device for adjusting video progress
WO2016090889A1 (en) Promotion information processing method, device and apparatus, and non-volatile computer storage medium
WO2017185605A1 (en) File management method and electronic equipment
US20170180805A1 (en) Method and electronic device for video follow-play
WO2017088394A1 (en) Online live video player and playing method
CN109120954B (en) Video message pushing method and device, computer equipment and storage medium
US20160294903A1 (en) Method and device for pushing resources to mobile communication terminal by smart television
CN106921870A (en) A kind of video broadcasting method and device
US20170195710A1 (en) Method and electronic device for preview play
CN110602564A (en) Video optimization information providing method and device, electronic equipment and readable medium
WO2015143854A1 (en) Data acquisition and interaction method, set top box, server and multimedia system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16907020

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16907020

Country of ref document: EP

Kind code of ref document: A1