CN111225292B - Information display method and device, storage medium and electronic device - Google Patents

Information display method and device, storage medium and electronic device Download PDF

Info

Publication number
CN111225292B
CN111225292B CN202010046121.5A CN202010046121A CN111225292B CN 111225292 B CN111225292 B CN 111225292B CN 202010046121 A CN202010046121 A CN 202010046121A CN 111225292 B CN111225292 B CN 111225292B
Authority
CN
China
Prior art keywords
video
target
picture
played
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010046121.5A
Other languages
Chinese (zh)
Other versions
CN111225292A (en
Inventor
刘晓丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202010046121.5A priority Critical patent/CN111225292B/en
Publication of CN111225292A publication Critical patent/CN111225292A/en
Application granted granted Critical
Publication of CN111225292B publication Critical patent/CN111225292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content

Abstract

The application provides a method and a device for displaying information, a storage medium and an electronic device, wherein the method comprises the following steps: receiving an acquisition request which is sent by a client logged in by a target account and is used for requesting to acquire playing record information of an interactive video played by the target account, wherein the interactive video comprises a plurality of video segments, and the plurality of video segments comprise played video segments which are selected to jump to be played according to target interaction with the target account; responding to the acquisition request, determining a first target picture and a second target picture corresponding to the target account, wherein the interactive video is represented by an plot structure chart, the first target picture comprises played video nodes corresponding to played video clips in the plot structure chart, and the second target picture comprises a first skip instruction between the played video nodes in the plot structure chart; and synthesizing the first target picture and the second target picture into a playing record picture, and displaying the playing record picture through the client.

Description

Information display method and device, storage medium and electronic device
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for displaying information, a storage medium, and an electronic apparatus.
Background
The interactive video is a video mode, and the trend of a plot can be influenced according to the operation of selecting one from more than one in the key plot nodes in the video playing process of a viewer. At present, the implementation scheme of interactive video is to cut the video into a plurality of video segments by taking the end of interaction as a division point, and jump back and forth among the video segments through interactive selection.
Since the interactive video is composed of many video clips and interactions, a more complicated presentation format of the play record is required and the video clips and interactions are described and identified, so that the user can review all the viewed video clips and reselect the operated interactions.
However, for each interactive video, the interactive scenario structure and the presentation effect are different, and the playing record of the interactive video needs to be dynamically drawn according to the user operation, and the interactive video is returned to a certain segment for playing after receiving the user operation, so that the implementation process is complex, and a certain difference often exists between the implementation result and the expectation of the user or the video producer, thereby leading to poor user experience.
Therefore, the interactive video display method in the related art has the problem of poor user experience caused by complex implementation process.
Disclosure of Invention
The embodiment of the application provides an information display method and device, a storage medium and an electronic device, and aims to at least solve the problem that the user experience is poor due to the fact that the implementation process is complex in the interactive video display mode in the related technology.
According to an aspect of an embodiment of the present application, there is provided an information display method, including: receiving an acquisition request sent by a client logged in by a target account, wherein the acquisition request is used for requesting to acquire playing record information of an interactive video played by the target account, the interactive video comprises a plurality of video segments, and the plurality of video segments comprise played video segments which are selected to jump to play according to target interaction with the target account; responding to the acquisition request, and determining a first target picture and a second target picture corresponding to the target account, wherein the interactive video is represented by an plot structure diagram, the first target picture comprises played video nodes corresponding to played video clips in the plot structure diagram, and the second target picture comprises a target skip indication between the played video nodes in the plot structure diagram; and synthesizing the first target picture and the second target picture into a playing record picture, and displaying the playing record picture through the client, wherein the playing record information is the playing record picture.
According to another aspect of the embodiments of the present application, there is provided an information display apparatus, including: the system comprises a first receiving unit, a second receiving unit and a third receiving unit, wherein the first receiving unit is used for receiving an acquisition request sent by a client logged in by a target account, the acquisition request is used for requesting to acquire playing record information of an interactive video played by the target account, the interactive video comprises a plurality of video segments, and the plurality of video segments comprise played video segments which are selected to jump to be played according to target interaction with the target account; the first determining unit is used for responding to the acquisition request and determining a first target picture and a second target picture corresponding to the target account, wherein the interactive video is represented by an plot structural diagram, the first target picture comprises played video nodes corresponding to played video clips in the plot structural diagram, and the second target picture comprises target skip instructions among the played video nodes in the plot structural diagram; the synthesizing unit is used for synthesizing the first target picture and the second target picture into a playing record picture, wherein the playing record information is the playing record picture; and the first display unit is used for displaying and playing the recorded pictures through the client.
Optionally, the apparatus further comprises: an obtaining unit, configured to obtain an episode structure diagram corresponding to an interactive video before determining a first target picture and a second target picture corresponding to a target account, where the episode structure diagram includes a plurality of target resources, and the plurality of target resources include: a plurality of video nodes in one-to-one correspondence with the plurality of video segments and a plurality of jump instructions for indicating jump relationships between the plurality of video nodes; the splitting unit is used for splitting the plot structure chart into a plurality of resource pictures according to a plurality of target resources, wherein the resource pictures comprise: the size of each first type picture is the same as that of the plot structure chart, each first type picture only comprises a video node, the size of each second type picture is the same as that of the plot structure chart, and each second type picture only comprises a jump indication.
Optionally, the apparatus further comprises: the system comprises a construction unit and a processing unit, wherein the construction unit is used for constructing an episode structure chart corresponding to an episode structure chart after the episode structure chart is split into a plurality of resource pictures according to a plurality of target resources, and the episode description file comprises: the system comprises a resource identification ID for uniquely identifying each target resource, a resource type for representing the type of each target resource, a picture name of each resource picture, a video ID for uniquely identifying each video node, position information for representing the position of each target resource in an plot structure chart and a relation description list, wherein each entry in the relation description list comprises two first resource IDs or two video IDs corresponding to two video nodes with a jump relation and a second resource ID corresponding to a jump indication between the two video nodes; and the saving unit is used for saving the plot description file and the plurality of resource pictures into the database.
Optionally, the apparatus further comprises: the second receiving unit is used for receiving a first video identifier ID sent by the client under the condition that the client plays a first video segment before receiving an acquisition request sent by the client logged in by a target account, wherein the first video ID is used for uniquely identifying a first video node corresponding to the first video segment, the played video node comprises the first video node, and the first video ID is used for acquiring a first video node picture corresponding to the first video node in a first target picture; and the third receiving unit is used for receiving a second video ID sent by the client under the condition that the video clip currently played by the client jumps from the first video clip to a second video clip, wherein the second video ID is used for uniquely identifying a second video node corresponding to the second video clip, the played video node comprises the second video node, and the second video ID is used for acquiring a second video node clip corresponding to the second video node in the first target picture.
Optionally, the first determining unit includes: the first determining module is used for determining a played video node corresponding to the played video clip; the second determining module is used for determining a first target picture corresponding to the played video node; a third determining module, configured to traverse the relationship description list using the played video nodes, and determine target entries included in the relationship description list, where each entry in the relationship description list is used to indicate two video nodes having a jumping relationship and a jumping indication between the two video nodes, and each target entry is used to indicate two target video nodes having a jumping relationship in the played video nodes and a target jumping indication between the two target video nodes; the fourth determining module is used for determining a target jump instruction according to the target entry; and the fifth determining module is used for determining a second target picture corresponding to the target jump instruction.
Optionally, the first display unit comprises: the generating module is used for generating a network link for playing the recorded picture; a sixth determining module, configured to determine a picture size of the playing recording picture; and the sending module is used for sending the network link and the picture size to the client so as to display and play the recorded picture on the client through the history record floating layer.
Optionally, the apparatus further comprises: the sending module comprises a sending submodule, wherein the sending submodule is used for sending the network link, the picture size and the node information of the played video node to the client, and the node information comprises: position information used for representing the position of the played video node in the plot structure chart; the second display unit is used for displaying and playing the recorded pictures on the client through the history record floating layer after the network link and the picture size are sent to the client; a detection unit configured to detect a target operation performed on a target position in the history floating layer; the second determining unit is used for responding to the target operation and determining a third video node of which the position area in the played video node contains the target position according to the position information; and the playing unit is used for playing the third video clip corresponding to the third video node on the client.
According to a further aspect of an embodiment of the present application, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is configured to perform the steps of any of the above method embodiments when executed.
According to a further aspect of an embodiment of the present application, there is also provided an electronic apparatus, including a memory and a processor, the memory storing a computer program therein, the processor being configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the method, after an acquisition request which is sent by a client and used for requesting a target account to play playing record information of an interactive video is received, a first target picture and a second target picture corresponding to the target account are determined in response to the acquisition request by adopting a picture synthesis mode, wherein the interactive video is represented by an plot structural diagram, the first target picture comprises played video nodes corresponding to played video segments in the plot structural diagram, and the second target picture comprises a target skip instruction between the played video nodes in the plot structural diagram; the method comprises the steps of synthesizing a first target picture and a second target picture into a playing recorded picture, displaying the playing recorded picture through a client, representing an interactive video through a plot structure diagram, including video nodes corresponding to the interactive video in the plot structure diagram through different pictures, and jumping indications among the video nodes, and can be suitable for different interactive videos, so that the applicability of a playing information display mode is improved, the efficiency of synthesizing the playing recorded picture is improved, the technical effect of user experience is improved, and the problem of poor user experience caused by complex implementation process of the interactive video display mode in the related technology is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
FIG. 1 is a block diagram of an alternative server hardware configuration according to an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram illustrating an alternative method for presenting information according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an alternative method of presenting information according to an embodiment of the present application;
FIG. 4 is a schematic diagram of another alternative method of presenting information according to an embodiment of the present application;
FIG. 5 is a schematic diagram of yet another alternative method of displaying information according to an embodiment of the present application;
FIG. 6 is a schematic flow chart diagram illustrating an alternative method for presenting information according to an embodiment of the present application; and the number of the first and second groups,
fig. 7 is a block diagram of an alternative information display device according to an embodiment of the present application.
Detailed Description
The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the accompanying drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
According to one aspect of the embodiment of the application, a method for displaying information is provided. Alternatively, the method may be performed in a server, a user terminal or a similar computing device. Taking an example of an application running on a server, fig. 1 is a block diagram of a hardware structure of an optional server according to an embodiment of the present application. As shown in fig. 1, the server 10 may include one or more processors 102 (only one is shown in fig. 1), wherein the processors 102 may include, but are not limited to, a processing device such as an MCU (micro controller Unit) or an FPGA (Field Programmable Gate Array) and a memory 104 for storing data, and optionally, the server may further include a transmission device 106 for communication function and an input/output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and is not intended to limit the structure of the server. For example, the server 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the information presentation method in the embodiment of the present application, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 104 may further include memory located remotely from processor 102, which may be connected to server 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the server 10. In one example, the transmission device 106 includes a NIC (Network Interface Controller) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be an RF (Radio Frequency) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for displaying information running on the server is provided, and fig. 2 is a schematic flowchart of an optional method for displaying information according to an embodiment of the present application, and as shown in fig. 2, the flowchart includes the following steps:
step S202, receiving an acquisition request sent by a client logged in by a target account, wherein the acquisition request is used for requesting to acquire playing record information of an interactive video played by the target account, the interactive video comprises a plurality of video segments, and the plurality of video segments comprise played video segments which are selected to jump to be played according to target interaction with the target account;
step S204, responding to the acquisition request, and determining a first target picture and a second target picture corresponding to the target account, wherein the interactive video is represented by an plot structure chart, the first target picture comprises played video nodes corresponding to played video clips in the plot structure chart, and the second target picture comprises a first skip instruction between the played video nodes in the plot structure chart;
and step S206, synthesizing the first target picture and the second target picture into a playing record picture, and displaying the playing record picture through the client, wherein the playing record information is the playing record picture.
Optionally, the executing subject of the above steps may be a server, a user terminal, and the like, but is not limited thereto, and other devices capable of displaying information may be used to execute the method in the embodiment of the present application.
Through the embodiment, the picture synthesis mode is adopted, interactive videos are represented through the plot structure diagram, video nodes corresponding to the interactive videos in the plot structure diagram are contained through different pictures, jumping indication among the video nodes is achieved, different interactive videos can be suitable for, the problem that user experience is poor due to the fact that the implementation process is complex in the interactive video display mode in the related technology is solved, the applicability of the playing information display mode is improved, the efficiency of playing and recording picture synthesis is improved, and then the user experience is improved.
The following describes a method for displaying information in the embodiment of the present application with reference to fig. 2.
In step S202, an acquisition request sent by a client logged in by a target account is received, where the acquisition request is used to request to acquire playing record information of an interactive video played by the target account, the interactive video includes a plurality of video segments, and the plurality of video segments include a played video segment that is selected to skip to be played according to target interaction with the target account.
The interactive video may include a plurality of video segments (e.g., segment 1, …, segment N) that may be jumped between based on the interactive selections at the key video segment in accordance with the jump logic.
The interactive video is represented by a plot structure diagram, and the plot structure diagram comprises: and video nodes corresponding to the video segments and used for indicating a jump indication with a jump relation among the video nodes, wherein the jump indication can be plot lines.
For example, in the interactive video story structure shown in (a) in fig. 3, the interactive video includes 6 video clips (clip 1 to clip 6). At segment 1, a jump to segment 2 or segment 3 may be made according to the user's interactive selection, and thus, there is an episode link between segment 1 and segment 2 and an episode link between segment 1 and segment 3. At segment 2, a jump to segment 4 or segment 5 may be made in accordance with the user's interactive selection, and thus, there is an episodic wiring between segment 2 and segment 4 and an episodic wiring between segment 2 and segment 5. At segment 3, a jump can be made to segment 6, so there is an episodic line between segment 3 and segment 6. At segment 5, a jump can be made to segment 4, so there is an episodic wiring between segment 5 and segment 4. At segment 6, a jump may be made to segment 5, so there is an episodic line between segment 6 and segment 5. In the interactive video story structure shown in (b) of fig. 3, the interactive video includes 8 video clips (clip 1 to clip 8), and the jumping relationship between the respective video clips is similar to that of (a) of fig. 3.
In order to display the playing record information, the plot structure diagram may be processed to obtain a first type of picture corresponding to the video node in the plot structure diagram and a second type of picture corresponding to the skip instruction.
As an optional embodiment, an episode structure diagram corresponding to an interactive video is obtained, wherein the episode structure diagram includes a plurality of target resources; and splitting the plot structure chart into a plurality of resource pictures according to a plurality of target resources.
The method can first obtain a plot structure diagram corresponding to the interactive video, wherein the plot structure diagram comprises a plurality of target resources, and the plurality of target resources comprise: the video node comprises a plurality of video nodes which are in one-to-one correspondence with the video segments and a plurality of jump indications which are used for indicating jump relations among the video nodes.
The manner of obtaining the plot structure diagram may be: and receiving a complete interactive video story structure diagram provided by interactive video editors, and beautifying the story structure diagram after obtaining the story structure diagram so as to improve the visual richness of the story structure diagram and facilitate subsequent chart cutting and splitting.
For example, an interactive video editor provides a complete interactive video story line structure diagram and makes style beautification according to the story. The storyline structure diagram depicts all plot branches and jump logic of the interactive video (as shown in fig. 3). After the user plays all plot branches, the whole playing recording page shows the effect which is completely the same as that of the interactive video plot structure chart.
After obtaining the plot structure diagram, the plot structure diagram may be split into a plurality of resource pictures according to a plurality of target resources, each resource picture may only include one target resource, and the resource pictures and the target resources may be in one-to-one correspondence. The splitting mode can be that the plot structure chart is split by manually positioning each target resource, or the plot structure chart is split by identifying the video node and the jump instruction through the image characteristics. The specific score checking method may be set as required, and this is not specifically limited in this embodiment.
The target resource comprises a video node and a jump instruction, and the obtained multiple resource pictures comprise: a plurality of pictures of a first type and a plurality of pictures of a second type. The size of each first type picture is the same as that of the plot structure chart, each first type picture only comprises one video node, the size of each second type picture is the same as that of the plot structure chart, and each second type picture only comprises one jump indication.
For example, the obtained complete story line structure diagram can be subjected to graph cutting and splitting, and split into two types of pictures, namely a story line and a video clip node, each story line and each video clip node (video node) are independently split into one picture, only one video node (shown as (a) in fig. 4) or one story line (shown as (b) in fig. 4) is arranged in each split picture, the size of each picture is the same as that of the original story line structure diagram, and the background is transparent.
By the embodiment, the obtaining efficiency of the playing record information and the accuracy of the synthesized playing record picture can be improved by obtaining the plot structure chart and splitting the plot structure chart.
As an optional embodiment, in order to improve the accuracy and the matching efficiency of information matching, after obtaining a plurality of resource pictures, an episode description file corresponding to the episode structure picture may be constructed, and the episode description file and the plurality of resource pictures may be saved in a database.
The constructed scenario description file may be in json (JavaScript Object Notation) or xml (eXtensible Markup Language), and various information may be marked in the description file in the form of a list, which may include but is not limited to at least one of the following:
(1) resource ID for uniquely identifying each target resource
The resource id may uniquely identify a resource, which may be a video node or a jump indicator (e.g., a storyline). The resource ID of each target resource has uniqueness, the resource ID of the same target resource may be one (or multiple), and the same resource ID is only used for identifying one target resource.
(2) Resource type for representing type of each target resource
The resource types may be: video node, jump indication (e.g., plot line).
(3) Picture name of each resource picture
Each resource picture may be named. The picture name of the resource picture may be a picture name of a video node or a skip indication picture (e.g., a plot line picture).
(4) Video ID for uniquely identifying each video node
For a video node, the video node can be configured as a unique id of the video. The video ID of the same video node may be one (or multiple), and the same video ID is used to identify only one video node.
The video node may be a video node in the indication plot structure diagram, or may be a picture including the video node. The video ID may also be used to uniquely identify a video clip within the interactive video.
(5) Location information for indicating the location of each target resource in the storyboard
The location information of the video node or the skip indication may be the location of the area where the video node or the skip indication is located in the plot structure chart, and the location information may be represented as the location information of the specific location point of the video node or the skip indication and/or the size of the area where the video node or the skip indication is located.
For example, the story description file may include the location and size of the video nodes or story lines in the overall story structure diagram: as shown in fig. 5, the dotted line area is the size of the entire scenario picture (plot structure diagram), only the video node of the segment 2 in the resource picture of the segment 2 has a map, and other positions are blank, and the position information of the segment 2 is: the position information of the upper left corner of the video node is as follows: (x, y), the size of the video node is: (w, h).
For a storyboard, the location information may be location information for a plurality of specific location points, the plurality of specific location points comprising: starting point, break point, end point (which may be arranged in order).
(6) Relational description Listing
Each entry in the relationship description list contains two first resource IDs or two video IDs corresponding to two video nodes having a jumping relationship, and a second resource ID corresponding to a jumping indication between the two video nodes.
For example, the scenario description file may include a resource relationship description list (listrelationship), only the video node has this content, and let the described video node be videonode a, where each piece of information in the list should include the following content: selecting a resource id of a certain video node to jump to by operating interaction in the video node, for example, VideoNodeB; the scenario link used for linking the videonode a and the videonode b is LineAB. Since one video node may be connected to other video nodes, there are a plurality of pieces of information corresponding to one video node. For example, one example of a description list is as follows:
[{VideoNodeA,VideoNodeB,LineAB},{VideoNodeA,VideoNodeC,LineAC},{VideoNodeA,VideoNodeD,LineAD}]
the sample shows: the video node VideoNodeA is connected with the video node VideoNodeB through an plot connecting line LineAB, is connected with the video node VideoNodeC through a plot connecting line LineAC, and is connected with the video node VideoNodeD through a plot connecting line LineAD.
After obtaining the episode description file, the episode description file and all picture resources may be entered into a resource information database of the background server, and the database is set as DatabaseRes. The total picture resources may include, but are not limited to, at least one of: plot structure, all resource pictures (video plot picture and plot line picture).
By the embodiment, the accuracy and the matching efficiency of information matching can be improved by generating and storing the episode description file and the resource picture in advance.
A client (which may be an application APP, a web page client, a player client, or other forms of clients) logged in through the target account may run on the terminal device. The client can be used for playing interactive videos, and the interactive videos can be stored on the terminal equipment or can be obtained from the server side in real time through a network and stored in a cache of the terminal equipment.
In the process of playing the interactive video through the client, the played video segments of the target account can be recorded in real time so as to quickly determine the played video segments.
Different video clips contained in the interactive video can be identified by different video IDs (identifiers). For example, an interactive video may include 6 video clips, which may be identified by 6 video IDs, respectively: video node a, video node b, video node c, video node d, video node e, video node f, or, video node0, video node1, video node2, video node3, video node4, video node 5.
When the player client is about to start playing the interactive video, the current latest playing record information of the interactive video may be requested from the background, where the latest playing record information at least includes the video ID of the video clip that is newly played by the user, and may be set to idA (latest video clip ID).
In the process of playing the interactive video by the client, the video ID corresponding to the video clip played by the client can be acquired.
As an optional embodiment, in a case that the client plays the first video segment, a first video ID sent by the client may be received, where the first video ID is used to uniquely identify a first video node corresponding to the first video segment, and the played video node includes the first video node, and the first video ID is used to obtain a first video node picture corresponding to the first video node in the first target picture.
The first video segment can be played on the client, for example, the user actively selects to play the first video segment while playing other video segments (the other video segments have no jumping relation with the first video segment), or the user interactively selects to jump to play the first video segment while playing the other video segments (the other video segments have jumping relation with the first video segment). When the first video segment is played, the client may send a first video ID to the background server, where the first video ID is used to uniquely identify the first video segment, or uniquely identify a first video node corresponding to the first video segment. The first video ID is used for acquiring a first video node picture corresponding to the first video node in the first target picture.
The background server can receive the first video ID sent by the client and store the first video ID, and the video ID can be stored in the played video clip list.
After the first video segment is played, according to the episode skipping logic, when the currently played video segment on the client is skipped from the first video segment to the second video segment, the client may send a second video ID to the background server, where the second video ID is used to uniquely identify the second video segment, or uniquely identify a second video node corresponding to the second video segment. The second video ID is used to obtain a second video node picture corresponding to the second video node in the first target picture.
For example, after playing video clip idA, when the user switches to another video clip idB after actively or passively selecting interaction, the client sends video id (idb) of the current video clip to the backend server, and the backend server can store the video id in the playing record database after receiving the video id, and the database is set as database History.
By the embodiment, the efficiency of determining the played video clip can be improved by sending the video identifier of the played video clip in the playing process of the interactive video.
It should be noted that the video segment played by the client may be regarded as a played video segment, where the played video segment refers to a played video segment, and is not necessarily a video segment whose playing is completed (100% playing is completed). The played video clips may be video clips that are jumped to play according to target interaction selection with the target account, but not all played video clips need interaction selection with the target account.
For example, for a first video clip in the interactive video, the first video clip can be played without interactive selection with the target account, and for a video clip with only one branch, the first video clip can be played sequentially without interactive selection with the target account after the previous video clip is played.
In the process of playing the interactive video, when the user selects to view the playing record of the video, the current interactive playing record information can be requested from the background server. The backend server may receive the request.
In step S204, in response to the acquisition request, a first target picture and a second target picture corresponding to the target account are determined.
After receiving the acquisition request, the background server may determine a first target picture corresponding to the target account, where the first target picture includes a played video node corresponding to a played video clip in the episode structure diagram of the interactive video. The first target pictures and the played video nodes can be in one-to-one correspondence, and each first target picture only contains one played video node. In the case that there are multiple played video nodes, there may be multiple first target pictures.
The background server may further determine a second target picture corresponding to the target account, where the second target picture includes a target skip indication between played video nodes in the plot structure diagram of the interactive video. The second target pictures and the target jump indications can be in one-to-one correspondence, and each second target picture only contains one target jump indication. In the case where there are a plurality of target skip indications, there may be a plurality of second target pictures.
As an optional embodiment, determining the first target picture and the second target picture corresponding to the target account includes: determining a played video node corresponding to the played video clip; determining a first target picture corresponding to a played video node; traversing the relation description list by using the played video node, and determining a target entry contained in the relation description list; determining a target jump instruction according to the target entry; and determining a second target picture corresponding to the target jump indication.
In order to determine the first target picture, a played video node corresponding to the played video segment may be first determined, where the played video node may be determined by a video identifier (or a resource identifier) received by the background server during the interactive video playing process.
For example, after receiving the request, the background server may sequentially obtain the video id of each played video clip from the database, and use the video id to look up a video node with the same video id in the database of database, and mark the node as read (viewed). After processing, all viewed video nodes are marked as read. Reading all video nodes marked as read in a database of database baseRes, composing the video nodes into a video NodeList, and creating an empty connection list, i.e. a video NodeLineList.
After the played video node is determined, the played video node may be used to traverse the relationship description list to determine a target entry contained in the relationship description list. Each entry in the relationship description list is used to indicate two video nodes having a jump relationship, and a jump indication between the two video nodes. Each target entry is used for indicating two target video nodes with a jump relation in the played video nodes and target jump indication between the two target video nodes. Through the target entry, a target jump indication may be determined.
It should be noted that the direction of the jump can be represented by the precedence order of the two video nodes in the entry. Meanwhile, the entries of the relationship description list starting from the same video node may be determined to form an entry group representing a plurality of plot branches starting from the video node.
For example, each element in the videonodeldist may be processed in sequence, where the currently processed element is a videonode m, and an element corresponding to the videonode m in the relationship description list (listrelationship) is read and traversed, where the currently traversed element is { videonode m, VideoNodeB, LineAB }, and if both the videonode m and the VideoNodeB in the element exist in the videonodeldist, information of the connection node LineAB is read from the database res and added to the videonodeldist.
After the played video node is determined, a first target picture corresponding to the played video node may be determined. For example, according to the corresponding relation between the video identifier and the resource picture, the resource picture corresponding to the received video identifier is extracted. The extracted resource picture is the first target picture.
After determining the target skip indication, a second target picture corresponding to the target skip indication may be determined. For example, according to the corresponding relationship between the resource identifier and the resource picture, the resource picture corresponding to the resource identifier indicated by the target jump is extracted. The extracted resource picture is also the second target picture.
For example, the resource pictures of all nodes in the video nodelinlistt (video node list) may be taken out, and the resource pictures of all nodes in the video nodelinelist (plot list) may be taken out, so that the first target picture and the second target picture may be obtained. And combining the pictures of each picture as a whole layer to form a new picture Img so as to obtain the playing record picture.
By the embodiment, the first target picture and the second target picture are determined by traversing the relationship description list, so that the process of acquiring the first target picture and the second target picture can be simplified, and the efficiency of acquiring the request response is improved.
In step S206, the first target picture and the second target picture may be combined into a play record picture, and the play record picture is displayed through the client, where the play record information is the play record picture.
After the first target picture and the second target picture are obtained, the first target picture and the second target picture can be synthesized into a play record picture. The synthesis mode can be as follows: and superposing the pixel values at the corresponding positions of all the pixel points. The first target picture comprises played video nodes in the plot structure chart, the second target picture comprises target jump instructions among the played video nodes in the plot structure chart, and the synthesized playing record picture comprises the played video nodes in the plot structure chart and the target jump instructions among the played video nodes, so that the playing record of the interactive video played by the target account can be represented.
After the playing record picture is obtained, the playing record picture can be sent to the client, and the playing record picture is displayed through the client.
As an alternative embodiment, the displaying and playing the recorded picture by the client includes: generating a network link for playing the recorded picture, and determining the size of the picture for playing the recorded picture; and sending the network link and the picture size to the client so as to display and play the recorded picture on the client through the history record floating layer.
The backend server may generate a network link to play the recorded picture (Img picture), calculate the size of the played recorded picture, e.g., set to (ImgW, ImgH), and send the network link and the picture size to the client. After receiving the network link and the picture size of the recorded picture, the client can display the historical record floating layer according to the network link and the picture size of the recorded picture to be played.
Through the embodiment, the recorded picture is played and displayed by sending the network link for playing the recorded picture and the size of the picture, so that the accuracy of displaying the recorded picture can be ensured, and the recorded picture cannot be played due to network transmission errors is avoided.
As an alternative embodiment, sending the network link and the picture size to the client includes: and sending the network link, the picture size and the node information of the played video node to a client, wherein the node information comprises: and the position information is used for indicating the position of the played video node in the plot structure chart.
Besides network link and picture size, the background server can also send the position information of each video node to the client, so that the client can provide an interactive function through the history floating layer.
Optionally, the client may also perform selective playing of the video clip according to a target operation (e.g., a click operation) of the user on the history floating layer. Displaying and playing the recorded pictures on the client through a history record floating layer; detecting a target operation performed on a target position in the history floating layer; responding to the target operation, and determining a third video node of which the position area in the played video node contains the target position according to the position information; and playing a third video clip corresponding to the third video node on the client.
When the play record picture is displayed on the client through the history floating layer, if a target operation (for example, a click operation, a slide operation using the target position as a start point, or the like) performed on a target position in the history floating layer is detected, a third video node whose position area in the played video node includes the target position may be determined according to the position information of the played video node, and a third video clip corresponding to the third video node is played on the client.
For example, when a user clicks on a history floating layer, the videoNodeListT is traversed in turn, and the click position (l)x,ly) Comparing the position and size of the element in the videoNodeListT, if a certain node videoNodeP (x)p,yp,wp,hp) While satisfying the condition xp+wp>=lx>=xp、yp+hp>=ly>=ypThen, the video id in the video node p is read for playing, and the history floating layer can be removed.
Through the embodiment, the selection of the video clip to be played is carried out according to the operation of the user on the history floating layer, so that the control capability of the interactive video can be improved, and the user experience is improved.
It should be noted that, in the process of playing the interactive video, the client may send, to the background server, the video identifier of the video segment before the jump (video identifier before the jump) and the video identifier of the video segment after the jump (video identifier after the jump) or send the video identifier of the video segment after the jump (video identifier after the jump) when the currently played video segment is switched due to the jump.
After receiving the pre-jump video identifier and the post-jump video identifier, or after receiving the pre-jump video identifier and the post-jump video identifier, the background server may put the pre-jump video identifier (the video identifier of the currently played video clip is the pre-jump video identifier) and the post-jump video identifier into the played video clip list, and match a jump indication between the pre-jump video clip (or the pre-jump video node) and the post-jump video clip (or the post-jump video node) from the relationship description list according to the received pre-jump video identifier and the post-jump video identifier, and put the jump indication list into the jump indication list.
And under the condition that the currently played video clip is switched due to non-skip, the client sends the video identifier (switched video identifier) of the switched video clip to the background server.
After receiving the switched video identifier, the background server may put the switched video identifier into the played video segment list.
In this way, the played video segment list stores the played video identifiers (which may be the resource IDs or video IDs of the played video segments or the played video nodes) corresponding to all the played video segments, and the jump indication list stores the target jump indication identifiers (which may be the resource IDs of the target jump indications) of all the target jump indications. The first target picture can be obtained by obtaining the first type of picture corresponding to the played video identifier, and the second target picture can be obtained by obtaining the second type of picture corresponding to the target skipping indication identifier.
The played video segment and the target jump instruction may also be determined in other manners, which are not described in this embodiment one by one, and all other manners capable of determining the played video segment and the target jump instruction may be used for determining the first target picture and the second target picture.
The following describes a method for displaying information in the embodiment of the present application with reference to an optional example. As shown in fig. 6, the information presentation method in this example includes the following steps:
step S602, obtaining the plot description file and all picture resources of the interactive video.
The background server can obtain the plot description file and all picture resources of the interactive video. The scenario description file and all picture resources may be obtained by processing (automatically processing or processing according to interaction with service processing personnel) the scenario structure diagram by the background server, or may be directly sent to the background server by other devices. The total picture resources may include: the plot structure chart, the resource chart corresponding to the video plot, and the resource chart corresponding to the plot connecting line.
The background server may include the acquired episode description file and all picture resources in the database DatabaseRes.
Step S604, receiving a video ID sent by the client in the video playing process.
In the process of playing the interactive video by the client, the background server can receive the video ID of the currently played video clip sent by the client. If the video clip jumps, the background server can also receive a jump instruction which is sent by the client and used for indicating the currently played video clip to jump.
Step S606, receiving a viewing request sent by the client for viewing the interactive video playing record.
And when the user selects to view the playing record of the video in the video playing process, requesting current interactive playing record information from the background server. The background server can receive the viewing request sent by the client.
Step S608, determining a played video node picture corresponding to the played video node and a target plot line picture corresponding to a target plot line between the played video nodes.
After receiving the viewing request, the background server may determine a played node list, i.e., a video node list t composed of video IDs of played video nodes, and a target connection list, i.e., a video node list t composed of resource IDs of target storylines between the played video nodes.
By acquiring resource pictures corresponding to all elements in the videonodelist and the videonodelinelist, a played video node picture and a target plot line picture can be obtained.
Step S610, synthesizing the played video node picture and the target plot line picture into a playing record picture, and displaying the playing record picture through the client.
And merging the pictures of each resource picture as a layer to form a playing record picture, generating a network link for playing the record picture, calculating the size of the playing record picture, and returning the network link for playing the record picture and the size of the playing record picture (and node information in the videoNodeListT) to the client.
And the client displays the historical record floating layer according to the network link for playing the recorded pictures and the size of the played recorded pictures.
By the method, interactive playing record dynamic display can be realized, playing record styles can be customized according to video content parts, and complex and irregular interactive video story lines can be dynamically supported, so that user experience is improved.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
According to another aspect of the embodiments of the present application, there is provided an information display apparatus for implementing the above information display method. Optionally, the apparatus is used to implement the above embodiments and preferred embodiments, and details are not repeated for what has been described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 7 is a block diagram of an alternative information display apparatus according to an embodiment of the present application, and as shown in fig. 7, the apparatus includes:
(1) a first receiving unit 72, configured to receive an acquisition request sent by a client logged in by a target account, where the acquisition request is used to request to acquire playing record information of an interactive video played by the target account, the interactive video includes a plurality of video segments, and the plurality of video segments include played video segments that are selected to jump to be played according to target interaction with the target account;
(2) a first determining unit 74, connected to the first receiving unit 72, configured to determine, in response to the obtaining request, a first target picture and a second target picture corresponding to the target account, where the interactive video is represented by an episode structure diagram, the first target picture includes played video nodes corresponding to played video segments in the episode structure diagram, and the second target picture includes a target skip indication between the played video nodes in the episode structure diagram;
(3) a synthesizing unit 76, connected to the first determining unit 74, for synthesizing the first target picture and the second target picture into a play record picture, where the play record information is the play record picture;
(4) and the first display unit 78 is connected with the synthesis unit 76 and is used for displaying and playing the recorded pictures through the client.
Alternatively, the first receiving unit 72 may be used in step S202 in the above-described embodiment, the first determining unit 74 may be used in step S204 in the above-described embodiment, and the combining unit 76 and the first presenting unit 78 may be used to execute step S206 in the above-described embodiment.
Through the embodiment, the picture synthesis mode is adopted, interactive videos are represented through the plot structure diagram, video nodes corresponding to the interactive videos in the plot structure diagram are contained through different pictures, jumping indication among the video nodes is achieved, different interactive videos can be suitable for, the problem that user experience is poor due to the fact that the implementation process is complex in the interactive video display mode in the related technology is solved, the applicability of the playing information display mode is improved, the efficiency of playing and recording picture synthesis is improved, and then the user experience is improved.
As an alternative embodiment, the apparatus further comprises:
(1) an obtaining unit, configured to obtain an episode structure diagram corresponding to an interactive video before determining a first target picture and a second target picture corresponding to a target account, where the episode structure diagram includes a plurality of target resources, and the plurality of target resources include: a plurality of video nodes in one-to-one correspondence with the plurality of video segments and a plurality of jump instructions for indicating jump relationships between the plurality of video nodes;
(2) the splitting unit is used for splitting the plot structure chart into a plurality of resource pictures according to a plurality of target resources, wherein the resource pictures comprise: the size of each first type picture is the same as that of the plot structure chart, each first type picture only comprises a video node, the size of each second type picture is the same as that of the plot structure chart, and each second type picture only comprises a jump indication.
As an alternative embodiment, the apparatus further comprises:
(1) the construction unit is used for constructing an episode description file corresponding to the episode structure chart after the episode structure chart is divided into a plurality of resource pictures according to a plurality of target resources, wherein the episode description file comprises: the system comprises a resource identification ID for uniquely identifying each target resource, a resource type for representing the type of each target resource, a picture name of each resource picture, a video ID for uniquely identifying each video node, position information for representing the position of each target resource in an plot structure chart and a relation description list, wherein each entry in the relation description list comprises two first resource IDs or two video IDs corresponding to two video nodes with a jump relation and a second resource ID corresponding to a jump indication between the two video nodes;
(2) and the saving unit is used for saving the plot description file and the plurality of resource pictures into the database.
As an alternative embodiment, the apparatus further comprises:
(1) the second receiving unit is used for receiving a first video identifier ID sent by the client under the condition that the client plays a first video segment before receiving an acquisition request sent by the client logged in by a target account, wherein the first video ID is used for uniquely identifying a first video node corresponding to the first video segment, the played video node comprises the first video node, and the first video ID is used for acquiring a first video node picture corresponding to the first video node in a first target picture;
(2) and the third receiving unit is used for receiving a second video ID sent by the client under the condition that the video clip currently played by the client jumps from the first video clip to a second video clip, wherein the second video ID is used for uniquely identifying a second video node corresponding to the second video clip, the played video node comprises the second video node, and the second video ID is used for acquiring a second video node clip corresponding to the second video node clip in the first target picture.
As an alternative embodiment, the first determining unit 74 includes:
(1) the first determining module is used for determining played video nodes corresponding to the played video clips;
(2) the second determining module is used for determining a first target picture corresponding to the played video node;
(3) a third determining module, configured to traverse the relationship description list using the played video nodes, and determine target entries included in the relationship description list, where each entry in the relationship description list is used to indicate two video nodes having a jumping relationship and a jumping indication between the two video nodes, and each target entry is used to indicate two target video nodes having a jumping relationship in the played video nodes and a target jumping indication between the two target video nodes;
(4) the fourth determining module is used for determining a target jump instruction according to the target entry;
(5) and the fifth determining module is used for determining a second target picture corresponding to the target jump instruction.
As an alternative embodiment, the first display unit 78 includes:
(1) the generating module is used for generating a network link for playing the recorded picture;
(2) a sixth determining module, configured to determine a picture size of the playing recording picture;
(3) and the sending module is used for sending the network link and the picture size to the client so as to display and play the recorded picture on the client through the history record floating layer.
As an alternative embodiment, the apparatus further comprises: a second display unit, a detection unit, a second determination unit and a playing unit, wherein the sending module comprises a sending submodule,
(1) the sending submodule is used for sending the network link, the picture size and the node information of the played video node to the client, wherein the node information comprises: position information used for representing the position of the played video node in the plot structure chart;
(2) the second display unit is used for displaying and playing the recorded pictures on the client through the history record floating layer after the network link and the picture size are sent to the client;
(3) a detection unit configured to detect a target operation performed on a target position in the history floating layer;
(4) the second determining unit is used for responding to the target operation and determining a third video node of which the position area in the played video node contains the target position according to the position information;
(5) and the playing unit is used for playing the third video clip corresponding to the third video node on the client.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
According to yet another aspect of embodiments herein, there is provided a computer-readable storage medium. Optionally, the storage medium has a computer program stored therein, where the computer program is configured to execute the steps in any one of the methods provided in the embodiments of the present application when the computer program is executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, receiving an acquisition request sent by a client logged in by a target account, wherein the acquisition request is used for requesting to acquire playing record information of an interactive video played by the target account, the interactive video comprises a plurality of video segments, and the plurality of video segments comprise played video segments which are selected to jump to be played according to target interaction with the target account;
s2, responding to the acquisition request, determining a first target picture and a second target picture corresponding to the target account, wherein the interactive video is represented by an plot structure chart, the first target picture comprises played video nodes corresponding to played video clips in the plot structure chart, and the second target picture comprises a first skip instruction between the played video nodes in the plot structure chart;
and S3, synthesizing the first target picture and the second target picture into a playing record picture, and displaying the playing record picture through the client, wherein the playing record information is the playing record picture.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), a removable hard disk, a magnetic disk, or an optical disk.
According to still another aspect of an embodiment of the present application, there is provided an electronic apparatus including: a processor (which may be the processor 102 in fig. 1) and a memory (which may be the memory 104 in fig. 1) having a computer program stored therein, the processor being configured to execute the computer program to perform the steps of any of the above methods provided in embodiments of the present application.
Optionally, the electronic apparatus may further include a transmission device (the transmission device may be the transmission device 106 in fig. 1) and an input/output device (the input/output device may be the input/output device 108 in fig. 1), wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, receiving an acquisition request sent by a client logged in by a target account, wherein the acquisition request is used for requesting to acquire playing record information of an interactive video played by the target account, the interactive video comprises a plurality of video segments, and the plurality of video segments comprise played video segments which are selected to jump to be played according to target interaction with the target account;
s2, responding to the acquisition request, determining a first target picture and a second target picture corresponding to the target account, wherein the interactive video is represented by an plot structure chart, the first target picture comprises played video nodes corresponding to played video clips in the plot structure chart, and the second target picture comprises a first skip instruction between the played video nodes in the plot structure chart;
and S3, synthesizing the first target picture and the second target picture into a playing record picture, and displaying the playing record picture through the client, wherein the playing record information is the playing record picture.
Optionally, for an optional example in this embodiment, reference may be made to the examples described in the above embodiment and optional implementation, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present application described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the principle of the present application shall be included in the protection scope of the present application.

Claims (9)

1. A method for displaying information is characterized by comprising the following steps:
receiving an acquisition request sent by a client logged in by a target account, wherein the acquisition request is used for requesting to acquire playing record information of an interactive video played by the target account, the interactive video comprises a plurality of video segments, and the plurality of video segments comprise played video segments which are selected to jump to be played according to target interaction with the target account;
responding to the acquisition request, and determining a first target picture and a second target picture corresponding to the target account, wherein the interactive video is represented by a plot structure diagram, the first target picture comprises played video nodes corresponding to the played video clips in the plot structure diagram, and the second target picture comprises a target skip indication between the played video nodes in the plot structure diagram;
synthesizing the first target picture and the second target picture into a playing record picture, and displaying the playing record picture through the client, wherein the playing record information is the playing record picture;
before determining the first target picture and the second target picture corresponding to the target account, the method further includes:
acquiring the plot structure diagram corresponding to the interactive video, wherein the plot structure diagram comprises a plurality of target resources, and the plurality of target resources comprise: a plurality of video nodes in one-to-one correspondence with the plurality of video segments and a plurality of jump instructions for indicating jump relationships between the plurality of video nodes;
splitting the plot structure diagram into a plurality of resource pictures according to a plurality of target resources, wherein the resource pictures comprise: the size of each first type picture is the same as that of the plot structure chart, each first type picture only comprises one video node, the size of each second type picture is the same as that of the plot structure chart, and each second type picture only comprises one jump indication.
2. The method of claim 1, wherein after splitting the chart structure into the plurality of resource pictures according to the plurality of target resources, the method further comprises:
constructing an episode description file corresponding to the episode structure chart, wherein the episode description file comprises: a resource identification ID for uniquely identifying each target resource, a resource type for representing the type of each target resource, a picture name of each resource picture, a video ID for uniquely identifying each video node, position information for representing the position of each target resource in the plot structure chart, and a relationship description list, each entry in the relationship description list containing two first resource IDs or two video IDs corresponding to two video nodes having a jumping relationship, and a second resource ID corresponding to the jumping indication between the two video nodes;
and saving the plot description file and the plurality of resource pictures into a database.
3. The method according to claim 1, wherein before receiving the obtaining request sent by the client with the target account logged on, the method further comprises:
under the condition that the client plays a first video segment, receiving a first video identification ID sent by the client, wherein the first video ID is used for uniquely identifying a first video node corresponding to the first video segment, the played video node comprises the first video node, and the first video ID is used for acquiring a first video node picture corresponding to the first video node in the first target picture;
and under the condition that the video clip currently played by the client jumps from the first video clip to a second video clip, receiving a second video ID sent by the client, wherein the second video ID is used for uniquely identifying a second video node corresponding to the second video clip, the played video node comprises the second video node, and the second video ID is used for acquiring a second video node picture corresponding to the second video node in the first target picture.
4. The method of claim 1, wherein determining the first target picture and the second target picture corresponding to the target account number comprises:
determining the played video node corresponding to the played video clip;
determining the first target picture corresponding to the played video node;
traversing a relation description list by using the played video nodes, and determining target entries contained in the relation description list, wherein each entry in the relation description list is used for indicating two video nodes with a jump relation and the jump indication between the two video nodes, and each target entry is used for indicating two target video nodes with a jump relation in the played video nodes and the target jump indication between the two target video nodes;
determining the target jump indication according to the target entry;
and determining the second target picture corresponding to the target jump indication.
5. The method according to any one of claims 1 to 4, wherein presenting the play record picture by the client comprises:
generating a network link of the playing record picture, and determining the picture size of the playing record picture;
and sending the network link and the picture size to the client so as to display the playing record picture on the client through a history record floating layer.
6. The method of claim 5,
sending the network link and the picture size to the client comprises: sending the network link, the picture size and node information of the played video node to the client, wherein the node information comprises: position information used for representing the position of the played video node in the plot structure chart;
after sending the network link and the picture size to the client, the method further comprises: displaying the playing record picture on the client through the history record floating layer; detecting a target operation performed on a target location in the history floating layer; responding to the target operation, and determining a third video node of which the position area in the played video node contains the target position according to the position information; and playing a third video clip corresponding to the third video node on the client.
7. An apparatus for displaying information, comprising:
the system comprises a first receiving unit and a second receiving unit, wherein the first receiving unit is used for receiving an acquisition request sent by a client logged in by a target account, the acquisition request is used for requesting to acquire playing record information of an interactive video played by the target account, the interactive video comprises a plurality of video clips, and the plurality of video clips comprise played video clips which are selected to jump to play according to target interaction with the target account;
a first determining unit, configured to determine, in response to the acquisition request, a first target picture and a second target picture corresponding to the target account, where the interactive video is represented by an episode structure diagram, the first target picture includes a played video node corresponding to the played video clip in the episode structure diagram, and the second target picture includes a target skip indication between the played video nodes in the episode structure diagram;
the synthesizing unit is used for synthesizing the first target picture and the second target picture into a playing record picture, wherein the playing record information is the playing record picture;
the first display unit is used for displaying the playing record picture through the client;
an obtaining unit, configured to obtain an episode structure diagram corresponding to an interactive video before determining a first target picture and a second target picture corresponding to a target account, where the episode structure diagram includes a plurality of target resources, and the plurality of target resources include: a plurality of video nodes corresponding to the plurality of video segments one to one and a plurality of skip indications for indicating a skip relationship between the plurality of video nodes; the splitting unit is used for splitting the plot structure chart into a plurality of resource pictures according to a plurality of target resources, wherein the resource pictures comprise: the size of each first type picture is the same as that of the plot structure chart, each first type picture only comprises a video node, the size of each second type picture is the same as that of the plot structure chart, and each second type picture only comprises a jump indication.
8. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 1 to 6 when executed.
9. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 6 by means of the computer program.
CN202010046121.5A 2020-01-15 2020-01-15 Information display method and device, storage medium and electronic device Active CN111225292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010046121.5A CN111225292B (en) 2020-01-15 2020-01-15 Information display method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010046121.5A CN111225292B (en) 2020-01-15 2020-01-15 Information display method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN111225292A CN111225292A (en) 2020-06-02
CN111225292B true CN111225292B (en) 2022-05-06

Family

ID=70828418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010046121.5A Active CN111225292B (en) 2020-01-15 2020-01-15 Information display method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN111225292B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111726694B (en) * 2020-06-30 2022-06-03 北京奇艺世纪科技有限公司 Interactive video recovery playing method and device, electronic equipment and storage medium
CN114225364B (en) * 2020-09-14 2023-02-28 成都拟合未来科技有限公司 Real-time interaction method and system
CN112190949B (en) * 2020-10-29 2022-05-17 腾讯科技(深圳)有限公司 Interactive scenario skipping method, interactive scenario interface display method, device and equipment
CN112616086A (en) * 2020-12-16 2021-04-06 北京有竹居网络技术有限公司 Interactive video generation method and device
CN115002552A (en) * 2022-06-30 2022-09-02 北京爱奇艺科技有限公司 Story line data processing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472456A (en) * 2015-11-27 2016-04-06 北京奇艺世纪科技有限公司 Video playing method and device
CN109167950A (en) * 2018-10-25 2019-01-08 腾讯科技(深圳)有限公司 Video recording method, video broadcasting method, device, equipment and storage medium
CN110618774A (en) * 2019-09-17 2019-12-27 腾讯科技(深圳)有限公司 Progress information generation method and device, electronic device and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9517789D0 (en) * 1995-08-31 1995-11-01 Philips Electronics Uk Ltd Interactive entertainment content control
CN1146816C (en) * 2001-10-25 2004-04-21 英业达股份有限公司 Multimedia program system and method for managing story of play
CN102917258B (en) * 2012-10-12 2017-03-15 深圳Tcl新技术有限公司 Based on the video broadcasting method of video content, terminal and system
CN106303728A (en) * 2015-05-20 2017-01-04 深圳市定军山科技有限公司 A kind of interactive digital cinema playback system and method
CN106998486B (en) * 2016-01-22 2020-03-10 北京小熊博望科技有限公司 Video playing method and device
CN106339335B (en) * 2016-09-06 2019-05-03 中国传媒大学 The method and system that object for appreciation and multiple-limb play back again at any time during game video-recording and playback
CN107995515B (en) * 2017-11-30 2021-01-29 华为技术有限公司 Information prompting method and device
CN108829654A (en) * 2018-05-30 2018-11-16 互影科技(北京)有限公司 A kind of interaction script editor's method and apparatus
CN108769814B (en) * 2018-06-01 2022-02-01 腾讯科技(深圳)有限公司 Video interaction method, device, terminal and readable storage medium
CN109794064B (en) * 2018-12-29 2020-07-03 腾讯科技(深圳)有限公司 Interactive scenario implementation method, device, terminal and storage medium
CN109701269B (en) * 2018-12-29 2020-08-04 腾讯科技(深圳)有限公司 Interactive scenario implementation method, device, terminal and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472456A (en) * 2015-11-27 2016-04-06 北京奇艺世纪科技有限公司 Video playing method and device
CN109167950A (en) * 2018-10-25 2019-01-08 腾讯科技(深圳)有限公司 Video recording method, video broadcasting method, device, equipment and storage medium
CN110618774A (en) * 2019-09-17 2019-12-27 腾讯科技(深圳)有限公司 Progress information generation method and device, electronic device and storage medium

Also Published As

Publication number Publication date
CN111225292A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN111225292B (en) Information display method and device, storage medium and electronic device
CN108024145B (en) Video recommendation method and device, computer equipment and storage medium
US10616630B2 (en) Method for querying information of a currently broadcasted TV program and smart TV
JP5144838B1 (en) Information processing apparatus, information processing method, and program
US20110321076A1 (en) Viewing terminal device, server device, and participating program sharing system
CN110719524A (en) Video playing method and device, intelligent playing equipment and storage medium
CN111711861B (en) Video processing method and device, electronic equipment and readable storage medium
WO2011064168A1 (en) Method and apparatus for identifying popular network video segments
CN102163212A (en) Identification of video segments
CN105872717A (en) Video processing method and system, video player and cloud server
CN114398554B (en) Content searching method, device, equipment and medium
EP3300355A1 (en) Program recording method and device, and set top box
CN110958470A (en) Multimedia content processing method, device, medium and electronic equipment
US20170272793A1 (en) Media content recommendation method and device
CN112667936A (en) Video processing method, device, terminal, server and storage medium
CN113296666A (en) Anchor exposure data reporting method and device, terminal equipment and storage medium
CN114053697A (en) Cloud game interaction method and device, readable medium and electronic equipment
KR20130082825A (en) Method and system for providing information associated with content
US20110083093A1 (en) Apparatus and method for displaying log information
CN112153478B (en) Video processing method and video playing method
CN110891200B (en) Bullet screen based interaction method, device, equipment and storage medium
CN103080935A (en) Content search service system and content search service method
CN105872610A (en) Method, equipment and system for playing multiple paths of video data
CN112073824B (en) Data processing method and device based on live video
CN110708574B (en) Method and device for publishing information

Legal Events

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