Virtual scene dialogue processing method and device, electronic equipment and storage medium

By selecting the target dialogue template and generating virtual dialogue scenes, the problem of inefficient creation of game dialogue scenes is solved, and a more efficient scene creation and preview process is achieved.

CN119656599APending Publication Date: 2025-03-21XINGZHEN TECH (SHANGHAI) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411556755.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

The game dialogue scene creation efficiency is low, and each scene needs to be created separately, resulting in repetitive work and inefficient efficiency.

Method used

Provides a virtual scene dialogue processing method, which displays character and scene characters by selecting target dialogue templates, generates virtual conversation scenes, and supports dialogue scene preview and configuration.

Benefits of technology

It improves the efficiency of dialogue scene creation, avoids the repeated creation of the same or similar scene content, and enhances the convenience of dialogue scene preview and information adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119656599A_ABST
    Figure CN119656599A_ABST
Patent Text Reader

Abstract

The invention relates to a virtual scene dialogue processing method and device, electronic equipment and a storage medium, and the method can comprise the steps: responding to a dialogue template selection operation, and displaying a selected target dialogue template; the target dialogue template comprises a target character role and a target scene role; in response to a dialogue scene preview operation, displaying preview information of a target virtual dialogue scene under the condition that dialogue configuration operation is completed on the target character role; the target virtual dialogue scene comprises the target character role after scene processing based on the target scene role, the target character role in the target virtual dialogue scene has target dialogue information, and the target dialogue information is determined based on the dialogue configuration operation. The conversation scene creation efficiency can be improved, and the preview convenience of the target virtual conversation scene can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a virtual scene dialogue processing method, device, electronic device and storage medium. Background Art

[0002] In the development of games, game dialogue has gradually played an increasingly important role from scratch. From the initial simple text prompts to today's realistic voice and expression animations, the game dialogue function has undergone tremendous changes and innovations. In related technologies, when creating a game dialogue scene, it is necessary to perform corresponding scene creation operations for each game dialogue scene, which results in low efficiency in creating game dialogue scenes. Summary of the invention

[0003] The present disclosure provides a virtual scene dialogue processing method, device, electronic device and storage medium to at least solve the problem of low efficiency in creating game dialogue scenes in the related art. The technical solution of the present disclosure is as follows:

[0004] According to a first aspect of an embodiment of the present disclosure, a method for processing a virtual scene dialogue is provided, comprising:

[0005] In response to the dialogue template selection operation, displaying the selected target dialogue template; the target dialogue template includes a target persona role and a target scene role;

[0006] In response to a dialogue scene preview operation, preview information of a target virtual dialogue scene is displayed when a dialogue configuration operation is completed for the target character; the target virtual dialogue scene includes the target character after scene processing based on the target scene character, and the target character in the target virtual dialogue scene has target dialogue information, and the target dialogue information is determined based on the dialogue configuration operation.

[0007] In an exemplary embodiment, the method further comprises:

[0008] determining at least one type of dialogue template;

[0009] In the process of generating the dialogue template of each dialogue template type, in response to the dialogue template configuration operation, presenting candidate character roles and candidate scene roles;

[0010] In response to a selection operation of at least one character role among the candidate characters, determining a template character role corresponding to each of the dialogue template types;

[0011] In response to a selection operation of at least one scene role among the candidate scene roles, determining a template scene role corresponding to each type of the dialogue template;

[0012] In response to the dialogue template generation operation, a dialogue template corresponding to each dialogue template type is generated based on the template character role and the template scene role.

[0013] In an exemplary embodiment, the method further comprises:

[0014] In response to an import operation of a target dialogue file, a dialogue configuration operation is performed on the target character based on the target dialogue file; the target dialogue file is a file generated based on a target document editing tool and contains preset dialogue text information, and the target document editing tool has a function of batch editing dialogue text information.

[0015] In an exemplary embodiment, the target conversation file includes a plurality of preset conversation information, each of which includes a plurality of conversation fields and field values ​​corresponding to the plurality of conversation fields;

[0016] In response to the import operation of the target dialogue file, performing a dialogue configuration operation on the target character based on the target dialogue file includes:

[0017] In response to the import operation of the target conversation file, extracting the multiple conversation fields of each preset conversation message and the field values ​​corresponding to the multiple conversation fields, and generating a conversation file in a target format based on the extracted multiple conversation fields and the field values ​​corresponding to the multiple conversation fields;

[0018] In response to the dialog configuration operation based on the dialog file in the target format, the dialog configuration is performed on the target character based on the dialog file in the target format.

[0019] In an exemplary embodiment, the target format dialog file includes a plurality of dialog information to be configured; the plurality of dialog information to be configured corresponds one to one with the plurality of preset dialog information;

[0020] In response to the dialogue configuration operation based on the dialogue file in the target format, the dialogue configuration for the target persona based on the dialogue file in the target format includes:

[0021] In response to an information adjustment operation on at least one piece of dialogue information to be configured during the dialogue configuration process, obtaining at least one piece of dialogue information to be configured after adjustment; the information adjustment operation is determined based on an expected scene effect of the at least one piece of dialogue information to be configured when the target virtual dialogue scene is displayed;

[0022] The target character is configured for dialogue based on the adjusted at least one piece of dialogue information to be configured.

[0023] In an exemplary embodiment, the method further comprises:

[0024] In response to the dialog file export operation, the adjusted at least one dialog information to be configured is exported to the target document editing tool, so that the target document editing tool updates the target dialog file based on the adjusted at least one dialog information to be configured to obtain an updated target dialog file.

[0025] In an exemplary embodiment, the target human role and the target scene role both correspond to an extended attribute configuration interface;

[0026] In response to the dialogue scene preview operation, when the dialogue configuration operation is completed for the target character, displaying preview information of the target virtual dialogue scene includes:

[0027] In response to the dialogue scene preview operation, preview information of the target virtual dialogue scene is displayed when the dialogue configuration operation is completed for the target human character and the extended attribute configuration operation is completed for at least one character; the at least one character in the target virtual dialogue scene is displayed based on target extended attributes, the at least one character is at least one character among the target human character and the target scene character, and the target extended attributes are obtained by configuring the extended attribute configuration interface of the at least one character.

[0028] In an exemplary embodiment, the target dialogue file includes a plurality of preset dialogue information; in response to the import operation of the target dialogue file, performing a dialogue configuration operation on the target character based on the target dialogue file includes:

[0029] In response to an import operation on the target dialogue file, displaying dialogue branch information corresponding to the target dialogue file;

[0030] In response to a branch configuration operation based on the dialogue branch information, displaying target dialogue branch information;

[0031] In response to a confirmation operation based on the target dialogue branch information, a dialogue configuration operation is performed on the target character based on the target dialogue branch information and the plurality of preset dialogue information.

[0032] According to a second aspect of an embodiment of the present disclosure, there is provided a virtual scene dialogue processing device, comprising:

[0033] A template display unit is configured to display a selected target dialogue template in response to a dialogue template selection operation; the target dialogue template includes a target persona role and a target scene role;

[0034] The scene preview unit is configured to execute a dialogue scene preview operation in response to which preview information of the target virtual dialogue scene is displayed when a dialogue configuration operation is completed for the target character; the target virtual dialogue scene includes the target character after scene processing based on the target scene character, and the target character in the target virtual dialogue scene has target dialogue information, which is determined based on the dialogue configuration operation.

[0035] In an exemplary embodiment, the apparatus further comprises a template generating unit configured to execute:

[0036] determining at least one type of dialogue template;

[0037] In the process of generating the dialogue template of each dialogue template type, in response to the dialogue template configuration operation, presenting candidate character roles and candidate scene roles;

[0038] In response to a selection operation of at least one character role among the candidate characters, determining a template character role corresponding to each of the dialogue template types;

[0039] In response to a selection operation of at least one scene role among the candidate scene roles, determining a template scene role corresponding to each type of the dialogue template;

[0040] In response to the dialogue template generation operation, a dialogue template corresponding to each dialogue template type is generated based on the template character role and the template scene role.

[0041] In an exemplary embodiment, the apparatus further comprises a dialog configuration unit configured to execute:

[0042] In response to an import operation of a target dialogue file, a dialogue configuration operation is performed on the target character based on the target dialogue file; the target dialogue file is a file generated based on a target document editing tool and contains preset dialogue text information, and the target document editing tool has a function of batch editing dialogue text information.

[0043] In an exemplary embodiment, the target conversation file includes a plurality of preset conversation information, each of which includes a plurality of conversation fields and field values ​​corresponding to the plurality of conversation fields;

[0044] The dialog configuration unit includes:

[0045] an information extraction unit, configured to extract the plurality of dialogue fields and the field values ​​corresponding to the plurality of dialogue fields of each preset dialogue information in response to an import operation of the target dialogue file, and generate a dialogue file in a target format based on the extracted plurality of dialogue fields and the field values ​​corresponding to the plurality of dialogue fields;

[0046] The information configuration unit is configured to execute a dialogue configuration operation in response to the dialogue file based on the target format, and to perform dialogue configuration for the target character based on the dialogue file in the target format.

[0047] In an exemplary embodiment, the target format dialog file includes a plurality of dialog information to be configured; the plurality of dialog information to be configured corresponds one to one with the plurality of preset dialog information;

[0048] The information configuration unit is configured to execute:

[0049] In response to an information adjustment operation on at least one piece of dialogue information to be configured during the dialogue configuration process, obtaining at least one piece of dialogue information to be configured after adjustment; the information adjustment operation is determined based on an expected scene effect of the at least one piece of dialogue information to be configured when the target virtual dialogue scene is displayed;

[0050] The target character is configured for dialogue based on the adjusted at least one piece of dialogue information to be configured.

[0051] In an exemplary embodiment, the apparatus further comprises a file exporting unit configured to execute:

[0052] In response to the dialog file export operation, the adjusted at least one dialog information to be configured is exported to the target document editing tool, so that the target document editing tool updates the target dialog file based on the adjusted at least one dialog information to be configured to obtain an updated target dialog file.

[0053] In an exemplary embodiment, the target human role and the target scene role both correspond to an extended attribute configuration interface;

[0054] The scene preview unit is configured to execute:

[0055] In response to the dialogue scene preview operation, preview information of the target virtual dialogue scene is displayed when the dialogue configuration operation is completed for the target human character and the extended attribute configuration operation is completed for at least one character; the at least one character in the target virtual dialogue scene is displayed based on target extended attributes, the at least one character is at least one character among the target human character and the target scene character, and the target extended attributes are obtained by configuring the extended attribute configuration interface of the at least one character.

[0056] In an exemplary embodiment, the dialog configuration unit is configured to execute:

[0057] In response to an import operation on the target dialogue file, displaying dialogue branch information corresponding to the target dialogue file;

[0058] In response to a branch configuration operation based on the dialogue branch information, displaying target dialogue branch information;

[0059] In response to a confirmation operation based on the target dialogue branch information, a dialogue configuration operation is performed on the target character based on the target dialogue branch information and the plurality of preset dialogue information.

[0060] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the virtual scene dialogue processing method as described above.

[0061] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the virtual scene dialogue processing method as described above.

[0062] According to the fifth aspect of an embodiment of the present disclosure, a computer program product is provided, which includes a computer program, and the computer program is stored in a readable storage medium. At least one processor of a computer device reads and executes the computer program from the readable storage medium, so that the device executes the above-mentioned virtual scene dialogue processing method.

[0063] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0064] In the case where a virtual dialogue scene needs to be generated, the present invention can select a desired target dialogue template and display the selected target dialogue template. The target dialogue template can include a target character role and a target scene role in the dialogue scene to be created, thereby realizing the creation of a virtual dialogue scene based on the target dialogue template. The same dialogue template can be used to create the same or similar dialogue scenes, and there is no need to perform scene creation operations from scratch for each dialogue scene to be created, thereby avoiding the repeated creation of the same or similar scene content, thereby improving the efficiency of dialogue scene creation; when the dialogue configuration operation is completed for the target character role, the created target virtual dialogue scene can be previewed, specifically, in response to the dialogue scene preview operation, the preview information of the target virtual dialogue scene can be displayed, so as to facilitate real-time preview of the display of the target virtual dialogue scene, which is different from the technical problem of needing to enter the target virtual scene to browse the target virtual dialogue scene, thereby improving the convenience of previewing the target virtual dialogue scene; and by previewing the virtual dialogue scene in real time, the corresponding scene information can be adjusted in real time according to the creation requirements, thereby improving the convenience of adjusting the scene information.

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

[0066] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0067] Figure 1 It is a schematic diagram of an implementation environment according to an exemplary embodiment.

[0068] Figure 2 The present invention is a flow chart of a method for processing a virtual scene dialogue according to an exemplary embodiment.

[0069] Figure 3 The figure is a flow chart of a method for generating a dialogue template according to an exemplary embodiment.

[0070] Figure 4 The figure is a schematic diagram showing a target dialogue template according to an exemplary embodiment.

[0071] Figure 5 The figure is a schematic diagram of preset dialogue information according to an exemplary embodiment.

[0072] Figure 6 The figure is a schematic diagram of displaying dialogue branch information according to an exemplary embodiment.

[0073] Figure 7The figure is a schematic diagram of an editing page of a dialogue scenario editor according to an exemplary embodiment.

[0074] Figure 8 The present invention is a block diagram of a virtual scene dialogue processing device according to an exemplary embodiment.

[0075] Fig. 9 The figure is a schematic diagram showing the structure of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0076] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0077] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0078] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0079] See also Figure 1 , which shows a schematic diagram of an implementation environment provided by an embodiment of the present disclosure, the implementation environment may include: at least one dialogue processing terminal 110 and a virtual scene server 120, and the dialogue processing terminal 110 and the virtual scene server 120 can communicate data through a network.

[0080] Specifically, the virtual scene server 120 may store scene data related to the virtual scene; the dialogue processing terminal 110 may perform a virtual scene dialogue processing operation. Specifically, the dialogue processing terminal 110 may obtain a target dialogue template from the local or virtual scene server 120 in response to a dialogue template selection operation, and display the target character and target scene character in the target dialogue template. The dialogue processing terminal 110 may also display preview information of the target virtual dialogue scene in response to a dialogue scene preview operation, when the dialogue configuration operation is completed for the target character.

[0081] The dialogue processing terminal 110 can communicate with the virtual scene server 120 based on the browser / server mode (B / S) or the client / server mode (C / S). The dialogue processing terminal 110 may include: physical devices such as smart phones, tablet computers, laptops, digital assistants, smart wearable devices, and vehicle terminals, and may also include software running in physical devices, such as applications. The operating system running on the dialogue processing terminal 110 in the embodiment of the present disclosure may include but is not limited to Android system, IOS system, Linux, Windows, etc.

[0082] The virtual scene server 120 can establish a communication connection with the dialogue processing terminal 110 via wired or wireless communication. The virtual scene server 120 can include an independently operated server, or a distributed server, or a server cluster composed of multiple servers, wherein the server can be a cloud server.

[0083] In order to solve the technical problem of low efficiency in creating game dialogue scenes in the related art, the embodiment of the present disclosure provides a virtual scene dialogue processing method, the execution subject of the method can be the above-mentioned dialogue processing terminal, and can be specifically implemented based on the dialogue scene editor in the dialogue processing terminal. The virtual dialogue scene can be realized through interaction based on the dialogue scene editor. The dialogue scene editor can have the characteristics of modular design, scene construction ability, physical engine, animation system, network synchronization, cross-platform development, etc.; please refer to Figure 2 , the method may include:

[0084] S210. In response to the dialogue template selection operation, the selected target dialogue template is displayed; the target dialogue template includes a target person role and a target scene role.

[0085] In this embodiment, dialogue templates of multiple dialogue template types can be generated in advance, so that when creating a dialogue scene, a target dialogue template of the corresponding dialogue template type can be selected according to the needs, and the corresponding target virtual dialogue scene can be generated based on the target dialogue template. The target dialogue template may include basic scene elements for generating a target virtual dialogue scene, which is a static scene, for example, including target characters and target scene roles. The target characters may also include the protagonist, the supporting role, and the role position information of each character; the target scene role may include a camera, lighting, special effects, the camera position, lighting arrangement, special effect display position, etc. Correspondingly, the template types are divided according to the number of characters, and the dialogue templates of multiple dialogue template types may include a one-person template, a two-person template, a three-person template, a four-person template, etc., and in the dialogue template of each dialogue template type, each character has preset role position information, and each character corresponds to a preset camera and lighting and other scene roles.

[0086] Specifically, see Figure 3 , which shows a method for generating a dialogue template, which may include:

[0087] S310. Determine at least one dialog template type.

[0088] Template types are divided according to the number of characters, and dialogue templates of various dialogue template types may include one-person template, two-person template, three-person template, four-person template, etc.

[0089] S320. In the process of generating the dialogue template of each dialogue template type, in response to the dialogue template configuration operation, candidate character roles and candidate scene roles are displayed.

[0090] The candidate character roles and candidate scene roles can be pre-created role information for use in the dialogue template generation process; the candidate character roles can include various types of character roles, and the candidate scene roles can also include various types of scene roles to facilitate the selection of character roles and scene roles.

[0091] S330. In response to a selection operation of at least one character role among the candidate characters, determine a template character role corresponding to each dialogue template type.

[0092] S340 In response to a selection operation on at least one of the candidate scene roles, a template scene role corresponding to each of the dialogue template types is determined.

[0093] When developing a dialogue template for each dialogue template type, you can select corresponding human characters and scene characters and configure them into the dialogue template according to actual configuration requirements.

[0094] S350. In response to the dialogue template generation operation, generate a dialogue template corresponding to each dialogue template type based on the template character role and the template scene role.

[0095] By merging the template personas and template scene roles, a dialogue template corresponding to the corresponding template type can be obtained.

[0096] In this embodiment, according to the configuration requirements of various dialogue template types, roles that meet the requirements can be selected from candidate character roles and candidate scene roles and configured into corresponding dialogue templates, thereby improving the convenience and efficiency of dialogue template configuration; by configuring templates of multiple dialogue template types, it can be adapted to various virtual scene dialogue processing processes.

[0097] Specifically, take the target dialogue template as a two-person template as an example. Figure 4 , which shows a schematic diagram of the target dialogue template display, wherein the target characters in the target dialogue template include character 1 and character 2, and character 1 and character 2 stand face to face; the target scene characters include camera 1, camera 2, camera 3, and camera 4, wherein character 1 corresponds to camera 1 and camera 2, camera 1 is located directly in front of character 1, camera 2 is located on the right side of character 1, camera 3 is located directly in front of character 2, and camera 4 is located on the right side of character 2.

[0098] S220. In response to a dialogue scene preview operation, when a dialogue configuration operation is completed for the target character, preview information of a target virtual dialogue scene is displayed; the target virtual dialogue scene includes the target character after scene processing based on the target scene character, and the target character in the target virtual dialogue scene has target dialogue information, and the target dialogue information is determined based on the dialogue configuration operation.

[0099] When the dialogue configuration operation is completed for the target character, the target virtual dialogue scene can be previewed, and the preview information of the target virtual dialogue scene can be displayed by triggering the dialogue scene preview operation; the target virtual dialogue scene can be obtained by performing scene processing on the target character based on the target scene character. For example, the target scene character may include a camera and lights, and accordingly, the target character can be imaged based on the camera's position, the scene atmosphere can be rendered based on the lighting arrangement, or the target character's image can be shaped based on the lighting arrangement, and accordingly, the target virtual dialogue scene can be generated; and in the target virtual dialogue scene, the target character has target dialogue information, which is the dialogue information determined by performing the dialogue configuration operation on the target character as described above.

[0100] In the case where a virtual dialogue scene needs to be generated, the present invention can select a desired target dialogue template and display the selected target dialogue template. The target dialogue template can include a target character role and a target scene role in the dialogue scene to be created, thereby realizing the creation of a virtual dialogue scene based on the target dialogue template. The same dialogue template can be used to create the same or similar dialogue scenes, and there is no need to perform scene creation operations from scratch for each dialogue scene to be created, thereby avoiding the repeated creation of the same or similar scene content, thereby improving the efficiency of dialogue scene creation; when the dialogue configuration operation is completed for the target character role, the created target virtual dialogue scene can be previewed, specifically, in response to the dialogue scene preview operation, the preview information of the target virtual dialogue scene can be displayed, so as to facilitate real-time preview of the display of the target virtual dialogue scene, which is different from the technical problem of needing to enter the target virtual scene to browse the target virtual dialogue scene, thereby improving the convenience of previewing the target virtual dialogue scene; and by previewing the virtual dialogue scene in real time, the corresponding scene information can be adjusted in real time according to the creation requirements, thereby improving the convenience of adjusting the scene information.

[0101] In a specific embodiment, the virtual scene dialogue processing method of this embodiment may also include:

[0102] In response to an import operation of a target dialogue file, a dialogue configuration operation is performed on the target character based on the target dialogue file; the target dialogue file is a file generated based on a target document editing tool and contains preset dialogue text information, and the target document editing tool has a function of batch editing dialogue text information.

[0103] The target dialogue file in this embodiment may include preset dialogue text information, which can be used to configure dialogue for the target character, so that the target character in the target virtual dialogue scene performs dialogue display based on the configured preset dialogue text information. The target dialogue file can be generated by batch text editing based on the target document editing tool. Specifically, the target document editing tool can be an editing software with batch processing capabilities such as Excel and Word.

[0104] In this embodiment, since the target document editing tool has the function of batch editing dialogue text information, a large number of dialogue scripts can be generated at one time, thereby improving the efficiency of generating dialogue scripts.

[0105] Furthermore, the target conversation file includes a plurality of preset conversation information, each of which includes a plurality of conversation fields and field values ​​corresponding to the plurality of conversation fields;

[0106] In response to the import operation of the target dialogue file, performing a dialogue configuration operation on the target character based on the target dialogue file includes:

[0107] In response to the import operation of the target conversation file, extracting the multiple conversation fields of each preset conversation message and the field values ​​corresponding to the multiple conversation fields, and generating a conversation file in a target format based on the extracted multiple conversation fields and the field values ​​corresponding to the multiple conversation fields;

[0108] In response to the dialog configuration operation based on the dialog file in the target format, the dialog configuration is performed on the target character based on the dialog file in the target format.

[0109] Take Excel as an example, the target document editing tool is an Excel file, which includes multiple preset dialogue information. The multiple dialogue fields in each preset dialogue information include dialogue asset name, table, dialogue segment, the first sentence of dialogue, whether it can be skipped, speaker, delay time, duration, speaker notes, speech content, etc. Each dialogue field has its corresponding specific field value; please refer to Figure 5 , which shows a schematic diagram of preset dialogue information, which may include preset dialogue information 1, preset dialogue information 2, preset dialogue information 3, preset dialogue information 4, etc., wherein the field value of the dialogue asset name of preset dialogue information 1 is main012, the field value of the table to which it belongs is table1, the field value of the dialogue segment is 1, the field value of the sentence of dialogue is 3, the field value of whether it can be skipped is 1, the field value of the speaker is actor1, the field value of the delay time is 0, the field value of the duration is 2, the field value of the speaker's remarks is task NPC1, and the field value of the speech content is "××××××××"; preset dialogue information 2 and subsequent preset dialogue information all have field values ​​of corresponding fields.

[0110] Therefore, when each preset dialogue information in the target dialogue file contains multiple dialogue fields and field values ​​corresponding to the multiple dialogue fields, the multiple dialogue fields and the corresponding field values ​​can be extracted, and a dialogue file in a target format can be generated based on the extracted multiple dialogue fields and field values; the dialogue file in the target format here can be a dialogue file that matches the dialogue scene editor, that is, a dialogue file that can be directly recognized and used by the dialogue editor. In addition, the dialogue configuration operation of the target character role can be realized based on the dialogue file in the target format, thereby improving the convenience of dialogue configuration for the target character role.

[0111] In an optional embodiment, the dialog file in the target format includes multiple dialog information to be configured; the multiple dialog information to be configured corresponds one-to-one to the multiple preset dialog information; when the fields and field values ​​of each preset dialog information are extracted, the corresponding dialog information to be configured can be generated, so that the dialog information existing in each preset dialog information also exists in the corresponding dialog information to be configured, but the data format may be different.

[0112] In response to the dialogue configuration operation based on the dialogue file in the target format, the dialogue configuration for the target persona based on the dialogue file in the target format includes:

[0113] In response to an information adjustment operation on at least one piece of dialogue information to be configured during the dialogue configuration process, obtaining at least one piece of dialogue information to be configured after adjustment; the information adjustment operation is determined based on an expected scene effect of the at least one piece of dialogue information to be configured when the target virtual dialogue scene is displayed;

[0114] The target character is configured for dialogue based on the adjusted at least one piece of dialogue information to be configured.

[0115] The expected scene effect when the target virtual dialogue scene is displayed can be achieved by introducing animation display or by adjusting the position of the scene camera. Specifically, when displaying the dialogue, the corresponding animation resource display can be introduced to enhance the scene atmosphere. When displaying the dialogue, the camera position can also be adjusted to change the camera framing layout to achieve the expected scene effect.

[0116] Therefore, by performing information adjustment operations on the corresponding dialogue information based on the original preset dialogue information, and then configuring the dialogue based on the adjusted dialogue information, it is possible to add additional additional information to the preset dialogue information, so that the adjusted dialogue information can be more adapted to the display requirements of diverse dialogue scenarios, thereby improving the flexibility and diversity of dialogue scenario generation.

[0117] Furthermore, on the basis of performing the information adjustment operation on the dialogue information to be configured, the adjustment information may be exported to the original target dialogue file; specifically, the virtual scene dialogue processing method in this embodiment may further include:

[0118] In response to the dialog file export operation, the adjusted at least one dialog information to be configured is exported to the target document editing tool, so that the target document editing tool updates the target dialog file based on the adjusted at least one dialog information to be configured to obtain an updated target dialog file.

[0119] For the dialogue information to be configured that has been adjusted and updated, the relevant information of the adjustment and update can be exported to the target dialogue file to achieve the update of the target dialogue file. The update of the target dialogue file may include modifying the field value of the relevant dialogue field in the preset dialogue information corresponding to the at least one adjusted dialogue information to be configured in the target dialogue file. The update of the target dialogue file may also be to add at least one dialogue field and a corresponding field value to the preset dialogue information corresponding to the at least one adjusted dialogue information to be configured in the target dialogue file. The at least one added dialogue field and the corresponding field value may be determined based on the adjustment information of the dialogue information to be configured. For example, the information adjustment operation of the dialogue information to be configured may be to display the scene animation while displaying the dialogue information. The corresponding adjustment information is to add information for the scene animation. Accordingly, an animation field may be added to the preset dialogue information corresponding to the dialogue information to be configured. The field value of the corresponding animation field may specifically be information pointing to the animation resource acquisition address, etc.

[0120] In this embodiment, when an information adjustment operation is performed based on the dialogue information to be configured, the adjustment information corresponding to the information adjustment operation can be synchronized to the original target dialogue file, so that the target dialogue file can be filled with additional information. When the target dialogue file is subsequently imported and the dialogue configuration is performed, the dialogue configuration can be performed based on the adjusted target dialogue file, that is, the information adjusted in the early stage can be applied to the subsequent dialogue configuration scenario, avoiding the need to repeatedly adjust the dialogue information to be configured in the subsequent dialogue configuration scenario, thereby improving the efficiency of the dialogue configuration.

[0121] Therefore, according to the above content, it can be seen that the target document editing tool has a batch editing feature and can generate a large number of dialogue scripts at one time; the dialogue scene editor can realize the specific performance of the dialogue scene, so as to take advantage of the advantages of each tool, realize two-way mutual guidance and preservation of data, and ensure that data will not be lost.

[0122] In an optional embodiment, the target human role and the target scene role both correspond to an extended attribute configuration interface;

[0123] In response to the dialogue scene preview operation, when the dialogue configuration operation is completed for the target character, displaying preview information of the target virtual dialogue scene includes:

[0124] In response to the dialogue scene preview operation, preview information of the target virtual dialogue scene is displayed when the dialogue configuration operation is completed for the target human character and the extended attribute configuration operation is completed for at least one character; the at least one character in the target virtual dialogue scene is displayed based on target extended attributes, the at least one character is at least one character among the target human character and the target scene character, and the target extended attributes are obtained by configuring the extended attribute configuration interface of the at least one character.

[0125] The extended attributes of the target character role may include character movement, character expression, character visibility, character animation, etc. By configuring the extended attributes of the target character role, the character performance of the target character role in the target virtual dialogue scene can be improved; the extended attributes of the target scene role may include the camera's depth of field DOF, camera movement, lighting arrangement changes, etc. By configuring the extended attributes of the target scene role and performing scene processing based on the target scene role after the extended attribute configuration, the overall scene display effect of the target virtual dialogue scene can be improved.

[0126] The extended attribute configuration interface is like the plug-in interface of many software. The extended attribute configuration interface can be used to configure the extended attributes in the future. By providing an iterative extended attribute configuration interface, new extended attributes can be conveniently integrated into the current dialogue scene to improve the overall performance of the dialogue. Different extended attributes can be configured for different dialogue scenes, thereby improving the flexibility of dialogue scene generation.

[0127] In a specific embodiment, the target dialogue file includes a plurality of preset dialogue information; in response to the import operation of the target dialogue file, performing a dialogue configuration operation on the target character based on the target dialogue file includes:

[0128] In response to an import operation on the target dialogue file, displaying dialogue branch information corresponding to the target dialogue file;

[0129] In response to a branch configuration operation based on the dialogue branch information, displaying target dialogue branch information;

[0130] In response to a confirmation operation based on the target dialogue branch information, a dialogue configuration operation is performed on the target character based on the target dialogue branch information and the plurality of preset dialogue information.

[0131] When the target dialogue file is imported, the corresponding dialogue branch information can be displayed; among the multiple preset dialogue information in the target dialogue file, for any preset dialogue information, there may be at least one preset dialogue information corresponding to it. When there are multiple preset dialogue information corresponding to it, dialogue branch information exists at any preset dialogue information. Specifically, for speaker actor1, it corresponds to dialogue 1; for speaker actor2, it may have multiple dialogues 2 corresponding to dialogue 1, and multiple dialogues 2 can be used to answer dialogue 1. At this time, nodes of dialogue 1 and multiple dialogues 2 can be generated, and these multiple dialogue 2 nodes can be the dialogue branch information of dialogue 1; thus, for the imported target dialogue file, the following can be generated: Figure 6 The diagram shown is a diagram showing the dialogue branch information, where each node corresponds to a dialogue.

[0132] In this embodiment, by displaying the target dialogue branch information, on the one hand, the overall direction and context of the dialogue can be grasped; on the other hand, based on the displayed target dialogue branch information, the corresponding dialogue options in the target virtual dialogue scene can be configured, that is, each dialogue branch can correspond to a dialogue option in the target virtual dialogue scene, so that when the user participates in the target virtual dialogue scene, by selecting the corresponding dialogue option, the subsequent scene plot development can be realized, that is, the independent production of a more interactive plot dialogue can be realized, which is different from the technical solution of displaying fixed dialogue information in the virtual dialogue scene to realize a fixed plot, thereby improving the flexibility of the scene plot.

[0133] The following is a specific example to illustrate the implementation process of the present disclosure, wherein please refer to Figure 7 , which shows a schematic diagram of the editing page of the dialogue scene editor. The editing page may specifically include: dialogue asset configuration area 710, participating role area 720, dialogue configuration area 730, extended attribute preview area 740, basic attribute editing area 750, dialogue branch preview area 760, etc.; the editing page may include a template selection control. By triggering the template selection control, the target dialogue template can be selected, and the target dialogue file can be imported through the dialogue configuration area 730. When the target template is selected, the target dialogue template can be automatically displayed. For details, please refer to Figure 4 ; The editing page may also include a template display control, and by triggering the template display control, the selected target dialogue template may also be displayed.

[0134] When the target dialogue template is selected and the target dialogue file is imported, the global information of the dialogue scene configuration can be specifically displayed in the corresponding dialogue asset configuration area 710, which may specifically include the data storage location of the current dialogue configuration, scene binding information, etc. The participating role area 720 can display the role information of the target character role and the role information of the target scene role. The role information of the target character role may include the role information of the protagonist and the configured role information. The role information of the target scene role may include the information of the camera and the information of the light, etc., which may specifically include the number of characters, the position of the characters, the number of cameras, the camera position, etc. The basic attribute information of the target character role and the basic attribute information of the target scene role can be displayed in the basic attribute editing area 750. The basic attribute information can specifically include static attribute information such as appearance and position. The target dialogue branch information can be displayed in the dialogue branch preview area 760. By triggering the target dialogue branch information in the dialogue branch preview area, the enlarged display of the target dialogue branch information can also be realized. In the case where extended attribute configuration is required, the extended attribute configuration of the target character role or the target scene role can also be realized based on the extended attribute preview area 740. The editing page can also include a preview control, and the target virtual dialogue scene can be displayed by triggering the preview control.

[0135] It should be noted that any of the above methods of this embodiment can be combined based on actual implementation conditions and have corresponding beneficial effects, which will not be described in detail here.

[0136] Figure 8 FIG. 1 is a block diagram of a virtual scene dialogue processing device according to an exemplary embodiment. Figure 8 , the device comprises:

[0137] The template display unit 810 is configured to display the selected target dialogue template in response to the dialogue template selection operation; the target dialogue template includes a target persona role and a target scene role;

[0138] The scene preview unit 820 is configured to execute a dialogue scene preview operation in response to the dialogue scene preview operation, and to display preview information of the target virtual dialogue scene when the dialogue configuration operation is completed for the target character; the target virtual dialogue scene includes the target character after scene processing based on the target scene character, and the target character in the target virtual dialogue scene has target dialogue information, and the target dialogue information is determined based on the dialogue configuration operation.

[0139] In an exemplary embodiment, the apparatus further comprises a template generating unit configured to execute:

[0140] determining at least one type of dialogue template;

[0141] In the process of generating the dialogue template of each dialogue template type, in response to the dialogue template configuration operation, presenting candidate character roles and candidate scene roles;

[0142] In response to a selection operation of at least one character role among the candidate characters, determining a template character role corresponding to each of the dialogue template types;

[0143] In response to a selection operation of at least one scene role among the candidate scene roles, determining a template scene role corresponding to each type of the dialogue template;

[0144] In response to the dialogue template generation operation, a dialogue template corresponding to each dialogue template type is generated based on the template character role and the template scene role.

[0145] In an exemplary embodiment, the apparatus further comprises a dialog configuration unit configured to execute:

[0146] In response to an import operation of a target dialogue file, a dialogue configuration operation is performed on the target character based on the target dialogue file; the target dialogue file is a file generated based on a target document editing tool and contains preset dialogue text information, and the target document editing tool has a function of batch editing dialogue text information.

[0147] In an exemplary embodiment, the target conversation file includes a plurality of preset conversation information, each of which includes a plurality of conversation fields and field values ​​corresponding to the plurality of conversation fields;

[0148] The dialog configuration unit includes:

[0149] an information extraction unit, configured to extract the plurality of dialogue fields and the field values ​​corresponding to the plurality of dialogue fields of each preset dialogue information in response to an import operation of the target dialogue file, and generate a dialogue file in a target format based on the extracted plurality of dialogue fields and the field values ​​corresponding to the plurality of dialogue fields;

[0150] The information configuration unit is configured to execute a dialogue configuration operation in response to the dialogue file based on the target format, and to perform dialogue configuration for the target character based on the dialogue file in the target format.

[0151] In an exemplary embodiment, the target format dialog file includes a plurality of dialog information to be configured; the plurality of dialog information to be configured corresponds one to one with the plurality of preset dialog information;

[0152] The information configuration unit is configured to execute:

[0153] In response to an information adjustment operation on at least one piece of dialogue information to be configured during the dialogue configuration process, obtaining at least one piece of dialogue information to be configured after adjustment; the information adjustment operation is determined based on an expected scene effect of the at least one piece of dialogue information to be configured when the target virtual dialogue scene is displayed;

[0154] The target character is configured for dialogue based on the adjusted at least one piece of dialogue information to be configured.

[0155] In an exemplary embodiment, the apparatus further comprises a file exporting unit configured to execute:

[0156] In response to the dialog file export operation, the adjusted at least one dialog information to be configured is exported to the target document editing tool, so that the target document editing tool updates the target dialog file based on the adjusted at least one dialog information to be configured to obtain an updated target dialog file.

[0157] In an exemplary embodiment, the target human role and the target scene role both correspond to an extended attribute configuration interface;

[0158] The scene preview unit is configured to execute:

[0159] In response to the dialogue scene preview operation, preview information of the target virtual dialogue scene is displayed when the dialogue configuration operation is completed for the target human character and the extended attribute configuration operation is completed for at least one character; the at least one character in the target virtual dialogue scene is displayed based on target extended attributes, the at least one character is at least one character among the target human character and the target scene character, and the target extended attributes are obtained by configuring the extended attribute configuration interface of the at least one character.

[0160] In an exemplary embodiment, the dialog configuration unit is configured to execute:

[0161] In response to an import operation on the target dialogue file, displaying dialogue branch information corresponding to the target dialogue file;

[0162] In response to a branch configuration operation based on the dialogue branch information, displaying target dialogue branch information;

[0163] In response to a confirmation operation based on the target dialogue branch information, a dialogue configuration operation is performed on the target character based on the target dialogue branch information and the plurality of preset dialogue information.

[0164] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0165] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided. Optionally, the computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a tape, a floppy disk, an optical data storage device, etc.; when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any of the methods described above.

[0166] In an exemplary embodiment, a computer program product is also provided, which includes a computer program stored in a readable storage medium, and at least one processor of a computer device reads and executes the computer program from the readable storage medium, so that the device performs any of the above methods.

[0167] Fig. 9 is a block diagram of an electronic device for multimedia content sharing according to an exemplary embodiment. The electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig. 9 As shown, it may include an RF (Radio Frequency) circuit 910, a memory 920 including one or more computer-readable storage media, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a WiFi (wireless fidelity) module 970, a processor 980 including one or more processing cores, and a power supply 990. Those skilled in the art will understand that Fig. 9 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0168] The RF circuit 910 can be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors 980 for processing; in addition, the data related to the uplink is sent to the base station. Generally, the RF circuit 910 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a user identity module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, etc. In addition, the RF circuit 910 can also communicate with the network and other terminals through wireless communication. Wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), etc.

[0169] The memory 920 can be used to store software programs and modules. The processor 980 executes various functional applications and data processing by running the software programs and modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, application programs required for functions, etc.; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 920 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 920 may also include a memory controller to provide the processor 980 and the input unit 930 with access to the memory 920.

[0170] The input unit 930 can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, the input unit 930 may include a touch-sensitive surface 931 and other input devices 932. The touch-sensitive surface 931, also known as a touch display screen or a touchpad, can collect user touch operations on or near it (such as operations performed by users using fingers, styluses, or any other suitable objects or accessories on or near the touch-sensitive surface 931), and drive corresponding connection devices according to a pre-set program. Optionally, the touch-sensitive surface 931 may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into touch point coordinates, and then sends it to the processor 980, and can receive and execute commands sent by the processor 980. In addition, the touch-sensitive surface 931 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 931, the input unit 930 may further include other input devices 932. Specifically, the other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.

[0171] The display unit 940 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit 940 may include a display panel 941, and optionally, the display panel 941 may be configured in the form of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc. Further, the touch-sensitive surface 931 may cover the display panel 941, and when the touch-sensitive surface 931 detects a touch operation on or near it, it is transmitted to the processor 980 to determine the type of the touch event, and then the processor 980 provides corresponding visual output on the display panel 941 according to the type of the touch event. Among them, the touch-sensitive surface 931 and the display panel 941 can be two independent components to realize the input and output functions, but in some embodiments, the touch-sensitive surface 931 and the display panel 941 can also be integrated to realize the input and output functions.

[0172] The terminal may also include at least one sensor 950, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 941 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 941 and / or the backlight when the terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that can also be configured in the terminal, they will not be repeated here.

[0173] The audio circuit 960, the speaker 961, and the microphone 962 can provide an audio interface between the user and the terminal. The audio circuit 960 can transmit the received audio data to the speaker 961 after converting the electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, which is received by the audio circuit 960 and converted into audio data, and then the audio data is processed by the output processor 980, and then sent to another terminal through the RF circuit 910, or the audio data is output to the memory 920 for further processing. The audio circuit 960 may also include an earplug jack to provide communication between an external headset and the terminal.

[0174] WiFi is a short-range wireless transmission technology. The terminal can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 970. It provides users with wireless broadband Internet access. Fig. 9 A WiFi module 970 is shown, but it is understandable that it is not an essential component of the terminal and can be omitted as needed without changing the essence of the invention.

[0175] The processor 980 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire terminal. It executes various functions of the terminal and processes data by running or executing software programs and / or modules stored in the memory 920, and calling data stored in the memory 920, so as to monitor the terminal as a whole. Optionally, the processor 980 may include one or more processing cores; preferably, the processor 980 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 980.

[0176] The terminal also includes a power supply 990 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 980 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. The power supply 990 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0177] Although not shown, the terminal may also include a camera, a Bluetooth module, etc., which will not be described in detail herein. Specifically in this embodiment, the display unit of the terminal is a touch screen display, and the terminal further includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors to execute instructions in the method embodiment of the present invention.

[0178] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

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

Claims

1. A virtual scene dialogue processing method, characterized in that: include: In response to the dialog template selection operation, displaying the selected target dialog template; The target dialogue template includes a target persona and a target scene role; In response to the dialogue scene preview operation, when the dialogue configuration operation is completed for the target character, preview information of the target virtual dialogue scene is displayed; The target virtual dialogue scene includes the target human character after scene processing based on the target scene character, and the target human character in the target virtual dialogue scene has target dialogue information, and the target dialogue information is determined based on the dialogue configuration operation.

2. The method according to claim 1, characterized in that The method further comprises: determining at least one type of dialogue template; In the process of generating the dialogue template of each dialogue template type, in response to the dialogue template configuration operation, presenting candidate character roles and candidate scene roles; In response to a selection operation of at least one character role among the candidate characters, determining a template character role corresponding to each of the dialogue template types; In response to a selection operation of at least one scene role among the candidate scene roles, determining a template scene role corresponding to each type of the dialogue template; In response to the dialogue template generation operation, a dialogue template corresponding to each dialogue template type is generated based on the template character role and the template scene role.

3. The method according to claim 1, characterized in that The method further comprises: In response to an import operation of a target dialogue file, a dialogue configuration operation is performed on the target character based on the target dialogue file; the target dialogue file is a file generated based on a target document editing tool and contains preset dialogue text information, and the target document editing tool has a function of batch editing dialogue text information.

4. The method according to claim 3, characterized in that The target conversation file includes a plurality of preset conversation information, each of which includes a plurality of conversation fields and field values ​​corresponding to the plurality of conversation fields; In response to the import operation of the target dialogue file, performing a dialogue configuration operation on the target character based on the target dialogue file includes: In response to the import operation of the target conversation file, extracting the multiple conversation fields of each preset conversation message and the field values ​​corresponding to the multiple conversation fields, and generating a conversation file in a target format based on the extracted multiple conversation fields and the field values ​​corresponding to the multiple conversation fields; In response to the dialog configuration operation based on the dialog file in the target format, the dialog configuration is performed on the target character based on the dialog file in the target format.

5. The method according to claim 4, characterized in that The target format dialog file includes a plurality of dialog information to be configured; the plurality of dialog information to be configured corresponds one to one with the plurality of preset dialog information; In response to the dialogue configuration operation based on the dialogue file in the target format, the dialogue configuration for the target persona based on the dialogue file in the target format includes: In response to an information adjustment operation on at least one piece of dialogue information to be configured during the dialogue configuration process, obtaining at least one piece of dialogue information to be configured after adjustment; the information adjustment operation is determined based on an expected scene effect of the at least one piece of dialogue information to be configured when the target virtual dialogue scene is displayed; The target character is configured for dialogue based on the adjusted at least one piece of dialogue information to be configured.

6. The method according to claim 5, characterized in that The method further comprises: In response to the dialog file export operation, the adjusted at least one dialog information to be configured is exported to the target document editing tool, so that the target document editing tool updates the target dialog file based on the adjusted at least one dialog information to be configured to obtain an updated target dialog file.

7. The method according to claim 1, characterized in that The target character role and the target scene role both correspond to the extended attribute configuration interface; In response to the dialogue scene preview operation, when the dialogue configuration operation is completed for the target character, displaying preview information of the target virtual dialogue scene includes: In response to the dialogue scene preview operation, preview information of the target virtual dialogue scene is displayed when the dialogue configuration operation is completed for the target human character and the extended attribute configuration operation is completed for at least one character; the at least one character in the target virtual dialogue scene is displayed based on target extended attributes, the at least one character is at least one character among the target human character and the target scene character, and the target extended attributes are obtained by configuring the extended attribute configuration interface of the at least one character.

8. The method according to claim 3, characterized in that The target dialogue file includes a plurality of preset dialogue information; In response to the import operation of the target dialogue file, performing a dialogue configuration operation on the target character based on the target dialogue file includes: In response to an import operation of the target dialogue file, displaying dialogue branch information corresponding to the target dialogue file; In response to a branch configuration operation based on the dialogue branch information, displaying target dialogue branch information; In response to a confirmation operation based on the target dialogue branch information, a dialogue configuration operation is performed on the target character based on the target dialogue branch information and the plurality of preset dialogue information.

9. A virtual scene dialogue processing device, characterized in that: include: A template display unit, configured to display the selected target dialogue template in response to the dialogue template selection operation; The target dialogue template includes a target persona and a target scene role; A scene preview unit is configured to execute a preview operation in response to the dialogue scene, and display preview information of the target virtual dialogue scene when the dialogue configuration operation is completed for the target character; The target virtual dialogue scene includes the target human character after scene processing based on the target scene character, and the target human character in the target virtual dialogue scene has target dialogue information, and the target dialogue information is determined based on the dialogue configuration operation.

10. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the virtual scene dialogue processing method as described in any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the virtual scene dialogue processing method as described in any one of claims 1 to 8.

12. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the virtual scene dialogue processing method according to any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Audio generation method and device and related product

    CN121214910A