Video playing method and device, electronic equipment, storage medium and program product

By playing the split video clips on the information interaction interface, the problem of difficulty in exposing video works is solved, the recommendation and exposure of video works are increased, and the flexibility of information interaction is improved.

CN119342026APending Publication Date: 2025-01-21TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310905295.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-21
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

Most video works are difficult to be exposed after output, and existing advertising recommendation methods are passive and difficult to convert.

Method used

By displaying the information interaction interface, in response to the input information of the interactive object, the corresponding video clips are played on the interface. The video clips are split from the video works, and the character lines are used to reply to the interactive information.

Benefits of technology

It provides a new exposure channel for video works. Through the information interaction process with interactive objects, it can realize the recommendation of video works, increase the exposure of video works, and improve the flexibility of information interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119342026A_ABST
    Figure CN119342026A_ABST
Patent Text Reader

Abstract

The invention discloses a video playing method and device, electronic equipment, a storage medium and a program product, and the method comprises the steps: displaying an information interaction interface comprising an information input interface and an information display region, responding to interaction information inputted by an interaction object based on the information input interface, and playing a video clip corresponding to the interaction information in the information display region, the role lines in the video clip are used for replying interaction information, and the video clip is obtained by splitting a video work. Compared with the prior art, the method can increase the exposure of the video works, and improves the flexibility of information interaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of multimedia technology, and in particular to a video playback method, a video playback device, an electronic device, a computer-readable storage medium, and a computer program product. Background Art

[0002] With the development of multimedia technology, various types of video works such as movies, TV series and short videos are emerging in an endless stream, and a large number of new video works are produced every minute. Among these numerous video works, except for a very small number of popular video works that can be exposed, most video works are usually difficult to be exposed after they are produced.

[0003] In order to increase the exposure of video works, the operators of video works usually recommend video works to users in the form of advertising recommendations. However, for users, this recommendation method is passive and it is difficult to obtain conversion of exposure. Summary of the invention

[0004] The embodiments of the present application provide a video playback method, a video playback device, an electronic device, a computer-readable storage medium, and a computer program product, which can increase the exposure of video works.

[0005] In a first aspect, the video playback method provided by the present application includes:

[0006] Displaying an information interaction interface, which includes an information input interface and an information display area;

[0007] In response to the interactive information input by the interactive object based on the information input interface, a video clip corresponding to the interactive information is played in the information display area. The character lines in the video clip are used to reply to the interactive information. The video clip is obtained by splitting the video work.

[0008] In a second aspect, the video playback method provided by the present application may further include:

[0009] Receiving interactive information of an interactive object sent by an external device, where the interactive information is received by the external device through a displayed information interactive interface;

[0010] Identify information semantics of the interactive information, and determine reply information for the interactive information according to the information semantics;

[0011] From the video clips obtained by splitting the video work, determine the target video clips whose dialogue semantics of the character's dialogue matches the information semantics of the reply information;

[0012] The target video clip is returned to the external device. The target video clip is used for the external device to play on the information interaction interface, and the interactive information is replied through the character lines in the target video clip.

[0013] In a third aspect, the video playback device provided by the present application includes:

[0014] The interface display module is used to display the information interaction interface, which includes the information input interface and the information display area;

[0015] The video playback module is used to respond to the interactive information input by the interactive object based on the information input interface, and play the video clips corresponding to the interactive information in the information display area. The character lines in the video clips are used to reply to the interactive information. The video clips are obtained by splitting the video works.

[0016] Optionally, in one embodiment, the video playback module is used to play a video clip corresponding to the interactive information and having a video style that matches the video style associated with the interactive object.

[0017] Optionally, in one embodiment, the video playback device provided by the present application also includes a style determination module, which is used to obtain historical video playback records of the interactive object; perform style statistics on video works associated with the historical video playback records; and determine the video style associated with the interactive object based on the style statistics results.

[0018] Optionally, in one embodiment, the video playback module is used to play the corresponding interactive information, the video style matches the video style associated with the interactive object, and the video clip whose character type matches the character type associated with the interactive object.

[0019] Optionally, in one embodiment, the information interaction interface also includes a role selection interface, and the video playback device provided by the present application also includes a role determination module, which is used to display a role selection interface in response to a trigger operation of the interactive object based on the role selection interface, wherein the role selection interface includes at least two role type options; and in response to a selection operation of the interactive object based on the role selection interface, determine the role type associated with the interactive object by the role type indicated by the selected role type option.

[0020] Optionally, in one embodiment, the video playback module is used to play video clips corresponding to the interactive information, where the video style matches the video style associated with the interactive object, the character type matches the character type associated with the interactive object, and the popularity meets a preset popularity condition.

[0021] Optionally, in one embodiment, the video playback device provided by the present application further includes an information display module for displaying summary information of the source video work of the video clip in the information display area in response to a trigger operation on the video clip.

[0022] Optionally, in one embodiment, the video playback module is used to jump to the playback interface of the source video work in response to a trigger operation on the summary information, and play the source video work on the playback interface.

[0023] In a fourth aspect, the video playback device provided by the present application may further include:

[0024] An information receiving module is used to receive interactive information of an interactive object sent by an external device, and the interactive information is received by the external device through the displayed information interaction interface;

[0025] An information determination module, used to identify the information semantics of the interactive information and determine the reply information for the interactive information according to the information semantics;

[0026] A segment screening module is used to determine, from the video segments obtained by splitting the video work, a target video segment whose dialogue semantics of the character's dialogue matches the information semantics of the reply information;

[0027] The segment transmission module is used to return the target video segment to the external device. The target video segment is used for the external device to play on the information interaction interface, and reply to the interactive information through the character lines in the target video segment.

[0028] Optionally, in one embodiment, the video playback device provided by the present application further includes a segment splitting module for splitting the video work into multiple video segments according to the lines of the characters in the video work, wherein the characters in the video segments have at least one complete line.

[0029] Optionally, in one embodiment, the segment screening module is used to determine, from the video segments obtained by splitting the video work, a target video segment in which the semantics of the character's lines match the information semantics of the reply information, and the video style matches the video style associated with the interactive object.

[0030] Optionally, in one embodiment, the segment screening module is used to determine, from the video segments obtained by splitting the video work, a target video segment in which the semantics of the character's lines match the information semantics of the reply information, the video style matches the video style associated with the interactive object, and the character type matches the character type associated with the interactive object.

[0031] Optionally, in one embodiment, the clip screening module is used to determine, from the video clips obtained by splitting the video work, a target video clip in which the semantics of the character's lines match the information semantics of the reply information, the video style matches the video style associated with the interactive object, the character type matches the character type associated with the interactive object, and the heat meets a preset heat condition.

[0032] In a fifth aspect, the electronic device provided in the present application includes a memory and a processor, the memory stores a computer program, and the processor is used to run the computer program in the memory to implement the steps in the video playback method provided in the present application.

[0033] In a sixth aspect, the computer-readable storage medium provided in the present application stores a computer program, which is suitable for being executed by a processor to implement the steps in the video playback method provided in the present application.

[0034] In a seventh aspect, the computer program product provided in the present application includes a computer program or instructions, which, when executed by a processor, implement the steps in the video playback method provided in the present application.

[0035] In the present application, by displaying an information interaction interface including an information input interface and an information display area, in response to the interactive information input by the interactive object based on the information input interface, a video clip corresponding to the interactive information is played in the information display area, and the character lines in the video clip are used to reply to the interactive information, and the video clip is obtained by splitting the video work. Compared with the related art, the present application provides a new exposure channel for video works, that is, the information interaction process with the interactive object, and it is played as a reply to the interactive information actively input by the interactive object, that is, the video clip of the played video work meets the expectations of the interactive object, thereby realizing the recommendation of the video work, thereby increasing the exposure of the video work. In addition, introducing the playback of video works (clips) into the process of information interaction can also improve the flexibility of information interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0037] Figure 1a is a schematic diagram of a scenario of a video playback system provided in an embodiment of the present application;

[0038] Figure 1b It is a flow chart of a video playback method provided by an embodiment of the present application;

[0039] Figure 1c This is an example diagram of triggering the display information interaction interface in an embodiment of the present application;

[0040] Figure 1d This is another example diagram of triggering the display information interaction interface in the embodiment of the present application;

[0041] Figure 1e is an example diagram of playing a video clip as a reply in response to interactive information in an embodiment of the present application;

[0042] Figure 1f This is an example diagram of selecting a video style through a style selection interface in an embodiment of the present application;

[0043] Figure 1g This is an example diagram of selecting a role type through a role selection interface in an embodiment of the present application;

[0044] Figure 2a is another flowchart of the video playback method provided by an embodiment of the present application;

[0045] Figure 2b is a schematic diagram of a process of splitting a video clip in an embodiment of the present application;

[0046] Figure 3 is a structural schematic diagram of a video playback device provided in an embodiment of the present application;

[0047] Figure 4 is another structural schematic diagram of the video playback device provided in an embodiment of the present application;

[0048] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] It should be noted that the principles of the present application are illustrated by implementing them in an appropriate computing environment. The following description is based on the illustrated specific embodiments of the present application and should not be considered as limiting other specific embodiments of the present application that are not described in detail herein.

[0050] In the following description of the present application, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0051] In the following description of the present application, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0052] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0053] In order to increase the exposure of video works and improve the interactivity of information interaction, the embodiments of the present application provide a video playback method, a video playback device, an electronic device, a computer-readable storage medium, and a computer program product. The video playback method can be executed by the video playback device, or by an electronic device integrated with the video playback device.

[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0055] Please refer to Figure 1a , the present application also provides a video playback system, such as Figure 1a As shown, the video playback system includes an electronic device 100, in which the video playback device provided by the present application is integrated. For example, when the video playback device is running, in response to an information interaction trigger operation, an information interaction interface for dialogue is displayed, and the dialogue is joined as a chat robot (also known as an intelligent assistant), and the information interaction interface includes an information input interface and an information display area; and in response to interactive information input by an interactive object based on the information input interface, a video clip corresponding to the interactive information is played in the information display area as a chat robot, and the character lines in the video clip are used to reply to the interactive information of the interactive object.

[0056] The electronic device 100 may be any device equipped with a processor, such as a mobile electronic device with the capability to display recommended content, such as a smart phone, a tablet computer, a PDA, a laptop computer, or a fixed electronic device with the capability to display recommended content, such as a desktop computer, a television, or the like.

[0057] In addition, if Figure 1a As shown, the video playback system may further include a memory 200 for storing relevant data during the video playback process. For example, the electronic device 100 stores the interaction information input by the interaction object and the video clips used to reply to the interaction object in the memory 200.

[0058] It should be noted that Figure 1a The scene diagram of the video playback system shown is only an example. The video playback system and scene described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. Ordinary technicians in this field can know that with the evolution of the video playback system and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.

[0059] It should be noted that the serial numbers of the following embodiments are not intended to limit the preferred order of the embodiments.

[0060] Please refer to Figure 1b , Figure 1b is a flow chart of a video playback method provided in an embodiment of the present application. In the following embodiments, an electronic device executes the video playback method as a client, such as Figure 1b As shown, the process of the video playback method provided by this application is as follows:

[0061] In 110, an information interaction interface is displayed, and the information interaction interface includes an information input interface and an information display area.

[0062] The information interaction interface refers to an interface that can be used to implement information interaction between objects (which can be a single object or a group of objects), wherein information interaction of types of information such as object text information and audio information can be carried out, and the object can be a real user, or a program that simulates real human conversation behavior, an artificial intelligence model, etc. It should be noted that the information interaction interface at least includes an information input interface for receiving object input information, and an information display area for displaying input information and reply information. There is no specific restriction on the information interaction interface and the display form of the information input interface and information display area therein, and the above functions are constrained, and can be set by those skilled in the art according to actual needs.

[0063] In this embodiment, the electronic device used to execute the video playback method can respond to the information interaction trigger operation of the interactive object, establish an information interaction process with the interactive object as a chat robot, and correspondingly display an information interaction interface for the interactive object to realize information interaction.

[0064] For example, taking the video playback method provided by this application integrated into an instant messaging application as an example, please refer to Figure 1c ,like Figure 1c As shown on the left, the electronic device used to execute the video playback method displays the main interface of the instant messaging application, and the main interface shows multiple objects and their object identifiers (or nicknames) that can perform information interaction, namely, "Object A", "Object B", "Object C" and "Little Star" and other objects, among which "Little Star" is the object identifier of the chat robot implemented by the electronic device. At this time, the user who has logged into the instant messaging application can click on the object identifier of the chat robot to generate an information interaction trigger operation for information interaction with the chat robot. In response to the information interaction trigger operation, the electronic device determines the user as an interaction object, and switches the instant messaging application from the main interface to the chat interface, and the chat interface is used as the information interaction interface for implementing information interaction with the interaction object, such as Figure 1b As shown on the right, the information display area is the chat box of the chat interface, and the information input interface is the input box of the chat interface. In addition, it also includes a send control, which is used to input the information in the input box "How is the weather today" as interactive information when triggered.

[0065] It can be understood that the above example introduces a one-to-one information interaction scenario between an interactive object based on an instant messaging application and a chat robot. In addition, it can also be a one-to-many information interaction scenario between an interactive object based on an instant messaging application and other interactive objects and chat robots.

[0066] For example, please refer to Figure 1d ,like Figure 1d As shown on the left, the electronic device used to execute the video playback method displays the main interface of the instant messaging application, and the main interface shows multiple information groups for information interaction, which are group identifiers of multiple information groups such as "Group 1", "Group 2", "Group 3" and "Group 4", among which the chat robot implemented by the electronic device has joined Group 4, and "Little Star" is the object identifier of the chat robot. At this time, the user who has logged into the instant messaging application can click on the group identifier of Group 4 to generate an information interaction trigger operation for information interaction with Group 4. In response to the information interaction trigger operation, the electronic device determines the user as an interaction object, and switches the instant messaging application from the main interface to the chat interface, and the chat interface is used as the information interaction interface for implementing information interaction with the interaction object, such as Figure 1d As shown on the right, the information display area is the chat box of the chat interface, the information input interface is the input box of the chat interface, and the input box includes a send control. The input box contains the indication sign "@", the object identifier "little star" of the chat robot, and the text message "How is the weather today?" In response to the triggering operation of the send control, the text message "How is the weather today?" is input as interactive information for the chat robot.

[0067] In 120, in response to the interactive information input by the interactive object based on the information input interface, a video clip corresponding to the interactive information is played in the information display area, and the character lines in the video clip are used to reply to the interactive information. The video clip is obtained by splitting the video work.

[0068] It should be noted that the video works referred to in this embodiment can be any type of work including video. According to the duration, video works can be divided into long videos and short videos. Short videos are short videos, which are generally videos with a duration of less than five minutes that are spread on new media such as the Internet. Long videos are videos that are longer than short videos. For example, for a TV series, one episode of a TV series is a video work, which is usually a long video; for a movie, one movie is a video work, which is usually a long video; for a commentary video, one commentary video is recorded as a video work, which is usually a short video.

[0069] The present embodiment does not impose any restriction on the form of information in which the interactive object inputs the interactive information through the information input interface, which may be in the form of text information or audio information, etc. For example, when the interactive object inputs text-type information based on the information interaction entrance, the electronic device used to execute the video playback method directly uses the text-type information as the interactive information; for another example, when the interactive object inputs audio-type information based on the information input interface, the electronic device used to execute the video playback method performs voice recognition on the audio-type information, converts it into corresponding text information and uses it as the interactive information.

[0070] In addition, this embodiment does not limit the type of information that the interactive object inputs through the information input interface. It can be query information (i.e., information including questions, where the description of the questions is not limited), or statement information (stating a fact or opinion), etc.

[0071] Different from the related art in which chat robots use text messages to interact with each other, in this embodiment, in response to the interactive information input by the interactive object based on the information input interface, the chat robot plays a video clip corresponding to the interactive information in the information display area through the identity of the chat robot. The video clip is obtained by splitting the video work, and the character lines in the video clip are used to reply to the interactive information of the interactive object.

[0072] For example, the electronic device used to execute the video playback method responds to the interactive information input by the interactive object based on the information input interface, performs semantic recognition on the interactive information, obtains the information semantics of the interactive information, and then further determines the reply information corresponding to the interactive information based on the intention of the interactive object described by the information semantics, and finally plays a video clip in the information display area whose dialogue semantics of the character's lines match the information semantics of the reply information, and replies to the interactive information of the interactive object through the character's lines in the video clip.

[0073] For another example, the electronic device for executing the video playback method responds to the interactive information input by the interactive object based on the information input interface, transmits the interactive information to the external device, instructs the external device to perform semantic recognition on the interactive information, and returns a video clip for replying to the interactive information according to the semantic recognition result. On the other hand, the external device performs semantic recognition on the received interactive information according to the instruction, obtains the information semantics of the interactive information, and then further determines the reply information corresponding to the interactive information based on the intention of the interactive object described by the information semantics, and returns the video clip whose line semantics of the character's lines matches the information semantics of the reply information to the electronic device. Finally, the electronic device plays the video clip returned by the external device in the information display area, and replies to the interactive information of the interactive object through the character lines of the video clip.

[0074] For example, please refer to Figure 1e , shows a one-to-one information interaction scenario between an interactive object and a chat robot. The interactive object inputs textual interactive information "How is the weather today?" through an information input interface. The electronic device for executing the video playback method transmits the interactive information to an external device, instructs the external device to perform semantic recognition on the interactive information, and returns a video clip for replying the interactive information according to the semantic recognition result. On the other hand, the external device performs semantic recognition on the received interactive information, and determines that the intention of the interactive object is "to provide the weather conditions at its current location"; the external device further obtains the location of the electronic device, and accordingly queries the weather information at the current location of the electronic device "Friday, cloudy with heavy rain to torrential rain", and determines a video clip whose line semantics of the character's lines matches the information semantics of the weather information, wherein the character line of the video clip is "Today is Friday, heavy rain like a tiger", and returns the video clip to the electronic device. Accordingly, after receiving the video clip returned by the external device, the electronic device plays the video clip in the information display area, and replies to the interactive object's interactive information "How is the weather today?" through the character line in the video clip "Today is Friday, heavy rain like a tiger". Among them, the electronic device obtains the service of the external device, and the external device provides services for the electronic device. Therefore, the electronic device can also be called a client, and the external device can also be called a server.

[0075] Optionally, in one embodiment, playing a video clip corresponding to the interactive information includes:

[0076] Play the video clips corresponding to the interactive information and whose video style matches the video style associated with the interactive object.

[0077] In this embodiment, the video style associated with the interactive object is used to describe the video style preferred by the interactive object, which can be one category or multiple categories. Similar to images, the underlying features such as color features, morphological features, and texture features can be used to comprehensively describe the high-level feature "style" of the image. For videos, the video style can be understood as the style jointly presented by the image and sound of the video. For images, it can be content semantics (or plot), color style, tone style, light style, and picture style (space, level). For sounds, it can be fresh style, lazy style, aesthetic style, soothing style, and inspirational style. Among them, there is no specific limitation on the classification of video styles, and those skilled in the art can classify them according to actual needs.

[0078] For example, the video styles can be divided into three types, namely high-key style, medium-key style and low-key style. Among them, the high-key style here can include beautiful scenery style, fashion style, eye-catching style, sports style, etc., the medium-key style can include campus style, inspirational style, healing style, middle-aged and elderly style, etc., and the low-key style can include agriculture, rural areas and farmers style, heavy taste style, etc.

[0079] In this embodiment, when playing a video clip, in addition to considering the semantics of the character's lines in the video clip, the video style of the video clip is also comprehensively considered. For the played video clip, not only can the interactive information of the interactive object be replied through the character's lines, but the video style of the video clip matches the video style associated with the interactive object, that is, the video style preferred by the interactive object.

[0080] For example, the electronic device for executing the video playback method responds to the interactive information input by the interactive object based on the information input interface, transmits the interactive information and the video style associated with the interactive object to the external device, instructs the external device to perform semantic recognition on the interactive information, and returns a video clip for replying the interactive information according to the semantic recognition result, and the video style matches the video style associated with the interactive object. On the other hand, the external device performs semantic recognition on the received interactive information according to the instruction, obtains the information semantics of the interactive information, and then further determines the reply information corresponding to the interactive information based on the intention of the interactive object described by the information semantics, and determines the video clip that matches the information semantics of the character's lines and the reply information, and then determines the video clip that matches the video style associated with the interactive object from the semantically matched video clips, and returns the video clip to the electronic device. Finally, the electronic device plays the video clip returned by the external device in the information display area, replies to the interactive information of the interactive object through the character's lines of the video clip, and the video style of the video clip matches the video style associated with the interactive object.

[0081] It should be noted that the video style associated with the interactive object can be determined by the interactive object selection, or can be determined by statistics of the electronic device executing the video playback method, or can be obtained by the electronic device executing the video playback method from an external device, and so on.

[0082] Optionally, in one embodiment, the electronic device executing the video playback method statistically determines the video style associated with the interactive object, and before playing the video clip corresponding to the interactive information and whose video style matches the video style associated with the interactive object, the video playback method provided by the present application further includes:

[0083] Get the historical video playback records of the interactive object;

[0084] Perform style statistics on video works associated with historical video playback records;

[0085] The video style associated with the interactive object is determined according to the style statistics results.

[0086] In this embodiment, when determining the video style associated with an interactive object, the historical video playback record of the interactive object is first obtained. The historical video playback record refers to the relevant information of the video playback behavior of the interactive object before the current moment (which can be all moments before the current moment, or a specific period before the current moment, for example, 7 natural days, 1 natural month, etc.), including but not limited to the video style of the played video, playback time, number of playbacks, number of searches, whether it is collected, whether it is recommended, whether it is liked, whether it is commented on, and other information.

[0087] Then, according to the acquired historical playback records, according to the configured style statistics strategy, the style statistics of the video works associated with the historical playback records are performed. The style statistics strategy is used to indicate how to perform style statistics on the video works, which is not specifically limited here and can be configured by those skilled in the art according to actual needs.

[0088] For example, an optional painting style statistics strategy is provided:

[0089] For each of the different types of video styles, the multi-dimensional video playback behavior information such as the cumulative number of playbacks, searches, favorites, recommendations, likes and comments of the video works of this type of video style is counted, and the corresponding style statistics results of this type of video style are obtained.

[0090] Finally, the video style associated with the interactive object is determined based on the style statistics. Exemplarily, weights can be pre-assigned to video playback behavior information of different dimensions, and based on the pre-assigned weights, weighted sums can be performed on the style statistics of each type of video style to obtain the weighted sum values ​​of each type of video style; according to the configured video style selection strategy, a suitable video style is selected as the video style associated with the interactive object based on the weighted sum values ​​of each type of video style. For example, a video style selection strategy can be configured: the video style with the largest weighted sum value is selected as the video style associated with the interactive object; for another example, the video style selection strategy can be configured as follows: the video styles are sorted in descending order according to the weighted sum value, and the video style in a preset position before sorting (which can be set by a technician in this field according to actual needs, such as the top three) is selected as the video style associated with the interactive object.

[0091] Optionally, in one embodiment, in order to meet the needs of the interactive object to customize the video style of the video clip as the reply message, a style selection interface is also provided in the information interaction interface for the interactive object to trigger the selection of the associated video style, wherein, before playing the video clip corresponding to the interactive information and whose video style matches the video style associated with the interactive object, the video playback method provided by the present application further includes:

[0092] In response to a triggering operation of the interactive object based on the style selection interface, displaying a style selection interface, where the style selection interface includes at least two video style options;

[0093] In response to a selection operation of the interactive object based on the style selection interface, the video style indicated by the selected video style option is determined as the video style associated with the interactive object.

[0094] It should be noted that this embodiment does not impose any specific restrictions on the display form of the painting style selection interface and the painting style selection interface, and is subject to the realization of the above functions, and can be set by those skilled in the art according to actual needs.

[0095] For example, please refer to Figure 1f , the information interaction interface displayed by the electronic device for executing the video playback method also includes a style selection interface (the interactive object can click on the style selection interface to generate a trigger operation for the style selection interface). In response to the trigger operation of the interactive object based on the style selection interface, the electronic device displays the style selection interface, which displays some optional video style options (using icons to represent inspirational styles, healing styles, and sports styles). Assuming that the interactive object likes the healing style, the video style option representing the healing style is clicked accordingly to generate a selection operation for the video style option representing the healing style. In response to the selection operation of the interactive object, the healing style indicated by the selected video style option is determined as the video style associated with the interactive object.

[0096] It should be noted that the present embodiment does not restrict the order in which the video style options are displayed in the style selection interface. For example, it may be displayed in alphabetical order or randomly. For another example, the present embodiment may determine the video style associated with the interactive object by statistics of the electronic device executing the video playback method as above, and similarly obtain the weighted sum of each type of video style. The video style options may be displayed in descending order of the weighted sum. That is, the larger the weighted sum corresponding to the video style indicated by the video style option, the closer its display position will be.

[0097] In other embodiments, in response to a selection operation of the interactive object based on the style selection interface, before determining the video style indicated by the selected video style option as the video style associated with the interactive object, the method further includes:

[0098] In response to the option switching operation on the style selection interface, the video style options displayed in the style selection interface are switched.

[0099] There is no specific limitation on the configuration method of the option switching operation here, and it can be configured by technical personnel in this field according to actual needs. For example, it can be configured as a sliding operation, a double-click operation, etc. for the painting style selection interface.

[0100] Optionally, in one embodiment, the information interaction interface further includes a role selection interface. Before playing the video clip corresponding to the interactive information and whose video style matches the video style associated with the interactive object, the video playback method provided by the present application further includes:

[0101] In response to a triggering operation of the interactive object based on the role selection interface, displaying a role selection interface, the role selection interface including at least two role type options;

[0102] In response to a selection operation of the interactive object based on the role selection interface, determining the role type associated with the interactive object by the role type indicated by the selected role type option;

[0103] Play the video clips corresponding to the interactive information, whose video style matches the video style associated with the interactive object, including:

[0104] The video clip corresponding to the interaction information is played, the video style matches the video style associated with the interaction object, and the character type matches the character type associated with the interaction object.

[0105] In this embodiment, the role type associated with the interactive object is used to describe the role type that the interactive object likes, which can be one category or multiple categories. In order to meet the needs of the interactive object to customize the role type of the video style of the video clip used as the reply message, a role selection interface is also provided in the information interaction interface. The role selection interface is configured to trigger the display of the role selection interface. The role selection interface includes role type options indicating different role types for the interactive object to select the role type that he likes.

[0106] It should be noted that this embodiment does not impose any specific restrictions on the display form of the role selection interface and the role selection interface, and is subject to the realization of the above functions, and can be set by those skilled in the art according to actual needs.

[0107] For example, please refer to Figure 1g , the information interaction interface displayed by the electronic device for executing the video playback method also includes a role selection interface (the interactive object can click on the role selection interface to generate a trigger operation for the role selection interface). In response to the trigger operation of the interactive object based on the role selection interface, the electronic device displays a role selection interface, which displays some optional role type options (using icons to represent two-dimensional role types, little brother role types, and little sister role types, etc.). Assuming that the interactive object likes the two-dimensional role type, the role type option representing the two-dimensional role type is clicked accordingly to generate a selection operation for the role type option representing the two-dimensional role type. In response to the selection operation of the interactive object, the two-dimensional role type indicated by the selected role type option is determined as the role type associated with the interactive object.

[0108] In this embodiment, when playing a video clip, in addition to considering the semantics of the character's lines in the video clip, the video style and character type of the video clip are also comprehensively considered. For the played video clip, not only can the interactive information of the interactive object be replied through the character's lines, but the video style and character type of the video clip are also preferred by the interactive object.

[0109] For example, the electronic device for executing the video playback method responds to the interactive information input by the interactive object based on the information input interface, transmits the interactive information, the video style and the role type associated with the interactive object to the external device, instructs the external device to perform semantic recognition on the interactive information, and returns a video clip for replying the interactive information according to the semantic recognition result, the video style matches the video style associated with the interactive object, and the role type matches the role type associated with the interactive object. On the other hand, the external device performs semantic recognition on the received interactive information according to the instruction, obtains the information semantics of the interactive information, and then further determines the reply information corresponding to the interactive information based on the intention of the interactive object described by the information semantics, and determines the video clip whose line semantics of the role line matches the information semantics of the reply information, and then determines the video clip whose video style matches the video style associated with the interactive object and the role type matches the role type associated with the interactive object from the video clips with these semantic matching, and returns the video clip to the electronic device. Finally, the electronic device plays the video clip returned by the external device in the information display area, replies to the interactive information of the interactive object through the role lines of the video clip, and the video style and role type of the video clip are both preferred by the interactive object.

[0110] Optionally, in one embodiment, in order to further increase the exposure of the video work, the corresponding interactive information is played, the video clip whose video style matches the video style associated with the interactive object, and whose character type matches the character type associated with the interactive object, includes:

[0111] Play the corresponding interactive information, the video style matches the video style associated with the interactive object, the role type matches the role type associated with the interactive object, and the video clip whose heat meets the preset heat condition.

[0112] The popularity of a video clip is obtained by weighting the popularity of the video work from which it is derived and the popularity curve. The popularity of a video work can be generally understood as the popularity of the video work. It is a comprehensive indicator used to describe the overall playback situation of the video work. It is usually obtained by weighting the three major indicators of playback behavior indicator, search behavior indicator and interactive behavior indicator. The popularity curve of a video work is used to describe the playback popularity of video clips at different moments in the video work.

[0113] In this embodiment, when playing a video clip, in addition to considering the semantics of the lines of the characters in the video clip, the video style, character type and popularity of the video clip are also comprehensively considered, and the corresponding interactive information is played, the video style matches the video style associated with the interactive object, the character type matches the character type associated with the interactive object, and the popularity meets the preset popularity condition. Among them, the preset popularity condition can be configured by those skilled in the art according to actual needs. For example, the preset popularity condition can be configured as the popularity of the video clip is greater than the preset popularity, so as to recommend popular video works to the interactive object, and the preset popularity condition can also be configured as the popularity of the video clip is less than the preset popularity, so as to recommend unpopular video works to the interactive object. In this way, for the played video clip, not only can the interactive information of the interactive object be replied through the character lines, but the video style and character type of the video clip are both liked by the interactive object, and the video work can also be recommended according to the actual recommendation needs.

[0114] Optionally, in one embodiment, after playing the video clip corresponding to the interactive information, the method further includes:

[0115] In response to a trigger operation on a video clip, summary information of the source video work of the video clip is displayed in the information display area.

[0116] In this embodiment, the summary information of the video work is directly provided to the interactive object on the information interaction interface so that the interactive object can understand the video work. The summary information of the video work may include information such as the plot summary and the cast summary of the video work, and the types of summary information include but are not limited to images and / or text information.

[0117] It should be noted that the triggering operation for the video clip can be pre-configured by those skilled in the art according to actual needs. For example, different operations can be configured according to different types of input devices of the electronic device used to execute the video playback method. For example, taking an electronic device equipped with a touch input device as an example, the triggering operation for the video clip can be configured as a long press operation triggered based on summary information, or a double-click operation, etc.

[0118] It is understandable that after the interactive object learns about the video work through the summary information of the video work, if the interactive object is interested in the video work, there is a need to play the video work. In order to meet the interactive object's need to play the video, in one embodiment, the interactive object is provided with the ability to jump to play the source video work from the summary information, wherein after displaying the summary information of the source video work of the video clip based on the jump play capability of the information interaction interface, the video playback method provided by the present application also includes:

[0119] In response to a trigger operation on the summary information, jump to the playback interface of the source video work of the video clip, and play the source video work on the playback interface.

[0120] The trigger operation for the summary information may be pre-configured by those skilled in the art according to actual needs, and is not specifically limited here. The trigger operation may be configured in accordance with the above embodiments.

[0121] In this embodiment, in the process of displaying the summary information of the source video work of the video clip, if a trigger operation for the summary information is received, the owner of the source video work of the video clip is determined in response to the trigger operation, and the video is redirected to the playback interface of the source video work provided by the owner of the source video work, and the source video work is played through the playback interface. There is no restriction on the starting time of playing the source video work, which can be configured by those skilled in the art according to actual needs. For example, it can be configured to play from the beginning, or it can be configured to play from the corresponding time of the video clip in the source video work, and so on.

[0122] In other embodiments, the interactive object is provided with the ability to directly jump from the video work to the source video work, and after playing the video clip corresponding to the interactive information, the video playing method provided by the present application further includes:

[0123] In response to a trigger operation on a video clip, jump to the playback interface of the source video work of the video clip, and play the source video work on the playback interface.

[0124] Among them, the trigger operation for the video clip can be implemented accordingly according to the configuration trigger operation in the above embodiment, which will not be repeated here.

[0125] As can be seen from the above, in the present application, by displaying an information interaction interface including an information input interface and an information display area, in response to the interactive information input by the interactive object based on the information input interface, a video clip corresponding to the interactive information is played in the information display area, and the character lines in the video clip are used to reply to the interactive information, and the video clip is obtained by splitting the video work. Compared with the related art, the present application provides a new exposure channel for video works, that is, the information interaction process with the interactive object, and it is played as a reply to the interactive information actively input by the interactive object, that is, the video clip of the played video work meets the expectations of the interactive object, thereby realizing the recommendation of the video work, thereby increasing the exposure of the video work. In addition, introducing the playback of video works (clips) into the process of information interaction can also improve the flexibility of information interaction.

[0126] Please refer to Figure 2a , Figure 2a: is another flow chart of the video playback method provided by the present application. In the following embodiments, the electronic device provides services to the external device with the identity of the client as a server. The flow chart of the video playback method provided by the present application can also be as follows:

[0127] In 210, interaction information of an interaction object sent by an external device is received, and the interaction information is received by the external device through a displayed information interaction interface.

[0128] Different from the above embodiments, the electronic device for executing the video playback method in this embodiment provides services to the external device as a server. The electronic device can establish a communication connection with the external device through wired or wireless means, and realize data interaction with the external device based on the communication connection.

[0129] In this embodiment, the electronic device receives interaction information sent by an external device. The interaction information is received by the external device from the interaction object through the displayed information interaction interface. How the external device receives the interaction information through the information interaction interface is not described here in detail. For details, please refer to the relevant records in the above embodiments.

[0130] There is no restriction on the information type of the interactive information from the external device, and it can be text-type interactive information or audio-type interactive information.

[0131] In 220, information semantics of the interactive information is identified, and reply information for the interactive information is determined according to the information semantics.

[0132] In this embodiment, after receiving the interactive information sent by the external device, semantic recognition is performed on the interactive information to obtain the information semantics of the interactive information, the intention of the interactive object is determined based on the information semantics, and the reply information for the interactive information is further determined based on the intention of the interactive object. For example, assuming that the received interactive information is the text information "How is the weather today", by performing semantic recognition on the interactive information, it is determined that the information semantics describe the intention of the interactive object as "providing the weather conditions at its current location", and the weather information at the current location of the external device is queried accordingly as the reply information of the interactive information.

[0133] Among them, this embodiment does not impose any specific restrictions on the specific method of semantic recognition and the specific method of determining the reply information, and can be configured by those skilled in the art according to actual needs. For example, the received interactive information can be input into a natural language query question-answering model based on natural language processing technology and combined with information retrieval, and the interactive information can be semantically recognized through the natural language query question-answering model, and the reply information for the interactive information can be determined according to the recognized information semantics.

[0134] Among them, natural language processing technology is an important direction in the fields of computer science and artificial intelligence. It studies various theories and methods that can achieve effective communication between people and computers using natural language. Natural language processing is a science that integrates linguistics, computer science, and mathematics. Therefore, research in this field will involve natural language, that is, the language people use in daily life, so it is closely related to the study of linguistics. Natural language processing technology usually includes text processing, semantic understanding, machine translation, robot question answering, knowledge graph and other technologies.

[0135] In 230 , a target video segment in which the dialogue semantics of the character's dialogue matches the information semantics of the reply information is determined from the video segments obtained by splitting the video work.

[0136] It should be noted that in this embodiment, the video work is pre-divided into video segments. There is no specific limitation on the way of dividing the video work, which can be configured by those skilled in the art according to actual needs.

[0137] In this embodiment, after the reply information for the interactive information is determined, the reply information is not directly used to reply to the interactive information, but a video segment in which the dialogue semantics of the character's lines matches the information semantics of the reply information is further determined from the split video segments, and the video segment is used as the target video segment for replying the interactive information.

[0138] Among them, whether the semantics of the lines match the semantics of the information can be measured according to the similarity between the semantics of the lines and the semantics of the information. Exemplarily, a similarity threshold is configured according to actual needs, and the similarity threshold is used to characterize whether the two semantics are sufficiently similar. For a video clip obtained by splitting from a video work, the similarity between the semantics of the lines of the characters in the video clip and the semantics of the information of the reply information is obtained. If the similarity reaches the configured similarity threshold, it is determined that the semantics of the lines of the characters in the video clip match the semantics of the information of the reply information, and the video clip is used as the target video clip.

[0139] In 240, the target video clip is returned to the external device, and the target video clip is used for the external device to play on the information interaction interface, and the interactive information is replied through the character lines in the target video clip.

[0140] In this embodiment, after determining the target video clip corresponding to the reply information, the target video clip is returned to the external device instead of the reply information, instructing the external device to play the target video clip on the information interaction interface, and replying to the interactive information through the character lines in the target video clip. Specifically, how the external device plays the target video clip can be referred to the relevant description in the above embodiment, which will not be repeated here.

[0141] Optionally, in one embodiment, before receiving the interaction information sent by the external device, the method further includes:

[0142] The video work is divided into multiple video clips according to the lines of the characters in the video work, and the characters in the video clips have at least one complete line.

[0143] This embodiment further provides an optional method for splitting video clips, wherein the splitting is performed based on character lines, ensuring that the character in the split video clips has at least one complete line, or a segment of lines consisting of multiple complete lines.

[0144] Among them, for video works with independent subtitles, the character lines of the video works can be directly obtained from the independent subtitles; for video works with subtitles but not independent subtitles, optical character recognition technology can be used to identify the image content of the video work, and the character lines of the video work can be obtained according to the recognition results; for video works without subtitles, the audio of the video work can be recognized, and the character lines of the video work can be obtained according to the recognition results.

[0145] Please refer to Figure 2b The following is an example of splitting a video work with subtitles but not independent subtitles, including the following steps:

[0146] (1) Preprocessing of the video images of the video works, including image smoothing, layout analysis, and tilt correction.

[0147] (2) Perform text area detection on the preprocessed video image to find the area where text exists.

[0148] (3) Convert the character dot matrix image in the text area into text for text processing.

[0149] (4) Post-process the recognition results (such as text error correction) based on the context and using the linguistic syntactic constraints.

[0150] (5) Through semantic understanding, a whole set of similar texts are spliced ​​into the same sentence to obtain the character lines, and the start and end times corresponding to each character line are recorded.

[0151] (6) Based on the start and end times of the recorded character lines, split the video work into video clips corresponding to the character lines.

[0152] Furthermore, after the video clips are split, semantic recognition is performed on the character lines in the video clips in advance to obtain the line semantics of the character lines, and the line semantics are associated with the video clips and stored so that they can be directly used in subsequent video clip matching, thereby improving the matching efficiency of the video clips.

[0153] Optionally, in other embodiments, in addition to considering the character's lines, the image content integrity of the video image of the video work is also considered. Among them, when splitting the video clips, in addition to identifying the character's lines, the image content of the video image of the video work is also analyzed. For example, the character's actions in the video image can be analyzed, and the start time and end time of the character's actions can be recorded. Further, with the constraint that the character in the video clip has at least one complete line and the character's action is complete, the start time and end time of the character's lines are corrected according to the start time and end time of the character's action. In this way, when the video clip is split using the start time and end time of the corrected character's lines, the character in the split video clip can have at least one complete line and the character's action is complete.

[0154] Optionally, in one embodiment, determining, from the video segments obtained by splitting the video work, a target video segment whose dialogue semantics of the character's dialogue matches the information semantics of the reply information includes:

[0155] From the video clips obtained by splitting the video work, determine the target video clip whose dialogue semantics of the character's dialogue matches the information semantics of the reply information, and whose video style matches the video style associated with the interactive object.

[0156] In this embodiment, in addition to receiving the interactive information of the interactive object sent by the external device, the electronic device for executing the video playback method also receives the video style tag of the interactive object sent by the external device, and the video style tag is used to indicate the video style associated with the interactive object, that is, the video style preferred by the interactive object. Accordingly, when determining the target video clip for replacing the reply information, the video style of the video clip and the semantics of the character's lines are comprehensively considered, so that the target video clip returned to the external device will be able to reply to the interactive information of the interactive object, and its video style is also preferred by the interactive object, thereby achieving accurate recommendation of video works.

[0157] It should be noted that, in the present embodiment, the video style of the video clip is also calibrated in advance. Exemplarily, three types of video styles are defined, namely, high-key style, medium-key style and low-key style. High-key style may include beautiful scenery style, fashion style, eye-pleasing style, sports style, etc., medium-key style may include campus style, inspirational style, healing style, middle-aged and elderly style, etc., and low-key style may include agriculture, rural areas and farmers style, heavy taste style, etc. In the present embodiment, the video style of the video clip is comprehensively determined based on the facial expression features and action features of the characters in the video clip, the semantics of the character's lines, and the music style of the background sound, as follows:

[0158] (1) Recognizing the facial expression features of the characters in the video clips. For example, a template matching method can be used, that is, a standard facial expression template (such as disgust, fear, sadness, surprise, happiness, indifference, etc.) is pre-established, and the character's face in the video image of the video clip is matched with the facial expression template, and the facial expression features of the character are determined based on the matching results; or the character's face in the video image can be input into a pre-trained facial expression recognition model, and the facial expression of the character is recognized by the facial expression recognition model to obtain the facial expression features of the character.

[0159] (2) Identify the action features of the characters in the video clips. For example, a template matching method can be used, that is, a standard action template (such as standing, jumping, waving, dancing, making a heart shape, etc.) can be established in advance, and the video image of the video clip is matched with the action template, and the action features of the characters are determined according to the matching results; the video image can also be input into a pre-trained action recognition model, and the action recognition model can be used to recognize the action of the characters to obtain the action features of the characters.

[0160] (3) Identify the music style of the background sound of the video clip. For example, a template matching method can be used, that is, a standard music style template (represented by audio features, such as fresh, lazy, beautiful, soothing, and inspirational, etc.) is pre-established, the audio features of the background sound in the video clip are extracted, the extracted audio features are matched with the music style template, and the music style of the background sound is determined according to the matching results; or the background sound of the video clip can be input into a pre-trained music style recognition model, and the music style of the background sound is recognized by the music style recognition model to obtain the music style of the background sound.

[0161] As mentioned above, after obtaining the facial expression features, action features, and music style of the video clip, the video style of the video clip is evaluated based on these facial expression features, action features, music style, and their associated dialogue semantics, and the evaluated video style is associated with the video clip and stored for use in determining the target video clip.

[0162] Optionally, in one embodiment, determining, from the video clips obtained by splitting the video work, a target video clip in which the semantics of the character's lines match the information semantics of the reply information, and the video style matches the video style associated with the interactive object, includes:

[0163] From the video clips obtained by splitting the video work, determine the target video clip in which the dialogue semantics of the character's lines match the information semantics of the reply information, the video style matches the video style associated with the interactive object, and the character type matches the character type associated with the interactive object.

[0164] In this embodiment, the electronic device for executing the video playback method receives not only the interactive information and video style tags of the interactive object sent by the external device, but also the character type tags sent by the external device, and the character type tags are used to indicate the character type associated with the interactive object, that is, the character type preferred by the interactive object. Accordingly, when determining the target video clip for replacing the reply information, the video style, character type and the semantics of the character lines of the video clip are comprehensively considered, so that the target video clip returned to the external device will be able to reply to the interactive information of the interactive object, and its video style and character type are preferred by the interactive object, thereby further improving the recommendation accuracy of the video work.

[0165] It should be noted that in this embodiment, the role type of the character in the video clip is also pre-identified, and the identified role type is stored in association with the video clip for use in determining the target video clip. Exemplarily, the role types are divided into three types, namely "two-dimensional role", "younger brother role" and "younger sister role", and the judgment conditions of the three role types are defined accordingly. Taking the role type "two-dimensional role" as an example, the original meaning of two-dimensional refers to "two-dimensional space" or "two-dimensional world", that is, a plane. It is currently usually used as a term for a fictional world in works such as animation, comics, and games. Different from the characters played by real people, two-dimensional characters are characters in two-dimensional works, that is, commonly known as animation characters, comic characters, or game characters.

[0166] Optionally, in one embodiment, determining, from the video clips obtained by splitting the video work, a target video clip in which the semantics of the character's lines match the semantics of the reply information, the video style matches the video style associated with the interactive object, and the character type matches the character type associated with the interactive object includes:

[0167] From the video clips obtained by splitting the video work, determine the target video clip whose dialogue semantics of the character's lines match the information semantics of the reply information, the video style matches the video style associated with the interactive object, the character type matches the character type associated with the interactive object, and the heat meets the preset heat condition.

[0168] In this embodiment, when determining the target video clip for replacing the reply information, in addition to considering the video clip's own characteristics such as video style, character type, and line semantics, the objective feature of the video, "heat", is also considered. Among them, the heat of the video clip is obtained by weighting the heat of the source video work of the video clip and the heat curve. The heat of a video work can be generally understood as the popularity of the video work. It is a comprehensive indicator used to describe the overall playback situation of the video work. It is usually obtained by weighting three categories of indicators: playback behavior indicators, search behavior indicators, and interactive behavior indicators. The heat curve of a video work is used to describe the playback heat of video clips at different times in the video work.

[0169] It should be noted that the preset heat condition can be configured by those skilled in the art according to actual needs. For example, the preset heat condition can be configured so that the heat of the video clip is greater than the preset heat, thereby recommending popular video works to the interactive object, or the preset heat condition can be configured so that the heat of the video clip is less than the preset heat, thereby recommending unpopular video works to the interactive object. In this way, not only can the interactive information of the interactive object be replied through the character lines of the video clip, but the video style and character type of the video clip are both liked by the interactive object, that is, accurate recommendation of video works can be achieved, and actual recommendation needs can also be met.

[0170] In order to better implement the video playback method suitable for the client provided by the present application, the present application embodiment also provides a corresponding video playback device. The meanings of the terms are the same as those in the above-mentioned video playback method suitable for the client. For specific implementation details, please refer to the description in the above method embodiment.

[0171] Please refer to Figure 3 , Figure 3 The structure diagram of the video playback device provided in the embodiment of the present application is as follows. The video playback device may include an interface display module 310 and a video playback module 320, wherein:

[0172] The interface display module 310 is used to display the information interaction interface, which includes an information input interface and an information display area;

[0173] The video playback module 320 is used to respond to the interactive information input by the interactive object based on the information input interface, and play the video clip corresponding to the interactive information in the information display area. The character lines in the video clip are used to reply to the interactive information. The video clip is obtained by splitting the video work.

[0174] Optionally, in one embodiment, the video playback module 320 is used to play a video clip corresponding to the interactive information and having a video style that matches the video style associated with the interactive object.

[0175] Optionally, in one embodiment, the video playback device provided by the present application also includes a style determination module, which is used to obtain historical video playback records of the interactive object; perform style statistics on video works associated with the historical video playback records; and determine the video style associated with the interactive object based on the style statistics results.

[0176] Optionally, in one embodiment, the video playback module 320 is used to play a video clip corresponding to the interactive information, a video style that matches the video style associated with the interactive object, and a character type that matches the character type associated with the interactive object.

[0177] Optionally, in one embodiment, the information interaction interface also includes a role selection interface, and the video playback device provided by the present application also includes a role determination module, which is used to display a role selection interface in response to a trigger operation of the interactive object based on the role selection interface, wherein the role selection interface includes at least two role type options; and in response to a selection operation of the interactive object based on the role selection interface, determine the role type associated with the interactive object by the role type indicated by the selected role type option.

[0178] Optionally, in one embodiment, the video playback module 320 is used to play video clips corresponding to the interactive information, where the video style matches the video style associated with the interactive object, the character type matches the character type associated with the interactive object, and the popularity meets a preset popularity condition.

[0179] Optionally, in one embodiment, the video playback device provided by the present application further includes an information display module for displaying summary information of the source video work of the video clip in the information display area in response to a trigger operation on the video clip.

[0180] Optionally, in one embodiment, the video playback module 320 is used to jump to the playback interface of the source video work in response to a trigger operation on the summary information, and play the source video work on the playback interface.

[0181] The specific implementation of each of the above modules can be found in the previous embodiments and will not be described in detail here.

[0182] In this embodiment, the interface display module 310 first displays an information interaction interface including an information input interface and an information display area, and then the video playback module 320 responds to the interactive information input by the interactive object based on the information input interface, and plays the video clip corresponding to the interactive information in the information display area. The character lines in the video clip are used to reply to the interactive information, and the video clip is obtained by splitting the video work. Compared with the related art, the present application provides a new exposure channel for video works, that is, the information interaction process with the interactive object, and it is played as the reply information of the interactive information actively input by the interactive object, that is, the video clip of the played video work meets the expectations of the interactive object, so as to achieve the recommendation of the video work, thereby increasing the exposure of the video work. In addition, introducing the playback of video works (clips) into the process of information interaction can also improve the flexibility of information interaction.

[0183] In order to better implement the video playback method suitable for the server provided by the present application, the present application embodiment also provides a corresponding video playback device. The meanings of the terms are the same as those in the above-mentioned video playback method suitable for the server. For specific implementation details, please refer to the description in the above method embodiment.

[0184] Please refer to Figure 4 , Figure 4 The schematic diagram of the structure of the video playback device provided in the embodiment of the present application is as follows. The video playback device may include an information receiving module 410, an information determining module 420, a segment screening module 430 and a segment transmission module 440, wherein:

[0185] An information receiving module 410 is used to receive interaction information of an interaction object sent by an external device, and the interaction information is received by the external device through a displayed information interaction interface;

[0186] An information determination module 420, configured to identify information semantics of the interactive information and determine reply information for the interactive information according to the information semantics;

[0187] The segment screening module 430 is used to determine, from the video segments obtained by splitting the video work, target video segments whose dialogue semantics of the character's dialogue matches the information semantics of the reply information;

[0188] The segment transmission module 440 is used to return the target video segment to the external device. The target video segment is used for the external device to play on the information interaction interface and reply to the interactive information through the character lines in the target video segment.

[0189] Optionally, in one embodiment, the video playback device provided by the present application further includes a segment splitting module for splitting the video work into multiple video segments according to the lines of the characters in the video work, wherein the characters in the video segments have at least one complete line.

[0190] Optionally, in one embodiment, the segment screening module 430 is used to determine, from the video segments obtained by splitting the video work, a target video segment in which the semantics of the character's lines match the information semantics of the reply information, and the video style matches the video style associated with the interactive object.

[0191] Optionally, in one embodiment, the segment screening module 430 is used to determine, from the video segments obtained by splitting the video work, a target video segment in which the semantics of the character's lines match the information semantics of the reply information, the video style matches the video style associated with the interactive object, and the character type matches the character type associated with the interactive object.

[0192] Optionally, in one embodiment, the segment screening module 430 is used to determine, from the video segments obtained by splitting the video work, a target video segment in which the semantics of the character's lines match the information semantics of the reply information, the video style matches the video style associated with the interactive object, the character type matches the character type associated with the interactive object, and the heat meets a preset heat condition.

[0193] The specific implementation of each of the above modules can be found in the previous embodiments and will not be described in detail here.

[0194] In this embodiment, the information receiving module 410 first receives the interactive information of the interactive object sent by the external device, and the interactive information is received by the external device through the displayed information interaction interface; then, the information determination module 420 identifies the information semantics of the interactive information, and determines the reply information for the interactive information according to the information semantics; then, the segment screening module 430 determines the target video segment whose line semantics of the character lines matches the information semantics of the reply information from the video segments obtained by splitting the video work; finally, the segment transmission module 440 returns the target video segment to the external device, and the target video segment is used for the external device to play on the information interaction interface, and reply to the interactive information through the character lines in the target video segment. Compared with the related art, the present application provides a new exposure channel for video works, that is, the information interaction process with the interactive object, and it is played as the reply information of the interactive information actively input by the interactive object, that is, the video segment of the played video work meets the expectations of the interactive object, so as to achieve the recommendation of the video work, thereby increasing the exposure of the video work. In addition, introducing the playback of the video work (segment) into the process of information interaction can also improve the flexibility of information interaction.

[0195] An embodiment of the present application also provides an electronic device, including a memory and a processor, wherein the processor is used to execute the steps in the video playback method provided in this embodiment by calling a computer program stored in the memory.

[0196] Please refer to Figure 5 , Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0197] The electronic device may include components such as a processor 101 with one or more processing cores, a memory 102 with one or more computer-readable storage media, a power supply 103, and an input unit 104. Those skilled in the art will appreciate that Figure 5 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0198] The processor 101 is the control center of the electronic device, which uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 102, and calling data stored in the memory 102. Optionally, the processor 101 may include one or more processing cores; optionally, the processor 101 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 101.

[0199] The memory 102 can be used to store software programs and modules. The processor 101 executes various functional applications and data processing by running the software programs and modules stored in the memory 102. The memory 102 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 102 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 102 may also include a memory controller to provide the processor 101 with access to the memory 102.

[0200] The electronic device also includes a power supply 103 for supplying power to each component. Optionally, the power supply 103 can be logically connected to the processor 101 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 103 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0201] The electronic device may further include an input unit 104, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0202] Although not shown, the electronic device may also include a display unit, an image acquisition component, etc., which will not be described in detail here. Specifically in this embodiment, when the electronic device acts as a client, the processor 101 loads the executable code corresponding to one or more computer programs into the memory 102, and the processor 101 executes the steps of the video playback method suitable for the client provided in this application, such as:

[0203] Displaying an information interaction interface, which includes an information input interface and an information display area;

[0204] In response to the interactive information input by the interactive object based on the information input interface, a video clip corresponding to the interactive information is played in the information display area. The character lines in the video clip are used to reply to the interactive information. The video clip is obtained by splitting the video work.

[0205] In addition, when the electronic device acts as a server, the processor 101 loads executable codes corresponding to one or more computer programs into the memory 102, and the processor 101 executes the steps of the video playback method suitable for the server provided in the present application, such as:

[0206] Receiving interactive information of an interactive object sent by an external device, where the interactive information is received by the external device through a displayed information interactive interface;

[0207] Identify information semantics of the interactive information, and determine reply information for the interactive information according to the information semantics;

[0208] From the video clips obtained by splitting the video work, determine the target video clips whose dialogue semantics of the character's dialogue matches the information semantics of the reply information;

[0209] The target video clip is returned to the external device. The target video clip is used for the external device to play on the information interaction interface, and the interactive information is replied through the character lines in the target video clip.

[0210] It should be noted that the electronic device provided in the embodiment of the present application and the video playback method in the above embodiment belong to the same concept, and its specific implementation process is detailed in the above related embodiments and will not be repeated here.

[0211] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program stored therein is executed on a processor of an electronic device provided in an embodiment of the present application, the processor of the electronic device implements the steps in the video playback method provided in the present application. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0212] The present application also provides a computer program product, which includes a computer program. When the computer program is executed on a processor of an electronic device provided in an embodiment of the present application, the processor of the electronic device implements the steps in the video playback method provided in the present application.

[0213] The video playback method, video playback device, electronic device, computer-readable storage medium and computer program product provided by the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

[0214] It should be noted that when the above embodiments of the present application are applied to specific products or technologies, it is necessary to obtain the permission or consent of the owner of the video work to which the video clip belongs. In addition, relevant data involving users needs to be obtained with the user's permission or consent, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

Claims

1. A video playback method, characterized in that: include: Displaying an information interaction interface, the information interaction interface includes an information input interface and an information display area; In response to interactive information input by the interactive object based on the information input interface, a video clip corresponding to the interactive information is played in the information display area, and the character lines in the video clip are used to reply to the interactive information, and the video clip is obtained by splitting the video work.

2. The video playback method according to claim 1, characterized in that: The playing of the video clip corresponding to the interactive information includes: A video clip corresponding to the interaction information and having a video style matching the video style associated with the interaction object is played.

3. The video playback method according to claim 2, characterized in that: Before playing the video clip corresponding to the interaction information and having a video style matching the video style associated with the interaction object, the method further includes: Obtaining historical video playback records of the interactive object; Performing style statistics on the video works associated with the historical video playback records; The video style associated with the interactive object is determined according to the style statistics result.

4. The video playback method according to claim 2, characterized in that: The playing of the video clip corresponding to the interaction information and having a video style matching the video style associated with the interaction object includes: A video clip corresponding to the interaction information is played, the video style of which matches the video style associated with the interaction object, and the character type of which matches the character type associated with the interaction object.

5. The video playback method according to claim 4, characterized in that: The information interaction interface also includes a role selection interface, and the playback corresponds to the interactive information, the video style matches the video style associated with the interactive object, and the role type matches the role type associated with the interactive object. The video clip also includes: In response to a triggering operation of the interactive object based on the role selection interface, displaying a role selection interface, wherein the role selection interface includes at least two role type options; In response to a selection operation of the interactive object based on the role selection interface, the role type indicated by the selected role type option is used to determine the role type associated with the interactive object.

6. The video playback method according to claim 3, characterized in that: The video clips corresponding to the interaction information, whose video style matches the video style associated with the interaction object, and whose character type matches the character type associated with the interaction object, include: Play a video clip corresponding to the interaction information, whose video style matches the video style associated with the interaction object, whose character type matches the character type associated with the interaction object, and whose popularity meets a preset popularity condition.

7. The video playback method according to claim 1, characterized in that: After playing the video clip corresponding to the interactive information, the method further includes: In response to a trigger operation on the video clip, summary information of the source video work of the video clip is displayed in the information display area.

8. The video playback method according to claim 7, characterized in that: After displaying the summary information of the source video work of the video clip, it also includes: In response to a trigger operation on the summary information, jump to the playback interface of the source video work, and play the source video work on the playback interface.

9. A video playback method, characterized in that: include: Receiving interaction information of an interaction object sent by an external device, wherein the interaction information is received by the external device through a displayed information interaction interface; identifying information semantics of the interactive information, and determining reply information for the interactive information according to the information semantics; Determining, from the video clips obtained by splitting the video work, a target video clip whose dialogue semantics of the character's dialogue matches the information semantics of the reply information; The target video clip is returned to the external device, the target video clip is used for the external device to play on the information interaction interface, and the interactive information is replied through the character lines in the target video clip.

10. The video playback method according to claim 9, characterized in that: Before receiving the interaction information sent by the external device, the method further includes: According to the lines of the characters in the video work, the video work is divided into a plurality of video clips, wherein the characters in the video clips have at least one complete line.

11. A video playback device, characterized in that: include: An interface display module is used to display an information interaction interface, wherein the information interaction interface includes an information input interface and an information display area; A video playback module is used to respond to the interactive information input by the interactive object based on the information input interface, and play the video clip corresponding to the interactive information in the information display area, the character lines in the video clip are used to reply to the interactive information, and the video clip is obtained by splitting the video work.

12. A video playback device, characterized in that: include: An information receiving module, used to receive interaction information of an interaction object sent by an external device, wherein the interaction information is received by the external device through a displayed information interaction interface; An information determination module, used to identify the information semantics of the interactive information, and determine reply information for the interactive information according to the information semantics; A segment screening module is used to determine, from the video segments obtained by splitting the video work, a target video segment whose dialogue semantics of the character's dialogue matches the information semantics of the reply information; The segment transmission module is used to return the target video segment to the external device, instruct the external device to play the target video segment on the information interaction interface, and reply to the interactive information through the character lines in the target video segment.

13. An electronic device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and the processor is used to execute the computer program in the memory to implement the steps in the video playback method according to any one of claims 1 to 10.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being executed by a processor to implement the steps in the video playback method according to any one of claims 1 to 10.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps in the video playback method according to any one of claims 1 to 10 are implemented.