Method, device, equipment, and program for displaying messages based on social scenes
The method enhances message indication in virtual scenes by automatically transitioning the observation range to the social object's location, addressing inefficiencies in existing message display systems.
Patent Information
- Application Number
- JP2024561649
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-09-26
- Filing Date
- 2023-09-15
- Publication Date
- 2026-01-20
- Estimated Expiration
- 2043-09-15
AI Technical Summary
The existing methods for displaying social messages in virtual scenes have a low degree of association between social activities and message content, resulting in inefficient message indication.
A method and device that display a message prompt element and positioning mark element to automatically transition the observation range to include the social object associated with the message, enhancing message indication efficiency.
Improves message display efficiency by automatically transitioning the observation range to the social object's location, reducing the need for manual user operations and minimizing computer data overhead.
Smart Images

Figure 0007802962000001 
Figure 0007802962000002 
Figure 0007802962000003
Abstract
Description
[Technical Field]
[0001] The present application relates to the technical fields of computers and the Internet, and more particularly to a method, apparatus, device, medium, and product for displaying a message based on a social scene.
[0002] This application claims priority to a Chinese patent application filed on September 26, 2022, bearing application number 202211176695.X and entitled "Method, device, equipment, medium, and product for displaying messages based on social scenes," the entire contents of which are incorporated herein by reference. [Background technology]
[0003] With the rapid development of computer technology and the diversification of terminal devices, electronic games are gradually being widely applied. Here, social games are one of the more popular games, in which a virtual scene is displayed on a terminal device, and users control social virtual objects in the virtual scene to engage in various social activities with the social virtual objects controlled by other users.
[0004] In the related technology, when a social message sent from a social account is received, prompt information corresponding to the social message is displayed on the current virtual scene screen, and the user can move the viewpoint of the scene screen according to the prompt information to find the social virtual object corresponding to the social account, and then realize virtual interactive interaction between the social virtual objects.
[0005] However, in the above related technology, the prompt information is only used to prompt the user that there is a social message sent from the social account, the degree of association between the social activity in the virtual scene and the message content is relatively low, the functional indication of the message is relatively single, and the indication efficiency of the message is relatively low. Summary of the Invention [Means for solving the problem]
[0006] The embodiments of the present application provide a method, device, equipment, medium, and product for displaying a message based on a social scene, which can improve the effectiveness of the message.
[0007] According to one aspect of an embodiment of the present application, there is provided a message display method based on a social scene, the method being executed by a terminal device, the method comprising: Displaying a scene screen corresponding to a virtual scene in a first observation range, the virtual scene including social virtual objects corresponding to a plurality of social accounts, and a first social object corresponding to a first social account logged into the terminal device; In response to receiving a social message sent from a second social account, displaying a message prompt element and an account identification element corresponding to the second social account, the message prompt element being used to trigger display of message content of the social message; In response to a second social object corresponding to the second social account being present in the virtual scene, displaying a positioning mark element at a designated position corresponding to the account identification element, the positioning mark element being used to indicate that the second social object is present in the virtual scene; and In response to receiving a trigger operation on the account identification element, the method includes a step of transitioning from the first observation range to a second observation range based on the positioning mark element and displaying a scene screen corresponding to the virtual scene, wherein the second social object is included in the virtual scene in the second observation range.
[0008] According to one aspect of an embodiment of the present application, there is provided a message display device based on a social scene, the device including: a first display module; and a second display module; The first display module is used to display a scene screen corresponding to a virtual scene in a first observation range, and the virtual scene includes social virtual objects corresponding to a plurality of social accounts, respectively, and includes a first social object corresponding to a first social account logged in by a terminal device; The first display module is further configured to, in response to receiving a social message sent from a second social account, display a message prompt element and an account identification element corresponding to the second social account, wherein the message prompt element is configured to trigger display of message content of the social message; The first display module is further adapted to display a positioning mark element at a designated position corresponding to the account identification element in response to a second social object corresponding to the second social account being present in the virtual scene, the positioning mark element being adapted to indicate that the second social object is present in the virtual scene; The second display module is used to, in response to receiving a trigger operation on the account identification element, transition from the first observation range to a second observation range based on the positioning mark element to display a scene screen corresponding to the virtual scene, wherein the second social object is included in the virtual scene in the second observation range.
[0009] According to one aspect of an embodiment of the present application, there is provided a terminal device, the terminal device including a processor and a memory, wherein a computer program is stored in the memory, the computer program is loaded and executed by the processor, thereby realizing a message display method based on a social scene described in any one of the embodiments of the present application.
[0010] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, the storage medium storing a computer program, the computer program being loaded and executed by a processor, thereby realizing a message display method based on a social scene as described in any one of the embodiments of the present application.
[0011] According to one aspect of the present invention, there is provided a computer program product, the computer program product including a computer program stored in a computer-readable storage medium, wherein a processor of a terminal device reads the computer program from the computer-readable storage medium, and the processor executes the computer program to cause the terminal device to perform the social scene-based message display method according to any one of the preceding embodiments. [Effects of the Invention]
[0012] The beneficial effects of the technical means provided by the embodiments of the present application include at least the following:
[0013] In the process of displaying a scene screen corresponding to a virtual scene in a first observation range, when a social message sent from a second social account is received, a message prompt element and an account identification element corresponding to the second social account are displayed. Furthermore, since a second social object corresponding to the second social account is present in the virtual scene, a positioning mark element is displayed at a specified position of the account identification element. When a trigger operation on the account identification element is received, the scene screen is displayed by transitioning from the first observation range to a second observation range including the second social object according to the positioning mark element. That is, when a social message sent from the social account of a social virtual object in the virtual scene is received, the positioning mark element is displayed to notify the user that the current social virtual object is present in the virtual scene. This realizes automatic transition of the current observation range to the observation range corresponding to the social virtual object according to the positioning mark element, improving the versatility of message indication functions and thereby improving message display efficiency. The automatic transition function also avoids manual user operation and eliminates the need to display other observation ranges that need to be displayed during the user's manual operation in addition to the current observation range and the observation range corresponding to the social virtual object, thereby reducing computer data overhead. [Brief explanation of the drawings]
[0014] [Figure 1] FIG. 1 is a schematic diagram of a message display method based on a social scene provided by one exemplary embodiment of the present application; [Figure 2] 1 is a schematic diagram of an implementation environment provided by one exemplary embodiment of the present application; [Figure 3] FIG. 1 is a structural block diagram of an electronic device provided by one exemplary embodiment of the present application. [Figure 4] 1 is a flowchart of a message display method based on a social scene provided by one exemplary embodiment of the present application; [Figure 5]1 is a flowchart of a message display method based on a social scene provided by another exemplary embodiment of the present application; [Figure 6] FIG. 10 is a schematic diagram of a message content interface provided by another exemplary embodiment of the present application. [Figure 7] 1 is a schematic diagram of a positioning mark element provided by one exemplary embodiment of the present application; [Figure 8] 1 is a flowchart of a message display method based on a social scene provided by another exemplary embodiment of the present application; [Figure 9] FIG. 2 is a schematic diagram of a message trigger element provided by one exemplary embodiment of the present application. [Figure 10] 1 is a schematic diagram of a message-carrying bar provided by one exemplary embodiment of the present application; [Figure 11] FIG. 10 is a schematic diagram of an element transformation display provided by another exemplary embodiment of the present application. [Figure 12] FIG. 1 is a non-transitory schematic diagram provided by one exemplary embodiment of the present application. [Figure 13] FIG. 10 is a schematic diagram of a viewing range transition provided by another exemplary embodiment of the present application. [Figure 14] FIG. 2 is a schematic diagram of an account content interface provided by one exemplary embodiment of the present application. [Figure 15] 1 is a flowchart of a message display method based on a social scene provided by another exemplary embodiment of the present application; [Figure 16] FIG. 2 is an interaction diagram of a message display method based on a social scene provided by one exemplary embodiment of the present application; [Figure 17] FIG. 1 is a structural diagram of a message display device based on a social scene provided by one exemplary embodiment of the present application. [Figure 18] FIG. 10 is a structural diagram of a message display device based on a social scene provided by another exemplary embodiment of the present application; [Figure 19] FIG. 2 is a structural block diagram of a terminal device provided by one exemplary embodiment of the present application; DETAILED DESCRIPTION OF THE INVENTION
[0015] In order to make the objectives, technical means and advantages of the present application clearer, the following describes the embodiments of the present application in more detail in conjunction with the drawings.
[0016] Described herein in detail are exemplary embodiments, examples of which are illustrated in the drawings. When the following description refers to the drawings, like numerals in different drawings represent the same or similar components unless otherwise noted. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as set forth in the appended claims.
[0017] First, a brief introduction to the nouns related to the embodiments of the present application will be given.
[0018] Virtual scene: refers to a virtual scene displayed (or provided) when an application program runs on a terminal device, and may also be called a virtual environment. The virtual scene may be a simulated environment of the real world, a semi-simulated, semi-fictional three-dimensional environment, or even a purely fictional three-dimensional environment. The virtual scene may be any one of a two-dimensional virtual scene, a two-and-a-half-dimensional virtual scene, and a three-dimensional virtual scene. In the following embodiments, the virtual scene is described as a two-dimensional virtual scene, but is not limited thereto.
[0019] Virtual object: refers to an object that can be moved in a virtual scene. The moveable object can be a virtual Go stone, a virtual person, a virtual animal, an animated person, etc., such as a person, an animal, a plant, an oil barrel, a wall, and a stone displayed in a virtual scene. Optionally, the virtual object is a three-dimensional solid model created based on skeletal animation techniques. Each virtual object has its own shape and volume in the virtual scene and occupies a certain space in the virtual scene.
[0020] First, referring to FIG. 1, a schematic diagram of a message display method based on a social scene provided in one exemplary embodiment of the present application is shown. As shown in FIG. 1, a scene screen 100 corresponding to a virtual scene is displayed in a first observation range. Here, the virtual scene includes social virtual objects corresponding to multiple social accounts, respectively. For example, the current scene screen 100 includes social virtual object 101, social virtual object 102, social virtual object 103, and social virtual object 104. There may also be a situation where there is no social virtual object corresponding to a social account in the virtual scene.
[0021] When a social message sent from a second social account is received, a message prompt element 110 and an account identification element 111 corresponding to the second social account are displayed in the virtual scene. Here, the message prompt element 110 is used to trigger the display of the message content of the social message. Furthermore, since a second social object 211 corresponding to the second social account is present in the virtual scene, a positioning mark element 113 is displayed at a specified position corresponding to the account identification element 111 to indicate that the current second social object 211 is present in the virtual scene.
[0022] Upon receiving a trigger operation on the account identification element 111, transition from the first observation range to the second observation range according to the positioning mark element 113, and display a scene screen 200 corresponding to the virtual scene in the second observation range, where a second social object 211 is present in the scene screen 200.
[0023] Next, an implementation environment of the present application will be introduced. Figure 2 is a schematic diagram of an implementation environment provided by one exemplary embodiment of the present application. The implementation environment includes a first terminal 210, a server 220, a second terminal 240, and a communication network 230, where the first terminal 210, the second terminal 240, and the server 220 are connected by the communication network 230.
[0024] A target application program 213 is installed and running on both the first terminal 210 and the second terminal 240, or the target application program 213 is running on the first terminal 210 and the associated application program 212 is running on the second terminal 240. The target application program 213 is an application program that supports a 2D virtual scene or a 3D virtual scene, and the target application program 213 is a program that has a message conversation function. The target application program 213 may be any one of a virtual reality application program, a 3D map program, a social game, an auto chess game, a strategy game, a puzzle game, a third-person shooter game (TPS), a first-person shooter game (FPS), a multiplayer online battle arena game (MOBA), and a multiplayer gun battle survival game.
[0025] The associated application program 212 is an application program that has a message conversation function, and the associated application program 212 is an application program that has an associated relationship with the target application program 213 .
[0026] 2, a target application program 213 is running on the first terminal 210, and an associated application program 212 is running on the second terminal 240 (the second terminal 240 may be implemented to run the target application program 213 and the associated application program 212 simultaneously, but this is not a limitation). The current target application program 213 is implemented as a social game, and the first terminal 210 displays a scene screen corresponding to a virtual scene in a first observation range, and the virtual scene includes a first social object corresponding to a first social account to which the first terminal 210 has logged in.
[0027] The association application program 212 is running on the second terminal 240. When the second terminal 240 receives a message sending operation, the second terminal 240 generates a message sending request and sends it to the server 220. Here, the message sending request includes the social message sent from the second social account and the location information of the second social object.
[0028] When the server 220 receives the message sending request sent from the second terminal 240, it determines that the current second social object is in the virtual scene according to the location information, and then generates an element display result according to the message sending request and sends the element display result to the first terminal 210. Here, the element display result includes a message prompt element corresponding to the second social account, an account identification element, and a positioning mark element used to indicate that the second social object is in the virtual scene.
[0029] Upon receiving the element display result, the first terminal 210 displays an account identification element and a message prompt element corresponding to the second social account on a scene screen corresponding to the first observation range according to the element display result. Here, the message prompt element is used to provide a message entry. That is, by triggering the message prompt element, the first terminal 210 displays social content corresponding to the social message superimposed on the scene screen corresponding to the first observation range. In addition, a positioning mark element is displayed at a specified position corresponding to the account identification element.
[0030] After receiving a trigger operation on the account identification element, the first terminal 210 generates a scene transition request and sends it to the server 220. Here, the scene transition request is used to request that the first observation range be moved to a second observation range where the second social object is located. After receiving the scene transition request, the server 220 determines the second observation range in which the second social object is located according to the position information of the second social object in the virtual scene, generates a scene transition result, and feeds it back to the first terminal 210. After receiving the scene transition result, the first terminal 210 displays a scene transition animation moving from the first observation range to the second observation range, and displays a scene screen corresponding to the second observation range. Here, the second social object is included in the scene screen corresponding to the second observation range.
[0031] The terminal device may be a variety of types of terminal device, such as a desktop computer, a laptop portable computer, a mobile phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III, MPEG Audio Layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, MPEG Audio Layer 4) player, a smart TV, and an intelligent vehicle-mounted device, and the embodiments of the present application are not limited thereto.
[0032] The server 220 may include at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Alternatively, the server 220 may perform the main computational tasks, and the terminal device 210 may perform the secondary computational tasks, or the server 220 may perform the secondary computational tasks, and the terminal device 210 may perform the main computational tasks, or a distributed computing architecture may be adopted between the server 220 and the terminal device 210 to perform computations cooperatively.
[0033] It is noteworthy that the server may be an independent physical server, a server cluster or a distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0034] Here, cloud technology refers to a type of hosting technology that integrates a series of resources such as hardware, software, and networks within a wide area network or a local area network to realize data calculation, storage, processing, and sharing.
[0035] In some embodiments, the server may also be implemented as a node in a blockchain system.
[0036] It is worth noting that, in this application, a prompt interface, a pop-up window, or voice prompt information may be displayed before and during the process of collecting user-related data. The prompt interface, pop-up window, or voice prompt information is used to notify the user that the relevant data is currently being collected. Therefore, in this application, the relevant step of collecting user-related data begins only after the user issues a confirmation operation on the prompt interface or pop-up window. Otherwise (i.e., when the user does not issue a confirmation operation on the prompt interface or pop-up window), the relevant step of collecting user-related data is terminated, i.e., the user-related data is not collected. In other words, all user data collected in this application (including account profile information of social accounts) will be processed strictly in accordance with the requirements of relevant national laws and regulations, and the informed consent or individual consent of the personal information subject will be collected only with the user's consent and authorization. Furthermore, subsequent data use and processing activities must be carried out within the scope of laws, regulations, and the authority of the personal information subjects, and the collection, use, and processing of relevant user data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.
[0037] 3 shows a structural block diagram of an electronic device provided by one exemplary embodiment of the present application. The electronic device 300 includes an operating system 320 and an application program 322.
[0038] Operating system 320 is the basic software that provides secure access to computer hardware for application programs 322 .
[0039] The application program 322 is an application program that supports virtual scenes. Optionally, the application program 322 is an application program that supports three-dimensional virtual scenes. The application program 322 may be any one of a virtual reality application program, a three-dimensional map program, a third-person shooter game (TPS), a first-person shooter game (FPS), a multiplayer online battle arena game (MOBA), a multiplayer gun battle survival game, a social game, a puzzle game, and a strategy game. The application program 322 may be a standalone version of the application program, for example, a standalone version of the game program or a network online version of the application program.
[0040] In conjunction with the above brief introduction, the present application provides a method for displaying messages based on social scenes. The method may be executed by a terminal device, or may be executed jointly by a server and a terminal device. In the embodiments of the present application, the method is executed by a terminal device as an example. As shown in Figure 4, the method includes the following steps:
[0041] Step 410: Display a scene screen corresponding to the virtual scene in a first viewing range.
[0042] Here, the virtual scene includes social virtual objects corresponding to the multiple social accounts, respectively, and includes a first social object corresponding to a first social account logged into the terminal device.
[0043] Schematically, the scene screen corresponding to the virtual scene is the operating interface of the target application program running on the terminal device.
[0044] In some embodiments, a social account refers to an account that a client of a target application program logs into.
[0045] Schematically, the first observation range refers to a viewpoint range in which the virtual scene is observed from the viewpoint of a first social object corresponding to the first social account logged in by the terminal device.
[0046] Optionally, the first social object perspective may be implemented as a first-person perspective, or the first social object perspective may be implemented as a third-person perspective, without limitation thereto.
[0047] Schematically, a social virtual object refers to a virtual object that can be controlled by a social account and can perform social activities in a virtual scene, where the social activities include at least one of conversation chat, voice transmission, video sharing, picture sharing, completing a designated task (for example, social object 1 and social object 2 jointly perform a "heart pose" motion, or social object a completes a designated dance), and publishing dynamic content, etc.
[0048] Optionally, social activities include, but are not limited to, those performed solely by a social account controlling a social virtual object, or those performed collaboratively by multiple social accounts each controlling a corresponding social virtual object.
[0049] In some embodiments, the first social account corresponds to at least one first social object in the virtual scene.
[0050] In some embodiments, some of the social virtual objects corresponding to each of the multiple social accounts included in the virtual scene are displayed in the scene screen corresponding to the first observation range, but there may be cases where some of the social virtual objects are not displayed in the virtual scene screen corresponding to the first observation range.
[0051] Optionally, the social virtual objects corresponding to each of the multiple social accounts are located at fixed positions in the virtual scene, or the social virtual objects corresponding to each of the multiple social accounts can move in the virtual scene.
[0052] Optionally, the location where the social virtual object is placed in the virtual scene can be controlled by the social account corresponding to each user, or the location where the social virtual object is placed in the virtual scene can be controlled by the first social account that the current terminal device is logged in to, but is not limited thereto.
[0053] Step 420: In response to receiving the social message sent from the second social account, display a message prompt element and an account identification element corresponding to the second social account.
[0054] Here, the message prompt element is used to trigger the display of the message content of the social message.
[0055] Schematically, the social message refers to a message sent from the second social account to perform account interaction with the first social account, where the account interaction includes controlling the social virtual object to perform social activities in step 410 or performing interaction only between the first social account and the second social account, and the interactive content includes at least one of activities such as chatting, sending voice, sharing videos, sharing pictures, and publishing dynamic content.
[0056] It is worth noting that controlling the above social virtual objects to perform social activities and performing interactions between social accounts belong to two different activity types.
[0057] Optionally, the social message is a message sent by the second social account via another social platform, such as an associated application program having an association relationship with the target application program, or a sub-program belonging to the target application program, or the social message is a message sent by the second social account via the target application program.
[0058] In some embodiments, the message prompt element is used to provide a message entry and connect a scene screen corresponding to a virtual scene with a message interface corresponding to a social message, and triggering the message prompt element displays message content corresponding to the social message.
[0059] Optionally, the display manner of the message content includes at least one of the following multiple manners:
[0060] 1. After triggering the message prompt element, jump from the scene screen corresponding to the virtual scene to the message content interface corresponding to the social message, that is, by triggering the message prompt element, jump between different interfaces.
[0061] 2. After triggering the message prompt element, the message content interface corresponding to the social message is superimposed on the scene screen corresponding to the virtual scene, i.e., triggering the message prompt element realizes the superimposition display of different interfaces.
[0062] It should be noted that the above display manner of the message content is merely a schematic example, and the embodiments of the present application are not limited thereto.
[0063] Optionally, the message prompt element includes at least one of element contents such as social message quantity, social message type (text / picture / audio), and message sending time.
[0064] Schematically, when a social message sent from the second social account is received for the first time, a message prompt element and an account identification element corresponding to the second social account are displayed on the scene screen, and when a social message sent from the second social account is subsequently received, the element content of the message prompt element is changed accordingly to indicate that a new social message has now been sent by the second social account.
[0065] Here, in the above process of receiving social messages sent from the second social account, the element content of the message prompt element is immediately updated and displayed every time the second social account sends a social message, or the element content of the message prompt element is updated and displayed at each specified time interval by receiving social messages sent from the second social account.
[0066] In some embodiments, the account identification element is used to represent identity information corresponding to the social accounts of currently received and unread social messages, whereby when receiving social messages sent from different social accounts, account identification elements corresponding to the multiple social accounts are displayed.
[0067] Optionally, after a trigger operation on the specified message prompt information, reading the specified social message will cancel the display of the account identification element corresponding to the social account sending the social message and the message prompt element (or if a positioning mark element is also present), or after a trigger operation on the specified message prompt information, reading the specified social message will suspend the display of the account identification element corresponding to the social account sending the social message, and only the display of the message prompt element will be canceled (if a positioning mark element is also present, its display will also be suspended).
[0068] Step 430: In response to a second social object corresponding to the second social account being present in the virtual scene, display a positioning mark element at a specified position corresponding to the account identification element.
[0069] Here, the positioning mark element is used to indicate that the second social object is in the virtual scene.
[0070] Schematically, the positioning mark element is used to indicate that the current second social object is a social virtual object in a virtual scene, where the second social object is in a scene screen corresponding to the first observation range, or the second social object is outside the scene screen corresponding to the first observation range, but is not limited thereto.
[0071] Selectably, after displaying a message prompt element and an account identification element corresponding to the second social account, a positioning mark element is started to be displayed at a position corresponding to the account identification element, or after receiving a social message sent from the second social account, a message prompt element, an account identification element, and a positioning mark element corresponding to the second social account are simultaneously displayed.
[0072] That is, step 420 and step 430 may be performed in reverse order, or step 420 and step 430 may be performed synchronously, and there is no limitation thereto.
[0073] Optionally, the display manner of the positioning mark element includes at least one of the following multiple manners:
[0074] 1. The positioning mark element is displayed at one fixed position on the account identification element, that is, in the current situation, the positioning mark element is displayed fixedly at one position.
[0075] 2. According to the relative position of the second social object located on the scene screen corresponding to the current first observation range, the account identification element displays a positioning mark element at a position corresponding to the direction of the relative position. For example, if the second social object is located at a position in the east direction of the scene screen corresponding to the first observation range, the positioning mark element is displayed at a specified position to the right of the account identification element. Also, for example, if the second social object is located at a position in the north direction of the scene screen corresponding to the first observation range, the positioning mark element is displayed at a specified position above the account identification element.
[0076] 3. Display a positioning mark element at a specified position of the account identification element according to the relative position of the second social object located on the scene screen corresponding to the current first observation range. The positioning mark element also has an element display content, which is used to indicate the relative position. For example, if the second social object is located at a position in the east direction of the scene screen corresponding to the first observation range, display a positioning mark element at a fixed position of the account identification element, and display a direction indicating element in the positioning mark element. The direction indicating element is oriented to the right direction of the scene screen corresponding to the current first observation range, indicating that the second social object is located at a position in that direction.
[0077] 4. Obtain the distance between the position of the second social object in the virtual scene and the scene screen corresponding to the current first observation range, and display the positioning mark element at the specified position of the account identification element with the specified element display size according to the distance. For example, when the distance reaches a first distance threshold, display the positioning mark element with the first display size, and when the distance reaches a second distance threshold (the second distance threshold is greater than the first distance threshold), display the positioning mark element with the second display size (the second display size is smaller than the first display size). That is, in this situation, the farther the distance, the smaller the element display size.
[0078] It should be noted that the above display manner of the positioning mark elements is merely a schematic example, and the embodiments of the present application are not limited thereto.
[0079] Here, in the situation 3 above, the element display content includes at least one of different types of element content, such as a directional element (e.g., an arrow mark), a text element (e.g., displaying text elements such as "east," "south," "west," and "north"), and a color element (e.g., the east side is displayed as red and the north side is displayed as yellow), but is not limited thereto.
[0080] Alternatively, the positioning mark element may be displayed continuously without changing. That is, when a social message is received, the display manner of the positioning mark element may be determined solely based on the current location of the second social object, and the display state of the positioning mark element may be changed according to the change in the location of the second social object in the virtual scene. For example, when the social message is received, if the second social object is located in the east direction of the first observation range, the positioning mark element may be displayed to the right of the account identification element. When the second social object moves in the west direction of the first observation range before triggering the account identification element, an element movement animation in which the positioning mark element moves from the right to the left of the account identification element may be displayed.
[0081] Step 440: In response to receiving a trigger operation on the account identification element, transition from the first observation range to the second observation range based on the positioning mark element to display a scene screen corresponding to the virtual scene.
[0082] Here, a second social object is included in the virtual scene in the second observation range.
[0083] In some embodiments, the second observation range refers to a viewpoint range in which the terminal device observes the virtual scene from a first social object viewpoint corresponding to the first social account logged in.
[0084] In one selectable situation, the second observation scope is an observation scope centered on the second social object.
[0085] In one selectable situation, when receiving social messages respectively sent from multiple social accounts, the second observation scope is an observation scope that simultaneously includes social virtual objects respectively corresponding to the multiple social accounts.
[0086] Optionally, the second observation range and the first observation range may belong to two completely different observation ranges, or the second observation range and the first observation range may have a partial overlapping range, but this is not limited thereto.
[0087] Optionally, the viewpoint focal length corresponding to the second observation range may be the same as the viewpoint focal length corresponding to the first observation range, i.e., the process of transitioning from the first observation range to the second observation range involves only a rotation in the direction of the viewpoint, or the viewpoint focal length corresponding to the second observation range may be different from the viewpoint focal length corresponding to the first observation range, i.e., the process of transitioning from the first observation range to the second observation range involves not only a rotation in the direction of the viewpoint but also a change in the focal length of the viewpoint (e.g., a longer or shorter focal length), but is not limited thereto.
[0088] In some embodiments, the scene screen corresponding to the virtual scene displayed in the second observation range includes only the second social object, or includes not only the second social object but also other social virtual objects (including social virtual objects within the first observation range or outside the first observation range), but is not limited thereto.
[0089] Optionally, realizing the shifting of the observation range based on the positioning mark element includes at least one of the following multiple ways:
[0090] 1. Only when the positioning mark element triggers the displayed account identification element, can the animation of the range transition from the first observation range be realized. That is, the positioning mark element is used to indicate the feasibility of the observation range transition.
[0091] 2. When the positioning mark element triggers the displayed account identification element, the positioning mark element also has a moving animation during the process of transition from the first observation range to the second observation range, that is, the transition process of the observation range moves along with the movement of the positioning mark element, and the transition direction of the observation range is consistent with the movement direction of the positioning mark element, so that in the current situation, the positioning mark element plays the role of guiding the transition of the observation range.
[0092] In some embodiments, in response to receiving a trigger operation on the positioning mark element, a transition from a first observation range to a second observation range based on the positioning mark element is performed to display a scene screen corresponding to the virtual scene.
[0093] In some embodiments, in response to receiving a trigger operation on the account identification element and / or the positioning mark element, a transition from the first observation range to the second observation range is performed based on the positioning mark element to display a scene screen corresponding to the virtual scene.
[0094] It should be noted that the above manner in which the positioning mark element realizes the observation range transition and the above manner in which the observation range transition is triggered are merely schematic examples, and the embodiments of the present application are not limited in this regard.
[0095] As described above, in the social scene-based message display method provided in the embodiment of the present application, during the process of displaying a scene screen corresponding to a virtual scene in a first observation range, when a social message sent from a second social account is received, a message prompt element and an account identification element corresponding to the second social account are displayed. Furthermore, since a second social object corresponding to the second social account is present in the virtual scene, a positioning mark element is displayed at a specified position of the account identification element. When a trigger operation on the account identification element is received, the first observation range is transitioned to a second observation range including the second social object according to the positioning mark element, and the scene screen is displayed. That is, when a social message sent from the social account of a social virtual object in the virtual scene is received, the positioning mark element is displayed to notify the user that the current social virtual object is present in the virtual scene. This realizes automatic transition of the current observation range to the observation range corresponding to the social virtual object according to the positioning mark element, improving the versatility of message indication functions and thereby improving message display efficiency. The automatic transition function also avoids manual user operation, eliminating the need to display other observation ranges that need to be displayed during the user's manual operation process in addition to the current observation range and the observation range corresponding to the social virtual object, thereby reducing computer data overhead.
[0096] In one alternative embodiment, different display modes of the positioning mark element will be specifically described. Referring to FIG. 5, a schematic diagram of a message display method based on a social scene provided in one exemplary embodiment of the present application is shown. That is, step 430 further includes step 431 and step 432, or step 430 further includes step 430a, step 430b, step 430c, and step 430d, and further includes step 420a after step 420. As shown in FIG. 5, the method includes the following steps:
[0097] Step 420a: In response to receiving a trigger operation on the message prompt element, display a message content interface.
[0098] Here, the message content interface includes message content corresponding to the social message.
[0099] Schematically, the interface functions of the message content interface include at least one of the following three different functions:
[0100] 1. The message interface content is used only to display message content corresponding to the social message.
[0101] 2. The message interface content not only displays the message content corresponding to the social message, but also provides an account interaction function, that is, the first social account can interact with the second social account through the message interface content.
[0102] 3. The message interface content not only displays the message content corresponding to the social message, but also provides an interactive link, that is, the first social account can not only check the message content corresponding to the social message in the message content interface, but also trigger the message content interface to jump to the account interactive interface and interact with the second social account in the account interactive interface.
[0103] A trigger operation can be selectively performed on a message prompt element corresponding to only one associated account at a time, and a social content interface corresponding to the associated account can be displayed, or multiple content display interfaces can be simultaneously obtained by sequentially and consecutively performing trigger operations on message prompt elements corresponding to multiple associated accounts.
[0104] Here, the associated account refers to an account that has an association relationship with the first social account, that is, a social virtual object corresponding to the associated account is located in the virtual scene (at this time, the associated account corresponds to the social account), or a social virtual object corresponding to the associated account is located outside the virtual scene.
[0105] In some embodiments, there may be two situations in which a social virtual object corresponding to an associated account is located outside the virtual scene:
[0106] 1. If the social virtual object corresponding to the associated account is in a non-logged-in state (e.g., hidden, uncheckable, etc.), and if the social virtual object corresponding to the associated account is in a logged-in state, the social virtual object corresponding to the associated account can be checked in the virtual scene.
[0107] 2. The social virtual object corresponding to the associated account is located in another virtual scene, which may be a virtual scene provided by the target application program that is different from the virtual scene, or may be a virtual scene provided by an application program other than the target application program.
[0108] As can be appreciated, an "associated account" is a broader concept than a "social account."
[0109] Optionally, the message content interface may include social messages sent from a single associated account, or the message content interface may include social messages sent from multiple associated accounts, but is not limited to this.
[0110] Schematically, referring to FIG. 6, a schematic diagram of a message content interface provided in one exemplary embodiment of the present application is shown. As shown in FIG. 6, a scene screen 600 corresponding to a virtual scene is currently displayed in a first observation range. After receiving a social message sent from social account a, a message prompt element 601 and an account prompt element 602 corresponding to social account a are displayed in the scene screen 600. When a trigger operation of the message prompt element 601 is received, a message content interface 610 is superimposed on the scene screen 600. Here, the message content interface 610 includes message content 611 corresponding to the social message sent by social account a.
[0111] In some embodiments, in response to receiving trigger operations on the plurality of message prompt elements in order and consecutively, a trigger order corresponding to the plurality of message prompt elements is determined, and a message content interface corresponding to a first trigger operation based on the trigger order is displayed, where the n+1th message content interface is concatenated and hidden after the nth message content interface, where n≧1 and n is an integer. In response to receiving a swipe operation on the nth message content interface, the n+1th message content interface is displayed.
[0112] In this embodiment, when message prompt elements corresponding to multiple associated accounts are displayed on a scene screen, if trigger operations are performed sequentially and consecutively on the message prompt elements corresponding to the multiple associated accounts, the trigger order corresponding to the multiple message prompt elements is determined according to the order of the trigger operations. First, a message content interface corresponding to the message prompt element corresponding to the first trigger operation in the trigger order is displayed superimposed on the scene screen. At this time, the message content interface corresponding to the message prompt element corresponding to the second trigger operation in the trigger order is connected to and hidden behind the first message content interface. When a swipe operation on the first message content interface is received, the second message content interface is displayed, and the message content interface corresponding to the message prompt element corresponding to the third trigger operation in the trigger order is hidden behind the second message content interface. That is, by displaying the first message content interface after receiving sequential and consecutive trigger operations, multiple message content interfaces can be checked by simply swiping the message content interface.
[0113] Several different methods for displaying the positioning mark elements will be specifically described below.
[0114] As the first type, the positioning mark element is permanently displayed at a fixed position on the account identification element.
[0115] Schematically, if a second social object corresponding to a second social account exists in the virtual scene, a positioning mark element is persistently displayed at a specified fixed position of the message prompt element.
[0116] Schematically, referring to Fig. 7, a schematic diagram of a positioning mark element provided in one exemplary embodiment of the present application is shown. As shown in Fig. 7, a scene screen 700 corresponding to a virtual scene is currently displayed in a first observation range. After receiving a social message sent from a second social account, an account identification element 701 corresponding to the second social account and a message prompt element 702 are displayed on the current scene screen 700. In addition, since a second social object corresponding to the second social account is located in the virtual scene, a positioning mark element 703 is displayed in the lower right corner of the account identification element 701.
[0117] The second type of positioning mark element includes a direction indicator element.
[0118] Step 431: Obtain a target position in the virtual scene of the second social object.
[0119] Schematically, when a trigger operation on a message prompt element is received, location information of the second social object in the virtual scene is obtained, the location information including at least one of location coordinates, location direction, and location distance, etc.
[0120] Here, the position coordinate refers to the coordinate point where the second social object is located in the world coordinate system, which is included in the virtual scene. The position direction refers to the relative position where the second social object is located on the scene screen corresponding to the current first observation range. The position distance refers to the distance between the position where the second social object is located and the center position on the scene screen corresponding to the current first observation range.
[0121] Optionally, the method for determining the target position includes at least one of the following methods:
[0122] 1. Since the social virtual object is located at a fixed position in the virtual scene, a file containing location data corresponding to each social virtual object in the virtual scene is stored in the server (or locally in the terminal device), and after receiving a trigger operation on the message prompt information, the location data corresponding to the second social object is obtained from the file, and the target location of the second social object is further obtained.
[0123] 2. The social account can control the movement of the social virtual object in the virtual scene, and during the movement of the social virtual object, generate and send location data in real time to the server, and after receiving a trigger operation on the message prompt information, obtain the most recently generated location data from the server, thereby obtaining the target location of the second social object.
[0124] 3. The social account can control the social virtual object to move in the virtual scene, and after receiving the trigger operation on the message prompt information, obtain the location data of the second social object located in the virtual scene at the current time, thereby obtaining the target location of the second social object.
[0125] It should be noted that the above determination manner for the target position is merely an exemplary example, and the embodiments of the present application are not limited thereto.
[0126] Step 432: Based on the target position, display a positioning mark element at a designated position corresponding to the account identification element.
[0127] Here, the positioning mark element includes a direction indicating element, which is used to indicate the azimuth relationship between the target position and the scene screen corresponding to the virtual scene displayed in the first observation range.
[0128] Schematically, the direction indicating element is used to indicate the specific direction of the current second social object on the scene screen.
[0129] Optionally, during the process of displaying the directional element, if the position of the second social object in the virtual scene changes, the directional element remains unchanged, or, during the process of displaying the directional element, if the position of the second social object in the virtual scene changes, the directional element changes according to the real-time position of the second social object.
[0130] In this embodiment, the positioning mark element is implemented as an arrow element. After obtaining the target position where the second social object is to be placed in the virtual scene, the relative direction of the target position relative to the scene screen corresponding to the current first observation range is determined, and the pointing direction of the arrow element is determined. Therefore, in the process of displaying the positioning mark element at the specified position of the account identification element, the positioning mark element includes the arrow element and points in the direction corresponding to the target position.
[0131] The third type is to display an area indication element in the positioning mark element.
[0132] Step 430a: Obtain a target position in the virtual scene of the second social object.
[0133] The contents of the target position in step 430a have already been described in detail in step 431 above, so a duplicate description will be omitted here.
[0134] Step 430b: Obtain a segmentation result corresponding to the virtual scene.
[0135] Here, the segmentation result includes a plurality of candidate scene regions corresponding to the virtual scene.
[0136] Alternatively, the region division result may refer to a plurality of candidate scene regions obtained by dividing the scene according to a pre-specified division rule, or the region division result may refer to a plurality of candidate scene regions obtained by dividing the scene according to the user's actual needs.
[0137] In some embodiments, the candidate scene regions belong to different regions.
[0138] In one example, the virtual scene is divided into multiple candidate scene regions by a specified region quantity, i.e., each candidate scene region corresponds to the same region area, for example, dividing the virtual scene into eight regions of the same size results in eight candidate scene regions of the same region area as the region division result.
[0139] In one example, the virtual scene is divided according to area type, i.e., each candidate scene area corresponds to a different area type, for example, the virtual scene is divided into "living area," "leisure area," "entertainment area," and "residential area."
[0140] In one example, the virtual scene is divided according to region representation elements, i.e., in each candidate scene region, different region representation elements are included, for example, the virtual scene is divided into "grassland" (grass element), "sea of flowers" (flower element), and "desert" (sand element).
[0141] Step 430c: Based on the target position, obtain a target scene area corresponding to the target position from a plurality of candidate scene areas.
[0142] Schematically, a target position in a virtual scene of a second social object is obtained, and a region segmentation result corresponding to the virtual scene is obtained, and according to the target position, a candidate scene area that matches the region target position from the region segmentation result is selected as a target scene area.
[0143] Step 430d: Display a positioning mark element at a designated position corresponding to the account identification element based on the target scene region.
[0144] Here, the positioning mark elements include area indication elements corresponding to the target scene area.
[0145] Schematically, after obtaining the region segmentation result corresponding to the virtual scene, each candidate scene region is marked with a different region indicating element, and a positioning mark element is displayed at a designated position of an account prompt element corresponding to the second social account, where the positioning mark element includes a region indicating element corresponding to the target scene region.
[0146] The fourth type displays the positioning mark elements with different element display sizes.
[0147] In some embodiments, the element display size of the positioning mark element correlates to the distance between the second social object and the scene view corresponding to the virtual scene displayed in the first observation range.
[0148] Schematically, the target position of the second social object in the virtual scene is obtained, and the distance between the target position and the scene screen corresponding to the virtual scene displayed in the first observation range is obtained. In addition, multiple distance thresholds are preset, and each distance threshold corresponds to a different element display size, so that when the distance reaches a certain distance threshold, the positioning mark element is displayed at the element display size corresponding to the distance threshold.
[0149] In this embodiment, the greater the distance, the smaller the element display size.
[0150] As described above, in the social scene-based message display method provided in the embodiment of the present application, during the process of displaying a scene screen corresponding to a virtual scene in a first observation range, when a social message sent from a second social account is received, a message prompt element and an account identification element corresponding to the second social account are displayed. Furthermore, since a second social object corresponding to the second social account is present in the virtual scene, a positioning mark element is displayed at a specified position of the account identification element. When a trigger operation on the account identification element is received, the first observation range is transitioned to a second observation range including the second social object according to the positioning mark element, and the scene screen is displayed. That is, when a social message sent from the social account of a social virtual object in the virtual scene is received, the positioning mark element is displayed to notify the user that the current social virtual object is present in the virtual scene. This realizes automatic transition of the current observation range to the observation range corresponding to the social virtual object according to the positioning mark element, thereby improving the versatility of message indication functions. This improves message display efficiency, and the automatic transition function also avoids manual user operation and reduces computer data overhead.
[0151] In this embodiment, by displaying a direction indicating element in the positioning mark element, it is possible to indicate that the social virtual object is located in the virtual scene and also to inform the user of its specific location direction, thereby improving the efficiency and diversity of element display.
[0152] In this embodiment, by displaying an area indication element in the positioning mark element, it is possible to indicate that the social virtual object is located in the virtual scene, and also to inform the user of the area range in which it is specifically located, thereby improving the efficiency and diversity of element display.
[0153] In this embodiment, the element display size of the positioning mark element is determined according to the distance between the position of the second social object and the scene screen corresponding to the first observation range, so that the user can judge the distance of the second social object according to different element display sizes, thereby improving the efficiency and variety of element display.
[0154] In this embodiment, a trigger operation on the message prompt element can display the message content interface, and realize the function of displaying the message content with one tap, thereby improving the functionality of message display.
[0155] In this embodiment, the method of receiving multiple connected and hidden message content interfaces is used, and after multiple trigger operations, one-tap switching between multiple message content interfaces can be achieved by simply swiping the interface, thereby improving the efficiency of human-machine interaction.
[0156] In one optional embodiment, referring to FIG. 8, it schematically shows a flowchart of a message display method based on a social scene provided in one exemplary embodiment of the present application, and as shown in FIG. 8, the method includes the following steps:
[0157] Step 810: Display a scene screen corresponding to the virtual scene in a first viewing range.
[0158] Here, the virtual scene includes social virtual objects corresponding to the multiple social accounts, respectively, and includes a first social object corresponding to a first social account logged into the terminal device.
[0159] Here, the virtual scene includes social virtual objects corresponding to the multiple social accounts, respectively, and includes a first social object corresponding to a first social account logged into the terminal device.
[0160] Schematically, the first observation range refers to a viewpoint range in which the virtual scene is observed from a third-person viewpoint corresponding to a first social object corresponding to a first social account logged into the terminal device.
[0161] Optionally, the first social object is located within a scene screen corresponding to the virtual scene currently being displayed in the first observation range, or the first social object is located outside of a scene screen corresponding to the virtual scene currently being displayed in the first observation range, but this is not limiting.
[0162] In some embodiments, in a virtual scene, each social account can control at least one social virtual object.
[0163] Optionally, each social virtual object in the virtual scene may have a social virtual object with the same virtual image, or each social virtual object in the virtual scene may have a different virtual image, but this is not a limitation.
[0164] Optionally, any social virtual object corresponding to a social account may be in the virtual scene, or alternatively, the social virtual object corresponding to the social account may be outside of the virtual scene, but this is not limiting.
[0165] Step 820: The message trigger element is displayed.
[0166] Schematically, a message trigger element is used to indicate that a social message sent from a social account can be received in the current virtual scene.
[0167] Optionally, the message trigger element is a fixed display element that is persistently displayed in the virtual scene, i.e., the message trigger element is displayed in the scene screen corresponding to the virtual scene regardless of whether a social message sent from a social account is received, or the message trigger element is displayed in the scene screen corresponding to the virtual scene after the first time a social message sent from a social account is received, but this is not limited thereto.
[0168] In the above situation where the message trigger element is displayed after a social message is received, one possible solution is to continuously display the message trigger element after the first display regardless of whether a subsequent social message is received, or to cancel the display of the message trigger element if no subsequent social message is received within a specified time range after the first display of the message trigger element, and then display the message trigger element again after the next social message is received.
[0169] Optionally, a social message sent from a single social account may correspond to one independent message trigger element, or social messages sent from multiple social accounts may each correspond to the same message trigger element, but this is not limiting.
[0170] In this embodiment, the message trigger element is displayed at a fixed position on the scene screen corresponding to the virtual scene.
[0171] Schematically, referring to Fig. 9, a schematic diagram of a message trigger element provided in one exemplary embodiment of the present application is shown. As shown in Fig. 9, a scene screen 900 corresponding to a virtual scene is currently displayed in a first observation range, and a message trigger element 910 is fixedly displayed on the scene screen 900.
[0172] Step 830: In response to receiving the social message sent from the second social account, display a message quantity element in a designated area of the message trigger element.
[0173] Here, the message quantity element is used to indicate the total message quantity of social messages currently being received that have been sent from associated accounts, and the associated accounts are accounts that have an association relationship with the first social account.
[0174] In some examples, an associated account refers to an account that has a direct association relationship with the first social account, where the associated account can directly interact with the first social account.
[0175] Schematically, the associated account is an account that can perform account interaction with the first social account, that is, the social virtual object corresponding to the associated account may be in the virtual scene (the associated account is a social account), or the social virtual object corresponding to the associated account may be outside the virtual scene, without limitation.
[0176] In some embodiments, an associated account refers to an account that has an indirect association relationship with the first social account. An indirect association relationship refers to a direct association relationship between the associated account and the associated account of the first social account. An associated account of the first social account refers to an account that has the same characteristics as the first social account. For example, the associated account and the first social account have the same owner, or the associated account and the first social account log in to the same terminal device, or the associated account and the first social account have a binding relationship. Schematically, an associated account is an account that can interact with the associated account of the first social account, that is, the associated account may not have a corresponding social virtual object.
[0177] If the associated account refers to an account that has an indirect association relationship with the first social account, when the user checks the social messages sent from the associated account, the user can jump to the message content interface provided by the application program logged in to the associated account of the first social account to check.
[0178] In one possible scenario, the social message sent from the second social account is the first social message currently received and is unread, so a message quantity element is displayed in the designated area of the message trigger element, where the number mark in the message quantity element is used to indicate the total message quantity of the currently received social messages (i.e., the total message quantity of the social messages sent from the second social account).
[0179] 9, when a social message sent from the second social account is received for the first time and the second social account has sent 16 social messages, a message quantity element 920 is displayed in the upper right corner of the message trigger element 910. Here, the number mark included in the message quantity element 920 is "16," indicating that the total number of social messages currently received is 16.
[0180] In one possible scenario, if you are currently receiving social messages from other associated accounts, i.e., if you are already displaying a message quantity element in the designated area of the current message trigger element, when you receive a social message from a second social account, the message quantity element will be updated and displayed, and the updated number mark will include the total number of social messages you have previously received and the social messages sent from the second social account. For example, if you have currently received 10 social messages, the message quantity element will be displayed as "10." After receiving five social messages from the second social account, the message quantity element will be updated and displayed as "15."
[0181] In this implementation, after reading social messages sent from a specified associated account, the message quantity element is updated and displayed, and the message quantity corresponding to the social messages read is subtracted from the number mark in the updated message quantity element. For example, if the message quantity element is currently displayed as "20" and you read three social messages sent from associated account A, the message quantity element is updated and displayed as "17."
[0182] Step 840: In response to receiving a trigger operation on the message trigger element, a message loading bar is displayed.
[0183] Here, the message loading bar is used to indicate that a social message sent from an associated account has been received, and the message loading bar includes a message prompt element, an account identification element, and a positioning mark element corresponding to two social accounts.
[0184] Schematically, the message loading bar is used to load and display a message prompt element and an account identification element corresponding to at least one associated account that sends a social message, and if a social virtual object corresponding to the associated account exists in the virtual scene, a positioning mark element is displayed at a specified position of the account identification element corresponding to the associated account; if not in the virtual scene, a positioning mark element is not displayed.
[0185] In one selectable situation, when a click operation on a message trigger element is received as a trigger operation, a message-equipped bar is displayed on a scene screen corresponding to the virtual scene.
[0186] In one selectable situation, when a drag operation to a message trigger element is received as a trigger operation, a message-equipped bar is displayed on a scene screen corresponding to the virtual scene.
[0187] Optionally, the message-carrying bar is displayed on the scene screen corresponding to the virtual scene with a fixed display length, or the display length of the message-carrying bar increases with an increase in the number of associated accounts sending social messages (or decreases with the cancellation of the display of the associated accounts corresponding to the read social messages after reading the social messages). That is, in this situation, the display length of the message-carrying bar correlates with the number of associated accounts corresponding to currently received and unread social messages.
[0188] Schematically, referring to FIG. 10, a schematic diagram of a message-carrying bar provided in an exemplary embodiment of the present application is shown. As shown in FIG. 10, a scene screen 1000 corresponding to a virtual scene is currently displayed in a first observation range. A message trigger element (not displayed) is displayed in the scene screen 1000. When a trigger operation on the message trigger element is received, the message-carrying bar 1010 is gradually displayed. As social messages sent from multiple associated accounts are received, the display length of the message-carrying bar 1010 gradually increases (from fully displaying the account identification elements, message prompt elements, and positioning mark elements corresponding to two associated accounts, to fully displaying the account identification elements and message prompt elements corresponding to four associated accounts, and also displaying the positioning mark elements 1003 and 1004 within the specified ranges of the account identification element 1001 and the account identification element 1002, respectively, indicating that social virtual objects corresponding to the associated accounts corresponding to the account identification element 1001 and the account identification element 1002, respectively, are present in the virtual scene).
[0189] In one possible situation, if a trigger operation is performed on a displayed message-carrying bar, the message trigger bar can be returned and displayed as a message trigger element.
[0190] 11, a schematic diagram of an element transformation display provided by one exemplary embodiment of the present application is shown. As shown in Fig. 11, a scene screen 1100 corresponding to a virtual scene is currently displayed in a first observation range. A message-mounted bar 1110 is displayed in the scene screen 1100, and when a trigger operation on the message-mounted bar 1110 is received, the message-mounted bar 1110 is changed again to a message trigger element 1120 and displayed.
[0191] In this embodiment, when the second social account receives an instruction to display a message prompt element and an account identification element corresponding to the second social account in the message loading bar, and a second social object corresponding to the second social account is present in the virtual scene, the account identification element is displayed at a specified position of the account identification element corresponding to the second social account.
[0192] Step 850: Receive a social message sent from a third social account, and in response to the number of account identification elements displayed in the message loading bar reaching a quantity threshold, hide the account identification element corresponding to the third social account.
[0193] In this embodiment, an example will be described in which the display length of the message-carrying bar can be changed.
[0194] In one possible implementation, there is a quantity threshold for the number of account identification elements simultaneously displayed in the message-carrying bar, and after the element number of the account identification elements displayed in the message-carrying bar reaches the quantity threshold, after a subsequent social message sent from the associated account is received, the related elements (account identification elements and message prompt elements) corresponding to the associated account are hidden. In another possible situation, after the element number of the account identification elements displayed in the message-carrying bar reaches the quantity threshold, after a subsequent social message sent from the associated account is received, the related elements (account identification elements and message prompt elements) of the associated account corresponding to the first received social message are hidden.
[0195] In this embodiment, after receiving a social message sent from a third social account, the number of account identification elements displayed in the current message loading bar has reached a quantity threshold (in this embodiment, the quantity threshold is "4"), so the account identification element and message prompt element corresponding to the third social account are hidden. If a third social object corresponding to the third social account is present in the virtual scene, the positioning mark element corresponding to the third social account is also hidden.
[0196] In some examples, in response to receiving a drag operation to the message-bearing bar, an extension region corresponding to the message-bearing bar is displayed, the extension region including a message prompt element and an account identification element corresponding to the third social account.
[0197] In this embodiment, although the account identification element corresponding to the third social account is currently hidden, in reality, the account identification element corresponding to the third social account is located in the extension area of the message-carrying bar. Therefore, a drag operation can be performed on the message-carrying bar, and the extension area of the message-carrying bar can be displayed by the drag operation, i.e., the account identification element corresponding to the third social account located in the extension area can be displayed.
[0198] Schematically, referring to FIG. 12 , a hidden schematic diagram provided by one exemplary embodiment of the present application is shown. As shown in FIG. 12 , a scene screen 1200 corresponding to a virtual scene is currently displayed in a first observation range. A message-carrying bar 1210 is displayed in the scene screen 1200. Four account identification elements are already displayed in the current message-carrying bar 1210, which has already reached the quantity threshold. After receiving a social message sent from a third social account, the account identification element 1220 corresponding to the third social account is hidden because the account identification elements displayed in the current message-carrying bar 1210 have already reached the quantity threshold. When a drag operation to the message-carrying bar 1210 is received, an extension area 1230 is displayed. Here, the account identification element 1220 corresponding to the third social account is displayed in the extension area 1230.
[0199] Optionally, after displaying the extension area, the message loading bar will trigger the message prompt element displayed in the extension area if it is determined that there is no account identification element in the extension area after reading the related social message; otherwise, after displaying the extension area in the message loading bar, the extension area will not be automatically retracted, but manual retraction can be achieved by dragging.
[0200] Step 860: In response to receiving a trigger operation on the account identification element, transition from the first observation range to the second observation range based on the positioning mark element to display a scene screen corresponding to the virtual scene.
[0201] Here, a second social object is included in the virtual scene in the second observation range.
[0202] In this embodiment, when a trigger operation is received on the account identification element corresponding to the second social account, the system displays a transition from the first observation range to the second observation range according to the positioning mark, and displays a scene screen corresponding to the virtual scene in the second observation range, where the second social object is displayed at an intermediate position on the scene screen corresponding to the virtual scene displayed in the second observation range.
[0203] Schematically, referring to FIG. 13, a schematic diagram of observation range transition provided by one exemplary embodiment of the present application is shown. As shown in FIG. 13, a scene screen 1300 corresponding to a virtual scene is currently displayed in a first observation range. A message-mounted bar 1310 is displayed in the scene screen 1300, and an account identification element 1311 corresponding to a second social account is displayed in the message-mounted bar. After receiving a trigger operation on the account identification element 1311, a scene transition animation (not shown) transitioning from the first observation range to the second observation range is displayed, and finally, a scene screen 1320 corresponding to the virtual scene in the second observation range is displayed. Here, a second social object 1321 is displayed in the middle position of the scene screen 1320.
[0204] In some embodiments, in response to receiving a social message sent from a fourth social account, a message prompt element and an account identification element corresponding to the fourth social account are displayed. In response to receiving a trigger operation on the account identification element and a fourth social object corresponding to the fourth social account being outside the virtual scene, an account content interface is displayed, wherein the fourth social object is included in the account content interface.
[0205] In this embodiment, a situation may exist in which the social virtual object corresponding to the associated account is outside the virtual scene. Therefore, when a social message sent from a fourth social account corresponding to a social virtual object outside the virtual scene is received and the number of account identification elements displayed in the message-mounting bar does not reach the quantity threshold, the message-mounting bar displays the account identification element corresponding to the fourth social account and a message prompt element, but does not display a positioning mark element. After receiving a trigger operation on the account identification element, an account content interface corresponding to the fourth social account is displayed, where the account content interface includes a fourth social object corresponding to the fourth social account. The account content interface is used to display account profile information corresponding to the fourth social account, where the account profile information includes at least one of the account name, account activity, and account interaction information (such as the number of followers, the number of fans, and the number of likes).
[0206] Schematically, referring to FIG. 14, a schematic diagram of an account content interface provided in one exemplary embodiment of the present application is shown. As shown in FIG. 14, a scene screen 1400 of a virtual scene is currently displayed in a first observation range. A message loading bar 1410 is displayed in the scene screen 1400, and an account identification element 1411 corresponding to a fourth social account is displayed in the message loading bar 1410. When a trigger operation on the account identification element 1411 is received, an account content interface 1420 is displayed. Here, the account content interface 1420 includes an account profile information interface 1421 and a fourth social object 1422.
[0207] As described above, in the social scene-based message display method provided in the embodiment of the present application, during the process of displaying a scene screen corresponding to a virtual scene in a first observation range, when a social message sent from a second social account is received, a message prompt element and an account identification element corresponding to the second social account are displayed. Furthermore, since a second social object corresponding to the second social account is present in the virtual scene, a positioning mark element is displayed at a specified position of the account identification element. When a trigger operation on the account identification element is received, the scene screen is displayed by transitioning from the first observation range to a second observation range including the second social object according to the positioning mark element. That is, when a social message sent from the social account of a social virtual object in the virtual scene is received, the positioning mark element is displayed to notify the user that the current social virtual object is present in the virtual scene. This realizes automatic transition of the current observation range to the observation range corresponding to the social virtual object according to the positioning mark element, improving the message indication function. This improves message display efficiency, and the automatic transition function also avoids manual user operation and reduces computer data overhead.
[0208] In this embodiment, by displaying a message trigger element and a message quantity element, the user can be notified of the total quantity corresponding to all currently received and unread social messages, thereby improving the efficiency and versatility of element display.
[0209] In this embodiment, a message display bar is displayed, and elements corresponding to all social accounts that send social messages are displayed in the message display bar, thereby making the element arrangement method more unified and improving the aesthetics.
[0210] In this embodiment, when the number of account identification elements displayed in the message-carrying bar reaches a quantity threshold, the elements of the social accounts corresponding to subsequently received social messages are hidden, thereby preventing the message-carrying bar from extending infinitely and allowing the extension area to be displayed by dragging, and further displaying hidden elements, thereby improving the flexibility of the message-carrying bar display and further improving the aesthetics of the display.
[0211] In this embodiment, a trigger operation is performed on the account identification element of an associated account corresponding to a social virtual object not in a virtual scene, and an account content interface corresponding to the associated account is displayed, thereby facilitating the user to subsequently add the social virtual object corresponding to the associated account to the virtual scene, and improving the interactivity of the virtual object.
[0212] It should be noted that in the means provided by the present application, the "account identification element" and the "message prompt element" correspond to each other and are displayed simultaneously. Therefore, when only the "account identification element" is described, the corresponding "message prompt element" also exists simultaneously. In addition, when the social virtual object is a social account in the virtual scene, the "positioning mark element" of the associated account will be displayed at the specified position of the "account identification element," but this will not be described again hereafter.
[0213] In one alternative embodiment, the message display method based on a social scene is applied to a social game. Schematically, as shown in Figure 15, a flowchart of the message display method based on a social scene provided in one exemplary embodiment of the present application is shown. As shown in Figure 15, the method includes the following steps:
[0214] Step 1510: Receive a social message.
[0215] Schematically, a scene screen corresponding to a virtual social scene is displayed in a first observation range, and the virtual social scene includes social virtual objects corresponding to a plurality of social accounts, respectively.
[0216] Currently, three social messages sent from a second social account are received, where the second social account sends social messages to the first social account in a target application program corresponding to the virtual scene, or the second social account sends social messages to the first social account in another social platform, where the application program corresponding to the other social platform is an application program that has an association relationship with the target application program, or the application program corresponding to the other social platform is a sub-program of the target application program.
[0217] Step 1520: Increment the count of the message quantity element.
[0218] When no social messages sent from other associated accounts are currently being received, a message trigger element is displayed as a message entry on the scene screen. Here, a message quantity element of "3" is displayed in the specified position of the message trigger element, indicating that the total number of unread social messages currently received is 3. If subsequent social messages sent from other associated accounts are received, the count is incremented based on the message quantity element of "3" (for example, if four subsequent social messages sent from other associated accounts are received, the message quantity element is updated and displayed as "7").
[0219] Step 1530: The message loading bar is displayed.
[0220] When a click or drag operation on the message trigger element is received, a message loading bar is displayed.
[0221] Here, the message loading bar is used to load and display account identification elements and message prompt elements corresponding to received and unread social messages.
[0222] Step 1540: Trigger the collapse control.
[0223] The message-carrying bar further includes a collapse control, which is used to return the message-carrying bar to the message trigger element. If a trigger operation to the collapse control is received, step 1550 is executed; if no trigger operation is performed to the collapse control, step 1560 is executed.
[0224] Step 1550: Collapse the message loading bar.
[0225] When a trigger operation to the collapse control is received, the display of the message-equipped bar is collapsed and the display of the message trigger element is restored.
[0226] Step 1560: Trigger the message prompt element.
[0227] The message prompt element is used to trigger the display of message content corresponding to the social message, when a trigger operation on the message prompt element corresponding to the second social account is received.
[0228] Step 1570: Display the message content interface.
[0229] According to a user's trigger operation on a message prompt element corresponding to a second social account, a message content interface corresponding to the social message sent from the second social account is displayed, where the message content interface includes message content corresponding to the social message sent from the second social account.
[0230] Step 1580: Trigger an account identification element.
[0231] In addition to being able to perform a trigger operation on the message prompt element, it is also possible to perform a trigger operation on the account identification element corresponding to the second social account.
[0232] When a trigger operation performed on the account identification element corresponding to the second social account is received, it is determined whether a positioning mark element is currently displayed. If a positioning mark element is displayed at the specified position of the account identification element, step 1590 is executed; if a positioning mark element is not displayed at the specified position of the account identification element, step 15100 is executed.
[0233] Here, the positioning mark element is used to determine whether a social virtual object corresponding to the associated account exists in the virtual scene. Therefore, if a second social object corresponding to the second social account does not exist in the virtual scene, the positioning mark element is not displayed. If a second social object corresponding to the second social account exists in the virtual scene, the positioning mark element is displayed at a specified position of the account identification element corresponding to the second social account.
[0234] Step 1590: Display a scene view corresponding to the virtual scene in the second viewing range.
[0235] When a second social object corresponding to a second social account is present in the virtual scene, a transition from the first observation range to a second observation range is displayed, and a scene screen corresponding to the virtual scene is displayed in the second observation range, where the second social object corresponding to the second social account is displayed at an intermediate position of the scene screen corresponding to the virtual scene displayed in the second observation range.
[0236] Step 15100: Display the account content interface.
[0237] When a second social object corresponding to the second social account is not present in the virtual scene, an account content interface corresponding to the second social account is displayed, where the account content interface is used to display account profile information of the second social account, including displaying a second social object corresponding to the second social account.
[0238] As described above, in the social scene-based message display method provided in the embodiment of the present application, during the process of displaying a scene screen corresponding to a virtual scene in a first observation range, when a social message sent from a second social account is received, a message prompt element and an account identification element corresponding to the second social account are displayed. Furthermore, since a second social object corresponding to the second social account is present in the virtual scene, a positioning mark element is displayed at a specified position of the account identification element. When a trigger operation on the account identification element is received, the scene screen is displayed by transitioning from the first observation range to a second observation range including the second social object according to the positioning mark element. That is, when a social message sent from the social account of a social virtual object in the virtual scene is received, the positioning mark element is displayed to notify the user that the current social virtual object is present in the virtual scene. This realizes automatic transition of the current observation range to the observation range corresponding to the social virtual object according to the positioning mark element, thereby improving the message indication function. This improves message display efficiency, and the automatic transition function also avoids manual user operation and reduces computer data overhead.
[0239] Schematically, referring to Figure 16, an interaction diagram of a message display method based on a social scene provided by one exemplary embodiment of the present application is shown. As shown in Figure 16, the method includes the following contents:
[0240] First, the current sequence diagram includes a user layer 1610, a client presentation layer 1620, and a background logic layer 1630. Here, the user layer 1610 is implemented as the screen content displayed by the terminal device to the user, the client presentation layer 1620 is used to render numerical values generated by the server on the terminal device interface, and the background logic layer 1630 is implemented to configure and process code.
[0241] First, after receiving social messages sent from other associated accounts that have an association relationship with the first social account, the background logic layer 1630 determines the social message quantity and scene mark elements corresponding to the associated accounts (an account identification element and a message prompt element, which further includes a scene mark element if a social virtual object corresponding to the associated account is in the virtual scene; otherwise, it does not include a scene mark element), and sends the social message quantity and the scene mark elements to the client presentation layer 1620.
[0242] The client presentation layer 1620 displays the message quantity element in the user layer 1610 in the scene screen at the specified position of the message trigger element according to the number of received social messages, thereby making the increase in the number mark of the message quantity element match the number of received social messages.
[0243] A player can click or drag on a message trigger element via the user layer 1610 and send the click or drag operation to the client presentation layer 1620. The client presentation layer 1620 displays a message loading bar on the user layer 1610 in accordance with the click or drag operation. The message loading bar displays account identification elements and message prompt elements corresponding to multiple associated accounts corresponding to received and unread social messages.
[0244] A player can trigger a message prompt element corresponding to a target account among multiple associated accounts through the user layer 1610, and the user layer 1610 sends the trigger operation to the client presentation layer 1620. The client presentation layer 1620 sends a content display request to the background logic layer 1630 in accordance with the trigger operation, requesting that message content corresponding to the social message sent from the target account be displayed. The background logic layer 1630 feeds content data corresponding to the social message sent from the target account back to the client presentation layer 1620 in accordance with the received content display request. The client presentation layer 1620 opens a content display interface on the user layer 1620 and displays a screen for loading the message content. After the content display interface has finished loading, the message content corresponding to the social message is displayed.
[0245] The player performs a trigger operation on an account mark element corresponding to a target account among the multiple associated accounts through the user layer 1610. The user layer 1610 determines whether a positioning mark element exists at a specified position corresponding to the account mark element corresponding to the target account according to the trigger operation. If a positioning mark element exists, the user layer 1610 displays a transition from the first observation range to the second observation range and a scene screen corresponding to the virtual scene in the second observation range, in which a second social object is displayed. If a positioning mark element exists, the background logic layer 1630 sends an account content display request to the background logic layer 1630. The account content display request is used to display an account content interface corresponding to the target account. The background logic layer 1630 feeds account content link information corresponding to the target account back to the client presentation layer 1620 according to the received account content display request. The client presentation layer 1620 displays an account content interface corresponding to the target account on the user layer 1610 according to the account content link information, including account profile information corresponding to the target account and social virtual objects corresponding to the target account.
[0246] As described above, in the social scene-based message display method provided in the embodiment of the present application, during the process of displaying a scene screen corresponding to a virtual scene in a first observation range, when a social message sent from a second social account is received, a message prompt element and an account identification element corresponding to the second social account are displayed. Furthermore, since a second social object corresponding to the second social account is present in the virtual scene, a positioning mark element is displayed at a specified position of the account identification element. When a trigger operation on the account identification element is received, the scene screen is displayed by transitioning from the first observation range to a second observation range including the second social object according to the positioning mark element. That is, when a social message sent from the social account of a social virtual object in the virtual scene is received, the positioning mark element is displayed to notify the user that the current social virtual object is present in the virtual scene. This realizes automatic transition of the current observation range to the observation range corresponding to the social virtual object according to the positioning mark element, thereby improving the message indication function. This improves message display efficiency, and the automatic transition function also avoids manual user operation and reduces computer data overhead.
[0247] The message display method based on social scenes provided by this application can realize richer and more user-friendly processing functions for unread messages, not only opening a conversation interface but also providing different feedback according to the position of the virtual object, better combining the conversation function with the virtual scene and improving the social immersion, and significantly upgrading the traditional messaging experience.
[0248] 17 is a structural block diagram of a message display device based on a social scene provided by an exemplary embodiment of the present application. As shown in FIG. 17, the device includes a first display module 1710 and a second display module 1720.
[0249] The first display module 1710 is used to display a scene screen corresponding to a virtual scene in a first observation range, and the virtual scene includes social virtual objects corresponding to a plurality of social accounts, respectively, where the terminal device includes a first social object corresponding to a first social account logged in; The first display module 1710 is further configured to, in response to receiving a social message sent from a second social account, display a message prompt element and an account identification element corresponding to the second social account, wherein the message prompt element is configured to trigger display of message content of the social message; The first display module 1710 is further adapted to, in response to a second social object corresponding to the second social account being present in the virtual scene, display a positioning mark element at a designated position corresponding to the account identification element, the positioning mark element being adapted to indicate that the second social object is present in the virtual scene; The second display module 1720 is used to, in response to receiving a trigger operation on the account identification element, transition from the first observation range to a second observation range based on the positioning mark element to display a scene screen corresponding to the virtual scene, in which the virtual scene in the second observation range includes the second social object.
[0250] In some embodiments, the first display module 1710 is further used for obtaining a target position in the virtual scene of the second social object, and displaying the positioning mark element at a specified position corresponding to the account identification element based on the target position, wherein the positioning mark element includes a direction indicating element, and the direction indicating element is used to indicate an orientation relationship between the target position and a scene screen corresponding to the virtual scene displayed in the first observation range.
[0251] In some embodiments, the first display module 1710 is further used for: obtaining a target position in the virtual scene of the second social object; obtaining a region segmentation result corresponding to the virtual scene, wherein the region segmentation result includes a plurality of candidate scene areas corresponding to the virtual scene; obtaining a target scene area corresponding to the target position from the plurality of candidate scene areas based on the target position; and displaying the positioning mark element at a designated position corresponding to the account identification element based on the target scene area, wherein the positioning mark element includes a region indication element corresponding to the target scene area.
[0252] In some embodiments, the element display size of the positioning mark element correlates to the distance between the second social object and a scene view corresponding to the virtual scene displayed in the first observation range.
[0253] In some embodiments, as shown in FIG. 18, the device comprises: The system further includes a third display module 1730 used to display a message content interface in response to receiving a trigger operation on the message prompt element, wherein the message content interface includes message content corresponding to the social message.
[0254] In some embodiments, in the scene view corresponding to the virtual scene displayed in the first observation range, a message prompt element and an account identification element corresponding to each of a plurality of social accounts for sending the social message are displayed; The device comprises: a determination module 1740 adapted to determine a trigger order corresponding to the plurality of message prompt elements in response to receiving trigger operations on the plurality of message prompt elements in sequence and successively; The third display module 1730 is further used to display a message content interface corresponding to the first trigger operation according to the trigger sequence, where the n+1th message content interface is concatenated and hidden after the nth message content interface, where n≧1, and n is an integer; The third display module 1730 is further used to display the (n+1)th message content interface in response to receiving a swipe operation on the nth message content interface.
[0255] In some examples, the first display module 1710 is further configured to: display a message trigger element; and, in response to receiving a social message sent from the second social account, display a message quantity element in a designated area of the message trigger element, wherein the message quantity element is used to indicate a total message quantity of social messages sent from associated accounts that are currently being received, and the associated accounts are accounts that have an association relationship with the first social account; and, in response to receiving a trigger operation on the message trigger element, display a message loading bar, wherein the message loading bar is used to indicate that a social message sent from the associated account has been received, and the message loading bar includes the message prompt element, the account identification element, and the positioning mark element corresponding to the second social account.
[0256] In some embodiments, the first display module 1710 is further used to receive a social message sent from a third social account and hide the account identification element corresponding to the third social account in response to the number of account identification elements displayed in the message loading bar reaching a quantity threshold.
[0257] In some embodiments, the first display module 1710 is further configured to display an extension area corresponding to the message loading bar in response to receiving a drag operation on the message loading bar, wherein the extension area includes a message prompt element and an account identification element corresponding to the third social account.
[0258] In some embodiments, the device comprises: The virtual scene further includes a fourth display module 1750 used to display a message prompt element and an account identification element corresponding to the fourth social account in response to receiving a social message sent from the fourth social account, receive a trigger operation on the account identification element, and display an account content interface in response to a fourth social object corresponding to the fourth social account being outside the virtual scene, wherein the fourth display module 1750 includes the fourth social object in the account content interface.
[0259] As described above, the social scene-based message display device provided in the embodiment of the present application displays a scene screen corresponding to a virtual scene in a first observation range. When a social message sent from a second social account is received, the device displays a message prompt element and an account identification element corresponding to the second social account. Furthermore, since a second social object corresponding to the second social account is present in the virtual scene, the device displays a positioning mark element at a specified position of the account identification element. When a trigger operation on the account identification element is received, the device transitions from the first observation range to a second observation range including the second social object according to the positioning mark element, and displays the scene screen. That is, when a social message sent from the social account of a social virtual object in the virtual scene is received, the device displays the positioning mark element to inform the user that the current social virtual object is present in the virtual scene. This automatically transitions the current observation range to the observation range corresponding to the social virtual object according to the positioning mark element, improving the message indication function. This improves message display efficiency, and the automatic transition function also avoids manual user operation and reduces computer data overhead.
[0260] It should be noted that, although the above-described embodiments of the message display device based on social scenes have been described by way of example only with respect to the division of the functional modules, in actual applications, the above functions can be assigned to different functional modules as needed. That is, the internal structure of the device can be divided into different functional modules, thereby achieving all or part of the functions described above. Furthermore, the message display device based on social scenes provided by the above-described embodiments is based on the same technical idea as the embodiments of the message display method based on social scenes. For details of the specific implementation process, please refer to the method embodiments, and therefore, a repeated description will be omitted here.
[0261] 19 shows a structural block diagram of a terminal device 1900 provided by one exemplary embodiment of the present application. The terminal device 1900 may be a smartphone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, MPEG Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, MPEG Audio Layer 4), a notebook computer, or a desktop computer. The terminal device 1900 may also be referred to by other names, such as a user device, a mobile terminal device, a laptop terminal device, and a desktop terminal device.
[0262] Typically, the terminal device 1900 includes a processor 1901 and a memory 1902 .
[0263] The processor 1901 may include one or more processing cores, such as a 4-core processor or an 8-core processor. The processor 1901 may be implemented using at least one hardware form selected from the group consisting of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1901 may include a main processor and a coprocessor. The main processor is a processor used to process data in a wake-up state and is also referred to as a CPU (Central Processing Unit). The coprocessor is a low-power processor used to process data in a standby state. In some embodiments, the processor 1901 may be integrated with a GPU (Graphics Processing Unit), which is used to render and draw content that needs to be displayed on a display screen. In some embodiments, the processor 1901 may further include an AI (Artificial Intelligence) processor, which is used to process computational operations related to machine learning.
[0264] The memory 1902 may include one or more computer-readable storage media, which may be non-transitory. The memory 1902 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1902 is used to store at least one instruction that is executed by the processor 1901 to thereby implement the virtual game-based control method provided by the method embodiments herein.
[0265] In some embodiments, terminal device 1900 further includes other assemblies, and as will be understood by those skilled in the art, the structure shown in FIG. 19 does not constitute a limitation on terminal device 1900, which may include more or fewer assemblies than shown, or may combine certain units, or may employ different assembly arrangements.
[0266] Those skilled in the art will understand that all or some of the steps in the various methods of the above embodiments can be completed by instructing related hardware using a program. The program may be stored in a computer-readable storage medium, which may be a computer-readable storage medium included in the memory of the above embodiments, or may be a computer-readable storage medium that exists independently and is not assembled in a terminal device. The computer-readable storage medium stores at least one instruction, at least one program, code set, or instruction set, which is loaded and executed by the processor to thereby realize the social scene-based message display method of any one of the above embodiments.
[0267] It should be noted that the at least one instruction, at least one program, code set, or instruction set referred to above may all be collectively referred to as a computer program, or may all be collectively referred to as a program.
[0268] Optionally, the computer-readable storage medium may include a read only memory (ROM), a random access memory (RAM), a solid state drive (SSD), an optical disk, etc. Here, the random access memory may include a resistive random access memory (ReRAM) and a dynamic random access memory (DRAM). The numbers of the above embodiments of the present application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0269] As can be understood by those skilled in the art, all or part of the steps in the above embodiments can be realized by hardware, or can be realized by a program instructing the relevant hardware, and the program can be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk, or an optical disk.
[0270] The above are merely selectable examples 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 shall be included within the protection scope of the present application.
Claims
1. 1. A method for displaying a message based on a social scene, executed by a terminal device, the method comprising: Displaying a scene screen corresponding to a virtual scene in a first observation range, the virtual scene including social virtual objects corresponding to a plurality of social accounts, and a first social object corresponding to a first social account logged into the terminal device; In response to receiving a social message sent from a second social account, displaying a message prompt element and an account identification element corresponding to the second social account, the message prompt element being used to trigger display of message content of the social message; In response to a second social object corresponding to the second social account being present in the virtual scene, displaying a positioning mark element at a designated position corresponding to the account identification element, the positioning mark element being used to indicate that the second social object is present in the virtual scene; and A method for displaying a message based on a social scene, comprising: in response to receiving a trigger operation on the account identification element, transitioning from the first observation range to a second observation range based on the positioning mark element and displaying a scene screen corresponding to the virtual scene, wherein the second social object is included in the virtual scene in the second observation range.
2. In response to a second social object corresponding to the second social account being present in the virtual scene, the step of displaying a positioning mark element at a designated position corresponding to the account identification element comprises: obtaining a target position in the virtual scene of the second social object; 2. The method of claim 1, further comprising: a step of displaying the positioning mark element at a specified position corresponding to the account identification element based on the target position, wherein the positioning mark element includes a direction indicating element, and the direction indicating element is used to indicate an orientation relationship between the target position and a scene screen corresponding to the virtual scene displayed in the first observation range.
3. In response to a second social object corresponding to the second social account being present in the virtual scene, the step of displaying a positioning mark element at a designated position corresponding to the account identification element comprises: obtaining a target position in the virtual scene of the second social object; obtaining a segmentation result corresponding to a virtual scene, the segmentation result including a plurality of candidate scene regions corresponding to the virtual scene; acquiring a target scene area corresponding to the target position from the plurality of candidate scene areas based on the target position; 2. The method of claim 1, further comprising: displaying the positioning mark element at a designated location corresponding to the account identification element based on the target scene area, wherein the positioning mark element includes an area indication element corresponding to the target scene area.
4. The method of claim 1 , wherein an element display size of the positioning mark element correlates to a distance between the second social object and a scene screen corresponding to a virtual scene displayed in a first observation range.
5. After the step of displaying a message prompt element and an account identification element corresponding to the second social account in response to receiving a social message sent from the second social account, 10. The method of claim 1, further comprising: in response to receiving a trigger operation on the message prompt element, displaying a message content interface, wherein the message content interface includes message content corresponding to the social message.
6. In the scene screen corresponding to the virtual scene displayed in the first observation range, message prompt elements and account identification elements corresponding to the plurality of social accounts sending the social message are displayed, respectively; The method comprises: determining a trigger order corresponding to the plurality of message prompt elements in response to receiving trigger operations on the plurality of message prompt elements in sequence and successively; displaying a message content interface corresponding to a first trigger operation based on the trigger order, where the n+1th message content interface is connected to and hidden behind the nth message content interface, where n≧1 and n is an integer; The method of claim 5 , further comprising: displaying an (n+1)th message content interface in response to receiving a swipe operation to the nth message content interface.
7. The method comprises: displaying a message trigger element; In response to receiving a social message sent from the second social account, displaying a message quantity element in a designated area of the message trigger element, the message quantity element being used to indicate a total message quantity of currently received social messages sent from associated accounts, the associated accounts being accounts that have an association relationship with the first social account; 2. The method of claim 1, further comprising: displaying a message-mounted bar in response to receiving a trigger operation on the message trigger element, the message-mounted bar being used to indicate that a social message sent from the associated account has been received, the message-mounted bar including the message prompt element, the account identification element, and the positioning mark element corresponding to the second social account.
8. The method comprises:
2. The method of claim 1, further comprising: receiving a social message sent from a third social account; and hiding an account identification element corresponding to the third social account in response to a quantity of the account identification elements displayed in the message loading bar reaching a quantity threshold.
9. After a step of receiving a social message sent from a third social account and hiding the account identification element corresponding to the third social account in response to the number of account identification elements displayed in the message loading bar reaching a quantity threshold, 9. The method of claim 8, further comprising: in response to receiving a drag operation to the message-mounting bar, displaying an extended region corresponding to the message-mounting bar, wherein the extended region includes a message prompt element and an account identification element corresponding to the third social account.
10. The method comprises: In response to receiving a social message sent from a fourth social account, displaying a message prompt element and an account identification element corresponding to the fourth social account; 2. The method of claim 1, further comprising: displaying an account content interface in response to receiving a trigger operation on the account identification element and a fourth social object corresponding to the fourth social account being outside the virtual scene, wherein the fourth social object is included in the account content interface.
11. A message display device based on a social scene, the device including: a first display module; and a second display module; The first display module is used to display a scene screen corresponding to a virtual scene in a first observation range, and the virtual scene includes social virtual objects corresponding to a plurality of social accounts, respectively, and includes a first social object corresponding to a first social account logged into by the terminal device; The first display module is further configured to, in response to receiving a social message sent from a second social account, display a message prompt element and an account identification element corresponding to the second social account, wherein the message prompt element is configured to trigger display of message content of the social message; The first display module is further adapted to display a positioning mark element at a designated position corresponding to the account identification element in response to a second social object corresponding to the second social account being present in the virtual scene, the positioning mark element being adapted to indicate that the second social object is present in the virtual scene; The second display module is used to transition from the first observation range to the second observation range based on the positioning mark element in response to receiving a trigger operation on the account identification element and display a scene screen corresponding to the virtual scene, and a message display device based on a social scene in which the second social object is included in the virtual scene in the second observation range.
12. A terminal device comprising a processor and a memory, wherein a computer program is stored in the memory, and wherein the computer program is loaded and executed by the processor to realize a message display method based on a social scene as described in any one of claims 1 to 10.
13. A computer program which, when executed by a processor, causes a computer to implement the method for displaying messages based on social scenes according to any one of claims 1 to 10.
Citation Information
Patent Citations
Information processing device and image display method
JP2020198950A
Social surfacing and messaging interactions
US20170282065A1