Interaction control method and apparatus, and device and storage medium
By creating a second virtual object associated with the first identity selected by the user in the virtual scene, the problem of insufficient interactive experience in the virtual scene is solved, personalized and diversified interactive experience is achieved, and the user's virtual scene perception is improved.
Patent Information
- Application Number
- PCT/CN2024/121598
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-18
- Filing Date
- 2024-09-26
- Publication Date
- 2025-07-24
AI Technical Summary
In the prior art, users have insufficient interaction experience in virtual scenes, especially when the number of virtual objects interactions is insufficient or the identity is single, they cannot meet diversified needs.
By creating a second virtual object associated with the second identity based on the first identity selected by the user, the second virtual object is configured to support at least one type of interaction with the first virtual object, and its setting information is associated with the second identity to improve the interactive experience.
It enhances users' interactive experience in virtual scenes, provides personalized interactive methods, meets diverse interactive needs, and improves users' perception of virtual scenes.
Smart Images

Figure CN2024121598_24072025_PF_FP_ABST
Abstract
Description
Interactive control method, device, equipment and storage medium
[0001] This application claims priority to the Chinese invention patent application entitled “Method, apparatus, device and storage medium for interactive control” and application number 202410078683.6, filed on January 18, 2024. The entire contents of that application are incorporated herein by reference. Technical Field
[0002] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for interactive control. Background Art
[0003] With the development of computer technology, various electronic devices can greatly enrich people's daily life. For example, people can use electronic devices to carry out various interactions.
[0004] In some interactive scenarios, people can, for example, control various virtual objects in the virtual scene to complete the interaction. How to improve people's interactive experience in the virtual scene is a key issue.
[0005] Summary of the Invention
[0006] In a first aspect of the present disclosure, a method for interactive control is provided. The method includes: associating a first virtual object in a virtual scene with the first identity based on a user's selection of a first identity associated with the virtual scene; and creating a second virtual object in the virtual scene associated with the second identity, the second virtual object being configured to support at least one type of interaction with the first virtual object, the second virtual object being created based on setting information associated with the second identity.
[0007] In a second aspect of the present disclosure, a device for interactive control is provided. The device includes: an association module configured to associate a first virtual object in a virtual scene with the first identity based on a user's selection of the first identity associated with the virtual scene; and a creation module configured to create a second virtual object in the virtual scene associated with the second identity, the second virtual object configured to support at least one type of interaction with the first virtual object, and the second virtual object being created based on setting information associated with the second identity.
[0008] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.
[0009] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0010] It should be understood that the content described in this summary section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0012] FIG1 shows a schematic diagram of an example environment in which embodiments according to the present disclosure may be implemented;
[0013] FIG2 shows a flowchart of an example process of interactive control according to some embodiments of the present disclosure;
[0014] 3A-3B illustrate example interfaces according to some embodiments of the present disclosure;
[0015] FIG4 shows a schematic diagram of an interactive control process according to some embodiments of the present disclosure;
[0016] FIG5 shows a schematic structural block diagram of an example apparatus for interactive control according to some embodiments of the present disclosure; and
[0017] FIG6 illustrates a block diagram of an electronic device capable of implementing various embodiments of the present disclosure. DETAILED DESCRIPTION
[0018] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0019] It should be noted that the titles of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and any type of embodiment may be included under any section / subsection. Furthermore, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or in different sections / subsections.
[0020] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0021] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects shall comply with the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user is aware of and confirms them. Accordingly, when implementing the various embodiments of the present disclosure, the types, scope of use, and usage scenarios of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method may vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.
[0022] If this specification and the solutions in the examples involve the processing of personal information, such processing will be done only with a legitimate basis (such as with the consent of the subject of personal information or as necessary for the performance of a contract) and only within the prescribed or agreed scope. A user's refusal to process personal information other than that required for basic functions will not affect the user's use of basic functions.
[0023] Sample Environment
[0024] FIG1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in FIG1 , the example environment 100 may include an electronic device 110 .
[0025] In this example environment 100, electronic device 110 may run an application 120 that supports a virtual scene. Application 120 may be any suitable type of application for presenting a virtual scene, and examples thereof may include, but are not limited to, simulation applications, emulation applications, gaming applications, virtual reality applications, augmented reality applications, and the like, although the embodiments of the present disclosure are not limited in this respect. User 140 may interact with application 120 via electronic device 110 and / or its attached devices.
[0026] In the environment 100 of FIG. 1 , if the application 120 is in an active state, the electronic device 110 may present an interface 150 associated with a virtual scene through the application 120 .
[0027] In some embodiments, the electronic device 110 communicates with the server 130 to enable the provision of services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).
[0028] The server 130 may be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. For example, the server 130 may include a computing system / server such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server 130 may provide background services for the application 120 that supports virtual scenes in the electronic device 110.
[0029] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired or wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.
[0030] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of the present disclosure.
[0031] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0032] Embodiments of the present disclosure provide an interactive control solution. According to various embodiments of the present disclosure, based on a user's selection of a first identity associated with a virtual scene, a first virtual object in the virtual scene can be associated with the first identity; and a second virtual object associated with a second identity can be created in the virtual scene. The second virtual object is configured to support at least one type of interaction with the first virtual object and is created based on configuration information associated with the second identity.
[0033] According to embodiments of the present disclosure, an electronic device can interact with a user by creating a second virtual object that performs at least one type of interaction with a first virtual object, thereby enhancing the user's interactive experience and further facilitating the user's perception of the virtual scene. Furthermore, the first identity corresponding to the first virtual object is selected by the user, and the second virtual object is created based on setting information associated with the second identity information, providing a personalized user experience.
[0034] Example Process
[0035] FIG2 shows a flow chart of a process 200 of interactive control according to some embodiments of the present disclosure. The process 200 may be implemented at the electronic device 110. The process 200 is described below with reference to FIG1.
[0036] As shown in FIG. 2 , in block 210 , the electronic device 110 associates a first virtual object in the virtual scene with the first identity based on a user's selection of the first identity associated with the virtual scene.
[0037] In some embodiments, the virtual scene may be a game scene, a simulation scene, a virtual reality scene, or the like. The first identity may be identity information that characterizes a virtual character set in the virtual scene, such as a waiter, customer, doctor, nurse, or the like in the virtual scene. The first virtual object may be a virtual character corresponding to a user in the virtual scene, which may be an appropriate interactive object set in the virtual scene. This first virtual object may interact with other virtual objects in the virtual scene.
[0038] In some embodiments, the electronic device 110 may present a first page that is used to present information related to a virtual scene (e.g., a game scene). For example, the first page may present various identities associated with the virtual scene. Based on the first page, the user may select the first identity by clicking a control corresponding to the first identity, or by entering identification information corresponding to the first identity in the identity input box, or by other triggering methods.
[0039] In some embodiments, the electronic device 110 may associate a first virtual object in a virtual scene with a first identity.
[0040] In block 220 , the electronic device 110 creates a second virtual object associated with the second identity in the virtual scene.
[0041] In some embodiments, the second virtual object can be a virtual character in a virtual scene, etc., and is configured to support interaction with the first virtual object. This second virtual object is associated with a second identity, where the second identity can be identity information that represents the virtual character in the virtual scene, such as a waiter, customer, doctor, nurse, etc. The first identity corresponding to the first virtual object and the second identity corresponding to the second virtual object can be the same or different.
[0042] In some embodiments, when there are not enough virtual objects corresponding to other players in the virtual scene to interact with the first virtual object or the single identity of each player in the virtual scene cannot meet the diverse needs of user interaction, the electronic device 110 can create this second virtual object to interact with the first virtual object.
[0043] The following describes in detail the process of when to create the second virtual object associated with the second identity.
[0044] In some embodiments, electronic device 110 may determine the number of virtual objects added to a virtual scene within a preset time period. If electronic device 110 determines that the number of virtual objects in the group is less than a first threshold, this indicates that there are not many other virtual objects in the current virtual scene that can interact with the first virtual object. To enhance the user's interactive experience in the virtual scene, electronic device 110 may create a second virtual object associated with a second identity to interact with the first virtual object.
[0045] In other embodiments, the electronic device 110 may determine identity distribution information of a group of virtual objects in a virtual scene, where the identity distribution information indicates the number of virtual objects corresponding to a set of preset identities, that is, the identity distribution information indicates how many virtual objects in the group of virtual objects correspond to the same identity, and indicates which identity these virtual objects with the same identity correspond to. For example, the group of virtual objects includes three virtual objects, namely virtual object 1, virtual object 2, and virtual object 3, wherein the identities corresponding to virtual object 1 and virtual object 2 are both customers, and the identity corresponding to virtual object 3 is a store clerk, then the identity distribution information may indicate that among the three virtual objects, the number of virtual objects with the identity of customers is 2, and the number of virtual objects with the identity of store clerk is 1. As an example, when the electronic device 110 determines that all virtual objects in the group of virtual objects correspond to one identity based on the identity distribution information, it may create a second virtual object associated with the second identity to interact with the first virtual object.
[0046] To enhance the user's interactive experience in the virtual scene, the electronic device 110 may further control the second virtual object to exit the virtual scene when at least one of the following conditions is met: the first virtual object has fully interacted with the second virtual object, or there are enough virtual objects corresponding to other players in the virtual scene to interact with the first virtual object, etc.
[0047] The following describes in detail the process of when to control the second virtual object to exit the virtual scene.
[0048] In one example, when the degree of interaction between the first virtual object and the second virtual object reaches a second threshold, the electronic device 110 may control the second virtual object to exit the virtual scene.
[0049] As another example, when the number of a group of virtual objects added to the virtual scene reaches a third threshold, it means that the number of virtual objects of other players currently added to the virtual scene can support the user to fully interact with other players in this virtual scene. Therefore, the electronic device 110 can control the second virtual object (the virtual object corresponding to the non-player) to exit the virtual scene so that the first virtual object can subsequently interact with the virtual objects corresponding to other players.
[0050] The following describes how to create a second virtual object.
[0051] In some embodiments, the second identity of the second virtual object can be determined based on the first identity selected by the user. In some embodiments, the second identity can be an identity associated with the first identity, and the interaction probability between the second virtual object corresponding to the second identity and the first virtual object corresponding to the first identity is greater than a threshold. For example, if the first identity is a doctor, the second identity can be a patient, nurse, or other doctor. If the first identity is a waiter, the second identity can be a customer, another waiter, etc.
[0052] In some other embodiments, the second identity of the second virtual object may also be determined according to a configuration operation of the user. In other words, the user may select the identity of the second virtual object that will subsequently interact with the corresponding first virtual object through a configuration operation.
[0053] Specifically, the electronic device 110 may provide the user with a set of candidate identities associated with the virtual scene. Further, the electronic device 110 may receive a configuration operation from the user, where the configuration operation indicates a selection of a second identity from the set of candidate identities.
[0054] For example, the electronic device 110 may provide the user with a second page that may display a set of candidate identities that support user configuration. The user may select the second identity by clicking a selection control corresponding to the second identity or entering an identifier corresponding to the second identity in an input box.
[0055] In some other embodiments, the second identity of the second virtual object may also be determined based on identity information of a group of virtual objects in the virtual scene.
[0056] Specifically, the electronic device 110 may determine identity information of a group of virtual objects in the virtual scene, where the identity information indicates the identity of each virtual object. Further, the electronic device 110 may determine a second identity from a group of preset identities associated with the virtual scene based on the identity information, where the number of virtual objects corresponding to the second identity is less than the preset number.
[0057] As an example, electronic device 110 may determine the number of virtual objects corresponding to each identity information based on the identity information of a group of virtual objects in the virtual scene, and use the identities whose number is less than a threshold as the second identity. As another example, electronic device 110 may determine, based on all predetermined identity information in the virtual scene and the identity information of the group of virtual objects, an identity that does not appear in all the identity information as the second identity.
[0058] To ensure a positive user experience in the virtual scene, in some embodiments, when creating a second virtual object associated with a second identity, the electronic device 110 may also set at least one of the following: identity description information for the second virtual object, personality description information for the second virtual object, target description information for the second virtual object, and scene description information for the virtual scene. Identity description information includes, but is not limited to, information such as the character's occupation, background in the virtual scene, and family members in the virtual scene. Personality description information is used to set the personality of the second virtual object. Different virtual object personalities significantly influence their corresponding behavior and dialogue style. Target description information describes the specific identity and functional positioning of the virtual object in the virtual scene. Setting target description information for the second virtual object can make the second virtual object's interaction with the first virtual object more consistent with the settings. Scene description information is used to characterize the scenarios in which the second virtual object is allowed to act. For example, for a second virtual object with a second identity of a doctor, the corresponding scene description information can include a hospital, etc.
[0059] The following describes the process of interaction between the first virtual object and the second virtual object.
[0060] In order to ensure that the user has a good experience in the virtual scene, in some embodiments, the second virtual object can perform at least one type of interaction with the first virtual object, where the at least one type includes but is not limited to conversational interaction, first type interaction, and second type interaction.
[0061] In some examples, the conversation interaction is used to enable the first virtual object to have a conversation with the second virtual object. In some embodiments, the output content of the second virtual object in the conversation interaction can be generated based on the setting information of the second virtual object.
[0062] In some embodiments, the conversation interaction between the first virtual object and the second virtual object is automatically initiated by the second virtual object. Alternatively or additionally, such a conversation interaction may also be initiated based on a preset operation of the user.
[0063] The first type of interaction indicates the transfer of virtual resources between a first virtual object and a second virtual object, where the virtual resources can be virtual items in a virtual scene, etc. For example, if the first virtual object's first identity is a customer, the second virtual object's second identity is a waiter, and the virtual resource is ice cream, then the first type of interaction can instruct the waiter to hand the ice cream to the customer. The second type of interaction indicates the first and second virtual objects participating in a virtual event in the virtual scene, where the virtual event can be a cooperative mini-game, a competitive mini-game, a confrontation, a handshake, etc., without limitation.
[0064] In some embodiments, the user can select the type of interaction between the first virtual object and the second virtual object. The specific process of selecting the interaction type will be described below in conjunction with Figure 3A. It should be understood that although Figure 3A uses a game scene as an example for description, this is merely exemplary.
[0065] As shown in FIG3A , electronic device 110 may present, for example, an interface 300A, which may be used to present information related to a virtual scene (e.g., a game scene). For example, interface 300A may include a first virtual object 310 (a player character) and a second virtual object 320 (a non-player character). For example, the first virtual object 310 may be associated with a first identity as a waiter, and the second virtual object may be associated with a second identity as a customer.
[0066] Furthermore, electronic device 110 may also provide selection controls 330 corresponding to interaction types to support the user's selection of interaction types. This selection control 330 includes a selection control 340 corresponding to the "dialogue interaction" type, a selection control 350 corresponding to the "give" (transfer of virtual objects) type, and a selection control 360 corresponding to the "add friend" (participation in a virtual event) type. The user can select the interaction type by clicking the corresponding interaction type control.
[0067] As shown in FIG3B , the electronic device 110 may further provide a dialogue control 370 to support dialogue interaction between the first virtual object 310 and the second virtual object 310. For example, such a dialogue control 370 may be actively triggered by the second virtual object 320. For example, the second virtual object may actively output an interactive text such as “Welcome to the ice cream shop.” In other embodiments, the electronic device 110 may also be triggered when a preset operation of the user is recognized. The preset operation may be a user clicking a dialogue interaction control on the display page of the electronic device 110 or inputting an interactive text such as “Please help me make an ice cream” on the display page of the electronic device 110.
[0068] It should be noted that the conversation interaction can be performed in the form of text (as shown in FIG3B ), or in the form of audio, video, etc., which will not be described in detail here.
[0069] For the dialogue interaction between the first virtual object 310 and the second virtual object 320, the output content of the second virtual object 320 in the dialogue interaction is generated based on the setting information associated with the second identity corresponding to the second virtual object 320. When the setting information of the virtual object is different, the output content of the dialogue interaction is also different.
[0070] In some embodiments, to improve the accuracy of interactions with the second virtual object 320, the electronic device 110 may provide the target model with setting information for the second virtual object 320 and contextual information associated with the conversational interaction, and obtain output content generated by the target model based on the setting information and contextual information associated with the conversational interaction. The target model is configured to output appropriate output content based on the input of the first virtual object 310 during the conversational interaction.
[0071] In other words, the conversational capabilities of the electronic device 110 include short-term memory. Short-term memory, also known as working memory, primarily uses the context associated with the conversational interaction and the virtual object's settings as the information needed for output content, enabling more accurate output that better matches the content of the conversational interaction with the first virtual object 310.
[0072] In some embodiments, the second virtual object 320 can also output first content to chat with the first virtual object 310. This first content is generated based on the conversation content associated with multiple virtual objects in the virtual scene. Specifically, when virtual objects in the virtual scene interact with each other in a conversation, conversation content will be generated, and the electronic device 110 can output the first content based on this conversation content. For example, the conversation content includes "What flavors of ice cream are there?" and "There are strawberry flavors, milk flavors, and chocolate flavors." Then, when the first virtual object 310 interacts with the second virtual object 320 in a conversation, if the first virtual object 310 is a customer and the second virtual object 320 is a waiter, when the first virtual object 310 outputs content related to the conversation content "What flavors of ice cream are there?", the second virtual object 320 can output the first content "There are strawberry flavors, milk flavors, and chocolate flavors."
[0073] FIG4 shows a schematic diagram of an interactive control process according to some embodiments of the present disclosure, and FIG4 will now be described.
[0074] Figure 4 primarily includes three sections: virtual object creation, virtual object interaction, and controlling the created virtual object's exit from the virtual scene. Virtual object creation corresponds to the contents of boxes 401 through 403. Virtual object interaction corresponds to the contents of boxes 404 through 411. Controlling the created virtual object's exit from the virtual scene corresponds to the contents of boxes 412 through 414.
[0075] The following describes the process of creating a virtual object with reference to the contents corresponding to boxes 401 to 403.
[0076] In block 401 , a user selects a first identity.
[0077] The electronic device 110 receives the first identity selected by the user and associates the first virtual object 310 in the virtual scene with the first identity.
[0078] In block 402 , the electronic device 110 determines whether a creation condition for the second virtual object 320 is satisfied.
[0079] The creation condition may be that the number of virtual objects added to the virtual scene within a preset period is less than a threshold or the identities of the virtual objects in the virtual scene are the same.
[0080] If the electronic device 110 determines that the creation condition of the second virtual object 320 is met, the operation of box 403 is performed.
[0081] In block 403 , a second virtual object 320 associated with the second identity is created in the virtual scene.
[0082] The following describes the process of virtual object interaction with respect to the contents corresponding to boxes 404 to 411. To improve the user's interactive experience, the content output by the electronic device 110 or the response made by controlling the second virtual object 320 may take into account factors such as setting information and contextual information associated with the dialogue interaction.
[0083] In block 404 , a chat message is requested to be sent to the user according to the setting information.
[0084] This setting information is information set when creating the second virtual object 320, and the output content of the second virtual object 320 is different depending on the setting information.
[0085] In box 405 , the electronic device 110 sends a chat request to the server 130 .
[0086] In block 406 , the server 130 returns the output content.
[0087] The server 130 returns output content that matches the setting information based on the setting information.
[0088] In block 407 , the electronic device 110 collects context information associated with the user's conversational interaction.
[0089] In box 408, the electronic device 110 sends the context information associated with the dialogue interaction to the server 130. The server 130 performs a security check and sends it to the target model after confirming that the content is safe.
[0090] This target model can be deployed on this server 130 or on other servers 130 .
[0091] The server 130 may first perform a security check on the context information based on a predetermined security check rule. Specifically, the server 130 may check whether the context information is in a preset format, or whether it contains sensitive information, and so on.
[0092] In block 409 , the target model generates output content based on the context information and returns it to the server 130 .
[0093] In block 410 , the server 130 performs a security check on the output content and sends it to the electronic device 110 after confirming that the content is safe.
[0094] The server 130 may first perform a security check on the output content based on a predetermined security check rule. Specifically, the server 130 may check whether the output content is in a preset format or contains sensitive information.
[0095] In block 411 , the electronic device 110 controls the second virtual object 320 to respond based on the output content.
[0096] The following describes the process of controlling the created virtual object to exit the virtual scene with respect to the contents corresponding to boxes 412 to 414.
[0097] In block 412, the level of interaction between first virtual object 310 and second virtual object 320 reaches a second threshold. In block 413, the number of virtual objects added to the virtual scene reaches a third threshold. As long as at least one of the conditions in block 412 or block 413 is met, electronic device 110 may perform the operation in block 414. Specifically, in block 414, electronic device 110 controls second virtual object 320 to exit the virtual scene.
[0098] According to embodiments of the present disclosure, an electronic device can interact with a user by creating a second virtual object that performs at least one type of interaction with a first virtual object, thereby enhancing the user's interactive experience and further facilitating the user's perception of the virtual scene. Furthermore, the first identity corresponding to the first virtual object is selected by the user, and the second virtual object is created based on setting information associated with the second identity information, providing a personalized user experience.
[0099] Example devices and equipment
[0100] Embodiments of the present disclosure also provide corresponding apparatuses for implementing the above-described methods or processes. FIG5 shows a schematic structural block diagram of an example apparatus 500 for interactive control according to certain embodiments of the present disclosure. Apparatus 500 may be implemented as or included in electronic device 110. Each module / component in apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.
[0101] As shown in Figure 5, the device 500 includes a determination module 510, which is configured to associate a first virtual object in a virtual scene with a first identity based on a user's selection of a first identity associated with the virtual scene; and a creation module 520, which is configured to create a second virtual object associated with a second identity in the virtual scene, wherein the second virtual object is configured to support at least one type of interaction with the first virtual object, and the second virtual object is created based on setting information associated with the second identity.
[0102] In some embodiments, the second identity is determined based on at least one of the following: a first identity selected by a user; a configuration operation of the user; or identity information of a group of virtual objects in the virtual scene.
[0103] In some embodiments, the apparatus 500 further includes a configuration module configured to: provide a set of candidate identities associated with the virtual scene to the user; and receive a configuration operation from the user, the configuration operation indicating a selection of a second identity from the set of candidate identities.
[0104] In some embodiments, the device 500 also includes an identity determination module configured to: determine identity information of a group of virtual objects in a virtual scene, the identity information indicating the identity of each virtual object; and based on the identity information, determine a second identity from a group of preset identities associated with the virtual scene, wherein the number of virtual objects corresponding to the second identity is less than a preset number.
[0105] In some embodiments, at least one type of interaction includes a conversational interaction, and output content of the second virtual object in the conversational interaction is generated based on setting information.
[0106] In some embodiments, the conversation interaction is automatically initiated by the second virtual object, or the conversation interaction is initiated based on a preset operation of the user.
[0107] In some embodiments, the output content is generated based on the following process: providing setting information and context information associated with the dialog interaction to a target model; and obtaining the output content generated by the target model.
[0108] In some embodiments, at least one type of interaction includes at least one of the following: a first type of interaction, the first type of interaction indicating a transfer of virtual resources between a first virtual object and a second virtual object; a second type of interaction, the second type of interaction indicating participation of the first virtual object and the second virtual object in a virtual event in a virtual scene.
[0109] In some embodiments, the second virtual object is configured to interact with the first virtual object according to a predetermined behavioral goal, wherein the behavioral goal is determined based on the setting information.
[0110] In some embodiments, the setting information indicates at least one of the following: identity description information about the second virtual object, character description information about the second virtual object, target description information about the second virtual object, and scene description information about the virtual scene.
[0111] In some embodiments, the construction module 520 is specifically configured to: create a second virtual object associated with the second identity in response to the number of a group of virtual objects added to the virtual scene within a preset time period being less than a first threshold; or create a second virtual object associated with the second identity based on identity distribution information of a group of virtual objects in the virtual scene, where the identity distribution information indicates the number of virtual objects corresponding to a group of preset identities.
[0112] In some embodiments, the device 500 further includes a control module configured to: control the second virtual object to exit the virtual scene in response to at least one of the following conditions being met: the degree of interaction between the first virtual object and the second virtual object reaches a second threshold; the number of a group of virtual objects added to the virtual scene reaches a third threshold.
[0113] FIG6 shows a block diagram of an electronic device 600 in which one or more embodiments of the present disclosure may be implemented. It should be understood that the electronic device 600 shown in FIG6 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 600 shown in FIG6 can be used to implement the electronic device 110 of FIG1 .
[0114] As shown in FIG6 , electronic device 600 is a general-purpose electronic device. Components of electronic device 600 may include, but are not limited to, one or more processors or processing units 610, memory 620, storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. Processing unit 610 may be a real or virtual processor and is capable of performing various processes according to programs stored in memory 620. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to enhance the parallel processing capabilities of electronic device 600.
[0115] The electronic device 600 typically includes a plurality of computer storage media. Such media can be any accessible media that can be obtained by the electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 620 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 can be a removable or non-removable medium and can include a machine-readable medium, such as a flash drive, a disk, or any other medium that can be used to store information and / or data and can be accessed within the electronic device 600.
[0116] The electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG6 , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a “floppy disk”) and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. The memory 620 may include a computer program product 625 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.
[0117] The communication unit 640 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 600 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the electronic device 600 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0118] The input device 650 may be one or more input devices, such as a mouse, keyboard, or trackball. The output device 660 may be one or more output devices, such as a display, a speaker, or a printer. The electronic device 600 may also communicate with one or more external devices (not shown) through the communication unit 640 as needed, such as a storage device, a display device, or the like, with one or more devices that allow a user to interact with the electronic device 600, or with any device that allows the electronic device 600 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0119] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0120] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0121] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0122] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0123] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple implementations of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part for a module, program segment or instruction, and a part for a module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0124] While various implementations of the present disclosure have been described above, the foregoing description is intended to be illustrative, not exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is selected to best explain the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. An interaction control method, comprising: Based on the user's selection of a first identity associated with a virtual scene, associating a first virtual object in the virtual scene with the first identity; And Creating a second virtual object associated with a second identity in the virtual scene, the second virtual object being configured to support at least one type of interaction with the first virtual object, and the second virtual object being created based on setting information associated with the second identity.
2. The method according to claim 1, wherein the second identity is determined based on at least one of the following: The first identity selected by the user; The user's configuration operation; The identity information of a group of virtual objects in the virtual scene.
3. The method according to claim 2, further comprising: Providing the user with a group of candidate identities associated with the virtual scene; And Receiving the user's configuration operation, the configuration operation indicating a selection of the second identity from the group of candidate identities.
4. The method according to claim 2, further comprising: Determining the identity information of the group of virtual objects in the virtual scene, the identity information indicating the identity of each virtual object; And Based on the identity information, determining the second identity from a group of preset identities associated with the virtual scene, wherein the number of virtual objects corresponding to the second identity is less than a preset number.
5. The method according to claim 1, wherein the at least one type of interaction includes a dialogue interaction, and the output content of the second virtual object in the dialogue interaction is generated based on the setting information.
6. The method according to claim 5, wherein the dialogue interaction is automatically initiated by the second virtual object, or the dialogue interaction is initiated based on a preset operation of the user.
7. The method according to claim 5, wherein the output content is generated based on the following process: Providing the setting information and context information associated with the dialogue interaction to a target model; and Obtaining the output content generated by the target model.
8. The method according to claim 1, wherein the second virtual object is further configured to output a first content, the first content being generated based on the dialogue content associated with a plurality of virtual objects in the virtual scene.
9. The method according to claim 1, wherein the at least one type of interaction includes at least one of the following: A first type of interaction, the first type of interaction indicating the transfer of virtual resources between the first virtual object and the second virtual object; A second type of interaction, the second type of interaction indicating that the first virtual object and the second virtual object participate in a virtual event in the virtual scene.
10. The method according to claim 1, wherein the second virtual object is configured to interact with the first virtual object according to a predetermined behavior goal, and the behavior goal is determined based on the setting information.
11. The method according to claim 1, wherein the setting information indicates at least one of the following: Identity description information about the second virtual object, Personality description information about the second virtual object, Goal description information about the second virtual object, Scene description information about the virtual scene.
12. The method according to claim 1, wherein creating a second virtual object associated with a second identity in the virtual scene includes: Creating the second virtual object associated with the second identity in response to the number of a group of virtual objects added to the virtual scene within a preset period being less than a first threshold; Or Creating the second virtual object associated with the second identity based on the identity distribution information of a group of virtual objects in the virtual scene, the identity distribution information indicating the number of virtual objects corresponding to a group of preset identities.
13. The method according to claim 1, further comprising: Controlling the second virtual object to exit the virtual scene in response to at least one of the following conditions being satisfied: The interaction degree between the first virtual object and the second virtual object reaches a second threshold; The number of a group of virtual objects added to the virtual scene reaches a third threshold.
14. An apparatus for interactive control, comprising: An association module configured to associate a first virtual object in the virtual scene with the first identity based on a user's selection of the first identity associated with the virtual scene; And A creation module configured to create a second virtual object associated with a second identity in the virtual scene, the second virtual object being configured to support at least one type of interaction with the first virtual object, and the second virtual object being created based on setting information associated with the second identity.
15. An electronic device, comprising: At least one processing unit; And At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to execute the method according to any one of claims 1 to 13.
16. A computer-readable storage medium, having stored thereon a computer program, the computer program being executable by a processor to implement the method according to any one of claims 1 to 13.
Citation Information
Patent Citations
Tourism system based on virtual-real blending interaction of smart phone
CN112288602A
Virtual character teaching method and device, equipment and storage medium
CN116030671A
Park management system and method based on meta universe
CN116129083A
Interaction control method and device, equipment and storage medium
CN117891348A
Methods and apparatuses for creating team in virtual scene and joining team in virtual scene
US20230364516A1