一种用于提供视频信息的方法与设备A method and device for providing video information
本申请是以CN申请号为
2020108456889,申请日为
2020.08.20的申请为基础,并主张其优先权,该CN申请的公开内容在此作为整体引入本申请中
This application is based on the application whose CN application number is 2020108456889 and whose filing date is 2020.08.20 , and claims its priority. The disclosure of this CN application is hereby incorporated into this application as a whole.
技术领域technical field
本申请涉及通信领域,尤其涉及一种用于提供视频信息的技术。The present application relates to the field of communications, and in particular, to a technology for providing video information.
背景技术Background technique
随着电影、市场和电视技术的不断发展,影视节目制作的日益市场化,各种专业的制作公司如雨后春笋般的出现。新型的媒体制作产业对制作人才(例如,原创者以及二次再创作者)提出更高要求,需求量也大幅度提升。首先是网剧、网综、网络大电影等多样形式的影视作品,让大量的资本涌入,作品纷呈;其次是短视频、小视频已经成为了人们获取信息、轻松休闲的主要方式,人们对视频类作品巨大的需求使得更多的制作人才投入到视频制作的领域。With the continuous development of film, market and TV technology, and the increasing marketization of film and television program production, various professional production companies have sprung up. The new media production industry puts forward higher requirements for production talents (for example, original creators and secondary re-creators), and the demand is also greatly increased. First of all, there are various forms of film and television works such as online dramas, online dramas, and online big movies, which have brought a large influx of capital and works; secondly, short videos and small videos have become the main way for people to obtain information and relax. The huge demand for video works makes more production talents devote to the field of video production.
发明内容SUMMARY OF THE INVENTION
本申请的一个目的是提供一种用于提供视频信息的方法与设备。An object of the present application is to provide a method and apparatus for providing video information.
根据本申请的一个方面,提供了一种用于提供视频信息的方法,应用于网络设备,该方法包括:According to one aspect of the present application, there is provided a method for providing video information, applied to a network device, the method comprising:
接收拖曳信息,其中,所述拖曳信息是响应于目标应用中与目标视频的进度条相关的拖曳事件而生成的,所述拖曳信息包括所述拖曳事件对应的至少一个时间段信息;receiving drag information, wherein the drag information is generated in response to a drag event related to the progress bar of the target video in the target application, and the drag information includes at least one time period information corresponding to the drag event;
根据所述拖曳信息生成关于所述目标视频的第一播放方案;generating a first playback scheme about the target video according to the dragging information;
接收第一用户设备发送的视频播放请求,其中,所述视频播放请求包括所述目标视频的视频标识信息以及所述第一用户设备所属用户的用户标识信息;receiving a video playback request sent by a first user equipment, wherein the video playback request includes video identification information of the target video and user identification information of a user to which the first user equipment belongs;
响应于所述视频播放请求,将根据所述第一播放方案配置的所述目标视频提供至所述第一用户设备。In response to the video playback request, the target video configured according to the first playback scheme is provided to the first user equipment.
根据本申请的另一个方面,提供了一种用于提供视频信息的方法,应用于第一用户 设备,该方法包括:According to another aspect of the present application, there is provided a method for providing video information, applied to the first user equipment, the method comprising:
向目标应用对应的网络设备发送视频播放请求,其中,所述视频播放请求包括目标视频的视频标识信息以及第一用户设备所属用户的用户标识信息;Sending a video playback request to the network device corresponding to the target application, wherein the video playback request includes video identification information of the target video and user identification information of the user to which the first user equipment belongs;
接收基于所述视频播放请求返回的、根据第一播放方案配置的所述目标视频;receiving the target video that is returned based on the video playback request and configured according to the first playback scheme;
以所述第一播放方案播放所述目标视频。Play the target video in the first playback scheme.
根据本申请的再一个方面,提供了一种用于提供视频信息的方法,该方法包括:According to yet another aspect of the present application, a method for providing video information is provided, the method comprising:
响应于目标应用中与目标视频进度条相关的拖曳事件,第一用户设备向所述目标应用对应的网络设备发送触发信息,其中,所述触发信息包括所述拖曳事件对应的至少一个时间段信息;In response to a drag event related to the target video progress bar in the target application, the first user equipment sends trigger information to a network device corresponding to the target application, where the trigger information includes at least one time period information corresponding to the drag event ;
网络设备接收拖曳信息,并根据所述拖曳信息生成关于所述目标视频的第一播放方案,其中,所述拖曳信息是响应于目标应用中与目标视频的进度条相关的拖曳事件而生成的,所述拖曳信息包括所述拖曳事件对应的至少一个时间段信息;The network device receives the dragging information, and generates a first playback scheme about the target video according to the dragging information, wherein the dragging information is generated in response to a dragging event related to the progress bar of the target video in the target application, The drag information includes at least one time period information corresponding to the drag event;
第一用户设备向所述网络设备发送视频播放请求,其中,所述视频播放请求包括所述目标视频的视频标识信息以及所述第一用户设备所属用户的用户标识信息;The first user equipment sends a video playback request to the network device, wherein the video playback request includes video identification information of the target video and user identification information of a user to which the first user equipment belongs;
所述网络设备接收所述视频播放请求,并响应于所述视频播放请求,将根据所述第一播放方案配置的所述目标视频提供至所述第一用户设备/第二用户设备;The network device receives the video playback request, and in response to the video playback request, provides the target video configured according to the first playback scheme to the first user equipment/second user equipment;
第一用户设备接收所述目标视频。The first user equipment receives the target video.
根据本申请的一个方面,提供了一种用于提供视频信息的网络设备,该设备包括:According to an aspect of the present application, a network device for providing video information is provided, the device comprising:
一一模块,用于接收拖曳信息,其中,所述拖曳信息是响应于目标应用中与目标视频的进度条相关的拖曳事件而生成的,所述拖曳信息包括所述拖曳事件对应的至少一个时间段信息;A module for receiving drag information, wherein the drag information is generated in response to a drag event related to the progress bar of the target video in the target application, and the drag information includes at least one time corresponding to the drag event segment information;
一二模块,用于根据所述拖曳信息生成关于所述目标视频的第一播放方案;One or two modules are used to generate a first playback scheme about the target video according to the dragging information;
一三模块,用于接收第一用户设备发送的视频播放请求,其中,所述视频播放请求包括所述目标视频的视频标识信息以及所述第一用户设备所属用户的用户标识信息;A third module is used to receive a video playback request sent by the first user equipment, wherein the video playback request includes the video identification information of the target video and the user identification information of the user to which the first user equipment belongs;
一四模块,用于响应于所述视频播放请求,将根据所述第一播放方案配置的所述目标视频提供至所述第一用户设备。A fourth module, configured to provide the target video configured according to the first playback scheme to the first user equipment in response to the video playback request.
根据本申请的一个方面,提供了一种用于提供视频信息的第一用户设备,该设备包括:According to an aspect of the present application, there is provided a first user equipment for providing video information, the equipment comprising:
二一模块,用于向目标应用对应的网络设备发送视频播放请求,其中,所述视频播 放请求包括目标视频的视频标识信息以及第一用户设备所属用户的用户标识信息;Two-one module is used to send a video playback request to the network device corresponding to the target application, wherein the video playback request includes the video identification information of the target video and the user identification information of the user to which the first user equipment belongs;
二二模块,用于接收基于所述视频播放请求返回的、根据第一播放方案配置的所述目标视频;A second module, configured to receive the target video that is returned based on the video playback request and configured according to the first playback scheme;
二三模块,用于以所述第一播放方案播放所述目标视频。The second and third modules are used for playing the target video in the first playing scheme.
根据本申请的一个方面,提供了一种用于提供视频信息的设备,该设备包括:According to an aspect of the present application, there is provided a device for providing video information, the device comprising:
处理器;以及processor; and
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行如上所述任一方法的操作。A memory arranged to store computer-executable instructions which, when executed, cause the processor to perform the operations of any of the methods described above.
根据本申请的另一个方面,提供了存储指令的计算机可读介质,所述指令在被执行时使得系统进行如上所述任一方法的操作。According to another aspect of the present application, there is provided a computer-readable medium storing instructions that, when executed, cause a system to operate any of the methods described above.
与现有技术相比,本申请中网络设备基于目标应用中的拖曳事件对应的至少一个时间段信息,生成与所述拖曳事件对应的、与目标视频相关的第一播放方案,并在接收到用户对该目标视频的播放请求后,将根据所述第一播放方案配置的所述目标视频提供至用户。用户可以对目标视频进行个性化创作,从而在后续过程中有针对性地为用户提供精简并有兴趣的视频内容,提升用户观看视频的效率,并提升用户对该目标应用的关注度和粘性,同时为用户在目标应用中的好友提供根据用户的喜好生成的播放方案,提高了目标应用的社交作用。Compared with the prior art, the network device in the present application generates a first playback scheme corresponding to the drag event and related to the target video based on at least one time period information corresponding to the drag event in the target application, and receives the After the user requests to play the target video, the target video configured according to the first play scheme is provided to the user. Users can personalize the target video, so as to provide users with concise and interesting video content in a targeted manner in the subsequent process, improve the efficiency of users watching videos, and increase users' attention and stickiness to the target application, At the same time, the user's friends in the target application are provided with a playing scheme generated according to the user's preference, which improves the social function of the target application.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1示出根据本申请的一个系统拓扑图;Fig. 1 shows a system topology diagram according to the present application;
图2示出根据本申请一个实施例的一种用于提供视频信息的系统方法图;Fig. 2 shows a system method diagram for providing video information according to an embodiment of the present application;
图3示出根据本申请另一个实施例的一种用于提供视频信息的方法流程图,应用于网络设备;3 shows a flowchart of a method for providing video information according to another embodiment of the present application, which is applied to a network device;
图4a示出根据本申请一个实施例的一种用于提供视频信息的示意图;Figure 4a shows a schematic diagram for providing video information according to an embodiment of the present application;
图4b示出根据本申请另一个实施例的一种用于提供视频信息的示意图;Figure 4b shows a schematic diagram for providing video information according to another embodiment of the present application;
图5示出根据本申请又一个实施例的一种用于提供视频信息的方法流程图,应用于第一用户设备;5 shows a flowchart of a method for providing video information according to yet another embodiment of the present application, which is applied to a first user equipment;
图6示出根据本申请一个实施例的一种用于提供视频信息的网络设备的设备示意图;6 shows a schematic diagram of a network device for providing video information according to an embodiment of the present application;
图7示出根据本申请一个实施例的一种用于提供视频信息的第一用户设备的设备示意图;FIG. 7 shows a schematic diagram of a first user equipment for providing video information according to an embodiment of the present application;
图8示出根据本申请一个实施例的一种用于提供视频信息的系统的设备示意图;FIG. 8 shows a schematic diagram of a device of a system for providing video information according to an embodiment of the present application;
图9示出可被用于实施本发明中所述各个实施例的示例性系统。附图中相同或相似的附图标记代表相同或相似的部件。Figure 9 illustrates an exemplary system that may be used to implement the various embodiments described in the present invention. The same or similar reference numbers in the drawings represent the same or similar parts.
具体实施方式detailed description
下面结合附图对本申请作进一步详细描述。The present application will be described in further detail below with reference to the accompanying drawings.
在本申请一个典型的配置中,终端、服务网络的设备和可信方均包括一个或多个处理器(例如,中央处理器(Central Processing Unit,CPU))、输入/输出接口、网络接口和内存。In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party all include one or more processors (for example, a central processing unit (CPU)), an input/output interface, a network interface, and RAM.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(Random Access Memory,RAM)和/或非易失性内存等形式,如只读存储器(Read Only Memory,ROM)或闪存(Flash Memory)。内存是计算机可读介质的示例。Memory may include non-persistent memory in computer-readable media, random access memory (RAM) and/or non-volatile memory, such as read only memory (ROM) or flash memory ( Flash Memory). Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(Phase-Change Memory,PCM)、可编程随机存取存储器(Programmable Random Access Memory,PRAM)、静态随机存取存储器(Static Random-Access Memory,SRAM)、动态随机存取存储器(Dynamic Random Access Memory,DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能光盘(Digital Versatile Disc,DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, Phase-Change Memory (PCM), Programmable Random Access Memory (PRAM), Static Random-Access Memory (Static Random-Access Memory, SRAM), Dynamic Random Access Memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically-Erasable Programmable Read -Only Memory, EEPROM), flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD), or other optical storage , magnetic tape cartridges, magnetic tape-disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
本申请所指设备包括但不限于用户设备、网络设备、或用户设备与网络设备通过网络相集成所构成的设备。所述用户设备包括但不限于任何一种可与用户进行人 机交互(例如通过触摸板进行人机交互)的移动电子产品,例如智能手机、平板电脑等,所述移动电子产品可以采用任意操作系统,如Android操作系统、iOS操作系统等。其中,所述网络设备包括一种能够按照事先设定或存储的指令,自动进行数值计算和信息处理的电子设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑器件(Programmable Logic Device,PLD)、现场可编程门阵列(Field Programmable Gate Array,FPGA)、数字信号处理器(Digital Signal Processor,DSP)、嵌入式设备等。所述网络设备包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云;在此,云由基于云计算(Cloud Computing)的大量计算机或网络服务器构成,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个虚拟超级计算机。所述网络包括但不限于互联网、广域网、城域网、局域网、VPN网络、无线自组织网络(Ad Hoc网络)等。优选地,所述设备还可以是运行于所述用户设备、网络设备、或用户设备与网络设备、网络设备、触摸终端或网络设备与触摸终端通过网络相集成所构成的设备上的程序。The equipment referred to in this application includes, but is not limited to, user equipment, network equipment, or equipment formed by integrating user equipment and network equipment through a network. The user equipment includes, but is not limited to, any mobile electronic product that can perform human-computer interaction with the user (for example, human-computer interaction through a touchpad), such as a smart phone, a tablet computer, etc., and the mobile electronic product can use any operation. system, such as Android operating system, iOS operating system, etc. Wherein, the network device includes an electronic device that can automatically perform numerical calculation and information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (ASICs) ), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Digital Signal Processor (DSP), embedded devices, etc. The network device includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud formed by a plurality of servers; here, the cloud is formed by a large number of computers or network servers based on cloud computing, Among them, cloud computing is a kind of distributed computing, a virtual supercomputer composed of a group of loosely coupled computer sets. The network includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network), and the like. Preferably, the device may also be a program running on the user equipment, network equipment, or a device formed by user equipment and network equipment, network equipment, touch terminal or network equipment and touch terminal integrated through a network.
当然,本领域技术人员应能理解上述设备仅为举例,其他现有的或今后可能出现的设备如可适用于本申请,也应包含在本申请保护范围以内,并在此以引用方式包含于此。Of course, those skilled in the art should understand that the above-mentioned devices are only examples, and other existing or possible devices that may appear in the future, if applicable to this application, should also be included within the protection scope of this application, and are included in this application by reference. this.
在本申请的描述中,“多个”的含义是两个或者更多,除非另有明确具体的限定。In the description of this application, "plurality" means two or more, unless expressly and specifically defined otherwise.
图1示出了本申请的一个典型场景,一用户持有一用户设备,该用户设备中安装有目标应用,其中,所述目标应用包括视频播放类应用或者具有视频播放功能的应用,该用户设备与所述目标应用的网络设备通过有线或者无线的方式建立通信连接,基于所述通信连接,网络设备接收该用户设备发送的拖曳信息,其中,所述拖曳信息是响应于目标应用中与目标视频的进度条相关的拖曳事件而生成的,所述拖曳信息包括所述拖曳事件对应的至少一个时间段信息,并基于该拖曳信息生成关于目标视频的第一播放方案。网络设备接收该用户设备或者其他用户设备发送的关于所述目标视频的视频播放请求后,将将根据所述第一播放方案配置的所述目标视频返回至该用户设备或者其他用户设备,其中,该用户设备或者其他用户设备包括但不限于手机、平板以及笔记本电脑等(具有触摸屏幕)的计算设备。Fig. 1 shows a typical scenario of the present application, a user holds a user equipment, and a target application is installed in the user equipment, wherein the target application includes a video playback application or an application with a video playback function, the user The device establishes a communication connection with the network device of the target application in a wired or wireless manner, and based on the communication connection, the network device receives the dragging information sent by the user equipment, wherein the dragging information is in response to a connection between the target application and the target application. It is generated from a drag event related to a progress bar of a video, the drag information includes at least one time period information corresponding to the drag event, and a first playback scheme about the target video is generated based on the drag information. After receiving the video playback request about the target video sent by the user equipment or other user equipment, the network device will return the target video configured according to the first playback scheme to the user equipment or other user equipment, wherein, The user equipment or other user equipment includes, but is not limited to, computing devices such as mobile phones, tablets, and notebook computers (with touch screens).
参考图1所示的系统,图2示出根据本申请一个实施例的一种用于提供视频信息的系统方法,该方法包括:Referring to the system shown in FIG. 1, FIG. 2 shows a system method for providing video information according to an embodiment of the present application, and the method includes:
响应于目标应用中与目标视频进度条相关的拖曳事件,第一用户设备向所述目标应用对应的网络设备发送触发信息,其中,所述触发信息包括所述拖曳事件对应的至少一个时间段信息;In response to a drag event related to the target video progress bar in the target application, the first user equipment sends trigger information to a network device corresponding to the target application, where the trigger information includes at least one time period information corresponding to the drag event ;
网络设备接收拖曳信息,并根据所述拖曳信息生成关于所述目标视频的第一播放方案,其中,所述拖曳信息是响应于目标应用中与目标视频的进度条相关的拖曳事件而生成的,所述拖曳信息包括所述拖曳事件对应的至少一个时间段信息;The network device receives the dragging information, and generates a first playback scheme about the target video according to the dragging information, wherein the dragging information is generated in response to a dragging event related to the progress bar of the target video in the target application, The drag information includes at least one time period information corresponding to the drag event;
第一用户设备向所述网络设备发送视频播放请求,其中,所述视频播放请求包括所述目标视频的视频标识信息以及所述第一用户设备所属用户的用户标识信息;The first user equipment sends a video playback request to the network device, wherein the video playback request includes video identification information of the target video and user identification information of a user to which the first user equipment belongs;
所述网络设备接收所述视频播放请求,并响应于所述视频播放请求,将根据所述第一播放方案配置的所述目标视频提供至所述第一用户设备/第二用户设备;The network device receives the video playback request, and in response to the video playback request, provides the target video configured according to the first playback scheme to the first user equipment/second user equipment;
第一用户设备接收所述目标视频,并以所述第一播放方案播放所述目标视频。The first user equipment receives the target video, and plays the target video in the first playback scheme.
图3示出根据本申请一个实施例的一种用于提供视频信息的方法,应用于网络设备,其中,所述方法包括步骤S101、步骤S102、步骤S103、步骤S104。FIG. 3 shows a method for providing video information according to an embodiment of the present application, which is applied to a network device, wherein the method includes step S101 , step S102 , step S103 , and step S104 .
具体地,在步骤S101中,网络设备接收拖曳信息,其中,所述拖曳信息是响应于目标应用中与目标视频的进度条相关的拖曳事件而生成的,所述拖曳信息包括所述拖曳事件对应的至少一个时间段信息。例如,网络设备与任一安装有目标应用的用户设备建立通信连接,响应于任一用户设备的目标应用中与目标视频的进度条相关的拖曳事件,该任一用户设备向网络设备发送拖曳信息,其中,所述拖曳事件包括用户对目标视频的进度条进行拖曳的操作事件,所述拖曳信息包括用户对进度条进行拖曳的、对应的至少一个时间段信息,其中,所述拖曳信息包括该用户的标识信息,所述目标应用包括视频播放类应用或者具有视频播放功能的应用。在一些实施例中,不同用户对该目标视频的进度条进行拖曳后,所生成的拖曳信息与该用户相对应。Specifically, in step S101, the network device receives drag information, wherein the drag information is generated in response to a drag event related to the progress bar of the target video in the target application, and the drag information includes the corresponding drag event information of at least one time period. For example, the network device establishes a communication connection with any user equipment installed with the target application, and in response to a drag event related to the progress bar of the target video in the target application of any user equipment, the any user equipment sends drag information to the network device , wherein the drag event includes an operation event in which the user drags the progress bar of the target video, and the drag information includes at least one time period information corresponding to the user dragging the progress bar, wherein the drag information includes the The identification information of the user, and the target application includes a video playback application or an application with a video playback function. In some embodiments, after different users drag the progress bar of the target video, the generated drag information corresponds to the user.
在步骤S102中,网络设备根据所述拖曳信息生成关于所述目标视频的第一播放方案。例如,网络设备根据所述拖曳信息对应的至少一个时间段信息生成关于目标视频的第一播放方案。在一些实施例中,在步骤S102中,网络设备根据所述拖曳信息对所述目标视频执行目标配置操作,以生成目标配置信息作为所述第一播放 方案。例如,网络设备获取关于所述拖曳信息对应的至少一个时间段信息后,确认该至少一个时间段信息在目标视频中对应的视频内容为用户想要略过的内容,并根据该拖曳信息对目标视频执行目标配置操作,在对目标视频执行目标配置操作的前提下,生成的关于目标视频的目标配置信息作为基于拖曳信息的、所述目标视频的第一播放方案,其中,所述目标配置信息用于配置目标视频的视频播放方式(例如,播放速度、播放画质、播放视频内容片段等),从而不需要在目标视频的基础上重新生成基于用户的拖曳信息的、新的视频信息,以免占据过多的资源空间,影响网络设备后续的内容分发,仅用第一播放方案就可将目标应用以用户期望的方式播放,从而提升用户后续的观看体验。在一些实施例中,所述方法还包括步骤S105(未示出),在步骤S105中,网络设备确定所述至少一个时间段信息对应的至少一个视频片段信息;所述根据所述拖曳信息对所述目标视频执行目标配置操作,包括:根据所述拖曳信息对所述至少一个视频片段信息执行目标配置操作。例如,网络设备获取关于所述拖曳信息对应的至少一个时间段信息后,确定所述至少一个时间段信息对应的至少一个视频片段信息,在这种情况下,网络设备只需处理相应时间段的视频内容即可,从而有针对性的对视频片段信息进行处理,而不需要处理整个目标视频的内容,从而提升了处理效率。例如,目标视频的完整播放时长为10秒,目标应用中的拖曳事件对应的至少一个时间段信息分别为第3-5秒、第6-10秒,网络设备确定该两个时间段对应的视频内容,并对该两段视频内容执行目标配置操作,在一些实施例中,所述目标配置操作包括以下至少一项:In step S102, the network device generates a first playing scheme about the target video according to the dragging information. For example, the network device generates a first playing scheme about the target video according to at least one time period information corresponding to the dragging information. In some embodiments, in step S102, the network device performs a target configuration operation on the target video according to the drag information to generate target configuration information as the first playback scheme. For example, after acquiring information about at least one time period corresponding to the dragging information, the network device confirms that the video content corresponding to the at least one time period in the target video is the content that the user wants to skip, and assigns the target video to the target video according to the dragging information. Execute the target configuration operation, under the premise of performing the target configuration operation on the target video, the generated target configuration information about the target video is used as the first playback scheme of the target video based on the dragging information, wherein the target configuration information is used. It is used to configure the video playback mode of the target video (for example, playback speed, playback quality, playback of video content clips, etc.), so that it is not necessary to regenerate new video information based on the user's drag information on the basis of the target video, so as not to occupy Excessive resource space affects the subsequent content distribution of the network device, and only the first playback solution can play the target application in the manner expected by the user, thereby improving the subsequent viewing experience of the user. In some embodiments, the method further includes step S105 (not shown). In step S105, the network device determines at least one video segment information corresponding to the at least one time period information; Performing a target configuration operation on the target video includes: performing a target configuration operation on the at least one video segment information according to the dragging information. For example, after acquiring information about at least one time period corresponding to the dragging information, the network device determines at least one video segment information corresponding to the at least one time period. In this case, the network device only needs to process the information of the corresponding time period. The video content is sufficient, so that the video clip information is processed in a targeted manner, without the need to process the content of the entire target video, thereby improving the processing efficiency. For example, the complete playback duration of the target video is 10 seconds, the information of at least one time period corresponding to the drag event in the target application is the 3rd-5th second and the 6th-10th second, respectively, and the network device determines the video corresponding to the two time periods. content, and perform a target configuration operation on the two pieces of video content. In some embodiments, the target configuration operation includes at least one of the following:
1)对所述至少一个视频片段执行删除操作;1) performing a delete operation on the at least one video clip;
2)对所述至少一个视频片段执行快进操作;2) performing a fast-forward operation on the at least one video segment;
3)对所述至少一个视频片段执行跳过操作;3) performing a skip operation on the at least one video segment;
4)保持所述目标视频的进度条完整;例如,网络设备对目标视频中被拖曳的时间段对应的视频片段执行删除操作、快进操作或者跳过操作,并保持该目标视频的进度时条的完整性,为后续用户在观看目标视频时直接呈现给用户完整的进度条以及用户实际想观看的视频内容,对于用户选择忽略的视频片段,自动进行跳跃或者快进,另外,在后续用户观看目标视频时,将以按照执行配置后的目标视频对应的内存进行视频缓存,而不是像传统一样按照完整的进度条时长进行缓存,从而加快加载速度,提高用户的观看体验。在一些实施例中,所述至少一个时间段信息中 每个时间段信息对应的时长信息之和小于所述目标视频的进度条的总时长信息。例如,网络设备接收拖曳信息中的至少一个时间段信息,为了防止存在用户对目标视频的失误操作,例如,手滑导致所述至少一个时间段信息包括所述目标视频的进度条的总时长或者每个时间段信息对应的时长信息的总和包括所述目标视频的进度条的总时长,在网络设备确认所述至少一个时间段信息中每个时间段信息对应的时长信息之和小于所述目标视频的进度条的总时长信息的前提下,才会根据所述拖曳信息生成关于所述目标视频的第一播放方案。从而有效避免了了用户手误滑动进度条过长的情况。4) Keep the progress bar of the target video intact; for example, the network device performs delete operation, fast-forward operation or skip operation on the video segment corresponding to the time period being dragged in the target video, and keeps the progress bar of the target video. The completeness of the video clip is displayed directly to the subsequent user when viewing the target video with the complete progress bar and the video content the user actually wants to watch. For the video clip that the user chooses to ignore, skip or fast-forward automatically. When the target video is used, the video will be cached according to the memory corresponding to the target video after the execution configuration, instead of the full progress bar duration as in the traditional way, so as to speed up the loading speed and improve the user's viewing experience. In some embodiments, the sum of the duration information corresponding to each time segment information in the at least one time segment information is less than the total duration information of the progress bar of the target video. For example, the network device receives at least one time period information in the dragging information, in order to prevent the user from misoperating the target video, for example, the at least one time period information includes the total duration of the progress bar of the target video or The sum of the duration information corresponding to each time segment information includes the total duration of the progress bar of the target video, and the network device confirms that the sum of the duration information corresponding to each time segment information in the at least one time segment information is less than the target video Only on the premise of the total duration information of the progress bar of the video, the first playback scheme about the target video is generated according to the dragging information. This effectively avoids the situation that the user slides the progress bar by mistake for too long.
在步骤S103中,网络设备接收第一用户设备发送的视频播放请求,其中,所述视频播放请求包括所述目标视频的视频标识信息以及所述第一用户设备所属用户的用户标识信息。例如,在网络设备生成关于所述目标视频的第一播放方案的前提下,网络设备接收第一用户设备发送的、关于所述目标视频的视频播放请求。In step S103, the network device receives a video playback request sent by the first user equipment, wherein the video playback request includes video identification information of the target video and user identification information of the user to which the first user equipment belongs. For example, on the premise that the network device generates the first playback scheme for the target video, the network device receives a video playback request for the target video sent by the first user equipment.
在步骤S104中,网络设备响应于所述视频播放请求,将根据所述第一播放方案配置的所述目标视频提供至所述第一用户设备。例如,网络设备在接收到所述视频播放请求后,根据所述视频播放请求对应的视频标识信息将以所述第一播放方案配置的所述目标视频返回至对应的用户,从而给与用户个性化的视频播放方案,提升用户的视频观看体验。In step S104, in response to the video playback request, the network device provides the target video configured according to the first playback scheme to the first user equipment. For example, after receiving the video playback request, the network device returns the target video configured in the first playback scheme to the corresponding user according to the video identification information corresponding to the video playback request, thereby giving the user personality The customized video playback solution improves the user's video viewing experience.
在一些实施例中,所述接收拖曳信息,包括:接收第二用户设备发送的拖曳信息;或者,接收所述第一用户设备发送的拖曳信息。例如,网络设备可接收任一用户对应的额用户设备发送的拖曳信息,并根据拖曳信息进行后续的操作。若网络设备接收所述第一用户设备发送的拖曳信息,在生成关于所述目标视频的第一播放方案后,网络设备接收所述第一用户设备发送的视频播放请求,在一些实施例中,在第一用户设备对应的用户对目标视频进行个性化(例如,基于自己喜欢进行的或者出于其他目的,例如,对目标视频中人物的偏好进行的)拖曳进度条的操作,网络设备生成关于用户的、自己个性化定制的第一播放方案,在第一用户设备对应的用户需要重新观看目标视频时,给与该用户精简后的目标视频播放方案,从而无需用户再次手动跳跃不需要观看的内容,简化用户的操作。In some embodiments, the receiving the dragging information includes: receiving the dragging information sent by the second user equipment; or, receiving the dragging information sent by the first user equipment. For example, the network device may receive drag information sent by a user device corresponding to any user, and perform subsequent operations according to the drag information. If the network device receives the dragging information sent by the first user equipment, after generating the first playback scheme about the target video, the network device receives the video playback request sent by the first user equipment, in some embodiments, When the user corresponding to the first user equipment performs an operation of dragging the progress bar to personalize the target video (for example, based on what he likes or for other purposes, such as the preference of the characters in the target video), the network device generates information about The user's own personalized first playback scheme, when the user corresponding to the first user equipment needs to re-watch the target video, the user is given a simplified target video playback scheme, so that the user does not need to manually jump again. content that simplifies user operations.
在一些实施例中,所述接收拖曳信息包括接收所述第一用户设备发送的拖曳信息;所述方法还包括S107(未示出),在步骤S107中,网络设备建立并更新用户 标识信息和视频信息的映射关系;在步骤S104中,网络设备响应于所述视频播放请求,根据所述第一用户设备所属用户的用户标识信息从所述映射关系中确定一个或者多个候选目标视频;根据所述视频标识信息从所述一个或者多个候选目标视频中确定目标视频,将根据所述第一播放方案配置的所述目标视频提供至所述第一用户设备。例如,网络设备接收过不同用户通过用户设备发送的拖曳信息,并基于该拖曳信息生成所述拖曳信息对应的视频信息的播放,网络设备根据不同用户的用户标识信息以及拖曳信息对应的视频信息生成用户标识信息与视频信息的映射关系。若所述第一用户设备所属的用户对多个视频进行过拖曳操作,并生成不同的拖曳信息,网络设备基于该不同的拖曳信息生成与多个视频对应的多个播放方案。例如,网络设备根据第一用户设备所属用户的用户标识信息先确定与该用户对应的一个或者多个候选视频信息,该一个或者多个视频信息均配置有或者部分配置有对应的播放方案,再根据所述视频播放请求对应的视频标识信息从中确定目标视频,其中,所述目标视频被配置有第一播放方案。从而准确并高效的获取到目标视频而不是该用户进行编辑后的其他视频信息。In some embodiments, the receiving the dragging information includes receiving the dragging information sent by the first user equipment; the method further includes S107 (not shown), in step S107, the network device establishes and updates the user identification information and The mapping relationship of video information; in step S104, in response to the video playback request, the network device determines one or more candidate target videos from the mapping relationship according to the user identification information of the user to which the first user equipment belongs; The video identification information determines a target video from the one or more candidate target videos, and provides the target video configured according to the first playback scheme to the first user equipment. For example, the network device has received the drag information sent by different users through the user equipment, and based on the drag information, generates the playback of the video information corresponding to the drag information, and the network device generates the video information corresponding to the drag information according to the user identification information of different users The mapping relationship between user identification information and video information. If the user to which the first user equipment belongs has performed drag operations on multiple videos and generates different drag information, the network device generates multiple playback solutions corresponding to the multiple videos based on the different drag information. For example, the network device first determines one or more candidate video information corresponding to the user according to the user identification information of the user to which the first user equipment belongs, and the one or more video information is configured with or partially configured with a corresponding playback scheme, and then A target video is determined therefrom according to the video identification information corresponding to the video playback request, wherein the target video is configured with a first playback scheme. Therefore, the target video is accurately and efficiently obtained instead of other video information edited by the user.
在一些实施例中,所述接收拖曳信息包括接收第二用户设备发送的拖曳信息;在步骤S104中,网络设备响应于所述视频播放请求,将根据所述第一播放方案配置的所述目标视频提供至所述第一用户设备,其中,所述第一用户设备所属用户的用户标识信息与所述第二用户设备所属用户的用户标识信息不一致。例如,在所述拖曳信息是由第二用户设备发送的前提下,网络设备确定该拖曳信息对应的第一播放方案是根据第二用户设备所属用户的自定义操作生成的,在第一用户设备所属用户请求观看所述目标视频的情况下,网络设备可以将以所述第一播放方案配置的所述目标视频作为一个播放方案返回至第一用户设备,其中,所述第一用户设备所属用户与所述第二用户设备所属用户可以是在目标应用中的好友用户,网络设备可以为好友用户推荐各自的自定义方案或者为目标视频的感兴趣用户推荐其他用户的自定义方案,在一些实施例中,网络设备将目标视频的原始版以及以所述第一播放方案配置的所述目标视频都返回至所述第一用户设备供用户进行选择。从而给与第一用户设备所属用户不同的内容风格的目标视频,提升用户的观看体验。In some embodiments, the receiving the dragging information includes receiving the dragging information sent by the second user equipment; in step S104, the network device, in response to the video playback request, sends the target configured according to the first playback scheme The video is provided to the first user equipment, wherein the user identification information of the user to which the first user equipment belongs is inconsistent with the user identification information of the user to which the second user equipment belongs. For example, on the premise that the dragging information is sent by the second user equipment, the network device determines that the first playback scheme corresponding to the dragging information is generated according to the user-defined operation of the user to which the second user equipment belongs. When the user requests to watch the target video, the network device may return the target video configured with the first playback scheme as a playback scheme to the first user equipment, where the user to which the first user equipment belongs The user to which the second user equipment belongs may be a friend user in the target application, and the network device may recommend their own custom solutions for friend users or recommend custom solutions of other users for interested users of the target video. In some implementations In an example, the network device returns both the original version of the target video and the target video configured with the first playback scheme to the first user equipment for the user to select. Thus, a target video with a different content style from the user to which the first user equipment belongs is provided, and the viewing experience of the user is improved.
在一些实施例中,所述方法还包括S106(未示出),在步骤S106中,网络设备接收所述第一用户设备发送的视频片段信息获取请求,其中,所述视频片段信息 获取请求是响应于所述目标视频中与所述至少一个时间段信息中任一时间点相关的触发事件而发送的;响应于所述视频片段信息获取请求,从所述目标视频中提取该任一时间点对应的视频片段信息,并将所述视频片段信息返回至所述第一用户设备。例如,在网络设备对所述目标视频执行的目标配置操作包括保持所述目标视频的进度条完整的前提下,第一用户设备接收到根据所述第一播放方案配置的所述目标视频后,用户可触发进度条的起始点至任一时间点。若用户将进度条的起始点触发至所述拖曳信息对应的至少一个时间段信息中任一点,响应于该触发事件,第一用户设备向所述网络设备发送视频片段信息获取请求,其中,所述视频片段播放请求包括所述用户触发的任一点时间信息,网络设备响应于所述视频片段信息获取请求从所述目标视频的中确定该任一时间点对应的视频片段,并将该视频片段信息返回至第一用户设备,第一用户设备播放该时间点对应的视频片段信息,并按照进度条上的时间依次播放后续的视频信息。例如,目标视频的完整播放进度时长为10秒,网络设备生成的第一播放方案为播放第1-3秒,第5-6秒,第10秒,总共6秒内容,在目标视频以第一播放方案播放的时候自动根据方案进行跳转,即从第三秒马上跳转到第五秒,第六秒马上跳去第十秒,用户可以拉动进度条去看第4秒和第7-9秒的视频内容。从而可以基于用户的拖曳信息进行不同风格的视频播放,而且不会影响到用户观看被跳过的内容。In some embodiments, the method further includes S106 (not shown). In step S106, the network device receives a video clip information acquisition request sent by the first user equipment, wherein the video clip information acquisition request is Sent in response to a trigger event related to any time point in the at least one time period information in the target video; in response to the video segment information acquisition request, extract the any time point from the target video corresponding video clip information, and return the video clip information to the first user equipment. For example, on the premise that the target configuration operation performed by the network device on the target video includes keeping the progress bar of the target video intact, after the first user equipment receives the target video configured according to the first playback scheme, The user can trigger the start point of the progress bar to any point in time. If the user triggers the starting point of the progress bar to any point in the at least one time period information corresponding to the dragging information, in response to the triggering event, the first user equipment sends a video clip information acquisition request to the network device, wherein the The video clip playback request includes time information at any point triggered by the user, and the network device determines the video clip corresponding to the arbitrary time point from the target video in response to the video clip information acquisition request, and converts the video clip The information is returned to the first user equipment, and the first user equipment plays the video clip information corresponding to the time point, and sequentially plays the subsequent video information according to the time on the progress bar. For example, the complete playback progress duration of the target video is 10 seconds, and the first playback plan generated by the network device is to play the 1st-3rd, 5th-6th, and 10th seconds, for a total of 6 seconds of content. When playing the program, it automatically jumps according to the program, that is, it jumps from the third second to the fifth second, and the sixth second immediately jumps to the tenth second. Users can pull the progress bar to see the 4th second and the 7th-9th second. seconds of video content. Therefore, different styles of video playback can be performed based on the user's dragging information, and the user's viewing of skipped content will not be affected.
例如,如图4a所示,一用户持有一用户设备,该用户设备中安装有目标应用,该用户打开目标视频后呈现视频内容画面以及对应的进度时长条(例如,总长度为20min),在该目标应用启用相关设置的情况下,该用户开始拖曳进度条从第1秒至第5min,并在该视频从第5min播放10min后,从第15min将进度条拖曳至第18min,随后从第18min观看至视频结束。用户设备将由用户拖曳操作生成的拖曳信息发送至网络设备,其中,所述拖曳信息包括1s-5min、15min-18min这两个时间段信息,网络设备基于该拖曳信息生成关于目标视频的第一播放方案。如图4b所示,另一用户持有一用户设备,该用户设备中安装有目标应用,该用户点击目标视频的导航框后,该用户设备中呈现启用该视频的其他播放方案,待用户触发确认后,网络设备基于该用户设备发送的视频播放请求返回根据第一播放方案配置的所述目标视频,该用户设备播放所述目标视频的过程中,该目标视频从第1秒快进(或跳转)至第5min,并在第5min正常播放10min后,从第15min快进(或跳转)至 第18min,随后从第18min正常播放至视频结束。For example, as shown in FIG. 4a, a user holds a user equipment with a target application installed in the user equipment. After the user opens the target video, a video content screen and a corresponding progress bar (for example, the total length is 20min) are presented, With the relevant settings enabled in the target application, the user starts to drag the progress bar from the 1st second to the 5th minute, and after the video is played for 10 minutes from the 5th minute, the user drags the progress bar from the 15th minute to the 18th minute, and then from the 5th minute to the 18th minute. Watch for 18 minutes until the end of the video. The user equipment sends the dragging information generated by the dragging operation of the user to the network device, wherein the dragging information includes two time period information of 1s-5min and 15min-18min, and the network device generates the first playback about the target video based on the dragging information plan. As shown in Figure 4b, another user holds a user equipment with a target application installed in the user equipment. After the user clicks on the navigation box of the target video, the user equipment presents other playback schemes for enabling the video, waiting for the user to trigger After confirmation, the network device returns the target video configured according to the first playback scheme based on the video playback request sent by the user equipment. During the process of playing the target video by the user equipment, the target video is fast-forwarded from the first second (or Jump) to the 5th minute, and after the 5th minute is played normally for 10 minutes, fast-forward (or jump) from the 15th minute to the 18th minute, and then play normally from the 18th minute to the end of the video.
在一些实施例中,所述方法还包括S108(未示出),在步骤S108中,网络设备识别根据所述第一播放方案配置的所述目标视频的特征信息;根据所述特征信息在分发数据库中进行匹配以确定与所述特征信息对应的一个或者多个推荐用户;将根据所述第一播放方案配置的所述目标视频发送至所述一个或者多个推荐用户对应的用户设备。例如,网络设备通过一些图像剪辑、语音识别等技术对以所述第一播放方案配置的所述目标视频进行识别,以确定该目标视频的特征信息,其中,所述特征信息包括情节相关的特征、人物相关的特征、视频主题相关的特征、视频类型相关的特征等,同时,网络设备获取目标应用中的一个或者多个用户,并根据该一个或者多个用户在目标应用中的观看记录进行标签分类并存储在分发数据库中,例如,所述观看记录包括用户的观看习惯、观看内容和收藏喜好等。网络设备根据所述特征信息在分发数据库中进行用户匹配,例如,若所述特征信息包括男女爱情戏份较多,网络设备基于此匹配出用户的收藏喜好中或者观看内容中爱情戏占比较多的用户,并将该些用户作为一个或者多个推荐用户,从而将以所述第一播放方案配置的所述目标视频分发至相匹配的用户,提高用户的观看体验,同时在一定程度上激励用户在目标应用中进行创作(例如,对视频进行自定义的拖曳操作),提升用户对应用的粘性。在一些实施例中,所述第一播放方案的创造用户可以对以所述第一播放方案配置的所述目标视频进行后续在线编辑,包括但不限于例如调整不同画面的顺序、重复、放大、渐变、旋转等各种加工特效,甚至加配音加字幕等行为。In some embodiments, the method further includes S108 (not shown). In step S108, the network device identifies feature information of the target video configured according to the first playback scheme; Matching is performed in the database to determine one or more recommended users corresponding to the feature information; and the target video configured according to the first playback scheme is sent to the user equipment corresponding to the one or more recommended users. For example, the network device identifies the target video configured in the first playback scheme by using some image clipping, voice recognition and other technologies to determine feature information of the target video, where the feature information includes plot-related features , character-related features, video-topic-related features, video-type-related features, etc. At the same time, the network device acquires one or more users in the target application, and performs The tags are classified and stored in the distribution database. For example, the viewing records include the user's viewing habits, viewing content, and favorites. The network device performs user matching in the distribution database according to the feature information. For example, if the feature information includes a lot of male and female love scenes, the network device matches the user's favorites based on this or the love scenes in the viewing content that account for more. users, and use these users as one or more recommended users, so as to distribute the target video configured with the first playback scheme to matching users, improve the user's viewing experience, and at the same time motivate users to a certain extent Create in the target application (for example, perform a custom drag and drop operation on the video) to enhance the user's stickiness to the application. In some embodiments, the user who creates the first playback scheme can perform subsequent online editing on the target video configured with the first playback scheme, including but not limited to, for example, adjusting the sequence of different pictures, repeating, zooming, Various processing special effects such as gradient and rotation, and even add dubbing and subtitles.
在一些实施例中,所述方法还包括步骤S109(未示出),在步骤S109中,网络设备根据所述第一播放方案与所述推荐用户在所述目标应用中的历史播放信息生成关于所述目标视频的推荐播放方案;所述将根据所述第一播放方案配置的所述目标视频发送至所述一个或者多个推荐用户对应的用户设备,包括:将根据所述推荐播放方案配置的所述目标视频发送至该推荐用户对应的用户设备。例如,网络设备根据所述第一播放方案结合所述一个或者多个推荐用户中每个推荐用户的历史播放信息为所述每个推荐用户进行个性化定制的推荐播放方案,并将该推荐播放方案展示给对应的推荐用户进行选择,使得用户的观影体验更符合自身的观影习惯。In some embodiments, the method further includes step S109 (not shown), in step S109, the network device generates information about the target application based on the first playback scheme and the historical playback information of the recommended user in the target application. a recommended playback scheme of the target video; the sending the target video configured according to the first playback scheme to the user equipment corresponding to the one or more recommended users includes: configuring the target video according to the recommended playback scheme The target video is sent to the user equipment corresponding to the recommended user. For example, the network device may, according to the first playback scheme and in combination with the historical playback information of each of the one or more recommended users, perform a personalized recommended playback scheme for each of the recommended users, and play the recommended playback scheme. The scheme is displayed to the corresponding recommended users for selection, so that the user's viewing experience is more in line with their own viewing habits.
在一些实施例中,所述根据所述第一播放方案与所述推荐用户在所述目标应用中的历史播放信息生成关于所述目标视频的推荐播放方案,包括:根据所述推荐用 户在所述目标应用中的历史播放信息确定所述推荐用户的视频偏好类型信息;根据所述第一播放方案与所述推荐用户的视频偏好类型信息生成关于所述目标视频的推荐播放方案。例如,所述历史播放信息包括该推荐用户在目标应用中观看的视频类型信息,网络设备将该推荐用户观看的视频类型中占比较高的视频类型作为所述推荐用户的视频偏好类型信息(例如,悬疑类型、战争类型等),在一些实施例中,网络设备确定以第一播放方案配置的所述目标视频的视频类型信息,若所述视频类型信息与所述推荐用户的视频偏好类型信息相似或者相同,网络设备直接将所添加所述视频偏好类型对应的偏好视频至以第一播放方案配置的所述目标视频中,当然,在一些实施例中,可将添加的视频置于所述目标视频的合适位置以整体上与所述目标视频相符合。在满足用户个性化的确定播放方案的基础上,加入用户偏好的视频信息,从而适应每个用户的个性化播放需求。In some embodiments, the generating the recommended playing scheme about the target video according to the first playing scheme and the historical playing information of the recommended user in the target application includes: Determine the video preference type information of the recommending user based on the historical playback information in the target application; generate a recommended playback scheme for the target video according to the first playback scheme and the video preference type information of the recommending user. For example, the historical playback information includes video type information watched by the recommended user in the target application, and the network device uses the video type with a higher proportion of the video types watched by the recommended user as the video preference type information of the recommended user (for example, , suspense type, war type, etc.), in some embodiments, the network device determines the video type information of the target video configured with the first playback scheme, if the video type information and the video preference type information of the recommending user Similar or identical, the network device directly adds the added video preference corresponding to the video preference type to the target video configured with the first playback scheme. Of course, in some embodiments, the added video may be placed in the The appropriate position of the target video is to conform to the target video as a whole. On the basis of determining the playback scheme that meets the user's individuality, video information preferred by the user is added, so as to adapt to the individualized playback requirements of each user.
在一些实施例中,所述根据所述第一播放方案与所述推荐用户的视频偏好类型信息生成关于所述目标视频的推荐播放方案,包括:确定所述推荐用户的视频偏好类型信息对应的一个或者多个候选推荐视频信息;根据所述目标视频的视频类型从所述一个或者多个候选推荐视频信息中确定至少一个推荐视频信息;将所述至少一个推荐视频信息添加至所述候选播放方案中生成关于所述目标视频的推荐播放方案。例如,所述推荐用户的视频偏好类型信息包括悬疑类和恐怖类等网络设备先确定与该偏好类型中的每个类型匹配的一个或者多个候选推荐视频信息,再根据所述目标视频的视频类型(例如,悬疑类)确定至少一个推荐视频信息,网络设备确定该至少一个推荐视频信息中每个视频的情节信息以及根据所述第一播放方案配置的所述目标视频中每个时间点的情节,将该至少一个推荐视频信息添加至根据所述第一播放方案配置的所述目标视频中合适的时间段中,其中,该时间段前后的情节与该被添加的推荐视频的情节相匹配。从而不会产生观看的违和感,又能在第一播放方案的基础上形成与每个推荐用户匹配的推荐播放方案。In some embodiments, the generating a recommended playing scheme about the target video according to the first playing scheme and the video preference type information of the recommending user includes: determining a corresponding video preference type information of the recommending user. one or more candidate recommended video information; determine at least one recommended video information from the one or more candidate recommended video information according to the video type of the target video; add the at least one recommended video information to the candidate playback In the scheme, a recommended playing scheme about the target video is generated. For example, the video preference type information of the recommended user includes suspense type and horror type. The type (for example, suspense type) determines at least one recommended video information, and the network device determines the plot information of each video in the at least one recommended video information and the content of each time point in the target video configured according to the first playback scheme. plot, adding the at least one recommended video information to a suitable time period in the target video configured according to the first playback scheme, wherein the plot before and after the time period matches the plot of the added recommended video . Therefore, there is no sense of incongruity in viewing, and a recommended playing scheme matching each recommended user can be formed on the basis of the first playing scheme.
图5示出根据本申请一个实施例的一种用于提供视频信息的方法,应用于第一用户设备,所述方法包括步骤S201、步骤S202和步骤S203。FIG. 5 shows a method for providing video information according to an embodiment of the present application, which is applied to a first user equipment, and the method includes step S201 , step S202 and step S203 .
具体地,在步骤S201中,第一用户设备向目标应用对应的网络设备发送视频播放请求,其中,所述视频播放请求包括目标视频的视频标识信息以及第一用户设备所属用户的用户标识信息。例如,第一用户设备中安装有目标应用,响应于第一 用户设备所属用户在目标应用中对目标视频的触发操作,第一用户设备向目标应用对应的网络设备发送视频播放请求,或者,在第一用户设备所属用户准备点击观看目标视频时,第一用户设备中呈现关于目标视频的第一播放方案的提示信息,响应于第一用户设备所属用户对该提示信息的触发操作,第一用户设备向目标应用对应的网络设备发送视频播放请求。Specifically, in step S201, the first user equipment sends a video playback request to the network device corresponding to the target application, where the video playback request includes video identification information of the target video and user identification information of the user to which the first user equipment belongs. For example, the target application is installed in the first user equipment, and in response to a user to which the first user equipment belongs triggers the target video in the target application, the first user equipment sends a video playback request to the network device corresponding to the target application, or, in When the user to which the first user equipment belongs is going to click to watch the target video, prompt information about the first playback scheme of the target video is presented in the first user equipment. The device sends a video playback request to the network device corresponding to the target application.
在步骤S202中,第一用户设备接收基于所述视频播放请求返回的、根据第一播放方案配置的所述目标视频。例如,在网络设备生成关于所述目标视频的第一播放方案的前提下,网络设备基于所述视频播放请求优先将根据所述第一播放方案配置的所述目标视频返回至所述第一用户设备。In step S202, the first user equipment receives the target video that is returned based on the video playback request and configured according to the first playback scheme. For example, on the premise that the network device generates a first playback scheme for the target video, the network device preferentially returns the target video configured according to the first playback scheme to the first user based on the video playback request equipment.
在步骤S203中,第一用户设备以所述第一播放方案播放所述目标视频。例如,以第一播放方案播放的视频是经过精简后的视频,可以给与用户不同的播放体验。在一些实施例中,所述第一播放方案包括以下至少任一项:In step S203, the first user equipment plays the target video in the first playback scheme. For example, the video played in the first playback scheme is a simplified video, which can give the user a different playback experience. In some embodiments, the first playback scheme includes at least any of the following:
1)当视频播放至设定的至少一个时间段信息对应的一个起始时间点时以快进形式播放至该时间段信息对应的终止时间点;1) when the video is played to a start time point corresponding to at least one set time period information, the video is played to the corresponding end time point of the time period information in a fast-forward form;
2)当视频播放至设定的至少一个时间段信息对应的一个起始时间点时以跳跃形式播放至该时间段信息对应的终止时间点;2) when the video is played to a start time point corresponding to the set at least one time period information, the video is played to the corresponding termination time point of the time period information in a skip form;
3)当视频播放的进度条未处于设定的至少一个时间段信息中的任一时间段中,以初始播放模式播放所述目标视频;例如,所述目标视频的第一播放方案是根据拖曳信息生成的,所述拖曳信息包括所述拖曳事件对应的至少一个时间段信息,该至少一个时间段是由一用户在目标视频中对进度条进行的拖曳操作而设定的。例如,目标视频的完整播放进度时长为100秒,该至少一个时间段信息分别为第30-50秒,第60-100秒,在第一用户设备接收根据第一播放方案配置的所述目标视频后,第一用户设备开始播放该目标视频,在第1-30秒,视频以初始播放模式(例如,1.0倍速、初始画质、初始配音)播放该视频内容,当进度条到达第30秒时,以肉眼可见(快进形式)或者肉眼不可见(跳跃形式)到达第50秒,在第50秒时仍以初始播放模式播放该视频内容,当进度条到达第60秒时,以肉眼可见(快进形式)或者肉眼不可见(跳跃形式)到达第100秒,该目标视频播放结束,在这一播放过程中,视频缓存按照现有的播放时长进行缓存,而不是完整的缓存100s时长,从而加快加载速度,提高用户的观看体验。3) When the progress bar of video playback is not in any time period in the set at least one time period information, play the target video in the initial playback mode; for example, the first playback scheme of the target video is based on dragging The dragging information includes at least one time period information corresponding to the dragging event, and the at least one time period is set by a user dragging the progress bar in the target video. For example, the complete playback progress duration of the target video is 100 seconds, and the at least one time period information is the 30th to 50th seconds and the 60th to 100th seconds respectively. The first user equipment receives the target video configured according to the first playback scheme. After that, the first user equipment starts to play the target video, and in the first to 30 seconds, the video plays the video content in the initial playback mode (for example, 1.0x speed, initial image quality, initial dubbing), and when the progress bar reaches the 30th second , reach the 50th second in the form of visible (fast-forward) or invisible to the naked eye (jump form), and still play the video content in the initial playback mode at the 50th second, and when the progress bar reaches the 60th second, it will be visible to the naked eye ( Fast-forward mode) or invisible to the naked eye (jump mode) reaches the 100th second, and the target video playback ends. During this playback process, the video cache is cached according to the existing playback duration, rather than the complete cache duration of 100s, thus Speed up the loading speed and improve the viewing experience of users.
在一些实施例中,所述方法在步骤S201之前还包括步骤S204(未示出),在步骤S204中,第一用户设备启用所述目标应用中的进度条设置。例如,在第一用户设备启用所述目标应用中的进度条设置的前提下,第一用户设备所属用户可以自定义关于目标应用中视频的播放方案,从而为后续生成不同风格的视频信息提供基础。In some embodiments, the method further includes step S204 (not shown) before step S201 . In step S204 , the first user equipment enables the progress bar setting in the target application. For example, on the premise that the first user equipment enables the progress bar setting in the target application, the user to which the first user equipment belongs can customize the playback scheme of the video in the target application, thereby providing a basis for the subsequent generation of video information of different styles .
例如,一用户持有一用户设备,该用户设备中安装有视频应用,该用户在视频应用中对一视频的进行一段时间(例如,6min-25min)的拖曳操作,该用户设备向网络设备发送包括该一段时间的拖曳信息,网络设备随即根据该拖曳信息生成该视频的第一播放方案,当该用户再次点击该视频时,网络设备将以第一播放方案配置的该视频返回至该用户设备,用户设备以第一播放方案播放该视频;或者,当该用户再次点击该视频时,网络设备向用户设备提供该视频相关的可选的一个或者多个播放方案,其中,该一个或者多个播放方案中可以包括第一播放方案,用户选择其中一个方案后以该方案播放该视频。For example, a user holds a user equipment with a video application installed in the user equipment, the user performs a drag operation on a video for a period of time (for example, 6min-25min) in the video application, the user equipment sends a message to the network device. Including the drag information for a period of time, the network device then generates the first playback scheme of the video according to the drag information, and when the user clicks the video again, the network device returns the video configured with the first playback scheme to the user equipment , the user equipment plays the video in the first playback scheme; or, when the user clicks the video again, the network device provides the user equipment with one or more optional playback schemes related to the video, wherein the one or more The playback scheme may include a first playback scheme, and the user selects one of the schemes to play the video with this scheme.
图6示出根据本申请一个实施例的一种用于提供视频信息的网络设备,其中,所述网络设备包括一一模块101、一二模块102、一三模块103、一四模块104。FIG. 6 shows a network device for providing video information according to an embodiment of the present application, wherein the network device includes a first module 101 , a second module 102 , a third module 103 , and a fourth module 104 .
具体地,一一模块101,用于接收拖曳信息,其中,所述拖曳信息是响应于目标应用中与目标视频的进度条相关的拖曳事件而生成的,所述拖曳信息包括所述拖曳事件对应的至少一个时间段信息。例如,网络设备与任一安装有目标应用的用户设备建立通信连接,响应于任一用户设备的目标应用中与目标视频的进度条相关的拖曳事件,该任一用户设备向网络设备发送拖曳信息,其中,所述拖曳事件包括用户对目标视频的进度条进行拖曳的操作事件,所述拖曳信息包括用户对进度条进行拖曳的、对应的至少一个时间段信息,其中,所述拖曳信息包括该用户的标识信息,所述目标应用包括视频播放类应用或者具有视频播放功能的应用。在一些实施例中,不同用户对该目标视频的进度条进行拖曳后,所生成的拖曳信息与该用户相对应。Specifically, a module 101 is configured to receive drag information, wherein the drag information is generated in response to a drag event related to the progress bar of the target video in the target application, and the drag information includes the corresponding drag event information of at least one time period. For example, the network device establishes a communication connection with any user equipment installed with the target application, and in response to a drag event related to the progress bar of the target video in the target application of any user equipment, the any user equipment sends drag information to the network device , wherein the drag event includes an operation event in which the user drags the progress bar of the target video, and the drag information includes at least one time period information corresponding to the user dragging the progress bar, wherein the drag information includes the The identification information of the user, and the target application includes a video playback application or an application with a video playback function. In some embodiments, after different users drag the progress bar of the target video, the generated drag information corresponds to the user.
一二模块102,用于根据所述拖曳信息生成关于所述目标视频的第一播放方案。例如,网络设备根据所述拖曳信息对应的至少一个时间段信息生成关于目标视频的第一播放方案。在一些实施例中,一二模块102,用于根据所述拖曳信息对所述目标视频执行目标配置操作,以生成目标配置信息作为所述第一播放方案。相关根据 所述拖曳信息对所述目标视频执行目标配置操作,以生成目标配置信息作为所述第一播放方案的操作与图3所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。在一些实施例中,所述网络设备还包括一五模块105(未示出),一五模块105,用于确定所述至少一个时间段信息对应的至少一个视频片段信息;所述根据所述拖曳信息对所述目标视频执行目标配置操作,包括:根据所述拖曳信息对所述至少一个视频片段信息执行目标配置操作。所述一五模块105的具体实现方式与前述步骤S105的实施例相同或相近,故不再赘述,在此以引用方式包含于此。在一些实施例中,所述目标配置操作包括以下至少一项:The first and second modules 102 are configured to generate a first playing scheme about the target video according to the dragging information. For example, the network device generates a first playing scheme about the target video according to at least one time period information corresponding to the dragging information. In some embodiments, the first and second modules 102 are configured to perform a target configuration operation on the target video according to the dragging information, so as to generate target configuration information as the first playing scheme. The operation of performing a target configuration operation on the target video according to the dragging information to generate target configuration information as the first playback scheme is the same as or similar to the embodiment shown in FIG. 3 , so it will not be repeated here. The way is included here. In some embodiments, the network device further includes a five module 105 (not shown), a five module 105, configured to determine at least one video segment information corresponding to the at least one time period information; The dragging information performing a target configuration operation on the target video includes: performing a target configuration operation on the at least one video segment information according to the dragging information. The specific implementation of the one-fifth module 105 is the same as or similar to the embodiment of the aforementioned step S105 , so it is not repeated here, and is incorporated herein by reference. In some embodiments, the target configuration operation includes at least one of the following:
1)对所述至少一个视频片段执行删除操作;1) performing a delete operation on the at least one video clip;
2)对所述至少一个视频片段执行快进操作;2) performing a fast-forward operation on the at least one video segment;
3)对所述至少一个视频片段执行跳过操作;3) performing a skip operation on the at least one video segment;
4)保持所述目标视频的进度条完整;相关目标配置操作的操作与图3所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。在一些实施例中,所述至少一个时间段信息中每个时间段信息对应的时长信息之和小于所述目标视频的进度条的总时长信息。相关所述至少一个时间段信息中每个时间段信息对应的时长信息之和小于所述目标视频的进度条的总时长信息的操作与图3所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。4) Keep the progress bar of the target video intact; the operation of the related target configuration operation is the same as or similar to the embodiment shown in FIG. In some embodiments, the sum of the duration information corresponding to each time segment information in the at least one time segment information is less than the total duration information of the progress bar of the target video. The operation that the sum of the duration information corresponding to each time segment information in the relevant at least one time segment information is less than the total duration information of the progress bar of the target video is the same as or similar to the embodiment shown in FIG. 3, so it is not repeated here. It is hereby incorporated by reference.
一三模块103,用于接收第一用户设备发送的视频播放请求,其中,所述视频播放请求包括所述目标视频的视频标识信息以及所述第一用户设备所属用户的用户标识信息。例如,在网络设备生成关于所述目标视频的第一播放方案的前提下,网络设备接收第一用户设备发送的、关于所述目标视频的视频播放请求。A third module 103 is configured to receive a video playback request sent by a first user equipment, wherein the video playback request includes video identification information of the target video and user identification information of a user to which the first user equipment belongs. For example, on the premise that the network device generates the first playback scheme for the target video, the network device receives a video playback request for the target video sent by the first user equipment.
一四模块104,用于响应于所述视频播放请求,将根据所述第一播放方案配置的所述目标视频提供至所述第一用户设备。例如,网络设备在接收到所述视频播放请求后,根据所述视频播放请求对应的视频标识信息将以所述第一播放方案配置的所述目标视频返回至对应的用户,从而给与用户个性化的视频播放方案,提升用户的视频观看体验。A fourth module 104, configured to provide the target video configured according to the first playback scheme to the first user equipment in response to the video playback request. For example, after receiving the video playback request, the network device returns the target video configured in the first playback scheme to the corresponding user according to the video identification information corresponding to the video playback request, thereby giving the user personality The customized video playback solution improves the user's video viewing experience.
在一些实施例中,所述接收拖曳信息,包括:接收第二用户设备发送的拖曳信息;或者,接收所述第一用户设备发送的拖曳信息。相关接收拖曳信息的操作与图3所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。在一些实施例 中,所述接收拖曳信息包括接收所述第一用户设备发送的拖曳信息;所述网络设备还包括一七模块107(未示出),一七模块107,用于建立并更新用户标识信息和视频信息的映射关系;一四模块104,用于响应于所述视频播放请求,根据所述第一用户设备所属用户的用户标识信息从所述映射关系中确定一个或者多个候选目标视频;根据所述视频标识信息从所述一个或者多个候选目标视频中确定目标视频,将根据所述第一播放方案配置的所述目标视频提供至所述第一用户设备。所述一七模块107的具体实现方式与前述步骤S107的实施例相同或相近,故不再赘述,在此以引用方式包含于此。在一些实施例中,所述接收拖曳信息包括接收第二用户设备发送的拖曳信息;一四模块104,用于响应于所述视频播放请求,将根据所述第一播放方案配置的所述目标视频提供至所述第一用户设备,其中,所述第一用户设备所属用户的用户标识信息与所述第二用户设备所属用户的用户标识信息不一致。相关所述接收拖曳信息包括接收第二用户设备发送的拖曳信息的操作与图3所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。在一些实施例中,所述网络设备还包括一六模块106(未示出),一六模块106,用于接收所述第一用户设备发送的视频片段信息获取请求,其中,所述视频片段信息获取请求是响应于所述目标视频中与所述至少一个时间段信息中任一时间点相关的触发事件而发送的;响应于所述视频片段信息获取请求,从所述目标视频中提取该任一时间点对应的视频片段信息,并将所述视频片段信息返回至所述第一用户设备。In some embodiments, the receiving the dragging information includes: receiving the dragging information sent by the second user equipment; or, receiving the dragging information sent by the first user equipment. The operation of receiving the dragging information is the same as or similar to that of the embodiment shown in FIG. 3 , so it will not be described again, but is incorporated herein by reference. In some embodiments, the receiving the dragging information includes receiving the dragging information sent by the first user equipment; the network device further includes a seventh module 107 (not shown), a seventh module 107 for establishing and updating A mapping relationship between user identification information and video information; a fourth module 104 is configured to, in response to the video playback request, determine one or more candidates from the mapping relationship according to the user identification information of the user to which the first user equipment belongs target video; determining a target video from the one or more candidate target videos according to the video identification information, and providing the target video configured according to the first playback scheme to the first user equipment. The specific implementation manner of the one-seven modules 107 is the same as or similar to the embodiment of the aforementioned step S107 , so it is not repeated here, and is incorporated herein by reference. In some embodiments, the receiving the dragging information includes receiving the dragging information sent by the second user equipment; the fourth module 104 is configured to, in response to the video playback request, set the target configured according to the first playback scheme The video is provided to the first user equipment, wherein the user identification information of the user to which the first user equipment belongs is inconsistent with the user identification information of the user to which the second user equipment belongs. The related operation of receiving drag information including receiving drag information sent by the second user equipment is the same as or similar to the embodiment shown in FIG. In some embodiments, the network device further includes a six-module 106 (not shown), a six-module 106 configured to receive a video clip information acquisition request sent by the first user equipment, wherein the video clip The information acquisition request is sent in response to a trigger event related to any time point in the at least one time period information in the target video; in response to the video segment information acquisition request, extract the information from the target video. video clip information corresponding to any point in time, and return the video clip information to the first user equipment.
所述一六模块106的具体实现方式与前述步骤S106的实施例相同或相近,故不再赘述,在此以引用方式包含于此。The specific implementation manner of the one-six modules 106 is the same as or similar to the embodiment of the aforementioned step S106 , so it is not repeated here, and is incorporated herein by reference.
在此,有关上述一一模块101、一二模块102、一三模块103、一四模块104的具体实现方式的示例与步骤S101、步骤S102、步骤S103、步骤S104的实施例相同或相近,故不再赘述,在此以引用方式包含于此。Here, the specific implementation examples of the above-mentioned one-one module 101, one-two module 102, one-three module 103, and one-four module 104 are the same as or similar to the embodiments of step S101, step S102, step S103, and step S104, so Without further description, it is incorporated herein by reference.
在一些实施例中,所述网络设备还包括一八模块108(未示出),一八模块108,用于识别根据所述第一播放方案配置的所述目标视频的特征信息;根据所述特征信息在分发数据库中进行匹配以确定与所述特征信息对应的一个或者多个推荐用户;将根据所述第一播放方案配置的所述目标视频发送至所述一个或者多个推荐用户对应的用户设备。所述一八模块108的具体实现方式与前述步骤S108的实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the network device further includes an eighth module 108 (not shown), an eighth module 108 for identifying the feature information of the target video configured according to the first playback scheme; according to the The feature information is matched in the distribution database to determine one or more recommended users corresponding to the feature information; the target video configured according to the first playback scheme is sent to the corresponding one or more recommended users. user equipment. The specific implementation manner of the eighteen modules 108 is the same as or similar to the embodiment of the foregoing step S108 , so it is not repeated here, and is incorporated herein by reference.
在一些实施例中,所述网络设备还包括一九模块109(未示出),一九模块109,用于根据所述第一播放方案与所述推荐用户在所述目标应用中的历史播放信息生成关于所述目标视频的推荐播放方案;所述将根据所述第一播放方案配置的所述目标视频发送至所述一个或者多个推荐用户对应的用户设备,包括:将根据所述推荐播放方案配置的所述目标视频发送至该推荐用户对应的用户设备。所述一九模块109的具体实现方式与前述步骤S109的实施例相同或相近,故不再赘述,在此以引用方式包含于此。在一些实施例中,所述根据所述第一播放方案与所述推荐用户在所述目标应用中的历史播放信息生成关于所述目标视频的推荐播放方案,包括:根据所述推荐用户在所述目标应用中的历史播放信息确定所述推荐用户的视频偏好类型信息;根据所述第一播放方案与所述推荐用户的视频偏好类型信息生成关于所述目标视频的推荐播放方案。相关根据所述第一播放方案与所述推荐用户在所述目标应用中的历史播放信息生成关于所述目标视频的推荐播放方案的操作与图3所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。在一些实施例中,所述根据所述第一播放方案与所述推荐用户的视频偏好类型信息生成关于所述目标视频的推荐播放方案,包括:确定所述推荐用户的视频偏好类型信息对应的一个或者多个候选推荐视频信息;根据所述目标视频的视频类型从所述一个或者多个候选推荐视频信息中确定至少一个推荐视频信息;将所述至少一个推荐视频信息添加至所述候选播放方案中生成关于所述目标视频的推荐播放方案。相关根据所述第一播放方案与所述推荐用户的视频偏好类型信息生成关于所述目标视频的推荐播放方案的操作与图3所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the network device further includes a module 109 (not shown), the module 109 is configured to play according to the first play scheme and the history of the recommended user in the target application information to generate a recommended playback scheme about the target video; the sending the target video configured according to the first playback scheme to the user equipment corresponding to the one or more recommended users includes: The target video configured by the play plan is sent to the user equipment corresponding to the recommended user. The specific implementation manner of the 19 module 109 is the same as or similar to the embodiment of the foregoing step S109, so it will not be repeated here, but is incorporated herein by reference. In some embodiments, the generating the recommended playing scheme about the target video according to the first playing scheme and the historical playing information of the recommended user in the target application includes: Determine the video preference type information of the recommending user based on the historical playback information in the target application; generate a recommended playback scheme for the target video according to the first playback scheme and the video preference type information of the recommending user. The operation of generating the recommended playback scheme for the target video according to the first playback scheme and the historical playback information of the recommended user in the target application is the same as or similar to the embodiment shown in FIG. 3 , so it is not repeated here. , which is hereby incorporated by reference. In some embodiments, the generating a recommended playing scheme about the target video according to the first playing scheme and the video preference type information of the recommending user includes: determining a corresponding video preference type information of the recommending user. one or more candidate recommended video information; determine at least one recommended video information from the one or more candidate recommended video information according to the video type of the target video; add the at least one recommended video information to the candidate playback In the scheme, a recommended playing scheme about the target video is generated. The operation of generating the recommended playback scheme for the target video according to the first playback scheme and the video preference type information of the recommending user is the same as or similar to the embodiment shown in FIG. 3 , so it will not be repeated here. The way is included here.
图7示出根据本申请一个实施例的一种用于提供视频信息的第一用户设备,所述第一用户设备包括二一模块201、二二模块202和二三模块203。FIG. 7 shows a first user equipment for providing video information according to an embodiment of the present application, where the first user equipment includes a second-first module 201 , a second-second module 202 and a second-third module 203 .
具体地,二一模块201,用于向目标应用对应的网络设备发送视频播放请求,其中,所述视频播放请求包括目标视频的视频标识信息以及第一用户设备所属用户的用户标识信息。例如,第一用户设备中安装有目标应用,响应于第一用户设备所属用户在目标应用中对目标视频的触发操作,第一用户设备向目标应用对应的网络设备发送视频播放请求,或者,在第一用户设备所属用户准备点击观看目标视频时,第一用户设备中呈现关于目标视频的第一播放方案的提示信息,响应于第一用户设备所属用户对该提示信息的触发操作,第一用户设备向目标应用对应的网络设备发 送视频播放请求。Specifically, the two-one module 201 is configured to send a video playback request to the network device corresponding to the target application, wherein the video playback request includes video identification information of the target video and user identification information of the user to which the first user equipment belongs. For example, the target application is installed in the first user equipment, and in response to a user to which the first user equipment belongs triggers the target video in the target application, the first user equipment sends a video playback request to the network device corresponding to the target application, or, in When the user to which the first user equipment belongs is going to click to watch the target video, prompt information about the first playback scheme of the target video is presented in the first user equipment. The device sends a video playback request to the network device corresponding to the target application.
二二模块202,用于接收基于所述视频播放请求返回的、根据第一播放方案配置的所述目标视频。例如,在网络设备生成关于所述目标视频的第一播放方案的前提下,网络设备基于所述视频播放请求优先将根据所述第一播放方案配置的所述目标视频返回至所述第一用户设备。The second module 202 is configured to receive the target video that is returned based on the video playback request and configured according to the first playback scheme. For example, on the premise that the network device generates a first playback scheme for the target video, the network device preferentially returns the target video configured according to the first playback scheme to the first user based on the video playback request equipment.
二三模块203,用于以所述第一播放方案播放所述目标视频。例如,以第一播放方案播放的视频是经过精简后的视频,可以给与用户不同的播放体验。在一些实施例中,所述第一播放方案包括以下至少任一项:The second and third modules 203 are configured to play the target video in the first playing scheme. For example, the video played in the first playback scheme is a simplified video, which can give the user a different playback experience. In some embodiments, the first playback scheme includes at least any of the following:
1)当视频播放至设定的至少一个时间段信息对应的一个起始时间点时以快进形式播放至该时间段信息对应的终止时间点;1) when the video is played to a start time point corresponding to at least one set time period information, the video is played to the corresponding end time point of the time period information in a fast-forward form;
2)当视频播放至设定的至少一个时间段信息对应的一个起始时间点时以跳跃形式播放至该时间段信息对应的终止时间点;2) when the video is played to a start time point corresponding to the set at least one time period information, the video is played to the corresponding termination time point of the time period information in a skip form;
3)当视频播放的进度条未处于设定的至少一个时间段信息中的任一时间段中,以初始播放模式播放所述目标视频;相关第一播放方案的操作与图5所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。3) When the progress bar of video playback is not in any time period in the set at least one time period information, the target video is played in the initial playback mode; the operation of the relevant first playback scheme is the same as the embodiment shown in FIG. 5 . They are the same or similar, so they are not repeated here, but are included here by way of reference.
在一些实施例中,所述第一用户设备在二一模块201之前还包括二四模块204(未示出),二四模块204,用于启用所述目标应用中的进度条设置。所述二四模块204的具体实现方式与前述步骤S204的实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the first user equipment further includes a second-four module 204 (not shown) before the second-one module 201 . The second-four module 204 is used to enable the setting of the progress bar in the target application. The specific implementation manner of the second and fourth modules 204 is the same as or similar to the embodiment of the foregoing step S204 , so it is not repeated here, and is incorporated herein by reference.
在此,有关上述二一模块201、二二模块202和二三模块203的具体实现方式的示例与图5中有关步骤S201、S202和S203的实施例相同或相近,故不再赘述,在此以引用方式包含于此。图8示出根据本申请一个实施例的一种用于提供视频信息的系统设备,该系统包括:Here, examples of specific implementations of the above-mentioned two-first module 201, two-two module 202 and two-third module 203 are the same as or similar to the embodiments of steps S201, S202 and S203 in FIG. 5, so they will not be repeated here. Incorporated herein by reference. FIG. 8 shows a system device for providing video information according to an embodiment of the present application, the system includes:
响应于目标应用中与目标视频进度条相关的拖曳事件,第一用户设备向所述目标应用对应的网络设备发送触发信息,其中,所述触发信息包括所述拖曳事件对应的至少一个时间段信息;In response to a drag event related to the target video progress bar in the target application, the first user equipment sends trigger information to a network device corresponding to the target application, where the trigger information includes at least one time period information corresponding to the drag event ;
网络设备接收拖曳信息,并根据所述拖曳信息生成关于所述目标视频的第一播放方案,其中,所述拖曳信息是响应于目标应用中与目标视频的进度条相关的拖曳事件而生成的,所述拖曳信息包括所述拖曳事件对应的至少一个时间段信息;The network device receives the dragging information, and generates a first playback scheme about the target video according to the dragging information, wherein the dragging information is generated in response to a dragging event related to the progress bar of the target video in the target application, The drag information includes at least one time period information corresponding to the drag event;
第一用户设备向所述网络设备发送视频播放请求,其中,所述视频播放请求包括所述目标视频的视频标识信息以及所述第一用户设备所属用户的用户标识信息;The first user equipment sends a video playback request to the network device, wherein the video playback request includes video identification information of the target video and user identification information of a user to which the first user equipment belongs;
所述网络设备接收所述视频播放请求,并响应于所述视频播放请求,将根据所述第一播放方案配置的所述目标视频提供至所述第一用户设备/第二用户设备;The network device receives the video playback request, and in response to the video playback request, provides the target video configured according to the first playback scheme to the first user equipment/second user equipment;
第一用户设备接收所述目标视频,并以所述第一播放方案播放所述目标视频。The first user equipment receives the target video, and plays the target video in the first playback scheme.
除上述各实施例介绍的方法和设备外,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机代码,当所述计算机代码被执行时,如前任一项所述的方法被执行。In addition to the methods and devices described in the above-mentioned embodiments, the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores computer codes, when the computer codes are executed, as in any of the previous The described method is executed.
本申请还提供了一种计算机程序产品,当所述计算机程序产品被计算机设备执行时,如前任一项所述的方法被执行。The present application also provides a computer program product, when the computer program product is executed by a computer device, the method according to any one of the preceding items is executed.
本申请还提供了一种计算机设备,所述计算机设备包括:The present application also provides a computer device, the computer device comprising:
一个或多个处理器;one or more processors;
存储器,用于存储一个或多个计算机程序;memory for storing one or more computer programs;
当所述一个或多个计算机程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如前任一项所述的方法。The one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding item.
图9示出了可被用于实施本申请中所述的各个实施例的示例性系统;FIG. 9 illustrates an exemplary system that may be used to implement various embodiments described in this application;
如图9所示在一些实施例中,系统1000能够作为各所述实施例中的任意一个网络设备、第一用户设备或第二用户设备。在一些实施例中,系统1000可包括具有指令的一个或多个计算机可读介质(例如,系统存储器或NVM/存储设备1020)以及与该一个或多个计算机可读介质耦合并被配置为执行指令以实现模块从而执行本申请中所述的动作的一个或多个处理器(例如,(一个或多个)处理器1005)。As shown in FIG. 9 , in some embodiments, the system 1000 can function as any one of the network equipment, the first user equipment, or the second user equipment in each of the embodiments. In some embodiments, system 1000 may include one or more computer-readable media (eg, system memory or NVM/storage device 1020 ) having instructions and be coupled to the one or more computer-readable media and configured to execute Instructions to implement a module to perform one or more processors (eg, processor(s) 1005 ) to perform the actions described herein.
对于一个实施例,系统控制模块1010可包括任意适当的接口控制器,以向(一个或多个)处理器1005中的至少一个和/或与系统控制模块1010通信的任意适当的设备或组件提供任意适当的接口。For one embodiment, the system control module 1010 may include any suitable interface controller to provide at least one of the processor(s) 1005 and/or any suitable device or component in communication with the system control module 1010 any appropriate interface.
系统控制模块1010可包括存储器控制器模块1030,以向系统存储器1015提供接口。存储器控制器模块1030可以是硬件模块、软件模块和/或固件模块。The system control module 1010 may include a memory controller module 1030 to provide an interface to the system memory 1015 . The memory controller module 1030 may be a hardware module, a software module, and/or a firmware module.
系统存储器1015可被用于例如为系统1000加载和存储数据和/或指令。对于一个实施例,系统存储器1015可包括任意适当的易失性存储器,例如,适当的DRAM。在一些实施例中,系统存储器1015可包括双倍数据速率类型四同步动态随机存取 存储器(DDR4 SDRAM)。System memory 1015 may be used, for example, to load and store data and/or instructions for system 1000 . For one embodiment, system memory 1015 may include any suitable volatile memory, eg, suitable DRAM. In some embodiments, system memory 1015 may include double data rate type quad synchronous dynamic random access memory (DDR4 SDRAM).
对于一个实施例,系统控制模块1010可包括一个或多个输入/输出(I/O)控制器,以向NVM/存储设备1020及(一个或多个)通信接口1025提供接口。For one embodiment, system control module 1010 may include one or more input/output (I/O) controllers to provide interfaces to NVM/storage device 1020 and communication interface(s) 1025 .
例如,NVM/存储设备1020可被用于存储数据和/或指令。NVM/存储设备1020可包括任意适当的非易失性存储器(例如,闪存)和/或可包括任意适当的(一个或多个)非易失性存储设备(例如,一个或多个硬盘驱动器(Hard Disk,HDD)、一个或多个光盘(CD)驱动器和/或一个或多个数字通用光盘(DVD)驱动器)。For example, NVM/storage device 1020 may be used to store data and/or instructions. NVM/storage device 1020 may include any suitable non-volatile memory (eg, flash memory) and/or may include any suitable non-volatile storage device(s) (eg, one or more hard disk drives ( Hard Disk, HDD), one or more compact disc (CD) drives and/or one or more digital versatile disc (DVD) drives).
NVM/存储设备1020可包括在物理上作为系统1000被安装在其上的设备的一部分的存储资源,或者其可被该设备访问而不必作为该设备的一部分。例如,NVM/存储设备1020可通过网络经由(一个或多个)通信接口1025进行访问。NVM/storage device 1020 may include storage resources that are physically part of the device on which system 1000 is installed, or it may be accessed by the device without necessarily being part of the device. For example, the NVM/storage device 1020 is accessible via the communication interface(s) 1025 over a network.
(一个或多个)通信接口1025可为系统1000提供接口以通过一个或多个网络和/或与任意其他适当的设备通信。系统1000可根据一个或多个无线网络标准和/或协议中的任意标准和/或协议来与无线网络的一个或多个组件进行无线通信。Communication interface(s) 1025 may provide an interface for system 1000 to communicate over one or more networks and/or with any other suitable device. System 1000 can wirelessly communicate with one or more components of a wireless network in accordance with any of one or more wireless network standards and/or protocols.
对于一个实施例,(一个或多个)处理器1005中的至少一个可与系统控制模块1010的一个或多个控制器(例如,存储器控制器模块1030)的逻辑封装在一起。对于一个实施例,(一个或多个)处理器1005中的至少一个可与系统控制模块1010的一个或多个控制器的逻辑封装在一起以形成系统级封装(SiP)。对于一个实施例,(一个或多个)处理器1005中的至少一个可与系统控制模块1010的一个或多个控制器的逻辑集成在同一模具上。对于一个实施例,(一个或多个)处理器1005中的至少一个可与系统控制模块1010的一个或多个控制器的逻辑集成在同一模具上以形成片上系统(SoC)。For one embodiment, at least one of the processor(s) 1005 may be packaged with the logic of one or more controllers of the system control module 1010 (eg, the memory controller module 1030 ). For one embodiment, at least one of the processor(s) 1005 may be packaged with logic of one or more controllers of the system control module 1010 to form a system-in-package (SiP). For one embodiment, at least one of the processor(s) 1005 may be integrated on the same die with the logic of one or more controllers of the system control module 1010 . For one embodiment, at least one of the processor(s) 1005 may be integrated on the same die with logic of one or more controllers of the system control module 1010 to form a system on a chip (SoC).
在各个实施例中,系统1000可以但不限于是:服务器、工作站、台式计算设备或移动计算设备(例如,膝上型计算设备、手持计算设备、平板电脑、上网本等)。在各个实施例中,系统1000可具有更多或更少的组件和/或不同的架构。例如,在一些实施例中,系统1000包括一个或多个摄像机、键盘、液晶显示器(LCD)屏幕(包括触屏显示器)、非易失性存储器端口、多个天线、图形芯片、专用集成电路(ASIC)和扬声器。In various embodiments, system 1000 may be, but is not limited to, a server, workstation, desktop computing device, or mobile computing device (eg, laptop computing device, handheld computing device, tablet computer, netbook, etc.). In various embodiments, system 1000 may have more or fewer components and/or different architectures. For example, in some embodiments, system 1000 includes one or more cameras, keyboards, liquid crystal display (LCD) screens (including touch screen displays), non-volatile memory ports, multiple antennas, graphics chips, application specific integrated circuits ( ASIC) and speakers.
需要注意的是,本申请可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他类似硬件设备来实现。 在一个实施例中,本申请的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本申请的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本申请的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。It should be noted that the present application may be implemented in software and/or a combination of software and hardware, eg, an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device. In one embodiment, the software program of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs of the present application (including associated data structures) may be stored on a computer-readable recording medium, such as RAM memory, magnetic or optical drives or floppy disks, and the like. In addition, some steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.
另外,本申请的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本申请的方法和/或技术方案。本领域技术人员应能理解,计算机程序指令在计算机可读介质中的存在形式包括但不限于源文件、可执行文件、安装包文件等,相应地,计算机程序指令被计算机执行的方式包括但不限于:该计算机直接执行该指令,或者该计算机编译该指令后再执行对应的编译后程序,或者该计算机读取并执行该指令,或者该计算机读取并安装该指令后再执行对应的安装后程序。在此,计算机可读介质可以是可供计算机访问的任意可用的计算机可读存储介质或通信介质。In addition, a part of the present application can be applied as a computer program product, such as computer program instructions, which when executed by a computer, through the operation of the computer, can invoke or provide methods and/or technical solutions according to the present application. Those skilled in the art should understand that the existing forms of computer program instructions in computer-readable media include but are not limited to source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include but are not limited to Limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding post-installation program. program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium that can be accessed by a computer.
通信介质包括藉此包含例如计算机可读指令、数据结构、程序模块或其他数据的通信信号被从一个系统传送到另一系统的介质。通信介质可包括有导的传输介质(诸如电缆和线(例如,光纤、同轴等))和能传播能量波的无线(未有导的传输)介质,诸如声音、电磁、RF、微波和红外。计算机可读指令、数据结构、程序模块或其他数据可被体现为例如无线介质(诸如载波或诸如被体现为扩展频谱技术的一部分的类似机制)中的已调制数据信号。术语“已调制数据信号”指的是其一个或多个特征以在信号中编码信息的方式被更改或设定的信号。调制可以是模拟的、数字的或混合调制技术。Communication media includes media by which communication signals containing, for example, computer readable instructions, data structures, program modules or other data are transmitted from one system to another. Communication media may include conducted transmission media such as cables and wires (eg, fiber optic, coaxial, etc.) and wireless (unconducted transmission) media capable of propagating energy waves, such as acoustic, electromagnetic, RF, microwave, and infrared . Computer readable instructions, data structures, program modules or other data may be embodied, for example, as a modulated data signal in a wireless medium such as a carrier wave or similar mechanism such as embodied as part of spread spectrum technology. The term "modulated data signal" refers to a signal whose one or more characteristics are altered or set in a manner that encodes information in the signal. Modulation can be analog, digital or hybrid modulation techniques.
作为示例而非限制,计算机可读存储介质可包括以用于存储诸如计算机可读指令、数据结构、程序模块或其它数据的信息的任何方法或技术实现的易失性和非易失性、可移动和不可移动的介质。例如,计算机可读存储介质包括,但不限于,易失性存储器,诸如随机存储器(RAM,DRAM,SRAM);以及非易失性存储器,诸如闪存、各种只读存储器(ROM,PROM,EPROM,EEPROM)、磁性和铁磁/铁电存储器(MRAM,FeRAM);以及磁性和光学存储设备(硬盘、磁带、CD、DVD);或其它现在已知的介质或今后开发的能够存储供计算机系统使用的计算机可读信息/数据。By way of example and not limitation, computer-readable storage media may include volatile and non-volatile, readable storage media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Removable and non-removable media. For example, computer-readable storage media include, but are not limited to, volatile memory, such as random access memory (RAM, DRAM, SRAM); and non-volatile memory, such as flash memory, various read-only memories (ROM, PROM, EPROM) , EEPROM), magnetic and ferromagnetic/ferroelectric memory (MRAM, FeRAM); and magnetic and optical storage devices (hard disks, tapes, CDs, DVDs); or other media now known or later developed capable of storing data for computer systems Computer readable information/data used.
在此,根据本申请的一个实施例包括一个装置,该装置包括用于存储计算机程 序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该装置运行基于前述根据本申请的多个实施例的方法和/或技术方案。Here, an embodiment according to the present application includes an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein, when the computer program instructions are executed by the processor, a trigger is The apparatus operates based on the aforementioned methods and/or technical solutions according to various embodiments of the present application.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It will be apparent to those skilled in the art that the present application is not limited to the details of the above-described exemplary embodiments, but that the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Accordingly, the embodiments are to be regarded in all respects as illustrative and not restrictive, and the scope of the application is to be defined by the appended claims rather than the foregoing description, which is therefore intended to fall within the scope of the claims. All changes within the meaning and scope of the equivalents of , are included in this application. Any reference signs in the claims shall not be construed as limiting the involved claim. Furthermore, it is clear that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. Several units or means recited in the device claims can also be realized by one unit or means by means of software or hardware. The terms first, second, etc. are used to denote names and do not denote any particular order.