Virtual social scene displaying method and apparatus, terminal, and storage medium
By setting permission controls and virtual obstacles in the virtual social scene, the private chat function and privacy protection of the chat group are realized, which solves the problems of unoptimized chat group settings and insufficient privacy protection in the existing technology, and improves virtual social interaction. experience.
Patent Information
- Application Number
- PCT/CN2024/070349
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-24
- Filing Date
- 2024-01-03
- Publication Date
- 2024-10-03
AI Technical Summary
In virtual social scenarios, existing technology is difficult to optimize chat group settings, cannot effectively meet the needs of social accounts for private chats, and lacks a privacy protection mechanism.
By displaying permission setting controls in the terminal, social accounts are allowed to set chat groups to private chat status in virtual social scenes, restrict other virtual objects from joining, and achieve privacy protection through virtual obstacles or private scenes.
Optimized the chat group settings in virtual social scenes, enriched social types, and provided privacy protection between social accounts corresponding to virtual objects.
Smart Images

Figure CN2024070349_03102024_PF_FP_ABST
Abstract
Description
Display method, device, terminal and storage medium of virtual social scene
[0001] This application claims priority to the Chinese patent application filed on March 24, 2023, with application number 202310351348.4 and invention name “Display method, device, terminal and storage medium for virtual social scenes”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of human-computer interaction technology, and in particular to a method, device, terminal, and storage medium for displaying a virtual social scene. Background Art
[0003] In virtual social networking, users can voice chat or text chat with others through virtual images.
[0004] In related technologies, in a social scene with multiple virtual images, by controlling the displacement of the virtual images within the virtual social scene, it is possible to automatically start a chat between social accounts corresponding to virtual images that are close to each other. And because the virtual social scene is public, social accounts corresponding to other virtual images can also join and exit the chat at any time.
[0005] Summary of the Invention
[0006] The embodiments of the present application provide a method, device, terminal, and storage medium for displaying a virtual social scene, which can optimize chat group settings in the virtual social scene and enrich the types of social interactions in the virtual social scene. The technical solution is as follows:
[0007] In one aspect, an embodiment of the present application provides a method for displaying a virtual social scene, the method comprising:
[0008] The terminal displays virtual objects in the virtual social scene, where the virtual social scene is a virtual scene for the virtual objects to interact socially, and different virtual objects correspond to different social accounts;
[0009] When at least two virtual objects belong to the same chat group and the chat group is in a public state, the terminal displays a permission setting control in the chat interface, wherein the distance between the virtual objects in the chat group is less than a distance threshold, and the chat group in the public state allows other virtual objects to join, and the permission setting control is used to set the group joining permission of the chat group;
[0010] In response to a triggering operation on the permission setting control, the terminal sets the chat group to a private chat state, and the chat group in the private chat state does not allow other virtual objects to join.
[0011] On the other hand, an embodiment of the present application provides a device for displaying a virtual social scene, the device comprising:
[0012] A first display module is configured to display virtual objects in a virtual social scene, wherein the virtual social scene is a virtual scene for the virtual objects to interact socially, and different virtual objects correspond to different social accounts;
[0013] a second display module, configured to display a permission setting control in a chat interface when at least two virtual objects belong to the same chat group and the chat group is in a public state, wherein the distance between the virtual objects in the chat group is less than a distance threshold, and the chat group in the public state allows other virtual objects to join, and the permission setting control is used to set group joining permissions for the chat group;
[0014] The first setting module is configured to set the chat group to a private chat state in response to a triggering operation on the permission setting control, wherein the chat group in the private chat state does not allow other virtual objects to join.
[0015] On the other hand, an embodiment of the present application provides a terminal, which includes a processor and a memory; the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement the display method of the virtual social scene as described in the above aspect.
[0016] On the other hand, an embodiment of the present application provides a computer-readable storage medium, which stores at least one instruction, and the at least one instruction is loaded and executed by a processor to implement the method for displaying a virtual social scene as described in the above aspects.
[0017] In another aspect, embodiments of the present application provide a computer program product comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the method for displaying a virtual social scene described in the above aspects.
[0018] In an embodiment of the present application, a virtual social scene is constructed for virtual objects corresponding to social accounts to engage in social interaction. In this virtual social scene, the social account can control the movement of virtual objects so that the distance between the virtual objects is less than a distance threshold, thereby establishing a public chat group between at least two virtual objects whose distance is less than the distance threshold. The public chat group allows other virtual objects to join, and a permission setting control is displayed in the chat interface. The permission setting control is used to set the group joining permission of the chat group. Then, in response to a triggering operation on the permission setting control, the chat group can be set to a private chat state. The chat group in the private chat state does not allow other virtual objects to join. Using the solution provided by the embodiment of the present application, an opportunity to set chat permissions can be provided in the virtual social scene for a chat group that is in a public state but has a need for private chat. Therefore, the social accounts in the chat group can set the joining permissions of the chat group through the permission setting control. This optimizes the chat group settings in the virtual social scene, enriches the social types in the virtual social scene, and provides privacy protection for social interactions between the social accounts corresponding to the virtual objects in the chat group. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0020] FIG1 is a schematic diagram showing an implementation environment provided by an embodiment of the present application;
[0021] FIG2 shows a flow chart of a method for displaying a virtual social scene provided by an exemplary embodiment of the present application;
[0022] FIG3 shows a schematic diagram of an interface display of a virtual social scene provided by an exemplary embodiment of the present application;
[0023] FIG4 shows a flowchart of a method for displaying a virtual social scene provided by another exemplary embodiment of the present application;
[0024] FIG5 shows a schematic diagram of an interface of a chat group entering a public private chat state provided by an exemplary embodiment of the present application;
[0025] FIG6 shows a schematic diagram of an interface of a chat group entering a secret private chat state provided by an exemplary embodiment of the present application;
[0026] FIG7 shows a flowchart of a method for displaying a virtual social scene provided by another exemplary embodiment of the present application;
[0027] FIG8 shows a schematic diagram of an interface for entering a public private chat state based on a first voting result provided by an exemplary embodiment of the present application;
[0028] FIG9 shows a schematic diagram of an interface for entering a secret private chat state based on a first voting result provided by an exemplary embodiment of the present application;
[0029] FIG10 shows a schematic diagram of an interface for maintaining a public status based on a second voting result provided by an exemplary embodiment of the present application;
[0030] FIG11 shows a schematic diagram of an interface for maintaining a public status based on a second voting result provided by another exemplary embodiment of the present application;
[0031] FIG12 shows a schematic diagram of an interface for controlling a virtual object to exit a chat group provided by an exemplary embodiment of the present application;
[0032] FIG13 shows a schematic diagram of an interface for controlling a virtual object to exit a chat group provided by another exemplary embodiment of the present application;
[0033] FIG14 shows a flowchart of a method for displaying a virtual social scene provided by another exemplary embodiment of the present application;
[0034] FIG15 shows a schematic diagram of an interface for entering a public state based on a third voting result provided by an exemplary embodiment of the present application;
[0035] FIG16 shows a schematic diagram of an interface for maintaining a public private chat state based on a fourth voting result provided by an exemplary embodiment of the present application;
[0036] FIG17 shows a flowchart of a method for displaying a virtual social scene provided by another exemplary embodiment of the present application;
[0037] FIG18 shows a timing diagram of interactions among the user layer, presentation layer, and background logic layer provided by an exemplary embodiment of the present application;
[0038] FIG19 is a structural block diagram of a display device for a virtual social scene provided by an exemplary embodiment of the present application;
[0039] FIG20 shows a schematic structural diagram of a terminal provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0040] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0041] It should be noted that before collecting relevant data of social accounts and virtual objects corresponding to social accounts, and during the process of collecting relevant data of users, this application can display a prompt interface, pop-up window, or output a voice prompt message. This prompt interface, pop-up window, or voice prompt message is used to remind the user that their relevant data is currently being collected, so that this application only starts to execute the relevant steps of obtaining user-related data after obtaining the user's confirmation operation on the prompt interface or pop-up window. Otherwise (that is, when the user does not obtain the confirmation operation on the prompt interface or pop-up window), the relevant steps of obtaining user-related data are terminated, that is, no relevant data of the user is obtained. In other words, the information involved in this application (including but not limited to user device information, user personal information, etc., information of virtual objects controlled by the user's corresponding social account), data (including but not limited to data used for analysis, data stored, data displayed, etc.) and signals are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the social account information and virtual object information controlled by the social account involved in this application are all obtained with full authorization.
[0042] Please refer to FIG1 , which shows a schematic diagram of an implementation environment provided by an embodiment of the present application. The implementation environment may include: a first terminal 110 , a server 120 , and a second terminal 130 .
[0043] The first terminal 110 and the second terminal 130 are electronic devices capable of displaying a virtual social scene. The virtual social scene can be a functional module within an application with social attributes, or it can be a standalone desktop client or web client. For example, the virtual social scene display function can be a functional module within an instant messaging application, allowing registered users to interact socially in the virtual social scene through virtual objects. The electronic device can be a smartphone, tablet computer, personal computer, wearable device, or in-vehicle terminal, among others.
[0044] Optionally, the applications installed on the first terminal 110 and the second terminal 130 are the same, or the applications installed on the first terminal 110 and the second terminal 130 are the same type of applications on different operating system platforms (Android or iOS). The first terminal 110 can generally refer to one of multiple terminals, and the second terminal 130 can generally refer to another of the multiple terminals. This embodiment only uses the first terminal 110 and the second terminal 130 as an example. The first terminal 110 and the second terminal 130 can be of the same or different device types, including at least one of a smartphone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer 4) player, a laptop computer, and a desktop computer.
[0045] In FIG1 , the first terminal 110 and the second terminal 130 are described as smartphones installed with an application having a virtual social scene display function, but this is not a limitation.
[0046] 1 shows only two terminals, but in different embodiments, there are multiple other terminals that can access the server 120. The first terminal 110, the second terminal 130 and other terminals are connected to the server 120 via a wireless network or a wired network.
[0047] Server 120 includes at least one of a single server, a server cluster consisting of multiple servers, a cloud computing platform, and a virtualization center. Server 120 provides backend services for applications that support virtual social scenarios. Optionally, server 120 performs primary computing tasks, while terminals perform secondary computing tasks; alternatively, server 120 performs secondary computing tasks, while terminals perform primary computing tasks; alternatively, server 120 and terminals utilize a distributed computing architecture for collaborative computing.
[0048] Server 120 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be 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 delivery networks (CDNs), and big data and artificial intelligence platforms.
[0049] In an illustrative example, the server 120 includes a memory 121, a processor 122, a user account database 123, a virtual object database 124, and a user-facing input / output interface (I / O interface) 125. The processor 122 is used to load instructions stored in the server 120 and process the user account database 123 and the virtual object database 124. The user account database 123 is used to store user account data used by the first terminal 110, the second terminal 130, and other terminals, such as user account avatars and nicknames. The virtual object database 124 is used to store object data of virtual objects created by each user account. The user-facing I / O interface 125 is used to establish communication and exchange data with the first terminal 110 and / or the second terminal 130 via a wireless network or a wired network, thereby enabling the sending and receiving of social messages between accounts.
[0050] Please refer to Figure 2, which shows a flow chart of a method for displaying a virtual social scene provided by an exemplary embodiment of the present application. This embodiment is described using the method as an example of the terminal shown in Figure 1. The method includes the following steps:
[0051] In step 201 , the terminal displays virtual objects in a virtual social scene. The virtual social scene is a virtual scene for virtual objects to interact socially. Different virtual objects correspond to different social accounts.
[0052] Optionally, a virtual social scene is a virtual scene for virtual objects to engage in social interaction. It is a virtual environment displayed (or provided) when the target application is running on the terminal. This virtual environment can be a simulation of the real world, a semi-simulated and semi-fictitious environment, or a purely fictitious environment. The virtual environment can be any of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment, which is not limited in this application.
[0053] Optionally, the virtual social scene can be customized by the user, that is, the virtual social scenes displayed when logging into different social accounts can be the same or different. For example, the social account "Zhang San" sets the virtual social scene to a virtual park, and the social account "Li Si" sets the virtual social scene to a virtual restaurant.
[0054] In an embodiment of the present application, one or more virtual objects are displayed in the virtual social scene, and the terminal shown in the embodiment of the present application is a terminal for logging into the social account corresponding to any virtual object, and the processing process of other terminals is the same as that in the embodiment of the present application, which will not be repeated here.
[0055] Optionally, the virtual social scene may display virtual objects corresponding to social accounts that have established social relationships with the social account logged in by the terminal, or may display virtual objects corresponding to social accounts that have not established social relationships with the social account logged in by the terminal. This embodiment of the present application is not limited to this.
[0056] Optionally, the virtual social scene includes a setting interface for virtual objects, through which the virtual objects are designed and dressed up. The appearance of the virtual objects corresponding to different social accounts can be the same or different. At the same time, in order to facilitate the distinction between the virtual objects corresponding to each social account, the terminal displays a unique label that can represent the virtual object around the virtual object in the virtual social scene. The label can include the account name of the social account or other labels that can be used to distinguish. This embodiment of the present application is not limited to this.
[0057] Optionally, a virtual object refers to an object controlled by the social account of the target application, including but not limited to virtual characters, virtual animals, anime or cartoon characters, etc., and different virtual objects correspond to different social accounts, so as to distinguish the virtual objects of different social accounts.
[0058] Schematically, as shown in FIG3 , a first virtual object 301, a second virtual object 302, and a third virtual object 303 are displayed in a virtual social scene 304. Each of the first virtual object 301, the second virtual object 302, and the third virtual object 303 corresponds to a different social account. For example, using a terminal logged into the social account corresponding to the first virtual object 301, a user can control the movement of the first virtual object 301 in the virtual social scene 304 by triggering a movement control 305. Alternatively, the movement control 305 may be omitted, and the user can control the movement of the first virtual object 301 in the virtual social scene 304 in the direction of the movement or click by sliding or clicking within the display interface of the virtual social scene.
[0059] In step 202, when there are at least two virtual objects belonging to the same chat group and the chat group is in a public state, the terminal displays a permission setting control in the chat interface, wherein the distance between the virtual objects in the chat group is less than the distance threshold, and the chat group in a public state allows other virtual objects to join, and the permission setting control is used to set the group joining permission of the chat group.
[0060] In one possible implementation, a terminal logged into each social account can control the free movement of virtual objects within the virtual social scene by moving controls, sliding, or clicking. When the distance between at least two virtual objects is less than a distance threshold, a chat group is established between the at least two virtual objects. The social accounts corresponding to the at least two virtual objects can then interact socially within the virtual social scene through the chat group, for example, by sending each other social messages. These messages may include text messages, image messages, video messages, website links, voice messages, and the like.
[0061] The distance between at least two virtual objects being less than a distance threshold means that: the distance between any two virtual objects among the at least two virtual objects is less than the distance threshold, or, for each virtual object, there is a virtual object among the at least two virtual objects whose distance to the virtual object is less than the distance threshold.
[0062] In one illustrative example, after a terminal logged into each social account controls the movement of a virtual object, it sends the virtual object's movement information to a server. Based on the virtual object's movement information, the server determines the virtual object's position coordinates in the virtual social scene, thereby determining the distance between the virtual objects. If the server determines that the distance between at least two virtual objects is less than a distance threshold, a chat group is established between the at least two virtual objects. Afterward, virtual objects within the same chat group can send social messages. For example, any terminal receives an input social message and, based on the social account logged into the terminal, sends the social message to the server. The server then sends the social message to the social accounts corresponding to other virtual objects in the chat group, and terminals logged into the social accounts corresponding to the other virtual objects can then display the social message.
[0063] Optionally, when a chat group is established between at least two virtual objects, the terminal can display the account avatar, account nickname, etc. of the social account corresponding to the virtual object in the current chat group in the chat interface, and can also display text message input controls, voice message input controls, etc. in the chat interface.
[0064] In a possible implementation, when a user sends a social message to other virtual objects in the same chat group through a social account, in order to enable the social accounts corresponding to other virtual objects to directly observe the virtual object currently speaking, the terminal can display a message prompt control around the virtual object corresponding to the social account currently sending the social message. Optionally, when the social message is a text message, the text content can be directly displayed in the message prompt control; when the social message is a voice message, a voice play button can be displayed in the message prompt control; when the social message is other messages, a view button can be displayed in the message prompt control.
[0065] In one possible implementation, to improve the convenience of social interactions between various social accounts through virtual objects in a virtual social scene, when at least two virtual objects establish a chat group, the social accounts corresponding to other virtual objects can also control the movement of the virtual objects so that the distance between the other virtual objects and the virtual objects in the chat group is less than a distance threshold, thereby joining the chat group. That is, the terminal sets the chat group established by the at least two virtual objects based on distance to a public state, and the chat group in the public state allows other virtual objects to join. Allowing other virtual objects to join means allowing other virtual objects to automatically join the chat group by shortening the distance between the virtual objects.
[0066] Optionally, the terminal may obtain the position coordinates of the virtual objects in the virtual social scene, and determine the distance between any two virtual objects according to the position coordinates corresponding to any two virtual objects.
[0067] In a possible implementation, since a public chat group is established based on the distance between virtual objects, the terminal can control the virtual object in the chat group to move away from other virtual objects in the chat group, thereby controlling the virtual object to exit the chat group.
[0068] In one possible implementation, taking into account that even in a virtual social scene, there may be a need for private chat between social accounts corresponding to virtual objects, that is, when in the same chat group, virtual objects corresponding to other social accounts are not desired to continue to join the chat group. Therefore, when there are at least two virtual objects belonging to the same chat group and the chat group is in a public state, the terminal can display a permission setting control in the chat interface, which is used to set the group joining permission of the chat group.
[0069] 3 , when the distance between any two virtual objects among the first virtual object 301, the second virtual object 302 and the third virtual object 303 is less than the distance threshold, the terminal controls the first virtual object 301, the second virtual object 302 and the third virtual object 303 to join the same chat group, and the chat group is in a public state, and the distance between the fourth virtual object 309 and the first virtual object 301, the second virtual object 302 and the third virtual object 303 is greater than the distance threshold, so the fourth virtual object 309 does not belong to the chat group, but the social account corresponding to the fourth virtual object 309 can control the fourth virtual object 309 to move so that the distance between the fourth virtual object 309 and the first virtual object 301, the second virtual object 302 and the third virtual object 303 is less than the distance threshold, thereby controlling the fourth virtual object 309 to join the chat group.
[0070] Taking the social account corresponding to the first virtual object 301 logged in to the terminal as an example, when the social account corresponding to the third virtual object 303 sends a social message, the terminal displays a message prompt control 306 around the third virtual object 303, and when the first virtual object 301 belongs to a chat group in a public state, the terminal displays a permission setting control 308 in the chat interface 307.
[0071] In one possible implementation, to facilitate management within a chat group, a group leader can be set within the chat group. For example, the virtual object that has been in the chat group the longest can be set as the group leader, or the first two virtual objects to join the chat group can be set as the group leader. This allows a permission setting control to be displayed in the chat interface of the social account corresponding to the group leader. If the social account logged into by the terminal is the social account corresponding to the group leader, the terminal will display the permission setting control in the chat interface. If the social account logged into by the terminal is not the social account corresponding to the group leader, the terminal will no longer display the permission setting control in the chat interface.
[0072] The group leader of the chat group may be set by the server or by the terminal corresponding to any virtual object in the chat group.
[0073] In one possible implementation, to facilitate any virtual object in the chat group to set group joining permissions, a permission setting control may be displayed in the chat interface of the social account corresponding to each virtual object in the chat group. The terminal then displays the permission setting control in the chat interface.
[0074] Step 203: In response to the triggering operation on the permission setting control, the terminal sets the chat group to a private chat state. The chat group in the private chat state does not allow other virtual objects to join.
[0075] In one possible implementation, when a permission setting control is displayed on the chat interface of the social account corresponding to the chat group leader, in response to a triggering operation on the permission setting control, the terminal sets the chat group from a public state to a private chat state, wherein the chat group in the private chat state does not allow other virtual objects to join. Furthermore, not allowing other virtual objects to join means not allowing other virtual objects outside the chat group to automatically join the chat group by shortening the distance between virtual objects, but does not limit whether other virtual objects are allowed to join the chat group in other ways. For example, when the chat group is in a private chat state, if the group joining request of other virtual objects for the chat group is approved by the leader of the chat group, they can also join the chat group.
[0076] In one exemplary embodiment, a terminal sets a chat group to a private chat state, including: the terminal sending a state switching request to a server, the state switching request being used to request that the chat group be set to a private chat state; and the server responding to the state switching request and setting the chat group to a private chat state. Furthermore, the server may also send a state switching notification to terminals corresponding to respective virtual objects within the chat group, so that each terminal can determine that the chat group has switched to a private chat state.
[0077] In one possible implementation, when a permission setting control is displayed on the chat interface of the social account corresponding to each virtual object in the chat group, the chat group is set from a public state to a private chat state in response to a triggering operation of the permission setting control by a user of one of the social accounts. In an illustrative example, the terminals corresponding to each virtual object in the chat group display a permission setting control in the chat interface, and the user of any of the terminals triggers the displayed permission setting control. In response to the triggering operation, the terminal sets the chat group from a public state to a private chat state, and synchronizes the private chat state of the chat group to the terminals corresponding to other virtual objects in the chat group.
[0078] Alternatively, in response to a triggering operation on a permission setting control by a user of each social account, the chat group is set from a public state to a private chat state. In one exemplary example, the terminals corresponding to each virtual object in the chat group display a permission setting control in the chat interface. The user of each terminal triggers the displayed permission setting control. In response to the triggering operation, a permission setting request is sent to the server. The permission setting request is used to request that the chat group be set to a private chat state. The server records the received permission setting request and, upon determining that the terminals corresponding to each virtual object in the chat group have all sent a permission setting request, sets the chat group from a public state to a private chat state.
[0079] Alternatively, in response to a triggering operation on a permission setting control by a user of one of the social accounts, the terminal that triggered the permission setting control initiates a permission setting request to other social accounts, and if the users of the other social accounts all agree to the permission setting request, the chat group is set from a public state to a private chat state. In an illustrative example, the terminals corresponding to the virtual objects in the chat group display a permission setting control in the chat interface, and the user of any of the terminals triggers the displayed permission setting control. In response to the triggering operation, a permission setting request is sent to the server, which is used to request that the chat group be set to a private chat state. The server forwards the permission setting request to the terminals corresponding to the other social accounts in the chat group, and receives responses from each of the other terminals to the permission setting request, which are used to indicate approval or rejection of the permission setting request. If the server determines that each of the other social accounts agrees to the permission setting request, the chat group is set from a public state to a private chat state.
[0080] Optionally, in order to prevent other virtual objects outside the chat group from joining the chat group in the private chat state, or to remind other virtual objects that the chat group is in the private chat state, when the chat group is set from the public state to the private chat state, the terminal can set virtual obstacles around the virtual objects in the chat group in the virtual social scene, thereby prompting the social accounts corresponding to other virtual objects.
[0081] Optionally, in order to directly prevent other virtual objects outside the chat group from joining the chat group in the private chat state, the terminal can also transfer the virtual objects in the chat group in the private chat state to other scenes, thereby preventing them from being seen and joined by other virtual objects in the virtual social scene.
[0082] Schematically, as shown in Figure 3, the first virtual object 301, the second virtual object 302 and the third virtual object 303 belong to the same chat group. In response to the triggering operation of the permission setting control 308, the terminal sets the chat group to a private chat state, and the interface is displayed as virtual obstacles around the first virtual object 301, the second virtual object 302 and the third virtual object 303.
[0083] In summary, in an embodiment of the present application, a virtual social scene is constructed for virtual objects corresponding to social accounts to engage in social interaction. In this virtual social scene, the social account can control the movement of virtual objects so that the distance between the virtual objects is less than a distance threshold, thereby establishing a chat group in a public state between at least two virtual objects whose distance is less than the distance threshold. The chat group in the public state allows other virtual objects to join, and a permission setting control is displayed in the chat interface. The permission setting control is used to set the group joining permission of the chat group. Then, in response to a triggering operation on the permission setting control, the chat group can be set to a private chat state. The chat group in the private chat state does not allow other virtual objects to join. By using the solution provided in the embodiment of the present application, an opportunity to set chat permissions can be provided for a chat group that is in a public state but has a need for private chat in the virtual social scene, so that the social accounts in the chat group can set the joining permissions of the chat group through the permission setting control, thereby optimizing the chat group settings in the virtual social scene, enriching the social types in the virtual social scene, and providing privacy protection for social interactions between social accounts corresponding to virtual objects in the chat group.
[0084] In one possible implementation, in order to further enrich the presentation form of the chat group in the private chat state, the terminal may set the virtual objects within the chat group in the private chat state to be visible or invisible to other virtual objects, that is, the terminal may set the chat group to a public private chat state or a secret private chat state, thereby setting the permission setting control to two control forms: a public private chat setting control and a secret private chat setting control.
[0085] Please refer to Figure 4, which shows a flow chart of a method for displaying a virtual social scene provided by an exemplary embodiment of the present application. This embodiment is described using the method as an example of the terminal shown in Figure 1. The method includes the following steps:
[0086] In step 401, the terminal displays virtual objects in a virtual social scene. The virtual social scene is a virtual scene for virtual objects to interact socially. Different virtual objects correspond to different social accounts.
[0087] In step 402, when there are at least two virtual objects belonging to the same chat group and the chat group is in a public state, the terminal displays a permission setting control in the chat interface, wherein the distance between the virtual objects in the chat group is less than the distance threshold, and the chat group in a public state allows other virtual objects to join. The permission setting control is used to set the group joining permission of the chat group, and step 403 or 405 is executed.
[0088] The specific implementation of steps 401 to 402 may refer to steps 201 to 202, which will not be described in detail in this embodiment.
[0089] Step 403: In response to the triggering operation of the public private chat setting control, the terminal sets the chat group to a public private chat state. In the public private chat state, virtual objects in the chat group are visible to other virtual objects outside the chat group.
[0090] In one possible implementation, upon receiving a trigger operation for a public private chat setting control, the terminal sets the chat group to a public private chat state, in which the virtual objects within the chat group are visible to other virtual objects outside the chat group. That is, in a virtual social scene, virtual objects within the chat group can see virtual objects outside the chat group, and virtual objects outside the chat group can also see virtual objects within the chat group, but virtual objects outside the chat group cannot join the chat group.
[0091] The process of the terminal setting the chat group to a public private chat state is the same as the process of the terminal setting the chat group to a private chat state in the embodiment shown in FIG. 2 , and will not be described in detail here.
[0092] In step 404, the terminal displays virtual obstacles around the virtual objects in the chat group.
[0093] In one possible implementation, since the virtual objects in the chat group in the public private chat state are still in the virtual social scene, in order to facilitate the distinction between the chat group in the public state and the chat group in the public private chat state, and to serve as a prompt for each virtual object in the virtual social scene, the terminal can add and display virtual obstacles around the virtual objects in the chat group in the public private chat state, such as surrounding the virtual objects in the chat group with a fence, so that the virtual objects in the chat group can move freely within the virtual obstacle and maintain the public private chat state; virtual objects outside the chat group cannot enter the virtual obstacle, that is, they cannot join the chat group in the public private chat state.
[0094] 5 , the first virtual object 501, the second virtual object 502, and the third virtual object 503 belong to the same chat group. In response to the triggering operation of the public private chat setting control 505 in the chat interface 504, the terminal sets the chat group to the public private chat state. The interface is displayed as a virtual obstacle 506 around the first virtual object 501, the second virtual object 502, and the third virtual object 503, so that the fourth virtual object 507 outside the virtual obstacle 506 cannot join the chat group, but the fourth virtual object 507 outside the virtual obstacle 506 can see the chat group in the virtual social scene, that is, see the first virtual object 501, the second virtual object 502, and the third virtual object 503 within the virtual obstacle 506.
[0095] In one possible implementation, when a chat group is in a public private chat state, the terminal can control a virtual object to leave a virtual barrier to exit the chat group. In response to a trigger operation, a sliding operation, or a click operation on a mobile control, the terminal can control the virtual object in the chat group to move toward the boundary of the virtual barrier, so that when the virtual object reaches the boundary of the virtual barrier and continues to move outward, the terminal can control the virtual object to jump out of the virtual barrier and exit the chat group.
[0096] In a possible implementation, to avoid misoperation, when the virtual object reaches the boundary of the virtual obstacle, the terminal may display a leaving prompt message to prompt the social account that the virtual object is about to leave the virtual obstacle.
[0097] In one possible implementation, considering that the virtual objects in the chat group are still in the virtual social scene in the public private chat state, in order to provide group joining opportunities to individual other virtual objects outside the chat group, the terminal can receive group joining requests sent by the social accounts corresponding to other virtual objects outside the chat group.
[0098] In one possible implementation, when a chat group is in a public private chat state and receives a group joining request sent by other virtual objects outside the chat group, the terminal displays a third prompt message in the chat interface. The third prompt message is used to prompt the social accounts corresponding to the virtual objects in the chat group that there are other virtual objects applying to join the current chat group, so that when the social accounts corresponding to the virtual objects in the chat group all agree to the group joining request, the terminal controls the other virtual objects to join the current chat group.
[0099] Optionally, when the third prompt message is displayed in the chat interface, the terminal may also simultaneously display a group joining request pop-up window in the chat interface. The group joining request pop-up window may include an agree control and a reject control, thereby determining whether the social account corresponding to the virtual object in the chat group agrees to the group joining request.
[0100] In one exemplary embodiment, a terminal corresponding to a social account outside a chat group sends a group join request to a server, where the group join request is used to request to join the chat group. In response to the group join request, the server sends a third prompt message to the terminal corresponding to the group leader in the chat group, so that the terminal corresponding to the group leader agrees or rejects the group join request. The server determines whether to add the virtual object corresponding to the social account to the chat group based on the response sent by the terminal corresponding to the group leader. Alternatively, the server sends a third prompt message to the terminal corresponding to each virtual object in the chat group, so that each terminal agrees or rejects the group join request. The server determines whether to add the virtual object corresponding to the social account to the chat group based on the response sent by each terminal.
[0101] In one possible implementation, considering that the establishment of a chat group is determined based on the distance between virtual objects, and in the public private chat state, the virtual objects in the chat group are still in the virtual social scene, that is, the distance between the virtual objects in the chat group and the virtual objects outside the chat group may still be less than a distance threshold. For example, the virtual objects in the chat group are close to the inside of a virtual barrier, while the virtual objects outside the chat group are close to the outside of the virtual barrier. Therefore, in order to improve the privacy of the chat group in the public private chat state and prevent virtual objects outside the chat group from arbitrarily joining the chat group, when the chat group switches from the public state to the public private chat state, the terminal can mark the virtual objects in the chat group. Therefore, even if the distance between the virtual objects in the chat group and the virtual objects outside the chat group is less than the distance threshold, the virtual objects in the chat group and the virtual objects outside the chat group cannot establish a chat group. Furthermore, when the chat group switches from the public private chat state to the public state, the terminal can unmark the virtual objects in the chat group, so that the virtual objects can continue to re-establish a chat group.
[0102] In a possible implementation, when the distance between at least two virtual objects is less than a distance threshold and at least two virtual objects are not marked, the terminal controls at least two virtual objects to join a public chat group and displays a permission setting control in the chat interface.
[0103] In a possible implementation, in addition to marking the virtual objects in the chat group, the terminal can also determine whether there is a virtual object in the chat group that is in a public private chat state between the two virtual objects by judging whether the connection line between the virtual objects passes through a virtual obstacle.
[0104] In a possible implementation, when the distance between at least two virtual objects is less than a distance threshold and no lines connecting the at least two virtual objects pass through virtual obstacles, the terminal controls the at least two virtual objects to join a public chat group and displays a permission setting control in the chat interface.
[0105] Step 405: In response to the triggering operation on the secret private chat setting control, the terminal sets the chat group to a secret private chat state.
[0106] In one possible implementation, considering that the social account corresponding to the virtual object in the chat group in the private chat state may not want other virtual objects in the virtual social scene to see the current chat group, that is, the chat group in the public state has the need for secret private chat, the terminal can display the secret private chat setting control in the chat interface, so that when receiving the trigger operation of the secret private chat setting control, the terminal can set the chat group to the secret private chat state. Similarly, other virtual objects outside the chat group cannot join the chat group.
[0107] The process of the terminal setting the chat group to a secret private chat state is the same as the process of the terminal setting the chat group to a private chat state in the embodiment shown in FIG. 2 , and will not be described in detail here.
[0108] In step 406, the terminal displays the virtual objects in the chat group in the secret private chat scene. The secret private chat scene is independent of the virtual social scene, and the virtual objects in the secret private chat scene are invisible to the virtual objects in the virtual social scene.
[0109] In one possible implementation, in order to meet the chat needs of a chat group in a secret private chat state, the terminal is provided with a secret private chat scene, which is independent of the virtual social scene. Optionally, the secret private chat scene is a virtual scene for virtual objects in the chat group in the secret private chat state to engage in social interaction, and is a virtual environment displayed (or provided) when the target application is running on the terminal. The virtual environment can be a simulation of the real world, a semi-simulated and semi-fictitious environment, or a purely fictitious environment. The virtual environment can be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment, and this application does not limit this.
[0110] Optionally, the secret private chat scene can be customized by the user, that is, the secret private chat scene displayed when logging into different social accounts can be the same or different. For example, the social account "Zhang San" sets the secret private chat scene to a virtual park, while the social account "Li Si" sets the secret private chat scene to a virtual restaurant.
[0111] In one possible implementation, the terminal displays virtual objects within the chat group in a secret private chat scene. The virtual objects in the secret private chat scene are invisible to virtual objects in the virtual social scene, that is, virtual objects in the secret private chat scene cannot see virtual objects in the virtual social scene, and virtual objects in the virtual social scene cannot see virtual objects in the secret private chat scene.
[0112] 6 , the first virtual object 601, the second virtual object 602, and the third virtual object 603 belong to the same chat group. In response to the triggering operation of the secret private chat setting control 605 in the chat interface 604, the terminal sets the chat group to the secret private chat state. The interface is displayed as the first virtual object 601, the second virtual object 602, and the third virtual object 603 in the secret private chat scene 607. As a result, the first virtual object 601, the second virtual object 602, and the third virtual object 603 in the secret private chat scene 607 cannot see the fourth virtual object 606 in the virtual social scene, and the fourth virtual object 606 in the virtual social scene cannot see the first virtual object 601, the second virtual object 602, and the third virtual object 603 in the secret private chat scene 607.
[0113] In the above embodiment, by displaying two types of permission setting controls, namely, a public private chat setting control and a secret private chat setting control, in the chat interface, it is possible to set the chat group to either a public private chat state or a secret private chat state, thereby optimizing the chat group settings in the virtual social scene and enriching the expression of the chat group in the private chat state.
[0114] In one possible implementation, considering that there are at least two virtual objects in a public chat group, and the social accounts corresponding to different virtual objects may have different setting requirements for the status of the chat group, in order to fully consider the setting opinions of each social account in the chat group on the chat group, when a trigger operation of the permission setting control is received from one of the social accounts, the setting opinions of each social account on the chat group can be determined by sending a voting notification to other social accounts, and the status of the chat group can be set according to the voting results.
[0115] Please refer to Figure 7, which shows a flowchart of a method for displaying a virtual social scene provided by another exemplary embodiment of the present application. This embodiment is described using the method as an example of the terminal shown in Figure 1. The method includes the following steps:
[0116] In step 701, the terminal displays virtual objects in a virtual social scene. The virtual social scene is a virtual scene for virtual objects to interact socially. Different virtual objects correspond to different social accounts.
[0117] In step 702, when there are at least two virtual objects belonging to the same chat group and the chat group is in a public state, the terminal displays a permission setting control in the chat interface, wherein the distance between the virtual objects in the chat group is less than the distance threshold, and the chat group in a public state allows other virtual objects to join, and the permission setting control is used to set the group joining permission of the chat group.
[0118] The specific implementation of steps 701 to 702 may refer to steps 201 to 202, which will not be described in detail in this embodiment.
[0119] Step 703, in response to the triggering operation of the permission setting control, the terminal sends a first voting notification to the social account corresponding to the virtual object in the chat group. The first voting notification is used to initiate a vote on closing the group joining permission, and execute step 704 or 705.
[0120] In one possible implementation, a first virtual object corresponding to a first social account belongs to a public chat group. Upon receiving a trigger operation on a permission setting control from the first social account, the first terminal corresponding to the first social account generates first voting data. The first voting data includes information about the first social account initiating the vote and the voting type, where the current voting type is whether to agree to close the group joining permission. The first terminal then sends the first voting data to a server, and the server sends a first voting notification to the social accounts corresponding to other virtual objects in the chat group. The first voting notification is used to initiate a vote on closing the group joining permission. Optionally, the first voting notification may include the account nickname of the first social account, the voting type, the voting duration, and the like.
[0121] In one possible implementation, the second virtual object corresponding to the second social account and the first virtual object belong to the same chat group. When the second terminal corresponding to the second social account receives the first voting notification, the second terminal displays a first voting window in the chat interface. Optionally, the first voting window displays the account nickname, voting type, voting duration, and voting controls of the first social account, wherein the voting controls include an approval control and a rejection control.
[0122] 8 , a first virtual object 801, a second virtual object 802, and a third virtual object 803 belong to the same chat group. A first chat interface 804 is the chat interface of the social account corresponding to the second virtual object 802, and a second chat interface 806 is the chat interface of the social account corresponding to the first virtual object 801. Upon receiving a user trigger operation on the public private chat setting control 805 in the first chat interface 804, the terminal corresponding to the second virtual object 802 sends a first voting notification to the social accounts corresponding to the first virtual object 801 and the social accounts corresponding to the third virtual object 803 in the chat group. As a result, the terminal corresponding to the first virtual object 801 displays a first voting window 807 in the second chat interface 806, and the social account corresponding to the first virtual object 801 can vote in the first voting window 807.
[0123] 9 , a first virtual object 901, a second virtual object 902, and a third virtual object 903 belong to the same chat group. A first chat interface 904 is the chat interface of the social account corresponding to the second virtual object 902, and a second chat interface 906 is the chat interface of the social account corresponding to the first virtual object 901. Upon receiving a user trigger operation on the secret private chat setting control 905 in the first chat interface 904, the terminal corresponding to the second virtual object 902 sends a first voting notification to the social accounts corresponding to the first virtual object 901 and the social accounts corresponding to the third virtual object 903 in the chat group. As a result, the terminal corresponding to the first virtual object 901 displays a first voting window 907 in the second chat interface 906, and the social account corresponding to the first virtual object 901 can vote in the first voting window 907.
[0124] In step 704, upon receiving the first voting result sent by the social accounts corresponding to the virtual objects in the chat group, the terminal sets the chat group to a private chat state, and the first voting result indicates support for closing the group joining permission.
[0125] In one possible implementation, since the social accounts corresponding to the virtual objects in the same chat group may have different opinions on whether to set the chat group to a private chat state, in order to fully consider the opinions of different social accounts and improve the accuracy of the chat group setting, the terminal will only set the chat group to a private chat state after receiving the first voting result sent by the social accounts corresponding to each virtual object in the chat group, wherein the first voting result indicates that the social account supports closing the group joining permission of the chat group.
[0126] In one possible implementation, the second terminal corresponding to the second social account receives the user's triggering operation on the consent control, that is, generates a first voting result, and sends the first voting result to the server. Optionally, the server can count the number of received first voting results and the social account information corresponding to the first voting result. When it is determined that the social accounts corresponding to all virtual objects in the chat group have sent the first voting results, the server sends the final statistical results to the terminals corresponding to each social account, so that the terminal sets the chat group to a private chat state; optionally, the server can also send the received first voting result and the corresponding social account information directly to the terminal, and the terminal counts the voting results. When it is determined that the social accounts corresponding to all virtual objects in the chat group have sent the first voting results, the terminal sets the chat group to a private chat state.
[0127] In one possible implementation, in order to improve the voting efficiency of each social account, when the terminal displays the first voting window for users to vote, it can also display a voting countdown in the first voting window. When the voting countdown ends and no user trigger operation of the approval control or the rejection control is received, the terminal assumes that the social account supports closing the group joining permission and sends the first voting result.
[0128] Schematically, as shown in Figure 8, when the terminal corresponding to the first virtual object 801 receives the user's trigger operation on the consent control 808 in the first voting window 807 in the second chat interface 806, the terminal corresponding to the first virtual object 801 sends the first voting result to the terminal corresponding to the second virtual object 802. When the terminal corresponding to the second virtual object 802 receives the first voting result sent by the social accounts corresponding to all virtual objects in the chat group, the terminal corresponding to the second virtual object 802 sets the chat group to a public private chat state, and displays virtual obstacles 809 around the first virtual object 801, the second virtual object 802 and the third virtual object 803.
[0129] Schematically, as shown in Figure 9, when the terminal corresponding to the first virtual object 901 receives the user's trigger operation on the consent control 908 in the first voting window 907 in the second chat interface 906, the terminal corresponding to the first virtual object 901 sends the first voting result to the terminal corresponding to the second virtual object 902. When the terminal corresponding to the second virtual object 902 receives the first voting result sent by the social accounts corresponding to all virtual objects in the chat group, the terminal corresponding to the second virtual object 902 sets the chat group to a secret private chat state, and displays the first virtual object 901, the second virtual object 902 and the third virtual object 903 in the secret private chat scene 909.
[0130] In step 705, upon receiving a second voting result sent by a social account corresponding to a virtual object in at least one chat group, the terminal displays a first prompt message, wherein the second voting result indicates opposition to closing the group joining permission, and the first prompt message is used to indicate that there is a social account that opposes closing the group joining permission.
[0131] In one possible embodiment, upon receiving a second voting result sent by a social account corresponding to a virtual object in at least one chat group, where the second voting result indicates that the social account opposes closing the group joining permission, that is, there is a social account in the chat group that disagrees with closing the group joining permission, and in order to prompt the first social account that initiated the vote and other social accounts that participated in the vote in the chat group, the terminal displays a first prompt message, which is used to indicate that there is a social account that opposes closing the group joining permission.
[0132] Optionally, the first prompt message may include the social account information that issued the second voting result, and the number of social accounts that issued the second voting result; optionally, in order to protect the account information of the social account that issued the second voting result, the first prompt message may also directly be "Someone opposes closing the group joining permission", which is not limited in the embodiments of the present application.
[0133] In one possible implementation, in order to improve the voting efficiency of each social account, when the terminal displays the first voting window for users to vote, it can also display a voting countdown in the first voting window. When the voting countdown ends and no user trigger operation of the approval control or the rejection control is received, the terminal assumes that the social account opposes the closure of the group joining permission and sends the second voting result.
[0134] Schematically, as shown in Figure 10, the first virtual object 1001, the second virtual object 1002 and the third virtual object 1003 belong to the same chat group, the first chat interface 1004 is the chat interface of the social account corresponding to the second virtual object 1002, and the second chat interface 1006 is the chat interface of the social account corresponding to the first virtual object 1001. When the user triggers the public private chat setting control 1005 in the first chat interface 1004, the terminal corresponding to the second virtual object 1002 sends a first voting notification to the social account corresponding to the first virtual object 1001 and the social account corresponding to the third virtual object 1003 in the chat group, so that the terminal corresponding to the first virtual object 1001 displays a first voting window 1007 in the second chat interface 1006. When the terminal corresponding to the first virtual object 1001 receives the user trigger operation of the reject control 1008 in the first voting window 1007, the terminal corresponding to the first virtual object 1001 sends a second voting result to the terminal corresponding to the second virtual object 1002. When the terminal corresponding to the second virtual object 1002 receives the second voting result, the terminal corresponding to the second virtual object 1002 displays a first prompt message 1009 on the first chat interface 1004, prompting that there is a social account that opposes closing the group joining permission and refuses to set the chat group to a public private chat state.
[0135] Schematically, as shown in Figure 11, the first virtual object 1101, the second virtual object 1102 and the third virtual object 1103 belong to the same chat group, the first chat interface 1104 is the chat interface of the social account corresponding to the second virtual object 1102, and the second chat interface 1106 is the chat interface of the social account corresponding to the first virtual object 1101. Upon receiving a user trigger operation on the secret private chat setting control 1105 in the first chat interface 1104, the terminal corresponding to the second virtual object 1102 sends a first voting notification to the social account corresponding to the first virtual object 1101 and the social account corresponding to the third virtual object 1103 in the chat group, so that the terminal corresponding to the first virtual object 1101 displays a first voting window 1107 in the second chat interface 1106. When the terminal corresponding to the first virtual object 1101 receives a user trigger operation on the reject control 1108 in the first voting window 1107, the terminal corresponding to the first virtual object 1101 sends a second voting result to the terminal corresponding to the second virtual object 1102. When the terminal corresponding to the second virtual object 1102 receives the second voting result, the terminal corresponding to the second virtual object 1102 displays a first prompt message 1109 on the first chat interface 1104, prompting that there is a social account that opposes closing the group joining permission and refuses to set the chat group to a secret private chat state.
[0136] Step 706: The terminal keeps the chat group in a public state.
[0137] Furthermore, if at least one social account objects to closing the group joining permission, the terminal controls the chat group to remain public, so that other virtual objects in the virtual social scene can still join the chat group by adjusting the distance between virtual objects.
[0138] Schematically, as shown in Figure 10, when the terminal corresponding to the second virtual object 1002 receives the second voting result, the terminal corresponding to the second virtual object 1002 keeps the chat group in a public state, that is, the first virtual object 1001, the second virtual object 1002 and the third virtual object 1003 continue to be displayed in the virtual social scene.
[0139] Schematically, as shown in Figure 11, when the terminal corresponding to the second virtual object 1102 receives the second voting result, the terminal corresponding to the second virtual object 1102 keeps the chat group in a public state, that is, continues to display the first virtual object 1101, the second virtual object 1102 and the third virtual object 1103 in the virtual social scene.
[0140] Step 707: The terminal sets the permission setting control to an untriggerable state.
[0141] In one possible implementation, in order to avoid social accounts within a chat group frequently initiating votes to close group joining permissions, if there is at least one social account that opposes closing group joining permissions, the terminal may set the permission setting control to an untriggerable state, that is, in the untriggerable state, the social account cannot initiate a vote to close the group joining permissions through the permission setting control.
[0142] Optionally, the setting of the untriggerable state can be only for the terminal of the social account that initiates the vote to close the group joining permission, or it can be for the terminals of all social accounts in the current chat group. This embodiment of the present application is not limited to this.
[0143] Step 708: When the duration of the untriggerable state reaches a first duration threshold, the terminal sets the permission setting control to a triggerable state.
[0144] In one possible implementation, considering that the social account corresponding to the virtual object in the chat group may only temporarily oppose the closure of the chat group joining permission, that is, the chat group still has the need to close the chat group joining permission and enter the private chat state, the terminal sets a time threshold for the duration of the untriggerable state of the permission setting control, so that when the duration of the untriggerable state reaches the first time threshold, the terminal resets the permission setting control to the triggerable state.
[0145] 10 , when the terminal corresponding to the second virtual object 1002 receives the second voting result, the public private chat setting control 1005 is set to an untriggerable state, and a 10-second countdown is performed for the untriggerable state. When the 10-second countdown is completed, the terminal sets the public private chat setting control 1005 to a triggerable state.
[0146] Schematically, as shown in Figure 11, when the terminal corresponding to the second virtual object 1102 receives the second voting result, the secret private chat setting control 1105 is set to an untriggerable state, and a 10-second countdown is performed for the untriggerable state. When the 10-second countdown result is reached, the terminal sets the secret private chat setting control 1105 to a triggerable state.
[0147] In one possible implementation, after establishing a chat group between at least two virtual objects, in order to avoid frequently setting the chat group joining permissions of the chat group, the number of times the chat group joining permissions are set can also be limited, that is, the number of times the permission setting control is switched from an untriggerable state to a triggerable state is limited. When the number of switches reaches a threshold, the terminal can always set the permission setting control to an untriggerable state.
[0148] It should be noted that, in the embodiment of the present application, the chat group is set to a private chat state only when the social accounts corresponding to all virtual objects in the chat group support closing the group joining permission. However, in other embodiments, it is not required that the social accounts corresponding to all virtual objects support closing the group joining permission. Therefore, in one possible implementation, the terminal sets the chat group to a private chat state, including: in response to a triggering operation on a permission setting control, the terminal sends a first voting notification to the social account corresponding to the virtual object in the chat group, the first voting notification is used to initiate a vote on closing the group joining permission; based on the voting result sent by the social account corresponding to the virtual object in the chat group, if it is determined that closing the group joining permission is supported, the terminal sets the chat group to a private chat state.
[0149] In one exemplary embodiment, it is sufficient to only require that the number of social media accounts supporting the closure of group join permissions is greater than the number of social media accounts opposing the closure. Therefore, if the terminal determines, based on the voting results sent by the social media accounts corresponding to the virtual objects in the chat group, that the number of social media accounts supporting the closure of group join permissions is greater than the number of social media accounts opposing the closure, the chat group is set to a private chat state.
[0150] In the above embodiment, in the process of setting the chat group from a public state to a private chat state, in order to fully consider the opinions of the social accounts corresponding to each virtual object in the chat group, a first voting notification is initiated when a trigger operation is received on the permission setting control to determine the voting results corresponding to each social account, thereby determining whether to adjust the status of the chat group based on the voting results, thereby optimizing the status setting process of the chat group.
[0151] In one possible implementation, when a chat group enters a private chat state, considering that there may be individual virtual objects in the chat group who want to exit the chat group, while the social accounts corresponding to other virtual objects in the chat group still have private chat needs, when the chat group enters a private chat state, the terminal can display a leave control in the chat interface, so that in response to the triggering operation of the leave control, the terminal can control the virtual object to exit the chat group.
[0152] Schematically, as shown in Figure 12, the first virtual object 1201, the second virtual object 1202 and the third virtual object 1203 belong to a chat group in a public private chat state. Virtual obstacles 1204 are displayed around the first virtual object 1201, the second virtual object 1202 and the third virtual object 1203. When the user triggers the leave control 1206 in the chat interface 1205, the terminal controls the second virtual object 1202 to exit the chat group and jump out of the virtual obstacle 1204, so that the user can control the second virtual object 1202 to move in the virtual social scene 1207 by triggering the movement control 1208, sliding or clicking, and establish a chat group with other virtual objects.
[0153] 13 , the first virtual object 1301, the second virtual object 1302 and the third virtual object 1303 belong to a chat group in a secret private chat state. The first virtual object 1301, the second virtual object 1302 and the third virtual object 1303 are located in a secret private chat scene 1304. Upon receiving a user trigger operation on a leave control 1305, the terminal controls the second virtual object 1302 to exit the chat group and displays the second virtual object 1302 in a virtual social scene 1306. The fourth virtual object 1308 can see the second virtual object 1302 in the virtual social scene 1306, so that the user can control the second virtual object 1302 to move in the virtual social scene 1306 and establish a chat group with other virtual objects by triggering a movement control 1307, sliding or clicking.
[0154] In one possible implementation, after virtual objects in a chat group exit the chat group in sequence based on triggering actions on the leave control via their social media accounts, to improve the efficiency of disbanding the chat group, the terminal can directly disband the chat group if the number of virtual objects in the chat group falls below a threshold. For example, if only one virtual object remains in the chat group, the terminal can directly disband the chat group because a single virtual object cannot chat.
[0155] In one possible implementation, when a chat group enters a private chat state, considering that the chat group may need to be restored to a public state, when the chat group enters a private chat state, the terminal may switch the permission setting control to a permission release control in the chat interface, so that in response to a triggering operation on the permission release control, the terminal may restore the chat group to a public state. As shown in FIG14 , the process includes the following steps:
[0156] In step 1401, when the chat group switches from a public state to a private chat state, the terminal switches the permission setting control to a permission release control, where the permission release control is used to release the group joining permission.
[0157] In one possible implementation, in order to facilitate the social accounts corresponding to virtual objects in the chat group to adjust the status of the chat group at any time, the chat group is reset to a public state. When the chat group switches from a public state to a private chat state, the terminal can switch the permission setting control in the chat interface to a permission release control, which can be used to release the group joining permission.
[0158] Optionally, the public private chat setting control switches to a public private chat release control, and the secret private chat setting control switches to a secret private chat release control.
[0159] Schematically, as shown in Figure 15, the distance between the first virtual object 1501, the second virtual object 1502 and the third virtual object 1503 is less than the distance threshold. Upon receiving the user's trigger operation on the public private chat setting control 1506 in the first chat interface 1505, the terminal controls the first virtual object 1501, the second virtual object 1502 and the third virtual object 1503 to join the same chat group, displays virtual obstacles 1504 around the first virtual object 1501, the second virtual object 1502 and the third virtual object 1503, and switches the public private chat setting control 1506 to the public private chat release control 1507.
[0160] Step 1402, in response to the triggering operation of the permission release control, the terminal sends a second voting notification to the social account corresponding to the virtual object in the chat group, the second voting notification is used to initiate a vote on opening the group joining permission, and execute step 1403 or 1405.
[0161] In one possible implementation, a first virtual object corresponding to a first social account belongs to a chat group in a private chat state. Upon receiving a trigger operation from the first social account to release a permission control, the first terminal corresponding to the first social account generates second voting data. The second voting data includes information about the first social account initiating the vote and the voting type, where the current voting type is whether to agree to enable group joining permissions. The first terminal then sends the second voting data to a server, and through the server, sends a second voting notification to the social accounts corresponding to other virtual objects in the chat group. The second voting notification is used to initiate a vote on enabling group joining permissions. Optionally, the second voting notification may include the account nickname of the first social account, the voting type, the voting duration, and the like.
[0162] In one possible implementation, the second virtual object corresponding to the second social account and the first virtual object belong to the same chat group. When the second terminal corresponding to the second social account receives the second voting notification, the second terminal displays a second voting window in the chat interface. Optionally, the second voting window displays the account nickname, voting type, voting duration and voting controls of the first social account, wherein the voting controls include approval controls and rejection controls.
[0163] Schematically, as shown in Figure 15, the first chat interface 1505 is the chat interface of the social account corresponding to the second virtual object 1502, and the second chat interface 1510 is the chat interface of the social account corresponding to the first virtual object 1501. When the user triggers the public private chat release control 1507 in the first chat interface 1505, the terminal corresponding to the second virtual object 1502 sends a second voting notification to the social account corresponding to the first virtual object 1501 and the social account corresponding to the third virtual object 1503 in the chat group, so that the terminal corresponding to the first virtual object 1501 displays the second voting window 1508 in the second chat interface 1510, and the social account corresponding to the first virtual object 1501 can vote in the second voting window 1508.
[0164] In step 1403, upon receiving the third voting result sent by the social accounts corresponding to the virtual objects in the chat group, the terminal sets the chat group to a public state, and the third voting result indicates support for enabling group joining permission.
[0165] In one possible implementation, since the social accounts corresponding to the virtual objects in the same chat group may have different opinions on whether to reset the chat group to a public state, in order to fully consider the opinions of different social accounts and improve the accuracy of the chat group settings, the terminal will only reset the chat group to a public state after receiving the third voting result sent by the social accounts corresponding to each virtual object in the chat group, wherein the third voting result indicates that the social account supports enabling the group joining permission for the chat group.
[0166] In one possible implementation, the second terminal corresponding to the second social account receives the user's triggering operation on the consent control, that is, generates a third voting result, and sends the third voting result to the server. Optionally, the server can count the number of received third voting results and the social account information corresponding to the third voting result. When it is determined that the social accounts corresponding to all virtual objects in the chat group have sent the third voting results, the server sends the final statistical results to the terminals corresponding to each social account, so that the terminal sets the chat group to a public state; optionally, the server can also send the received third voting result and the corresponding social account information directly to the terminal, and the terminal counts the voting results. When it is determined that the social accounts corresponding to all virtual objects in the chat group have sent the third voting results, the terminal sets the chat group to a public state.
[0167] In one possible implementation, in order to improve the voting efficiency of each social account, when the terminal displays the second voting window for users to vote, it can also display a voting countdown in the second voting window. When the voting countdown ends and no user triggers the approval control or the rejection control, the terminal will assume that the social account supports the group joining permission and send the third voting result.
[0168] Schematically, as shown in Figure 15, when the terminal corresponding to the first virtual object 1501 receives the user's trigger operation on the consent control 1509 in the second voting window 1508 in the second chat interface 1510, the terminal corresponding to the first virtual object 1501 sends the third voting result to the terminal corresponding to the second virtual object 1502. When the terminal corresponding to the second virtual object 1502 receives the third voting result sent by the social accounts corresponding to all virtual objects in the chat group, the terminal corresponding to the second virtual object 1502 sets the chat group to a public state and cancels the display of virtual obstacles 1504 around the first virtual object 1501, the second virtual object 1502 and the third virtual object 1503.
[0169] In step 1404, the terminal switches the permission release control to a permission setting control.
[0170] Furthermore, in order to facilitate the need for the social account corresponding to the virtual object in the chat group to enter the private chat state again, the terminal switches the permission release control to a permission setting control.
[0171] Optionally, the public private chat release control switches to the public private chat setting control, and the secret private chat release control switches to the secret private chat setting control.
[0172] Illustratively, as shown in FIG15 , when the chat group is reset to a public state, the terminal switches the public private chat release control 1507 to a public private chat setting control 1506 .
[0173] Step 1405: Upon receiving the fourth voting result sent by the social account corresponding to the virtual object in at least one chat group, the terminal displays a second prompt message. The fourth voting result indicates opposition to enabling the group joining permission. The second prompt message is used to indicate that there is a social account that opposes enabling the group joining permission.
[0174] In one possible embodiment, upon receiving the fourth voting result sent by a social account corresponding to a virtual object in at least one chat group, where the fourth voting result indicates that the social account opposes enabling the group joining permission, that is, there exists a social account in the chat group that does not agree to enable the group joining permission, and thus in order to prompt the first social account that initiated the vote and other social accounts in the chat group that participated in the vote, the terminal displays a second prompt message, and the second prompt message is used to indicate that there exists a social account that opposes enabling the group joining permission.
[0175] Optionally, the second prompt message may include the social account information of the social account that issued the fourth voting result, and the number of social accounts that issued the fourth voting result; optionally, in order to protect the account information of the social account that issued the fourth voting result, the second prompt message may also directly be "Someone objects to enabling group joining permissions", which is not limited in the embodiments of the present application.
[0176] In one possible implementation, in order to improve the voting efficiency of each social account, when the terminal displays the second voting window for users to vote, it can also display a voting countdown in the second voting window. When the voting countdown ends and no user trigger operation of the approval control or the rejection control is received, the terminal will assume that the social account opposes the opening of the group joining permission and send the fourth voting result.
[0177] Schematically, as shown in Figure 16, the first virtual object 1601, the second virtual object 1602 and the third virtual object 1603 belong to a chat group in a public private chat state. Virtual obstacles 1604 are displayed around the first virtual object 1601, the second virtual object 1602 and the third virtual object 1603. The first chat interface 1605 is the chat interface of the social account corresponding to the second virtual object 1602, and the second chat interface 1609 is the chat interface of the social account corresponding to the first virtual object 1601. When the user triggers the public private chat release control 1606 in the first chat interface 1605, the terminal corresponding to the second virtual object 1602 sends a second voting notification to the social account corresponding to the first virtual object 1601 and the social account corresponding to the third virtual object 1603 in the chat group, so that the terminal corresponding to the first virtual object 1601 displays a second voting window 1607 in the second chat interface 1609. When the terminal corresponding to the first virtual object 1601 receives the user trigger operation of the reject control 1608 in the second voting window 1607, the terminal corresponding to the first virtual object 1601 sends a fourth voting result to the terminal corresponding to the second virtual object 1602. When the terminal corresponding to the second virtual object 1602 receives the fourth voting result, the terminal corresponding to the second virtual object 1602 displays a second prompt message 1610 in the first chat interface 1605, prompting that there is a social account that opposes the opening of the group joining permission, that is, there is a social account that refuses other virtual objects to join the chat group.
[0178] Step 1406: The terminal keeps the chat group in a private chat state.
[0179] Furthermore, if at least one social account objects to enabling group joining permission, the terminal controls the chat group to remain in a private chat state, so that other virtual objects in the virtual social scene still cannot join the chat group by adjusting the distance between virtual objects.
[0180] Schematically, as shown in Figure 16, when the terminal corresponding to the second virtual object 1602 receives the fourth voting result, the terminal corresponding to the second virtual object 1602 keeps the chat group in a public private chat state, that is, the virtual obstacle 1604 continues to be displayed around the first virtual object 1601, the second virtual object 1602 and the third virtual object 1603.
[0181] In step 1407, the terminal sets the permission release control to an untriggerable state.
[0182] In one possible implementation, in order to avoid social accounts within a chat group frequently initiating votes to enable group joining permissions, if there is at least one social account that opposes enabling group joining permissions, the terminal may set the permission release control to an untriggerable state, that is, in the untriggerable state, the social account cannot initiate a vote to enable group joining permissions through the permission release control.
[0183] Optionally, the setting of the untriggerable state can be only for the terminal of the social account that initiates the vote to enable group joining permissions, or it can be for the terminals of all social accounts in the current chat group. This embodiment of the present application is not limited to this.
[0184] Step 1408: When the duration of the untriggerable state reaches a second duration threshold, the terminal sets the permission release control to a triggerable state.
[0185] In one possible implementation, considering that the social account corresponding to the virtual object in the chat group may only temporarily oppose the opening of the chat group joining permission, that is, the chat group still has the need to open the chat group joining permission and return to the public state, the terminal sets a second time threshold for the duration of the untriggerable state of the permission release control, so that when the duration of the untriggerable state reaches the second time threshold, the terminal resets the permission release control to a triggerable state.
[0186] 16 , when the terminal corresponding to the second virtual object 1602 receives the fourth voting result, the public private chat release control 1606 is set to an untriggerable state, and a 10-second countdown is performed for the untriggerable state. When the 10-second countdown result is reached, the terminal sets the public private chat release control 1606 to a triggerable state.
[0187] It should be noted that, in the embodiment of the present application, the chat group is set to a public state only when the social accounts corresponding to all virtual objects in the chat group support the opening of the group joining permission. However, in other embodiments, it is not required that the social accounts corresponding to all virtual objects support the opening of the group joining permission. Therefore, in one possible implementation, the terminal sets the chat group to a public state, including: in response to the triggering operation of the permission release control, the terminal sends a second voting notification to the social account corresponding to the virtual object in the chat group, and the second voting notification is used to initiate a vote on opening the group joining permission; based on the voting result sent by the social account corresponding to the virtual object in the chat group, when it is determined that the group joining permission is supported, the terminal sets the chat group to a public state and switches the permission release control to a permission setting control.
[0188] In one exemplary embodiment, it is sufficient that the number of social accounts supporting the group join permission exceeds the number of social accounts opposing the group join permission. Therefore, if the terminal determines, based on the voting results sent by the social accounts corresponding to the virtual objects in the chat group, that the number of social accounts supporting the group join permission exceeds the number of social accounts opposing the group join permission, the chat group is set to public.
[0189] In the above embodiment, when the chat group enters the private chat state, by switching the permission setting control to the permission release control, the social accounts in the chat group can be provided with the opportunity to set the chat group to the public state again, thereby optimizing the status setting process of the chat group.
[0190] In combination with the above embodiments, FIG17 shows a flowchart of a method for displaying a virtual social scene provided by an exemplary embodiment of the present application. The method includes the following steps:
[0191] Step 1701: The terminal controls the virtual object to move in the virtual social scene.
[0192] In a virtual social scene, the social accounts corresponding to each virtual object can control the movement of the virtual object in the virtual social scene by triggering the movement control. Alternatively, the virtual object can be controlled by sliding or clicking on the terminal.
[0193] Step 1702: When the distance between the virtual object controlled by the terminal and other virtual objects is less than a distance threshold, control the virtual object to join the chat group.
[0194] In an illustrative example, by obtaining the position coordinates of each virtual object in the virtual social scene, the distance between the virtual objects is determined. Therefore, when the distance between at least two virtual objects is less than a distance threshold and at least two virtual objects do not belong to a chat group in a private chat state, the terminal controls at least two virtual objects to join the same chat group, and the chat group is in a public state.
[0195] Step 1703: The terminal receives a trigger operation for setting a public private chat control.
[0196] The terminal receives the user's triggering operation on the public private chat setting control, that is, the social account corresponding to the virtual object in the chat group triggers the public private chat setting control.
[0197] Step 1704: The terminal sends a first voting notification to the social accounts corresponding to other virtual objects.
[0198] The terminal sends a first voting notification to the social accounts corresponding to other virtual objects in the chat group, and the social accounts corresponding to the other virtual objects vote on whether to close the group joining permission and enter the public private chat state.
[0199] In step 1705 , the terminal determines whether other social accounts agree.
[0200] Based on the received voting results, the terminal determines whether the social accounts corresponding to the virtual objects in the chat group all agree to close the group joining permission and enter the public private chat state. If all social accounts agree to close the group joining permission, the terminal proceeds to step 1707; if at least one social account does not agree to close the group joining permission, the terminal proceeds to step 1706.
[0201] Step 1706: The terminal keeps the chat group in a public state.
[0202] If at least one social account disagrees with closing the group joining permission, the terminal keeps the chat group in a public state.
[0203] In step 1707, the terminal sets the chat group to a public private chat state and displays a virtual obstacle.
[0204] When all social accounts agree to close the group joining permission, the terminal sets the chat group to public private chat status and displays virtual obstacles around the virtual objects in the chat group.
[0205] Step 1708: The terminal receives a trigger operation for leaving the control.
[0206] The terminal receives the user's trigger operation on the leave control in the chat interface, that is, the social account corresponding to the virtual object in the chat group triggers the leave control in the chat interface.
[0207] Step 1709: The terminal exits the chat group and controls the virtual object to move outside the virtual obstacle.
[0208] When a trigger operation for leaving the control is received, the terminal controls the virtual object to exit the chat group and moves the virtual object outside the virtual obstacle.
[0209] Step 1710: The terminal receives a triggering operation for a permission release control.
[0210] The terminal receives the user's triggering operation on the permission release control in the chat interface, that is, the social account corresponding to the virtual object in the chat group triggers the permission release control in the chat interface.
[0211] Step 1711: The terminal sends a second voting notification to the social accounts corresponding to other virtual objects.
[0212] The terminal sends a second voting notification to the social accounts corresponding to other virtual objects in the chat group, and the social accounts corresponding to the other virtual objects vote on whether to enable the group joining permission.
[0213] In step 1712, the terminal determines whether other social accounts agree.
[0214] Based on the received voting results, the terminal determines whether the social accounts corresponding to the virtual objects in the chat group all agree to enable the group joining permission. If all social accounts agree to enable the group joining permission, the terminal proceeds to step 1714; if at least one social account does not agree to enable the group joining permission, the terminal proceeds to step 1713.
[0215] Step 1713: The terminal keeps the chat group in a public private chat state.
[0216] If at least one social account does not agree to enable group joining permission, the terminal keeps the chat group in a public private chat state.
[0217] In step 1714, the terminal sets the chat group to public and cancels the display of the virtual obstacle.
[0218] When all social accounts agree to enable group joining permissions, the terminal sets the chat group to public and cancels the display of virtual obstacles.
[0219] Step 1715: The terminal receives a trigger operation for setting a secret private chat control.
[0220] The terminal receives the user's triggering operation on the secret private chat setting control in the chat interface, that is, the social account corresponding to the virtual object in the chat group triggers the secret private chat setting control.
[0221] Step 1716: The terminal sends a third voting notification to the social accounts corresponding to other virtual objects.
[0222] The terminal sends a third voting notification to the social accounts corresponding to other virtual objects in the chat group, and the social accounts corresponding to the other virtual objects vote on whether to close the group joining permission and enter the secret private chat state.
[0223] In step 1717 , the terminal determines whether other social accounts agree.
[0224] Based on the received voting results, the terminal determines whether the social accounts corresponding to the virtual objects in the chat group all agree to close the group joining permission and enter the secret private chat state. If all social accounts agree to close the group joining permission, the terminal proceeds to step 1719; if at least one social account does not agree to close the group joining permission, the terminal proceeds to step 1718.
[0225] In step 1718, the terminal keeps the chat group in a public state.
[0226] If at least one social account disagrees with closing the group joining permission, the terminal keeps the chat group in a public state.
[0227] In step 1719, the terminal displays the virtual objects in the chat group in the secret private chat scene.
[0228] When all social accounts agree to close the group joining permission, the terminal sets the chat group to a secret private chat state and displays the virtual objects in the chat group in the secret private chat scene.
[0229] Step 1720: The terminal receives a trigger operation for leaving the control.
[0230] The terminal receives the user's trigger operation on the leave control in the chat interface, that is, the social account corresponding to the virtual object in the chat group triggers the leave control in the chat interface.
[0231] Step 1721: The terminal exits the chat group and controls the virtual object to move to the virtual social scene.
[0232] When a trigger operation for leaving the control is received, the terminal controls the virtual object to exit the chat group and controls the virtual object to move to the virtual social scene.
[0233] Please refer to Figure 18, which shows a timing diagram of the interaction between the user layer, presentation layer, and background logic layer provided by an exemplary embodiment of the present application. In some embodiments, the user layer and presentation layer are located in the terminal, and the background logic layer is located in the server. The interaction process includes the following steps:
[0234] Step 1801: The user layer controls the movement of a virtual object in a virtual social scene so that the distance between the virtual object and other virtual objects in the virtual social scene is less than a distance threshold.
[0235] The user controls the movement of virtual objects in the virtual social scene by triggering motion controls on the terminal, or by sliding or clicking. If the distance between a virtual object and another virtual object is less than a distance threshold, the virtual object is controlled to join the chat group.
[0236] Step 1802: The presentation layer sends a real-time chat data request.
[0237] The terminal sends a real-time chat data request to the server to obtain social messages sent by social accounts corresponding to other virtual objects in the same chat group.
[0238] Step 1803: The background logic layer returns real-time chat data.
[0239] The server returns the real-time chat data to the terminal.
[0240] In step 1804, the user layer displays social messages, public private chat setting controls, and secret private chat setting controls in the chat interface.
[0241] The terminal displays social messages in the chat interface and displays public private chat setting controls and secret private chat setting controls.
[0242] Step 1805: The user layer triggers the public private chat setting control.
[0243] The user triggers the public private chat setting control in the chat interface.
[0244] Step 1806: The presentation layer sends the first voting data.
[0245] After receiving the user's triggering operation on the public private chat setting control in the chat interface, the terminal sends the first voting data to the server to initiate a vote on whether to enter the public private chat state and close the group joining permission.
[0246] Step 1807: The backend logic layer sends a first voting notification to other social accounts.
[0247] The server sends a first voting notification to the social accounts corresponding to other virtual objects.
[0248] Step 1808: The user layer displays a first voting window.
[0249] The terminals corresponding to other virtual objects display the first voting window in the chat interface.
[0250] Step 1809: The user layer triggers the selection control.
[0251] The users corresponding to the other virtual objects trigger the selection control in the first voting window, which may be an approval control or a rejection control.
[0252] Step 1810: The presentation layer sends the trigger result of the selection control.
[0253] The terminals corresponding to other virtual objects send the voting results corresponding to the logged-in social accounts to the server.
[0254] Step 1811: The background logic layer returns the voting results to the presentation layer.
[0255] The server sends the voting results to the terminals corresponding to each virtual object.
[0256] In step 1812 , the presentation layer determines whether all social accounts agree.
[0257] Based on the voting results, the terminal determines whether the social accounts corresponding to the virtual objects in the chat group all agree to close the group joining permission and enter the public private chat state.
[0258] In step 1813, if not all social accounts agree, the presentation layer keeps the chat group public.
[0259] If at least one social account disagrees, the terminal keeps the chat group public.
[0260] In step 1814, if all social accounts agree, the presentation layer sets the chat group to public private chat status.
[0261] If all social accounts agree, the terminal sets the chat group to public private chat status, displays virtual obstacles around virtual objects in the chat group, and switches the public private chat setting control to a permission release control.
[0262] Step 1815: The user layer triggers the permission release control.
[0263] The user of the terminal triggers the permission removal control in the chat interface.
[0264] Step 1816: The presentation layer sends the second voting data.
[0265] After receiving the user's triggering operation on the permission release control in the chat interface, the terminal sends the second voting data to the server to initiate a vote on whether to return to the public state and enable the group joining permission.
[0266] Step 1817: The backend logic layer sends a second voting notification to other social accounts.
[0267] The server sends a second voting notification to the social accounts corresponding to other virtual objects.
[0268] Step 1818: The user layer displays a second voting window.
[0269] The terminals corresponding to other virtual objects display a second voting window in the chat interface.
[0270] Step 1819: The user layer triggers the selection control.
[0271] The users corresponding to other virtual objects trigger the selection control in the second voting window, which may be an approval control or a rejection control.
[0272] Step 1820: The presentation layer sends the trigger result of the selection control.
[0273] The terminals corresponding to other virtual objects send the voting results corresponding to each social account to the server.
[0274] Step 1821: The background logic layer returns the voting results to the presentation layer.
[0275] The server sends the voting results to the terminals corresponding to each virtual object.
[0276] In step 1822 , the presentation layer determines whether all social accounts agree.
[0277] Based on the voting results, the terminal determines whether the social accounts corresponding to the virtual objects in the chat group all agree to enable group joining permissions and return to the public state.
[0278] In step 1823 , if not all social accounts agree, the presentation layer keeps the chat group in a public private chat state.
[0279] If at least one social account disagrees, the terminal keeps the chat group in a public private chat state.
[0280] In step 1824 , if all social accounts agree, the presentation layer sets the chat group to public status.
[0281] If all social accounts agree, the terminal sets the chat group to public status, cancels the display of virtual obstacles around virtual objects in the chat group, and switches the permission release control to a public private chat setting control.
[0282] Step 1825: The user layer triggers the secret private chat setting control.
[0283] The user of the terminal triggers the secret private chat setting control in the chat interface.
[0284] Step 1826: The presentation layer sends the first voting data.
[0285] After receiving the user's triggering operation on the public private chat setting control in the chat interface, the terminal sends the first voting data to the server to initiate a vote on whether to enter the secret private chat state and close the group joining permission.
[0286] Step 1827: The backend logic layer sends a first voting notification to other social accounts.
[0287] The server sends a first voting notification to the social accounts corresponding to other virtual objects.
[0288] Step 1828: The user layer displays a first voting window.
[0289] The terminals corresponding to other virtual objects display the first voting window in the chat interface.
[0290] Step 1829: The user layer triggers the selection control.
[0291] The users corresponding to the other virtual objects trigger the selection control in the first voting window, which may be an approval control or a rejection control.
[0292] Step 1830: The presentation layer sends the trigger result of the selection control.
[0293] The terminals corresponding to other virtual objects send the voting results corresponding to each social account to the server.
[0294] Step 1831: The background logic layer returns the voting results.
[0295] The server sends the voting results to the terminals corresponding to each virtual object.
[0296] In step 1832 , the presentation layer determines whether all social accounts agree.
[0297] Based on the voting results, the terminal determines whether the social accounts corresponding to the virtual objects in the chat group all agree to close the group joining permission and enter the secret private chat state.
[0298] In step 1833 , if not all social accounts agree, the presentation layer keeps the chat group public.
[0299] If at least one social account disagrees, the terminal keeps the chat group public.
[0300] In step 1834, if all social accounts agree, the presentation layer sets the chat group to a secret private chat state.
[0301] When all social accounts agree, the terminal sets the chat group to a secret private chat state, displays virtual objects in the chat group in the secret private chat scene, and displays an exit control.
[0302] Step 1835: The user layer triggers the leave control.
[0303] The user of the terminal triggers the leave control in the chat interface.
[0304] Step 1836: The presentation layer sends the change in the number of virtual objects.
[0305] The terminal sends the change in the number of virtual objects in the chat group to the server.
[0306] Step 1837 : The presentation layer controls the virtual object to exit the chat group and displays the virtual object in the virtual social scene.
[0307] The terminal controls the virtual object to exit the chat group and displays the virtual object in the virtual social scene.
[0308] Please refer to FIG19 , which shows a block diagram of a device for displaying a virtual social scene according to an exemplary embodiment of the present application. The device may include the following structures:
[0309] A first display module 1901 is configured to display virtual objects in a virtual social scene, where the virtual objects can interact with each other, and different virtual objects correspond to different social accounts.
[0310] A second display module 1902 is configured to display a permission setting control in the chat interface when at least two virtual objects belong to the same chat group and the chat group is in a public state, wherein the distance between the virtual objects in the chat group is less than a distance threshold, and the chat group in a public state allows other virtual objects to join, and the permission setting control is configured to set group joining permissions for the chat group;
[0311] The first setting module 1903 is used to set the chat group to a private chat state in response to a triggering operation on the permission setting control. The chat group in the private chat state does not allow other virtual objects to join.
[0312] Optionally, the first setting module 1903 is configured to:
[0313] In response to a triggering operation on the permission setting control, a first voting notification is sent to a social account corresponding to a virtual object in the chat group, where the first voting notification is used to initiate a vote on closing the group joining permission;
[0314] If the voting results sent by the social accounts corresponding to the virtual objects in the chat group determine that closing the group joining permission is supported, the chat group will be set to private chat status.
[0315] Optionally, the first setting module 1903 is configured to:
[0316] Upon receiving the first voting result sent by the social accounts corresponding to the virtual objects in the chat group, the chat group is set to a private chat state, and the first voting result indicates support for closing the group joining permission.
[0317] Optionally, the device further comprises:
[0318] a third display module, configured to display a first prompt message upon receiving a second voting result sent by a social account corresponding to at least one virtual object in the chat group, wherein the second voting result indicates opposition to the closure of the group joining permission, and the first prompt message is used to indicate that there is a social account that opposes the closure of the group joining permission;
[0319] Status maintenance module, used to keep the chat group in a public state;
[0320] The control state setting module is used to set the permission setting control to an untriggerable state;
[0321] The control state setting module is further configured to set the permission setting control to a triggerable state when the duration of the non-triggerable state reaches a first duration threshold.
[0322] Optionally, the device further comprises:
[0323] The fourth display module is used to display the leave control in the chat interface in the private chat state;
[0324] A first control module, configured to control a virtual object in the chat group to exit the chat group in response to a triggering operation on a leave control;
[0325] The group disbanding module is used to disband the chat group when the number of virtual objects in the chat group is less than a threshold.
[0326] Optionally, the device further comprises:
[0327] The switching module is used to switch the permission setting control to the permission release control when the chat group switches from the public state to the private chat state. The permission release control is used to release the group joining permission;
[0328] A sending module, configured to, in response to a triggering operation on the permission release control, send a second voting notification to the social account corresponding to the virtual object in the chat group, wherein the second voting notification is used to initiate a vote on enabling the group joining permission;
[0329] A group status setting module, configured to set the chat group to a public state if the terminal determines that the group joining permission is supported based on the voting results sent by the social accounts corresponding to the virtual objects in the chat group;
[0330] The switching module is also used to switch the permission release control to the permission setting control.
[0331] Optionally, the group status setting module is used to set the chat group to a public state when receiving the third voting result sent by the social account corresponding to each virtual object in the chat group, and the third voting result indicates support for enabling group joining permissions.
[0332] Optionally, the device further comprises:
[0333] A fifth display module is configured to display a second prompt message upon receiving a fourth voting result sent by a social account corresponding to a virtual object in at least one chat group, wherein the fourth voting result indicates opposition to enabling the group joining permission, and the second prompt message is used to indicate that a social account opposes enabling the group joining permission;
[0334] The status maintenance module is also used to keep the chat group in a private chat state;
[0335] The control state setting module is also used to set the permission release control to an untriggerable state;
[0336] The control state setting module is further configured to set the permission release control to a triggerable state when the duration of the untriggerable state reaches a second duration threshold.
[0337] Optionally, the permission setting control includes a public private chat setting control and a secret private chat setting control;
[0338] The first setting module 1903 is used to:
[0339] In response to a triggering operation on the public private chat setting control, setting the chat group to a public private chat state, in which virtual objects within the chat group are visible to other virtual objects outside the chat group; displaying virtual obstacles around virtual objects within the chat group; or,
[0340] In response to a triggering operation on a secret private chat setting control, the chat group is set to a secret private chat state; virtual objects within the chat group are displayed in a secret private chat scene, the secret private chat scene is independent of the virtual social scene, and the virtual objects in the secret private chat scene are invisible to the virtual objects in the virtual social scene.
[0341] Optionally, the device further comprises:
[0342] A marking module is used to mark virtual objects in a chat group when the chat group switches from a public state to a public private chat state;
[0343] The marking module is also used to unmark the virtual objects in the chat group when the chat group switches from a public private chat state to a public state.
[0344] Optionally, the second display module 1902 is used to:
[0345] When the distance between the at least two virtual objects is less than a distance threshold and the at least two virtual objects are not marked, controlling the at least two virtual objects to join a chat group in a public state;
[0346] Show permission settings controls in the chat interface.
[0347] Optionally, the second display module 1902 is further configured to:
[0348] When a distance between the at least two virtual objects is less than a distance threshold and a line connecting the at least two virtual objects does not pass through a virtual obstacle, controlling the at least two virtual objects to join a chat group in a public state;
[0349] Show permission settings controls in the chat interface.
[0350] Optionally, the device further comprises:
[0351] The second control module is used to control the virtual objects in the chat group to move toward the boundary of the virtual obstacle when the chat group is in a public private chat state;
[0352] The third control module is used to control the virtual object to jump out of the virtual obstacle and exit the chat group when the virtual object reaches the boundary of the virtual obstacle and continues to move outward.
[0353] Optionally, the device further comprises:
[0354] a sixth display module, configured to display a third prompt message when the chat group is in a public private chat state and receives a group joining request sent by another virtual object outside the chat group, wherein the third prompt message is used to indicate that another virtual object has applied to join the chat group;
[0355] The fourth control module is used to control other virtual objects to join the chat group when the social accounts corresponding to the virtual objects in the chat group agree to the group joining request.
[0356] In summary, in an embodiment of the present application, a virtual social scene is constructed for virtual objects corresponding to social accounts to engage in social interaction. In this virtual social scene, the social account can control the movement of virtual objects so that the distance between the virtual objects is less than a distance threshold, thereby establishing a chat group in a public state between at least two virtual objects whose distance is less than the distance threshold. The chat group in the public state allows other virtual objects to join, and a permission setting control is displayed in the chat interface. The permission setting control is used to set the group joining permission of the chat group. Then, in response to a triggering operation on the permission setting control, the chat group can be set to a private chat state. The chat group in the private chat state does not allow other virtual objects to join. By adopting the solution provided in the embodiment of the present application, an opportunity to set chat permissions can be provided for a chat group that is in a public state but has a need for private chat in the virtual social scene, so that the social accounts in the chat group can set the joining permissions of the chat group through the permission setting control, thereby optimizing the chat group settings in the virtual social scene, enriching the social types in the virtual social scene, and providing privacy protection for social interactions between social accounts corresponding to virtual objects in the chat group.
[0357] It should be noted that the apparatus provided in the above embodiments is merely an example of the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments are based on the same concept. The implementation process is detailed in the method embodiment and will not be repeated here.
[0358] Please refer to Figure 20, which shows a block diagram of a terminal 2000 according to an exemplary embodiment of the present application. Terminal 2000 may be a portable mobile terminal, such as a smartphone, a tablet computer, a Moving Picture Experts Group Audio Layer III (MP3) player, or a Moving Picture Experts Group Audio Layer IV (MP4) player. Terminal 2000 may also be referred to as user equipment, a portable terminal, or other similar names.
[0359] Typically, the terminal 2000 includes a processor 2001 and a memory 2002 .
[0360] The processor 2001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 2001 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 2001 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 2001 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2001 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
[0361] The memory 2002 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 2002 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2002 is used to store at least one instruction, which is executed by the processor 2001 to implement the display method of the virtual social scene provided in the embodiment of the present application.
[0362] In some embodiments, the terminal 2000 may optionally further include: a peripheral device interface 2003 and at least one peripheral device.
[0363] The peripheral device interface 2003 can be used to connect at least one input / output (I / O)-related peripheral device to the processor 2001 and the memory 2002. In some embodiments, the processor 2001, the memory 2002, and the peripheral device interface 2003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 2001, the memory 2002, and the peripheral device interface 2003 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0364] Those skilled in the art will understand that the structure shown in FIG20 does not constitute a limitation on the terminal 2000 , and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0365] An embodiment of the present application further provides a computer-readable storage medium, which stores at least one program, and the at least one program is loaded and executed by a processor to implement the display method of the virtual social scene of each embodiment as described above.
[0366] According to one aspect of the present application, a computer program product is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a terminal reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the terminal to perform the method for displaying a virtual social scene according to each of the above embodiments.
[0367] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable storage medium or transmitted as one or more instructions or codes on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0368] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.
Claims
1. A method for displaying a virtual social scene, the method comprising: The terminal displays a virtual object in the virtual social scene, where the virtual social scene is a virtual scene for the virtual object to perform social interaction, and different virtual objects correspond to different social accounts; When there are at least two virtual objects belonging to the same chat group and the chat group is in a public state, the terminal displays a permission setting control in a chat interface, wherein the distance between the virtual objects in the chat group is less than a distance threshold, and the chat group in the public state allows other virtual objects to join, and the permission setting control is used to set the group joining permission of the chat group; In response to a triggering operation on the permission setting control, the terminal sets the chat group to a private chat state, and the chat group in the private chat state does not allow other virtual objects to join.
2. The method according to claim 1, wherein: In response to the triggering operation on the permission setting control, the terminal sets the chat group to a private chat state, including: In response to a triggering operation on the permission setting control, the terminal sends a first voting notification to a social account corresponding to a virtual object in the chat group, where the first voting notification is used to initiate a vote on closing the group joining permission; In a case where it is determined based on the voting result sent by the social account corresponding to the virtual object in the chat group that closing the group joining permission is supported, the terminal sets the chat group to the private chat state.
3. The method according to claim 2, wherein: In the case where it is determined that closing the group joining permission is supported based on the voting result sent by the social account corresponding to the virtual object in the chat group, the terminal sets the chat group to the private chat state, including: Upon receiving a first voting result sent by a social account corresponding to each virtual object in the chat group, the terminal sets the chat group to the private chat state, and the first voting result indicates support for closing the group joining permission.
4. The method according to claim 3, wherein: The method further comprises: Upon receiving at least one second voting result sent by a social account corresponding to a virtual object in the chat group, the terminal displays a first prompt message, wherein the second voting result indicates opposition to closing the group joining permission, and the first prompt message is used to indicate that there is a social account that opposes closing the group joining permission; The terminal keeps the chat group in the public state; The terminal sets the permission setting control to a non-triggerable state; When the duration of the non-triggerable state reaches a first duration threshold, the terminal sets the permission setting control to a triggerable state.
5. The method according to claim 1, wherein: The method further comprises: In the private chat state, the terminal displays a leave control in the chat interface; In response to a triggering operation on the leaving control, the terminal controls the virtual object in the chat group to exit the chat group; When the number of virtual objects in the chat group is less than a number threshold, the terminal disbands the chat group.
6. The method according to claim 1, wherein: The method further comprises: When the chat group is switched from the public state to the private chat state, the terminal switches the permission setting control to a permission release control, where the permission release control is used to release the group joining permission; In response to the triggering operation of the permission release control, the terminal sends a message to the social group corresponding to the virtual object in the chat group. The second voting notification is used to initiate a vote on opening the group joining permission; When it is determined based on the voting result sent by the social account corresponding to the virtual object in the chat group that support for enabling the group joining permission is supported, the terminal sets the chat group to the public state and switches the permission release control to the permission setting control.
7. The method according to claim 6, wherein: The method of, in the case where it is determined that support for enabling the group joining permission is supported based on the voting result sent by the social account corresponding to the virtual object in the chat group, setting the chat group to the public state and switching the permission release control to the permission setting control includes: Upon receiving the third voting result sent by the social account corresponding to each virtual object in the chat group, the terminal sets the chat group to the public state, and the third voting result indicates support for enabling the group joining permission; The terminal switches the permission release control to the permission setting control.
8. The method according to claim 7, wherein: The method further comprises: Upon receiving a fourth voting result sent by a social account corresponding to at least one virtual object in the chat group, the terminal displays a second prompt message, wherein the fourth voting result indicates opposition to enabling the group joining permission, and the second prompt message is used to indicate that there is a social account that opposes enabling the group joining permission; The terminal keeps the chat group in the private chat state; The terminal sets the permission release control to an untriggerable state; When the duration of the non-triggerable state reaches a second duration threshold, the terminal sets the permission release control to a triggerable state.
9. The method according to claim 1, wherein: The permission setting control includes a public private chat setting control and a secret private chat setting control; In response to the triggering operation on the permission setting control, the terminal sets the chat group to a private chat state, including: In response to a triggering operation on the public private chat setting control, the terminal sets the chat group to a public private chat state, in which the virtual objects in the chat group are visible to other virtual objects outside the chat group; displays virtual obstacles around the virtual objects in the chat group; or, In response to a triggering operation on the secret private chat setting control, the terminal sets the chat group to a secret private chat state; displays the virtual objects in the chat group in a secret private chat scene, the secret private chat scene is independent of the virtual social scene, and the virtual objects in the secret private chat scene are invisible to the virtual objects in the virtual social scene.
10. The method according to claim 9, wherein: The method further comprises: When the chat group switches from the public state to the public private chat state, the terminal marks the virtual object in the chat group; When the chat group switches from the public private chat state to the public state, the terminal removes the mark of the virtual object in the chat group.
11. The method according to claim 10, wherein: When at least two virtual objects belong to the same chat group and the chat group is in a public state, the terminal displays a permission setting control in the chat interface, including: When the distance between the at least two virtual objects is less than the distance threshold and the at least two virtual objects are not marked, the terminal controls the at least two virtual objects to join the chat group in the public state; The terminal displays the permission setting control in the chat interface.
12. The method according to claim 9, wherein: When at least two virtual objects belong to the same chat group and the chat group is in a public state, the terminal displays a permission setting control in the chat interface, including: When the distance between the at least two virtual objects is less than the distance threshold and the line between the at least two virtual objects does not pass through a virtual obstacle, the terminal controls the at least two virtual objects to join the chat group in the public state; The terminal displays the permission setting control in the chat interface.
13. The method according to claim 9, wherein: The method further comprises: When the chat group is in the public private chat state, the terminal controls the virtual object in the chat group to move toward the boundary of the virtual obstacle; When the virtual object reaches the boundary of the virtual obstacle and continues to move outward, the terminal controls the virtual object to jump out of the virtual obstacle and exit the chat group.
14. The method according to claim 9, wherein: The method further comprises: When the chat group is in the public private chat state and receives a group joining request sent by other virtual objects outside the chat group, the terminal displays a third prompt message, where the third prompt message is used to indicate that there are other virtual objects applying to join the chat group; When the social accounts corresponding to the virtual objects in the chat group agree to the group joining request, the terminal controls the other virtual objects to join the chat group.
15. A display device for a virtual social scene, the device comprising: A first display module, used to display virtual objects in a virtual social scene, wherein the virtual social scene is a virtual scene for the virtual objects to interact socially, and different virtual objects correspond to different social accounts; A second display module is used to display a permission setting control in a chat interface when there are at least two virtual objects belonging to the same chat group and the chat group is in a public state, wherein the distance between the virtual objects in the chat group is less than a distance threshold, and the chat group in the public state allows other virtual objects to join, and the permission setting control is used to set the group joining permission of the chat group; The first setting module is used to set the chat group to a private chat state in response to a triggering operation on the permission setting control, and the chat group in the private chat state does not allow other virtual objects to join.
16. A terminal comprising a processor and a memory; the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement the display method of the virtual social scene according to any one of claims 1 to 14.
17. A computer-readable storage medium, wherein at least one instruction is stored in the computer-readable storage medium, and the at least one instruction is loaded and executed by a processor to implement the method for displaying a virtual social scene according to any one of claims 1 to 14.
18. A computer program product, comprising computer instructions, wherein the computer instructions are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for displaying a virtual social scene as described in any one of claims 1 to 14.
Citation Information
Patent Citations
Method and apparatus for adding user into group conversation
CN101378366A
Social scene configuration method and device
CN108959311A
Information processing method, device, client, service platform and storage medium
CN108965353A
User teaming method based on game co-playing platform, graphical user interface and terminal
CN109173255A
Group creation method and electronic equipment
CN110971423A
