CN114288645A - Picture generation method, system, device and computer storage medium - Google Patents
Picture generation method, system, device and computer storage medium Download PDFInfo
- Publication number
- CN114288645A CN114288645A CN202111644039.3A CN202111644039A CN114288645A CN 114288645 A CN114288645 A CN 114288645A CN 202111644039 A CN202111644039 A CN 202111644039A CN 114288645 A CN114288645 A CN 114288645A
- Authority
- CN
- China
- Prior art keywords
- display
- game
- target
- picture
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The embodiment of the application provides a picture generation method, a system, a device and a computer storage medium. The method comprises the steps of obtaining a plurality of target game data of a first source, wherein each target game data comprises at least one object data of a specific identification index; selecting a plurality of object data having the same specific identifier from a plurality of the target game data; rendering the object data by using a pre-established information display container to generate target image-text information, wherein the target image-text information comprises the display size, the display position and the data content of the object data; and acquiring a game display picture, and generating a target game picture through the game display picture and the target image-text information. In the embodiment, the target image-text information is generated by acquiring the target game data from a plurality of sources, and the watching pictures of the target game are generated by combining the game display pictures, so that the watching pictures are enriched, and the processing efficiency of picture generation is improved.
Description
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a picture generation method, a system, a device and a computer storage medium.
Background
With the rapid development of electronic sports, the hot tide of live broadcasting of electric competitions is also met due to the strong antagonism and appreciation of the electronic sports. Taking live electric competition as an example, real-time game data (such as equipment and economy of virtual characters, KDA (KILL DEATH ASSIST, abbreviated as killing rate) and the like) of the competitor in the competition process can improve the viewing experience of the audience and the understanding of the game competition.
However, in the current live competition of the electric competition, the game watching picture is collected by a live competition system of the electric competition, and then is directly sent to the live broadcast equipment for the audience to watch. Therefore, in the live broadcasting process of the electric competition, the live broadcasting process is easily limited by the limitation of the spectator fighting system, so that the relevant game data can not be displayed for the spectators, and the spectator fighting picture is single, so that rich watching experience can not be brought to the users.
Disclosure of Invention
The embodiment of the application provides a picture generation method, a system, a device and a computer storage medium, which can enrich and watch pictures and improve the processing efficiency of picture generation.
In a first aspect, an embodiment of the present application provides a picture generation method, including:
obtaining a plurality of target game data from a first source, wherein each target game data comprises at least one object data of a specific identification index;
selecting a plurality of object data having the same specific identifier from a plurality of the target game data;
rendering the object data by using a pre-established information display container to generate target image-text information, wherein the target image-text information comprises the display size, the display position and the data content of the object data;
and acquiring a game display picture, and generating a target game picture through the game display picture and the target image-text information.
Optionally, the generating a target game screen through the game display screen and the target graphics and text information includes:
and displaying the target graphic and text information in a game display picture in an overlapping manner to generate a target game picture.
Optionally, the method further comprises:
acquiring a plurality of target configuration data of a second source;
and displaying a picture comprising at least one target configuration data on a display interface.
Optionally, the obtaining a game display picture and generating a target game picture through the game display picture and the target graphics and text information includes:
determining characteristic parameters of the target image-text information, wherein the characteristic parameters comprise size and display content;
obtaining a game display picture;
determining the display position of the target image-text information relative to the game display picture according to the size of the target image-text information;
and generating a target game picture according to the display position, the game display picture and the display content of the target image-text information.
Optionally, the obtaining a game display screen includes:
and acquiring the video signal of the target game in real time to generate a game display picture.
Optionally, the process of creating the information display container includes: determining the size and the position of an information display container to be established according to the size of the display interface; establishing an information display container according to the size and the position of the information display container to be established; the size of the information display container is smaller than or equal to that of the display interface, and the information display container is positioned above the display interface;
and responding to a creation request of an information display container, and determining the size and the position of the information display container according to the size of a display interface, wherein the size of the information display container is smaller than or equal to the size of the display interface.
Optionally, the method further comprises:
determining the display time of each target image-text information;
and displaying the target image-text information in a game display picture in a superposition mode according to the display time.
Optionally, the method further comprises:
and the target image-text information is displayed above or outside the game display picture in an overlapping manner.
Optionally, the game display picture is a picture displayed in a game client corresponding to the target game; the target game picture is a video stream picture formed by combining the target image-text information and the game display picture.
In a second aspect, an embodiment of the present application provides a picture generation system, where the system includes a data acquisition unit, a data processing unit, and a data display unit;
the data acquisition unit is used for acquiring a plurality of target game data of a first source, and each target game data comprises at least one object data of a specific identification index;
the data processing unit is used for selecting a plurality of object data with the same specific identification from a plurality of target game data; rendering the object data by using a pre-established information display container to generate target image-text information, wherein the target image-text information comprises the display size, the display position and the data content of the object data; acquiring a game display picture, and generating a target game picture through the game display picture and the target image-text information;
the game display unit is used for displaying the target game picture on a display interface.
In a third aspect, an embodiment of the present application provides a screen generating apparatus, including:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a plurality of target game data of a first source, and each target game data comprises at least one object data of a specific identification index;
the selection module is used for selecting a plurality of object data with the same specific identification from a plurality of target game data;
the generating module is used for rendering the object data by utilizing a pre-established information display container to generate target image-text information, and the target image-text information comprises the display size, the display position and the data content of the object data; and acquiring a game display picture, and generating a target game picture through the game display picture and the target image-text information.
In a fourth aspect, an embodiment of the present application provides an electronic device including a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are called and executed by the processing component to implement the screen generating method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer-readable medium, which stores a computer program, and the computer program, when executed by a computer, implements the screen generating method according to the first aspect.
In the embodiment of the application, a plurality of target game data of a first source are obtained, and each target game data comprises at least one object data of a specific identification index; selecting a plurality of object data having the same specific identifier from a plurality of the target game data; rendering the object data by using a pre-established information display container to generate target image-text information, wherein the target image-text information comprises the display size, the display position and the data content of the object data; the method comprises the steps of obtaining a game display picture, generating a target game picture through the game display picture and the target image-text information, generating the target image-text information through obtaining target game data from a plurality of sources, and generating a watching picture of a target game through combining the game display picture, so that the watching picture is enriched, and the processing efficiency of picture generation is improved.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a framework diagram of a picture generation system according to an embodiment of the present application;
fig. 2 is a flowchart of a picture generation method according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating an effect of target graphics and text information according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram illustrating an effect of another target teletext information provided in the embodiment of the application;
fig. 5 is a schematic diagram illustrating an effect of another target teletext information according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating an effect of a target game screen according to an embodiment of the present disclosure;
fig. 7 is a flowchart of another picture generation method provided in the embodiment of the present application;
fig. 8 is a schematic diagram illustrating an effect of a display interface according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram illustrating an effect of another display interface provided in the embodiment of the present application;
fig. 10 is a schematic diagram illustrating an effect of another display interface provided in an embodiment of the present application;
FIG. 11 is a schematic diagram illustrating an effect of another target game screen according to an embodiment of the present application;
FIG. 12 is a schematic diagram illustrating an effect of another target game screen provided in an embodiment of the present application;
FIG. 13 is a schematic diagram illustrating an effect of another target game screen according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a picture generation apparatus according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of a computing device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
In some of the flows described in the specification and claims of this application and in the above-described figures, a number of operations are included that occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, the number of operations, e.g., 101, 102, etc., merely being used to distinguish between various operations, and the number itself does not represent any order of performance. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
The picture generation method is mainly applied to a picture generation method for live broadcasting of electric competitions, and particularly relates to a scheme for obtaining target game data from multiple sources to generate target image-text information and generating a watching picture of a target game by combining a game display picture, so that the watching picture of the live broadcasting of the electric competitions is enriched by displaying the watching picture of the target game.
The picture generation method of the embodiment of the application is applied to live broadcast equipment, wherein the live broadcast equipment can be Observer (OB) equipment, and specifically can be observer equipment in a game event. The device may be a terminal device, such as a mobile phone, a computer, etc.
In the embodiment of the application, by integrating a software HUD (head-up display), in an OB device, target graphics and text information is generated by directly reading a server or a target game internal interface, and a target game picture is generated by combining a game display picture, so that the function of automatically displaying game related data (namely the target graphics and text information) in real time can be achieved. According to the embodiment of the application, software integration and automatic display are adopted, so that the cost of software and hardware (such as a caption machine) is greatly saved, and the operation threshold is reduced.
The HUD rendering mode is a traditional web mode and has the advantages of being low in development cost and high in expandability.
Before introducing a picture generation method provided by the embodiment of the present application, a brief introduction is first made to a research background of the present application:
research finds that in live broadcasting of electric competition events, the most important thing is the display of game pictures and real-time data, however, in the current live broadcasting of electric competition events, the game client of a competitor usually obtains a fighting picture with game competition real-time data at a terminal, and sends the fighting picture to a server, and the server sends the game fighting picture to live broadcasting equipment watched by spectators for watching by the spectators. That is, after the game fighting picture is simply collected by the live competition system, the game fighting picture is directly sent to the live broadcast equipment for the audience to watch.
However, in the above manner, in the live broadcast process of the electric competition event, the flow of obtaining the game spectator image is complex, and the game spectator image needs to be sent to the server from the client of the contestant, and then sent to the live broadcast device by the server, so that the game spectator is easily limited by the limitation of the spectator system, and the relevant game data (such as the real-time game data of the contestant during the competition process) cannot be displayed for the spectator. Secondly, the combined display of game pictures and real-time data is not realized, so that the problem of single fighting picture is caused, and rich watching experience cannot be brought to users.
Furthermore, on the basis, research finds that the current live broadcasting scheme of the electric competition aims at solving the problem that the watching pictures are single, and the watching pictures of the live broadcasting of the electric competition are processed and synthesized through caption machine hardware so as to enrich the watching pictures.
However, the scheme of generating the display picture by the caption machine generally has the following problems: the caption machine cannot realize the display of a large amount of game real-time data, that is, when the caption machine carries out interactive display of a large amount of game real-time data, the instability of a live event broadcasting system can be caused; the compatibility of a game interface of the caption machine is poor; software and hardware equipment of a caption machine is very expensive, and is usually operated by professional technicians, so that the problem of high labor cost is caused.
In order to solve the problems of the current live broadcasting scheme of the electric competition and the scheme of synthesizing the display picture of the live broadcasting of the electric competition through a caption machine, the application researches a picture generating method, target image-text information is generated by acquiring target game data from a plurality of sources, and the watching picture of a target game is generated by combining the game display picture, so that the watching picture is enriched, and the processing efficiency of picture generation is improved. In addition, the function of automatically displaying game related data (namely target image-text information) in real time is realized through software integration (HUD) on live broadcast equipment (namely observer equipment), and the scheme is equivalent to the scheme of synthesizing a display picture of live broadcast of an electric competition through a caption machine, so that the development cost is saved, and the operation threshold is reduced; compared with the prior live broadcast scheme of the electric competition, the method and the device have the advantages that the watching pictures are enriched, and the processing efficiency of picture generation is improved.
Specifically, the application provides a picture generation method, which comprises the steps of obtaining a plurality of target game data of a first source, wherein each target game data comprises at least one object data of a specific identification index; selecting a plurality of object data having the same specific identifier from a plurality of the target game data; rendering the object data by using a pre-established information display container to generate target image-text information, wherein the target image-text information comprises the display size, the display position and the data content of the object data; and acquiring a game display picture, and generating a target game picture through the game display picture and the target image-text information, so that the watching pictures are enriched, and the processing efficiency of picture generation is improved.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a block diagram of a picture generation system according to an embodiment of the present disclosure, as shown in fig. 1, the system 1 includes a data acquisition unit 11, a data processing unit 12, and a data presentation unit 13, where the data acquisition unit 11 is configured to acquire data of a first source and a second source.
The data acquisition unit 11 is configured to acquire a plurality of target game data from a first source, where each target game data includes at least one object data of a specific identification index.
Optionally, the data acquisition unit 11 is further configured to acquire target configuration data of a second source.
In this embodiment, the data acquisition unit 11 may acquire, through each interface corresponding to each first source, a plurality of target game data of each first source, where each target game data may include at least one object data, and each object data includes a corresponding specific identifier.
When the frame generation system of the electronic competition system is used, the first source may include a plurality of sources, such as a media input device, an event background system, a game client, and the like, and the HUD needs to obtain corresponding target game data by reading a server of the media input device, a server of the event background system, or an internal interface of the game client. The second source may include local configuration information, which is stored in the HUD. The data processing unit 12 is configured to select a plurality of object data with the same specific identifier from a plurality of the target game data; rendering the object data by using a pre-established information display container to generate target image-text information, wherein the target image-text information comprises the display size, the display position and the data content of the object data; and acquiring a game display picture, and generating a target game picture through the game display picture and the target image-text information.
In this embodiment, the data acquisition unit 11 and the data processing unit 12 may be integrated in the HUD, and are used to acquire the target game data and generate the target game picture through the HUD, where the target game picture may be understood as a video stream picture combining the target graphics and text information and the game display picture, and is used for displaying in the live broadcast device, so that the user can watch the watching picture of the target game.
The game display unit 13 is configured to display the target game screen on a display interface.
Optionally, the game display unit 13 is further configured to display the target configuration data on a display interface.
In this embodiment, the game display unit 13 may include a live device or a live terminal.
Fig. 2 is a flowchart of a picture generation method according to an embodiment of the present application, and as shown in fig. 2, the method includes:
101. obtaining a plurality of target game data from a first source, wherein each target game data comprises at least one object data of a specific identification index;
in this step, the present application defines a source path for obtaining the target game data from outside the HUD as a first source, wherein the first source may include a plurality of sources, such as a media input device, an event back-end system, a game client, etc., and the HUD needs to obtain the corresponding target game data by reading a server of the media input device, a server of the event back-end system, or an internal interface of the game client.
Where the target game data available from different sources is different, for example, real-time camera information of the event is captured via the media input device, where the real-time camera information may include panoramic camera information, team camera information, player camera information. Wherein. The panoramic camera information mainly comprises panoramic shot images/videos of a competition venue, and can comprise teams, team members, live audiences or commentators and the like. Team camera information includes captured images/video of the area where the team (typically including the entire team member) is located. The player camera information includes a shot image/video of the position where the player is located.
Alternatively, the player camera information may be used to locate multiple players via object detection (face recognition associated with player ID, ID card information) while collecting multiple hand portraits, using the multiple player scene information as a player portraits data source for subsequent use
Wherein a game may include a plurality of matches, each match having at least two participating teams, each team including a plurality of players. The game client displays the game picture in real time, and determines the object in the game as an element (such as a defense tower, etc.), so the feature identifiers include but are not limited to: player id, team id, event id, element id, game id, etc.
Optionally, the media input device is used to collect real-time camera information of the event, that is, the media input device can provide target game data including but not limited to: panoramic camera information, team camera information, player camera information.
Optionally, the game backdrop system may provide target game data including, but not limited to: event information (e.g., event id, event name, alignment information, event results, etc.), team information (team logo, team id, member lineup, etc.), and team member information (player id, identity information, photograph, in-team location, etc.).
Optionally, the game client may provide match real-time data for the target game, wherein the match real-time data includes, but is not limited to, team/player scores (number of people/attack/death, etc.), duration of the match, player items/equipment, countdown of individual elements within the game, and the like.
Optionally, each target game data includes at least one specifically identifying indexed object data. Taking "player camera information" in the media input device as an example, the "player camera information" includes a player id of a corresponding player and an image pickup signal of the player. The player id is a specific identifier, and the image pickup signal of the player is object data.
Taking "team member information" in the event background system as an example, the "team member information" includes player information of all players of each team, and each player information includes corresponding player id and other related information (such as identity information, photos, in-team position, etc.). The player id is a specific identifier, and other related information (such as identity information, a photo, an in-team position, etc.) of the player is object data.
Taking the "score" in the game client as an example, the "score" includes the team id of the participating team and the score between each participating team, specifically includes the player id of each player in each team and the head count/attack count/death count of each player in each team. The team id or the player id may be a specific identifier, and the score between teams for each match, the player id of each player in each team, and the number of people/attack/death of each player in each team, etc. are object data respectively indexed by each team id. The player id of each player and the number of people/attack/death of each player in each team are object data respectively indexed by each player id.
102. And selecting a plurality of object data with the same specific identification from a plurality of target game data.
In this step, the plurality of target game data may be target game data acquired by the plurality of first sources.
In the embodiment of the present invention, a plurality of object data having the same specific identifier are extracted from a plurality of target game data, and for example, taking the team ids (for example, a team id and a team id) of two participating teams included in a pair of array information of a certain event as an example, object data respectively indexed by the team id and the team id can be obtained by selecting one of a path and a plurality of paths from a media input device, a game background, and a game client. For example, the object data that can be acquired as the a team id index includes the event information (e.g., the event id, the event name, the battle information between the a team and the other team, the event result of the a team, etc.) for each event, the team image of the a team, the score of the a team, and the number of heads/attacks/deaths of each player in the a team. The target data of team B can be acquired by referring to the above-described acquisition target data.
It should be noted that, the selection of a plurality of object data having the same specific identifier is not limited to one specific identifier, and may be a plurality of object data. For example, a plurality of object data indexed by team a id and a plurality of data indexed by team B id may be acquired.
103. And rendering the plurality of object data by using a pre-established information display container to generate target image-text information.
In this step, the target teletext information may include, in addition to text or pictures, video or gif moving pictures, etc., which is not limited in this application.
In this step, the target graphics context information includes a display size, a display position, and a data content of the plurality of object data. That is, when a plurality of object data are rendered by using a pre-established information display container to generate target graphics and text information, the display size, display position and data content of the object data need to be set according to the object data to be displayed, and the display size, display position and data content can be specifically set according to requirements.
Alternatively, for example, the generated target graphics context information is a game situation between two teams, where the game situation is expressed as scores of a plurality of teams and players in the teams. Specifically, when the object data includes the score of the team a and the number of heads/attack/death of each player in the team a, the score of the team B, and the number of heads/attack/death of each player in the team B, the number of heads/attack/death of each player in the team a and the score of the team a, the score of the team B, and the number of heads/attack/death of each player in the team B are displayed on the basis of a display template set in advance for each object data. As shown in fig. 3, target graphic information, which is the game situation between the team a and the team B, is generated by rendering the plurality of object data using a pre-established information presentation container, and the target graphic information is presented on the information presentation container 21.
The display size of each display object data is usually the template size of a display template preset for each object data, the display position is usually determined for the display template preset for each object data, and the data content is derived from a first source, and may be a team score and a player score (number of people/attack number/death number, etc.) obtained from the game client.
In an actual application scene, the target graphic and text information can be displayed when a game is selected to be played to a certain stage, so that the audience can clearly know the latest game situation, and the watching experience of the audience and the understanding of game competition can be improved. It should be noted that the target graphics context generated in fig. 3 (the opposite party battle situation between two teams) is only an example, and in practical applications, since there may be many data obtained with the same specific identification object, a plurality of target graphics contexts may be freely combined and formed. For example, as shown in fig. 4, in addition to the display of the number of heads/attack/death of each player in the a team and the score of the a team, the score of the B team, and the number of heads/attack/death of each player in the B team, information (such as player camera information) on the MVP player (the player with the highest KD in the previous round in the current game), the team logo, the total team equipment value, and the like may be displayed. It should be noted that although the information about the MVP player (player with the highest KD in this round) may cause a problem of blocking the game display screen, the display time of the object data may be set, for example, the MVP player in the previous round (player with the highest KD in this round) may be displayed momentarily at the start of the next round.
Optionally, the equipment of the players in the team a and the equipment of the players in the team B, or the number of each player in the team, or the equipment evaluation of each team may be further displayed, specifically, the target graphic information may be generated by selecting the object data according to the requirement, and the target graphic information may be displayed.
As another alternative, for example, the generated target graphic information is the game situation of the players, wherein the game situation of the players is represented as the related information of one player in the current game. Specifically, as shown in fig. 5, the object data includes a photograph 51 of player a, a picture 52 of a virtual character used, a skill 53, a blood test bar 54, a prop 55, and the like, and the object data of player a can be displayed on the basis of a display template set in advance for each object data. And generating target graphic and text information by rendering the plurality of object data by using a pre-established information display container, and displaying the target graphic and text information in the information display container 21, wherein the target graphic and text information is the game situation of the players.
In an actual application scene, the target graphic and text information can be displayed when a game is selected to be played to a certain stage, so that the audience can clearly know the latest game playing situation of each player, and the watching experience of the audience and the understanding of a game match can be improved. It should be noted that, in practical applications, since more object data with the same specific identifier may be obtained, any combination of object data may be selected according to requirements to generate the target graphics and text information.
In the embodiment of the application, the pre-established information display container can be set as the transparent window for displaying the target image-text information, and the transparent window is overlapped on the game display picture, so that the game impression is not influenced, the information source is expanded by displaying the target image-text information, and the viewing picture is enriched.
104. And acquiring a game display picture, and generating a target game picture through the game display picture and the target image-text information.
In this step, the game display picture is a picture displayed in a game client corresponding to the target game, namely a real-time picture operated by the game client; the target game picture is a video stream picture formed by combining the target image-text information and the game display picture and is used for displaying the video stream picture on live broadcast equipment.
In the embodiment of the application, after an information display container (namely, a transparent window) is established in advance, the acquired object data is analyzed and rendered on the transparent window, so that target image information is formed, and the information display container is set to be in a transparent state, so that a game display picture is not influenced, the target image information is matched with the game display picture, the viewing picture is enriched, and the viewing experience of audiences and the understanding of game competition can be improved by displaying the target image information.
For example, as shown in fig. 6, on the basis of the target graphics and text information generated in fig. 3, a target game screen is generated by matching the target image information with the game display screen, and the target game screen is displayed on the display interface 22 in the live device.
Fig. 7 is a flowchart of another picture generation method provided in an embodiment of the present application, and as shown in fig. 7, the method includes:
201. a plurality of target game data of a first source is obtained, each target game data including at least one object data of a particular identified index.
In the embodiment of the present application, the execution process of this step may refer to step 101 of the above embodiment, which is not described again in the embodiment of the present application.
202. And selecting a plurality of object data with the same specific identification from a plurality of target game data.
In the embodiment of the present application, the execution process of this step may refer to step 102 of the above embodiment, which is not described again in the embodiment of the present application.
203. And rendering the plurality of object data by using a pre-established information display container to generate target image-text information, wherein the target image-text information comprises the display size, the display position and the data content of the plurality of object data.
In the embodiment of the present application, the execution process of this step may refer to step 103 of the above embodiment, which is not described again in the embodiment of the present application.
Further, before step 203, the process of creating the information display container includes: determining the size and the position of an information display container to be established according to the size of the display interface; and establishing the information display container according to the size and the position of the information display container to be established.
In this step, the size of the information display container is smaller than or equal to the size of the display interface, the information display container is located above the display interface, and the size of the display interface is the size of the display screen of the live broadcast device.
Preferably, the size of the information presentation container is set equal to the size of the display interface, so that the information presentation container can completely cover the display interface. The purpose of being able to completely cover the display interface with respect to the setting information presentation container is to: as the object data is acquired and then needs to be analyzed and rendered on the information display container to form the target image-text information, as shown in fig. 8, if the size of the information display container 21 is smaller than the size of the display interface 22, the displayed target image-text information may block the center of the display interface 22, thereby affecting the physical examination of the user.
It should be noted that, as shown in fig. 9, in the present application, it is considered that the main area 221 of the general display interface is the main operation area of the virtual character corresponding to the target game, and if the size of the information display container is smaller than the size of the display interface, the displayed target graphic and text information may block the main area of the display interface, so as an alternative, when the size of the information display container is smaller than the size of the display interface, it may be considered that the target graphic and text information in the information display container is disposed in the sub area 222 (i.e., a gray portion) of the display interface, that is, displayed above the sub area of the game display screen, and the display size of the default game display screen is the size of the display interface.
As another preferred scheme, the size of the information display container is set to be equal to the size of the display interface, so that the information display container can completely cover the display interface, and the target image-text information is set to be displayed above the secondary region 222 of the game display picture, so that the display picture can be enriched, and the problem that the user viewing experience is poor due to the fact that the target image-text information excessively blocks the primary region of the display interface can be solved.
As a possible implementation scheme, as shown in fig. 10, the size of the information display container is set to be equal to the size of the display interface, the game display picture of the target game is obtained, the game display picture 23 is scaled down in a relative proportion, the size of the information display container 21 is set to be larger than the size of the game display picture 23, and the target image-text information is set to be displayed outside (i.e., a gray portion) the game display picture 23, so that the display picture can be enriched, and the target image-text information can be prevented from blocking the game display picture.
Optionally, the information display container is a virtual container, the information display container and the display interface may be disposed on the same layer, and the information display container is disposed on the top layer, so that the information display container can completely cover the display interface.
204. And acquiring a game display picture, and generating a target game picture through the game display picture and the target image-text information.
In the embodiment of the application, the scheme of combining the game display picture with the target image-text information is mainly adopted, specifically, the target image-text information is displayed in the game display picture in a superposition mode to generate the target game picture, and the target game picture can be displayed in the live broadcast equipment as the display picture, so that the watching pictures are enriched.
In this embodiment of the present application, optionally, step 204 may include:
2041. determining characteristic parameters of the target image-text information, wherein the characteristic parameters comprise size and display content;
in this step, the display content of the target graphics-text information includes the display size, the display position and the data content of a plurality of the object data.
The size of the target graphic and text information can be determined according to the display content, and the target graphic and text information needs to be set as much as possible to be displayed above the secondary area of the game display picture when the viewing experience is guaranteed (for example, the target graphic and text information is too small in size and may cause the problem that the display content is not clearly viewed).
2043. Obtaining a game display picture;
in the embodiment of the application, optionally, the video signal of the target game is collected in real time to generate a game display picture.
2044. Determining the display position of the target image-text information relative to the game display picture according to the size of the target image-text information;
in the embodiment of the present application, optionally, a display position of the target graphics and text information relative to the secondary area of the game display picture is determined according to the size of the target graphics and text information.
Alternatively, as shown in fig. 11, the target graphics information c may be disposed below the sub area with respect to the game display screen 23.
2045. And generating a target game picture according to the display position, the game display picture and the display content of the target image-text information.
In the embodiment of the present application, as shown in fig. 11, if it is determined that the display position of the target graphic and text information c is located below the sub area relative to the game display screen 23, the target game screen is generated according to the game display screen and the display content of the target graphic and text information.
It should be noted that the above target graphics context information is only an example, and in practical applications, a plurality of target graphics context information may be set according to requirements, and the display position of each target graphics context information is determined by referring to the above manner, so as to generate the target game screen. For example, as shown in fig. 12, in the case where the game display screen, the information display container, and the display interface have the same size, the target game screen may include the game display screen, target graphics information c (for displaying information related to the a team and the B team), and target graphics information d (for displaying information related to the a1 player).
Further, the method further comprises: determining the display time of each target image-text information; and displaying the target graphic and text information in a game display picture in an overlapping manner according to the display time so as to generate a target game picture.
In this step, the display time of each of the target graphic information may be set according to the requirement, for example, when the game display picture is displaying the game view angle of the a1 player at a certain moment, the target graphic information related to the a1 player may be displayed at the moment. With reference to the above manner, the target graphics and text information is displayed in a game display picture in a superimposed manner according to the display time to generate a target game picture. And the target image-text information is displayed above or outside the game display picture in an overlapping manner. The game display picture is a picture displayed in a game client corresponding to the target game; the target game picture is a video stream picture formed by combining the target image-text information and the game display picture.
Optionally, the display duration of each target image-text information may also be set, and may be specifically set according to the requirement.
205. Acquiring a plurality of target configuration data of a second source;
in this step, the second source may comprise an internal source, such as local configuration information, wherein the local configuration information may comprise configuration event sponsor related interest information (which may include text or pictures), configuration event related information (event name, event progress phase, etc.). And taking any one or more items of local configuration information as target configuration data, and displaying a picture comprising at least one target configuration data on a display interface.
206. And displaying a picture comprising at least one target configuration data on a display interface.
In this step, the screen of the target configuration data is mainly used for pre-event or post-event display, for example, the local configuration information may include configuration event sponsor related interest information (which may include text or pictures), configuration event related information (event name, event schedule stage, event configuration information, etc.).
Optionally, for example, the target configuration data includes information about rights and interests of the event sponsor, a picture of the event sponsor may be displayed in the display interface. For example, on the basis of fig. 6, the target configuration data is displayed in the information display container, forming the effect diagram as shown in fig. 13. It should be noted that the displayed target configuration data can be set to display positions according to requirements, and the display positions of the target configuration data cannot be overlapped with the display positions of the target graphic and text information.
In practical applications, the relevant interest information of the sponsors of the configured events is usually displayed when the match situations of a certain player or the match situations among teams are displayed.
Optionally, taking the example that the target configuration data includes the configuration event related information, the event configuration information (such as event version information, event commentator name, etc.) needs to be displayed in the display interface. In practical applications, the event configuration information may be displayed before the start of the game.
Fig. 14 is a schematic structural diagram of a picture generation apparatus according to an embodiment of the present application, and as shown in fig. 14, the apparatus includes:
an obtaining module 61, configured to obtain a plurality of target game data from a first source, where each target game data includes at least one object data of a specific identification index;
a selecting module 622, configured to select multiple object data with the same specific identifier from multiple target game data;
a generating module 63, which renders the plurality of object data by using a pre-established information display container to generate target image-text information, wherein the target image-text information includes display sizes, display positions and data contents of the plurality of object data; and acquiring a game display picture, and generating a target game picture through the game display picture and the target image-text information.
In this embodiment of the application, optionally, the generating module 63 of the apparatus is further configured to display the target graphics and text information in a game display screen in an overlapping manner to generate a target game screen.
In this embodiment of the present application, optionally, the obtaining module 61 of the apparatus is further configured to obtain a plurality of target configuration data of a second source;
and a display module 64, configured to display, on a display interface, a picture including at least one target configuration data.
In this embodiment of the application, optionally, the generating module 63 of the apparatus is specifically configured to determine characteristic parameters of the target image-text information, where the characteristic parameters include a size and a display content; obtaining a game display picture; determining the display position of the target image-text information relative to the game display picture according to the size of the target image-text information; and generating a target game picture according to the display position, the game display picture and the display content of the target image-text information.
In this embodiment of the application, optionally, the obtaining module 61 of the apparatus is specifically configured to obtain the game display screen, and includes: and acquiring the video signal of the target game in real time to generate a game display picture.
In the embodiment of the present application, optionally, the apparatus further includes an establishing module 65;
the establishing module 65 is used for determining the size and the position of the information display container to be established according to the size of the display interface; establishing an information display container according to the size and the position of the information display container to be established; the size of the information display container is smaller than or equal to that of the display interface, and the information display container is located above the display interface.
In the embodiment of the present application, optionally, the apparatus further includes a determining module 66;
a determining module 66, configured to determine a presentation time of each piece of target graphics and text information;
the display module 64 is further configured to display the target graphics and text information in a game display picture in an overlapping manner according to the display time.
In this embodiment of the application, optionally, the display module 64 of the device is further configured to display the target graphics and text information on the game display screen in an overlapping manner or on the outside.
In the embodiment of the application, optionally, the game display picture is a picture displayed in a game client corresponding to the target game; the target game picture is a video stream picture formed by combining the target image-text information and the game display picture.
The picture generation apparatus shown in fig. 14 may execute the picture generation method shown in the embodiment shown in fig. 7, and the implementation principle and the technical effect are not described again. The specific manner in which each module and unit of the screen generating device in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
In one possible design, the picture generation apparatus of the embodiment shown in fig. 14 is implemented as a computing device, and in an actual application, as shown in fig. 15, the computing device may include a storage component 801 and a processing component 802;
the storage component 801 stores one or more computer instructions, wherein the one or more computer instructions are invoked by the processing component 802 to implement the picture generation method according to the embodiment in fig. 7.
The processing component 802 may include one or more processors executing computer instructions to perform all or some of the steps of the methods described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), refresh controllers, micro-refresh controllers, microprocessors, or other electronic components configured to perform the picture generation method described in the embodiment of fig. 7.
The storage component 801 is configured to store various types of data to support operations at the terminal. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the computer program implements the screen generating method according to the embodiment shown in fig. 7.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. With this understanding, the above technical solutions may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM or RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the method according to the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (13)
1. A picture generation method, comprising:
obtaining a plurality of target game data from a first source, wherein each target game data comprises at least one object data of a specific identification index;
selecting a plurality of object data having the same specific identifier from a plurality of the target game data;
rendering the object data by using a pre-established information display container to generate target image-text information, wherein the target image-text information comprises the display size, the display position and the data content of the object data;
and acquiring a game display picture, and generating a target game picture through the game display picture and the target image-text information.
2. The method of claim 1, wherein generating a target game screen from the game presentation screen and the target graphics information comprises:
and displaying the target graphic and text information in a game display picture in an overlapping manner to generate a target game picture.
3. The method of claim 1, further comprising:
acquiring a plurality of target configuration data of a second source;
and displaying a picture comprising at least one target configuration data on a display interface.
4. The method of claim 1, wherein the obtaining a game display and generating a target game display through the game display and the target graphics and text information comprises:
determining characteristic parameters of the target image-text information, wherein the characteristic parameters comprise size and display content;
obtaining a game display picture;
determining the display position of the target image-text information relative to the game display picture according to the size of the target image-text information;
and generating a target game picture according to the display position, the game display picture and the display content of the target image-text information.
5. The method of claim 4, wherein obtaining the game show comprises:
and acquiring the video signal of the target game in real time to generate a game display picture.
6. The method of claim 1, wherein the step of creating an information presentation container comprises:
determining the size and the position of an information display container to be established according to the size of the display interface;
establishing an information display container according to the size and the position of the information display container to be established; the size of the information display container is smaller than or equal to that of the display interface, and the information display container is positioned above the display interface;
and responding to a creation request of an information display container, and determining the size and the position of the information display container according to the size of a display interface, wherein the size of the information display container is smaller than or equal to the size of the display interface.
7. The method of claim 2, further comprising:
determining the display time of each target image-text information;
and displaying the target image-text information in a game display picture in a superposition mode according to the display time.
8. The method of claim 1, further comprising:
and the target image-text information is displayed above or outside the game display picture in an overlapping manner.
9. The method according to any one of claims 1 to 8, wherein the game display screen is a screen displayed in a game client corresponding to the target game; the target game picture is a video stream picture formed by combining the target image-text information and the game display picture.
10. A picture generation system is characterized by comprising a data acquisition unit, a data processing unit and a data display unit;
the data acquisition unit is used for acquiring a plurality of target game data of a first source, and each target game data comprises at least one object data of a specific identification index;
the data processing unit is used for selecting a plurality of object data with the same specific identification from a plurality of target game data; rendering the object data by using a pre-established information display container to generate target image-text information, wherein the target image-text information comprises the display size, the display position and the data content of the object data; acquiring a game display picture, and generating a target game picture through the game display picture and the target image-text information;
the game display unit is used for displaying the target game picture on a display interface.
11. A picture generation apparatus, comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a plurality of target game data of a first source, and each target game data comprises at least one object data of a specific identification index;
the selection module is used for selecting a plurality of object data with the same specific identification from a plurality of target game data;
the generating module is used for rendering the object data by utilizing a pre-established information display container to generate target image-text information, and the target image-text information comprises the display size, the display position and the data content of the object data; and acquiring a game display picture, and generating a target game picture through the game display picture and the target image-text information.
12. An electronic device comprising a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component to implement the screen generation method of any of claims 1 to 9.
13. A computer-readable medium, characterized in that a computer program is stored which, when executed by a computer, implements the picture generation method according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111644039.3A CN114288645A (en) | 2021-12-29 | 2021-12-29 | Picture generation method, system, device and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111644039.3A CN114288645A (en) | 2021-12-29 | 2021-12-29 | Picture generation method, system, device and computer storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114288645A true CN114288645A (en) | 2022-04-08 |
Family
ID=80971173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111644039.3A Pending CN114288645A (en) | 2021-12-29 | 2021-12-29 | Picture generation method, system, device and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114288645A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024099405A1 (en) * | 2022-11-10 | 2024-05-16 | 北京字跳网络技术有限公司 | Live broadcast interaction method and apparatus, electronic device and computer-readable storage medium |
-
2021
- 2021-12-29 CN CN202111644039.3A patent/CN114288645A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024099405A1 (en) * | 2022-11-10 | 2024-05-16 | 北京字跳网络技术有限公司 | Live broadcast interaction method and apparatus, electronic device and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112348969B (en) | Display method and device in augmented reality scene, electronic equipment and storage medium | |
EP3388119B1 (en) | Method, apparatus, and non-transitory computer-readable storage medium for view point selection assistance in free viewpoint video generation | |
CN108377334B (en) | Short video shooting method and device and electronic terminal | |
US11482192B2 (en) | Automated object selection and placement for augmented reality | |
CN111970532B (en) | Video playing method, device and equipment | |
US20090213270A1 (en) | Video indexing and fingerprinting for video enhancement | |
CN107105315A (en) | Live broadcasting method, the live broadcasting method of main broadcaster's client, main broadcaster's client and equipment | |
US20170006328A1 (en) | Systems, methods, and computer program products for capturing spectator content displayed at live events | |
JP7303754B2 (en) | Method and system for integrating user-specific content into video production | |
CN114598819B (en) | Video recording method and device and electronic equipment | |
CN107529091A (en) | Video clipping method and device | |
US20170225077A1 (en) | Special video generation system for game play situation | |
CN106713942A (en) | Video processing method and video processing device | |
JP2008167127A (en) | Video distributing method and video distributing device | |
CN112426712A (en) | Method and device for generating live broadcast picture of game event | |
CN111241872A (en) | Video image shielding method and device | |
CN112954443A (en) | Panoramic video playing method and device, computer equipment and storage medium | |
CN114466213B (en) | Information synchronization method, device, computer equipment, storage medium and program product | |
CN114288645A (en) | Picture generation method, system, device and computer storage medium | |
CN109286760B (en) | Entertainment video production method and terminal thereof | |
CN107578306A (en) | Commodity in track identification video image and the method and apparatus for showing merchandise news | |
JP6609078B1 (en) | Content distribution system, content distribution method, and content distribution program | |
JP6559375B1 (en) | Content distribution system, content distribution method, and content distribution program | |
CN114584680A (en) | Motion data display method and device, computer equipment and storage medium | |
US20170139933A1 (en) | Electronic Device, And Computer-Readable Storage Medium For Quickly Searching Video Segments |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |