Video playing method and device and electronic equipment

文档序号:1957025 发布日期:2021-12-10 浏览:11次 中文

阅读说明:本技术 视频播放方法、装置和电子设备 (Video playing method and device and electronic equipment ) 是由 陈祎 岳晓东 徐悦然 于 2021-07-30 设计创作,主要内容包括:本公开关于一种视频播放方法、装置和电子设备,其中,该方法包括:接收客户端发送的视频加载请求,基于视频加载请求确定待推送的视频资源集合;针对待推送的视频资源集合的各个视频资源,确定视频资源所包括的素材;在视频资源所包括的素材为预设类型的目标素材的情况下,在视频资源中插入指示信息;推送视频资集合至客户端,以使得客户端基于视频资源的指示信息,在视频播放界面中展示目标素材对应的拍摄入口标识,目标素材对应的拍摄入口标识用于提示基于目标素材进行视频拍摄。本公开解决了相关技术中视频中的素材的推荐准确率和素材使用率不高的问题。(The disclosure relates to a video playing method, a video playing device and electronic equipment, wherein the method comprises the following steps: receiving a video loading request sent by a client, and determining a video resource set to be pushed based on the video loading request; determining materials included by the video resources aiming at each video resource of the video resource set to be pushed; inserting indication information into the video resources under the condition that the materials included in the video resources are target materials of preset types; and pushing the video resource set to the client so that the client displays a shooting inlet identifier corresponding to the target material in a video playing interface based on the indication information of the video resource, wherein the shooting inlet identifier corresponding to the target material is used for prompting video shooting based on the target material. The method and the device solve the problems that the recommendation accuracy rate and the material utilization rate of the materials in the video are not high in the related art.)

1. A video playing method is applied to a server and is characterized by comprising the following steps:

receiving a video loading request sent by a client, and determining a video resource set to be pushed based on the video loading request;

determining materials included in video resources aiming at each video resource of a video resource set to be pushed;

under the condition that the material included in the video resource is a preset type of target material, inserting indication information into the video resource, wherein the indication information is used for indicating that the video resource has shooting display attributes of the preset type of target material;

and pushing the video asset set to the client, so that the client displays a shooting entrance identifier corresponding to the target material in a video playing interface based on the indication information of the video asset, wherein the shooting entrance identifier corresponding to the target material is used for prompting video shooting based on the target material.

2. The video playing method according to claim 1, wherein in a case that the material included in the video asset is a preset type of target material, before inserting the indication information into the video asset, at least one of the following is further included:

determining that the materials included in the video resources are preset type target materials under the condition that the materials included in the video resources include first type materials, wherein the first type materials are recommended materials configured in advance according to preset services;

determining that the materials included in the video resources are target materials of a preset type under the condition that the materials included in the video resources include second-type materials, wherein the second-type materials are materials recommended by adopting a preset strategy;

and under the condition that the materials included in the video resources include third-type materials, determining that the materials included in the video resources are preset-type target materials, wherein the third-type materials are the materials determined by the first-type materials and the second-type materials through weighting processing.

3. The video playback method of claim 2,

the recommended material pre-configured according to the preset service comprises: materials designated for the predetermined service;

the material recommended by adopting the preset strategy comprises at least one of the following materials: the method comprises the steps of playing materials with the volume exceeding a first preset threshold value in a preset time, generating materials with the work volume exceeding a second preset threshold value, predicting the materials by adopting a model algorithm based on sample behavior data of a plurality of objects, and generating the materials by adopting the model algorithm based on historical behavior data of the client.

4. The video playback method according to any one of claims 1 to 3, wherein the indication information includes at least one of: the type identification of the target material, the shooting entrance identification of the target material and the shooting skip link of the target material.

5. A video playing method is applied to a client side and is characterized by comprising the following steps:

sending a video loading request to a server;

acquiring video resources sent by the server, wherein the video resources carry indication information which is used for indicating that the video resources have shooting and displaying attributes of target materials of preset types;

and displaying a shooting inlet identifier corresponding to the target material in a video playing interface based on the indication information, wherein the shooting inlet identifier corresponding to the target material is used for prompting video shooting based on the target material.

6. A video playing device applied to a server is characterized by comprising:

the first receiving module is used for receiving a video loading request sent by a client and determining a video resource set to be pushed based on the video loading request;

the device comprises a first determining module, a second determining module and a pushing module, wherein the first determining module is used for determining materials included in video resources aiming at each video resource of a video resource set to be pushed;

the video resource processing device comprises an inserting module and a processing module, wherein the inserting module is used for inserting indication information into the video resource under the condition that a material included in the video resource is a preset type of target material, and the indication information is used for indicating that the video resource has shooting and displaying properties of the preset type of target material;

and the pushing module is used for pushing the video resource set to the client so that the client displays a shooting entrance identifier corresponding to the target material in a video playing interface based on the indication information of the video resource, and the shooting entrance identifier corresponding to the target material is used for prompting video shooting based on the target material.

7. A video playing device applied to a client is characterized by comprising:

the sending module is used for sending a video loading request to the server;

the acquisition module is used for acquiring the video resources sent by the server, wherein the video resources carry indication information which is used for indicating that the video resources have shooting and displaying attributes of target materials of preset types;

and the display module is used for displaying the shooting entrance identification corresponding to the target material in a video playing interface based on the indication information, wherein the shooting entrance identification corresponding to the target material is used for prompting video shooting based on the target material.

8. An electronic device, comprising:

a processor;

a memory for storing the processor-executable instructions;

wherein the processor is configured to execute the instructions to implement the video playback method of any of claims 1 to 5.

9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the video playback method of any of claims 1-5.

10. A computer program product comprising a computer program, characterized in that the computer program realizes the video playback method of any of claims 1 to 5 when executed by a processor.

Technical Field

The present disclosure relates to the field of computers, and in particular, to a video playing method and apparatus, and an electronic device.

Background

In the related art, when a client device requests a video, a server generally determines some recommended video sets based on predetermined recommendation conditions, and then pushes the recommended video sets to the client device. While watching a video, if the material in the video is liked, the video can be generally labeled by favorites or attention. If the user wants to use the same type of materials for video shooting, multi-step operations such as searching and editing are also carried out on a plurality of materials by the server based on the searching function, and then the searched materials are used for video shooting. But the problems of low recommendation accuracy and low material utilization rate of the materials in the video exist in the related technology.

Disclosure of Invention

The disclosure provides a video playing method, a video playing device and electronic equipment, which are used for at least solving the problems of low recommendation accuracy and low material utilization rate of materials in videos in related technologies. The technical scheme of the disclosure is as follows:

according to a first aspect of the embodiments of the present disclosure, there is provided a video playing method applied to a server, including: receiving a video loading request sent by a client, and determining a video resource set to be pushed based on the video loading request; determining materials included in video resources aiming at each video resource of a video resource set to be pushed; under the condition that the material included in the video resource is a preset type of target material, inserting indication information into the video resource, wherein the indication information is used for indicating that the video resource has shooting display attributes of the preset type of target material; and pushing the video asset set to the client, so that the client displays a shooting entrance identifier corresponding to the target material in a video playing interface based on the indication information of the video asset, wherein the shooting entrance identifier corresponding to the target material is used for prompting video shooting based on the target material.

Optionally, when the material included in the video asset is a preset type of target material, before the indication information is inserted into the video asset, at least one of the following is further included: determining that the materials included in the video resources are preset type target materials under the condition that the materials included in the video resources include first type materials, wherein the first type materials are recommended materials configured in advance according to preset services; determining that the materials included in the video resources are target materials of a preset type under the condition that the materials included in the video resources include second-type materials, wherein the second-type materials are materials recommended by adopting a preset strategy; and under the condition that the materials included in the video resources include third-type materials, determining that the materials included in the video resources are preset-type target materials, wherein the third-type materials are the materials determined by the first-type materials and the second-type materials through weighting processing.

Optionally, the recommended material preconfigured according to the preset service includes: materials designated for the predetermined service; the material recommended by adopting the preset strategy comprises at least one of the following materials: the method comprises the steps of playing materials with the volume exceeding a first preset threshold value in a preset time, generating materials with the work volume exceeding a second preset threshold value, predicting the materials by adopting a model algorithm based on sample behavior data of a plurality of objects, and generating the materials by adopting the model algorithm based on historical behavior data of the client.

Optionally, the indication information includes at least one of: the type identification of the target material, the shooting entrance identification of the target material and the shooting skip link of the target material.

According to a second aspect of the embodiments of the present disclosure, there is provided a video playing method applied to a client, including: sending a video loading request to a server; acquiring video resources sent by the server, wherein the video resources carry indication information which is used for indicating that the video resources have shooting and displaying attributes of target materials of preset types; and displaying a shooting inlet identifier corresponding to the target material in a video playing interface based on the indication information, wherein the shooting inlet identifier corresponding to the target material is used for prompting video shooting based on the target material.

Optionally, the method further comprises: receiving the operation of the control corresponding to the shooting entrance identification; and responding to the operation, jumping to a shooting interface, loading the target material and starting shooting.

Optionally, the loading the target material includes: and in the loading process of the target material, displaying at least one of the following contents: loading progress, loading a file and a canceling control for canceling loading; after the target material is loaded, displaying at least one of the following contents: the method comprises the steps of applying target materials, wherein the material names of the target materials are used for canceling the used canceling control.

According to a third aspect of the embodiments of the present disclosure, there is provided a video playing apparatus applied to a server, including: the first receiving module is used for receiving a video loading request sent by a client and determining a video resource set to be pushed based on the video loading request; the device comprises a first determining module, a second determining module and a pushing module, wherein the first determining module is used for determining materials included in video resources aiming at each video resource of a video resource set to be pushed; the video resource processing device comprises an inserting module and a processing module, wherein the inserting module is used for inserting indication information into the video resource under the condition that a material included in the video resource is a preset type of target material, and the indication information is used for indicating that the video resource has shooting and displaying properties of the preset type of target material; and the pushing module is used for pushing the video resource set to the client so that the client displays a shooting entrance identifier corresponding to the target material in a video playing interface based on the indication information of the video resource, and the shooting entrance identifier corresponding to the target material is used for prompting video shooting based on the target material.

Optionally, the apparatus further comprises at least one of: the second determining module is used for determining that the materials included in the video resources are target materials of a preset type under the condition that the materials included in the video resources include first type materials, wherein the first type materials are recommended materials which are configured in advance according to preset services; the third determining module is used for determining that the materials included in the video resources are target materials of a preset type under the condition that the materials included in the video resources include second-type materials, wherein the second-type materials are materials recommended by adopting a preset strategy; the fourth determining module is configured to determine that the material included in the video resource is a target material of a preset type when the material included in the video resource includes a third type of material, where the third type of material is determined by weighting the first type of material and the second type of material.

Optionally, the recommended material preconfigured according to the preset service includes: materials designated for the predetermined service; the material recommended by adopting the preset strategy comprises at least one of the following materials: the method comprises the steps of playing materials with the volume exceeding a first preset threshold value in a preset time, generating materials with the work volume exceeding a second preset threshold value, predicting the materials by adopting a model algorithm based on sample behavior data of a plurality of objects, and generating the materials by adopting the model algorithm based on historical behavior data of the client.

Optionally, the indication information includes at least one of: the type identification of the target material, the shooting entrance identification of the target material and the shooting skip link of the target material.

According to a fourth aspect of the embodiments of the present disclosure, there is provided a video playing apparatus applied to a client, including: the sending module is used for sending a video loading request to the server; the acquisition module is used for acquiring video resources sent by a server, wherein the video resources carry indication information which is used for indicating that the video resources have shooting and displaying attributes of target materials of preset types; and the display module is used for displaying the shooting entrance identification corresponding to the target material in a video playing interface based on the indication information, wherein the shooting entrance identification corresponding to the target material is used for prompting video shooting based on the target material.

Optionally, the apparatus further comprises: the second receiving module is used for receiving the operation of the control corresponding to the shooting entrance identifier; and the processing module is used for responding to the operation, jumping to a shooting interface, loading the target material and starting shooting.

Optionally, the processing module includes: the first display unit is used for displaying at least one of the following contents in the loading process of the target material: loading progress, loading a file and a canceling control for canceling loading; the second display unit is used for displaying at least one of the following contents after the target material is loaded: the method comprises the steps of applying target materials, wherein the material names of the target materials are used for canceling the used canceling control.

According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement any of the video playback methods.

According to a sixth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions of the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to execute any one of the video playing methods.

According to a seventh aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements any one of the video playback methods.

The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:

by receiving a video loading request sent by a client, determining materials included in video resources based on the video loading request, and under the condition that the materials are target materials of a preset type, inserting indication information into the video resources, and pushing a video resource set to the client, the client can display a shooting entrance identifier corresponding to the target materials in a video playing interface based on the indication information, and can directly jump to the video shooting interface to shoot videos by using the same type of target materials through the shooting entrance identifier. Through inserting instruction information in video resources and instructing that the material therein can be directly used for video shooting, not only can effectively push target material, but also can effectively improve user's video shooting efficiency. The method and the device solve the problems of low recommendation accuracy and low material utilization rate of the materials in the video in the related technology.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.

Fig. 1 is a diagram illustrating an application environment of a video playback method according to an exemplary embodiment.

Fig. 2 is a flow chart illustrating a video playback method according to an example embodiment.

Fig. 3 is a diagram illustrating insertion of material information for a video playback method according to an exemplary embodiment.

Fig. 4 is a flow chart illustrating a video playback method according to an example embodiment.

Fig. 5 is a diagram illustrating a video capture portal of a video playback method according to an example embodiment.

Fig. 6 is a diagram illustrating a download progress of a video playing method according to an exemplary embodiment.

Fig. 7 is a schematic diagram illustrating application material of a video playback method according to an example embodiment.

Fig. 8 is a diagram illustrating a re-download of material for a video playback method according to an example embodiment.

Fig. 9 is a flow chart illustrating another video playback method in accordance with an exemplary embodiment.

Fig. 10 is a block diagram illustrating a structure of a video playback apparatus according to an exemplary embodiment.

Fig. 11 is a block diagram illustrating another video playback device according to an example embodiment.

FIG. 12 is a block diagram illustrating an electronic device in accordance with an example embodiment.

Detailed Description

In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.

It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.

Fig. 1 is a hardware environment diagram illustrating a video playback method according to an example embodiment. As shown in fig. 1, the terminal device 102 includes a memory 104 for storing various data generated during the operation of the terminal device 102, a processor 106 for processing and operating the various data, and a display 108 for displaying a video image. Terminal device 102 may interact with server 112 via network 110. Server 112 includes a database 114 for storing various data items and a processing engine 116 for processing the various data items. The terminal device 102 may send a video loading request to the server 112, receive a target video returned by the server 112, and play the target video on the video playing interface. And if the target video comprises the preset type of materials, displaying a shooting entrance mark on the target video. Through the shooting entry identification, the terminal device 102 can jump to a video shooting page to shoot a video using the target audio.

Fig. 2 is a flowchart illustrating a first video playing method according to an exemplary embodiment, where the first video playing method includes the following steps, as shown in fig. 2.

In step S11, a video loading request sent by the client is received, and a video resource set to be pushed is determined based on the video loading request;

in step S12, determining materials included in the video resources for each video resource of the video resource set to be pushed;

in step S13, when the material included in the video resource is a preset type of target material, inserting indication information into the video resource, where the indication information is used to indicate that the video resource has a shooting display attribute of the preset type of target material;

in step S14, the video asset set is pushed to the client, so that the client displays a shooting entry identifier corresponding to the target material in the video playing interface based on the indication information of the video asset, where the shooting entry identifier corresponding to the target material is used to prompt video shooting based on the target material.

Through the steps, for one side of the server, a video loading request sent by the client is received, the materials included by the video resources are determined based on the video loading request, and under the condition that the materials are the target materials of the preset type, the indication information is inserted into the video resources, and the video resources are pushed to the client in a set manner, so that the client can display the shooting entrance identification corresponding to the target materials in the video playing interface based on the indication information, and the client can directly jump to the video shooting interface to shoot videos by using the target materials of the same type through the shooting entrance identification. Through inserting instruction information in video resources and instructing that the material therein can be directly used for video shooting, not only can effectively push target material, but also can effectively improve user's video shooting efficiency. The method and the device solve the problems of low recommendation accuracy and low material utilization rate of the materials in the video in the related technology.

As one or more optional examples, a video loading request sent by a client is received, and a set of video resources to be pushed is determined based on the video loading request. The video loading request can be triggered by starting a predetermined video application or by classifying videos through switching in the video application. For example, when a certain video application is started, the video application server may feed back a current default recommended video to the client based on the starting operation, where the current default recommended video is a video resource set to be pushed. When the videos are classified by switching in the video application, the current user is in a video scene under the recommended classification, and when the user wants to switch to a video scene under the attention classification, the video is switched to the account concerned by the user based on the operation on the attention classification. At this time, the video of the account concerned by the user is the video resource set to be pushed.

As one or more alternative examples, the received video loading request sent by the client may be, but is not limited to being, sent when a trigger operation of the user is received. The trigger operation may be an open application operation, a slide-up operation, a slide-down operation, a left slide operation, a right slide operation, a click operation, a long press operation, or the like. For example, if the user performs a slide-up operation on the terminal screen, the client sends a video loading request to the server. Or, in the case of opening a video application on the terminal, the client sends a video loading request to the server.

As one or more alternative examples, for each video asset of the set of video assets to be pushed, material included by the video asset is determined. Each video asset of the set of video assets to be pushed may include multiple types of material, which may include, for example, audio material, tile material, filter material, flash template material, magic material, and so forth. Wherein, the magic material can be the magic effect of adding.

As one or more optional examples, in a case that the material included in the video asset is a preset type of target material, indication information is inserted into the video asset, where the indication information is used to indicate that the video asset has a shooting presentation attribute of the preset type of target material. Based on the indication information, the shooting entrance identification of the material is displayed on the video playing interface, so that a user can directly click the shooting entrance identification to enter the same-style material shooting interface, and the efficiency of shooting the same-style video is greatly improved. It should be noted that the above-mentioned "the video asset has the shooting display attribute of the preset type of target material" indicates that the material in the video asset can be directly referred to for video shooting.

As one or more optional examples, in a case where the material included in the video asset is a preset type of target material, before the indication information is inserted in the video asset, whether the material included in the video asset is the preset type of target material may be determined in various ways. The following examples are given.

For example, when the material included in the video resource includes a first type material, it is determined that the material included in the video resource is a preset type target material, where the first type material is a recommended material pre-configured according to a preset service. The first type of material can be considered to be for a predetermined service. For example, the recommended material preconfigured according to the preset service includes: material designated for a predetermined service. For example, a magic watch is forced to be pushed for a certain service. Through the processing, the recommendation of the preset service to the material is effectively met.

For another example, in a case that the material included in the video resource includes a second type of material, it is determined that the material included in the video resource is a preset type of target material, where the second type of material is a material recommended by using a predetermined policy, where the predetermined policy may be set according to requirements of actual applications, and configuration conditions including a play amount, a work amount, and the like are set. For example, the configuration condition may be a hot material, a material in a money bursting material library, and a material in the money bursting material library may be a material whose usage number exceeds a predetermined number threshold. For example, the materials of the last week play amount top10 and the work amount top10 and the high-quality materials are configured as the materials in the money material library, or the materials of the utr top50 (adjustable) can be sorted and screened from the popular materials of the selected page play amount top100 (adjustable), and so on. Through the processing, the materials recommended to the client equipment are high-quality materials, the quality of the materials is guaranteed, and the recommendation quality is effectively improved.

For example, in a case where the material included in the video assets includes a third type of material, the material included in the video assets is determined to be a preset type of target material, where the third type of material is the material determined by the weighting processing of the first type of material and the second type of material. The recommended material pre-configured according to the service and the material recommended by the preset strategy are endowed with different weight values, and the recommended material is obtained by selecting according to the weight values. And comprehensively considering the recommended materials pre-configured by the service and the materials recommended by the preset strategy, and configuring the weights of the recommended materials and the materials to obtain the target materials meeting the requirements.

As one or more optional examples, when the first type of material is a recommended material preconfigured according to a preset service, the recommended material preconfigured according to the preset service may include: materials designated for a predetermined service; the second type of materials are materials recommended by adopting a preset strategy, and the materials recommended by adopting the preset strategy comprise at least one of the following materials: the method comprises the steps of playing materials with the volume exceeding a first preset threshold value in a preset time, generating materials with the work volume exceeding a second preset threshold value, predicting the materials by adopting a model algorithm based on sample behavior data of a plurality of objects, and generating the materials by adopting the model algorithm based on historical behavior data of a client. Thus, the second type of material is different depending on the strategy used, and the material obtained is also different. When the material recommended by the preset strategy is adopted, the target material determined by different strategies can be stored in different databases. For example, in the case where the target material is determined according to the number of uses, a material having a number of uses higher than a predetermined number is put into a database, for example, a material having a number of uses exceeding 1 ten thousand is put into a database; or, under the condition that the target material is determined according to the amount of the generated works, the material of which the amount of the generated works is higher than the preset amount is put into a database, for example, the material of which the amount of the generated works exceeds 1 ten thousand times is put into a database; and when the target material is a material obtained by predicting the sample behavior data of a plurality of users by adopting a model algorithm, storing the predicted material into a popular material library. Wherein the sample behavior data may include: optionally, different weight values can be given to the different behaviors of the user, so that calculation is performed in a model algorithm, and popular materials are predicted; when the target material is a material generated by adopting a model algorithm based on the historical behavior data of the client, the generated material can be stored in a database. Wherein the historical behavior data of the user may include: and the user carries out operations such as approval, comment, forwarding, collection and the like on the video resource. Optionally, different weight values may be assigned to the different behaviors of the user, and the calculation is performed in a model algorithm to calculate the material type in which the user is interested. The target materials are determined according to the materials which are interesting to the user, and the target materials can be used for video shooting of the user in a targeted mode.

As one or more optional examples, the indication information may include various information, such as: may include at least one of: the method comprises the steps of identifying the type of a target material, identifying a shooting inlet of the target material and shooting jump links of the target material. The type identification of the target material is used for identifying the type of the target material, the shooting entrance identification of the target material is used for identifying that the material based on the video resource can be shot according to the entrance, and the shooting skip link of the target material is used for directly skipping the link to download the target material when entering a video shooting interface according to the shooting entrance so as to shoot the video. For example, when the video resources played on the video playing page include the target material, the shooting entry identifier is displayed on the video playing interface, and the shooting entry identifier can prompt the user to shoot the video directly based on the same material according to the entry. And a user enters a video shooting interface based on the shooting entrance through the operation of the shooting entrance, and simultaneously loads the target material through the shooting skip link for loading the target material, so as to start to shoot the video.

As one or more optional examples, in the case where the material included in the video asset includes a preset type of material, the photographer may also be prompted, when displaying the shooting entrance identifier: the shooting can be performed using the same material as that included in the video asset. For example, videos are captured using the same audio or the same other material. The user can jump to the video shooting interface by one key through the shooting entrance identification, and the same material used in the video resource is automatically used for shooting in the video shooting interface. For example, if the video resource uses audio 1 as background music and uses a filter "face-thinning", the same type of audio and filter used by the video resource may be displayed at the shooting entrance identifier in this embodiment. If the user triggers, such as clicks or long-presses of a shooting entrance mark, the user can jump to a video shooting interface by one key, and automatically use the same type of audio and a filter face thinning function, and the user can start shooting videos by clicking a shooting button.

As one or more optional examples, if the same-style material is included in the video asset, the same-style material may be prompted according to a priority of the same-style material when prompted at the shooting entrance identifier. For example, if the priority of the same-style audio included in the video resource is higher than the priority of other same-style materials, the shooting entrance identifier may prompt to preferentially use the same-style audio. The materials in the video resources have recommended priority, and the favorite materials of the user can be selected in a personalized combination mode. Or, in this embodiment, a layer may be additionally displayed near the shooting entrance identifier, and a plurality of homogeneous materials that can be used in the video resource are prompted in the layer.

Data caching service can also be provided in the embodiment. By storing or temporarily storing the data recommended by the policy service and then giving the service invoker a unified service interface including, but not limited to, local caching, DB storage, distributed caching REDIS/MEMCACHED, HIVE, HBASE, file system, etc.

In the embodiment, a strategy gives a batch of material information according to user behavior offline or online and stores the material information into a data cache; the data caching service provides a corresponding interface for a user to call, the user can request the server for the video when watching the video and display the video on the user client, the server inserts information whether to display recommended materials into the video brushed by the user, and the client displays the recommended materials according to the information; the inserted information comprises the type of the material, a shooting entrance marker diagram of the material and a shooting jump link of the material; through the material types, the client can know what materials are and the mode of displaying the shooting entrance identification; the shooting of material is jumped and is linked, and the inside contains the only sign of this show material and shoots the information of pulling up, and then when the user clicked and shoots the entry sign, can be accurate use the material carry out "with money" and shoot the use, reduces the complicated flow that the video was shot, improves video and shoots efficiency. The information insertion recommendation flow for material is shown in fig. 4. Taking the recommended material as an example, when a user requests a video from the server through the client, the server checks whether the video includes a specific type of material (i.e., the above-mentioned target material of the preset type). And if the materials of the specific types are included, searching the materials from the promotion material library or the comprehensive material library, if the materials are searched, acquiring the material information of the materials from the promotion material library or the comprehensive material library, inserting the material information into the video returned to the client, and displaying the shooting inlet identification by the client through the material information. And if the user clicks the shooting entrance identifier, jumping to a video shooting interface, and shooting the video by using the same material. And if the video to be sent to the client by the server does not contain the material of the specific type, directly returning the video without returning the material information.

The promotion material library is operation data configured for the system background, and the system background can promote certain data according to self business requirements, such as compulsory promotion of a magic watch.

The comprehensive material library is based on the comprehensive consideration of background configuration and policy service, for example, the material data for promoting the popularization of the comprehensive material library is considered preferentially based on business requirements, the material data recommended by the policy service is considered later, or the comprehensive material library and the policy service are considered based on a certain comprehensive weight.

Fig. 4 is a flowchart of the present embodiment. The data cache server caches the materials configured by the policy server. The client requests a video and the server determines whether the requested video includes material of a particular type. If so, material information is returned. The client displays the shooting entrance of the 'same-style materials', and can automatically download the same-style music after clicking to enter the shooting. The user can perform a click operation by clicking a cancel button. In the material loading process: displaying the downloading progress through the floating layer, wherein the file is ' x% in the downloading of the material music ' material name ', the length of the file is provided with a safety distance, and the exceeding part is cut off by '.. '; providing a "cancel download" button on the right side of the floating layer; after the materials are loaded, displaying the applied materials through a floating layer, wherein the file is 'the material name' of the applied materials of the same style, the length of the file is provided with a safety distance, and the excess part is cut off by '. 9'; a "cancel use" button is provided on the right side of the float.

In the embodiment, the user can directly use and shoot the favorite music by brushing, so that the work amount is increased. According to the embodiment, the popular materials can be judged according to massive user data in the station, and targeted entry issuing is performed. The explosive materials which cannot be experienced by the current data are laid out in advance by combining prejudgment and data analysis, the process that a user uses the materials to shoot is simplified, and the conversion relation between content consumption and content production is strengthened.

Fig. 5 is a schematic diagram of the skip button of the present embodiment, as shown in fig. 5, a material 502 is displayed in a video, and an interface for shooting the video can be accessed through a shooting button 504, but the material needs to be selected by itself in the interface for shooting the video. The user can click on the heart through the button 506 and jump to the video capture interface and use the material 502 with one click through the button 508. Fig. 6 is a schematic diagram of downloading a material, showing a download progress and a download progress of the material being downloaded, showing a cancel download button 602, and showing a shooting duration option 604 and a shooting button 606. Fig. 7 is a schematic diagram of application materials of the present embodiment. After the material is downloaded, the material is prompted to be automatically applied, and the material 702 is automatically displayed on the screen 704. After selecting the time length button 706, shooting is performed by the button 708. Fig. 8 is a schematic diagram of the re-download of the present embodiment.

Fig. 9 is a flow chart illustrating a video playback method in accordance with an exemplary embodiment. As shown in fig. 9, includes:

step S91, sending a video loading request to a server;

step S92, acquiring a video resource sent by a server, wherein the video resource carries indication information which is used for indicating that the video resource has shooting display attributes of target materials of preset types;

and step S93, displaying a shooting entrance mark corresponding to the target material in the video playing interface based on the indication information, wherein the shooting entrance mark corresponding to the target material is used for prompting video shooting based on the target material.

Through the steps, for the client side, the video resource sent by the server is obtained by sending the video loading request to the server, the shooting entrance identification corresponding to the target material is displayed in the video playing interface based on the indication information carried in the video resource, the client side can conveniently jump to the video shooting interface directly to shoot the video by using the same type of target material through the shooting entrance identification. Through inserting instruction information in video resources and instructing that the material therein can be directly used for video shooting, not only can effectively push target material, but also can effectively improve user's video shooting efficiency. The method and the device solve the problems of low recommendation accuracy and low material utilization rate of the materials in the video in the related technology.

As one or more alternative examples, the video loading request sent to the target server may be, but is not limited to being, sent upon receiving a user's trigger action. The trigger operation may be an open application operation, a slide-up operation, a slide-down operation, a left slide operation, a right slide operation, a click operation, a long press operation, or the like. For example, when the user performs a slide-up operation on the terminal screen, a video loading request is sent to the server, and the target video is received and displayed. Or, in the case of opening a client on the terminal, sending a video loading request to the target server, receiving the target video, and displaying the target video.

As one or more optional examples, video assets are obtained, where the video assets carry indication information, the indication information is used to indicate that the video assets have shooting and displaying attributes of preset types of target materials, and each video asset of the video assets may include multiple types of materials, for example, may include audio materials, map materials, filter materials, flash template materials, magic materials, and the like. Wherein, the magic material can be added with magic effect.

As one or more optional examples, based on the indication information, a shooting entry identifier corresponding to the target material is presented in the video playing interface, where the shooting entry identifier corresponding to the target material is used to prompt video shooting based on the target material. Based on the indication information, the shooting entrance identification of the material is displayed on the video playing interface, so that a user can directly click the shooting entrance identification to enter the same-style material shooting interface, and the efficiency of shooting the same-style video is greatly improved. Various identifiers may be included in the indication information, such as: the method comprises the steps of identifying the type of a target material, identifying a shooting inlet of the target material and shooting jump links of the target material. The type of the target material is used for identifying the type of the target material, the shooting entrance identification of the target material is used for prompting a user to shoot videos based on the same material in the video resources through the entrance, and the shooting skip link of the target material can be directly skipped to a video shooting interface and the target material is loaded.

As one or more optional examples, the method further comprises: receiving the operation of a control corresponding to the shooting entrance identifier; and responding to the operation, jumping to a shooting interface, loading the target material and starting shooting. After the server returns the video resource, a shooting entrance mark is displayed on a video playing interface of the video resource, and the shooting entrance mark prompts a photographer to shoot videos by using the same material in the video resource. When the operation of the control corresponding to the shooting entry identification is received, the shooting skip link of the target material is utilized, the video shooting interface can be skipped by one key, and the target material is automatically loaded to carry out video shooting on the video shooting interface. And entering a video shooting interface through the operation of the control corresponding to the shooting entry identification, and further starting video shooting and loading the target material. The user can enter the video shooting interface of the same material only by simply operating the control corresponding to the shooting inlet identification, so that the shooting video experience of the user is greatly improved.

As one or more optional examples, a variety of content may be presented during the process of loading the target material. For example: during the loading process of the target material, at least one of the following contents can be displayed: loading progress, loading a file and a canceling control for canceling loading; through the display of the content, on one hand, a user can master the loading progress of the target material in real time, and on the other hand, the loading process can be effectively controlled through the operation of the corresponding control. For another example, after the target material is loaded, at least one of the following contents is displayed: the applied target material, the material name of the target material, and the cancel control for canceling the use. Through the display of the content, on one hand, the materials used for shooting the video can be known, and on the other hand, whether the video is used or not can be effectively controlled. And triggering to use a target material, such as a target audio shooting video, by operating the control corresponding to the shooting entry identifier, and automatically downloading the target audio used in the target video after jumping to the video shooting interface by one key through the shooting entry identifier. In the process of automatically downloading the target audio, the downloading progress of the target audio, for example, 70%, may be displayed, and a first control button for stopping downloading the target audio may be displayed. If the shooting of the video by using the target audio and other target materials is triggered by operating the control corresponding to the shooting inlet identification, the target audio and other target materials used in the target video can be automatically downloaded after one-key jumping to the video shooting interface is carried out through the shooting inlet identification. In the process of automatically downloading the target audio and other target materials, the total downloading progress of the target audio and other target materials can be displayed, and the respective downloading progress of the target audio and other target materials can also be displayed. One or more first control buttons may also be displayed for simultaneously stopping downloading the target audio and other target materials, or controlling stopping downloading the target audio or other target materials through the respective first control buttons. The flexible control of the target material for video shooting is realized.

Fig. 10 is a block diagram illustrating a video playback device according to an example embodiment. Referring to fig. 10, the apparatus includes: a first receiving module 1002, configured to receive a video loading request sent by a client, and determine a video resource set to be pushed based on the video loading request; a first determining module 1004, connected to the first receiving module 1002, configured to determine, for each video resource of a video resource set to be pushed, a material included in the video resource; an inserting module 1006, connected to the first determining module 1004, configured to insert indication information into the video resource when a material included in the video resource is a preset type of target material, where the indication information is used to indicate that the video resource has a shooting display attribute of the preset type of target material; the pushing module 1008 is connected to the inserting module 1006, and is configured to push the video asset set to the client, so that the client displays a shooting entry identifier corresponding to the target material in the video playing interface based on the indication information of the video asset, and the shooting entry identifier corresponding to the target material is used to prompt video shooting based on the target material.

With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

As an alternative embodiment, the apparatus further comprises at least one of: the second determining module is used for determining that the materials included in the video resources are target materials of a preset type under the condition that the materials included in the video resources include first type materials, wherein the first type materials are recommended materials which are configured in advance according to a preset service; the third determining module is used for determining that the materials included in the video resources are target materials of a preset type under the condition that the materials included in the video resources include second-type materials, wherein the second-type materials are materials recommended by adopting a preset strategy; and the fourth determining module is used for determining that the material included in the video resource is a target material of a preset type under the condition that the material included in the video resource includes a third type material, wherein the third type material is the material determined by the first type material and the second type material through weighting processing.

As an optional embodiment, the recommended material pre-configured according to the preset service includes: materials designated for a predetermined service; the material recommended by the preset strategy comprises at least one of the following materials: the method comprises the steps of playing materials with the volume exceeding a first preset threshold value in a preset time, generating materials with the work volume exceeding a second preset threshold value, predicting the materials by adopting a model algorithm based on sample behavior data of a plurality of objects, and generating the materials by adopting the model algorithm based on historical behavior data of a client.

As an alternative embodiment, the indication information includes at least one of: the method comprises the steps of identifying the type of a target material, identifying a shooting inlet of the target material and shooting jump links of the target material.

Fig. 11 is a block diagram illustrating another video playback device in accordance with an example embodiment. Referring to fig. 11, the apparatus includes:

a sending module 1102, configured to send a video loading request to a server; an obtaining module 1104, connected to the sending module 1102, configured to obtain a video resource sent by a server, where the video resource carries indication information, and the indication information is used to indicate that the video resource has a shooting and displaying attribute of a preset type of target material; a displaying module 1106, connected to the obtaining module 1104, configured to display, in the video playing interface, a shooting entry identifier corresponding to the target material based on the indication information, where the shooting entry identifier corresponding to the target material is used to prompt video shooting based on the target material.

With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

As an alternative embodiment, the apparatus further comprises: the second receiving module is used for receiving the operation of the control corresponding to the shooting entrance identifier; and the processing module is used for responding to the operation, jumping to a shooting interface, loading the target material and starting shooting.

As an alternative embodiment, the processing module comprises: the first display unit is used for displaying at least one of the following contents in the loading process of the target material: loading progress, loading a file and a canceling control for canceling loading; the second display unit is used for displaying at least one of the following contents after the target material is loaded: the applied target material, the material name of the target material, and the cancel control for canceling the use.

Fig. 12 is a block diagram illustrating a structure of an electronic device according to an example embodiment. As shown in fig. 12, the electronic device includes a processor 1220 and a memory 1210 for storing processor-executable instructions as described above. The processor 1220 is configured to execute instructions to implement the video playing method. The electronic device in this embodiment may further include a transmission apparatus 1230, a display 1240, and a connection bus 1250. The transmitting device 1230 is used for receiving or transmitting data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1230 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmitting device 1230 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner. The display 1240 is used for displaying the rendering result; the connection bus 1250 is used to connect the module components of the electronic device.

In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as the memory 610 comprising instructions, executable by the processor 620 of the electronic device to perform the video playback method is also provided. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

In an exemplary embodiment, there is also provided a computer program product comprising computer programs/instructions which, when executed by a processor, implement the video playback method described above.

Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

23页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:生成视频预览动态图的方法、装置、电子设备及介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类