Game content playback method and device, readable storage medium and electronic equipment

文档序号:57135 发布日期:2021-10-01 浏览:20次 中文

阅读说明:本技术 游戏内容回放方法和装置、可读存储介质、电子设备 (Game content playback method and device, readable storage medium and electronic equipment ) 是由 张存君 于 2021-07-07 设计创作,主要内容包括:本公开是关于一种游戏内容回放方法和装置、可读存储介质、电子设备,涉及计算机技术领域,该方法包括:获取游戏场景中产生交互事件的第一时间,根据所述第一时间确定与所述交互事件对应的第二时间;其中,所述第二时间早于所述第一时间;从所述第二时间至所述交互事件结束,生成与所述交互事件对应的回放视频,以及确定与所述交互事件对应的交互行为,并基于所述交互行为生成与所述回放视频对应的交互记录;响应在所述图形用户界面上对所述回放视频的触发操作,在所述图形用户界面上对所述回放视频以及所述交互记录进行播放。本公开提高了回放视频的回放效率,提升了用户的观看体验。(The disclosure relates to a game content playback method and device, a readable storage medium and electronic equipment, and relates to the technical field of computers, wherein the method comprises the following steps: acquiring first time for generating an interactive event in a game scene, and determining second time corresponding to the interactive event according to the first time; wherein the second time is earlier than the first time; generating a playback video corresponding to the interactive event from the second time to the end of the interactive event, determining an interactive behavior corresponding to the interactive event, and generating an interactive record corresponding to the playback video based on the interactive behavior; and responding to the triggering operation of the playback video on the graphical user interface, and playing the playback video and the interaction record on the graphical user interface. The method and the device improve the playback efficiency of the playback video and improve the watching experience of a user.)

1. A game content playback method for providing a graphical user interface through a first device terminal, the game content playback method comprising:

acquiring first time for generating an interactive event in a game scene, and determining second time corresponding to the interactive event according to the first time; wherein the second time is earlier than the first time;

generating a playback video corresponding to the interactive event from the second time to the end of the interactive event, determining an interactive behavior corresponding to the interactive event, and generating an interactive record corresponding to the playback video based on the interactive behavior;

and responding to the triggering operation of the playback video on the graphical user interface, and playing the playback video and the interaction record on the graphical user interface.

2. The method for playing back game content according to claim 1, wherein obtaining a first time at which an interaction event occurs in a game scene, and determining a second time corresponding to the interaction time according to the first time comprises:

monitoring an interaction event of a virtual object included in the game scene, and determining a first time for generating the interaction event when the virtual object included in the game scene generates the interaction event;

and advancing the first time by a preset duration to obtain a second time corresponding to the interaction event.

3. The game content playback method of claim 2, wherein the interaction event ends, comprising:

and when a new interactive event is not monitored within the preset time within the preset range of the virtual object in which the interactive event occurs, ending the interactive event.

4. The game content playback method according to claim 3, wherein determining an interaction behavior corresponding to the interaction event, and generating an interaction record corresponding to the playback video based on the interaction behavior includes:

acquiring a virtual object corresponding to the interaction event and one or more interaction behaviors generated by the virtual object based on the second time;

and generating an interaction record corresponding to the playback video according to the virtual object and one or more interaction behaviors generated by the virtual object.

5. The game content playback method according to claim 3, wherein before responding to the trigger operation for playing back the video, the game content playback method further comprises:

judging whether the current index value of any virtual object included in the virtual object corresponding to the interaction event is 0 or not;

when the current index value of any virtual object is 0, judging whether a first playback button exists or not;

when the first playback button exists, generating a second playback button corresponding to the playback video, and updating the first playback button through the second playback button;

and when the first playback button does not exist, generating a second playback button corresponding to the playback video, and displaying the second playback button.

6. The game content playback method according to claim 5, wherein playing the playback video and the interaction record on the graphical user interface in response to a trigger operation on the playback video on the graphical user interface comprises:

responding to the triggering operation of the second playback button on the graphical user interface, playing the second playback video and the interaction record corresponding to the second playback video on the graphical user interface, and updating the second playback button into an exit button;

when a first operation is performed on the second playback video, determining current interaction behavior included in the second playback video based on the first operation;

updating the interaction record being played on the graphical user interface based on the current interaction behavior.

7. The game content playback method according to claim 6, wherein after playing the playback video and the interaction record, the game content playback method further comprises:

monitoring current index values of a plurality of virtual objects in a game scene, and generating prompt information when the current index value of any virtual object in the plurality of virtual objects is smaller than a preset threshold value and the any virtual object generates an interaction event;

and prompting the prompt information based on the exit button.

8. A game content playback apparatus that provides a graphical user interface through a first device terminal, the game content playback apparatus comprising:

the interactive event recording time determining module is used for acquiring first time of generating an interactive event in a game scene and determining second time corresponding to the interactive event according to the first time; wherein the second time is earlier than the first time;

the interaction record generating module is used for generating a playback video corresponding to the interaction event from the second time to the end of the interaction event, determining an interaction behavior corresponding to the interaction event, and generating an interaction record corresponding to the playback video based on the interaction behavior;

and the playback video playback module is used for responding to the triggering operation of the playback video on the graphical user interface when the interaction event is determined to be finished, and playing the playback video and the interaction record on the graphical user interface.

9. A readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the game content playback method of any one of claims 1 to 7.

10. An electronic device, comprising:

a processor; and

a memory for storing executable instructions of the processor;

wherein the processor is configured to perform the gaming content playback method of any of claims 1-7 via execution of the executable instructions.

Technical Field

The embodiment of the disclosure relates to the technical field of computers, in particular to a game content playback method, a game content playback device, a readable storage medium and an electronic device.

Background

With the development of computer technology and internet technology, a large number of game applications are emerging on mobile terminals, and of these, competitive game applications are extremely popular.

The battle game refers to a game in which a plurality of virtual objects have interaction time in a game scene, and in the current battle game, when an interaction event occurs between different virtual objects, the duration of the interaction event is short, so that on one hand, a spectator can hardly observe the interaction event; on the other hand, since the duration of the interactive event is short, the spectator user cannot clearly observe the interactive behavior included in the interactive event.

In order to solve the above problems, in the prior art, after a game starts for a period of time, a review video of the whole game process is generated, and when a user watches the review video, the user drags a time bar in the review video to check an occurred interactive event, but on one hand, the watching user does not determine the time for starting the interactive event, and needs to drag the time bar in the review video for multiple times, thereby reducing the playback efficiency; on the other hand, when the interactive event includes a plurality of interactive behaviors, the user needs to drag the time bar for a plurality of times to watch the review video to clearly see the interactive behaviors included in the interactive event, so that the watching experience of the user is reduced.

Therefore, it is required to provide a new game content playback method.

It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.

Disclosure of Invention

An object of the present disclosure is to provide a game content playback method, a game content playback apparatus, a readable storage medium, and an electronic device, thereby overcoming, at least to some extent, the problem of low game content playback efficiency due to the limitations and disadvantages of the related art.

According to an aspect of the present disclosure, there is provided a game content playback method for providing a graphic user interface through a first device terminal, the game content playback method including:

acquiring first time for generating an interactive event in a game scene, and determining second time corresponding to the interactive event according to the first time; wherein the second time is earlier than the first time;

generating a playback video corresponding to the interactive event from the second time to the end of the interactive event, determining an interactive behavior corresponding to the interactive event, and generating an interactive record corresponding to the playback video based on the interactive behavior;

and responding to the triggering operation of the playback video on the graphical user interface, and playing the playback video and the interaction record on the graphical user interface.

In an exemplary embodiment of the present disclosure, acquiring a first time at which an interaction event occurs in a game scene, and determining a second time corresponding to the interaction time according to the first time includes:

monitoring an interaction event of a virtual object included in the game scene, and determining a first time for generating the interaction event when the virtual object included in the game scene generates the interaction event;

and advancing the first time by a preset duration to obtain a second time corresponding to the interaction event.

In an exemplary embodiment of the present disclosure, the ending of the interactive event includes:

and when a new interactive event is not monitored within the preset time within the preset range of the virtual object in which the interactive event occurs, ending the interactive event.

In an exemplary embodiment of the present disclosure, determining an interaction behavior corresponding to the interaction event, and generating an interaction record corresponding to the playback video based on the interaction behavior includes:

acquiring a virtual object corresponding to the interaction event and one or more interaction behaviors generated by the virtual object based on the second time;

and generating an interaction record corresponding to the playback video according to the virtual object and one or more interaction behaviors generated by the virtual object.

In an exemplary embodiment of the present disclosure, before responding to the triggering operation of the playback video, the game content playback method further includes:

judging whether the current index value of any virtual object included in the virtual object corresponding to the interaction event is 0 or not;

when the current index value of any virtual object is 0, judging whether a first playback button exists or not;

when the first playback button exists, generating a second playback button corresponding to the playback video, and updating the first playback button through the second playback button;

and when the first playback button does not exist, generating a second playback button corresponding to the playback video, and displaying the second playback button.

In an exemplary embodiment of the present disclosure, in response to a trigger operation on the playback video on the graphical user interface, playing the playback video and the interaction record on the graphical user interface includes:

responding to the triggering operation of the second playback button on the graphical user interface, playing the second playback video and the interaction record corresponding to the second playback video on the graphical user interface, and updating the second playback button into an exit button;

when a first operation is performed on the second playback video, determining current interaction behavior included in the second playback video based on the first operation;

updating the interaction record being played on the graphical user interface based on the current interaction behavior.

In an exemplary embodiment of the present disclosure, after playing the playback video and the interaction record, the game content playback method further includes:

monitoring current index values of a plurality of virtual objects in a game scene, and generating prompt information when the current index value of any virtual object in the plurality of virtual objects is smaller than a preset threshold value and the any virtual object generates an interaction event;

and prompting the prompt information based on the exit button.

According to an aspect of the present disclosure, there is provided a game content playback apparatus that provides a graphical user interface through a first device terminal, the game content playback apparatus including:

the interactive event recording time determining module is used for acquiring first time of generating an interactive event in a game scene and determining second time corresponding to the interactive event according to the first time; wherein the second time is earlier than the first time;

the interaction record generating module is used for generating a playback video corresponding to the interaction event from the second time to the end of the interaction event, determining an interaction behavior corresponding to the interaction event, and generating an interaction record corresponding to the playback video based on the interaction behavior;

and the playback video playback module is used for responding to the triggering operation of the playback video on the graphical user interface when the interaction event is determined to be finished, and playing the playback video and the interaction record on the graphical user interface so as to realize the playback of the game content.

According to an aspect of the present disclosure, there is provided a readable storage medium having stored thereon a computer program which, when executed by a processor, implements a game content playback method according to any of the above-described exemplary embodiments.

According to an aspect of the present disclosure, there is provided an electronic device including:

a processor; and

a memory for storing executable instructions of the processor;

wherein the processor is configured to execute the game content playback method of any of the above exemplary embodiments via execution of the executable instructions.

According to the game content playback method provided by the embodiment of the disclosure, on one hand, a first time of generating an interactive event in a game scene is obtained, and a second time corresponding to the interactive event is determined according to the first time; wherein the second time is earlier than the first time; generating a playback video corresponding to the interactive event from the second time to the end of the interactive event, determining an interactive behavior corresponding to the interactive event, and generating an interactive record corresponding to the playback video based on the interactive behavior; responding to the triggering operation of the playback video on the graphical user interface, playing the playback video and the interaction record on the graphical user interface, monitoring the interaction event included in the game scene, acquiring the second time of the interaction event when the interaction event occurs, generating the playback video corresponding to the interaction event from the second time, and playing the playback video corresponding to the interaction event after the interaction event is finished, so that the problem that a user does not determine the starting time of the interaction event and needs to drag time slots for multiple times in the prior art is solved, and the playback efficiency of the playback video corresponding to the interaction event is improved; on the other hand, when the interactive event comprises a plurality of interactive behaviors and the user needs to watch the playback video for a plurality of times, only the playback video needs to be triggered, and a time bar does not need to be dragged for a plurality of times, so that the watching experience of the user is improved; on the other hand, when the playback video corresponding to the interactive event is generated, the interactive record is generated according to the interactive behavior included in the interactive event, the interactive record is played while the playback video is played, the user can observe the interactive event more clearly through the interactive record, and the watching experience of the user is further improved.

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

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.

Fig. 1 schematically shows a flow chart of a game content playback method according to an example embodiment of the present disclosure.

Fig. 2 schematically illustrates a flow chart of a method of determining a second time corresponding to an interaction event as a function of a first time according to an example embodiment of the present disclosure.

Fig. 3 schematically illustrates a flow chart of a method of generating an interaction record corresponding to a playback video from interaction behavior according to an example embodiment of the present disclosure.

Fig. 4 schematically shows a flowchart of a method for playing a playback video after an interaction event ends according to an example embodiment of the present disclosure.

Fig. 5 schematically illustrates a scene diagram of generating a playback button according to an example embodiment of the present disclosure.

Fig. 6 schematically illustrates a flow chart of a method of playing a return video by acting on a playback button according to an example embodiment of the present disclosure.

Fig. 7 is a flow chart schematically illustrating a method for generating prompt information when an interaction event occurs again in a game scene according to an example embodiment of the present disclosure.

Fig. 8 schematically illustrates a scene diagram of generating hint information when a user is watching a playback video according to an example embodiment of the present disclosure.

Fig. 9 schematically illustrates a flowchart of a method of updating a prompt frequency of prompt information according to an example embodiment of the present disclosure.

Fig. 10 schematically shows a flowchart of still another game content playback method according to an example embodiment of the present disclosure.

Fig. 11 schematically shows a block diagram of a game content playback apparatus according to an example embodiment of the present disclosure.

Fig. 12 schematically illustrates an electronic device for implementing the above-described game content playback method according to an example embodiment of the present disclosure.

Detailed Description

Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.

Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.

In the existing fighting games, a fighting video is mostly generated after the game starts for several minutes, and when a user watches the fighting, the fighting video can be clicked to carry out the fighting, but on one hand, the content played in the fighting video is an interactive event occurring before the interactive event occurring in the current game scene; on the other hand, when an interactive event occurs in the game scene and the spectator-battle user wants to watch the interactive event again, the spectator-battle user does not determine the time when the interactive event occurs, so that a time bar for dragging the spectator-battle video for multiple times is needed in the spectator-battle video to determine the starting time of the interactive event in the spectator-battle video; on the other hand, when the interactive event comprises a plurality of interactive behaviors, the spectator-fighting user can only drag the time bar of the spectator-fighting video again to adjust the video content being played by the spectator-fighting video when the spectator-fighting user wants to watch the interactive event again, and the watching experience of the user is reduced.

In view of one or more of the above problems, the present exemplary embodiment first provides a game content playback method, which may be executed in a device terminal, which may include a PC terminal, a mobile terminal, and the like; of course, those skilled in the art may also operate the method of the present disclosure on other platforms as needed, which is not particularly limited in the exemplary embodiment.

The game content playback method in one embodiment of the present disclosure may be executed on a terminal device or a server. The terminal device may be a local terminal device. When the game content playback method is operated on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.

In an optional embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud games. Taking a cloud game as an example, a cloud game refers to a game mode based on cloud computing. In the cloud game operation mode, the game program operation main body and the game picture presentation main body are separated, the storage and operation of the game content playback method are completed on the cloud game server, and the client device is used for receiving and sending data and presenting the game picture, for example, the client device can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; however, the terminal device performing the information processing is a cloud game server in the cloud. When a game is played, a player operates the client device to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as game pictures and the like are encoded and compressed, the data are returned to the client device through a network, and finally the data are decoded through the client device and the game pictures are output.

In an alternative embodiment, the terminal device may be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through an electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player through holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.

In a possible implementation manner, an embodiment of the present disclosure provides a game content playback method, where a graphical user interface is provided by a first terminal device, where the first terminal device may be the aforementioned local terminal device, and may also be the aforementioned client device in a cloud interaction system.

Referring to fig. 1, the game information prompting method may include the steps of:

s110, acquiring first time for generating an interaction event in a game scene, and determining second time corresponding to the interaction event according to the first time; wherein the second time is earlier than the first time;

step S120, from the second time to the end of the interactive event, generating a playback video corresponding to the interactive event, determining an interactive behavior corresponding to the interactive event, and generating an interactive record corresponding to the playback video based on the interactive behavior;

s130, responding to the triggering operation of the playback video on the graphical user interface, and playing the playback video and the interaction record on the graphical user interface.

On one hand, the method for playing back the game content obtains first time for generating an interactive event in a game scene, and determines second time corresponding to the interactive event according to the first time; wherein the second time is earlier than the first time; generating a playback video corresponding to the interactive event from the second time to the end of the interactive event, determining an interactive behavior corresponding to the interactive event, and generating an interactive record corresponding to the playback video based on the interactive behavior; responding to the triggering operation of the playback video on the graphical user interface, playing the playback video and the interaction record on the graphical user interface, monitoring the interaction event included in the game scene, acquiring the second time of the interaction event when the interaction event occurs, generating the playback video corresponding to the interaction event from the second time, and playing the playback video corresponding to the interaction event after the interaction event is finished, so that the problem that a user does not determine the starting time of the interaction event and needs to drag time slots for multiple times in the prior art is solved, and the playback efficiency of the playback video corresponding to the interaction event is improved; on the other hand, when the interactive event comprises a plurality of interactive behaviors and the user needs to watch the playback video for a plurality of times, only the playback video needs to be triggered, and a time bar does not need to be dragged for a plurality of times, so that the watching experience of the user is improved; on the other hand, when the playback video corresponding to the interactive event is generated, the interactive record is generated according to the interactive behavior included in the interactive event, the interactive record is played while the playback video is played, the user can observe the interactive event more clearly through the interactive record, and the watching experience of the user is further improved.

Hereinafter, each step involved in the game content playback method of the exemplary embodiment of the present disclosure is explained and explained in detail.

First, an application scenario and a disclosure purpose of the exemplary embodiments of the present disclosure are explained and explained. Specifically, the exemplary embodiment of the present disclosure may be applied to playback of an interactive event in a battle game scene, and mainly when an interactive event occurs in a virtual object included in the game scene, a playback video of the interactive event is generated according to the second time of the interactive event, and after the interactive event is ended, a user may watch the interactive event again, thereby improving the efficiency of interactive event playback.

The embodiment of the disclosure generates a playback video corresponding to an interaction event based on the monitored interaction event occurring in a game scene, and plays the playback video through a trigger operation acting on the playback video, thereby improving the efficiency of playing back game content. The specific reasons are as follows: on one hand, when an interactive event occurs in a game scene, determining second time for generating a playback video according to first time when the interactive event occurs, and generating the playback video of the interactive event from the second time, so that the efficiency of generating the playback video is improved; on the other hand, when the current index value of any virtual object generating the interactive event is updated to 0 before the interactive event is finished, a playback button corresponding to the playback video is generated, when the user needs to watch the interactive event again, the interactive event can be played back only by triggering the playback button, and the watching experience of the user is improved; on the other hand, in the process that the user watches the review video, when the interaction event occurs again on the virtual object included in the game scene, the prompt information is generated, so that the user cannot miss the latest interaction event, and the watching experience of the user is further improved.

Next, steps S110 to S130 will be explained and explained in detail.

In step S110, a first time when an interaction event occurs in a game scene is obtained, and a second time corresponding to the interaction event is determined according to the first time; wherein the second time is earlier than the first time.

The interactive event may be an interactive event occurring in a current game scene, or may also be an interactive event occurring in a non-current game scene, and the game scene where the interactive event occurs is not specifically limited in this example; the game scene can comprise a plurality of virtual objects and buildings, the virtual objects are game characters, and the interaction event is interaction behavior between the virtual objects or interaction behavior between the virtual objects and the buildings in the game scene. The current game scene is a game scene included in a game picture currently displayed by the terminal equipment of the user, and the non-current game scene is a game scene which is not displayed in the game picture currently displayed by the terminal equipment of the user; the first time to generate an interactive event is the time when the interactive event is monitored to occur in the game scene.

In this exemplary embodiment, referring to fig. 2, acquiring a first time when an interaction event occurs in a game scene, and determining a second time corresponding to the interaction event according to the first time may include steps S210 and S220:

s210, monitoring an interaction event of a virtual object included in the game scene, and determining a first time for generating the interaction event when the virtual object included in the game scene generates the interaction event;

and S220, advancing the first time by a preset time length to obtain a second time corresponding to the interaction event.

Hereinafter, step S210 and step S220 will be explained and explained. Specifically, firstly, a plurality of virtual objects included in a game scene are monitored, and when an interaction event occurs to the virtual objects included in the game scene, that is, when any virtual object included in the game scene is attacked by virtual objects in other camps or the virtual object is attacked by buildings included in the game scene, the occurrence time of the interaction event, that is, the first time when the virtual object is attacked is obtained; after the first time corresponding to the interaction event is acquired, the first time may be advanced by a preset time to obtain a second time, and the interaction event of the virtual object is recorded based on the second time. The preset time may be 1 second or 2 seconds, which is not specifically limited in this example embodiment. For example, when an interaction event occurs between a plurality of virtual objects in different paradigms in the game scene at 12:24:24, the time when the interaction event occurs may be pushed forward by 2 seconds, that is, the interaction event occurring in the game scene is recorded from 12:24:22 as the second time.

In step S120, from the second time to the end of the interactive event, generating a playback video corresponding to the interactive event, determining an interactive behavior corresponding to the interactive event, and generating an interactive record corresponding to the playback video based on the interactive behavior.

Wherein, the playback video comprises a game scene before the start of the interactive event and a complete process of the interactive event; when an interaction event occurs, an interaction record can be obtained by analyzing the interaction behavior included in the interaction event.

Specifically, after a second time corresponding to the interactive event is determined, recording a game scene from the second time, including the occurred interactive event, and generating a playback video corresponding to the interactive event; and simultaneously, analyzing a plurality of interactive behaviors included in the interactive event to generate an interactive record corresponding to the playback video.

In this example embodiment, the ending of the interaction event includes:

and when a new interactive event is not monitored within the preset time within the preset range of the virtual object in which the interactive event occurs, ending the interactive event.

The preset range may be within a circle with a radius of L and a center of any virtual object, the length of L may be 15 centimeters or 20 centimeters, which is not specifically limited in this example embodiment, and the preset time may be 2 minutes or 3 minutes, which is not specifically limited in this example embodiment. Specifically, when no interactive event occurs within a preset time within a preset range of any virtual object in which the interactive event occurs, that is, when no current index value of any virtual object decreases within a certain range around any virtual object in which the interactive event occurs within the preset time, the interactive event may be considered to end.

In the present exemplary embodiment, referring to fig. 3, determining an interaction behavior corresponding to the interaction event, and generating an interaction record corresponding to the playback video based on the interaction behavior may include steps S310 and S320:

s310, acquiring a virtual object corresponding to the interaction event and one or more interaction behaviors generated by the virtual object based on the second time;

step S320, generating an interaction record corresponding to the playback video according to the virtual object and one or more interaction behaviors generated by the virtual object.

Hereinafter, step S310 and step S320 will be explained and explained. Specifically, when an interactive event is recorded, a virtual object where the interactive event occurs is obtained, one or more interactive behaviors included in the interactive event are analyzed, two or more virtual objects corresponding to any interactive behavior are confirmed, and an interactive record, that is, a text description of a playback video is generated according to any interactive behavior and the virtual object corresponding to any interactive behavior. Wherein the interaction behavior may include: the control behavior of the virtual objects may be that movement of any virtual object is limited, or that skill release of any virtual object is limited, which is not specifically limited in this exemplary embodiment, the current index value of the virtual object that is killed as any virtual object is 0, the current index value of the virtual object that is injured heavily as any virtual object is smaller than a preset threshold value, which is not specifically limited in this exemplary embodiment, the current index value may be the current blood volume of the virtual object, the preset threshold value may be that the current blood volume of the virtual object is not smaller than 20, or that the current blood volume of the virtual object is not smaller than 15, which is not specifically limited in this exemplary embodiment.

In step S130, in response to a trigger operation on the playback video on the graphical user interface, the playback video and the interaction record are played.

In the present exemplary embodiment, before responding to the trigger operation for the playback video, as shown with reference to fig. 4, the game content playback method further includes steps S410 to S440:

step S410, judging whether the current index value of any virtual object included in the virtual object corresponding to the interaction event is 0;

step S420, when the current index value of any virtual object is 0, judging whether a first playback button exists;

step S430, when the first playback button exists, generating a second playback button corresponding to the playback video, and updating the first playback button through the second playback button;

step S440, when the first playback button does not exist, generating a second playback button corresponding to the playback video, and displaying the second playback button.

Hereinafter, steps S410 to S440 will be explained and explained. Specifically, first, when no interaction event occurs again within a certain range around any virtual object where an interaction event occurs within a preset time, whether a current index value of the virtual object where the interaction event occurs becomes 0 before the interaction event ends may be determined, and when the current index value of any virtual object where the interaction event occurs becomes 0 before the interaction event ends, it indicates that any virtual object is killed in the interaction event, at this time, a second playback button corresponding to a playback video may be generated, and when the interaction event ends, and a first playback button exists in a game scene, a playback video corresponding to the interaction event is used to replace the playback video corresponding to the first playback button; when the interactive event is ended and the playback button does not exist in the game scene, a second playback button can be generated based on the playback video corresponding to the interactive event, and the generated second playback button can be displayed.

In the exemplary embodiment, only when the current index value of any virtual object included in the interactive event becomes 0 before the interactive event is ended in the interactive event, the playback button corresponding to the interactive event is generated, the interactive event is played back, and the viewing experience of the user is improved.

Referring to the playback button shown in fig. 5, after the playback button is generated and the playback video is updated, referring to fig. 6, the playback video may be played by acting on the playback button, and steps S610 to S630 may be included:

step S610, responding to the triggering operation of the second playback button on the graphical user interface, playing the second playback video and the interaction record corresponding to the second playback video on the graphical user interface, and updating the second playback button into an exit button;

s620, when a first operation is carried out on the second playback video, determining a current interaction behavior included in the second playback video based on the first operation;

step S630, updating the interaction record being played on the graphical user interface based on the current interaction behavior.

Hereinafter, steps S610 to S630 will be explained and explained. Specifically, when a user needs to watch the playback video, a triggering operation can be performed on the second playback button through the graphical user interface, the playback video is played through the triggering operation on the graphical user interface, the second playback button of the playback video can be updated to be an exit button when the playback video is played, and exit of the playback video can be realized through the triggering operation acting on the exit button when the user needs to exit the playback video; the generated interaction record may be played at the graphical user interface while the playback video is played back, wherein the interaction record is a textual version of the playback video, wherein the included interaction behaviors correspond to interaction behaviors included in the playback video. The trigger operation may be a click operation or a long-time press operation, and the trigger operation is not specifically limited in this example embodiment.

Furthermore, the playing speed of the played back video can be adjusted, and the time bar of the played back video can also be dragged to skip the interactive behavior currently being played, so that the next interactive behavior of the interactive behavior currently being played is played. When the first operation is performed on the playback video, that is, the first operation is performed on the time bar of the playback video, the first operation may be to drag the time bar of the playback video forward, may also be to drag the time bar of the playback video backward, and may also be to adjust the play speed of the playback video, and the first operation is not specifically limited in this example embodiment. When the first operation is performed on the playback video, firstly, the interactive behavior of the playing virtual object corresponding to the current playing time is determined, secondly, the next playing time corresponding to the first operation is determined based on the first operation of the user on the playback video, the interactive behavior corresponding to the next playing time is determined according to the next playing time, and the interactive behavior in the displayed interactive record is updated according to the obtained interactive behavior.

Still further, for an interactive behavior that has been played in a playback video, when an interactive record is displayed, the text corresponding to the interactive behavior that has been played may be displayed as brighter text, the text corresponding to an interactive behavior that does not occur is displayed as darker text, or the text corresponding to the interactive behavior that has been played may be displayed as text with a larger font size, which is not specifically limited in this example embodiment. And with the change of the time bar of the video playback, the characters corresponding to the interactive behaviors displayed in the interactive record continuously change along with the change of the time bar.

While the user watches the playback video, the game content playback method may further include:

and performing a second operation on the unique identification of any virtual object included in the playback video, and switching the game scene in the currently displayed playback video into a first game scene determined based on the current position of any virtual object corresponding to the unique identification of any virtual object in the game scene.

Specifically, when the user watches the playback video, the mobile device of the user displays the game scenes of all the virtual objects corresponding to the interaction event, but after the user performs a second operation on the unique identifier of any virtual object included in the playback video, the mobile device of the user displays the first game scene determined by the current position of the any virtual object in the game scenes, where the second operation may be a click operation or a long-press operation, and the second operation of the user is not specifically limited in this example embodiment.

After displaying the playback video and the interaction record, as shown in fig. 7, the game content playback method may further include steps S710 and S720:

step S710, monitoring current index values of a plurality of virtual objects in a game scene, and generating prompt information when the current index value of any virtual object in the plurality of virtual objects is smaller than a preset threshold value and the any virtual object generates an interaction event;

and S720, prompting the prompting information based on the exit button.

Hereinafter, step S710 and step S720 will be explained and explained. Specifically, after displaying the playback video and the interaction record, in the watching process, when it is monitored that an interaction event occurs again in a virtual object included in the game scene, and a current index value of any virtual object included in the virtual object corresponding to the interaction event is smaller than a preset threshold, a user may generate a prompt message and display the prompt message, where the prompt message may be displayed based on an exit button, and when prompting, the prompt message surrounding the exit button for one circle may be flashed, and a color of the flashing may be red or blue, which is not specifically limited in this exemplary embodiment; the preset threshold may be a blood volume of the virtual object and half of the total blood volume. For example, referring to fig. 8, when a user is watching a playback video, a game character C and a game character D in camp 1 and a game character M in camp 2 in a game scene are interacted, and when the blood volume of the game character M in camp 2 is lower than a preset threshold when the interaction occurs, that is, the current index value of the game character M in camp 2 is smaller than the preset threshold, a prompt message is generated, and the prompt message flashes based on an exit button to prompt the user that an interaction event occurs again in the game scene, so that the watching experience of the user is improved.

Further, as shown in fig. 9, after the prompt information is prompted based on the exit button, the prompt frequency of the prompt information may also be updated, which specifically includes step S910 to step S940.

Step S910, acquiring current occurrence time corresponding to an interactive behavior based on the interactive behavior of any virtual object included in a game scene;

step S920, acquiring a first current index value of any virtual object, and a maximum index value and a loss index value corresponding to any virtual object in a preset time before the current occurrence time;

s930, obtaining a target prompt frequency of prompt information according to the loss index value, the maximum index value, the first current index value and a preset prompt frequency of any virtual object;

and S940, prompting the prompt information by using the target prompt frequency.

Steps S910 to S940 will be explained and explained below. The time before the preset time is 3 seconds or 5 seconds before the virtual object generates the interactive behavior, and the duration of the preset time is not specifically limited in the present exemplary embodiment; the loss index value is an index value which is reduced from preset time before the interactive behavior to current time when any virtual object in the game scene generates the interactive behavior; the prompt frequency of the prompt message may be a flashing frequency of the prompt message. Specifically, firstly, when the user watches the playback video, and when the interactive event occurs again in the game scene, and when the current index value of any virtual object included in the virtual object corresponding to the interaction event is less than the preset threshold value, after the prompt message is generated, when any virtual object still has an interactive behavior within a preset time, the current time of the interactive behavior can be obtained for any interactive behavior included in the interactive event, the loss index value of the virtual object and the maximum index value of the virtual object are obtained based on the time period from the preset time before the current time to the current time, the first current index value of the virtual object is obtained based on the current time, obtaining a target prompt frequency of the prompt information according to the first current index value, the loss index value, the maximum index value and a preset prompt frequency; the calculation formula of the target prompt frequency of the prompt message can be shown in formula (1):

f=f0*(1+h/h0)*(1-h1/h0) (1)

wherein f is the target prompt frequency of the prompt information, f0For the preset prompting frequency, h is the loss index value of the virtual object, h0Is the maximum index value of the virtual object, h1The first current index value after any interactive behavior of the virtual object after the prompt message is generated is obtained.

The game content playback method provided by the disclosed example embodiment has at least the following advantages: on one hand, interactive events of virtual objects in a game scene are monitored, when the interactive events occur in the game scene, the interactive events are recorded, a playback video and interactive records corresponding to the playback video are generated, and after the interactive events are finished, the playback video can be played back through the triggering operation of a playback button corresponding to the playback video, so that the playback efficiency of the playback video is improved; on the other hand, only when the current index value of any virtual object included in the interactive event becomes 0, the playback button corresponding to the playback video is generated, so that the viewing experience of the user is improved; on the other hand, the interaction record is played while the playback video is played, so that the fighting user can observe the interaction event more clearly through the interaction record, and the watching experience of the user is further improved.

Hereinafter, the game content playback method of the exemplary embodiment of the present disclosure is further explained and explained with reference to fig. 10. The game content playback method can comprise the following steps:

s1002, acquiring first time of an interactive event generated by a game scene, and presetting time length in advance of the first time to obtain second time corresponding to the interactive event;

step S1004, recording the interactive events occurring in the game scene based on the second time to generate a playback video and an interactive record corresponding to the playback video;

s1006, after the interactive event is finished, judging whether the current index value of any virtual object corresponding to the interactive event is 0 or not;

step S1008, deleting the playback video corresponding to the interactive event when the current index value of any virtual object does not exist and is 0;

s1010, when the current index value of any virtual object is 0, generating a second playback button corresponding to the playback video;

step S1012, judging whether a first playback button exists in a game scene;

s1014, replacing the playback video corresponding to the first playback button with the generated playback video when the playback button exists;

step S1016, when the second playback button does not exist, displaying a second playback button corresponding to the playback video;

step S1018, playing the playback video by acting on the playback button by the user, and displaying the interactive behavior included in the interactive record according to the playback video;

and S1020, when the interaction event occurs again in the game scene, generating prompt information, and prompting based on an exit button of the playback video.

An exemplary embodiment of the present disclosure also provides a game content playback apparatus, as shown in fig. 11, which may include: an interaction event recording time determination module 1110, an interaction record generation module 1120, and a playback video playback module 1130. Wherein:

an interaction event recording time determining module 1110, configured to obtain a first time at which an interaction event is generated in a game scene, and determine a second time corresponding to the interaction event according to the first time; wherein the second time is earlier than the first time;

an interaction record generating module 1120, configured to generate a playback video corresponding to the interaction event from the second time to the end of the interaction event, determine an interaction behavior corresponding to the interaction event, and generate an interaction record corresponding to the playback video based on the interaction behavior;

a playback video playback module 1130, configured to play the playback video and the interaction record in response to a trigger operation on the playback video on the graphical user interface.

The specific details of each module in the above game content playback device have been described in detail in the corresponding game content playback method, and therefore are not described herein again.

In an exemplary embodiment of the present disclosure, acquiring a first time at which an interaction event occurs in a game scene, and determining a second time corresponding to the interaction time according to the first time includes:

monitoring an interaction event of a virtual object included in the game scene, and determining a first time for generating the interaction event when the virtual object included in the game scene generates the interaction event;

and advancing the first time by a preset duration to obtain a second time corresponding to the interaction event.

In an exemplary embodiment of the present disclosure, the ending of the interactive event includes:

and when a new interactive event is not monitored within the preset time within the preset range of the virtual object in which the interactive event occurs, ending the interactive event.

In an exemplary embodiment of the present disclosure, determining an interaction behavior corresponding to the interaction event, and generating an interaction record corresponding to the playback video based on the interaction behavior includes:

acquiring a virtual object corresponding to the interaction event and one or more interaction behaviors generated by the virtual object based on the second time;

and generating an interaction record corresponding to the playback video according to the virtual object and one or more interaction behaviors generated by the virtual object.

In an exemplary embodiment of the present disclosure, in response to a trigger operation on the playback video, the game content playback method further includes:

judging whether the current index value of any virtual object included in the virtual object corresponding to the interaction event is 0 or not;

when the current index value of any virtual object is 0, judging whether a first playback button exists or not;

when the first playback button exists, generating a second playback button corresponding to the playback video, and updating the first playback button through the second playback button;

and when the first playback button does not exist, generating a second playback button corresponding to the playback video, and displaying the second playback button.

In an exemplary embodiment of the present disclosure, in response to a triggering operation on the playback video, playing the playback video and the interaction record on the graphical user interface includes:

responding to the triggering operation of the second playback button on the graphical user interface, playing the second playback video and the interaction record corresponding to the second playback video on the graphical user interface, and updating the second playback button into an exit button;

when a first operation is performed on the second playback video, determining current interaction behavior included in the second playback video based on the first operation;

updating the interaction record being played on the graphical user interface based on the current interaction behavior.

In an exemplary embodiment of the present disclosure, after playing the playback video and the interaction record, the game content playback method further includes:

monitoring current index values of a plurality of virtual objects in a game scene, and generating prompt information when the current index value of any virtual object in the plurality of virtual objects is smaller than a preset threshold value and the any virtual object generates an interaction event;

and prompting the prompt information based on the exit button.

It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.

Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.

In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.

An electronic device 1200 according to this embodiment of the disclosure is described below with reference to fig. 12. The electronic device 1200 shown in fig. 12 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.

As shown in fig. 12, the electronic device 1200 is embodied in the form of a general purpose computing device. The components of the electronic device 1200 may include, but are not limited to: the at least one processing unit 1210, the at least one memory unit 1220, a bus 1230 connecting various system components (including the memory unit 1220 and the processing unit 1210), and a display unit 1240.

Wherein the storage unit stores program code that is executable by the processing unit 1210 to cause the processing unit 1210 to perform steps according to various exemplary embodiments of the present disclosure described in the above section "exemplary methods" of this specification. For example, the processing unit 1210 may perform step S110 as shown in fig. 1: acquiring first time for generating an interactive event in a game scene, and determining second time corresponding to the interactive event according to the first time; wherein the second time is earlier than the first time; s120: generating a playback video corresponding to the interactive event from the second time to the end of the interactive event, determining an interactive behavior corresponding to the interactive event, and generating an interactive record corresponding to the playback video based on the interactive behavior; s130: and responding to the triggering operation of the playback video on the graphical user interface, and playing the playback video and the interaction record on the graphical user interface.

The storage unit 1220 may include a readable medium in the form of a volatile memory unit, such as a random access memory unit (RAM)12201 and/or a cache memory unit 12202, and may further include a read only memory unit (ROM) 12203.

Storage unit 1220 may also include a program/utility 12204 having a set (at least one) of program modules 12205, such program modules 12205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.

Bus 1230 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

The electronic device 1200 may also communicate with one or more external devices 1300 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 1200, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 1200 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 1250. Also, the electronic device 1200 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 1260. As shown, the network adapter 1260 communicates with the other modules of the electronic device 1200 via the bus 1230. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.

Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the disclosure described in the "exemplary methods" section above of this specification, when the program product is run on the terminal device.

According to the program product for implementing the above method of the embodiments of the present disclosure, it may employ a portable compact disc read only memory (CD-ROM) and include program codes, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.

The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).

Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.

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

24页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种获取蓝图数据的方法、装置及存储介质

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类