Content generation method and apparatus, and nonvolatile computer-readable storage medium
By obtaining relevant information of virtual objects and using machine learning models to generate adversarial plot content, the problem of cumbersome and inaccurate adversarial scenarios in the prior art is solved, and the interactive effect of computer applications is improved.
Patent Information
- Application Number
- PCT/CN2024/108470
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-27
- Filing Date
- 2024-07-30
- Publication Date
- 2025-06-05
AI Technical Summary
When presenting confrontation scenarios between virtual objects, prior art requires cumbersome and frequent user operations or the inability to accurately display confrontation scenarios in the current situation, resulting in poor interaction effects.
By obtaining relevant information about virtual objects, including character attributes and skill attributes, generate plot content that describes the confrontation between virtual objects. Use machine learning models to generate plot content based on content prompt information, reduce user operation burden and improve the interactive effect of confrontation scenarios.
It realizes adaptively generating confrontation plots that match the current confrontation scenario, which reduces user operation burden, reduces server processing burden, and improves the interactive effect of computer applications in confrontation scenarios.
Smart Images

Figure CN2024108470_05062025_PF_FP_ABST
Abstract
Description
Content generation method, device and non-volatile computer-readable storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on the application with CN application number 202311598850.1 and application date November 27, 2023, and claims its priority. The disclosed content of the CN application is hereby introduced as a whole into this application. Technical Field
[0003] The present disclosure relates to the field of computer technology, and in particular to a content generation method, a content generation device, and a non-volatile computer-readable storage medium. Background Art
[0004] In computer applications such as games and interactive stories, confrontation between virtual objects is often involved. This confrontation can be presented in a variety of ways.
[0005] In related technologies, virtual objects can be controlled to engage in confrontation based on various operations input by users; and pre-generated fixed text content can also be used to present confrontation scenes.
[0006] Summary of the Invention
[0007] According to some embodiments of the present disclosure, a content generation method is provided, including: obtaining relevant information of a first virtual object and relevant information of a second virtual object that are engaged in confrontation, the relevant information being used to describe attribute characteristics of the virtual objects; and generating plot content describing the confrontation between the first virtual object and the second virtual object based on the relevant information of the first virtual object and the relevant information of the second virtual object.
[0008] In some embodiments, the relevant information includes at least one of the character attributes or skill attributes of the virtual object, and generating plot content describing the confrontation between the first virtual object and the second virtual object includes: determining the plot content based on at least one of the comparison results of the character attributes of the first virtual object and the character attributes of the second virtual object, or the comparison results of the skill attributes of the first virtual object and the skill attributes of the second virtual object.
[0009] In some embodiments, the plot content includes description content of a first virtual object performing a first skill, and description content of a second virtual object performing a second skill.
[0010] In some embodiments, the plot content includes description content of the first virtual object's reaction to the second skill, and description content of the second virtual object's reaction to the first skill.
[0011] In some embodiments, the character attributes include the character's current health information, and the skill attributes include the skill information acquired by the character in previous plots of the interactive multimedia content.
[0012] In some embodiments, generating plot content describing a confrontation between a first virtual object and a second virtual object includes: determining, based on a previous plot of the interactive multimedia content, at least one of a first associated virtual object of the first virtual object or a second associated virtual object of the second virtual object; generating plot content describing a confrontation between a first virtual object set and a second virtual object set, the first virtual object set including at least one of the first virtual object or the first associated virtual object, and the second virtual object set including at least one of the second virtual object or the second associated virtual object.
[0013] In some embodiments, generating plot content describing a confrontation between a first set of virtual objects and a second set of virtual objects includes: determining, based on a previous plot, at least one of a first joint skill attribute of the first virtual object and a first associated virtual object, or a second joint skill attribute of the second virtual object and a second associated virtual object; and generating plot content based on at least one of the first joint skill attribute or the second joint skill attribute.
[0014] In some embodiments, generating plot content describing a confrontation between a first virtual object and a second virtual object includes: generating content prompt information based on relevant information of the first virtual object and relevant information of the second virtual object; and generating plot content using a machine learning model based on the content prompt information.
[0015] In some embodiments, the content generation method further includes: presenting plot content to the user, where the plot content includes at least one of text content or image content.
[0016] In some embodiments, the image content is generated based on the text content.
[0017] In some embodiments, the text content includes multiple paragraphs, the image content includes multiple images, and each of the multiple paragraphs is displayed together with a corresponding image.
[0018] In some embodiments, the image content is video content generated from multiple images.
[0019] In some embodiments, the text styles of the content corresponding to the first virtual object and the content corresponding to the second virtual object in the text content are different.
[0020] In some embodiments, the text content includes multiple paragraphs, and displaying the plot content to the user includes: displaying the multiple paragraphs to the user simultaneously; or displaying one of the multiple paragraphs to the user at a time in the order in which the multiple paragraphs occur.
[0021] In some embodiments, the plot content includes confrontation process content and confrontation result content.
[0022] According to some other embodiments of the present disclosure, a content generation device is provided, including: an acquisition unit for acquiring relevant information of a first virtual object and relevant information of a second virtual object that are engaged in confrontation, the relevant information being used to describe attribute characteristics of the virtual objects; and a generation unit for generating plot content describing the confrontation between the first virtual object and the second virtual object based on the relevant information of the first virtual object and the relevant information of the second virtual object.
[0023] In some embodiments, the relevant information includes at least one of the character attributes or skill attributes of the virtual object, and the generation unit determines the plot content based on at least one of the comparison results of the character attributes of the first virtual object and the character attributes of the second virtual object, or the comparison results of the skill attributes of the first virtual object and the skill attributes of the second virtual object.
[0024] In some embodiments, the plot content includes description content of a first virtual object performing a first skill, and description content of a second virtual object performing a second skill.
[0025] In some embodiments, the plot content includes description content of the first virtual object's reaction to the second skill, and description content of the second virtual object's reaction to the first skill.
[0026] In some embodiments, the character attributes include the character's current health information, and the skill attributes include the skill information acquired by the character in previous plots of the interactive multimedia content.
[0027] In some embodiments, the generation unit determines at least one of the first associated virtual object of the first virtual object or the second associated virtual object of the second virtual object based on the previous plot of the interactive multimedia content, and generates plot content describing the confrontation between the first virtual object set and the second virtual object set, where the first virtual object set includes at least one of the first virtual object or the first associated virtual object, and the second virtual object set includes at least one of the second virtual object or the second associated virtual object.
[0028] In some embodiments, the generation unit determines at least one of the first joint skill attributes of the first virtual object and the first associated virtual object, or the second joint skill attributes of the second virtual object and the second associated virtual object based on the previous plot; and generates plot content based on at least one of the first joint skill attributes or the second joint skill attributes.
[0029] In some embodiments, the generation unit generates content prompt information based on relevant information of the first virtual object and relevant information of the second virtual object, and generates plot content using a machine learning model based on the content prompt information.
[0030] In some embodiments, the content generation device further includes: a display unit, configured to display plot content to a user, where the plot content includes at least one of text content and image content.
[0031] In some embodiments, the image content is generated based on the text content.
[0032] In some embodiments, the text content includes multiple paragraphs, the image content includes multiple images, and each of the multiple paragraphs is displayed together with a corresponding image.
[0033] In some embodiments, the image content is video content generated from multiple images.
[0034] In some embodiments, the text styles of the content corresponding to the first virtual object and the content corresponding to the second virtual object in the text content are different.
[0035] In some embodiments, the text content includes multiple paragraphs, and the display unit displays the multiple paragraphs to the user at the same time, or displays one of the multiple paragraphs to the user each time according to the occurrence order of the multiple paragraphs.
[0036] In some embodiments, the plot content includes confrontation process content and confrontation result content.
[0037] According to some further embodiments of the present disclosure, a content generation device is provided, including: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the content generation method in any of the above embodiments based on instructions stored in the memory device.
[0038] According to further embodiments of the present disclosure, a non-volatile computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the content generation method in any of the above embodiments is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0040] The present disclosure can be more clearly understood from the following detailed description with reference to the accompanying drawings:
[0041] FIG1 shows a flow chart of some embodiments of the content generation method of the present disclosure;
[0042] 2a to 2e are schematic diagrams showing some embodiments of plot content presentation according to the present disclosure;
[0043] 3a to 3d are schematic diagrams showing other embodiments of plot content presentation according to the present disclosure;
[0044] FIG4 shows a block diagram of some embodiments of a content generation device of the present disclosure;
[0045] FIG5 is a block diagram showing some other embodiments of the content generating apparatus of the present disclosure;
[0046] FIG6 shows a block diagram of yet some embodiments of a content generating device according to the present disclosure. DETAILED DESCRIPTION
[0047] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure.
[0048] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0049] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0050] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.
[0051] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0052] It should be noted that like reference numerals and letters refer to like items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0053] The inventors of the present disclosure have discovered the following problems in the above-mentioned related technologies: cumbersome and frequent interactive operations are required to achieve confrontation, or the confrontation scenario in the current situation cannot be accurately presented, resulting in poor interactive effects of computer applications in confrontation scenarios.
[0054] In view of this, the present disclosure proposes a content generation technology solution that can improve the interactive effect of computer applications in confrontation scenarios.
[0055] As mentioned earlier, the confrontation scenario can be presented in two forms.
[0056] The first form of presentation involves controlling the confrontation between virtual objects based on various user inputs. For example, in a combat scenario like a fighting game, the user-controlled character is one side of the confrontation, while other characters controlled by other users or directly configured in the game are the other side. The user needs to continuously perform game operations (such as selecting skills) to advance the confrontation in the game.
[0057] However, in some cases, the confrontation scene is merely part of the game's plot. The user's intent is simply to understand the confrontation process, rather than to expend time and energy actively performing game operations. During the confrontation scene, the user is required to select a game mode, which places a heavy burden on the user. Consequently, this type of presentation requires complex confrontation operations, resulting in poor human-computer interaction.
[0058] Furthermore, using multiple frames to display the confrontation scene creates a significant server processing and data transmission burden, which can cause the game to freeze and become unsmooth, leading to poor human-computer interaction.
[0059] The second form of presentation is textual presentation, which directly presents the confrontation scene through text. These texts are predetermined before presentation, so the confrontation scene expressed by these texts is fixed, similar to the process of directly reading a novel.
[0060] Therefore, the second form of presentation has limitations and can only display confrontation scenarios of determined processes. It has poor flexibility and results in poor human-computer interaction effects.
[0061] To address the above technical issues, the technical solution of the present disclosure can be used to generate confrontational plot content to improve the interactive effect of computer applications in confrontational scenarios. For example, the technical solution of the present disclosure can be implemented through the following embodiments.
[0062] FIG1 shows a flowchart of some embodiments of the content generation method of the present disclosure.
[0063] As shown in FIG1 , the content generation method includes: step 110 , obtaining relevant information of a first virtual object and relevant information of a second virtual object that are engaged in confrontation; step 120 , generating plot content describing the confrontation between the first virtual object and the second virtual object based on the relevant information of the first virtual object and the relevant information of the second virtual object.
[0064] This allows for the generation of a matching confrontation scenario based on the attributes of the virtual object currently being confronted. This reduces tedious and frequent user operations, enabling adaptive generation of a scenario that matches the current confrontation scenario. Furthermore, it eliminates the need for the server to process large amounts of images to display the scenario, reducing both processing and transmission burdens. This improves the interactive quality of computer applications in confrontation scenarios.
[0065] In step 110, relevant information about the first virtual object and the second virtual object in the confrontation is obtained. The relevant information is used to describe the attribute characteristics of the virtual objects. For example, the relevant information includes at least one of the character attributes or skill attributes of the virtual objects.
[0066] In some embodiments, the relevant information may be determined based on previous plots of the interactive multimedia content, such as games, interactive stories, interactive comics, and interactive dramas.
[0067] For example, relevant information about the virtual object can be obtained from a stored virtual object database. The current character attributes of the virtual object can be obtained from an attribute database; and the skill attributes of the skills possessed by the virtual object can be obtained from a skill database.
[0068] The following provides exemplary descriptions of the role attributes and skill attributes in the relevant information through some embodiments.
[0069] In some embodiments, after determining the two virtual objects in the confrontation, the character attributes and skill attributes of the two virtual objects can be determined. For example, the current character attributes and various skills and skill attributes of the virtual objects can be determined based on the previous plot related to the virtual objects.
[0070] For example, the character attributes of the virtual object may include the current health value, energy value, ability value, etc. The value corresponding to each character attribute can be determined based on the virtual object's experience and behavior in the previous plot.
[0071] For example, the skills and skill attributes of a virtual object can be determined based on the skills acquired by the user in the main storyline of the multimedia interactive content. Skill attributes may include skill name, skill effect, skill damage value, etc.
[0072] For example, currently in the main storyline, the user has acquired skill A and skill B. For these skills that the user has acquired, the skill attributes of these skills can be determined, such as whether the opponent's health can be reduced when these skills are released.
[0073] The following uses some embodiments to illustrate how to obtain character attributes and skill attributes.
[0074] In some embodiments, the two opposing virtual objects include user character A and opposing character B, which can be obtained from the main storyline: the current health value of user character A is <character A health value>, and the health value of opposing character B is <opponent character B health value>; the skills possessed by user character A are <user character A skills>, and the skills possessed by opposing character B are <opponent character B skills>; the skill attributes of each skill are obtained from the storage database <skill database> of each skill.
[0075] The following uses some embodiments to illustrate how to determine the two opposing parties.
[0076] In some embodiments, in a confrontation scenario, the roles of the two opposing parties need to be determined first. For example, the two opposing parties can be separate virtual objects or a team composed of multiple virtual objects.
[0077] In some embodiments, based on a previous plot of the interactive multimedia content, at least one of a first associated virtual object of a first virtual object or a second associated virtual object of a second virtual object is determined; and a first set of virtual objects and a second set of virtual objects for confrontation are determined. For example, the first set of virtual objects includes at least one of the first virtual object or the first associated virtual object, and the second set of virtual objects includes at least one of the second virtual object or the second associated virtual object.
[0078] For example, other virtual objects that may form a team with the virtual object may be determined based on the virtual objects that the virtual object has encountered in previous plots, the interactions between the virtual object and other virtual objects, the behavior of the virtual object, etc.
[0079] In some embodiments, the opposing roles can be one-to-one (such as a first virtual object against a second virtual object), one-to-many (such as a first virtual object against a second virtual object and its second associated virtual object, or a second virtual object against a first virtual object and its first associated virtual object), or many-to-many (such as a first virtual object and its first associated virtual object against a second virtual object and its second associated virtual object).
[0080] For example, when a first virtual object encounters a second virtual object, multiple first-linked virtual objects can be determined based on the previous plot to form a team with the first virtual object to jointly fight against the second virtual object. Alternatively, multiple second-linked virtual objects can be determined based on the previous plot to form a team with the second virtual object to jointly fight against the first virtual object. Thus, two teams can be determined to fight against each other, or one team can be determined to fight against one virtual object.
[0081] After the virtual objects of the two opposing parties are determined and the relevant information of each virtual object is obtained, step 120 in FIG. 1 may be continued to generate the plot content of the confrontation.
[0082] In step 120 , a plot content describing a confrontation between the first virtual object and the second virtual object is generated based on the relevant information of the first virtual object and the relevant information of the second virtual object.
[0083] In the above embodiment, a matching confrontation scenario is generated based on the attributes of the virtual object currently being confronted. This not only reduces tedious and frequent user operations, but also enables adaptive generation of a confrontation scenario that matches the current confrontation scenario. This improves the interactive effect of computer applications in confrontation scenarios.
[0084] In some embodiments, content prompt information is generated based on the relevant information of the first virtual object and the relevant information of the second virtual object; and plot content is generated using a machine learning model based on the content prompt information. For example, the machine learning model can be an NLP (natural language processing) model such as an LLM (Large Language Model) that can generate natural language content based on provided prompt information. In this way, the quality of plot content generation can be improved through the machine learning model, thereby enhancing the effectiveness of human-computer interaction.
[0085] The following uses some embodiments to illustrate how to generate content prompt information as prompt information input into a machine learning model.
[0086] In some embodiments, through the above embodiment of step 110, it can be determined that the two virtual objects in confrontation include: user character A and confrontation character B; the character attributes obtained from the main storyline include: the current health value of user character A is <character A health value>, the current health value of confrontation character B is <confrontation character B health value>, the skills possessed by user character A are <user character A skills>, and the skills possessed by confrontation character B are <confrontation character B skills>; the skill attributes of each skill are obtained from the storage database <skill database> of each skill.
[0087] On this basis, for example, the following Prompt information can be generated as content prompt information: "There are two characters, including <User Character A> and <Opposition Character B>. Now the health value of <User Character A> is <Character A Health Value>, the health value of <Opposition Character B> is <Opposition Character B Health Value>, the skills held by <User Character A> are <User Character A Skills>, and the skills held by <Opposition Character B> are <Opposition Character B Skills>. The above information can be obtained from the main storyline, and the skill attributes of each skill can refer to the skill storage database <Skill Database>. Please generate a plot content of the confrontation process based on the above information to describe the confrontation process between <User Character A> and <Opposition Character B>, and give the ending of the confrontation."
[0088] In some embodiments, through the above embodiment of step 110, it can be determined that the two virtual objects in confrontation include: user character A and antagonistic character B; based on the plot related to user character A, it can be determined that the associated characters that can team up with user character A to confront antagonistic character B include associated character A1; from the main plot, the character attributes are obtained including: the current health value of user character A is <character A health value>, the current health value of associated character A1 is <character A1 health value>, the health value of antagonistic character B is <antagonistic character B health value>, the skills held by user character A are <user character A skills>, the skills held by associated character A1 are <user character A1 skills>, and the skills held by antagonistic character B are <antagonistic character B skills>; the skill attributes of each skill are obtained from the storage database <skill database> of each skill.
[0089] On this basis, for example, the following Prompt information can be generated as content prompt information: "There are three roles, including <User Role A>, <Associated Role A1> and <Opposition Role B>. Now the health value of <User Role A> is <Role A Health Value>, the health value of <Associated Role A1> is <Associated Role A1 Health Value>, the health value of <Opposition Role B> is <Opposition Role B Health Value>, the skills held by <User Role A> are <User Role A Skills>, the skills held by <Associated Role A1> are <Associated Role A1 Skills>, and the skills held by <Opposition Role B> are <Opposition Role B Skills>. The above information can be obtained from the main storyline, and the skill attributes of each skill can refer to the skill storage database <Skill Database>. Please generate a plot content of the confrontation process based on the above information to describe the confrontation process between <User Role A> and <Associated Role A1> forming a team and <Opposition Role B>, and give the ending of the confrontation."
[0090] After the above prompt information is generated, the above prompt information can be input into the machine learning model to generate plot content in the adversarial scenario.
[0091] In some embodiments, the plot content includes confrontation process content and confrontation result content.
[0092] For example, a machine learning model can generate content about the confrontation process based on the skill attributes of the virtual object in the prompt information. For example, the confrontation process content may include a description of the virtual object performing its skill, such as "the first virtual object performs skill A," and a description of the virtual object's reaction to the skill, such as "the second virtual object dodges and performs skill B."
[0093] For example, a machine learning model can determine the outcome of a confrontation and generate content about the outcome based on the character attributes and skill attributes of the virtual object in the prompt message. For example, the content about the outcome can include descriptions of the winner and loser of the confrontation, such as "Finally, the first virtual object defeated the second virtual object."
[0094] In some embodiments, the plot content is determined based on at least one of a comparison result of a character attribute of a first virtual object and a character attribute of a second virtual object, or a comparison result of a skill attribute of a first virtual object and a skill attribute of a second virtual object.
[0095] For example, the machine learning model can determine the winner and loser of the confrontation based on the character attributes such as the health value of the first virtual object and the health value of the second virtual object in the Prompt information, combined with the skill attributes such as the damage value of the skill performed by the first virtual object and the damage value of the skill of the second virtual object.
[0096] In this way, the matching degree between the plot content and the current situation can be improved, thereby improving the effect of human-computer interaction.
[0097] The following describes, through some embodiments, how to generate plot content in the context of team confrontation.
[0098] In some embodiments, based on a previous plot of the interactive multimedia content, at least one of a first associated virtual object of a first virtual object or a second associated virtual object of a second virtual object is determined; and plot content is generated describing a confrontation between the first set of virtual objects and the second set of virtual objects. The first set of virtual objects includes at least one of the first virtual object or the first associated virtual object, and the second set of virtual objects includes at least one of the second virtual object or the second associated virtual object.
[0099] For example, based on the plot related to user character A, it is possible to determine the associated character A1 that can form team A with user character A and fight against antagonistic character B; from the main plot, the character attributes are obtained, including: the current health value of user character A is <character A health value>, the current health value of associated character A1 is <character A1 health value>, the health value of antagonistic character B is <antagonistic character B health value>, the skills held by user character A are <user character A skills>, the skills held by associated character A1 are <user character A1 skills>, and the skills held by antagonistic character B are <antagonistic character B skills>; the skill attributes of each skill are obtained from the storage database <skill database> of each skill.
[0100] The prompt information based on the above information can be input into the machine learning model to generate plot content of team A competing against the antagonistic character B.
[0101] For example, a machine learning model can generate content about the confrontation process based on the skill attributes of each virtual object in Team A and the skill attributes of the opposing character B in the prompt information. For example, the confrontation process content may include a description of the virtual object performing its skill, such as "User character A performs skill A, and associated character A1 performs skill A1," and a description of the virtual object's reaction to the skill, such as "Opposing character B dodges and performs skill B."
[0102] For example, a machine learning model can determine the outcome of a confrontation and generate content based on a comparison of the character attributes and skill attributes of each virtual object in Team A with those of opposing character B in the prompt message. For example, the content of the confrontation outcome can include a description of the winner and loser of the confrontation, such as "Ultimately, user character A and associated character A1 defeated opposing character B."
[0103] For example, the machine learning model can determine the winner and loser of the confrontation based on the character attributes such as the health value of each virtual object in Team A and the health value of the opposing character B in the Prompt information, combined with the skill attributes such as the damage value of the skills performed by each virtual object in Team A and the damage value of the skills performed by the opposing character B.
[0104] In some embodiments, based on the previous plot, at least one of the first joint skill attribute of the first virtual object and the first associated virtual object, or the second joint skill attribute of the second virtual object and the second associated virtual object is determined; and plot content is generated based on at least one of the first joint skill attribute or the second joint skill attribute.
[0105] For example, based on the plot related to user character A and associated character A1, it can be determined that when user character A and associated character A1 form a team, joint skill A' can be performed; and the skill attributes of joint skill A' are obtained from the storage database <skill database> of each skill.
[0106] The prompt information based on the above information can be input into the machine learning model to generate plot content of the confrontation between team A and antagonistic character B, such as "user character A and associated character A1 jointly perform skill A'".
[0107] In this way, the matching degree between the plot content and the current situation can be improved, thereby improving the effect of human-computer interaction.
[0108] In some embodiments, plot content is presented to the user. The plot content includes at least one of text content or image content. For example, the plot content can be presented using the embodiments shown in Figures 2a to 2e.
[0109] 2a to 2e are schematic diagrams showing some embodiments of the plot content presentation of the present disclosure.
[0110] As shown in Figure 2a, the image display area 21 is used to display image content related to the plot content, and the text display area 22 is used to display the plot content. For example, the plot content can be displayed below the image content, or other layouts can be used.
[0111] In some embodiments, as shown in FIG2b , when it is confirmed that the two virtual objects in confrontation are the first virtual object and the second virtual object, the image display area 21 can display the initial images of the two confrontational parties, such as the image 211a of the first virtual object and the image 212a of the second virtual object.
[0112] In some embodiments, a plot content in which the first virtual object competes with the second virtual object is displayed in the text display area 22. For example, the plot content can be generated in the manner described in any of the above embodiments.
[0113] In some embodiments, the image content displayed in the image display area 21 can change with the plot content displayed in the text display area 22, making the confrontation process more clearly displayed, thereby improving the human-computer interaction effect. For example, the image content is video content generated from multiple images. For example, the embodiment of Figure 2c can be used to implement the above-mentioned display method of image content and plot content.
[0114] As shown in Figure 2c, the text content in the text display area 22 includes multiple paragraphs, and multiple paragraphs can be displayed to the user at the same time. For example, if it is not possible to display all paragraphs at the same time, some paragraphs can be displayed to the user, and the user can view the related paragraphs by flipping through them.
[0115] For example, the text display area 22 displays the plot content about the first virtual object and the second virtual object performing their respective skills; the image display area 21 corresponds to the plot content, displaying the image 211b of the first virtual object performing skill A and the image 212b of the second virtual object performing skill B.
[0116] As shown in Figure 2c, while text display area 22 displays all paragraphs together, image display area 21 can display the corresponding image content of all paragraphs in the form of video segments. For example, image 211b of the first virtual object and image 212b of the second virtual object correspond to the video segment of the first virtual object performing skill A and the video segment of the second virtual object performing skill B, respectively.
[0117] In some embodiments, the text content displayed in the text display area 22 includes multiple paragraphs, and the image content includes multiple images. Each of the multiple paragraphs is displayed together with the corresponding image. For example, the multiple paragraphs can be displayed to the user one at a time in the order in which they occur. This makes the interaction process more clearly displayed, thereby improving the human-computer interaction effect. For example, the embodiments of Figures 2d and 2e can be used to display each paragraph one by one to achieve the above-mentioned display method of image content and plot content.
[0118] As shown in Figures 2d to 2e, when each paragraph is displayed one by one, when a paragraph is displayed in the text display area 22, an image matching the adversarial process of the paragraph can be displayed in the image display area 22. For example, artificial intelligence technology can be used to generate a matching image based on the currently displayed paragraph.
[0119] In some embodiments, the plot content includes a description of the first virtual object performing a first skill and a description of the second virtual object performing a second skill. For example, in FIG2d , if the text display area 22 displays the paragraph "First virtual object performs skill A," the image display area 21 displays an image 211b of the first virtual object performing skill A, which matches the paragraph.
[0120] In some embodiments, the plot content includes a description of the first virtual object's reaction to the second skill, as well as a description of the second virtual object's reaction to the first skill. For example, in FIG2e , if the text display area 21 displays the paragraph "The second virtual object dodges and performs skill B," the image display area 22 displays an image 212b of the second virtual object performing skill B, which matches the paragraph.
[0121] For example, the image display area 21 may be in the form of continuously displaying pictures or in the form of videos.
[0122] In some embodiments, the text content corresponding to the first virtual object and the content corresponding to the second virtual object have different text styles. For example, the text style may include color, font, size, etc. This makes the confrontation process more clearly displayed, thereby improving the effect of human-computer interaction.
[0123] For example, in FIG. 2 c and FIG. 2 e , the paragraphs related to the first virtual object are in non-italic font, and the paragraphs related to the second virtual object are in italic font.
[0124] For example, for the two opposing parties, the different plots of the two sides can be distinguished and displayed by marking them in red.
[0125] In some embodiments, within the context of a main game storyline, the technical solutions in any of the above embodiments can be applied to the presentation of combat scenes in a secondary game storyline. For example, if the main game storyline involves a fight between a user-controlled character and an opposing character, the technical solutions in any of the above embodiments can be used to display a textual description of the combat between the controlled character and the opposing character.
[0126] In the above embodiment, the confrontation plot can be automatically generated based on the relevant information of the current confrontation parties, which reduces the user's operation behavior and reduces the difficulty of operation; moreover, compared with the display of pre-prepared fixed plots, it is more flexible and can adaptively generate a confrontation plot that matches the current situation, thereby improving the human-computer interaction effect.
[0127] The following is an exemplary description of the plot content display in the case of team confrontation through the embodiments of Figures 3a to 3d.
[0128] 3a to 3d are schematic diagrams showing other embodiments of the plot content presentation of the present disclosure.
[0129] As shown in Figure 3a, when it is determined that the first associated virtual object can form a first virtual object team with the first virtual object to compete with the second virtual object, the image display area 31 can display an image 311a of the first virtual object team, and the image 311a includes the images of the first virtual object and the first associated virtual object; the image display area 31 can also display an image 312 of the second virtual object; the text display area 32 is used to display the plot content of the first virtual object team competing with the second virtual object.
[0130] As shown in Figure 3b, the first associated virtual object can form a first virtual object team with the first virtual object, and the second associated character can form a second virtual object team with the second virtual object, and the first virtual object team can compete against the second virtual object team. In this case, image display area 31 can display image 311a of the first virtual object team, which includes images of the first virtual object and the first associated virtual object; image display area 31 can also display image 312a of the second virtual object team, which includes images of the second virtual object and the second associated character; and text display area 32 is used to display the plot content of the competition between the first virtual object team and the second virtual object team.
[0131] For example, FIG3 c and FIG3 d show the contents displayed in the image display area 31 and the text display area 32 when the first virtual object team competes against the second virtual object team.
[0132] As shown in FIG3c , the text display area 32 currently displays the plot content “the first virtual object in the first virtual object team performs skill A”, and the image display area 31 displays an image 311b of the first virtual object performing skill A that matches the paragraph.
[0133] As shown in Figure 3d, based on the previous plot related to the second virtual object, it is determined that the second virtual object and the second associated virtual object can perform joint skill C. In this case, the text display area 32 currently displays the plot content "The second virtual object team dodges and performs joint skill C," and the image display area 31 displays an image 312b of the second virtual object and the second associated virtual object performing joint skill C, which matches this paragraph.
[0134] FIG4 shows a block diagram of some embodiments of a content generation device according to the present disclosure.
[0135] As shown in Figure 4, the content generating device 4 includes: an acquisition unit 41, which is used to obtain relevant information of the first virtual object and relevant information of the second virtual object that are in confrontation, and the relevant information is used to describe the attribute characteristics of the virtual objects; a generation unit 42, which is used to generate plot content describing the confrontation between the first virtual object and the second virtual object based on the relevant information of the first virtual object and the relevant information of the second virtual object.
[0136] In some embodiments, the relevant information includes at least one of the character attributes or skill attributes of the virtual object, and the generation unit 42 determines the plot content based on at least one of the comparison results of the character attributes of the first virtual object and the character attributes of the second virtual object, or the comparison results of the skill attributes of the first virtual object and the skill attributes of the second virtual object.
[0137] In some embodiments, the plot content includes description content of a first virtual object performing a first skill, and description content of a second virtual object performing a second skill.
[0138] In some embodiments, the plot content includes description content of the first virtual object's reaction to the second skill, and description content of the second virtual object's reaction to the first skill.
[0139] In some embodiments, the character attributes include the character's current health information, and the skill attributes include the skill information acquired by the character in previous plots of the interactive multimedia content.
[0140] In some embodiments, the generation unit 42 determines at least one of the first associated virtual object of the first virtual object or the second associated virtual object of the second virtual object based on the previous plot of the interactive multimedia content, and generates plot content describing the confrontation between the first virtual object set and the second virtual object set, where the first virtual object set includes at least one of the first virtual object or the first associated virtual object, and the second virtual object set includes at least one of the second virtual object or the second associated virtual object.
[0141] In some embodiments, the generation unit 42 determines at least one of the first joint skill attributes of the first virtual object and the first associated virtual object, or the second joint skill attributes of the second virtual object and the second associated virtual object based on the previous plot; and generates plot content based on at least one of the first joint skill attributes or the second joint skill attributes.
[0142] In some embodiments, the generation unit 42 generates content prompt information based on the relevant information of the first virtual object and the relevant information of the second virtual object, and generates plot content using a machine learning model based on the content prompt information.
[0143] In some embodiments, the content generating device 4 further includes: a display unit 43, configured to display plot content to a user, where the plot content includes at least one of text content and image content.
[0144] In some embodiments, the image content is generated based on the text content.
[0145] In some embodiments, the text content includes multiple paragraphs, the image content includes multiple images, and each of the multiple paragraphs is displayed together with a corresponding image.
[0146] In some embodiments, the image content is video content generated from multiple images.
[0147] In some embodiments, the text styles of the content corresponding to the first virtual object and the content corresponding to the second virtual object in the text content are different.
[0148] In some embodiments, the text content includes multiple paragraphs, and the display unit displays the multiple paragraphs to the user at the same time, or displays one of the multiple paragraphs to the user each time according to the occurrence order of the multiple paragraphs.
[0149] In some embodiments, the plot content includes confrontation process content and confrontation result content.
[0150] FIG5 is a block diagram showing some other embodiments of the content generating device of the present disclosure.
[0151] As shown in FIG5 , the content generating apparatus 5 of this embodiment includes a memory 51 and a processor 52 coupled to the memory 51 . The processor 52 is configured to execute the content generating method of any one of the embodiments of the present disclosure based on instructions stored in the memory 51 .
[0152] The memory 51 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, application programs, a boot loader, a database, and other programs.
[0153] FIG6 shows a block diagram of yet some embodiments of a content generating device according to the present disclosure.
[0154] As shown in FIG6 , the content generating device 6 of this embodiment includes: a memory 610 and a processor 620 coupled to the memory 610 . The processor 620 is configured to execute the content generating method of any of the aforementioned embodiments based on instructions stored in the memory 610 .
[0155] The memory 610 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, application programs, a boot loader, and other programs.
[0156] The content generation device 6 may further include an input / output interface 630, a network interface 640, a storage interface 650, and the like. These interfaces 630, 640, 650, as well as the memory 610 and the processor 620, may be connected, for example, via a bus 660. The input / output interface 630 provides a connection interface for input / output devices such as a display, mouse, keyboard, touch screen, microphone, and speakers. The network interface 640 provides a connection interface for various networked devices. The storage interface 650 provides a connection interface for external storage devices such as SD cards and USB flash drives.
[0157] Those skilled in the art will appreciate that embodiments of the present disclosure may be provided as methods, systems, or computer program products. Thus, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transitory storage media, including but not limited to magnetic disk storage, CD-ROMs, optical storage, and the like, containing computer-usable program code.
[0158] The content generation method, content generation device, and non-volatile computer-readable storage medium according to the present disclosure have been described in detail. To avoid obscuring the concepts of the present disclosure, some details known in the art have been omitted. Based on the above description, those skilled in the art will fully understand how to implement the technical solutions disclosed herein.
[0159] The methods and systems of the present disclosure may be implemented in many ways. For example, the methods and systems of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless otherwise specified. In addition, in some embodiments, the present disclosure may also be implemented as programs recorded in a recording medium, which include machine-readable instructions for implementing the methods according to the present disclosure. Therefore, the present disclosure also covers recording media that store programs for executing the methods according to the present disclosure.
[0160] Although some specific embodiments of the present disclosure have been described in detail by way of examples, those skilled in the art will appreciate that the above examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Those skilled in the art will appreciate that modifications may be made to the above embodiments without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Claims
1. A content generation method, comprising: Acquire relevant information of a first virtual object and relevant information of a second virtual object for confrontation, wherein the relevant information is used to describe attribute characteristics of the virtual objects; According to the relevant information of the first virtual object and the relevant information of the second virtual object, a plot content describing the confrontation between the first virtual object and the second virtual object is generated.
2. The content generation method according to claim 1, wherein: The relevant information includes at least one of the role attribute or skill attribute of the virtual object, The generating of the plot content describing the confrontation between the first virtual object and the second virtual object comprises: The plot content is determined based on at least one of a comparison result of a character attribute of the first virtual object and a character attribute of the second virtual object, or a comparison result of a skill attribute of the first virtual object and a skill attribute of the second virtual object.
3. The content generation method according to claim 2, wherein: The plot content includes description content of the first virtual object performing a first skill, and description content of the second virtual object performing a second skill.
4. The content generation method according to claim 3, wherein: The plot content includes a description of the first virtual object's reaction to the second skill, and a description of the second virtual object's reaction to the first skill.
5. The content generation method according to any one of claims 2 to 4, wherein: The character attributes include the character's current health information, and the skill attributes include the skill information acquired by the character in the previous plot of the interactive multimedia content.
6. The content generation method according to any one of claims 1 to 5, wherein: The generating of the plot content describing the confrontation between the first virtual object and the second virtual object comprises: Determining at least one of a first associated virtual object of the first virtual object or a second associated virtual object of the second virtual object according to a previous plot of the interactive multimedia content; Generate the plot content describing the confrontation between the first virtual object set and the second virtual object set, the first virtual object set including at least one of the first virtual object or the first associated virtual object, and the second virtual object set including at least one of the second virtual object or the second associated virtual object.
7. The content generation method according to claim 6, wherein: The generating of the plot content describing the confrontation between the first set of virtual objects and the second set of virtual objects comprises: Determining at least one of a first joint skill attribute of the first virtual object and the first associated virtual object, or a second joint skill attribute of the second virtual object and the second associated virtual object according to the previous plot; The plot content is generated according to at least one of the first joint skill attribute or the second joint skill attribute.
8. The content generation method according to any one of claims 1 to 7, wherein: The generating of the plot content describing the confrontation between the first virtual object and the second virtual object comprises: Generate content prompt information according to the relevant information of the first virtual object and the relevant information of the second virtual object; The plot content is generated using a machine learning model based on the content prompt information.
9. The content generation method according to any one of claims 1 to 8, further comprising: The plot content is presented to the user, wherein the plot content includes at least one of text content or image content.
10. The content generation method according to claim 9, wherein: The image content is generated according to the text content.
11. The content generation method according to claim 9 or 10, wherein: The text content includes a plurality of paragraphs, the image content includes a plurality of images, and each of the plurality of paragraphs is displayed together with a corresponding image.
12. The content generation method according to claim 11, wherein: The image content is video content generated based on the multiple images.
13. The content generation method according to any one of claims 9 to 12, wherein: The text content corresponding to the first virtual object and the text content corresponding to the second virtual object have different text styles.
14. The content generation method according to any one of claims 9 to 13, wherein: The text content includes multiple paragraphs. The presenting the plot content to the user comprises: Presenting the plurality of paragraphs to the user simultaneously; or The plurality of paragraphs are presented to the user one at a time in the order in which the plurality of paragraphs occur.
15. The content generation method according to any one of claims 1 to 14, wherein: The plot content includes the confrontation process content and the confrontation result content.
16. A content generating device, comprising: An acquisition unit, configured to acquire relevant information of a first virtual object and relevant information of a second virtual object for confrontation, wherein the relevant information is used to describe attribute characteristics of the virtual objects; A generating unit is used to generate a plot content describing a confrontation between the first virtual object and the second virtual object according to the relevant information of the first virtual object and the relevant information of the second virtual object.
17. The content generating device according to claim 16, further comprising: The display unit is used to display the plot content to the user, and the plot content includes at least one of text content or image content.
18. A content generating device, comprising: Memory; and A processor coupled to the memory, wherein the processor is configured to execute the content generating method according to any one of claims 1 to 15 based on instructions stored in the memory.
19. A non-volatile computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the content generating method according to any one of claims 1 to 15 is implemented.
20. A computer program product comprising instructions which, when executed by a processor, cause the processor to perform the content generation method according to any one of claims 1-15.
Citation Information
Patent Citations
Battle process display method and device based on graphic and text information
CN112023403A
Information display method and device, computer equipment and storage medium
CN113101652A
Virtual scene display method and device, terminal and storage medium
CN113813606A
Program, game system, information processing device, and server device
CN114222610A
Game commentary information generation method, device and equipment and readable storage medium
CN116943247A