Video display method and device in game, electronic device, and storage medium

By receiving matching instructions in the game and displaying game display videos generated based on historical game data in the graphical user interface, the problem of players lacking understanding of other players matched is solved, and the accuracy of teamwork and combat decisions in the game is improved.

CN119746403APending Publication Date: 2025-04-04NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510187945.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-19
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

In the prior art, due to the randomness of player matching, players lack understanding of other players matched, which affects the accuracy of teamwork and combat decisions.

Method used

A video display method in a game is provided. By receiving a player's game matching instruction, when matching other players, the player's game display video is displayed in a graphical user interface, and the game display video is generated based on the player's historical game data.

Benefits of technology

Enable players to quickly and accurately understand other players matched, improve the accuracy of teamwork and combat decisions, thereby improving the gaming experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119746403A_ABST
    Figure CN119746403A_ABST
Patent Text Reader

Abstract

The present disclosure provides a method for displaying a video in a game, a video display device in a game, an electronic device, and a computer-readable storage medium, and belongs to the field of game technology. The method comprises: receiving a game matching instruction of a first player; when the first player is matched with a second player, displaying a game display video of the second player in the graphical user interface; wherein the game display video is generated according to the historical game data of the second player. The present disclosure can help players understand other matched players through videos.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of game technology, and in particular to a method for displaying video in a game, a video display device in a game, an electronic device, and a computer-readable storage medium. Background Art

[0002] In games such as MOBA (Multiplayer Online Battle Arena), players often need to be matched to form a team to perform tasks or to play a game against other players. In the prior art, due to the randomness of matching, players often lack understanding of other matched players, resulting in poor team cooperation or affecting the accuracy of combat decisions. Therefore, how to enable players to quickly and accurately understand the information of matched players is an urgent problem to be solved in the prior art.

[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0004] The present disclosure provides a method for displaying a video in a game, a video display device in a game, an electronic device, and a computer-readable storage medium, thereby overcoming the problem of the prior art lacking understanding of matching players, at least to a certain extent.

[0005] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0006] According to one aspect of the present disclosure, there is provided a method for displaying a video in a game, which is applied to a terminal device, and the terminal device provides a graphical user interface. The method comprises: receiving a game matching instruction from a first player; and when the first player is matched with a second player, displaying a game demonstration video of the second player in the graphical user interface; wherein the game demonstration video is generated based on historical game data of the second player.

[0007] According to one aspect of the present disclosure, there is provided a video display device for a game, which is applied to a terminal device, and the terminal device provides a graphical user interface. The device comprises: a game instruction receiving module, which is used to receive a game matching instruction of a first player; and a game video display module, which is used to display a game demonstration video of a second player when the first player is matched with the second player; wherein the game demonstration video is generated according to the historical game data of the second player.

[0008] According to one aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-described methods for displaying a video in a game by executing the executable instructions.

[0009] According to one aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the video display method in a game described in any one of the above is implemented.

[0010] The exemplary embodiments of the present disclosure have the following beneficial effects:

[0011] Receive a game matching instruction from the first player; when the first player is matched with the second player, display the game display video of the second player in a graphical user interface; wherein the game display video is generated based on the historical game data of the second player. On the one hand, this exemplary embodiment provides a new method for displaying videos in a game, which can display the game display videos of other players when the player is matched with other players, and provides a new video display function for the player, so that the player can fully understand the other matched players through the game display video; on the other hand, the game display video is generated based on the historical game data of the second player, which ensures that the game display video can effectively and accurately present the game experience and game status of the second player to a certain extent, and can further help the first player understand the second player, so as to make better game decisions in subsequent games and improve the game experience.

[0012] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0014] Figure 1 A schematic diagram schematically illustrates a system architecture of a method for displaying video in a game in this exemplary embodiment;

[0015] Figure 2 A flowchart schematically illustrates a method for displaying video in a game in this exemplary embodiment;

[0016] Figure 3 A sub-flow chart schematically illustrating a method for displaying video in a game in this exemplary embodiment;

[0017] Figure 4 A block diagram schematically shows a structure of a video display device in a game in this exemplary embodiment;

[0018] Figure 5 An electronic device for implementing the above method in this exemplary embodiment is schematically shown. DETAILED DESCRIPTION

[0019] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the 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.

[0020] An exemplary embodiment of the present disclosure first provides a method for displaying video in a game.

[0021] Figure 1 A schematic diagram of the system architecture of the operating environment of this exemplary embodiment is shown. Figure 1 As shown, the system 100 may include a terminal device 110 and a server 120. The user terminal 110 may be a tablet computer or a personal computer used by a user, and a game program may be run on the terminal device. The server 120 obtains the game data of the player, generates a game display video and sends it to the terminal device 110. After receiving the game display video, the terminal device 110 may display it in a graphical user interface.

[0022] It should be understood that Figure 1 The data of each device shown in the figure is only exemplary. According to actual needs, any number of user terminals, servers or execution machines can be set. The server can also be a server cluster composed of multiple servers.

[0023] The following is combined with Figure 2 This exemplary embodiment is further described as follows. Figure 2 As shown, the video display method in the game, applied to the terminal device, may include the following steps S210-S220:

[0024] Step S210, receiving a game matching instruction from a first player.

[0025] The first player refers to a user using a terminal device, on which a game program is installed. The first player can play the game by logging into the client of the game program. Game matching instructions refer to instructions for matching players, such as instructions for matching teammates when forming a team, or instructions for matching opponents, etc. In the game, the first player can enter game matching instructions to match other players, such as operating the "teammate matching" option when forming a team in the game to match other players to form a team; or operating the "matching opponents" option when playing a game against other players to play a game against other players, etc.

[0026] Step S220, when the first player is matched with the second player, displaying the game demonstration video of the second player in the graphical user interface;

[0027] The game demonstration video is generated based on the historical game data of the second player.

[0028] The second player refers to other players matched for the first player. The second player can be one or more. For example, when the first player initiates a challenge request, the matched opponent player can be regarded as the second player; or when the first player initiates a team request, the team consists of 5 players, then except for the first player, the other 4 matched players can be regarded as the second players.

[0029] The game display video refers to a display video used to display the game status of the second player. The game display video can be any game video of the second player, such as any game video of the second player in history. It can also be one or more game highlight video clips of the second player, such as one or more highlight video clips in the historical game videos of the second player.

[0030] This exemplary embodiment can generate a game demonstration video based on the historical game data of the second player. For example, the server can obtain the historical game data of the second player and generate a game demonstration video, which is sent to the terminal device of the first player and displayed. The terminal device of the first player can also obtain the historical game data of the second player, generate a game demonstration video and display it, etc. The present disclosure does not make specific limitations on this.

[0031] When the first player is matched with the second player, the game display video of the second player can be displayed in the graphical user interface. The graphical user interface can be a graphical user interface at a preset stage in the game, such as an interface for player matching, an interface for player character selection, or an interface for entering a game loading, etc. This exemplary embodiment can display the game display video of the second player in different graphical user interfaces. It should be noted that the display position or display area of ​​the game display video at different stages can be the same or different. For example, the game display video of the second player can be displayed in a larger area during the matching stage, and the game display video of the second player can be displayed in a picture-in-picture mode during the character selection or game loading stage, and the video display window can be moved according to the user's needs to prevent affecting other operations of the player, etc.

[0032] Based on the above description, in this exemplary embodiment, a game matching instruction of the first player is received; when the first player is matched with the second player, a game display video of the second player is displayed in a graphical user interface; wherein the game display video is generated based on the historical game data of the second player. On the one hand, this exemplary embodiment provides a new method for displaying videos in a game, which can display game display videos of other players when the player is matched with other players, and provides a new video display function for the player, so that the player can fully understand the other matched players through the game display video; on the other hand, the game display video is generated based on the historical game data of the second player, which ensures that the game display video can effectively and accurately present the game experience and game status of the second player to a certain extent, and can further help the first player understand the second player, so as to make better game decisions in subsequent games and improve the game experience.

[0033] In an exemplary embodiment, if Figure 3 As shown, the video display method in the above game may also include the following steps:

[0034] Step S310, obtaining historical game data of the second player in the historical game matches;

[0035] Step S320: Generate a game demonstration video of the second player based on the historical game data.

[0036] The historical game matches may be all the game matches before the current game match, or may be part of the game matches, such as the game matches in the last month, and the historical game data is the game data corresponding to the historical game matches, such as the number of historical game matches, the total duration, the winning rate, or detailed battle record data, etc. Then, a game display video of the second player may be generated based on the historical game data, wherein different historical game data may generate game display videos of different types or different contents. For example, when the historical game data only includes the statistical data of the historical games, such as the battle record data of the second player in the last month, the game display video may generate a display video with text as the content, for example, the text content may be displayed in the video in a scrolling form or in a text switching form, or the game display video may generate a display video with text and random images / fixed images as the content, for example, the video background may be a random image / fixed image set by the first player or the second player, and the text information of the historical game data may be displayed on the image. information, etc.; when the historical game data includes historical game statistics and historical game videos, an animated game display video can be generated based on the historical game statistics and the historical game videos. The game display video can play the historical game video and display the text content determined based on the historical game statistics. When the historical game video is a plurality of game clips, each clip can correspond to its own text content. When each game clip is played, the text information under the clip can be displayed accordingly. The historical game statistics can also be the global statistics of the historical game matches. When multiple game clips are played, the global text information determined based on the global statistics is displayed, and the switching of game clips does not affect the display of the global text information.

[0037] In an exemplary embodiment, the above-mentioned obtaining the historical game data of the second player in the historical game match may include:

[0038] Obtaining game statistics of the second player in historical game matches, and obtaining key video clips of the game character controlled by the second player in historical game matches;

[0039] The above-mentioned generating the game display video of the second player according to the historical game data may include:

[0040] Generate a second player's game show video based on game statistics and key video clips.

[0041] In this exemplary embodiment, historical game data may include game statistics and key video clips, wherein the game statistics may include game match statistics, such as the number of games played by a player in the past month, the total game time, the winning rate, the number of best players of the game, or the contribution values ​​such as the number of assists, the number of hits, the percentage of damage output, etc., or character usage statistics, such as the frequency and winning rate of a player using a hero in the past month, or a comprehensive evaluation determined in combination with a scoring algorithm (such as the knockdown / win / assist ratio, the damage output, the damage endured, etc.). Key video clips may be video clips that can show the outstanding performance or game status of a player in the game, such as the scene in which a player defeats the most enemies in a team battle game, causes the highest damage to the enemy team, and a highlight video clip in which an extreme challenge or multiple challenges are completed in the game.

[0042] This exemplary embodiment can record the game statistics and key video clips of players in the game, and then obtain the game statistics and key video clips when it is necessary to generate a game demonstration video to generate a game demonstration video about the second player based on these videos.

[0043] In an exemplary embodiment, the above-mentioned obtaining the historical game data of the second player in the historical game match may include:

[0044] The identification information of the second player is determined, and historical game data of the second player in historical game matches is queried according to the identification information.

[0045] Among them, identification information refers to information used to uniquely determine the identity of a player, such as a user ID (Identify, unique identification) and a user serial code. This exemplary embodiment can store the player's historical game data in association with his or her identification information, for example, in a server. When a first player matches a second player, the historical game data of the second player can be obtained based on the identification information of the matched second player, thereby generating a game display video of the second player.

[0046] When querying the historical game data of the second player in the historical game matches according to the identification information, the historical game data within a preset time period can be queried according to needs or system settings, for example, based on the matched teammate ID, the teammate's performance data within the past month can be queried.

[0047] In an exemplary embodiment, the game statistics include game play data and character usage data;

[0048] The above-mentioned generating the game demonstration video of the second player according to the game statistics data and the key video clips may include:

[0049] Determine the game evaluation information of the second player based on the game match data and the character usage data;

[0050] A game demonstration video of the second player is generated according to the game evaluation information and key video clips of the second player.

[0051] Among them, the game match data may include game data obtained in the game match, such as the number of game matches, total game time, winning rate, best of the game times, or contribution values ​​such as assists, hits, damage output percentage, etc. In some games, players usually use different game characters to play the game, such as using a more offensive character in copy 1, using a more defensive character in copy 2, or in a team battle, in order to balance the combat power, choose other auxiliary characters, etc. The character usage data refers to the statistical data of the second player using the game characters in historical game matches, such as the frequency of using each game character, winning rate, number of defeated people, average damage output, total damage, or a score calculated from these data, etc. The game evaluation information may be information determined based on the game match data and the character usage data for evaluating the game level or preference of the second player.

[0052] In this exemplary embodiment, the game evaluation information of the second player can be determined based on the game match data and character usage data. For example, based on the game match data and character usage data of the second player in historical game matches, the game evaluation information is determined to be "Player 1 is good at assassin-type heroes, with an average win rate of 80%." The specific content and form can be adjusted. For example, more detailed game evaluation information can be obtained based on preset dimensional indicators. The present disclosure does not make specific limitations on this.

[0053] Furthermore, this exemplary embodiment can generate a game demonstration video of the second player based on the game evaluation information and key video clips of the second player. The specific video generation method may include multiple ways. For example, when there are multiple key video clips, they can be spliced ​​and combined in a certain order to obtain a complete video, and then the game evaluation information is added as the display text content to obtain the game demonstration video; or a preset video editing template can be used to splice and combine the game evaluation information and key video clips to obtain a game demonstration video, etc.

[0054] This exemplary embodiment can use the server-side video splicing technology to complete the generation of the game display video, which can specifically include using preset tools to crop, splice and transcode multiple key video clips, such as determining the cropping time of each key video clip, editing each key video clip into a clip of preset time, and splicing, or determining the time of the game display video, and editing the time of each key video clip according to the time of the game display video, or first splicing each key video clip, and then editing and adjusting the spliced ​​video according to the time of the game display video. This exemplary embodiment can use a video template to process the game evaluation information and key video clips of the second player to obtain a game display video, and the video template can include switching special effects and detailed content of dynamic titles, battle record data display animations, and highlight clips. In addition, after the game display video is generated, it can also be converted into a format and output a standardized video file for loading by the client.

[0055] In an exemplary embodiment, the video display method in the above game may further include:

[0056] The game evaluation information of the second player is displayed in the graphical user interface.

[0057] In addition to displaying the game demonstration video of the second player in the graphical user interface, the game evaluation information can also be directly displayed, so that the first player can see the game evaluation of the second player more intuitively.

[0058] In an exemplary embodiment, the above-mentioned obtaining of key video clips of the game character controlled by the second player in the historical game game may include:

[0059] Obtain historical game play videos of the game character controlled by the second player;

[0060] Extract multiple candidate key video clips whose game indicators meet preset conditions from historical game match videos;

[0061] A key video segment of a game character controlled by a second player in a historical game match is determined from a plurality of candidate key video segments.

[0062] This exemplary embodiment can record historical game match videos in which players control game characters to play games. The historical game match videos can be complete game videos, such as video data of a game match. Considering that the amount of data in historical game match videos is large, there may be many key video clips therein. Therefore, this exemplary embodiment can first extract multiple candidate key video clips from the historical game match videos, and then determine the key video clips of the game character controlled by the second player in the historical game match from the multiple candidate key video clips. Among them, the candidate key video clips refer to highlight video clips that can be selected for generating game display videos. For example, all highlight video clips are first extracted from all videos as candidate key video clips, and then the final key video clips are determined from the candidate key video clips.

[0063] Game indicators refer to preset indicators used to extract candidate key video clips from historical game match videos. This exemplary embodiment can extract multiple candidate key video clips from historical game match videos based on the game indicators. Game indicators can be, for example, the maximum number of wins, the maximum number of people defeated, the highest output damage, etc. The specific content and quantity can be set according to actual needs. Correspondingly, the game indicators that meet the preset conditions can be, for example, the maximum number of wins is greater than the preset number, the maximum number of people defeated is greater than the preset number, the highest output damage is greater than the preset threshold, etc. The preset conditions can also be adjusted or changed according to different game indicators, and the present disclosure does not make specific limitations on this. This exemplary embodiment can encode the preset indicators and preset conditions for extracting candidate key video clips to identify and extract candidate key video clips through the written code.

[0064] In an exemplary embodiment, determining the key video clip of the game character controlled by the second player in the historical game from a plurality of candidate key video clips may include:

[0065] Determine the game time corresponding to the candidate key video clips;

[0066] According to the order of game time from far to near, a preset number of candidate key video segments are selected from multiple candidate key video segments as key video segments.

[0067] Among them, the game time corresponding to the candidate key video clip refers to the time used to reflect the video clip, which can be the start time of the candidate key video clip, or the end time, or the intermediate time between the start time and the end time, etc. To determine the game time corresponding to the candidate key video clip, it can be to determine the time of all candidate key video clips according to a fixed standard, for example, to determine the end time of all candidate key video clips, and to sort them from far to near based on the time, and to extract a preset number of candidate key video clips from multiple candidate key video clips as key video clips, for example, 10 candidate key video clips are extracted from historical game match videos, and then 5 candidate key video clips that are closer to the current time are selected as key video clips.

[0068] In an exemplary embodiment, the video display method in the above game may further include:

[0069] Each key video clip is edited according to the preset editing duration.

[0070] Taking into account that different key video clips may have different lengths, for example, the first key video clip is 30 seconds and the second key video clip is 20 seconds, in order to ensure that the generated game display video can present a variety of key video clips as fully as possible and ensure the standardization of its video generation, this exemplary embodiment can edit each key video clip according to the editing duration conditions, for example, each key video clip can be edited into 5s or 10s clips, or the key video clips used to constitute the game display video can be edited into video clips of different lengths at preset time intervals, and so on.

[0071] In an exemplary embodiment, displaying the game demonstration video of the second player in the graphical user interface may include:

[0072] During the player matching phase, the second player's game demonstration video is displayed.

[0073] The player matching stage refers to the stage used to match a first player with a second player. In this stage, one or more second players can be matched for the first player, and the game display video of the second player can be displayed. For example, when the first player is matched with a rival player, the game display video of the opponent player can be displayed in the game interface; when multiple teammate players are matched for the first player, when the first teammate player is matched, the game display video of the first teammate player can be displayed, and when the second teammate player is matched, the game display video of the second teammate player can be displayed, etc., so as to timely understand the game situation of the matched teammate players.

[0074] In an exemplary embodiment, during the player matching phase, displaying the game demonstration video of the second player may include:

[0075] During the player matching phase, a second player's game demonstration video is displayed for a preset duration;

[0076] In response to reaching a preset time duration, display of the second player's game demonstration video is canceled.

[0077] During the player matching stage, the game demonstration video of the second player can be displayed for a preset length of time. For example, when the first player A is matched with the second player B, the game demonstration video of the second player B can be previewed and displayed for 3 seconds, and then the game demonstration video of the second player B can be closed after the display time reaches 3 seconds.

[0078] In an exemplary embodiment, the graphical user interface includes a second player's video presentation controls;

[0079] After canceling the display of the game demonstration video of the second player, the video display method in the game may further include:

[0080] In response to receiving a first preset operation on a video presentation control for a second player, a game presentation video of the second player is displayed.

[0081] In this exemplary embodiment, a video display control for the second player may be provided in the graphical user interface, and the video display control may be used to trigger the display of the second player's game display video. The first player may perform a first preset operation on the second player's video display control, such as single-clicking or double-clicking the video display control, to call out the second player's game display video. For example, when the first player A matches the second player B, the preview of the second player B's game display video is displayed for 3 seconds. After 3 seconds, the video is zoomed to a fixed entrance, such as the video display control next to the second player B's avatar. Then, the first player A may perform a first preset operation on the video display control next to the second player B's avatar, so as to display the second player B's complete game display video.

[0082] In this exemplary embodiment, the first player can be matched with multiple second players, each second player can have a corresponding video display control, and the first player can select the video display control corresponding to a second player to display the game display video of the second player.

[0083] The video display control can be displayed in a variety of ways, for example, the player's avatar can be set as an interactive video display control, or the video display control can be set in the avatar area or in the area near the avatar, etc. The first player can call out the second player's game display video by operating the second player's video display control, and can switch to the other player's game display video by operating other second players' video display controls. In addition, other operations can be performed to pause the game display video.

[0084] In an exemplary embodiment, displaying the game demonstration video of the second player in the graphical user interface may include:

[0085] During the game character selection phase, the game demonstration video of the second player is displayed.

[0086] The game character selection stage refers to the stage where the player selects a game character. In this stage, the player can select game characters of different professions and types to play the next game. This exemplary embodiment can also display the game demonstration video of the second player in the game character selection stage. In this stage, the first player and the second player can both select a controlled virtual character for the next game. Therefore, in order to facilitate the first player to further understand the second player, the game demonstration video of the second player can be displayed in this stage.

[0087] In an exemplary embodiment, there are multiple second players; the game character selection stage includes multiple sub-stages, each sub-stage is a stage for a corresponding player to select a game character; in the game character selection stage, displaying the game display video of the second player may include:

[0088] In the sub-stage corresponding to the second player, a game demonstration video of the second player who selects the game character is displayed.

[0089] In this exemplary embodiment, multiple second players can be matched for the first player. For example, in a team battle game, multiple teammates can be matched for the current player, and multiple teammates can serve as the second player. In some games, game character selection can include multiple sub-stages, each sub-stage is a stage for a corresponding player to select a game character. For example, 5 players form a team. Because the character attributes in the team structure have a fixed number of people, the 5 teammates can select their respective game characters in sequence or in the order of 1, 2, 2, etc.

[0090] In this exemplary embodiment, in order to facilitate the first player to understand the second player and to facilitate the first player to correspond with the second player in the second player's role selection stage, a game demonstration video of the second player who is selecting a game character can be displayed in the sub-stage corresponding to the second player. That is, when any second player makes a game character selection, the game demonstration video corresponding to the second player can be displayed. For example, when the first player has not entered the game character selection state, or has completed the game character selection and is waiting for other teammates to select a game character, when it is detected that a teammate C is selecting a game character, the game demonstration video of teammate C can be automatically displayed to enhance the presence of teammates.

[0091] In an exemplary embodiment, the video display method in the above game may further include:

[0092] In the sub-stage corresponding to the second player, displaying a plurality of video presentation controls of the second player in the graphical user interface;

[0093] The video display control is used to trigger the display of the game display video of the second player.

[0094] This exemplary embodiment can also display video display controls of multiple second players in the graphical user interface at the stage when the second player selects a game character, for example, displaying a player list of multiple second players on the side of the graphical user interface of the first player, and displaying video display controls therein, such as displaying avatars of multiple second players and displaying video options next to the avatars, or displaying avatars of multiple second players, and the avatars can be directly used as video display controls, etc. The first player can trigger the display of the game display video of the second player by operating the video display control, for example, clicking the video option next to a second player, or clicking the avatar of a second player, that is, the game display video of the second player can be displayed.

[0095] In an exemplary embodiment, displaying the game demonstration video of the second player in the graphical user interface may include:

[0096] During the game loading phase, the second player's game demonstration video is displayed.

[0097] Among them, the game loading stage refers to the preparation stage for entering the game. In this stage, players usually need to wait for a period of time for the game to load. At this time, the game demonstration video of the second player can be displayed. On the one hand, it enriches the player's gameplay during the waiting time, and on the other hand, it provides players with a way to further understand other players.

[0098] In an exemplary embodiment, the video display method in the above game may further include:

[0099] When the first player is matched with the second player, a combined game demonstration video of the first player and the second player is displayed during the game loading phase.

[0100] Considering that in actual games, when matching games, it is often a team battle. In order to improve the tacit understanding and cooperation within the team, it is necessary to have a certain understanding of oneself and teammates. In the game loading stage, one or more second players matched with the first player have been determined. Therefore, in order to improve the perfection and diversity of the game display video, this exemplary embodiment can display the combined game display video of the first player and the second player in the game loading stage when the first player is matched with the second player to highlight the overall strength of the team. Among them, the combined game display video can include the game video of the first player, and can also include the game video of the second player. It can be a simple splicing of the game videos of the first player and the second player, or it can be obtained after editing the game videos of the first player and the second player.

[0101] In an exemplary embodiment, the video display method in the above game may include:

[0102] Obtain historical game data of the first player and the second player in the historical game match;

[0103] A combined game presentation video of the first player and the second player is generated based on the historical game data of the first player and the second player.

[0104] When it is determined that a combined game display video of the first player and the second player needs to be generated, this exemplary embodiment can obtain historical game data of the first player and the second player in historical game matches, where the historical game data may include game statistics, such as performance statistics and character usage statistics, as well as game video data, and then generate a combined game display video of the first player and other players based on the historical game data of the first player and the second player.

[0105] In an exemplary embodiment, the graphical user interface provides a video display control corresponding to the second player; when the first player is matched with the second player, displaying the game display video of the second player in the graphical user interface may include:

[0106] When the first player is matched with the second player, in response to receiving a second preset operation for the video presentation control, the game presentation video of the second player corresponding to the video presentation control is displayed in the graphical user interface.

[0107] This exemplary embodiment may provide a video display control corresponding to the second player in a graphical user interface. For example, the second player's avatar may be used as a game display control, or a fixed option control may be set next to the second player's avatar as a video display control. When the first player is matched with the second player, when the first player performs a second preset operation on the video display control, such as a single click or double click, the game display video of the second player corresponding to the video display control may be displayed in the graphical user interface.

[0108] It should be noted that in different graphical user interfaces, the display position of the video display control corresponding to the second player may be different, and the display position and display method of the game display video may also be different, and the present disclosure does not make specific limitations on this.

[0109] The exemplary embodiments of the present disclosure also provide a video display device in a game. Figure 4 The device 400 may include a game instruction receiving module 410 for receiving a game matching instruction of a first player; a game video display module 420 for displaying a game display video of the second player when the first player is matched with the second player; wherein the game display video is generated based on the historical game data of the second player.

[0110] In an exemplary embodiment, the video display device in the game also includes: a first data acquisition unit, used to acquire historical game data of the second player in historical game matches; and a first video generation unit, used to generate a game display video of the second player based on the historical game data.

[0111] In an exemplary embodiment, the first data acquisition unit includes: a second data acquisition unit, which is used to obtain game statistics of the second player in historical game matches, and obtain key video clips of the game character controlled by the second player in the historical game matches; the first video generation unit includes: a second video generation unit, which is used to generate a game demonstration video of the second player based on the game statistics and the key video clips.

[0112] In an exemplary embodiment, the first data acquisition unit includes: an identification query subunit, which is used to determine the identification information of the second player and query the historical game data of the second player in the historical game matches according to the identification information.

[0113] In an exemplary embodiment, the game statistics data include game match data and character usage data; the second video generation unit includes: an evaluation data determination subunit, used to determine the game evaluation information of the second player based on the game match data and the character usage data; a display video generation subunit, used to generate a game display video of the second player based on the game evaluation information and key video clips of the second player.

[0114] In an exemplary embodiment, the second data acquisition unit includes: a game video acquisition subunit, used to acquire historical game game videos of a game character controlled by a second player; a candidate video extraction subunit, used to extract multiple candidate key video clips whose game indicators meet preset conditions from the historical game game videos; and a video clip screening subunit, used to determine the key video clips of the game character controlled by the second player in the historical game games from multiple candidate key video clips.

[0115] In an exemplary embodiment, the video clip screening subunit includes: a game time determination subunit, used to determine the game time corresponding to the candidate key video clip; a video clip selection subunit, used to select a preset number of candidate key video clips as key video clips from multiple candidate key video clips in order of game time from far to near.

[0116] In an exemplary embodiment, the video display device in the game further includes: an editing processing unit, which is used to perform editing processing on each key video segment according to a preset editing duration.

[0117] In an exemplary embodiment, the game video display module includes: a first display unit, used to display the game demonstration video of the second player during the player matching stage.

[0118] In an exemplary embodiment, the first display unit includes: a first display subunit, used to display a game demonstration video of the second player for a preset time during the player matching stage; in response to reaching the preset time, canceling the display of the game demonstration video of the second player.

[0119] In an exemplary embodiment, the graphical user interface includes a video display control for the second player; after canceling the display of the game display video of the second player, the video display device in the game also includes: a first operation processing unit, which is used to display the game display video of the second player in response to receiving a first preset operation for the video display control of the second player.

[0120] In an exemplary embodiment, the game video display module includes: a second display unit, which is used to display the game demonstration video of the second player in the game character selection stage.

[0121] In an exemplary embodiment, there are multiple second players; the game character selection stage includes multiple sub-stages, each sub-stage is a stage for the corresponding player to select a game character; the second display unit includes: a second display sub-unit, used to display the game demonstration video of the second player who selects the game character in the sub-stage corresponding to the second player.

[0122] In an exemplary embodiment, the video display device in the game also includes: a control display unit, which is used to display multiple video display controls of the second player in the graphical user interface in the sub-stage corresponding to the second player; wherein the video display control is used to trigger the display of the game display video of the second player.

[0123] In an exemplary embodiment, the game video display module includes: a third display unit, used to display the game demonstration video of the second player during the game loading phase.

[0124] In an exemplary embodiment, the video display device in the game further includes: a fourth display unit for displaying a combined game presentation video of the first player and the second player during the game loading phase when the first player is matched with the second player.

[0125] In an exemplary embodiment, the video display device in the game also includes: a game data acquisition unit, which is used to acquire historical game data of the first player and the second player in historical game matches; and a combined video generation unit, which is used to generate a combined game display video of the first player and the second player based on the historical game data of the first player and the second player.

[0126] In an exemplary embodiment, a graphical user interface provides a video display control corresponding to a second player; the game video display module includes: a second operation processing unit, which is used to display the game display video of the second player corresponding to the video display control in the graphical user interface in response to receiving a second preset operation for the video display control when the first player is matched with the second player.

[0127] The specific details of each part of the above-mentioned device have been described in detail in the implementation method of the method part. The undisclosed details can be found in the implementation method of the method part, so they will not be repeated here.

[0128] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0129] The exemplary embodiments of the present disclosure also provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the video display method in the game is implemented.

[0130] In one embodiment, the computer program product may be a tangible product containing a computer program, such as a computer-readable storage medium storing a computer program. The readable storage medium may be a storage medium based on electrical, magnetic, optical, electromagnetic, infrared, or other signals, including but not limited to: random access memory (RAM), read-only memory (ROM), magnetic tape, floppy disk, flash memory (Flash), mechanical hard disk (HDD), solid-state drive (SSD), and the like. Exemplarily, the computer program product may be implemented as a non-volatile storage medium storing a computer program, such as a read-only memory, a NAND flash memory, and the like.

[0131] In one embodiment, the computer program product may be an intangible product including a computer program. Exemplarily, the computer program product may be implemented as a virtual digital product, such as a digital file storing an executable file, an installation package, etc. of the computer program.

[0132] The code of the computer program can be written in one or more programming languages. Programming languages ​​such as C language, Java, C++, etc. The program code can be executed entirely on the user computing device, or partially on the user computing device, or as a separate software package, or partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, such as a local area network (LAN), a wide area network (WAN), etc., or can be connected to an external computing device (e.g., an Internet connection provided by an operator).

[0133] The computer program may be carried or transmitted via electrical, magnetic, optical, electromagnetic, infrared, or other signals. The electronic device may convert the signal carrying the computer program into a digital signal, thereby running the computer program. When the computer program is run on an electronic device, its code is used to enable the electronic device to execute (more specifically, the processor of the electronic device may execute) the method steps of various exemplary embodiments of the present disclosure, such as the video display method in the above-mentioned game.

[0134] The exemplary embodiment of the present disclosure also provides an electronic device. The electronic device may include a processor and a memory. The memory stores executable instructions of the processor, such as program code. The processor executes the method in the exemplary embodiment by executing the executable instructions. In addition, the electronic device may also include a display for displaying a graphical user interface.

[0135] Reference below Figure 5 , the electronic device is exemplarily described in the form of a general-purpose computing device. It should be understood that Figure 5The electronic device 500 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0136] like Figure 5 As shown, the electronic device 500 may include: a processor 510 , a memory 520 , a bus 530 , an I / O (input / output) interface 540 , a network adapter 550 , and a display 560 .

[0137] The memory 520 may include a volatile memory, such as a RAM 521, a cache unit 522, and may also include a non-volatile memory, such as a ROM 523. The memory 520 may also include one or more program modules 524, such program modules 524 include but are not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or a combination thereof may include the implementation of a network environment. For example, the program module 524 may include each module in the above-mentioned device.

[0138] The processor 510 may include one or more processing units. For example, the processor 510 may include an AP (Application Processor), a modem processor, a GPU (Graphics Processing Unit), an ISP (Image Signal Processor), a controller, an encoder, a decoder, a DSP (Digital Signal Processor), a baseband processor and / or an NPU (Neural-Network Processing Unit), etc.

[0139] The processor 510 may be used to execute executable instructions stored in the memory 520, such as executing the video display method in the above-mentioned game.

[0140] The bus 530 is used to realize the connection between different components of the electronic device 500, and may include a data bus, an address bus, and a control bus.

[0141] The electronic device 500 can communicate with one or more external devices 600 (eg, a keyboard, a mouse, an external controller, etc.) through the I / O interface 540 .

[0142] The electronic device 500 can communicate with one or more networks through the network adapter 550. For example, the network adapter 550 can provide mobile communication solutions such as 3G / 4G / 5G, or provide wireless communication solutions such as wireless LAN, Bluetooth, near field communication, etc. The network adapter 550 can communicate with other modules of the electronic device 500 through the bus 530.

[0143] The electronic device 500 can display a graphical user interface through the display 560, such as displaying a game editing scene.

[0144] although Figure 5 Not shown, other hardware and / or software modules may also be provided in the electronic device 500, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0145] As can be seen from the above, the technical solution of the present disclosure can be implemented as a method, an apparatus, a system, a computer program product, a storage medium, an electronic device, etc. Those skilled in the art can understand that various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software, such as being respectively referred to as a "circuit", "module" or "system".

[0146] It should be understood that the present disclosure is not limited to the specific method steps or structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from the scope thereof. Those skilled in the art will easily think of other embodiments based on the specific embodiments provided by the present disclosure. Therefore, the specific embodiments provided by the present disclosure are only exemplary, and the scope and spirit of the present disclosure are indicated by the claims, and any variations, uses or adaptive changes of the present disclosure should be covered, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the technical field that are not disclosed in the present disclosure.

[0147] It will be appreciated by those skilled in the art that various aspects of the present disclosure may be implemented as a system, method or program product. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which may be collectively referred to herein as a "circuit", "module" or "system". Those skilled in the art will readily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any variations, uses or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and implementation are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0148] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for displaying video in a game, characterized in that: Applied to a terminal device, the terminal device provides a graphical user interface, the method comprising: Receive a game matching instruction from a first player; When the first player is matched with a second player, displaying a game demonstration video of the second player in the graphical user interface; Wherein, the game demonstration video is generated according to the historical game data of the second player.

2. The method according to claim 1, characterized in that The method further comprises: Obtaining historical game data of the second player in historical game matches; A game demonstration video of the second player is generated based on the historical game data.

3. The method according to claim 2, characterized in that The obtaining of historical game data of the second player in historical game matches includes: Obtaining game statistics of the second player in historical game matches, and obtaining key video clips of the game character controlled by the second player in the historical game matches; The step of generating a game display video of the second player according to the historical game data includes: Generate a game demonstration video of the second player according to the game statistics and the key video clips.

4. The method according to claim 2, characterized in that: The obtaining of historical game data of the second player in historical game matches includes: The identification information of the second player is determined, and historical game data of the second player in historical game matches is queried according to the identification information.

5. The method according to claim 3, characterized in that: The game statistics include game match data and character usage data; The step of generating a game demonstration video of the second player according to the game statistics data and the key video clips includes: Determining game evaluation information of the second player according to the game match data and the character usage data; A game demonstration video of the second player is generated according to the game evaluation information of the second player and the key video clips.

6. The method according to claim 3, characterized in that The step of obtaining key video clips of the game character controlled by the second player in the historical game game includes: Obtaining historical game play videos of the game character controlled by the second player; Extracting multiple candidate key video clips whose game indicators meet preset conditions from the historical game match videos; Determine the key video clips of the game character controlled by the second player in the historical game match from the multiple candidate key video clips.

7. The method according to claim 6, characterized in that The step of determining the key video clip of the game character controlled by the second player in the historical game from the plurality of candidate key video clips includes: Determining the game time corresponding to the candidate key video clip; According to the order of the game time from far to near, a preset number of candidate key video segments are selected from the multiple candidate key video segments as the key video segments.

8. The method according to claim 7, characterized in that The method further comprises: Each of the key video clips is edited according to the preset editing duration.

9. The method according to claim 1, characterized in that: The step of displaying the game demonstration video of the second player in the graphical user interface comprises: During the player matching stage, the game demonstration video of the second player is displayed.

10. The method according to claim 9, characterized in that The step of displaying the game demonstration video of the second player during the player matching stage includes: During the player matching phase, a game demonstration video of the second player is displayed for a preset duration; In response to reaching the preset time length, canceling the display of the game demonstration video of the second player.

11. The method according to claim 10, characterized in that The graphical user interface includes a video presentation control for the second player; After canceling the display of the game demonstration video of the second player, the method further includes: In response to receiving a first preset operation for the video presentation control of the second player, the game presentation video of the second player is displayed.

12. The method according to claim 1, characterized in that The step of displaying the game demonstration video of the second player in the graphical user interface comprises: During the game character selection phase, the game demonstration video of the second player is displayed.

13. The method according to claim 12, characterized in that There are multiple second players; the game character selection stage includes multiple sub-stages, each sub-stage is a stage for a corresponding player to select a game character; The step of displaying the game demonstration video of the second player during the game character selection stage includes: In the sub-stage corresponding to the second player, a game demonstration video of the second player who selects the game character is displayed.

14. The method according to claim 13, characterized in that The method further comprises: In the sub-phase corresponding to the second player, displaying a plurality of video presentation controls of the second player in the graphical user interface; The video display control is used to trigger the display of the game display video of the second player.

15. The method according to claim 1, characterized in that The step of displaying the game demonstration video of the second player in the graphical user interface comprises: During the game loading phase, the game demonstration video of the second player is displayed.

16. The method according to claim 1, characterized in that The method further comprises: When the first player is matched with the second player, a combined game demonstration video of the first player and the second player is displayed during the game loading phase.

17. The method according to claim 16, characterized in that The method further comprises: Acquire historical game data of the first player and the second player in historical game matches; A combined game presentation video of the first player and the second player is generated based on the historical game data of the first player and the second player.

18. The method according to claim 1, characterized in that The graphical user interface provides a video display control corresponding to the second player; and when the first player is matched with the second player, displaying the game display video of the second player in the graphical user interface includes: In a case where the first player is matched with a second player, in response to receiving a second preset operation for a video presentation control, a game presentation video of the second player corresponding to the video presentation control is displayed in the graphical user interface.

19. A video display device in a game, characterized in that: Applied to a terminal device, the terminal device provides a graphical user interface, and the device comprises: A game instruction receiving module, used to receive a game matching instruction from a first player; A game video display module, configured to display a game demonstration video of a second player when the first player is matched with the second player; Wherein, the game demonstration video is generated according to the historical game data of the second player.

20. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the video display method in the game described in any one of claims 1-18 by executing the executable instructions.

21. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for displaying video in a game according to any one of claims 1 to 18 is implemented.