WO2024055811A1 - 消息显示方法、装置、设备、介质及程序产品 - Google Patents

消息显示方法、装置、设备、介质及程序产品 Download PDF

Info

Publication number
WO2024055811A1
WO2024055811A1 PCT/CN2023/113751 CN2023113751W WO2024055811A1 WO 2024055811 A1 WO2024055811 A1 WO 2024055811A1 CN 2023113751 W CN2023113751 W CN 2023113751W WO 2024055811 A1 WO2024055811 A1 WO 2024055811A1
Authority
WO
WIPO (PCT)
Prior art keywords
social
message
account
observation range
navigator
Prior art date
Application number
PCT/CN2023/113751
Other languages
English (en)
French (fr)
Inventor
王思源
陈腾
董祁恩
张冠君
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2024055811A1 publication Critical patent/WO2024055811A1/zh

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/533Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game for prompting the player, e.g. by displaying a game menu
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/85Providing additional services to players
    • A63F13/87Communicating with other players during game play, e.g. by e-mail or chat

Definitions

  • the present application relates to the field of virtual environments, and in particular to a message display method, device, equipment, media and program products.
  • Embodiments of the present application provide a message display method, device, equipment, media and program products, which can improve message display efficiency.
  • the technical solution is as follows.
  • a message display method includes:
  • the virtual scene includes social virtual objects corresponding to multiple social accounts, including the first social object corresponding to the first social account logged in by the terminal;
  • a message navigator In response to receiving a social message sent by a second social account, a message navigator is displayed, the second social object corresponding to the second social account is outside the first observation range, and the message navigator is used to indicate that the message navigator is received.
  • a message display device includes:
  • the first display module is used to display the scene picture corresponding to the virtual scene in the first observation range.
  • the virtual scene includes social virtual objects corresponding to multiple social accounts, including the first social virtual object corresponding to the first social account logged in by the terminal. social object;
  • the first display module is also configured to display a message navigator in response to receiving a social message sent by a second social account, where the second social object corresponding to the second social account is outside the first observation range, so The message navigator is used to indicate receipt of a social message sent by a social account corresponding to a social virtual object outside the first observation range;
  • a second display module configured to display a scene picture corresponding to the virtual scene in a second observation range in response to receiving a trigger operation on the message navigator, wherein the second social object is in the second observation range.
  • prompt information corresponding to the social message is displayed in the designated area corresponding to the second social object.
  • a computer device includes a processor and a memory.
  • the memory stores at least one instruction, at least a program, a code set or an instruction set.
  • the at least one instruction, the at least A program, the code set or the instruction set is loaded and executed by the processor to implement the message display method as described in any of the above embodiments of the present application.
  • a computer-readable storage medium stores at least one instruction, at least one program, a code set or an instruction set.
  • the at least one instruction, the at least one program, the code is loaded and executed by the processor to implement the message display method as described in any of the above embodiments of the present application.
  • a computer program product or computer program is provided, the computer program product or computer program Includes computer instructions stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the message display method described in any of the above embodiments.
  • the scene picture corresponding to the virtual scene is currently displayed in the first observation range.
  • the message navigator is displayed.
  • the virtual scene is displayed in the second observation range.
  • the position of the second social object in the virtual scene can be located in one step, which avoids the user having to adjust the observation range multiple times in the virtual scene to find the second social object, improves the message display efficiency, and also reduces the cost of the second social object.
  • Computer data overhead is avoided.
  • Figure 1 is a schematic diagram of a message display method provided by an exemplary embodiment of the present application.
  • Figure 2 is a schematic diagram of the implementation environment provided by an exemplary embodiment of the present application.
  • FIG3 is a structural block diagram of an electronic device provided by an exemplary embodiment of the present application.
  • Figure 4 is a flow chart of a message display method provided by an exemplary embodiment of the present application.
  • Figure 5 is a flow chart of a message display method provided by another exemplary embodiment of the present application.
  • Figure 6 is a schematic diagram showing a message navigator provided by another exemplary embodiment of the present application.
  • Figure 7 is a schematic diagram of a second social object display provided by an exemplary embodiment of the present application.
  • Figure 8 is a flow chart of a message display method provided by another exemplary embodiment of the present application.
  • Figure 9 is a schematic diagram of the location of social accounts provided by an exemplary embodiment of the present application.
  • Figure 10 is a schematic diagram showing a message navigator provided by an exemplary embodiment of the present application.
  • Figure 11 is a schematic diagram showing a message navigator provided by another exemplary embodiment of the present application.
  • Figure 12 is a diagram showing a message preview column provided by an exemplary embodiment of the present application.
  • Figure 13 is a schematic diagram of an account identification display method provided by another exemplary embodiment of the present application.
  • Figure 14 is a schematic diagram of an account identification display method provided by an exemplary embodiment of the present application.
  • Figure 15 is a flow chart of a message display method provided by another exemplary embodiment of the present application.
  • Figure 16 is a sequence diagram of a message display method provided by an exemplary embodiment of the present application.
  • Figure 17 is a structural diagram of a message display device provided by an exemplary embodiment of the present application.
  • Figure 18 is a structural diagram of a message display device provided by another exemplary embodiment of the present application.
  • Figure 19 is a terminal structural block diagram provided by an exemplary embodiment of the present application.
  • Virtual environment refers to the virtual environment displayed (or provided) when the application is run on the terminal.
  • the virtual environment may be a simulation environment of the real world, a semi-simulation and semi-fictional three-dimensional environment, or a purely fictional three-dimensional environment.
  • the virtual environment may be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment.
  • the following embodiments illustrate that the virtual environment is a two-dimensional virtual environment, but this is not limited.
  • Virtual object refers to the movable object in the virtual environment.
  • the movable object may be a virtual chess piece, a virtual character, a virtual animal, an animation character, etc., such as: characters, animals, plants, oil barrels, walls, stones, etc. displayed in the virtual environment.
  • the virtual object is a three-dimensional model created based on animation skeleton technology.
  • Each virtual object has its own shape and volume in the virtual environment and occupies a part of the space in the virtual environment.
  • Figure 1 shows a schematic diagram of a message display method provided by an exemplary embodiment of the present application.
  • a scene picture 100 corresponding to a virtual scene is displayed in a first observation range, wherein the scene picture Included in 100 Social virtual objects 110 corresponding to multiple social accounts.
  • the virtual scene but outside the scene screen 100 also includes social virtual objects 111 and social virtual objects 112 corresponding to other social accounts.
  • the message navigator 120 When a social message sent by the second social account is received, the message navigator 120 is displayed, and the social virtual object 112 controlled by the second social account (ie, the second social object) is outside the first observation range.
  • the scene picture 200 corresponding to the virtual scene is displayed in the second observation range; optionally, when a trigger operation on the message navigator 120 is received, a scene movement animation is displayed, where the scene The moving animation refers to the animation of moving from the first observation range to the second observation range and displaying the scene picture corresponding to the second observation range.
  • the scene picture 200 corresponding to the virtual scene is displayed in the second observation range, wherein the scene picture 200 includes the social virtual object 112, and prompt information corresponding to the social message is displayed in the designated area of the social virtual object 112. 113.
  • Figure 2 shows a schematic diagram of the implementation environment provided by an 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 through the communication network 230.
  • the target application 211 is installed and run in both the first terminal 210 and the second terminal 240, where the target application 211 is an application that supports a two-dimensional virtual environment or a three-dimensional virtual environment.
  • the target application 211 may be a virtual reality application, a three-dimensional map program, a social game, an auto-chess game, a strategy game, a puzzle game, a third-person shooting game (TPS), or a first-person shooting game.
  • FPS First-Person Shooting game
  • MOBA Multiplayer Online Battle Arena Games
  • the target application 211 may be a stand-alone version of an application, such as a stand-alone strategy game program, or may be a network online version of an application.
  • the target application 211 when the target application 211 is implemented as a stand-alone version of the application, taking the first terminal 210 as an example, the current target application 211 displays the scene screen corresponding to the virtual scene in the first observation range, and the virtual scene includes multiple A virtual object corresponding to a non-player character (NPC).
  • the virtual scene also includes a first social object corresponding to the first social account logged in by the terminal 210.
  • the terminal 210 receives the message sent by the target account, the message navigator is displayed in the scene screen, where the virtual object corresponding to the target account is located outside the current scene screen.
  • the scene moving animation is displayed, where the scene moving animation refers to the animation of transferring from the first observation range to the second observation range.
  • the scene moving animation is finished playing, the scene moving animation is displayed in the second observation range.
  • the observation range displays the scene screen corresponding to the virtual scene, in which the virtual object corresponding to the target account is located in the current scene screen.
  • Prompt information corresponding to the message is displayed in the designated area of the virtual object. Subsequently, the prompt information can be triggered to display the target
  • the content of messages sent by the account is used to formulate relevant game strategies and promote the development of the game plot.
  • the target application 211 is implemented as an online version of the application, as shown in Figure 2, the current target application 211 is implemented as a social game, and the first terminal 210 displays the virtual scene corresponding to the first observation range.
  • the scene screen includes the first social object corresponding to the first social account logged in by the first terminal 210 and the second social object corresponding to the second social account logged in by the second terminal 240 in the virtual scene.
  • the second terminal 240 When the second terminal 240 receives the message sending operation, it generates a message sending request and sends it to the server 220 , where the message sending request includes the social message sent by the second social account and the location information of the second social object.
  • the server 220 When the server 220 receives the message sending request sent by the second terminal 240, it determines the location information of the second social account in the virtual scene. If the second social object corresponding to the second social account is located in the virtual scene outside the first observation range, Generate a navigator rendering result and a message display result according to the message sending request, send the navigator rendering result to the first terminal 210, where the navigator rendering result includes the rendering sub-element corresponding to the message navigator, and send the message to the second terminal 240 Show results.
  • the first terminal 210 When the first terminal 210 receives the navigator rendering result, it renders the current scene picture according to the navigator rendering result, and displays the message navigator in the current scene picture.
  • the first terminal 210 receives the trigger operation on the message navigator, it generates a scene move request and sends it to the server 220 , where the scene move request is used to request to move the first observation range to the second observation range where the second social object is located.
  • the server 220 receives the scene movement request, according to the second social object
  • the location information of the virtual scene determines the second observation range where the second social object is located, generates a corresponding scene transfer result, and feeds it back to the first terminal 210 .
  • the first terminal 210 plays the scene moving animation, and after the scene moving animation is played, displays the second social object in the scene screen of the virtual scene with the second observation range, and displays the second social object in the scene picture of the virtual scene with the second observation range.
  • the prompt information corresponding to the social message is displayed at the specified location.
  • the above-mentioned terminal can be optional, and the terminal can be a desktop computer, a laptop computer, a mobile phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Compression Standard Audio Layer 3) player Players, MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) playback, smart TVs, smart cars and other forms of terminal equipment, the embodiments of the present application are not limited to this.
  • the server 220 includes at least one of a server, multiple servers, a cloud computing platform, and a virtualization center.
  • the server 220 takes on the main computing work, and the terminal 210 takes on the secondary computing work; or the server 220 takes on the secondary computing work, and the terminal 210 takes on the main computing work; or a distributed computing architecture is adopted between the server 220 and the terminal 210 Perform collaborative computing.
  • servers can be independent physical servers, or a server cluster or distributed system composed of multiple physical servers, or they can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, and networks. Services, cloud communications, middleware services, domain name services, security services, content delivery network (Content Delivery Network, CDN), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.
  • cloud databases can be independent physical servers, or a server cluster or distributed system composed of multiple physical servers, or they can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, and networks.
  • Services cloud communications, middleware services, domain name services, security services, content delivery network (Content Delivery Network, CDN), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.
  • CDN Content Delivery Network
  • Cloud Technology refers to a hosting technology that unifies a series of resources such as hardware, software, and network within a wide area network or local area network to realize data calculation, storage, processing, and sharing.
  • the above-mentioned server can also be implemented as a node in the blockchain system.
  • the information including but not limited to user equipment information, user personal information, etc.
  • data including but not limited to data used for analysis, stored data, displayed data, etc.
  • signals involved in this application All are authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
  • the user information involved in this application was obtained with full authorization.
  • FIG. 3 shows a structural block diagram of an electronic device provided by an exemplary embodiment of the present application.
  • the electronic device 300 includes: an operating system 320 and an application program 322.
  • Operating system 320 is the basic software that provides applications 322 with secure access to computer hardware.
  • Application 322 is an application that supports virtual environments.
  • the application 322 is an application that supports a three-dimensional virtual environment.
  • the application 322 may be a virtual reality application, a three-dimensional map program, a third-person shooting game (Third-Person Shooting game, TPS), a first-person shooting game (First-Person Shooting game, FPS), a multiplayer online tactical competitive game ( Any of Multiplayer Online Battle Arena Games (MOBA), multiplayer gun battle survival games, social games, puzzle games, and strategy games.
  • the application program 322 may be a stand-alone version of an application program, such as a stand-alone version of a game program, or may be a network online version of an application program.
  • the method can be executed by an electronic device.
  • the electronic device can be the electronic device 300 shown in Figure 3; wherein the electronic device can be a server or a terminal, or the electronic device can be a server or a terminal.
  • the electronic device may also include a server and a terminal for execution.
  • the terminal may be the first terminal 210 or the second terminal 240 in Figure 1
  • the server may be the server 220 in Figure 1; in the embodiment of the present application, the The method is executed by a terminal as an example.
  • the method includes the following steps.
  • Step 410 Display the scene picture corresponding to the virtual scene in the first observation range.
  • the virtual scene includes social virtual objects corresponding to multiple social accounts, including the first social object corresponding to the first social account logged in by the terminal.
  • the first observation range refers to the perspective range of the virtual scene observed from the perspective of the first social object corresponding to the first social account logged into the terminal.
  • the above-mentioned first social object perspective may be implemented as a first-person perspective; or, the above-mentioned first social object perspective It can be implemented as a third-person perspective and is not limited to this.
  • a social virtual object refers to a virtual object controlled by a social account and capable of performing social activities in a virtual scene.
  • the social activities include: chatting, sending voice, sharing videos, sharing pictures, and completing designated tasks (such as social networking).
  • Object 1 and social object 2 jointly perform a "heart comparison" action, or social object a completes a designated dance), publishes dynamic content, and other activities.
  • the social activities include social accounts controlling social virtual objects to be executed individually; or multiple social accounts controlling corresponding social virtual objects to be executed jointly, which is not limited.
  • the first social account corresponds to at least one first social object in the virtual scene.
  • the social virtual objects corresponding to the multiple social accounts included in the virtual scene are partially displayed in the scene picture corresponding to the first observation range, and there are some social virtual objects not displayed in the scene corresponding to the first observation range. in the virtual scene screen.
  • the social virtual objects corresponding to multiple social accounts are located at fixed locations in the virtual scene; or, the social virtual objects corresponding to multiple social accounts can move in the virtual scene.
  • Step 420 In response to receiving the social message sent by the second social account, display the message navigator.
  • the second social object corresponding to the second social account is outside the first observation range, and the message navigator is used to indicate that a social message sent by the social account corresponding to the social virtual object outside the first observation range is received.
  • the second social object controlled by the second social account is in the virtual scene outside the first observation range.
  • the message navigator is used to indicate that the social account corresponding to at least one social virtual object outside the first observation range currently sends a social message.
  • the social message may be a message posted on a public platform by the social account corresponding to the social virtual object outside the first observation range, or it may be sent to the first social account by the social account corresponding to the social virtual object outside the first observation range.
  • the message may also be a message sent by the social account corresponding to the social virtual object outside the first observation range in the same group as the first social account.
  • the message navigator includes at least one of the account identification corresponding to the social account that sends the social message, the number of the social account that sends the social message, the time of sending the social message, the type of the social message sent, and other content.
  • the message navigator when a social message sent by a single social account is received, the message navigator is displayed in the virtual scene; or, after social messages sent by a specified number of social accounts are received, the message navigator is displayed in the virtual scene , there is no restriction on this.
  • the message navigator may be displayed in at least one of the following ways:
  • the message navigator When receiving a social message sent by the second social account, if no other social account outside the first observation range has previously sent a social message, the message navigator is displayed in the virtual scene, and the third social message is displayed in the message navigator.
  • the account identifier corresponding to the second social account if there are currently other social accounts outside the first observation range that have sent social messages, and the message navigator has been displayed in the virtual scene, then the second social account is added to the message navigator.
  • the corresponding account ID that is, there is only one message navigator in the current virtual scene;
  • the message navigator corresponding to the second social account is displayed in the virtual scene. If a social message sent by another social account is received, and the social virtual message corresponding to the other social account is If the object is also outside the first observation range, the message navigators corresponding to other social accounts are displayed in the virtual scene. That is, each social account corresponds to an independent message navigator.
  • the virtual scene can contain multiple users who send social messages. Message navigators corresponding to different social accounts.
  • the account ID corresponding to the second social account is displayed in the message navigator, and the account ID is located after the account ID corresponding to other social accounts that have sent the social message, that is, if the Multiple social accounts For social messages sent by different accounts, the account IDs corresponding to multiple social accounts will be displayed simultaneously in the message navigator in accordance with the time sequence of the social messages sent by multiple social accounts. In other words, the message navigator can accommodate and display multiple social messages at the same time. Account ID.
  • the message navigators corresponding to the multiple social accounts are displayed in the scene screen, and each The display position of the message navigator corresponding to a social account in the scene screen corresponds to the position of the social virtual object corresponding to the social account in the virtual scene. For example: if object A is located in the virtual scene in the northeast direction outside the first observation range , then when a social message sent by the social account corresponding to object A is received, the message navigator corresponding to the social account is displayed at a specified position in the northeast direction in the scene screen corresponding to the virtual scene displayed in the first observation range.
  • Step 430 In response to receiving a trigger operation on the message navigator, display a scene movement animation.
  • the scene movement animation refers to the animation in which the observation range of the virtual scene is transferred from the first observation range to the second observation range, and the second social object is within the second observation range.
  • the second observation range refers to the perspective range of the virtual scene observed from the perspective of the first social object corresponding to the first social account logged into the terminal.
  • the second observation range is an observation range centered on the second social object.
  • the second observation range is an observation range that simultaneously includes the social virtual objects corresponding to the multiple social accounts.
  • the second observation range and the first observation range belong to two completely different observation ranges; or, there is a partial overlapping range between the second observation range and the first observation range, which is not limited.
  • the focal length of the visual angle corresponding to the second observation range is the same as the focal length of the visual angle corresponding to the first observation range, that is, the process of transferring from the first observation range to the second observation range only involves the rotation of the visual angle in the direction; or , the focal length of the visual angle corresponding to the second observation range is different from the focal length of the visual angle corresponding to the first observation range, that is, the process of moving from the first observation range to the second observation range involves not only the rotation of the visual angle in the direction, but also the visual angle Changes in focal length (such as focal length lengthening or shortening) are not limited.
  • the scene movement animation includes at least one of the following animation contents:
  • Scene movement animation refers to the animation in which the perspective of the first social object moves from the first observation range to the second observation range
  • Scene movement animation refers to the animation in which the current scene picture is directly transformed from the scene picture corresponding to the first observation range to the scene picture corresponding to the second observation range;
  • Scene moving animation refers to the animation in which the scene picture corresponding to the current first observation range is gradually canceled and the scene picture corresponding to the second observation range is gradually displayed;
  • Scene movement animation means that the focal length of the visual angle corresponding to the first observation range gradually changes, thereby generating an animation of a second observation range with different visual angle focal lengths.
  • the second observation range is an animation with a viewing angle focal length shorter than the first observation range, and the second social object is displayed at the center of the second observation range.
  • the scene movement animation means that the focal length of the angle of view corresponding to the first observation range is first gradually lengthened, so that the corresponding observation range expands after the lengthening, and the current observation range
  • the second social object is included in the range, and then according to the position of the second social object in the current observation range, the current observation range is shortened in the direction of the position, and finally the second observation range is obtained, and the second observation range only contains Second social object. If a social message sent by a third social account is received (the third social object corresponding to the third social account is outside the second observation range), and a trigger operation on the message navigator is received again, the perspective corresponding to the second observation range is displayed.
  • the scene movement animation of "first lengthening and then shortening" generates a third observation range that only includes the third social object.
  • the triggering operation on the message navigator includes at least one of the following triggering operations:
  • the message navigator includes the account identifier corresponding to the second social account, and the triggering operation on the message navigator can be implemented as the triggering operation on the account identifier corresponding to the second social account;
  • the triggering operation on the message navigator can be implemented as the triggering operation on the control corresponding to the message navigator.
  • the scene movement animation is related to the moment when the social messages sent by the social accounts are received.
  • the scene movement animation corresponding to the social account sending social messages closest to the current time point is displayed in sequence, such as: the current time point is from far to near.
  • the social messages sent by Account 1, the social messages sent by Account 2 and the social messages sent by Account 3 are received in sequence (the sending time of Account 1 is later than that of Account 2, and the sending time of Account 2 is later than that of Account 3).
  • the scene movement animation is implemented as The first observation range is first transferred to the observation range where the social object 1 of account 1 is located, then from the observation range where the social object 1 is located to the observation range where the social object 2 is located, and finally from the observation range where the social object 2 is located.
  • the scope is transferred to the observation scope where social object 3 is located. That is, the scene movement animation is always executed from the social account corresponding to the latest social message received.
  • the scene movement animation is related to the order in which the social messages are received.
  • the corresponding scene movement animations are displayed in sequence. For example: the social messages sent by account a, the social messages sent by account b and the social messages sent by account c are currently received in sequence.
  • the scene movement animation is implemented by the first
  • the observation range is first transferred to the observation range of account a corresponding to social object a, then from the observation range of social object a to the observation range of account b corresponding to social object b, and finally from the observation range of social object b
  • the scope is transferred to the observation scope of the social object c corresponding to account c. That is, the scene movement animation always starts from the social account corresponding to the first received social message.
  • the scene moving animation can be executed in sequence from far to near from the time when the social message is received; or, it can be executed in sequence from near to far from the time when the social message is received. In this regard No restrictions.
  • the social message reception time is sequentially executed from near to far as an example for explanation.
  • Step 440 In response to the scene moving animation being played, the scene picture corresponding to the virtual scene is displayed in the second observation range.
  • the designated area corresponding to the second social object displays prompt information corresponding to the social message.
  • the completion of the scene movement animation refers to the successful transfer from the first observation range to the second observation range.
  • the scene picture corresponding to the virtual scene displayed in the second observation range only contains the second social object; or, it contains not only the second social object, but also other social virtual objects (including those within the first observation range or social virtual objects outside the first observation range), which is not limited.
  • the prompt information is used to indicate at least one of the content of social messages currently sent by the second social account, the number of social messages, and the sending time of social messages.
  • each piece of social information corresponds to an independent prompt information; or, multiple pieces of social information correspond to the same prompt information, which is not limited.
  • the above-mentioned step 430 is an optional step, that is to say, after receiving the trigger operation on the message navigator, the scene picture corresponding to the virtual scene can also be displayed in the second observation range through screen jump, without any interruption in the middle. Scene movement animation is required as a transition.
  • the message display method currently displays the scene picture corresponding to the virtual scene in the first observation range.
  • the message navigator is displayed.
  • the triggering operation of the message navigator displays the scene movement animation corresponding to the transfer from the first observation range to the second observation range, and displays the scene picture corresponding to the virtual scene in the second observation range, wherein the current scene picture includes the second social network object. That is, when the second social account corresponding to the second social object outside the first observation range is controlled to send a social message, the observation range of the virtual scene can be automatically transferred to the second social object by triggering the message navigator.
  • the position of the second social object in the virtual scene can be located in one step, which avoids the user having to adjust the observation range multiple times in the virtual scene to find the second social object, improves the message display efficiency, and also reduces the cost of the second social object.
  • Computer data overhead is avoided.
  • the description is based on the example of currently receiving only social information sent by the second social account.
  • Figure 5 shows a message provided by an exemplary embodiment of the present application.
  • the flow chart of the display method that is, step 430 also includes step 431 and step 432, and after step 440, step 450 and step 460 are also included.
  • the method is explained by taking the method executed by the terminal as an example. As shown in Figure 5, the method Include the following steps.
  • Step 420 In response to receiving the social message sent by the second social account, display the message navigator.
  • the second social object corresponding to the second social account is outside the first observation range, and the message navigator is used to indicate that a social message sent by the social account corresponding to the social virtual object outside the first observation range is received.
  • the message navigator includes the account ID and account number corresponding to the social account that sent the social message, and the account number corresponds to the number of social accounts corresponding to the currently received and unread social messages.
  • the account identifier is used to represent the identity information corresponding to the social account of the currently received and unread social messages; the account number is used to represent the social account of the currently received and unread social messages, and the current social account The corresponding quantity when outside the first observation range.
  • the message navigator when only the social message sent by the second social account is received, the message navigator is displayed in the scene screen corresponding to the first observation range, and the message navigator includes the account ID and account number corresponding to the second social account. Quantity (Quantity is 1).
  • Figure 6 shows a schematic diagram of the message navigator display content provided by an exemplary embodiment of the present application.
  • the scene picture 600 corresponding to the virtual scene is currently displayed in the first observation range
  • a message navigator 610 is displayed in the scene screen 600 , where the message navigator 610 includes the second social account.
  • the corresponding account number indicates 611 and the number of accounts 612, where the number of accounts 612 is displayed as "1", indicating that only social messages sent by the second social account are currently received.
  • Step 431 Determine the target position of the second social object in the virtual scene.
  • the location information of the second social object is obtained in the virtual scene, including at least one of location coordinates, location direction, location distance, etc.
  • the position coordinate refers to the coordinate point in the virtual scene that contains the world coordinate system, and the second social object is located in the world coordinate system;
  • the position direction refers to the relative position of the second social object in the scene corresponding to the current first observation range;
  • position The distance refers to the distance between the position of the second social object and the center position in the scene corresponding to the current first observation range.
  • the method for determining the target position includes at least one of the following methods:
  • the social virtual object is located at a fixed location in the virtual scene, so the server (or locally on the terminal) stores files containing the location data corresponding to each social virtual object in the virtual scene.
  • the server or locally on the terminal stores files containing the location data corresponding to each social virtual object in the virtual scene.
  • the social account can control the social virtual object to move in the virtual scene.
  • location data is generated in real time and sent to the server.
  • the latest location data is obtained from the server.
  • the location data is generated once to obtain the target location of the second social object;
  • the social account can control the social virtual object to move in the virtual scene. After receiving the trigger operation on the message navigator, the position data of the second social object in the virtual scene at the current moment is obtained, thereby obtaining the second social object. target location.
  • Step 432 Display an animation in which the observation range of the virtual scene moves from the first observation range to the second observation range in the direction corresponding to the target position as a scene movement animation.
  • the scene movement animation in which the observation range of the virtual scene shifts from the first observation range toward the direction corresponding to the target position until it is transferred to the second observation range can be displayed.
  • the second observation range is determined based on the target position of the second social object in the virtual scene, that is, the center position of the second observation range is determined with the target position corresponding to the second social object as the center.
  • the visual angle focal length of the first observation range is used as the visual angle focal length of the second observation range to determine the final second observation range.
  • the scene movement animation refers to an animation that takes the first observation range as a starting point, rotates the perspective in the direction of the target position of the second social object, and rotates to the second observation range. There is an overlapping range between the first observation range and the second observation range.
  • the first observation range is transferred to the second observation range at a constant speed at a preset speed; or, in the scene movement animation, the first observation range is transferred to the second observation range at a preset speed with a preset acceleration.
  • the second observation scope is not limited.
  • Step 450 In response to not receiving the social message sent by the social account corresponding to the social virtual object outside the second observation range, cancel the display of the message navigator in the scene screen corresponding to the virtual scene displayed in the second observation range.
  • the scene moving animation when the scene moving animation is played and only social messages sent by the second social account are currently received, during the process of displaying the scene picture corresponding to the virtual scene with the second observation range, the scene picture corresponding to the virtual scene is displayed in the center of the current scene picture.
  • the second social object and displays prompt information corresponding to the social message at a designated position of the second social object.
  • Figure 7 shows a schematic diagram of a second social object display provided by an exemplary embodiment of the present application.
  • the scene picture 700 corresponding to the virtual scene is displayed in the first observation range
  • the message navigator 710 is displayed in the scene screen 700.
  • the scene movement animation is displayed ( Figure 7 (not shown)
  • the scene picture 720 corresponding to the virtual scene is currently displayed in the second observation range, wherein the scene picture 720 is the first observation range moved to the left, so that the second social object 721 The image located in the center of the screen.
  • the message navigator 710 is not displayed in the scene screen 720 .
  • Step 460 In response to receiving a triggering operation on the prompt information, display the message content corresponding to the social message and display the social animation of the second social object.
  • social animation refers to animation corresponding to message content.
  • the triggering operation of the prompt information is used to view the message content corresponding to the social message sent by the second social account.
  • the triggering operation on the prompt information is used to represent viewing the message content corresponding to multiple social messages at the same time; or, Triggering the prompt information only means viewing a single social message among multiple social messages.
  • the number of triggering operations can correspond to the number of social messages and is not limited.
  • the second social object when displaying the message content corresponding to the social message, the second social object simultaneously displays a social animation, where the social animation is an animation consistent with the message content of the social message.
  • the social message sent by the second social account is "Invite you to dance", then by triggering the prompt information, during the process of displaying the text content corresponding to the social message, the second social object plays "Dancing invitation" of animation as social animation.
  • the social message sent by the second social account is to share a selfie, and by triggering the prompt information, during the process of displaying the selfie, the second social object performs the action of "selfie” as a social animation. .
  • the message display method currently displays the scene picture corresponding to the virtual scene in the first observation range.
  • the message navigator is displayed.
  • the triggering operation of the message navigator displays the scene movement animation corresponding to the transfer from the first observation range to the second observation range, and displays the scene picture corresponding to the virtual scene in the second observation range, wherein the current scene picture includes the second social network object. That is, when the second social account corresponding to the second social object outside the first observation range is controlled to send a social message, the observation range of the virtual scene can be automatically transferred to the second social object by triggering the message navigator.
  • the position of the second social object in the virtual scene can be located in one step, which avoids the user having to adjust the observation range multiple times in the virtual scene to find the second social object, improves the message display efficiency, and also reduces the cost of the second social object.
  • Computer data overhead is avoided.
  • the scene transfer animation can be made more directional and improve the user's understanding of the target position. Orientation perception of secondary social objects.
  • the message navigator is canceled to prompt the user that there are no social media messages sent by the social account. Messages to improve the accuracy of message prompts.
  • the account ID and account number corresponding to the social account that sends the social message are displayed in the message navigator, which can make it clearer about the currently received social messages and improve the accuracy and comprehensiveness of the message display.
  • the description is based on the example of currently receiving only social information sent by multiple social accounts.
  • Figure 8 shows an exemplary embodiment of the present application.
  • the flow chart of the message display method is explained by taking the method being executed by a terminal as an example. As shown in Figure 8, the method includes the following steps.
  • Step 810 Display the scene picture corresponding to the virtual scene in the first observation range.
  • the virtual scene includes social virtual objects corresponding to multiple social accounts, including the first social object corresponding to the first social account logged in by the terminal.
  • the first observation range refers to the perspective range for observing the virtual scene from a third-person perspective corresponding to the first social object corresponding to the first social account logged in to the terminal.
  • the first social object is located in the scene picture corresponding to the virtual scene currently displayed with the first observation range; or, the first social object is located outside the scene picture corresponding to the virtual scene currently displayed with the first observation range, and no further explanation is given. limited.
  • each social account may control at least one social virtual object in the virtual scene.
  • each social virtual object in the virtual scene has a social virtual object of the same avatar; or, each social virtual object in the virtual scene is a social virtual object of a different avatar, which is not limited.
  • Step 820 In response to receiving the social message sent by the second social account, display the message navigator.
  • the second social object corresponding to the second social account is outside the first observation range
  • the message navigator is used to indicate that the social message sent by the social account corresponding to the social virtual object outside the first observation range is received.
  • all social accounts corresponding to social virtual objects in the virtual scene can send social messages, where the social messages include sending at least one of message types such as pictures, videos, text updates, and voices.
  • social messages sent by social accounts within the first observation range not only can social messages sent by social accounts within the first observation range be received, but also social messages sent by social accounts within the first observation range can be received. Social messages sent to social accounts outside the first observation range.
  • Figure 9 shows a schematic diagram of the location of a social account provided by an exemplary embodiment of the present application.
  • a scene screen 900 corresponding to the virtual scene is currently displayed in the first observation range.
  • the scene screen includes four social virtual objects corresponding to social accounts (object 901, object 902, object 903 and object 904).
  • object 905 sends a social message 9051
  • the social message 9051 is "sent a picture”
  • object 906 sends a social message (only the prompt information of the social message is displayed).
  • the first observation A message navigator is displayed in the scene corresponding to the range, and the account ID and account number corresponding to the second social pair account are displayed in the message navigator (the number is 1, indicating that only social messages sent by one social account are currently received).
  • Step 830 In response to receiving the social message sent by the third social account, send the corresponding sending order of the social messages based on the second social account and the third social account respectively, and display the second social account and the third social account in sequence in the message navigator.
  • the third social object corresponding to the third social account is outside the first observation range.
  • a social message sent by the third social account is also received. That is, the time when the third social account sends the social message is later than the time when the second social account sends the social message.
  • the third social object corresponding to the third social account and the second social object are in the same observation range (ie, the second observation range); or, the third social object and the second social object are in different observation ranges (the third social object). Social objects are in the third observation range).
  • the scene picture corresponding to the first observation range A message navigator is already displayed in . Therefore, the social identifier corresponding to the third social account is added and displayed in the message navigator, and the account identifier corresponding to the third social account is located after the account identifier of the second social account.
  • the value of the number of accounts in the message navigator "increases by 1" to 2, and because the message navigator changes from accommodating and displaying one account identifier to accommodating and displaying two account identifiers, the control length of the message navigator increases accordingly.
  • Figure 10 shows a schematic diagram of the message navigator display provided by an exemplary embodiment of the present application.
  • the scene picture 1000 corresponding to the virtual scene is currently displayed in the first observation range.
  • the social messages sent by the second social account and the social messages sent by the third social account have been received successively and unread, and the message navigator 1010 currently exists in the scene screen 1000, so the second social message in the message navigator 1010
  • the account ID 1011 of the third social account is added and displayed, and the number of accounts in the message navigator 1010 becomes "2".
  • the control length of the message navigator 1010 also increases accordingly.
  • a social message sent by the fourth social account is also received.
  • the fourth social object corresponding to the fourth social account is also a social virtual object outside the first observation range.
  • the display of the third social account in response to receiving a social message sent by a fourth social account outside the first observation range, and the number of account identifiers displayed in the current message navigator reaches a quantity threshold, the display of the third social account is hidden in the message navigator.
  • the quantity threshold is used to represent the maximum number of account identifiers that can be displayed simultaneously in the current message navigator.
  • the account identifier corresponding to the fourth social account will no longer be displayed in the message navigator.
  • the fourth social account in response to receiving a social message sent by a fourth social account outside the first observation range, and the number of account identifiers currently displayed in the message navigator does not reach a quantity threshold, the fourth social account is displayed in the message navigator.
  • the number of account identifiers displayed in the current message navigator If the quantity threshold is not reached, in the message navigator, the account identifier corresponding to the fourth social account is displayed after the account identifier corresponding to the third social account, and the value of the number of accounts in the message navigator is increased (increased to "3") .
  • Figure 11 shows a schematic diagram of the message navigator display provided by an exemplary embodiment of the present application.
  • the scene picture 1100 corresponding to the virtual scene is currently displayed in the first observation range.
  • the social messages sent by the second social account and the third social account respectively have been received and unread, so the account identifiers corresponding to the second social account and the third social account are currently displayed in the message navigator 1110, and the number of accounts is "2" , after receiving the social message sent by the fourth social account, the number of account identifiers currently displayed in the message navigator 1110 does not reach the quantity threshold, therefore, it is displayed in the message navigator 1110 after the account identifier corresponding to the third social account.
  • the account ID 1111 corresponding to the fourth social account is displayed, and the number of accounts is increased to "3".
  • the length of the control of the message navigator 1110 is also increased by the length of the account ID.
  • the order of the account identifiers displayed in the message navigator corresponds to the time at which each social account sends social messages.
  • Step 840 In response to receiving a trigger operation on the message navigator, display a scene movement animation.
  • the scene movement animation refers to the animation in which the observation range of the virtual scene is transferred from the first observation range to the second observation range, and the second social object is within the second observation range.
  • a message preview list is displayed in the scene screen corresponding to the virtual scene displayed in the first observation range.
  • the message preview list includes the message preview identification corresponding to the second social account; in response to receiving a triggering operation on the message preview identification, a scene movement animation is displayed.
  • the message preview list is used to represent currently received and unread social messages sent by all social accounts, where the message preview identification includes the account ID and account name corresponding to each social account. and number of social messages. After receiving a triggering operation on the message preview identification corresponding to the second social account, a scene moving animation is displayed.
  • Figure 12 shows a message preview column representation diagram provided by an exemplary embodiment of the present application.
  • the scene picture 1200 corresponding to the virtual scene is currently displayed in the first observation range.
  • the message navigator 1210 is currently displayed.
  • the long press operation is received.
  • the operation duration of the operation reaches the preset time threshold.
  • the message preview list 1220 includes a message preview identifier 1230 corresponding to the second social account, and a message corresponding to the third social account.
  • the preview identification and the message preview identification corresponding to the fourth social account includes an account identification 1231 (avatar), an account name 1232 ("Sweetheart"), and a number of social messages 1233 ("3 new messages").
  • Step 850 In response to receiving a trigger operation on the message navigator, cancel the display of the account identification corresponding to the second social account in the message navigator, and move the account identification corresponding to the third social account to the account corresponding to the second social account. The location corresponding to the logo is displayed.
  • control length of the message navigator is related to the number of account IDs.
  • social messages sent by the second social account and the third social account are successively received, so after triggering the message navigator, Cancel the display of the account identification corresponding to the second social account, move the account identification corresponding to the third social account to the position of the account identification corresponding to the second social account, and finally display the third social account at the position of the account identification corresponding to the second social account.
  • the length of the message navigator control is directly related to the number of account identifiers.
  • Figure 13 shows a schematic diagram of an account identification display method provided by an exemplary embodiment of the present application.
  • the scene screen 1300 corresponding to the virtual scene is displayed in the first observation range.
  • the message navigator 1310 is displayed in the scene screen 1300, wherein the message navigator 1310 includes the account identifier 1311 corresponding to the second social account.
  • the account identifier 1312 corresponding to the third social account, the account identifier 1313 corresponding to the fourth social account, and the number of accounts "3" in this case, the quantity threshold is "3", so all three account identifiers can be displayed).
  • the scene moving animation is displayed.
  • the scene picture 1320 corresponding to the virtual scene is displayed in the second observation range, wherein the scene picture 1320 includes the second social object. 1321, and prompt information 1322 corresponding to the social message.
  • the account identification 1311 corresponding to the second social account is canceled in the message navigator 1310, and the account identification 1312 corresponding to the third social account is moved forward.
  • the account identifier 1312 corresponding to the third social account the account identifier 1313 corresponding to the fourth social account, and the account number "2" are displayed in the message navigator 1310 .
  • the control length of the message navigator 1310 in the scene screen 1320 is shorter than the control length of the message navigator 1310 in the scene screen 1300 by the length of the account identifier.
  • the account identification corresponding to the second social account is canceled in the message navigator, and the account identification corresponding to the fourth social account is displayed in the message navigator.
  • the account identifier corresponding to the second social account is canceled in the message navigator, and the account identifiers corresponding to the remaining social accounts in the message navigator are moved forward. Move, thereby vacating a slot to display the account ID corresponding to the fourth social account.
  • Figure 14 shows a schematic diagram of an account identification display method provided by an exemplary embodiment of the present application.
  • the scene screen 1400 corresponding to the virtual scene is displayed in the first observation range.
  • the message navigator 1410 is displayed in the scene screen 1400, where the message navigator 1410 includes the account corresponding to the second social account.
  • the scene moving animation is displayed.
  • the scene picture 1420 corresponding to the virtual scene is displayed in the second observation range, wherein the scene picture 1420 includes the second social object. 1421, and prompt information 1422 corresponding to the social message.
  • the account identifier 1411 corresponding to the second social account is cancelled, and the account identifiers corresponding to other social accounts are moved forward, leaving a slot at the end of the message navigator.
  • the account identifier 1412 corresponding to the fourth social account is displayed in the slot.
  • the account identifiers corresponding to other social accounts, the account identifier 1412 corresponding to the fourth social account, and the account number "3" are displayed in the message navigator 1410.
  • the control length of the message navigator 1410 in the scene screen 1420 is equal to the control length of the message navigator 1410 in the scene screen 1400 .
  • Step 860 In response to the scene moving animation being played, the scene picture corresponding to the virtual scene is displayed in the second observation range.
  • the designated area corresponding to the second social object displays prompt information corresponding to the social message.
  • the triggering operation can be performed for different account IDs.
  • a trigger sequence corresponding to multiple account identifiers is determined; based on the trigger sequence, a multi-dimensional scene movement animation is displayed, wherein the multi-dimensional scene moves Animation refers to the sequential and continuous transfer of the observation range of the virtual scene from the first observation range to the observation range of the social virtual objects corresponding to multiple social accounts in accordance with the trigger sequence.
  • the sequence of trigger moments corresponding to the multiple account identifiers is determined.
  • the display observation range starts from the first observation range, in sequence. Move to the observation range of the social virtual object corresponding to the social account corresponding to each of the aforementioned account identifiers, as a multi-dimensional scene moving animation.
  • the message navigator includes account identification 1 corresponding to account A (account A corresponds to object a, and object a is within the second observation range), and account identification 2 corresponding to account B (account B corresponds to object b, and object b is within the third observation range) and the account identifier 3 corresponding to account C (account C corresponds to object c, and object c is within the fourth observation range).
  • the display's observation range of the virtual scene is first transferred from the first observation range to the third observation range. Move from the third observation range to the fourth observation range, and finally transfer to the corresponding multi-dimensional scene movement animation in the second observation range.
  • the user can pause the animation playback according to actual needs, and display the scene picture corresponding to the observation range transferred to during the current pause.
  • the message display method currently displays the scene picture corresponding to the virtual scene in the first observation range.
  • the message navigator is displayed.
  • the triggering operation of the message navigator displays the scene movement animation corresponding to the transfer from the first observation range to the second observation range, and displays the scene picture corresponding to the virtual scene in the second observation range, wherein the current scene picture includes the second social network object. That is, when the second social account corresponding to the second social object outside the first observation range is controlled to send a social message, the observation range of the virtual scene can be automatically transferred to the second social object by triggering the message navigator.
  • the position of the second social object in the virtual scene can be located in one step, which avoids the user having to adjust the observation range multiple times in the virtual scene to find the second social object, improves the message display efficiency, and also reduces the cost of the second social object.
  • Computer data overhead is avoided.
  • the sending time of the social messages can be displayed more specifically and the accuracy of the message display can be improved.
  • presetting the number threshold corresponding to the account identifier can stabilize the control length of the message navigator within a fixed range and improve the aesthetics of the message navigator.
  • the account identification corresponding to the second social account is cancelled, and the account identification corresponding to the remaining social account is moved, which can improve the efficiency and effectiveness of message prompts. Accuracy.
  • the user can preview the social messages sent by the currently received social account and then determine whether it is necessary to obtain the message sent by the second social account. social messages, improving the content richness of message display.
  • the message display method is applied to social games as an example for illustration.
  • Figure 15 shows a flow chart of a message display method provided by an exemplary embodiment of the present application. As shown in Figure 15, the method includes the following steps.
  • Step 1510 Receive social messages.
  • the first observation range is used to display the scene picture corresponding to the virtual social scene, and the virtual social scene includes social virtual objects corresponding to multiple social accounts.
  • the navigator mechanism When the terminal receives a social message sent by a second social account outside the first observation range (or a new message is generated outside the first observation range), the navigator mechanism is triggered. The existence of the message navigator in the current scene screen is judged. If the message navigator does not exist, step 1520 is executed. If the message navigator exists, step 1530 is executed.
  • Step 1520 display the message navigator.
  • a message navigator When no social messages sent by other social accounts outside the first observation range are currently received (or there are no new messages generated outside the first observation range), a message navigator is displayed in the scene screen. Among them, the message navigator contains the account ID corresponding to the second social account, and the account number "1".
  • Step 1530 Display the value-added changes in the number of accounts in the message navigator.
  • the value-added change in the number of accounts will be displayed in the message navigator.
  • the specific implementation is to increase "1” (for example: if the original number of accounts is "3", then the value-added change will be " 4”).
  • the quantity threshold is set to 3 in this embodiment. If the number of original account identifiers does not reach the quantity threshold, step 1540 is executed. If the number of original account identifiers has reached the quantity threshold, step 1540 is executed. Step 1550.
  • Step 1540 the length of the message navigator control is increased, and the account ID corresponding to the social account is displayed at the far left.
  • the account identifier corresponding to the second social account will be displayed on the far left side of the message navigator, indicating that the social messages currently sent by the second social account are the latest ones. information. And the length of the control in the current message navigator will be increased by the length of the account ID.
  • Step 1550 The account ID corresponding to the social account is displayed on the far left, and the original account ID on the far right is hidden.
  • the account ID corresponding to the second social account will be displayed on the leftmost side of the message navigator, and the account IDs originally displayed in the message navigator will be displayed to the right in sequence. Moves the position of an account ID and hides the account ID that was originally located on the far right side of the message navigator.
  • the order in which the account identifiers are arranged from left to right in the current message navigator corresponds to the sending time of the social message sent by the social account.
  • Step 1560 Receive a trigger operation on the message navigator.
  • Step 1570 Display scene movement animation.
  • the display is shifted from the first observation range to the second observation range corresponding to the second social account corresponding to the second social account that has recently sent the social message.
  • Step 1580 Display the change in the number of accounts in the message navigator as if it were decreasing.
  • the first is that after the scene moving animation is played, the number of accounts displayed in the message navigator will be reduced. For example: the original number of accounts was "3", but after the scene moving animation is played, the number of accounts is "2". Determine the display change corresponding to the account ID in the message navigator based on the current post-depreciation number.
  • Step 1590 cancel display of the message navigator.
  • the message navigator will be canceled in the scene screen corresponding to the second observation range.
  • Step 15100 Cancel the display of the account ID on the far left side of the message navigator, and shorten the length of the control.
  • Step 15110 The account logo on the far left side of the message navigator is cancelled, the account logo on the right side is moved to the left, and the most recent account logo is displayed.
  • the message display method currently displays the scene picture corresponding to the virtual scene in the first observation range.
  • the message navigator is displayed.
  • the triggering operation of the message navigator displays the scene movement animation corresponding to the transfer from the first observation range to the second observation range, and displays the scene picture corresponding to the virtual scene in the second observation range, wherein the current scene picture includes the second social network object. That is, when the second social account corresponding to the second social object outside the first observation range is controlled to send a social message, the observation range of the virtual scene can be automatically transferred to the second social object by triggering the message navigator.
  • the position of the second social object in the virtual scene can be located in one step, which avoids the user having to adjust the observation range multiple times in the virtual scene to find the second social object, improves the message display efficiency, and also reduces the cost of the second social object.
  • Computer data overhead is avoided.
  • Figure 16 shows a sequence diagram of a message display method provided by an exemplary embodiment of the present application. As shown in Figure 16, the method includes the following content.
  • the current sequence diagram includes the user layer 1610, the client presentation layer 1620, and the background logic layer 1630.
  • the user layer 1610 is implemented as the screen content displayed by the terminal to the user, and the client presentation layer 1620 is used to render the numerical values generated by the server.
  • the background logic layer 1630 is implemented for code setting and processing.
  • the background logic layer 1630 when the background logic layer 1630 receives social messages sent by other social accounts located outside the first observation range, it generates the account identification corresponding to the social account and the location information of the social virtual object corresponding to the social account in the virtual scene, and sends To the client presentation layer 1620.
  • the client presentation layer 1620 determines whether there is a message navigator in the current scene screen based on the received account identification and location information. If the message navigator does not exist, the message navigator is displayed to the user layer 1610 in the scene screen; if the message navigator already exists, the display content of the message navigator is updated to the user layer 1610 in the scene screen (such as updating the displayed Account ID and account number).
  • the player can trigger the message navigator through the user layer 1610 and send the trigger operation to the client presentation layer 1620.
  • the client presentation layer 1620 displays the scene movement animation to the user layer 1610 according to the trigger operation and updates the current message navigator.
  • Corresponding display content Determine whether the number of accounts is 0 according to the updated display content. If the number of accounts is 0, display the positioning navigator in the transferred scene screen to the user layer 1610 to cancel it.
  • the message display method currently displays the scene picture corresponding to the virtual scene in the first observation range.
  • the message navigator is displayed.
  • the triggering operation of the message navigator displays the scene movement animation corresponding to the transfer from the first observation range to the second observation range, and displays the scene picture corresponding to the virtual scene in the second observation range, wherein the current scene picture includes the second social network object. That is, when the second social account corresponding to the second social object outside the first observation range is controlled to send a social message, the observation range of the virtual scene can be automatically transferred to the second social object by triggering the message navigator.
  • the position of the second social object in the virtual scene can be located in one step, which avoids the user having to adjust the observation range multiple times in the virtual scene to find the second social object, improves the message display efficiency, and also reduces the cost of the second social object.
  • Computer data overhead is avoided.
  • the message display method provided by this application can solve the pain point of finding specific virtual objects in virtual scenes. By providing a clear and easy-to-use positioning display function, it simplifies the user's operating experience and improves the efficiency of message display. At the same time, the solution provided by this application has low development cost and performance requirements, and is highly cost-effective.
  • Figure 17 is a structural block diagram of a message display device provided by an exemplary embodiment of the present application. As shown in Figure 17, the device includes the following parts:
  • the first display module 1710 is used to display the scene picture corresponding to the virtual scene in the first observation range.
  • the virtual scene includes social virtual objects corresponding to multiple social accounts, including the first social account corresponding to the terminal login. a social object;
  • the first display module 1710 is also configured to display a message navigator in response to receiving a social message sent by a second social account, and the second social object corresponding to the second social account is outside the first observation range,
  • the message navigator is used to indicate receipt of a social message sent by a social account corresponding to a social virtual object outside the first observation range;
  • the second display module 1720 is configured to display the scene picture corresponding to the virtual scene in a second observation range in response to receiving a trigger operation on the message navigator, wherein the second social object is in the second Within the observation range, prompt information corresponding to the social message is displayed in the designated area corresponding to the second social object.
  • the first display module is also configured to display a scene moving animation in response to receiving a trigger operation on the message navigator, where the scene moving animation refers to the observation range of the virtual scene.
  • the second display module is configured to display the scene picture corresponding to the virtual scene in the second observation range in response to the scene moving animation being played.
  • the first display module 1710 includes:
  • Determining unit 1711 used to determine the target position where the second social object is located in the virtual scene
  • the display unit 1712 is used to display the scene movement animation in which the observation range of the virtual scene shifts from the first observation range toward the direction corresponding to the target position until it transfers to the second observation range.
  • the second display module 1720 is also configured to respond to not receiving a social message sent by a social account corresponding to a social virtual object outside the second observation range, using the second observation Cancel the display of the message navigator in the scene picture corresponding to the virtual scene displayed in the range.
  • the message navigator includes an account ID and an account number corresponding to the social account that sent the social message, and the account number corresponds to the number of social accounts corresponding to the currently received and unread social messages.
  • the first display module 1710 is further configured to, in response to receiving a social message sent by a third social account, send the social message based on the second social account and the third social account respectively.
  • the account identifiers corresponding to the second social account and the third social account are sequentially displayed in the message navigator, and the third social object corresponding to the third social account is in the first Outside the observation range.
  • the time at which the third social account sends the social message is later than the time at which the second social account sends the social message
  • the second display module 1720 is also configured to cancel the display of the account identification corresponding to the second social account in the message navigator in response to receiving a trigger operation on the message navigator, and display the account identifier corresponding to the second social account in the message navigator.
  • the account identifiers corresponding to the three social accounts are moved to the position corresponding to the account identifier corresponding to the second social account for display, and the control length of the message navigator is related to the number of accounts.
  • the first display module 1710 is also configured to respond to receiving a social message sent by a fourth social account outside the first observation range, and the account identification currently displayed in the message navigator When the quantity reaches the quantity threshold, the account identifier corresponding to the fourth social account is hidden and displayed in the message navigator;
  • the second display module 1720 is also configured to cancel the display of the account identifier corresponding to the second social account in the message navigator in response to receiving a trigger operation on the message navigator, and display the account identifier in the message navigator.
  • the account ID corresponding to the fourth social account is displayed in the navigator.
  • the first display module 1710 is also configured to respond to receiving a social message sent by the fourth social account outside the first observation range, and the account currently displayed in the message navigator The number of identifiers does not reach the quantity threshold, and the account identifier corresponding to the fourth social account is displayed in the message navigator; in response to receiving a social message sent by the fourth social account outside the first observation range , and the number of account identifiers currently displayed in the message navigator reaches the quantity threshold, update and display the number of account numbers in the message navigator.
  • the second display module 1720 is further configured to display the message content corresponding to the social message in response to receiving a trigger operation on the prompt information, and display the social information of the second social object.
  • Animation refers to the animation corresponding to the message content.
  • the first display module 1710 is also configured to respond to receiving a long response to the message navigator. Press the operation to display a message preview list in the scene screen displayed with the first observation range, and the message preview list includes the message preview identification corresponding to the second social account; in response to receiving the message preview identification
  • the trigger operation displays the scene movement animation.
  • the first display module 1710 is also configured to respond to receiving a long press operation on the message navigator, and the operation duration of the long press operation reaches a preset time threshold, based on the first observation
  • a message preview list is displayed in the scene screen corresponding to the range display virtual scene, and the message preview list includes a message preview identification corresponding to the second social account; in response to receiving a trigger operation on the message preview identification, displaying the Scene movement animation.
  • the message navigator displays account identifiers corresponding to multiple social accounts that send the social messages
  • the device also includes:
  • Determining module 1730 configured to determine triggering sequences corresponding to the multiple account identifiers in response to receiving trigger operations corresponding to the multiple account identifiers respectively;
  • the second display module 1720 is also configured to display a multi-dimensional scene moving animation based on the triggering sequence, where the multi-dimensional scene moving animation refers to changing the observation range of the virtual scene from the described triggering sequence.
  • the first observation range is sequentially and continuously transferred to the observation range where the social virtual objects corresponding to the multiple social accounts are located.
  • the second display module 1720 is also configured to sequentially transfer the observation range of the virtual scene from the first observation range to the location where the social virtual objects corresponding to the multiple social accounts are located based on the trigger sequence. Observation range.
  • the message display device provided by the embodiment of the present application currently displays the scene picture corresponding to the virtual scene in the first observation range.
  • the message navigator is displayed.
  • the triggering operation of the message navigator displays the scene movement animation corresponding to the transfer from the first observation range to the second observation range, and displays the scene picture corresponding to the virtual scene in the second observation range, wherein the current scene picture includes the second social network object. That is, when the second social account corresponding to the second social object outside the first observation range is controlled to send a social message, the observation range of the virtual scene can be automatically transferred to the second social object by triggering the message navigator.
  • the position of the second social object in the virtual scene can be located in one step, which avoids the user having to adjust the observation range multiple times in the virtual scene to find the second social object, improves the message display efficiency, and also reduces the cost of the second social object.
  • Computer data overhead is avoided.
  • the message display device provided in the above embodiments is only explained by taking the division of the above functional modules as an example.
  • the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device Divide it into different functional modules to complete all or part of the functions described above.
  • the message display device provided by the above embodiments and the message display method embodiments belong to the same concept. Please refer to the method embodiments for the specific implementation process, which will not be described again here.
  • Figure 19 shows a structural block diagram of a terminal 1900 provided by an exemplary embodiment of the present application.
  • the terminal 1900 can be: a smartphone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, moving picture experts compressing standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving picture experts compressing standard audio Level 4) player, laptop or desktop computer.
  • Terminal 1900 may also be called user equipment, portable terminal, laptop terminal, desktop terminal, and other names.
  • the terminal 1900 includes: a processor 1901 and a memory 1902.
  • the processor 1901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc.
  • the processor 1901 can adopt at least one hardware form among DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), and PLA (Programmable Logic Array, programmable logic array).
  • the processor 1901 may also include a main processor and a co-processor.
  • the main processor is a processor used to process data in the wake-up state, also called CPU (Central Processing Unit, central processing unit); the co-processor is A low-power processor used to process data in standby mode.
  • the processor 1901 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is responsible for rendering and drawing content to be displayed on the display screen.
  • the processor 1901 may also include Artificial Intelligence (AI). Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
  • AI Artificial Intelligence
  • Memory 1902 may include one or more computer-readable storage media, which may be non-transitory. Memory 1902 may also include high-speed random access memory, and non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1902 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1901 to implement the virtual-based method provided by the method embodiments in this application. Game control methods.
  • the terminal 1900 also includes other components. Those skilled in the art can understand that the structure shown in Figure 19 does not constitute a limitation on the terminal 1900, and may include more or fewer components than shown in the figure, or Combine certain components, or use different component arrangements.
  • the program can be stored in a computer-readable storage medium.
  • the computer-readable storage medium It may be a computer-readable storage medium included in the memory in the above embodiment; it may also be a computer-readable storage medium that exists independently and is not assembled into the terminal.
  • the computer-readable storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor. To implement the message display method described in any of the above embodiments.
  • the computer-readable storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), solid-state drive (SSD, Solid State Drives) or optical disk, etc.
  • random access memory can include resistive random access memory (ReRAM, Resistance Random Access Memory) and dynamic random access memory (DRAM, Dynamic Random Access Memory).
  • ReRAM resistive random access memory
  • DRAM Dynamic Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种消息显示方法、装置、设备、介质及程序产品,涉及虚拟环境领域。该方法包括:以第一观察范围显示虚拟场景对应的场景画面;响应于接收到第二社交帐号发送的社交消息,显示消息导航器,第二社交帐号对应的第二社交对象处于第一观察范围外;响应于接收到对消息导航器的触发操作,以第二观察范围显示虚拟场景对应的场景画面。也即,通过触发消息导航器自动将对虚拟场景的观察范围转移到第二社交对象所处的观察范围内,提高了消息显示效率。

Description

消息显示方法、装置、设备、介质及程序产品
本申请要求于2022年09月16日提交的、申请号为202211129840.9、发明名称为“消息显示方法、装置、设备、介质及程序产品”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及虚拟环境领域,特别涉及一种消息显示方法、装置、设备、介质及程序产品。
背景技术
随着计算机技术的快速发展和终端的多样化,电子游戏应用逐渐广泛,其中,社交类游戏是一种较为流行的游戏,在终端显示虚拟场景,用户在虚拟场景中通过控制社交虚拟对象与其他用户控制的社交虚拟对象进行多种社交活动。
发明内容
本申请实施例提供了一种消息显示方法、装置、设备、介质及程序产品,能够提高消息显示效率。所述技术方案如下。
一方面,提供了一种消息显示方法,所述方法包括:
以第一观察范围显示虚拟场景对应的场景画面,所述虚拟场景中包括多个社交帐号分别对应的社交虚拟对象,其中包括终端登录的第一社交帐号对应的第一社交对象;
响应于接收到第二社交帐号发送的社交消息,显示消息导航器,所述第二社交帐号对应的第二社交对象处于所述第一观察范围外,所述消息导航器用于指示接收到处于所述第一观察范围外的社交虚拟对象对应的社交帐号发送的社交消息;
响应于接收到对所述消息导航器的触发操作,以第二观察范围显示所述虚拟场景对应的场景画面,其中,所述第二社交对象处于所述第二观察范围内,所述第二社交对象对应的指定区域显示有所述社交消息对应的提示信息。
另一方面,提供了一种消息显示装置,所述装置包括:
第一显示模块,用于以第一观察范围显示虚拟场景对应的场景画面,所述虚拟场景中包括多个社交帐号分别对应的社交虚拟对象,其中包括终端登录的第一社交帐号对应的第一社交对象;
所述第一显示模块,还用于响应于接收到第二社交帐号发送的社交消息,显示消息导航器,所述第二社交帐号对应的第二社交对象处于所述第一观察范围外,所述消息导航器用于指示接收到处于所述第一观察范围外的社交虚拟对象对应的社交帐号发送的社交消息;
第二显示模块,用于响应于接收到对所述消息导航器的触发操作,以第二观察范围显示所述虚拟场景对应的场景画面,其中,所述第二社交对象处于所述第二观察范围内,所述第二社交对象对应的指定区域显示有所述社交消息对应的提示信息。
另一方面,提供了一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如上述本申请实施例中任一所述消息显示方法。
另一方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现如上述本申请实施例中任一所述的消息显示方法。
另一方面,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序 包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述实施例中任一所述的消息显示方法。
本申请实施例提供的技术方案带来的有益效果至少包括:
当前以第一观察范围显示虚拟场景对应的场景画面,当接收到第二社交帐号发送的社交消息时,显示消息导航器,当接收到对消息导航器的触发操作,以第二观察范围显示虚拟场景对应的场景画面,其中,当前场景画面中包括第二社交对象。也即,当控制处于第一观察范围外的第二社交对象对应的第二社交帐号发送社交消息时,通过触发消息导航器的方式,能够自动将对虚拟场景的观察范围转移到第二社交对象所处的观察范围内,实现一步定位第二社交对象位于虚拟场景中的位置,避免了用户在虚拟场景中多次调整观察范围用于寻找第二社交对象,提高了消息显示效率,也降低了计算机的数据开销。
附图说明
图1是本申请一个示例性实施例提供的消息显示方法的示意图;
图2是本申请一个示例性实施例提供的实施环境示意图;
图3是本申请一个示例性实施例提供的电子设备的结构框图;
图4是本申请一个示例性实施例提供的消息显示方法流程图;
图5是本申请另一个示例性实施例提供的消息显示方法的流程图;
图6是本申请另一个示例性实施例提供的消息导航器显示示意图;
图7是本申请一个示例性实施例提供的第二社交对象显示示意图;
图8是本申请另一个示例性实施例提供的消息显示方法的流程图;
图9是本申请一个示例性实施例提供的社交帐号位置示意图;
图10是本申请一个示例性实施例提供的消息导航器显示示意图;
图11是本申请另一个示例性实施例提供的消息导航器显示示意图;
图12是本申请一个示例性实施例提供的消息预览列表示意图;
图13是本申请另一个示例性实施例提供的帐号标识显示方式示意图;
图14是本申请一个示例性实施例提供的帐号标识显示方式示意图;
图15是本申请另一个示例性实施例提供的消息显示方法流程图;
图16是本申请一个示例性实施例提供的消息显示方法时序图;
图17是本申请一个示例性实施例提供的消息显示装置结构图;
图18是本申请另一个示例性实施例提供的消息显示装置结构图;
图19是本申请一个示例性实施例提供的终端结构框图。
具体实施方式
首先,针对本申请实施例中涉及的名词进行简单介绍。
虚拟环境:是指应用程序在终端上运行时显示(或提供)的虚拟环境。该虚拟环境可以是对真实世界的仿真环境,也可以是半仿真半虚构的三维环境,还可以是纯虚构的三维环境。虚拟环境可以是二维虚拟环境、2.5维虚拟环境和三维虚拟环境中的任意一种,下述实施例以虚拟环境是二维虚拟环境来举例说明,但对此不加以限定。
虚拟对象:是指虚拟环境中的可活动对象。该可活动对象可以是虚拟棋子、虚拟人物、虚拟动物、动漫人物等,比如:在虚拟环境中显示的人物、动物、植物、油桶、墙壁、石块等。可选的,虚拟对象是基于动画骨骼技术创建的三维立体模型。每个虚拟对象在虚拟环境中具有自身的形状和体积,占据虚拟环境中的一部分空间。
首先,请参考图1,其示出了本申请一个示例性实施例提供的消息显示方法的示意图,如图1所示,以第一观察范围显示虚拟场景对应的场景画面100,其中,场景画面100中包括 多个社交帐号分别对应的社交虚拟对象110。此外,处于虚拟场景但位于场景画面100外还包括其他社交帐号对应的社交虚拟对象111和社交虚拟对象112。
当接收到第二社交帐号发送的社交消息,显示消息导航器120,第二社交帐号控制的社交虚拟对象112(也即第二社交对象)处于第一观察范围外。当接收到对消息导航器120的触发操作,以第二观察范围显示虚拟场景对应的场景画面200;可选的,当接收到对消息导航器120的触发操作,显示场景移动动画,其中,场景移动动画是指从第一观察范围转移至第二观察范围,并显示第二观察范围对应的场景画面的动画。当场景移动动画播放完毕,以第二观察范围显示虚拟场景对应的场景画面200,其中,场景画面200中包括社交虚拟对象112,并且在社交虚拟对象112的指定区域显示有社交消息对应的提示信息113。
其次,对本申请实施环境进行介绍。图2给出了本申请一个示例性实施例提供的实施环境示意图。该实施环境中包括:第一终端210、服务器220、第二终端240和通信网络230,其中,第一终端210、第二终端240和服务器220通过通信网络230连接。
第一终端210和第二终端240中都安装和运行有目标应用程序211,其中,目标应用程序211是支持二维虚拟环境或者三维虚拟环境的应用程序。目标应用程序211可以是虚拟现实应用程序、三维地图程序、社交类游戏、自走棋游戏、策略游戏、益智类游戏、第三人称射击游戏(Third-Person Shooting game,TPS)、第一人称射击游戏(First-Person Shooting game,FPS)、多人在线战术竞技游戏(Multiplayer Online Battle Arena Games,MOBA)、多人枪战类生存游戏中的任意一种。在一种可实现的方式中,该目标应用程序211可以是单机版的应用程序,比如单机版的策略类游戏程序,也可以是网络联机版的应用程序。
可选地,当目标应用程序211实现为单机版的应用程序时,以第一终端210为例,当前目标应用程序211中以第一观察范围显示虚拟场景对应的场景画面,虚拟场景中包括多个非玩家帐号(Non-Player Character,NPC)对应的虚拟对象,此外,虚拟场景中还包括终端210登录的第一社交帐号对应的第一社交对象。当终端210接收到目标帐号发送的消息,在场景画面中显示消息导航器,其中,目标帐号对应的虚拟对象位于当前场景画面外。当终端210接收到对消息导航器的触发操作,显示场景移动动画,其中,场景移动动画是指从第一观察范围转移至第二观察范围的动画,当场景移动动画播放完毕时,以第二观察范围显示虚拟场景对应的场景画面,其中目标帐号对应的虚拟对象位于当前场景画面中,在虚拟对象的指定区域显示有消息对应的提示信息,后续可以通过对该提示信息进行触发操作,显示目标帐号发送的消息内容,用于制定相关的游戏策略,推动游戏剧情发展。
可选地,当目标应用程序211实现为网络联机版的应用程序时,如图2所示,当前目标应用程序211实现为社交类游戏,第一终端210以第一观察范围显示虚拟场景对应的场景画面,虚拟场景中包括第一终端210登录的第一社交帐号对应的第一社交对象,以及包括第二终端240登录的第二社交帐号对应的第二社交对象。
当第二终端240接收消息发送操作,生成消息发送请求发送至服务器220,其中,消息发送请求中包括第二社交帐号发送的社交消息和第二社交对象的位置信息。
当服务器220接收到第二终端240发送的消息发送请求,确定第二社交帐号在虚拟场景中的位置信息,若第二社交帐号对应的第二社交对象位于第一观察范围外的虚拟场景中,根据消息发送请求生成导航器渲染结果和消息显示结果,向第一终端210发送导航器渲染结果,其中,导航器渲染结果中包括消息导航器对应的渲染子元素,并向第二终端240发送消息显示结果。
当第一终端210接收到导航器渲染结果,根据导航器渲染结果对当前场景画面进行渲染,在当前场景画面中显示消息导航器。当第一终端210接收到对消息导航器的触发操作,生成场景移动请求发送至服务器220,其中,场景移动请求用于请求将第一观察范围移动至第二社交对象所在的第二观察范围。当服务器220接收到场景移动请求后,根据第二社交对象在 虚拟场景的位置信息,确定第二社交对象所处的第二观察范围,生成对应的场景转移结果,反馈至第一终端210。当第一终端210接收到场景转移结果后,播放场景移动动画,并在场景移动动画播放完毕后,以第二观察范围显示虚拟场景的场景画面中显示第二社交对象,并在第二社交对象的指定位置显示社交消息对应的提示信息。
上述终端可以是可选的,终端可以是台式计算机、膝上型便携计算机、手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层4)播放、智能电视、智能车载等多种形式的终端设备,本申请实施例对此不加以限定。
服务器220包括一台服务器、多台服务器、云计算平台和虚拟化中心中的至少一种。可选地,服务器220承担主要计算工作,终端210承担次要计算工作;或者,服务器220承担次要计算工作,终端210承担主要计算工作;或者,服务器220和终端210之间采用分布式计算架构进行协同计算。
值得注意的是,上述服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(Content Delivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。
其中,云技术(Cloud Technology)是指在广域网或局域网内将硬件、软件、网络等系列资源统一起来,实现数据的计算、储存、处理和共享的一种托管技术。
在一些实施例中,上述服务器还可以实现为区块链系统中的节点。
需要说明的是,本申请所涉及的信息(包括但不限于用户设备信息、用户个人信息等)、数据(包括但不限于用于分析的数据、存储的数据、展示的数据等)以及信号,均为经用户授权或者经过各方充分授权的,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。例如,本申请中涉及到的用户信息是在充分授权的情况下获取的。
图3示出了本申请一个示例性实施例提供的电子设备的结构框图。该电子设备300包括:操作系统320和应用程序322。
操作系统320是为应用程序322提供对计算机硬件的安全访问的基础软件。
应用程序322是支持虚拟环境的应用程序。可选地,应用程序322是支持三维虚拟环境的应用程序。该应用程序322可以是虚拟现实应用程序、三维地图程序、第三人称射击游戏(Third-Person Shooting game,TPS)、第一人称射击游戏(First-Person Shooting game,FPS)、多人在线战术竞技游戏(Multiplayer Online Battle Arena Games,MOBA)、多人枪战类生存游戏、社交类游戏、益智类游戏、策略游戏中的任意一种。该应用程序322可以是单机版的应用程序,比如单机版的游戏程序,也可以是网络联机版的应用程序。
结合上述简介,对本申请提供的消息显示方法进行说明,该方法可以由电子设备执行,该电子设备可以是图3所示的电子设备300;其中,该电子设备可以是服务器或者终端,或者,该电子设备也可以包括服务器和终端执行,比如,该终端可以是图1中的第一终端210、或者第二终端240,该服务器可以是图1中的服务器220;本申请实施例中,以该方法由终端执行为例进行说明,如图4所示,该方法包括如下步骤。
步骤410,以第一观察范围显示虚拟场景对应的场景画面。
其中,虚拟场景中包括多个社交帐号分别对应的社交虚拟对象,其中包括终端登录的第一社交帐号对应的第一社交对象。
示意性的,第一观察范围是指以终端登录的第一社交帐号对应的第一社交对象视角下对虚拟场景进行观察的视角范围。
可选地,上述第一社交对象视角可实现为第一人称视角;或者,上述第一社交对象视角 可实现为第三人称视角,对此不加以限定。
示意性的,社交虚拟对象是指由社交帐号控制,在虚拟场景中可进行社交活动的虚拟对象,其中,社交活动包括:聊天、发送语音、分享视频、分享图片、完成指定任务(如:社交对象1和社交对象2之间共同执行“比心”动作,或者,社交对象a完成一段指定舞蹈)、发布动态内容等活动中至少一种。
可选地,社交活动包括社交帐号控制社交虚拟对象单独执行;或者,多个社交帐号控制分别对应的社交虚拟对象共同执行,对此不加以限定。
在一些实施例中,第一社交帐号在虚拟场景中对应至少一个第一社交对象。
在一些实施例中,虚拟场景中包含的多个社交帐号分别对应的社交虚拟对象部分显示在以第一观察范围对应的场景画面中,而存在部分社交虚拟对象未显示在以第一观察范围对应的虚拟场景画面中。
可选地,多个社交帐号分别对应的社交虚拟对象位于虚拟场景的固定位置;或者,多个社交帐号分别对应的社交虚拟对象可在虚拟场景中进行移动。
步骤420,响应于接收到第二社交帐号发送的社交消息,显示消息导航器。
其中,第二社交帐号对应的第二社交对象处于第一观察范围外,消息导航器用于指示接收到处于第一观察范围外的社交虚拟对象对应的社交帐号发送的社交消息。
示意性的,第二社交帐号控制的第二社交对象处于第一观察范围外的虚拟场景中。
在一些实施例中,消息导航器用于表示当前存在至少一个处于第一观察范围外的社交虚拟对象对应的社交帐号发送了社交消息。其中,社交消息可以是处于第一观察范围外的社交虚拟对象对应的社交帐号在公共平台发布的消息,也可以是处于第一观察范围外的社交虚拟对象对应的社交帐号向第一社交帐号发送的消息,或者,还可以是处于第一观察范围外的社交虚拟对象对应的社交帐号在与第一社交帐号同处的群组中发送的消息。
在一些实施例中,消息导航器中包括发送社交消息的社交帐号对应的帐号标识、发送社交消息的社交帐号的帐号数量、发送社交消息的时间、发送的社交消息类型等内容中至少一种。
可选地,当接收到单个社交帐号发送的社交消息,随即在虚拟场景中显示消息导航器;或者,当接收到指定数量的社交帐号分别发送的社交消息后,在虚拟场景中显示消息导航器,对此不加以限定。
可选地,消息导航器的显示方式包括如下几种方式中至少一种:
1.当接收到第二社交帐号发送的社交消息时,若此前不存在位于第一观察范围外的其他社交帐号发送社交消息,在虚拟场景中显示消息导航器,且在消息导航器中显示第二社交帐号对应的帐号标识;若当前已存在位于第一观察范围外的其他社交帐号发送了社交消息,且在虚拟场景中已显示消息导航器,则在消息导航器中增加显示第二社交帐号对应的帐号标识,也即,当前虚拟场景中仅存在一个消息导航器;
2.当接收到第二社交帐号发送的社交消息时,在虚拟场景中显示第二社交帐号对应的消息导航器,若再接收到其他社交帐号发送的社交消息,且其他社交帐号对应的社交虚拟对象也位于第一观察范围外,则在虚拟场景中显示其他社交帐号对应的消息导航器,也即,每个社交帐号对应一个独立的消息导航器,虚拟场景中可包含多个发送社交消息的不同社交帐号分别对应的消息导航器。
值得注意的是,上述关于消息导航器的显示方式仅为示意性的举例,本申请实施例对此不加以限定。
针对上述显示方式的第一种情况,在一个可选的方案下,若当前已存在位于第一观察范围外的其他社交帐号发送了社交消息,且在虚拟场景中已显示消息导航器,当接收到第二社交帐号发送的社交消息,在消息导航器中显示第二社交帐号对应的帐号标识,且该帐号标识位于已发送社交消息的其他社交帐号对应的帐号标识之后,也即,若接收到多个社交帐号分 别发送的社交消息,则在消息导航器中按照多个社交帐号发送社交消息的时间顺序依次同时显示多个社交帐号分别对应的帐号标识,也就是说,消息导航器中可同时容纳显示多个帐号标识。
针对上述显示方式的第一种情况,在另一个可选的方案下,若当前已存在位于第一观察范围外的其他社交帐号发送了社交消息,且在场景画面中已显示消息导航器,当接收到第二社交帐号发送的社交消息,在消息导航器中显示第二社交帐号对应的帐号标识,并在消息导航器中播放其他社交帐号和第二社交帐号分别对应的帐号标识轮流循环显示的动画,也即,若接收到多个社交帐号分别发送的社交消息,在消息导航器中按照社交消息的发送顺序轮流显示多个社交帐号分别对应的帐号标识,且单次仅显示一个帐号标识,也就是说,消息导航器中单次仅容纳显示一个帐号标识。
针对上述显示方式的第二种情况,在一个可选的情况下,若当前接收到多个社交帐号分别发送的社交消息,在场景画面中显示多个社交帐号分别对应的消息导航器,且每个社交帐号对应的消息导航器在场景画面中的显示位置与该社交帐号对应的社交虚拟对象在虚拟场景中的位置对应,如:若对象A位于第一观察范围外的东北方向的虚拟场景中,则当接收到对象A对应的社交帐号发送的社交消息时,在以第一观察范围显示的虚拟场景对应的场景画面中的东北方向的指定位置处显示该社交帐号对应的消息导航器。
步骤430,响应于接收到对消息导航器的触发操作,显示场景移动动画。
其中,场景移动动画是指对虚拟场景的观察范围从第一观察范围转移至第二观察范围的动画,第二社交对象处于第二观察范围内。
在一些实施例中,第二观察范围是指以终端登录的第一社交帐号对应的第一社交对象视角下对虚拟场景进行观察的视角范围。
在一个可选的情况下,第二观察范围是以第二社交对象为中心的观察范围。
在一个可选的情况下,当接收到多个社交帐号分别发送的社交消息,第二观察范围是同时包含多个社交帐号分别对应的社交虚拟对象的观察范围。
可选地,第二观察范围与第一观察范围属于完全不同的两个观察范围;或者,第二观察范围与第一观察范围存在部分重叠范围,对此不加以限定。
可选地,第二观察范围对应的视角焦距与第一观察范围对应的视角焦距相同,也即,从第一观察范围转移到第二观察范围的过程中仅涉及视角在方向上的转动;或者,第二观察范围对应的视角焦距与第一观察范围对应的视角焦距不同,也即,从第一观察范围转移到第二观察范围的过程中,不仅涉及视角在方向上的转动,还涉及视角的焦距变化(如焦距拉长或者缩短),对此不加以限定。
可选地,场景移动动画包括如下几种动画内容中至少一种:
1.场景移动动画是指第一社交对象视角从第一观察范围向第二观察范围进行视角移动的动画;
2.场景移动动画是指当前场景画面从第一观察范围对应的场景画面直接变换成第二观察范围对应的场景画面的动画;
3.场景移动动画是指当前第一观察范围对应的场景画面逐步取消显示,且第二观察范围对应的场景画面逐步显示的动画;
4.场景移动动画是指第一观察范围对应的视角焦距逐渐变化,从而生成视角焦距不同的第二观察范围的动画。
值得注意的是,上述关于场景移动动画的动画内容仅为示意性的举例,本申请实施例对此不加以限定。
针对上述动画内容的第一种、第二种和第三种情况,在一个可实现的情况下,若接收到第三社交帐号发送的社交消息(第三社交帐号对应的第三社交对象位于第二观察范围外),并再次接收到对消息导航器的触发操作,显示从第二观察范围转移到第三观察范围的场景移动 动画。
针对上述动画内容的第四种情况,在一个可实现的情况下,第二观察范围是视角焦距短于第一观察范围的动画,且第二观察范围的中心位置显示第二社交对象。
针对上述动画内容的第四种情况,在一个可实现的情况的下,场景移动动画是指第一观察范围对应的视角焦距首先逐渐拉长,使得拉长后对应的观察范围扩大,且当前观察范围中包含第二社交对象,再根据第二社交对象在当前观察范围中的位置,使当前观察范围朝该位置所在方向缩短视角焦距,最终得到第二观察范围,且第二观察范围中仅包含第二社交对象。若接收到第三社交帐号发送的社交消息(第三社交帐号对应的第三社交对象位于第二观察范围外),并再次接收到对消息导航器的触发操作,显示第二观察范围对应的视角“先拉长再缩短”的场景移动动画后生成仅包含第三社交对象的第三观察范围。
可选地,对消息导航器的触发操作包括如下几种触发操作中至少一种:
1.消息导航器中包括第二社交帐号对应的帐号标识,对消息导航器的触发操作可实现为对第二社交帐号对应的帐号标识的触发操作;
2.对消息导航器的触发操作可实现为对消息导航器对应的控件的触发操作。
值得注意的是,上述关于消息导航器的触发操作仅为示意性的举例,本申请实施例对此不加以限定。
在一个可选的情况下,当接收到多个社交帐号分别发送的社交消息的情况下,场景移动动画与接收到的社交帐号发送的社交消息的时刻有关。按照接收到的多个社交帐号分别发送的社交消息各自对应的时间点,依次显示距离当前时间点最近的发送社交消息的社交帐号对应的场景移动动画,如:当前根据时间点由远及近分别依次接收到帐号1发送的社交消息、帐号2发送的社交消息和帐号3发送的社交消息(帐号1发送时间晚于帐号2,帐号2发送时间晚于帐号3),因此,场景移动动画实现为由第一观察范围先转移至帐号1对应社交对象1所处的观察范围,再从社交对象1所处的观察范围转移至社交对象2所处的观察范围,最后从社交对象2所处的观察范围转移至社交对象3所处的观察范围。也即,场景移动动画总是从接收到的最新的社交消息对应的社交帐号开始执行。
在一个可选的情况下,当接收到多个社交帐号分别发送的社交消息的情况下,场景移动动画与接收到社交消息的接收顺序有关。按照接收到的多个社交帐号分别发送的社交消息对应的接收顺序,依次显示各自对应的场景移动动画,如:当前依次接收到帐号a发送的社交消息、帐号b发送的社交消息和帐号c发送的社交消息(虽然按照接收时间远近来说,帐号c是最晚发的,但是按照接收顺序来说,帐号a发送的社交消息是最早接收到的),因此,场景移动动画实现为由第一观察范围先转移至帐号a对应社交对象a所处的观察范围,在从社交对象a所处的观察范围转移至帐号b对应社交对象b所处的观察范围,最终从社交对象b所处的观察范围转移至帐号c对应社交对象c所处的观察范围。也即,场景移动动画总是从第一个接收到的社交消息对应的社交帐号开始执行。
根据上述两种情况可知,本申请提供的消息显示方法中,场景移动动画可从社交消息接收时间从远至近依次对应执行;或者,可以从社交消息接收时间从近至远依次对应执行,对此不加限定。
本申请中,以社交消息接收时间从近至远依次对应执行为例进行说明。
步骤440,响应于场景移动动画播放完毕,以第二观察范围显示虚拟场景对应的场景画面。
其中,第二社交对象对应的指定区域显示有社交消息对应的提示信息。
示意性的,场景移动动画播放完毕是指从第一观察范围成功转移到第二观察观察范围。
在一些实施例中,以第二观察范围显示虚拟场景对应的场景画面中仅包含第二社交对象;或者,不仅包含第二社交对象,也包含其他社交虚拟对象(包括处于第一观察范围内或者处于第一观察范围外的社交虚拟对象),对此不加以限定。
示意性的,提示信息用于指示当前第二社交帐号发送的社交消息内容、社交消息数量、社交消息发送时间等内容中至少一种。
可选地,每条社交信息对应一个独立的提示信息;或者,多条社交信息对应同一个提示信息,对此不加以限定。
其中,上述步骤430为可选步骤,也就是说,在接收到对消息导航器的触发操作后,也可以通过画面跳转的方式,以第二观察范围显示虚拟场景对应的场景画面,中间不需要场景移动动画作为过渡。
综上所述,本申请实施例提供的消息显示方法,当前以第一观察范围显示虚拟场景对应的场景画面,当接收到第二社交帐号发送的社交消息时,显示消息导航器,当接收到对消息导航器的触发操作,显示从第一观察范围转移至第二观察范围对应的场景移动动画,并以第二观察范围显示虚拟场景对应的场景画面,其中,当前场景画面中包括第二社交对象。也即,当控制处于第一观察范围外的第二社交对象对应的第二社交帐号发送社交消息时,通过触发消息导航器的方式,能够自动将对虚拟场景的观察范围转移到第二社交对象所处的观察范围内,实现一步定位第二社交对象位于虚拟场景中的位置,避免了用户在虚拟场景中多次调整观察范围用于寻找第二社交对象,提高了消息显示效率,也降低了计算机的数据开销。
值得注意的是,本申请中涉及到的“接收其他社交帐号发送的社交帐号”中的其他社交帐号/社交帐号用于表示处于第一观察范围外的社交帐号。
在一个可选的实施例中,以当前仅接收到第二社交帐号发送的社交信息为例进行说明,示意性的,请参考图5,其示出了本申请一个示例性实施例提供的消息显示方法的流程图,也即,步骤430中还包括步骤431和步骤432,步骤440之后还包括步骤450和步骤460,以该方法由终端执行为例进行说明,如图5所示,该方法包括如下步骤。
步骤420,响应于接收到第二社交帐号发送的社交消息,显示消息导航器。
第二社交帐号对应的第二社交对象处于第一观察范围外,消息导航器用于指示接收到处于第一观察范围外的社交虚拟对象对应的社交帐号发送的社交消息。
在一些实施例中,消息导航器中包括发送社交消息的的社交帐号对应的帐号标识和帐号数量,帐号数量与当前接收且未读的社交消息对应的社交帐号数量对应。
示意性的,帐号标识用于表示当前接收到的且未读的社交消息的社交帐号对应的身份信息;帐号数量用于表示当前接收到的且未读的社交消息的社交帐号,且当前社交帐号处于第一观察范围外时对应的数量。
本实施例中,当仅接收到第二社交帐号发送的社交消息时,在第一观察范围对应的场景画面中显示消息导航器,且消息导航器中包括第二社交帐号对应的帐号标识和帐号数量(数量为1)。
示意性的,请参考图6,其示出了本申请一个示例性实施例提供的消息导航器显示内容示意图,如图6所示,当前以第一观察范围显示虚拟场景对应的场景画面600,当接收到处于第一观察范围外的第二社交帐号发送的社交消息(图6中未示出),在场景画面600中显示消息导航器610,其中,消息导航器610中包括第二社交帐号对应的帐号表示611和帐号数量612,其中,帐号数量612显示为“1”,表示当前仅接收到第二社交帐号发送的社交消息。
步骤431,确定第二社交对象位于虚拟场景中的目标位置。
示意性的,当接收到对消息导航器的触发操作,在虚拟场景中获取第二社交对象的位置信息,包括位置坐标、位置方向、位置距离等中至少一种。
其中,位置坐标是指虚拟场景中包含世界坐标系,第二社交对象位于世界坐标系中的坐标点;位置方向是指第二社交对象位于当前第一观察范围对应的场景画面的相对位置;位置距离是指第二社交对象所处位置与当前第一观察范围对应的场景画面中的中心位置之间的距离。
可选地,目标位置的确定方式包括如下几种方式中至少一种:
1.社交虚拟对象位于虚拟场景中的固定位置,因此服务器(或者终端本地)中存储有包含虚拟场景中各个社交虚拟对象分别对应的位置数据的文件,当接收到对消息导航器的触发操作后,从文件中获取第二社交对象对应的位置数据,进而得到第二社交对象的目标位置;
2.社交帐号可控制社交虚拟对象在虚拟场景中进行移动,在社交虚拟对象的移动过程中,实时生成位置数据发送至服务器,当接收到对消息导航器的触发操作后,从服务器中获取最近一次生成的位置数据,从而得到第二社交对象的目标位置;
3.社交帐号可控制社交虚拟对象在虚拟场景中进行移动,当接收到对消息导航器的触发操作后,再获取当前时刻第二社交对象位于虚拟场景中的位置数据,从而得到第二社交对象的目标位置。
值得注意的是,上述关于目标位置的确定方式仅为示意性的举例,本申请实施例对此不加以限定。
步骤432,显示虚拟场景的观察范围从第一观察范围朝目标位置对应的方向转移至第二观察范围的动画,作为场景移动动画。
或者说,可以显示虚拟场景的观察范围从第一观察范围朝目标位置对应的方向转移,直至转移至第二观察范围的场景移动动画。
示意性的,第二观察范围是根据第二社交对象在虚拟场景中的目标位置确定的,也即,以第二社交对象对应的目标位置为中心,确定第二观察范围的中心位置,以第一观察范围的视角焦距作为第二观察范围的视角焦距,确定最终的第二观察范围。
在一些实施例中,场景移动动画是指以第一观察范围为起点,朝第二社交对象所处目标位置的方向进行视角转动,转动至第二观察范围的动画。其中,第一观察范围和第二观察范围存在重叠范围。
可选地,场景移动动画中第一观察范围以预设速度匀速转移到第二观察范围;或者,场景移动动画中第一观察范围以预设速度为初始速度,并以预设加速度加速转移到第二观察范围,对此不加以限定。
步骤450,响应于未接收到处于第二观察范围外的社交虚拟对象对应的社交帐号发送的社交消息,在以第二观察范围显示的虚拟场景对应的场景画面中取消显示消息导航器。
示意性的,当场景移动动画播放完毕时,且当前仅接收到第二社交帐号发送的社交消息,以第二观察范围显示虚拟场景对应的场景画面的过程中,在当前场景画面的中心位置显示第二社交对象,并在第二社交对象的指定位置处显示社交消息对应的提示信息。
此外,由于当前以第二观察范围显示虚拟场景对应的场景画面的过程中未接收到其他社交对象发送的社交消息,因此在第二观察范围对应的场景画面中取消显示消息导航器。
示意性的,请参考图7,其示出了本申请一个示例性实施例提供的第二社交对象显示示意图,如图7所示,首先以第一观察范围显示虚拟场景对应的场景画面700,当接收到第二社交帐号发送的社交消息时(图7中未显示),在场景画面700中显示消息导航器710,当接收到对消息导航器710的触发操作,显示场景移动动画(图7中未示出),当场景移动动画播放完毕时,当前以第二观察范围显示虚拟场景对应的场景画面720,其中,场景画面720是第一观察范围向左移动后,使第二社交对象721位于画面中央的画面。此外,场景画面720中未显示由消息导航器710。
步骤460,响应于接收到对提示信息的触发操作,显示社交消息对应的消息内容,并显示第二社交对象的社交动画。
其中,社交动画是指与消息内容对应的动画。
示意性的,对提示信息的触发操作用于查看第二社交帐号发送的社交消息对应的消息内容。
可选地,对提示信息的触发操作用于表示同时查看多条社交消息对应的消息内容;或者, 对提示信息的触发操作仅表示查看多条社交消息中单条社交消息,其中,触发操作次数可与社交消息的数量对应,对此不加以限定。
在一些实施例中,当显示社交消息对应的消息内容过程中,第二社交对象同时显示社交动画,其中,社交动画是与社交消息的消息内容一致的动画。
在一个示例中,第二社交帐号发送的社交消息为“邀请您共舞”,则通过对提示信息的触发操作,显示社交消息对应的文字内容的过程中,第二社交对象播放“跳舞邀请”的动画,作为社交动画。
在一个示例中,第二社交帐号发送的社交消息实现为分享了一张自拍,则通过对提示信息的触发操作,显示自拍的过程中,第二社交对象执行“自拍”的动作,作为社交动画。
综上所述,本申请实施例提供的消息显示方法,当前以第一观察范围显示虚拟场景对应的场景画面,当接收到第二社交帐号发送的社交消息时,显示消息导航器,当接收到对消息导航器的触发操作,显示从第一观察范围转移至第二观察范围对应的场景移动动画,并以第二观察范围显示虚拟场景对应的场景画面,其中,当前场景画面中包括第二社交对象。也即,当控制处于第一观察范围外的第二社交对象对应的第二社交帐号发送社交消息时,通过触发消息导航器的方式,能够自动将对虚拟场景的观察范围转移到第二社交对象所处的观察范围内,实现一步定位第二社交对象位于虚拟场景中的位置,避免了用户在虚拟场景中多次调整观察范围用于寻找第二社交对象,提高了消息显示效率,也降低了计算机的数据开销。
本实施例中,通过确定第二社交对象的目标位置,从而显示第一观察范围朝该目标位置所在方向转移到第二观察范围的动画,能够使得场景转移动画更具方向指向性,提高用户对于第二社交对象的方向感知。
本实施例中,当场景转移动画播放完毕后,在第二观察范围对应的场景画面中显示第二社交对象时,取消显示消息导航器,能够提示用户当前已不存在接收到社交帐号发送的社交消息,提高消息提示的准确度。
本实施例中,在消息导航器中显示发送社交消息的社交帐号对应的帐号标识和帐号数量,能够更明确当前接收到的社交消息情况,提高消息显示的准确度和全面性。
在一个可选的实施例中,以当前仅接收到多个社交帐号分别发送的社交信息为例进行说明,示意性的,请参考图8,其示出了本申请一个示例性实施例提供的消息显示方法的流程图,以该方法由终端执行为例进行说明,如图8所示,该方法包括如下步骤。
步骤810,以第一观察范围显示虚拟场景对应的场景画面。
其中,虚拟场景中包括多个社交帐号分别对应的社交虚拟对象,其中包括终端登录的第一社交帐号对应的第一社交对象。
示意性的,第一观察范围是指以终端登录的第一社交帐号对应的第一社交对象对应的第三人称视角下对虚拟场景进行观察的视角范围。
可选地,第一社交对象位于当前以第一观察范围显示虚拟场景对应的场景画面中;或者,第一社交对象位于当前以第一观察范围显示虚拟场景对应的场景画面外,对此不加以限定。
在一些实施例中,在虚拟场景中每个社交帐号可控制至少一个社交虚拟对象。
可选地,虚拟场景中的每个社交虚拟对象存在相同虚拟形象的社交虚拟对象;或者,虚拟场景中的每个社交虚拟对象皆为不同虚拟形象的社交虚拟对象,对此不加以限定。
步骤820,响应于接收到第二社交帐号发送的社交消息,显示消息导航器。
其中,第二社交帐号对应的第二社交对象处于第一观察范围外,消息导航器用于指示接收到处于第一观察范围外的社交虚拟对象对应的社交帐号发送的社交消息。
示意性的,处于虚拟场景中的社交虚拟对象对应的社交帐号皆可发送社交消息,其中,社交消息包括发送图片、视频、文字动态、语音等消息类型中至少一种。
本实施例中,不仅能够接收处于第一观察范围内的社交帐号发送的社交消息,还能接收 到处于第一观察范围外的社交帐号发送的社交消息。
示意性的,请参考图9,其示出了本申请一个示例性实施例提供的社交帐号位置示意图,如图9所示,当前以第一观察范围显示虚拟场景对应的场景画面900,场景画面中包括四个社交帐号对应的社交虚拟对象(对象901、对象902、对象903和对象904),此外,处于第一观察范围外的虚拟场景中还存在两个社交帐号对应的社交对象(对象905和对象906),此时,对象905发送了一条社交消息9051,该社交消息9051为“发送了一张图片”,对象906发送了一条社交消息(仅显示社交消息的提示信息)。
本实施例中,当接收到位于第一观察范围外的第二社交对象对应的第二社交帐号发送的社交消息,且此前未接收到其他社交帐号发送的社交消息的情况下,在第一观察范围对应场景画面中显示消息导航器,且在消息导航器中显示第二社交对帐号对应的帐号标识和帐号数量(数量为1,表示当前仅接收到一个社交帐号发送的社交消息)。
步骤830,响应于接收到第三社交帐号发送的社交消息,基于第二社交帐号和第三社交帐号分别发送社交消息对应的发送顺序,在消息导航器中依次显示第二社交帐号和第三社交帐号分别对应的帐号标识。
其中,第三社交帐号对应的第三社交对象处于第一观察范围外。
示意性的,当接收到第二社交帐号发送的社交消息后显示消息导航器的过程中,还接收到第三社交帐号发送社交消息。也即,第三社交帐号发送社交消息的时刻晚于第二社交帐号发送社交消息的时刻。
可选地,第三社交帐号对应的第三社交对象与第二社交对象处于同一观察范围(即第二观察范围);或者,第三社交对象和第二社交对象处于不同的观察范围(第三社交对象处于第三观察范围)。
本实施例中,当接收到第三社交帐号发送的社交消息时,由于第三社交帐号发送社交消息的时刻晚于第二社交帐号发送社交消息的时刻,此时第一观察范围对应的场景画面中已显示有消息导航器,因此,在消息导航器中增加显示第三社交帐号对应的社交标识,并且第三社交帐号对应的帐号标识位于第二社交帐号的帐号标识之后。此外,消息导航器中的帐号数量的数值“增加1”,变为2,且消息导航器由于从容纳显示一个帐号标识变为容纳显示两个帐号标识,因此消息导航器的控件长度相应增长。
示意性的,请参考图10,其示出了本申请一个示例性实施例提供的消息导航器显示示意图,如图10所示,当前以第一观察范围显示虚拟场景对应的场景画面1000,当前已先后接收到且未读的第二社交帐号发送的社交消息和第三社交帐号发送社交消息,且当前在场景画面1000中已存在消息导航器1010,因此在消息导航器1010中的第二社交帐号的帐号标识之后增加显示第三社交帐号的帐号标识1011,且消息导航器1010中的帐号数量变为“2”。另外,消息导航器1010的控件长度也对应增长。
在一个可选的情况下,在接收到且未读第三社交帐号发送社交消息后,还存在接收到第四社交帐号发送的社交消息。其中,第四社交帐号对应的第四社交对象也为处于第一观察范围外的社交虚拟对象。
在一些实施例中,响应于接收到处于第一观察范围外的第四社交帐号发送的社交消息,且当前消息导航器中显示的帐号标识的数量达到数量阈值,在消息导航器中隐藏显示第四社交帐号对应的帐号标识。
示意性的,数量阈值用于表示当前消息导航器中可同时显示的帐号标识的最大数量。
示意性的,若当前消息导航器中显示的帐号标识的数量已达到饱和状态,当接收到第四社交帐号发送的社交消息时,在消息导航器中不再显示第四社交帐号对应的帐号标识,仅在消息导航器中增加帐号数量的数值,如:当前接收到第二社交帐号和第三社交帐号分别发送的社交消息,因此帐号数量为“2”,当接收到第四社交帐号发送的社交消息后,帐号数量增加显示为“3”。
在一些实施例中,响应于接收到处于第一观察范围外的第四社交帐号发送的社交消息,且当前消息导航器中显示的帐号标识数量未达到数量阈值,在消息导航器中显示第四社交帐号对应的帐号标识。
示意性的,若接收到第四社交帐号发送的社交消息时(且第四社交帐号发送社交消息的时刻晚于第三社交帐号发送社交消息的时刻),当前消息导航器中显示的帐号标识数量未达到数量阈值,则在消息导航器中,在第三社交帐号对应的帐号标识之后显示第四社交帐号对应的帐号标识,并增加消息导航器中的帐号数量的数值(增加为“3”)。
示意性的,请参考图11,其示出了本申请一个示例性实施例提供的消息导航器显示示意图,如图11所示,当前以第一观察范围显示虚拟场景对应的场景画面1100,当前已接收到且未读第二社交帐号和第三社交帐号分别发送的社交消息,因此当前消息导航器1110中显示第二社交帐号和第三社交帐号分别对应的帐号标识,帐号数量为“2”,当接收到第四社交帐号发送的社交消息后,当前消息导航器1110中显示的帐号标识的数量未达到数量阈值,因此,在消息导航器1110中在第三社交帐号对应的帐号标识之后显示第四社交帐号对应的帐号标识1111,并显示显示帐号数量增加为“3”,此外消息导航器1110的控件长度也对应增长一个帐号标识的长度。
本实施例中,消息导航器中显示的帐号标识的排列顺序与各社交帐号发送社交消息的时刻先后对应。
值得注意的是,上述仅针对当前以第一观察范围显示虚拟场景对应的场景画面的过程中接收处于第一观察范围外的各社交帐号发送的社交消息的情况进行说明,本申请中,针对后续以第二观察范围显示虚拟场景对应的场景画面的情况下接收到处于第二观察范围外的各社交帐号发送的社交消息时,消息导航器的显示内容与上述显示方式保持一致,针对其他观察范围的情况也一致,后续不再赘述。
步骤840,响应于接收到对消息导航器的触发操作,显示场景移动动画。
其中,场景移动动画是指对虚拟场景的观察范围从第一观察范围转移至第二观察范围的动画,第二社交对象处于第二观察范围内。
在一些实施例中,响应于接收到对消息导航器的长按操作,且长按操作的操作时长达到预设时间阈值,在以第一观察范围显示虚拟场景对应的场景画面中显示消息预览列表,消息预览列表中包括第二社交帐号对应的消息预览标识;响应于接收到对消息预览标识的触发操作,显示场景移动动画。
在一个可实现的情况下,消息预览列表用于表示当前接收到的且未读的所有的社交帐号发送的社交消息,其中,消息预览标识中包含每个社交帐号分别对应的帐号标识,帐号名称和社交消息数量。当接收到对第二社交帐号对应的消息预览标识的触发操作后,显示场景移动动画。
示意性的,请参考图12,其示出了本申请一个示例性实施例提供的消息预览列表示意图,如图12所示,当前以第一观察范围显示虚拟场景对应的场景画面1200,当依次接收到第二社交帐号、第三社交帐号和第四社交帐号分别发送的社交消息(且未读),当前显示消息导航器1210,当接收到对消息导航器1210的长按操作,其该长按操作的操作时长到达预设时间阈值,在当前场景画面1200中显示消息预览列表1220,其中,消息预览列表1220中过包括第二社交帐号对应的消息预览标识1230,第三社交帐号对应的消息预览标识以及第四社交帐号对应的消息预览标识。其中,第二社交帐号对应的消息预览标识1230中包括帐号标识1231(头像)、帐号名称1232(“小甜心”)和社交消息数量1233(“3条新消息”)。
步骤850,响应于接收到对消息导航器的触发操作,在消息导航器中取消显示第二社交帐号对应的帐号标识,并将第三社交帐号对应的帐号标识移动至第二社交帐号对应的帐号标识对应的位置进行显示。
其中,消息导航器的控件长度与帐号标识数量相关。
示意性的,若以第一观察范围显示虚拟场景对应的场景画面的过程中,先后接收到第二社交帐号和第三社交帐号分别发送的社交消息,因此在对消息导航器进行触发操作后,取消显示第二社交帐号对应的帐号标识,并将第三社交帐号对应的帐号标识向第二社交帐号对应的帐号标识的位置进行移动,最终在第二社交帐号对应的帐号标识的位置处显示第三社交帐号对应的帐号标识。此外,消息导航器的控件长度缩短一个帐号标识的长度。
在一些实施例中,消息导航器的控件长度与帐号标识数量成正相关。
示意性的,请参考图13,其示出了本申请一个示例性实施例提供的帐号标识显示方式示意图,如图13所示,以第一观察范围显示虚拟场景对应的场景画面1300,当先后接收到第二社交帐号、第三社交帐号和第四社交帐号分别发送的社交消息,在场景画面1300中显示消息导航器1310,其中,消息导航器1310中包括第二社交帐号对应的帐号标识1311、第三社交帐号对应的帐号标识1312、第四社交帐号对应的帐号标识1313以及帐号数量“3”(该情况下,数量阈值为“3”,因此三个帐号标识均可以显示)。
当接收到对消息导航器1310的触发操作,显示场景移动动画,当场景移动动画显示完毕后,以第二观察范围显示虚拟场景对应的场景画面1320,其中,场景画面1320中包括第二社交对象1321,以及社交消息对应的提示信息1322。此外,当接收到对消息导航器1310的触发操作,在消息导航器1310中取消显示第二社交帐号对应的帐号标识1311,并将第三社交帐号对应的帐号标识1312向前移动,最终,在消息导航器1310中显示第三社交帐号对应的帐号标识1312,第四社交帐号对应的帐号标识1313以及帐号数量“2”。此外,场景画面1320中的消息导航器1310的控件长度比场景画面1300中的消息导航器1310的控件长度短一个帐号标识的长度。
在一个可实现的情况下,还存在接收到第四社交帐号发送的社交消息,但消息导航器中显示的帐号标识数量达到数量阈值,因此不显示第四社交帐号对应的帐号标识的情况。也即,响应于接收到处于第一观察范围外的第四社交帐号发送的社交消息,且当前消息导航器中显示的帐号消失的数量达到数量阈值,更新显示消息导航器中的帐号数量。
在一些实施例中,响应于接收到对消息导航器的触发操作,在消息导航器中取消显示第二社交帐号对应的帐号标识,并在消息导航器中显示第四社交帐号对应的帐号标识。
本实施例中,当接收到对消息导航器的触发操作后,在消息导航器中取消显示第二社交帐号对应的帐号标识,并使得消息导航器中剩下的社交帐号对应的帐号标识向前移动,从而空出一个槽位显示第四社交帐号对应的帐号标识。
示意性的,请参考图14,其示出了本申请一个示例性实施例提供的帐号标识显示方式示意图,如图14所示,以第一观察范围显示虚拟场景对应的场景画面1400,当先后接收到多个社交帐号(包括第二社交帐号和第四社交帐号)分别发送的社交消息,在场景画面1400中显示消息导航器1410,其中,消息导航器1410中包括第二社交帐号对应的帐号标识1411以及帐号数量“4”,由于当前消息导航器1410中已显示有三个社交帐号分别对应的帐号标识,因此第四社交帐号对应的帐号标识未在消息导航器1410中进行显示。
当接收到对消息导航器1410的触发操作,显示场景移动动画,当场景移动动画显示完毕后,以第二观察范围显示虚拟场景对应的场景画面1420,其中,场景画面1420中包括第二社交对象1421,以及社交消息对应的提示信息1422。此外,在消息导航器1410中,取消显示第二社交帐号对应的帐号标识1411,并将其他社交帐号对应的帐号标识向前移动,在消息导航器中最末尾处空余出一个槽位,在该槽位中显示第四社交帐号对应的帐号标识1412。最终,在消息导航器1410中显示其他社交帐号对应的帐号标识、第四社交帐号对应的帐号标识1412以及帐号数量“3”。此外,场景画面1420中的消息导航器1410的控件长度与场景画面1400中的消息导航器1410的控件长度相等。
通过上述内容可知,当对虚拟场景的观察范围转移到发送社交消息的社交帐号对应的社交虚拟对象所处的观察范围内时,消息导航器中对应取消显示该社交帐号对应的帐号标识, 并根据消息导航器中剩下的社交帐号发送社交消息的时刻顺序进行依次排序。
步骤860,响应于场景移动动画播放完毕,以第二观察范围显示虚拟场景对应的场景画面。
其中,第二社交对象对应的指定区域显示有社交消息对应的提示信息。
步骤860中关于社交消息和提示信息的内容已在上述实施例中进行详细说明,此处不再赘述。
在一个可选的情况下,在消息导航器中显示多个发送社交消息的社交帐号分别对应的帐号标识的情况下,可针对不同的帐号标识进行触发操作。
在一个可选的示例中,响应于接收到对多个帐号标识分别对应的触发操作,确定多个帐号标识分别对应的触发顺序;基于触发顺序,显示多维场景移动动画,其中,多维场景移动移动动画是指按照触发顺序,将对虚拟场景的观察范围从第一观察范围依次且连续转移至多个社交帐号分别对应的社交虚拟对象所处的观察范围。
本示例中,通过依次对消息导航器中的多个帐号标识进行触发操作,确定多个帐号标识分别对应的触发时刻的顺序,根据触发时刻的顺序,显示观察范围从第一观察范围开始,依次转移到前述各帐号标识对应的社交帐号对应的社交虚拟对象所处的观察范围内,作为多维场景移动动画。
在一个示例中,消息导航器中包括帐号A对应的帐号标识1(帐号A对应对象a,对象a处于第二观察范围内)、帐号B对应的帐号标识2(帐号B对应对象b,对象b处于第三观察范围内)和帐号C对应的帐号标识3(帐号C对应对象c,对象c处于第四观察范围内)。
当接收到依次对帐号标识2、帐号标识3和帐号标识1分别对应的触发操作,根据触发操作的顺序,显示对虚拟场景的观察范围由第一观察范围先转移至第三观察范围内,在从第三观察范围转移至第四观察范围内,最终转移到第二观察范围内对应的多维场景移动动画。其中,在多维场景移动动画的播放过程中,用户可以根据实际需要暂停动画播放,并显示当前暂停时所转移到的观察范围对应的场景画面。
综上所述,本申请实施例提供的消息显示方法,当前以第一观察范围显示虚拟场景对应的场景画面,当接收到第二社交帐号发送的社交消息时,显示消息导航器,当接收到对消息导航器的触发操作,显示从第一观察范围转移至第二观察范围对应的场景移动动画,并以第二观察范围显示虚拟场景对应的场景画面,其中,当前场景画面中包括第二社交对象。也即,当控制处于第一观察范围外的第二社交对象对应的第二社交帐号发送社交消息时,通过触发消息导航器的方式,能够自动将对虚拟场景的观察范围转移到第二社交对象所处的观察范围内,实现一步定位第二社交对象位于虚拟场景中的位置,避免了用户在虚拟场景中多次调整观察范围用于寻找第二社交对象,提高了消息显示效率,也降低了计算机的数据开销。
本实施例中,通过按照接收社交帐号发送的社交消息的发送顺序,在消息导航器中依次显示各社交帐号分别对应的帐号标识,能够更具体的显示社交消息的发送时间,提高消息显示的准确度。
本实施例中,预设帐号标识对应的数量阈值,能够使得消息导航器的控件长度稳定在一个固定范围内,提高消息导航器的美观性。
本实施例中,当以第二观察范围显示虚拟场景对应的场景画面后,取消显示第二社交帐号对应的帐号标识,并移动剩下的社交帐号对应的帐号标识,能够提高消息提示的效率和准确度。
本实施例中,通过显示消息预览列表从而对第二社交对象的消息预览标识进行触发操作,能够使得用户预览了当前接收到的社交帐号发送的社交消息后再确定是否需要获取第二社交帐号发送的社交消息,提高了消息显示的内容丰富度。
在一个可选的实施例中,以消息显示方法应用于社交类游戏为例进行说明,示意性的, 请参考图15,其示出了本申请一个示例性实施例提供的消息显示方法流程图,如图15所示,该方法包括如下步骤。
步骤1510,接收社交消息。
示意性的,以第一观察范围显示虚拟社交场景对应的场景画面,虚拟社交场景中包括多个社交帐号分别对应的社交虚拟对象。
当终端接收到存在处于第一观察范围外的第二社交帐号发送的社交消息(或者存在第一观察范围外产生了新消息)时,触发导航器机制。对当前场景画面中的消息导航器的存在情况进行判断,若不存在消息导航器,则执行步骤1520,若存在消息导航器,则执行步骤1530。
步骤1520,显示消息导航器。
由于当前未接收到处于第一观察范围外的其他社交帐号发送的社交消息(或不存在第一观察范围外产生了新消息)时,在场景画面中显示消息导航器。其中,消息导航器中包含第二社交帐号对应的帐号标识,以及帐号数量“1”。
步骤1530,显示消息导航器中帐号数量的增值变化。
若当前场景画面中已显示有消息导航器,则在消息导航器中显示帐号数量的增值变化,具体实现为增加“1”(如:原本帐号数量为“3”的话,则增值变化后为“4”)。
根据当前消息导航器中当前已显示的帐号标识,对帐号标识区域进行操作。
由于消息导航器中展示帐号标识的数量存在上限,本实施例中设置数量阈值为3,若原有帐号标识数量未达到数量阈值,则执行步骤1540,若原有帐号标识数量已达到数量阈值,则执行步骤1550。
步骤1540,消息导航器控件长度增加,且社交帐号对应的帐号标识显示在最左。
若原有消息导航器中显示的帐号标识数量未达到3个,则将第二社交帐号对应的帐号标识显示在消息导航器的最左侧,表明当前第二社交帐号发送的社交消息是最新发送的消息。并且当前消息导航器中的控件长度将增加一个帐号标识的长度。
步骤1550,社交帐号对应的帐号标识显示在最左,隐藏原最右侧的帐号标识。
若原有消息导航器中显示的帐号标识数量已达到3个,则将第二社交帐号对应的帐号标识显示在消息导航器的最左侧,将原先显示在消息导航器中的帐号标识依次向右移动一个帐号标识的位置,并隐藏原先位于消息导航器中最右侧的帐号标识。
也即,当前消息导航器中帐号标识从左往右的排列顺序与该社交帐号发送社交消息的发送时间远近对应。
步骤1560,接收对消息导航器的触发操作。
用户可以通过点击消息导航器,触发定位显示功能。
步骤1570,显示场景移动动画。
根据用户对消息导航器的点击操作,显示由第一观察范围转移到发送社交性消息最近的第二社交帐号对应的第二社交对应所处的第二观察范围。
步骤1580,显示消息导航器中帐号数量减值般变化。
当场景移动动画播放的过程中,消息导航器中显示内容也随之发生变化。
首先是在场景移动动画播放完毕后,消息导航器中显示的帐号数量将发生减值,如:原本帐号数量为“3”,场景移动动画播放完毕后,帐号数量为“2”。根据当前减值后的数字判断消息导航器中帐号标识所对应的显示变化。
步骤1590,取消显示消息导航器。
若减值后的帐号数量为“0”,则在第二观察范围对应的场景画面中取消显示消息导航器。
步骤15100,消息导航器最左侧的帐号标识取消显示,并缩短控件长度。
若减值后的帐号数量小于3,即为1或2,则首先隐藏位于消息导航器最左侧的第二社交帐号对应的帐号标识,并将消息导航器的控件长度缩短一个帐号标识的长度。
步骤15110,消息导航器最左侧的帐号标识取消显示,右侧帐号标识向左移动,并显示最 早接收到的社交帐号对应的帐号标识。
若减值后的帐号数量大于或者等于3,则首先隐藏位于消息导航器最左侧的第二社交帐号对应的帐号标识,并将当前消息导航器中显示的其他帐号标识向左依次移动一个帐号标识的距离,最终在消息导航器的最右侧重新显示最早发送社交消息的社交帐号对应的帐号标识。
综上所述,本申请实施例提供的消息显示方法,当前以第一观察范围显示虚拟场景对应的场景画面,当接收到第二社交帐号发送的社交消息时,显示消息导航器,当接收到对消息导航器的触发操作,显示从第一观察范围转移至第二观察范围对应的场景移动动画,并以第二观察范围显示虚拟场景对应的场景画面,其中,当前场景画面中包括第二社交对象。也即,当控制处于第一观察范围外的第二社交对象对应的第二社交帐号发送社交消息时,通过触发消息导航器的方式,能够自动将对虚拟场景的观察范围转移到第二社交对象所处的观察范围内,实现一步定位第二社交对象位于虚拟场景中的位置,避免了用户在虚拟场景中多次调整观察范围用于寻找第二社交对象,提高了消息显示效率,也降低了计算机的数据开销。
示意性的,请参考图16,其示出了本申请一个示例性实施例提供的消息显示方法时序图,如图16所示,该方法包括如下内容。
首先,当前时序图中包括用户层1610、客户端表现层1620以及后台逻辑层1630,其中,用户层1610实现为终端向用户展示的画面内容,客户端表现层1620用于将服务器生成的数值渲染在终端界面上,后台逻辑层1630实现为进行代码设置与处理。
首先,当后台逻辑层1630接收到位于第一观察范围外其他社交帐号发送的社交消息后,生成该社交帐号对应的帐号标识,以及该社交帐号对应社交虚拟对象在虚拟场景中的位置信息,发送至客户端表现层1620。
客户端表现层1620根据接收到的帐号标识和位置信息,判断当前场景画面中是否存在消息导航器。若不存在消息导航器,则在场景画面中向用户层1610展示消息导航器;若已存在消息导航器,则在场景画面中向用户层1610更新消息导航器的显示内容(如:更新显示的帐号标识和帐号数量)。
玩家可以通过用户层1610对消息导航器进行触发操作,将触发操作发送至客户端表现层1620中,客户端表现层1620根据触发操作,向用户层1610显示场景移动动画,并更新当前消息导航器对应的显示内容。根据更新后的显示内容确定帐号数量是否为0,若帐号数量为0,则向用户层1610展示在转移后的场景画面中取消显示定位导航器。
综上所述,本申请实施例提供的消息显示方法,当前以第一观察范围显示虚拟场景对应的场景画面,当接收到第二社交帐号发送的社交消息时,显示消息导航器,当接收到对消息导航器的触发操作,显示从第一观察范围转移至第二观察范围对应的场景移动动画,并以第二观察范围显示虚拟场景对应的场景画面,其中,当前场景画面中包括第二社交对象。也即,当控制处于第一观察范围外的第二社交对象对应的第二社交帐号发送社交消息时,通过触发消息导航器的方式,能够自动将对虚拟场景的观察范围转移到第二社交对象所处的观察范围内,实现一步定位第二社交对象位于虚拟场景中的位置,避免了用户在虚拟场景中多次调整观察范围用于寻找第二社交对象,提高了消息显示效率,也降低了计算机的数据开销。
本申请提供的消息显示方法能够解决虚拟场景中查找特定虚拟对象的痛点,通过提供清晰易用的定位显示功能,简便了用户的操作体验,提高了消息显示的使用效率。同时本申请提供的方案的开发成本和性能要求不高,性价比较高。
图17是本申请一个示例性实施例提供的消息显示装置的结构框图,如图17所示,该装置包括如下部分:
第一显示模块1710,用于以第一观察范围显示虚拟场景对应的场景画面,所述虚拟场景中包括多个社交帐号分别对应的社交虚拟对象,其中包括终端登录的第一社交帐号对应的第一社交对象;
所述第一显示模块1710,还用于响应于接收到第二社交帐号发送的社交消息,显示消息导航器,所述第二社交帐号对应的第二社交对象处于所述第一观察范围外,所述消息导航器用于指示接收到处于所述第一观察范围外的社交虚拟对象对应的社交帐号发送的社交消息;
第二显示模块1720,用于响应于接收到对所述消息导航器的触发操作,以第二观察范围显示所述虚拟场景对应的场景画面,其中,所述第二社交对象处于所述第二观察范围内,所述第二社交对象对应的指定区域显示有所述社交消息对应的提示信息。
在一些实施例中,所述第一显示模块,还用于响应于接收到对所述消息导航器的触发操作,显示场景移动动画,所述场景移动动画是指对所述虚拟场景的观察范围从所述第一观察范围转移至所述第二观察范围的动画;
所述第二显示模块,用于响应于场景移动动画播放完毕,以所述第二观察范围显示所述虚拟场景对应的场景画面。
在一些实施例中,如图18所示,所述第一显示模块1710,包括:
确定单元1711,用于确定所述第二社交对象位于所述虚拟场景中的目标位置;
显示单元1712,用于显示所述虚拟场景的观察范围从所述第一观察范围朝所述目标位置对应的方向转移,直至转移至所述第二观察范围的所述场景移动动画。
在一些实施例中,所述第二显示模块1720,还用于响应于未接收到处于所述第二观察范围外的社交虚拟对象对应的社交帐号发送的社交消息,在以所述第二观察范围显示的所述虚拟场景对应的场景画面中取消显示所述消息导航器。
在一些实施例中,所述消息导航器中包括发送所述社交消息的社交帐号对应的帐号标识和帐号数量,所述帐号数量与当前接收且未读的社交消息对应的社交帐号数量对应。
在一些实施例中,所述第一显示模块1710,还用于响应于接收到第三社交帐号发送的社交消息,基于所述第二社交帐号和所述第三社交帐号分别发送所述社交消息对应的发送顺序,在所述消息导航器中依次显示所述第二社交帐号和所述第三社交帐号分别对应的帐号标识,所述第三社交帐号对应的第三社交对象处于所述第一观察范围外。
在一些实施例中,所述第三社交帐号发送所述社交消息的时刻晚于所述第二社交帐号发送所述社交消息的时刻;
所述第二显示模块1720,还用于响应于接收到对所述消息导航器的触发操作,在所述消息导航器中取消显示所述第二社交帐号对应的帐号标识,并将所述第三社交帐号对应的帐号标识移动至所述第二社交帐号对应的帐号标识对应的位置进行显示,所述消息导航器的控件长度与所述帐号数量相关。
在一些实施例中,所述第一显示模块1710,还用于响应于接收到处于第一观察范围外的第四社交帐号发送的社交消息,且当前所述消息导航器中显示的帐号标识的数量达到数量阈值,在所述消息导航器中隐藏显示所述第四社交帐号对应的帐号标识;
所述第二显示模块1720,还用于响应于接收到对所述消息导航器的触发操作,在所述消息导航器中取消显示所述第二社交帐号对应的帐号标识,并在所述消息导航器中显示所述第四社交帐号对应的帐号标识。
在一些实施例中,所述第一显示模块1710,还用于响应于接收到处于第一观察范围外的所述第四社交帐号发送的社交消息,且当前所述消息导航器中显示的帐号标识的数量未达到所述数量阈值,在所述消息导航器中显示所述第四社交帐号对应的帐号标识;响应于接收到处于第一观察范围外的所述第四社交帐号发送的社交消息,且当前所述消息导航器中显示的帐号标识的数量达到所述数量阈值,更新显示所述消息导航器中的帐号数量。
在一些实施例中,所述第二显示模块1720,还用于响应于接收到对所述提示信息的触发操作,显示所述社交消息对应的消息内容,并显示所述第二社交对象的社交动画,所述社交动画是指与所述消息内容对应的动画。
在一些实施例中,所述第一显示模块1710,还用于响应于接收到对所述消息导航器的长 按操作,在以所述第一观察范围显示的场景画面中显示消息预览列表,所述消息预览列表中包括所述第二社交帐号对应的消息预览标识;响应于接收到对所述消息预览标识的触发操作,显示所述场景移动动画。
比如,所述第一显示模块1710,还用于响应于接收到对所述消息导航器的长按操作,且所述长按操作的操作时长达到预设时间阈值,在以所述第一观察范围显示虚拟场景对应的场景画面中显示消息预览列表,所述消息预览列表中包括所述第二社交帐号对应的消息预览标识;响应于接收到对所述消息预览标识的触发操作,显示所述场景移动动画。
在一些实施例中,所述消息导航器中显示多个发送所述社交消息的社交帐号分别对应的帐号标识;
所述装置,还包括:
确定模块1730,用于响应于接收到对所述多个帐号标识分别对应的触发操作,确定所述多个帐号标识分别对应的触发顺序;
所述第二显示模块1720,还用于基于所述触发顺序,显示多维场景移动动画,其中,多维场景移动移动动画是指按照所述触发顺序,将对所述虚拟场景的观察范围从所述第一观察范围依次且连续转移至多个社交帐号分别对应的社交虚拟对象所处的观察范围。
也就是说,第二显示模块1720,还用于基于所述触发顺序,将对所述虚拟场景的观察范围从所述第一观察范围依次转移至多个社交帐号分别对应的社交虚拟对象所处的观察范围。
综上所述,本申请实施例提供的消息显示装置,当前以第一观察范围显示虚拟场景对应的场景画面,当接收到第二社交帐号发送的社交消息时,显示消息导航器,当接收到对消息导航器的触发操作,显示从第一观察范围转移至第二观察范围对应的场景移动动画,并以第二观察范围显示虚拟场景对应的场景画面,其中,当前场景画面中包括第二社交对象。也即,当控制处于第一观察范围外的第二社交对象对应的第二社交帐号发送社交消息时,通过触发消息导航器的方式,能够自动将对虚拟场景的观察范围转移到第二社交对象所处的观察范围内,实现一步定位第二社交对象位于虚拟场景中的位置,避免了用户在虚拟场景中多次调整观察范围用于寻找第二社交对象,提高了消息显示效率,也降低了计算机的数据开销。
需要说明的是:上述实施例提供的消息显示装置,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的消息显示装置与消息显示方法实施例属于同一构思,其具体实现过程详见方法实施例,此处不再赘述。
图19示出了本申请一个示例性实施例提供的终端1900的结构框图。该终端1900可以是:智能手机、平板电脑、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、笔记本电脑或台式电脑。终端1900还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。
通常,终端1900包括有:处理器1901和存储器1902。
处理器1901可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1901可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1901也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1901可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1901还可以包括AI(Artificial Intelligence, 人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器1902可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器1902还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1902中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器1901所执行以实现本申请中方法实施例提供的基于虚拟对局的控制方法。
在一些实施例中,终端1900还包括其他组件,本领域技术人员可以理解,图19中示出的结构并不构成对终端1900的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,该计算机可读存储介质可以是上述实施例中的存储器中所包含的计算机可读存储介质;也可以是单独存在,未装配入终端中的计算机可读存储介质。该计算机可读存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现上述实施例中任一所述的消息显示方法。
可选的,该计算机可读存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、固态硬盘(SSD,Solid State Drives)或光盘等。其中,随机存取记忆体可以包括电阻式随机存取记忆体(ReRAM,Resistance Random Access Memory)和动态随机存取存储器(DRAM,Dynamic Random Access Memory)。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。

Claims (20)

  1. 一种消息显示方法,所述方法由电子设备执行,所述方法包括:
    以第一观察范围显示虚拟场景对应的场景画面,所述虚拟场景中包括多个社交帐号分别对应的社交虚拟对象,其中包括终端登录的第一社交帐号对应的第一社交对象;
    响应于接收到第二社交帐号发送的社交消息,显示消息导航器,所述第二社交帐号对应的第二社交对象处于所述第一观察范围外,所述消息导航器用于指示接收到处于所述第一观察范围外的社交虚拟对象对应的社交帐号发送的社交消息;
    响应于接收到对所述消息导航器的触发操作,以第二观察范围显示所述虚拟场景对应的场景画面,其中,所述第二社交对象处于所述第二观察范围内,所述第二社交对象对应的指定区域显示有所述社交消息对应的提示信息。
  2. 根据权利要求1所述的方法,响应于接收到对所述消息导航器的触发操作,以第二观察范围显示所述虚拟场景对应的场景画面,包括:
    响应于接收到对所述消息导航器的触发操作,显示场景移动动画,所述场景移动动画是指对所述虚拟场景的观察范围从所述第一观察范围转移至所述第二观察范围的动画;
    响应于场景移动动画播放完毕,以所述第二观察范围显示所述虚拟场景对应的场景画面。
  3. 根据权利要求2所述的方法,所述显示场景移动动画,包括:
    确定所述第二社交对象位于所述虚拟场景中的目标位置;
    显示所述虚拟场景的观察范围从所述第一观察范围朝所述目标位置对应的方向转移,直至转移至所述第二观察范围的所述场景移动动画。
  4. 根据权利要求1至3任一所述的方法,所述以第二观察范围显示所述虚拟场景对应的场景画面之后,还包括:
    响应于未接收到处于所述第二观察范围外的社交虚拟对象对应的社交帐号发送的社交消息,在以所述第二观察范围显示的所述场景画面中取消显示所述消息导航器。
  5. 根据权利要求1至4任一所述的方法,所述消息导航器中包括发送所述社交消息的社交帐号对应的帐号标识和帐号数量,所述帐号数量与当前接收且未读的社交消息对应的社交帐号数量对应。
  6. 根据权利要求1至5任一所述的方法,所述显示消息导航器之后,还包括:
    响应于接收到第三社交帐号发送的社交消息,基于所述第二社交帐号和所述第三社交帐号分别发送所述社交消息对应的发送顺序,在所述消息导航器中依次显示所述第二社交帐号和所述第三社交帐号分别对应的帐号标识,所述第三社交帐号对应的第三社交对象处于所述第一观察范围外。
  7. 根据权利要求6所述的方法,所述第三社交帐号发送所述社交消息的时刻晚于所述第二社交帐号发送所述社交消息的时刻;
    所述方法还包括:
    响应于接收到对所述消息导航器的触发操作,在所述消息导航器中取消显示所述第二社交帐号对应的帐号标识,并将所述第三社交帐号对应的帐号标识移动至所述第二社交帐号对应的帐号标识对应的位置进行显示,所述消息导航器的控件长度与所述帐号数量相关。
  8. 根据权利要求6或7所述的方法,所述方法还包括:
    响应于接收到处于第一观察范围外的第四社交帐号发送的社交消息,且当前所述消息导航器中显示的帐号标识的数量达到数量阈值,在所述消息导航器中隐藏显示所述第四社交帐号对应的帐号标识;
    所述方法还包括:
    响应于接收到对所述消息导航器的触发操作,在所述消息导航器中取消显示所述第二社交帐号对应的帐号标识,并在所述消息导航器中显示所述第四社交帐号对应的帐号标识。
  9. 根据权利要求8所述的方法,所述方法还包括:
    响应于接收到处于第一观察范围外的所述第四社交帐号发送的社交消息,且当前所述消息导航器中显示的帐号标识的数量未达到所述数量阈值,在所述消息导航器中显示所述第四社交帐号对应的帐号标识;
    响应于接收到处于第一观察范围外的所述第四社交帐号发送的社交消息,且当前所述消息导航器中显示的帐号标识的数量达到所述数量阈值,更新显示所述消息导航器中的帐号数量。
  10. 根据权利要求1至9任一所述的方法,所述以第二观察范围显示所述虚拟场景对应的场景画面之后,还包括:
    响应于接收到对所述提示信息的触发操作,显示所述社交消息对应的消息内容,并显示所述第二社交对象的社交动画,所述社交动画是指与所述消息内容对应的动画。
  11. 根据权利要求2或3所述的方法,所述显示场景移动动画,包括:
    响应于接收到对所述消息导航器的长按操作,在以所述第一观察范围显示的场景画面中显示消息预览列表,所述消息预览列表中包括所述第二社交帐号对应的消息预览标识;
    响应于接收到对所述消息预览标识的触发操作,显示所述场景移动动画。
  12. 根据权利要求1至11任一所述的方法,所述消息导航器中显示有多个发送所述社交消息的社交帐号分别对应的帐号标识;
    所述方法还包括:
    响应于接收到对所述多个帐号标识分别对应的触发操作,确定所述多个帐号标识分别对应的触发顺序;
    基于所述触发顺序,将对所述虚拟场景的观察范围从所述第一观察范围依次转移至多个社交帐号分别对应的社交虚拟对象所处的观察范围。
  13. 一种消息显示装置,所述装置包括:
    第一显示模块,用于以第一观察范围显示虚拟场景对应的场景画面,所述虚拟场景中包括多个社交帐号分别对应的社交虚拟对象,其中包括终端登录的第一社交帐号对应的第一社交对象;
    所述第一显示模块,还用于响应于接收到第二社交帐号发送的社交消息,显示消息导航器,所述第二社交帐号对应的第二社交对象处于所述第一观察范围外,所述消息导航器用于指示接收到处于所述第一观察范围外的社交虚拟对象对应的社交帐号发送的社交消息;
    第二显示模块,用于响应于接收到对所述消息导航器的触发操作,以第二观察范围显示所述虚拟场景对应的场景画面,其中,所述第二社交对象处于所述第二观察范围内,所述第二社交对象对应的指定区域显示有所述社交消息对应的提示信息。
  14. 根据权利要求13所述的装置,
    所述第一显示模块,还用于响应于接收到对所述消息导航器的触发操作,显示场景移动 动画,所述场景移动动画是指对所述虚拟场景的观察范围从所述第一观察范围转移至所述第二观察范围的动画;
    所述第二显示模块,用于响应于场景移动动画播放完毕,以所述第二观察范围显示所述虚拟场景对应的场景画面。
  15. 根据权利要求14所述的装置,所述第一显示模块,包括:
    确定单元,用于确定所述第二社交对象位于所述虚拟场景中的目标位置;
    显示单元,用于显示所述虚拟场景的观察范围从所述第一观察范围朝所述目标位置对应的方向转移,直至转移至所述第二观察范围的所述场景移动动画。
  16. 根据权利要求13至15任一所述的装置,所述第二显示模块,还用于响应于未接收到处于所述第二观察范围外的社交虚拟对象对应的社交帐号发送的社交消息,在以所述第二观察范围显示的所述场景画面中取消显示所述消息导航器。
  17. 根据权利要求13至16任一所述的装置,所述消息导航器中包括发送所述社交消息的社交帐号对应的帐号标识和帐号数量,所述帐号数量与当前接收且未读的社交消息对应的社交帐号数量对应。
  18. 一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一段程序,所述至少一段程序由所述处理器加载并执行以实现如权利要求1至12任一所述的消息显示方法。
  19. 一种计算机可读存储介质,所述存储介质中存储有至少一段程序,所述至少一段程序由处理器加载并执行以实现如权利要求1至12任一所述的消息显示方法。
  20. 一种计算机程序产品,包括计算机指令,所述计算机指令被处理器执行时实现如权利要求1至12任一所述的消息显示方法。
PCT/CN2023/113751 2022-09-16 2023-08-18 消息显示方法、装置、设备、介质及程序产品 WO2024055811A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211129840.9 2022-09-16
CN202211129840.9A CN117753004A (zh) 2022-09-16 2022-09-16 消息显示方法、装置、设备、介质及程序产品

Publications (1)

Publication Number Publication Date
WO2024055811A1 true WO2024055811A1 (zh) 2024-03-21

Family

ID=90274175

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/113751 WO2024055811A1 (zh) 2022-09-16 2023-08-18 消息显示方法、装置、设备、介质及程序产品

Country Status (2)

Country Link
CN (1) CN117753004A (zh)
WO (1) WO2024055811A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112546625A (zh) * 2020-12-04 2021-03-26 广州博冠信息科技有限公司 游戏信息提示方法、装置、存储介质与电子设备
CN112619167A (zh) * 2020-12-21 2021-04-09 网易(杭州)网络有限公司 一种信息处理的方法、装置、计算机设备和介质
CN113398565A (zh) * 2021-07-15 2021-09-17 网易(杭州)网络有限公司 游戏控制的方法、装置、终端和存储介质

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112546625A (zh) * 2020-12-04 2021-03-26 广州博冠信息科技有限公司 游戏信息提示方法、装置、存储介质与电子设备
CN112619167A (zh) * 2020-12-21 2021-04-09 网易(杭州)网络有限公司 一种信息处理的方法、装置、计算机设备和介质
CN113398565A (zh) * 2021-07-15 2021-09-17 网易(杭州)网络有限公司 游戏控制的方法、装置、终端和存储介质

Also Published As

Publication number Publication date
CN117753004A (zh) 2024-03-26

Similar Documents

Publication Publication Date Title
US10086279B2 (en) Cross-realm zones for interactive gameplay
JP5987060B2 (ja) ゲームシステム、ゲーム装置、制御方法、プログラム及び記録媒体
US20110118033A1 (en) Synchronizing mission progress in peer-to-peer cooperative games
US9256896B2 (en) Virtual universe rendering based on prioritized metadata terms
CN111672111A (zh) 界面显示方法、装置、设备及存储介质
US20170054662A1 (en) Systems and methods for facilitating gameplay within messaging feeds
CN113348024B (zh) 建立和管理多玩家会话
KR20210105267A (ko) 게임 애플리케이션의 사용자 인터페이스 요소를 햅틱 피드백으로 트랜스크라이빙하기 위한 시스템 및 방법
JP2022540277A (ja) 仮想オブジェクト制御方法、装置、端末及びコンピュータプログラム
US20140372554A1 (en) Efficient synchronization of behavior trees using network significant nodes
CN111672122A (zh) 界面显示方法、装置、终端及存储介质
US11969649B2 (en) Prominent display of targeted game in search results
US10688399B2 (en) Group gameplay with users in proximity using a gaming platform
WO2024055811A1 (zh) 消息显示方法、装置、设备、介质及程序产品
US10668384B2 (en) System using rule based techniques for handling gameplay restrictions
WO2024067168A1 (zh) 基于社交场景的消息显示方法、装置、设备、介质及产品
KR20240149954A (ko) 메시지 디스플레이 방법, 장치, 기기, 매체 및 프로그램 제품
WO2024060914A1 (zh) 虚拟对象的生成方法、装置、设备、介质和程序产品
WO2023231557A9 (zh) 虚拟对象的互动方法、装置、设备、存储介质及程序产品
US11734893B2 (en) Curating virtual tours
US20240335749A1 (en) Virtual item sharing method and apparatus, device, and computer-readable storage medium
WO2024045806A1 (zh) 基于虚拟场景的技能获取方法、装置、设备、介质及产品
CN116943243A (zh) 基于虚拟场景的互动方法、装置、设备、介质及程序产品
CN117643728A (zh) 用于游戏对局中互动的方法和装置、计算设备及存储介质
JP2023552212A (ja) 対局決済インタフェースの表示方法、装置、機器及びコンピュータプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23864544

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 1020247030880

Country of ref document: KR