WO2024055792A1 - 虚拟社交场景中的消息预览方法、装置、电子设备、计算机可读介质及计算机程序产品 - Google Patents

虚拟社交场景中的消息预览方法、装置、电子设备、计算机可读介质及计算机程序产品 Download PDF

Info

Publication number
WO2024055792A1
WO2024055792A1 PCT/CN2023/112897 CN2023112897W WO2024055792A1 WO 2024055792 A1 WO2024055792 A1 WO 2024055792A1 CN 2023112897 W CN2023112897 W CN 2023112897W WO 2024055792 A1 WO2024055792 A1 WO 2024055792A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
unread
content
display
virtual
Prior art date
Application number
PCT/CN2023/112897
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 WO2024055792A1 publication Critical patent/WO2024055792A1/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present application relates to the fields of computer technology and human-computer interaction technology, and in particular to a message preview method, device, electronic device, computer-readable storage medium and computer program product in a virtual social scene.
  • an unread message prompt is displayed.
  • the user needs to click on the unread message item to jump to the chat details page in order to view the content of the unread message, making the human-machine interaction
  • the interaction efficiency is low. If you want to view messages sent by multiple avatars, you need to jump to multiple pages, which further reduces the efficiency of human-computer interaction.
  • Embodiments of the present application provide a message preview method, device, electronic device, computer-readable storage medium and computer program product in a virtual social scene, which can improve the efficiency of human-computer interaction and the utilization of hardware processing resources and display resources of the device. .
  • the embodiment of the present application provides a message preview method in a virtual social scene.
  • the method is executed by an electronic device and includes:
  • the virtual image can move in the virtual social scene, and by moving in the virtual social scene, the virtual image can change the relative positional relationship with other virtual images;
  • An embodiment of the present application also provides a message preview device in a virtual social scene.
  • the device includes:
  • the first display module is configured to display at least two virtual images in the page of the virtual social scene
  • the virtual image can move in the virtual social scene, and by moving in the virtual social scene, the virtual image can change the relative positional relationship with other virtual images;
  • the second display module is configured to, when receiving a message sent by the target avatar among the at least two avatars, display a message prompt control for indicating the existence of unread messages in the virtual social scene;
  • a switching module configured to switch display of the message prompt control to display the content of the unread message in response to a message preview operation on the message prompt control.
  • the switching module is further configured to cancel the display of the message prompt control when the message preview operation is a pressing operation for the message prompt control and the pressing operation satisfies the message preview condition
  • the content of the unread message is displayed at the target orientation of the target avatar.
  • the switching module is further configured to cancel the display of the content of the unread message when the pressing operation is released after displaying the content of the unread message, and display the content of the unread message in the target virtual image. Target orientation, display the message prompt control again.
  • the switching module is also configured to cancel the display of the message prompt control when the message preview operation is a triggering operation for the message prompt control
  • the content of the unread message is displayed at the target position of the target avatar, and when the display duration of the content reaches a first duration, the content of the unread message is canceled.
  • the switching module is also configured to cancel the display of the message prompt control; display a message preview box at the target orientation of the target avatar, and display the unread message in the message preview box Content.
  • the switching module is further configured to directly display the unread message in the message preview box when the display area required for the content of the unread message is not larger than the display area of the message preview box. Read the content of the message;
  • the display area required for the content of the unread message is larger than the display area of the message preview box, the content of the unread message is scrolled and displayed in the message preview box.
  • the switching module is also configured to display the first part of the unread message in the message preview box;
  • the second part of the unread message is gradually displayed, and the reception time of the second part of the content is earlier than the reception time of the first part of the content.
  • the switching module is further configured to display the first unread message and the second unread message whose reception time is adjacent among the at least two unread messages in the message preview box. the content of the first unread message, and
  • the switching module is also configured to cancel the display of the message prompt control, and when the unread message is an unread voice message, display the unread voice message in the target position of the target avatar.
  • the voice identifier of the message, and the text content after text conversion of the unread voice message are also configured to cancel the display of the message prompt control, and when the unread message is an unread voice message, display the unread voice message in the target position of the target avatar.
  • the device further includes a playback module configured to play the voice content of the unread voice message during the process of displaying the text content.
  • the first display module is further configured to display at least one virtual image that does not include the target virtual image in the page of the virtual social scene;
  • the target virtual image When a message sent by the target virtual image is received, the target virtual image is displayed on the page of the virtual social scene; the target virtual object and the at least one virtual image are determined as the at least two virtual images. image.
  • the second display module is also configured to display a quick reply control for the unread message after switching the display of the message prompt control to display the content of the unread message.
  • the quick reply Control used to implement quick replies to the unread messages.
  • the quick reply control is a voice quick reply control
  • the device further includes a message reply module configured to respond to a pressing operation on the voice quick reply control.
  • the quick reply control is a text quick reply control
  • the device further includes a message reply module configured to display a message sending box and a corresponding sending control in response to a triggering operation on the text quick reply control;
  • the edited content is sent to the target avatar.
  • the virtual social scene also includes a virtual group image corresponding to at least one social group, and the virtual group image is a three-dimensional image model used to represent the social group;
  • the second display module is further configured to, when receiving a message sent by a member of the target social group, display a message indicating the presence of the target in the target orientation of the target three-dimensional image model corresponding to the target social group.
  • the switching module is further configured to, in response to a message preview operation for the group message prompt control, switch the display of the group message prompt control to the display of the group message prompt control at the target orientation of the target three-dimensional image model. Read the content of the message.
  • the device further includes a playback module configured to play message prompt audio when the number of unread messages reaches a quantity threshold.
  • the message prompt audio is used to instruct to view all messages sent by the target avatar. Describe unread messages.
  • the device further includes a detection module configured to detect a somatosensory operation used to trigger the message prompt control when the virtual social scene is a virtual social scene based on virtual reality, and determine the somatosensory operation. Preview operations for the message; or,
  • the target position is the display position of the message prompt control in the virtual social scene.
  • An embodiment of the present application also provides an electronic device, including:
  • memory configured to store executable instructions
  • the processor is configured to implement the message preview method in the virtual social scene provided by the embodiment of the present application when executing computer-executable instructions stored in the memory.
  • Embodiments of the present application also provide a computer-readable storage medium that stores computer-executable instructions.
  • the computer-executable instructions are executed by a processor, the message preview method in the virtual social scene provided by the embodiment of the present application is implemented.
  • Embodiments of the present application also provide a computer program product or computer program.
  • the computer program product includes a computer program or computer-executable instructions.
  • the computer program or computer-executable instructions are stored in a computer-readable storage medium.
  • the processor of the electronic device reads the computer program or computer-executable instructions from the computer-readable storage medium.
  • the above-mentioned virtual social scene provided by the embodiment of the present application is realized. Message preview method.
  • the message prompt control in the virtual social scene, when a message sent by the avatar is received, by performing a message preview operation for the message prompt control, the message prompt control can be switched on the page of the current virtual social scene.
  • the embodiment of the present application improves the efficiency of viewing messages in a virtual social scene, and at the same time, reduces the number of people and machines viewing messages.
  • the number of interactions improves the efficiency of human-computer interaction, and the message preview operation is implemented based on the message prompt control, which eliminates the need to occupy additional display resources of the terminal and improves the utilization of the terminal display resources.
  • Figure 1 is a schematic diagram of viewing unread messages provided in related technologies
  • Figure 2 is a schematic architectural diagram of the message preview system 100 in a virtual social scene provided by an embodiment of the present application
  • Figure 3 is a schematic structural diagram of an electronic device 500 that implements a message preview method in a virtual social scene provided by an embodiment of the present application;
  • Figure 4 is a schematic flowchart of a message preview method in a virtual social scene provided by an embodiment of the present application
  • Figure 5 is a schematic interface diagram of a message preview provided by an embodiment of the present application.
  • Figures 6 and 7 are schematic diagrams of scrolling display of message content provided by embodiments of the present application.
  • Figure 8 is a schematic interface diagram of a voice message preview provided by an embodiment of the present application.
  • Figure 9 is a schematic interface diagram of a group message preview provided by an embodiment of the present application.
  • 10 and 11 are flowcharts of a message preview method in a virtual social scene provided by an embodiment of the present application.
  • first ⁇ second involved are only used to distinguish similar objects and do not represent a specific ordering of objects. It is understandable that “first ⁇ second” can be interchanged if permitted. The specific order or sequence may be changed so that the embodiments of the application described herein can be implemented in an order other than that illustrated or described herein.
  • Client an application running in the terminal to provide various services, such as virtual social client, game client, instant messaging client, etc.
  • Response is used to represent the conditions or states on which the performed operations depend.
  • the dependent conditions or states are met, the one or more operations performed may be in real time or may have a set delay; Unless otherwise specified, there is no restriction on the execution order of the multiple operations performed.
  • Virtual social scene is a virtual scene displayed (or provided) when the application is running on the terminal.
  • the virtual scene can be a simulation environment of the real world, a semi-simulation and semi-fictional virtual environment, or a pure fictional virtual environment.
  • the virtual scene may be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene.
  • the embodiments of this application do not limit the dimensions of the virtual scene.
  • the virtual scene can include the sky, land, ocean, etc., and the land can include environmental elements such as deserts and cities;
  • users can use their own virtual image to interact with other people's virtual images in social chats, performing tasks, etc. in virtual social scenes.
  • Virtual Reality It is a simulation of a computer-generated environment (such as a three-dimensional environment) that users can interact with in a seemingly real or physical way.
  • a virtual reality system that may be a single device or a group of devices, for example the simulation may be generated on a virtual reality headset or some other display device for display to the user. Simulations can include images, sounds, tactile feedback, and other sensations that mimic real or fictional environments.
  • Virtual image the image of various people and objects that can interact in the virtual scene, or the movable image in the virtual scene.
  • the movable image can be a virtual character, a virtual animal, an animation character, etc., such as: characters, animals, plants, oil barrels, walls, stones, etc. displayed in the virtual scene.
  • the avatar may be a virtual avatar representing the user in the virtual scene.
  • the virtual scene may include multiple virtual images. Each virtual image has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene.
  • the avatar can be a user character controlled through operations on the client, it can be an artificial intelligence (Artificial Intelligence, AI) set in the virtual scene battle through training, or it can be set in the virtual scene interaction.
  • AI Artificial Intelligence
  • NPC Non-Player Character
  • the number of avatars participating in the interaction in the virtual scene can be set in advance, or can be dynamically determined based on the number of clients participating in the interaction.
  • Figure 1 is a schematic diagram of viewing unread messages provided in related technologies. See Figure 1 on page 11 of the virtual social scene.
  • an unread message prompt will be displayed.
  • the prompt includes the number of unread messages.
  • the page will jump to the chat details page 12.
  • the square scene adds operations; for some messages, the user may not want to reply or the immediacy is not high, but they still need to enter the details page to make a judgment, which is less efficient.
  • embodiments of the present application propose a message preview system, method, device, electronic device, computer-readable storage medium and computer program product in a virtual social scene, which can improve message viewing efficiency and human-computer interaction in a virtual social scene efficiency. Next, each will be explained.
  • Figure 2 is an architectural schematic diagram of the message preview system 100 in a virtual social scene provided by an embodiment of the present application.
  • the terminal 400 exemplarily showing the terminal 400-1 and the terminal 400 -2
  • the network 300 can be a wide area network or a local area network, or a combination of the two, using wireless or wired links to realize data transmission.
  • Terminal 400-1 is configured to display at least two avatars in the page of the virtual social scene
  • the virtual image can move in the virtual social scene, and by moving in the virtual social scene, the virtual image can change the relative positional relationship with other virtual images;
  • the server 200 is configured to forward the message to the terminal 400-1 when the terminal 400-2 corresponding to the target virtual image sends a message to the virtual image corresponding to the terminal 400-1;
  • the terminal 400-1 is further configured to, when receiving a message sent by the terminal 400-1 forwarded by the server 200, display a message prompt control indicating the existence of an unread message in the target orientation of the target avatar in the virtual social scene, and In response to the message preview operation for the message prompt control, at the target position of the target avatar, the message prompt control is switched to display the content of the unread message.
  • the message preview method in a virtual social scene provided by the embodiments of the present application can be implemented by various electronic devices or computer devices. For example, it can be implemented by a terminal alone, by a server alone, or by a terminal. Implemented in conjunction with the server.
  • Embodiments of this application can be applied to various scenarios, including but not limited to instant messaging, cloud technology, artificial intelligence, smart transportation, assisted driving, games, metaverse, etc.
  • the electronic device that implements the message preview method in a virtual social scene provided by the embodiments of the present application can be various types of terminal devices or servers, where the server (for example, server 200) can be an independent physical server, It can also be a server cluster or distributed system composed of multiple physical servers, or it can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, and security services. , Content Delivery Network (CDN), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.
  • Terminals (such as terminal 400-1 and terminal 400-2) can be smartphones, tablets, notebook computers, desktop computers, intelligent voice interaction devices (such as smart speakers), smart home appliances (such as smart TVs), smart watches, and vehicle-mounted terminals. , VR equipment, etc., but are not limited to this.
  • the terminal and the server can be connected directly or indirectly through wired or wireless communication methods, and the embodiments of the present application do not limit this.
  • the terminal or server can implement the message preview method in the virtual social scene provided by the embodiments of the present application by running a computer program.
  • the computer program can be a native program or software module in the operating system; it can It is a native application (Application, APP), that is, a program that needs to be installed in the operating system to run; it can also be a small program, that is, a program that only needs to be downloaded to the browser environment to run; it can also be a program that can be run A mini program embedded in any APP.
  • the computer program described above can be any form of application, module or plug-in.
  • Figure 3 is a schematic structural diagram of an electronic device 500 for a message preview method in a virtual social scene provided by an embodiment of the present application.
  • the electronic device 500 includes:
  • bus system 540 is configured to enable connection communications between these components.
  • bus system 540 also includes a power bus, a control bus and a status signal bus.
  • the various buses are labeled bus system 540 in FIG. 3 .
  • the processor 510 may be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware Components, etc., wherein the general processor can be a microprocessor or any conventional processor, etc.
  • DSP Digital Signal Processor
  • User interface 530 includes one or more output devices 531 that enable the presentation of media content, including one or more speakers and/or one or more visual displays.
  • User interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, and other input buttons and controls.
  • Memory 550 may be removable, non-removable, or a combination thereof.
  • Exemplary hardware devices include solid state memory, hard disk drives, optical disk drives, etc.
  • Memory 550 optionally includes one or more storage devices physically located remotely from processor 510 .
  • Memory 550 includes volatile memory or non-volatile memory, and may include both volatile and non-volatile memory.
  • Non-volatile memory can be read-only memory (Read Only Memory, ROM), and volatile memory can be random access memory (Random Access Memory, RAM).
  • ROM read-only memory
  • RAM random access memory
  • the memory 550 described in the embodiments of this application is intended to include any suitable type of memory.
  • the memory 550 is capable of storing data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as exemplarily described below.
  • the operating system 551 includes system programs configured to process various basic system services and perform hardware-related tasks, such as framework layer, core library layer, driver layer, etc., configured to implement various basic services and process hardware-based tasks;
  • Network communications module 552 configured to reach other computing devices via one or more (wired or wireless) network interfaces 520, example network interfaces 520 include: Bluetooth, Wireless Compliance Certified (WiFi), and Universal Serial Bus ( Universal Serial Bus, USB), etc.;
  • Display module 553 configured to enable the presentation of information via one or more output devices 531 (e.g., display screen, speakers, etc.) associated with user interface 530 (e.g., a user interface configured to operate peripheral devices and display content and information );
  • output devices 531 e.g., display screen, speakers, etc.
  • user interface 530 e.g., a user interface configured to operate peripheral devices and display content and information
  • the input processing module 554 is configured to detect one or more user inputs or interactions from the input device 532 and to translate the detected inputs or interactions.
  • the message preview device in the virtual social scene provided by the embodiment of the present application can be implemented in software.
  • Figure 3 shows the message preview device 555 in the virtual social scene stored in the memory 550, which can be
  • Software in the form of programs and plug-ins includes the following software modules: the first display module 5551, the second display module 5552 and the switching module 5553. These modules are logical, so they can be arbitrarily combined or further disassembled according to the functions implemented. The functions of each module will be explained below.
  • the message preview device 555 in the virtual social scene provided by the embodiment of the present application can be implemented in hardware.
  • the message preview device 555 in the virtual social scene provided by the embodiment of the present application can be implemented by hardware translation.
  • a processor in the form of a hardware decoding processor may adopt one or more application specific integrated circuits ( Application Specific Integrated Circuit (ASIC), DSP, Programmable Logic Device (PLD), Complex Programmable Logic Device (CPLD), Field-Programmable Gate Array (FPGA) or other electronic components.
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Signal Processing
  • PLD Programmable Logic Device
  • CPLD Complex Programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • the message preview method in the virtual social scene provided by the embodiment of the present application can be implemented by the server or the terminal alone, or by the server and the terminal collaboratively.
  • the following uses terminal implementation as an example to illustrate the virtual social network provided by the embodiments of the present application. Message preview method in the scene.
  • Figure 4 is a schematic flowchart of a message preview method in a virtual social scene provided by an embodiment of the present application.
  • the message preview method in a virtual social scene provided by an embodiment of the present application includes:
  • Step 101 The terminal displays at least two avatars on the page of the virtual social scene.
  • the terminal is installed with a client that supports virtual social scenes (such as a social client, a game client), or a client that integrates virtual social scene functions (such as an instant messaging client, a live broadcast client, Recruitment clients, etc.).
  • a client that supports virtual social scenes such as a social client, a game client
  • a client that integrates virtual social scene functions such as an instant messaging client, a live broadcast client, Recruitment clients, etc.
  • the terminal is provided with an instant messaging client integrated with a virtual social scene function.
  • the terminal displays a page of the virtual social scene, in which multiple (i.e. at least Two) virtual images, each virtual image corresponds to a user object.
  • the virtual image can move in the virtual social scene, and by moving in the virtual social scene, the virtual image can change the relative position relationship with other virtual images; the user is based on his or her corresponding
  • the avatar can have message conversations with other avatars in the virtual social scene.
  • the avatar can be a three-dimensional avatar or a two-dimensional avatar.
  • the other avatars mentioned can be friends of the current user.
  • the avatar of the friend in the list, or any avatar that enters the virtual social scene; that is, the relationship between the avatar in the virtual social scene and the avatar corresponding to the current login account (i.e., the current user) can be A friend relationship can also be a non-friend relationship.
  • the relationship between the target avatar and the avatar of the currently logged in account is a non-friend relationship
  • the virtual image establishes a friend relationship.
  • the target operation may be an operation of high-fiving the virtual image with the target virtual image.
  • the user when the user opens the virtual social client on the terminal and runs it, the user can set up his own avatar based on the social client.
  • the avatar setting interface users can independently edit their own avatar, such as selecting two-dimensional or three-dimensional models, choosing clothing, etc., to realize the editing of their own avatar, and based on the edited avatar, interact with other users in virtual social scenes Interact with virtual images, such as chatting, completing tasks collaboratively, etc.
  • the virtual group image corresponding to the social group can also be displayed. Based on the corresponding virtual image of the user and the virtual group image, the user can interact in the virtual social network. In the scene, you can have message conversations with other avatars in the social group.
  • the terminal in the virtual social scene, the terminal also displays the status of each avatar, which status is used to indicate the current operation performed by the avatar, such as displaying a chat status indicating that the avatar is chatting, displaying It is used to indicate the listening status of the avatar that is listening to music, etc. This allows other users to understand their own status and facilitates interaction between avatars.
  • Step 102 When a message sent by the target avatar among at least two avatars is received, in the virtual social scene, display a message prompt control indicating the existence of unread messages.
  • a message prompt control indicating the presence of unread messages is displayed, that is, in the virtual social scene, the target avatar's target orientation is displayed, and the message indicating the presence of unread messages is displayed.
  • Prompt control wherein, the target orientation can be any position in the three-dimensional space with the target avatar as the center and the distance from the target avatar as the target distance; for example, the target orientation is the first length above the target avatar from the top of the head. The position, or the position of the second length from the left arm of the left side of the target avatar, etc.
  • a message prompt control i.e., message prompt button, message prompt function item
  • the message prompt control also indicates the number of unread messages, that is, the message prompt control also carries text information used to indicate the number of unread messages; when the user clicks the message prompt control, the terminal displays the page of the virtual social scene , jump to the message details page, and display the content of the unread message in the message details page.
  • the target avatar and the current avatar When there is a historical conversation, the historical chat content between the target avatar and the current avatar is also displayed on the message details page.
  • the message prompt control is associated with the target avatar, that is, the relative position relationship remains unchanged.
  • the terminal displays the message in the process of moving synchronously with the target avatar. That is, the message prompt control will move synchronously with the target avatar.
  • Step 103 In response to the message preview operation for the message prompt control, switch the display message prompt control to display the content of the unread message.
  • the message preview operation is used to instruct preview of unread messages, that is, to instruct to browse the content of the message in advance.
  • the display message prompt control is switched to display the content of the unread message, that is, at the target orientation of the target avatar, the display message prompt control is switched to display the content of the unread message; wherein, the message preview The operation can be a pressing operation for the message prompt control.
  • the terminal in response to the message preview operation for the message prompt control, the terminal can switch the display of the message prompt control to the display of unread messages at the target position of the target avatar in the following manner.
  • Content When the terminal determines that the pressing operation on the message prompt control satisfies the message preview condition, it cancels the display of the message prompt control, and displays the content of the unread message at the target position of the target avatar during the pressing operation.
  • the pressing operation When released, the content of the unread message is cancelled, and the message prompt control is displayed again at the target position of the target avatar.
  • the content of the unread message is previewed in the current virtual social scene page, without the terminal needing to jump the page to the chat details page, which not only improves the viewing efficiency of the message content, but also ensures that During the process of previewing the message content, the user will not miss the information in the virtual social scene.
  • the message preview operation is implemented based on the message prompt control, which eliminates the need to occupy additional display resources of the terminal and improves the utilization of the terminal display resources.
  • the terminal when the user triggers a pressing operation on the message prompt control, the terminal detects the pressing duration of the pressing operation. When the detected pressing duration reaches the duration threshold (which can be set according to the actual situation, such as 2 seconds ), it is determined that the pressing operation satisfies the message preview condition; in other embodiments, when the user triggers a pressing operation for the message prompt control, the terminal detects the pressing pressure of the pressing operation.
  • the duration threshold which can be set according to the actual situation, such as 2 seconds
  • the pressure threshold (which can be set according to the actual situation)
  • it is determined that the pressing operation satisfies the message preview condition when the user triggers a pressing operation for the message prompt control, the pressing pressure of the terminal for the pressing operation and The pressing duration is detected at the same time.
  • the pressing duration reaches the duration threshold and the pressing pressure value reaches the pressure threshold, it is determined that the pressing operation satisfies the message preview condition.
  • Figure 5 is a schematic interface diagram of a message preview provided by an embodiment of the present application.
  • avatars of different users are displayed, and the user can control his or her corresponding avatar in the virtual world. Activities in the social scene, such as walking, running, and performing a certain task in collaboration with other avatars.
  • Activities in the social scene such as walking, running, and performing a certain task in collaboration with other avatars.
  • the terminal receives the message sent by the target avatar in the virtual social scene to the current avatar, it will move in the target orientation of the target avatar (such as above the head). or at the target distance above the center of gravity of the body), a message prompt control 52 indicating the existence of an unread message from the target avatar is displayed.
  • the terminal detects the pressing duration of the pressing operation.
  • the terminal When the pressing duration reaches the duration threshold, the terminal is triggered to enter the message preview mode. Still at the target position of the target avatar, the originally displayed message prompt control is switched to display the content of the unread message 53, and when the pressing operation is released, The contents of unread messages will be displayed and the message prompt control will be displayed.
  • the message preview operation may be a triggering operation for the message prompt control.
  • the terminal in response to the message preview operation for the message prompt control, the terminal may display the message prompt at the target orientation of the target avatar in the following manner: The control switches to display the content of the unread message: cancel the display of the message prompt control, and display the content of the unread message at the target position of the target avatar. When the display duration of the content reaches the first duration, cancel the display of the unread message. content.
  • the content of the unread message can be displayed in the current virtual social scene page, and the display duration reaches the first duration (the specific value can be set according to actual needs, such as 3 seconds) to enable users to preview the content of unread messages. While improving the efficiency of message viewing, it also makes full use of the display resources of the terminal and improves the utilization of display resources.
  • the triggering operation on the message prompt control can be any other than the click operation on the message prompt control.
  • the message preview operation can be a double-click operation on the message prompt control, a drag operation, etc.
  • the message preview operation may also be a shaking operation (such as a shake operation) for a message prompt control.
  • a shaking operation such as a shake operation
  • the terminal determines the shake operation as a shake operation for the message prompt control; in actual applications, the terminal may receive messages sent by multiple (at least two) avatars.
  • the terminal In the page of the virtual social scene, in The target orientation of each virtual image displays message prompt controls respectively.
  • the terminal controls each message prompt control to be in the candidate state, in response to the user triggering the message prompt control in the candidate state.
  • the selection instruction is to switch the display of the selected message prompt control to display the content of the corresponding unread message at the target position of the avatar corresponding to the selected message prompt control.
  • the selection instruction can be triggered by the user's triggering operation (such as click, double-click) on the message prompt control in the candidate state, or by a voice instruction.
  • the message preview box can be used to carry the content of unread messages.
  • the terminal in response to the message preview operation of the message prompt control, the terminal can display the message in the target position of the target avatar in the following manner:
  • the message prompt control is switched to display the content of the unread message: the terminal cancels the display of the message prompt control, and displays a message preview box at the target position of the target avatar.
  • the message preview box the content of the unread message is displayed.
  • the message preview box can be displayed through a floating layer or a floating window.
  • the size of the message preview box can adapt to the current number of unread messages. For example, when the number of messages is multiple, in order to allow the user to see the contents of all unread messages at the same time, the terminal The size of the display area required for the content of the message is dynamically adjusted to the size of the message preview box. In this way, the user can preview the content of unread messages while minimizing the coverage of the content on the current page.
  • the size of the message preview box is a fixed size.
  • the terminal can display the content of the unread message in the message preview box in the following manner: when the display area required for the content of the unread message is not larger than the size of the message preview box. When the display area is displayed, the content of the unread message is directly displayed in the message preview box; when the display area required for the content of the unread message is larger than the display area of the message preview box, the content of the unread message is scrolled and displayed in the message preview box. .
  • the display method of the content of unread messages is determined based on the display area required for the content of unread messages and the display area of the message preview box, which improves the display flexibility in the process of displaying unread messages. At the same time, It also makes full use of the display resources of the terminal and improves the utilization rate of the display resources.
  • the terminal can scroll and display the content of the unread message in the message preview box in the following manner: the terminal displays the first part of the unread message in the message preview box; scroll the first part of the content so that the first part of the content gradually disappears Message preview box; during the process of scrolling the first part of the content, the second part of the unread message is gradually displayed.
  • the reception time of the second part of the content is earlier than the reception time of the first part of the content.
  • the scrolling display of the contents of the unread messages can be a circular scrolling display, that is, when the contents of all unread messages have been displayed through the scrolling display, if the current user
  • the preview end command is not triggered, that is, when the pressing operation is not released, the first and second parts of the unread message will be scrolled and displayed again.
  • FIG. 6 is a schematic diagram of the scrolling display of message content provided by the embodiment of the present application. See Figure 6.
  • the current preview box 61 is used as a reference.
  • the content of each unread message is displayed in the preview box from top to bottom.
  • the display order is from early to late reception time.
  • Scrolling is required to display all unread messages.
  • the content is displayed, before the terminal scrolls and displays the content displayed in the preview box, it first displays the content in the preview box in order from top to bottom and from early to late reception time.
  • the content of unread messages is the content of historical unread messages. In this way, it simulates the user's operation of sliding down the page to read the content of historical messages, so that the user does not need to actively slide and the content of unread messages is automatically scrolled and displayed, which improves the user's Message preview experience.
  • each unread message displayed in the preview box can carry a reception time identifier to indicate the reception time of the corresponding message.
  • the time threshold can be set according to actual needs, such as one minute)
  • no new time stamp is added, that is, the message with a later reception time among the two adjacent messages does not need to carry a time stamp.
  • the message preview box only displays the content of one unread message.
  • the terminal can scroll and display the content of the unread messages in the message preview box as follows: Among at least two unread messages, the first unread message and the second unread message that are adjacent in time are received, and the content of the first unread message is displayed in the message preview box, and the content of the first unread message is displayed in the message preview box.
  • the duration reaches the second duration (the specific value can be set according to actual needs, such as 2 seconds)
  • the first unread message is controlled to move out of the message preview box and disappears; when the first unread message moves out of the message preview box, the second unread message is controlled to move out of the message preview box.
  • the unread message is moved into the message preview box, and the content of the second unread message is displayed in the message preview box.
  • the reception time of the first unread message may be earlier than the reception time of the second unread message, and the message preview box may be displayed on the bubble card.
  • the content of each unread message is displayed sequentially in a bubbling style, allowing the user to preview the unread messages one by one. Since the message preview box only displays the content of one unread message, it takes up less display space. It is small and will not have a major impact on the content of the virtual social scene displayed on the current page.
  • Figure 7 is a schematic diagram of the scrolling display of message content provided by the embodiment of the present application.
  • the content of the message with the earliest reception time is first displayed, and then when the display duration of the message with the earliest reception time reaches 2 seconds (the second duration), the message is moved out and moved in The next unread message, message 71 and message 72 in Figure 7 are two unread messages with adjacent reception times.
  • message 71 is displayed first.
  • the display time of message 71 reaches 2 seconds (second duration)
  • the control message 71 moves out of the message preview box and disappears.
  • the control message 72 moves into the message preview box, and the content of the message 72 is displayed in the message preview box.
  • the terminal can switch the display message prompt control to display the content of the unread message in the following manner at the target position of the target avatar. : The terminal cancels the display of the message prompt control, and when the unread message is a voice unread message, displays the voice logo of the voice unread message and the text content of the voice unread message after text conversion at the target position of the target avatar. . In this way, the user does not need to manually perform the speech-to-text operation, and it is convenient for the user to preview the content of the unread voice message.
  • Figure 8 is a schematic interface diagram of a voice message preview provided by an embodiment of the present application.
  • the user triggers a preview of the unread message by performing a pressing operation on the message prompt control.
  • the terminal cancels the display of the message prompt control 81 and targets the target position of the avatar to display a message preview box 82.
  • the message preview box 82 displays the content 821 of the unread text message and the content of the unread voice message. 822.
  • the content 822 of the unread voice message includes the voice identifier 823 of the unread voice message, and the text content of the unread voice message after text conversion.
  • the unread messages are voice unread messages
  • the terminal can play the voice content of the voice unread messages.
  • the communication effectiveness of the user in the chat process is improved, thereby improving the efficiency of human-computer interaction and the utilization rate of hardware resources of electronic devices.
  • the virtual social scene page currently displayed by the terminal does not include the virtual images of all the current user's friends, that is, it only includes the virtual images of some of the user's friends. For example, only the virtual images within the target time period (such as a week) the virtual image of a friend whose interaction frequency with the current user reaches the interaction frequency threshold, or displays the virtual image of a friend whose interaction frequency with the current user in the recent period (such as three days) (the number of interactions in a day) reaches the interaction frequency threshold ; Specifically, before receiving a message sent by the target avatar, in the page of the virtual social scene, at least one avatar that does not include the target avatar is displayed, so that when a message sent by the target avatar is received, in the virtual social scene In the page of the scene, the target avatar is displayed, and then the target virtual object and at least one avatar are determined to be at least two avatars; based on this, when the message sent by the target avatar is received, the target avatar is not in When in the page of the current virtual social
  • Message prompt control for messages when the target avatar is not on the page of the virtual social scene, the target avatar can be displayed on the page of the current virtual social scene, allowing the user to clearly know the person to whom the message is sent, making full use of the display resources of the terminal. Improved display resource utilization.
  • the terminal switches the display message prompt control to display the content of the unread message, and then also Display a quick reply control for unread messages.
  • the quick reply control is used to implement quick replies to unread messages. In this way, users can quickly reply to unread messages based on the quick reply control, which increases communication during the chat.
  • the diversity of methods improves the user's communication experience, thereby improving the efficiency of human-computer interaction and the utilization of hardware resources of electronic devices.
  • the quick reply control can be a voice quick reply control for quick voice reply.
  • the terminal responds to the pressing operation of the voice quick reply control.
  • the pressing operation satisfies the triggering condition, during the execution of the pressing operation , perform audio collection, and when the pressing operation is released, send a voice message including the collected audio content to the target avatar.
  • the quick reply control can also be a text quick reply control for quick text reply.
  • the terminal responds to the triggering operation of the text quick reply control and displays the message sending box and the corresponding sending control; in response to the text editing Operation, display the edited content in the message sending box; in response to the message sending instruction triggered based on the sending control (such as clicking the sending control), send the edited content to the target avatar.
  • text editing and message sending are realized through the quick reply control, which increases the diversity of chat methods during the chat process, improves the user's communication experience, thereby improving the efficiency of human-computer interaction and the utilization of hardware resources of electronic devices. .
  • the virtual social scene also includes at least one virtual group image corresponding to a social group, and each social group corresponds to a virtual group image, which is a three-dimensional image model used to represent the corresponding social group; when the terminal receives a message sent by a member of the target social group, a group message prompt control indicating the existence of unread messages in the group is displayed at the target position of the target three-dimensional image model corresponding to the target social group; in response to a message preview operation for the group message prompt control, the display of the group message prompt control is switched to display the content of the unread messages in the group at the target position of the target three-dimensional image model. In this way, the user can preview the content of the unread messages in the group through the group message prompt control, which improves the efficiency of message viewing and makes full use of the display resources of the terminal, thereby improving the utilization rate of the display resources.
  • Figure 9 is a schematic interface diagram of a group message preview provided by an embodiment of the present application.
  • avatars of different users such as avatars 92
  • target social media are displayed in the virtual social scene page 91.
  • the target three-dimensional image model 93 corresponding to the group when the terminal receives a message sent to the current avatar by a member of the target social group, is displayed for indication at the target orientation of the target three-dimensional image model 92 (such as the target distance above).
  • the terminal detects the pressing duration of the pressing operation.
  • the terminal When the pressing duration reaches the duration threshold, the terminal is triggered to enter In the message preview mode, while still in the target position of the target three-dimensional image model 93, the originally displayed message prompt control 94 is switched to display the content 95 of the unread message.
  • the content 95 of the unread message carries the object identifier 96 of the sending object, and When the press operation is released, the content of the unread message will be displayed and the message prompt control will be switched back to display.
  • the user may be busy interacting with other avatars in the virtual social scene and not notice the unread messages.
  • the target avatar sends a lot of messages to the current user, the target avatar will be saved by default.
  • the terminal plays message prompt audio. This message prompt audio is used to indicate viewing the unread messages sent by the target avatar. ; In this way, the user can be reminded to check messages in a timely manner to avoid missing important messages, thereby improving the user's communication experience, thereby improving the efficiency of human-computer interaction and the utilization of hardware resources of the electronic device.
  • the virtual social scene may be a game scene.
  • each avatar corresponds to a game character, and the user can fight with other avatars in the game scene based on his own avatar, such as
  • the avatar of the currently logged-in account belongs to the first virtual camp, which includes at least two virtual objects.
  • the first virtual camp has a hostile relationship with the second virtual camp including at least two virtual objects.
  • the target orientation of the target avatar in the game scene is displayed for
  • the message prompt control indicating the existence of unread messages, in response to the message preview operation for the message prompt control, switches the display message prompt control to display the content of the unread message at the target position of the target avatar; in this way, the user triggers the message preview Operation allows you to quickly view teammate messages in the game scene, and gain a pleasant and efficient social communication experience without affecting the game process.
  • the virtual social scene can also be a virtual social scene based on virtual reality, that is, implemented based on virtual reality technology.
  • the electronic device that displays the page of the virtual social scene is a VR device, such as a wearable device.
  • VR devices users can perceive virtual social scenes projected by wearable VR devices, and interact with other users in virtual social scenes through the virtual social scenes projected by VR devices; in practical applications, VR devices
  • In the page of the virtual social scene at least two avatars are displayed.
  • a message prompt control for indicating the existence of unread messages is displayed in the target orientation of the target avatar in the virtual social scene.
  • switching the display message prompt control to display the content of the unread message at the target location of the target avatar.
  • the message preview operation may be a somatosensory operation used to trigger the message prompt control.
  • the somatosensory operation is determined to be the message preview operation.
  • the somatosensory operation It can be a virtual click operation for the message prompt control.
  • the user wears a sensor glove that can position the hand.
  • the message preview operation is triggered, or the user clicks on the virtual scene with bare hands.
  • the user's limb position is detected to determine the position of the corresponding message prompt control in the virtual scene with bare hands, and the message preview operation is triggered.
  • the message preview operation may also be a ray emission operation for an external device.
  • a ray emission operation for an external device is detected, based on the ray emission operation, the irradiation position of the ray emitted by the external device corresponds to the target position.
  • the ray emission operation is determined as a message preview operation; wherein, the target position is the display position of the message prompt control in the virtual social scene.
  • the external device is a handle or a ring that can emit rays (such as lasers).
  • the ray emission operation is determined as a message preview operation to trigger the message preview.
  • the duration of the irradiation position of the ray corresponding to the target position is obtained, that is, the virtual scene
  • the duration of the ray irradiation message prompt control is determined as a message preview operation.
  • the user can also preview the content of unread messages based on the message prompt control, which not only improves the efficiency of message viewing, but also makes full use of the terminal's capabilities.
  • Display resources improve the utilization of display resources.
  • the message prompt control in a virtual social scene, when a message sent by an avatar is received, by performing a message preview operation for the message prompt control, the message prompt control can be switched to be displayed on the page of the current virtual social scene. Display the content of unread messages; in this way, compared with the method of page jump in related technologies to view messages, the embodiments of the present application improve the efficiency of viewing messages in virtual social scenes, and at the same time, reduce the human-computer interaction required to view messages. Second-rate number, which improves the efficiency of human-computer interaction, and the message preview operation is implemented based on the message prompt control, so that there is no need to occupy additional display resources of the terminal, and the utilization of the terminal display resources is improved.
  • Figures 10 and 11 are flowcharts of a message preview method in a virtual social scene provided by an embodiment of the present application.
  • the message preview method in a virtual social scene provided by an embodiment of the present application includes:
  • Step 201 The terminal receives messages from other virtual characters.
  • the terminal is provided with a virtual social scene client, or a client with a virtual social scene function.
  • Step 201 corresponds to step 301 in Figure 11.
  • the terminal client presentation layer
  • an unread message prompt is displayed above the head of the corresponding virtual character (i.e., the message prompt used to indicate the existence of unread messages above control), corresponding to step 302 in Figure 11, that is, the client presentation layer displays an unread message control (ie, message prompt control) on the head of the corresponding virtual character.
  • Step 202 The user presses and holds the unread message prompt.
  • step 202 corresponds to step 303 in Figure 11.
  • the user can click or long press the prompt.
  • the long press refers to the user performing the unread message prompt. Press operation, and the pressing time of the press operation reaches the target duration (such as 1 second); if the user clicks on the unread message prompt, the terminal opens the chat details page; if the user long presses on the unread message prompt, when the long press exceeds 1 second Afterwards, the message preview mode is triggered, and then a content acquisition request for the unread message is sent to the server (i.e., the background logic layer) to request the unread message data (the content of the unread message), corresponding to step 304 in Figure 11.
  • the server i.e., the background logic layer
  • Step 203 The terminal determines whether the unread message contains a voice message. If so, step 204 is executed. If not, step 205 is executed.
  • the operation of determining whether an unread message contains a voice message can be implemented by the terminal or by the server (i.e., the background logic layer).
  • the server i.e., the background logic layer
  • this step 203 corresponds to Figure 11 Step 305.
  • Step 204 The terminal converts the voice message into text.
  • the operation of converting the voice message into text can be implemented by the terminal or by the server (i.e., the background logic layer).
  • this step 204 corresponds to step 306 in Figure 11, that is, the server (i.e., the server (i.e., the background logic layer) That is, the background logic layer) extracts the text in the voice message and returns the content of the unread message to the terminal, that is, step 307 in Figure 11 is executed.
  • Step 205 The terminal determines whether it exceeds the display area. If it does not exceed, step 206 is executed. If it exceeds, step 207 is executed.
  • step 205 corresponds to step 308 in Figure 11.
  • the terminal will determine whether the display area required for the text content of the unread message currently to be displayed exceeds the size of the message preview box to further determine the display method of the text content.
  • Step 206 The terminal displays the contents of all messages.
  • step 206 corresponds to step 309 in Figure 11.
  • the terminal will directly display the contents of all unread messages in the message preview box.
  • Step 207 The terminal turns on the circular scrolling display, and after reaching the bottom, it stays for 3 seconds and then scrolls again.
  • step 207 corresponds to step 310 in Figure 11.
  • the terminal will first display the latest received at least one unread message. content, and then scrolls down to display the content of historical unread messages compared to the message preview box, simulating the user's operation of sliding down the page to view the content of historical messages, so that the user does not need to actively slide, and the content of unread messages is automatically scrolled and displayed. Improved user Message preview experience.
  • Step 208 The user releases his finger.
  • step 208 corresponds to step 311 in Figure 11.
  • the terminal exits the preview mode, cancels the content of the displayed unread messages and redisplays the unread message prompt, corresponding to the steps in Figure 11 312, that is, the terminal (client presentation layer) closes the preview mode and displays the unread message control.
  • Step 209 The user clicks on the unread message prompt.
  • Step 210 The terminal opens the chat details.
  • the terminal responds to the click operation by jumping to the chat details page, and displays on the chat details page the contents of the unread messages sent by the other virtual characters and the current The content of historical chat messages between the virtual character and the other virtual character.
  • the content of the unread messages is previewed in the current virtual social scene page, without the terminal needing to jump the page to the chat details page, that is, without entering the chat details page, it is possible to
  • the user can completely read all the message content, which not only improves the viewing efficiency of the message content, but also ensures that the user will not miss the information in the virtual social scene during the process of previewing the message content;
  • the message preview operation is implemented based on the message prompt control, so that There is no need to occupy additional display resources of the terminal, which improves the utilization of the terminal display resources; when there is a voice message in the unread message, the voice that is inconvenient to view is first converted into text, and then arranged with the own text message, because Users cannot click on the voice to listen to it during the long press process. Converting it to text can ensure that the reading process does not break.
  • the message preview device 555 in the virtual social scene provided by the embodiment of the present application includes:
  • the first display module 5551 is configured to display at least two virtual images in the page of the virtual social scene
  • the virtual image can move in the virtual social scene, and by moving in the virtual social scene, the virtual image can change the relative positional relationship with other virtual images;
  • the second display module 5552 is configured to, when receiving a message sent by the target avatar among the at least two avatars, display a message prompt control indicating the existence of unread messages in the virtual social scene;
  • the switching module 5553 is configured to, in response to a message preview operation for the message prompt control, switch the display of the message prompt control to display the content of the unread message.
  • the switching module is further configured to cancel the display of the message prompt control when the message preview operation is a pressing operation for the message prompt control and the pressing operation satisfies the message preview condition, and
  • the content of the unread message is displayed at the target orientation of the target avatar.
  • the switching module is further configured to, after displaying the content of the unread message, cancel the display of the content of the unread message when the pressing operation is released, and display the content of the unread message in the target virtual machine.
  • the image of the target orientation displays the message prompt control again.
  • the switching module is further configured to cancel the display of the message prompt control when the message preview operation is a triggering operation for the message prompt control, and
  • the content of the unread message is displayed at the target position of the target avatar, and when the display duration of the content reaches a first duration, the content of the unread message is canceled.
  • the switching module is further configured to cancel the display of the message prompt control; display a message preview box at the target orientation of the target avatar, and display the undisplayed message prompt control in the message preview box. Read the content of the message.
  • the switching module is further configured to directly display all unread messages in the message preview box when the required display area is not larger than the display area of the message preview box. Describe the content of unread messages;
  • the display area required for the content of the unread message is larger than the display area of the message preview box, the content of the unread message is scrolled and displayed in the message preview box.
  • the switching module is further configured to display the first part of the unread message in the message preview box;
  • the second part of the unread message is gradually displayed, and the reception time of the second part of the content is earlier than the reception time of the first part of the content.
  • the switching module is further configured to display, in the message preview box, for the first unread message and the second unread message whose reception time is adjacent among the at least two unread messages. the content of the first unread message, and
  • the switching module is further configured to cancel the display of the message prompt control, and when the unread message is a voice unread message, display the voice message in the target orientation of the target avatar.
  • the voice identifier of the unread message, and the text content after text conversion of the voice unread message are further configured to cancel the display of the message prompt control, and when the unread message is a voice unread message, display the voice message in the target orientation of the target avatar.
  • the device further includes a playback module configured to play the voice content of the unread voice message during the display of the text content.
  • the first display module is further configured to display at least one avatar that does not include the target avatar in the page of the virtual social scene;
  • the target virtual image When a message sent by the target virtual image is received, the target virtual image is displayed on the page of the virtual social scene; the target virtual object and the at least one virtual image are determined as the at least two virtual images. image.
  • the second display module is further configured to display a quick reply control for the unread message after switching from displaying the message prompt control to displaying the content of the unread message.
  • a quick reply control is used to implement a quick reply to the unread message.
  • the quick reply control is a voice quick reply control
  • the device further includes a message reply module configured to respond to a pressing operation on the voice quick reply control, when the pressing operation satisfies a triggering condition. , during the execution of the pressing operation, audio collection is performed;
  • the quick reply control is a text quick reply control
  • the device further includes a message reply module configured to display a message sending box and a corresponding sending control in response to a triggering operation on the text quick reply control.
  • the edited content is sent to the target avatar.
  • the virtual social scene also includes a virtual group image corresponding to at least one social group, and the virtual group image is a three-dimensional image model used to represent the social group;
  • the second display module is further configured to, when receiving a message sent by a member of the target social group, display a message indicating the presence of the target in the target orientation of the target three-dimensional image model corresponding to the target social group.
  • the switching module is further configured to, in response to a message preview operation for the group message prompt control, switch the display of the group message prompt control to the display of the group message prompt control at the target orientation of the target three-dimensional image model. Read the content of the message.
  • the device further includes a playback module configured to play message prompt audio when the number of unread messages reaches a quantity threshold.
  • the message prompt audio is used to indicate viewing the message sent by the target avatar. of the unread messages.
  • the device further includes a detection module configured to detect a somatosensory operation used to trigger the message prompt control when the virtual social scene is a virtual social scene based on virtual reality, and the somatosensory The operation is determined to be the message preview operation; or,
  • the target position is the display position of the message prompt control in the virtual social scene.
  • An embodiment of the present application also provides an electronic device, where the electronic device includes:
  • memory configured to store executable instructions
  • the processor is configured to implement the message preview method in the virtual social scene provided by the embodiment of the present application when executing the executable instructions stored in the memory.
  • Embodiments of the present application also provide a computer program product or computer program.
  • the computer program product or computer program includes computer-executable instructions, and the computer-executable instructions are stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer-executable instructions from the computer-readable storage medium, and the processor executes the computer-executable instructions, so that the computer device executes the message preview method in the virtual social scene provided by the embodiment of the present application.
  • An embodiment of the present application also provides a computer-readable storage medium that stores computer-executable instructions.
  • the computer-executable instructions are executed by a processor, the message preview method in a virtual social scene provided by the embodiment of the present application is implemented.
  • the computer-readable storage medium may be read-only memory (Read-Only Memory, ROM), random access memory (RAM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory) , EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash memory, magnetic surface memory, optical disk, or CD-ROM; it can also include one or any combination of the above memories of various equipment.
  • ROM read-only memory
  • RAM random access memory
  • EPROM erasable programmable read-only memory
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • flash memory magnetic surface memory, optical disk, or CD-ROM
  • executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and their May be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
  • executable instructions may, but do not necessarily correspond to, files in a file system and may be stored as part of a file holding other programs or data, for example, in a HyperText Markup Language (HTML) document. in one or more scripts, in a single file that is specific to the program in question, or in multiple collaborative files (e.g., files that store one or more modules, subroutines, or portions of code).
  • HTML HyperText Markup Language
  • executable instructions may be deployed to execute on one computing device, or on multiple computing devices located at one location, or alternatively, on multiple computing devices distributed across multiple locations and interconnected by a communications network execute on.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请提供了一种虚拟社交场景中的消息预览方法、装置、设备及存储介质;其中,方法包括:在虚拟社交场景的页面中,显示至少两个虚拟形象;其中,虚拟形象能够在虚拟社交场景中移动,并通过在虚拟社交场景移动,虚拟形象能够改变与其它虚拟形象的相对位置关系;当接收到至少两个虚拟形象中目标虚拟形象发送的消息时,在虚拟社交场景中,显示用于指示存在未读消息的消息提示控件;响应于针对消息提示控件的消息预览操作,将显示消息提示控件切换为显示未读消息的内容。

Description

虚拟社交场景中的消息预览方法、装置、电子设备、计算机可读介质及计算机程序产品
相关申请的交叉引用
本申请实施例基于申请号为202211113944.0、申请日为2022年09月14日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请实施例作为参考。
技术领域
本申请涉及计算机技术领域和人机交互技术领域,尤其涉及一种虚拟社交场景中的消息预览方法、装置、电子设备、计算机可读存储介质以及计算机程序产品。
背景技术
随着计算机技术的发展,电子设备可以实现更加丰富的和形象的虚拟社交场景。用户可以在虚拟社交场景中基于自身的虚拟形象和其他用户的虚拟形象进行聊天互动。
相关技术中,当用户接收到其他虚拟形象发来的消息时,进行未读消息提示,用户需要点击未读消息条目进行页面跳转至聊天详情页面,才能查看未读消息的内容,使得人机交互效率较低,若要查看多个虚拟形象发送的消息则还需要多次页面跳转,进一步降低了人机交互效率。
发明内容
本申请实施例提供一种虚拟社交场景中的消息预览方法、装置、电子设备、计算机可读存储介质及计算机程序产品,能够提高人机交互效率、与设备的硬件处理资源及显示资源的利用率。
本申请实施例的技术方案是这样实现的:
本申请实施例提供一种虚拟社交场景中的消息预览方法,该方法由电子设备执行,包括:
在虚拟社交场景的页面中,显示至少两个虚拟形象;
其中,所述虚拟形象能够在所述虚拟社交场景中移动,并通过在所述虚拟社交场景移动,所述虚拟形象能够改变与其它虚拟形象的相对位置关系;
当接收到所述至少两个虚拟形象中目标虚拟形象发送的消息时,在所述虚拟社交场景中,显示用于指示存在未读消息的消息提示控件;
响应于针对所述消息提示控件的消息预览操作,将显示所述消息提示控件切换为显示所述未读消息的内容。
本申请实施例还提供一种虚拟社交场景中的消息预览装置,所述装置包括:
第一显示模块,配置为在虚拟社交场景的页面中,显示至少两个虚拟形象;
其中,所述虚拟形象能够在所述虚拟社交场景中移动,并通过在所述虚拟社交场景移动,所述虚拟形象能够改变与其它虚拟形象的相对位置关系;
第二显示模块,配置为当接收到所述至少两个虚拟形象中目标虚拟形象发送的消息时,在所述虚拟社交场景中,显示用于指示存在未读消息的消息提示控件;
切换模块,配置为响应于针对所述消息提示控件的消息预览操作,将显示所述消息提示控件切换为显示所述未读消息的内容。
上述方案中,所述切换模块,还配置为当所述消息预览操作为针对所述消息提示控件的按压操作、且所述按压操作满足消息预览条件时,取消显示所述消息提示控件,并
在所述按压操作执行的过程中,在所述目标虚拟形象的目标方位,显示所述未读消息的内容。
上述方案中,所述切换模块,还配置为在显示所述未读消息的内容之后,当所述按压操作被释放时,取消显示所述未读消息的内容,并在所述目标虚拟形象的目标方位,再次显示所述消息提示控件。
上述方案中,所述切换模块,还配置为当所述消息预览操作为针对所述消息提示控件的触发操作时,取消显示所述消息提示控件,并
在所述目标虚拟形象的目标方位,显示所述未读消息的内容,当所述内容的显示时长达到第一时长时,取消显示所述未读消息的内容。
上述方案中,所述切换模块,还配置为取消显示所述消息提示控件;在所述目标虚拟形象的目标方位,显示消息预览框,并在所述消息预览框中,显示所述未读消息的内容。
上述方案中,所述切换模块,还配置为当所述未读消息的内容所需的显示面积不大于所述消息预览框的显示面积时,在所述消息预览框中,直接显示所述未读消息的内容;
当所述未读消息的内容所需的显示面积大于所述消息预览框的显示面积时,在所述消息预览框中,滚动显示所述未读消息的内容。
上述方案中,所述切换模块,还配置为在所述消息预览框中,显示所述未读消息的第一部分内容;
滚动所述第一部分内容,以使所述第一部分内容逐渐消失于所述消息预览框;
在滚动所述第一部分内容的过程中,逐渐显示所述未读消息的第二部分内容,所述第二部分内容的接收时间早于所述第一部分内容的接收时间。
上述方案中,所述切换模块,还配置为针对所述至少两条未读消息中接收时间相邻的第一未读消息及第二未读消息,在所述消息预览框中,显示所述第一未读消息的内容,并
在所述第一未读消息的内容的显示时长达到第二时长时,控制所述第一未读消息移出所述消息预览框并消失;
在所述第一未读消息移出所述消息预览框时,控制所述第二未读消息移入所述消息预览框,并在所述消息预览框中,显示所述第二未读消息的内容。
上述方案中,所述切换模块,还配置为取消显示所述消息提示控件,并当所述未读消息为语音未读消息时,在所述目标虚拟形象的目标方位,显示所述语音未读消息的语音标识,以及对所述语音未读消息进行文本转换后的文本内容。
上述方案中,所述装置还包括播放模块,配置为在显示所述文本内容的过程中,播放所述语音未读消息的语音内容。
上述方案中,所述第一显示模块,还配置为在虚拟社交场景的页面中,显示不包括所述目标虚拟形象的至少一个虚拟形象;
当接收到所述目标虚拟形象发送的消息时,在虚拟社交场景的页面中,显示所述目标虚拟形象;将所述目标虚拟对象以及所述至少一个虚拟形象,确定为所述至少两个虚拟形象。
上述方案中,所述第二显示模块,还配置为在将显示所述消息提示控件切换为显示所述未读消息的内容之后,显示针对所述未读消息的快捷回复控件,所述快捷回复控件,用于实现针对所述未读消息的快捷回复。
上述方案中,所述快捷回复控件为语音快捷回复控件,所述装置还包括消息回复模块,配置为响应于针对所述语音快捷回复控件的按压操作,当所述按压操作满足触发条件时,在所述按压操作执行的过程中,进行音频采集;
当所述按压操作被释放时,发送包括采集的音频内容的语音消息至所述目标虚拟形象。
上述方案中,所述快捷回复控件为文本快捷回复控件,所述装置还包括消息回复模块,配置为响应于针对所述文本快捷回复控件的触发操作,显示消息发送框及相应的发送控件;
响应于文本编辑操作,在所述消息发送框中显示所编辑的内容;
响应于基于所述发送控件触发的消息发送指令,发送所编辑的内容至所述目标虚拟形象。
上述方案中,所述虚拟社交场景中还包括至少一个社交群组对应的虚拟群组形象,所述虚拟群组形象为,用于代表所述社交群组的三维形象模型;
所述第二显示模块,还配置为当接收到所述目标社交群组中的成员所发送的消息时,在所述目标社交群组对应的目标三维形象模型的目标方位,显示用于指示存在群未读消息的群消息提示控件;
所述切换模块,还配置为响应于针对所述群消息提示控件的消息预览操作,在所述目标三维形象模型的所述目标方位,将显示所述群消息提示控件切换为显示所述群未读消息的内容。
上述方案中,所述装置还包括播放模块,配置为当所述未读消息的数量达到数量阈值时,播放消息提示音频,所述消息提示音频,用于指示查看所述目标虚拟形象发送的所述未读消息。
上述方案中,所述装置还包括检测模块,配置为当所述虚拟社交场景为基于虚拟现实的虚拟社交场景时,检测到用于触发所述消息提示控件的体感操作,将所述体感操作确定为所述消息预览操作;或者,
检测到针对外部设备的射线发射操作,当基于所述射线发射操作,所述外部设备所发射的射线的照射位置对应目标位置时,将所述射线发射操作确定为所述消息预览操作;
其中,所述目标位置为,所述消息提示控件在所述虚拟社交场景中的显示位置。
本申请实施例还提供一种电子设备,包括:
存储器,配置为存储可执行指令;
处理器,配置为执行所述存储器中存储的计算机可执行指令时,实现本申请实施例提供的上述虚拟社交场景中的消息预览方法。
本申请实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时,实现本申请实施例提供的上述虚拟社交场景中的消息预览方法。
本申请实施例还提供一种计算机程序产品或计算机程序,该计算机程序产品包括计算机程序或计算机可执行指令,该计算机程序或计算机可执行指令存储在计算机可读存储介质中。电子设备的处理器从计算机可读存储介质读取该计算机程序或计算机可执行指令,所述计算机程序或计算机可执行指令被处理器执行时,实现本申请实施例提供的上述虚拟社交场景中的消息预览方法。
本申请实施例具有以下有益效果:
在本申请上述实施例中,在虚拟社交场景中,当接收到虚拟形象发送的消息时,通过执行针对消息提示控件的消息预览操作,能够在当前虚拟社交场景的页面,将显示消息提示控件切换为显示未读消息的内容;如此,相较于相关技术中进行页面跳转才能查看消息的方式,本申请实施例提高了虚拟社交场景中消息的查看效率,同时,减少了查看消息的人机交互次数,提高了人机交互效率,且消息预览操作基于消息提示控件实现,使得无需额外占用终端的显示资源,提高了终端显示资源的利用率。
附图说明
图1是相关技术中提供的未读消息查看的示意图;
图2是本申请实施例提供的虚拟社交场景中的消息预览系统100的架构示意图;
图3是本申请实施例提供的实施虚拟社交场景中的消息预览方法的电子设备500的结构示意图;
图4是本申请实施例提供的虚拟社交场景中的消息预览方法的流程示意图;
图5是本申请实施例提供的消息预览的界面示意图;
图6及图7是本申请实施例提供的消息内容的滚动显示示意图;
图8是本申请实施例提供的语音消息预览的界面示意图;
图9是本申请实施例提供的群消息预览的界面示意图;
图10及图11是本申请实施例提供的虚拟社交场景中的消息预览方法的流程示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例作进一步地详细描述,所描述的实施例不应视为对本申请实施例的限制,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。
在以下的描述中,所涉及的术语“第一\第二”仅仅是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本申请实施例能够以除了在这里图示或描述的以外的顺序实施。
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。
对本申请实施例进行进一步详细说明之前,对本申请实施例中涉及的名词和术语进行说明,本申请实施例中涉及的名词和术语适用于如下的解释。
1)客户端,终端中运行的用于提供各种服务的应用程序,例如虚拟社交客户端、游戏客户端、即时通讯客户端等。
2)响应于,用于表示所执行的操作所依赖的条件或者状态,当满足所依赖的条件或状态时,所执行的一个或多个操作可以是实时的,也可以具有设定的延迟;在没有特别说明的情况下,所执行的多个操作不存在执行先后顺序的限制。
3)虚拟社交场景,是应用程序在终端上运行时显示(或提供)的虚拟场景,该虚拟场景可以是对真实世界的仿真环境,也可以是半仿真半虚构的虚拟环境,还可以是纯虚构的虚拟环境。虚拟场景可以是二维虚拟场景、2.5维虚拟场景或者三维虚拟场景中的任意一种,本申请实施例对虚拟场景的维度不加以限定。例如,该虚拟场景中可以包括天空、陆地、海洋等,该陆地可以包括沙漠、城市等环境元素;
用户通过定制化自己的二维或三维虚拟形象(即人形模型),在虚拟社交场景中,用自己的虚拟形象和他人的虚拟形象进行社交聊天、执行任务等互动。
4)虚拟现实(Virtual Reality,VR):是计算机生成的环境(例如三维环境)的模拟,用户可以以看似真实或实体的方式与之交互。可以是单个设备或一组设备的虚拟现实系统,例如可以在虚拟现实头盔或一些其他显示设备上生成该模拟以便向用户显示。模拟可以包括图像、声音、触觉反馈、以及模仿真实或虚构环境的其他感觉。
5)虚拟形象,虚拟场景中可以进行交互的各种人和物的形象,或在虚拟场景中的可活动形象。该可活动形象可以是虚拟人物、虚拟动物、动漫人物等,比如:在虚拟场景中显示的人物、动物、植物、油桶、墙壁、石块等。该虚拟形象可以是该虚拟场景中的一个虚拟的用于代表用户的虚拟形象。虚拟场景中可以包括多个虚拟形象,每个虚拟形象在虚拟场景中具有自身的形状和体积,占据虚拟场景中的一部分空间。
例如,该虚拟形象可以是通过客户端上的操作进行控制的用户角色,也可以是通过训练设置在虚拟场景对战中的人工智能(Artificial Intelligence,AI),还可以是设置在虚拟场景互动中的非用户角色(Non-Player Character,NPC)。其中,虚拟场景中参与互动的虚拟形象的数量可以是预先设置的,也可以是根据加入互动的客户端的数量动态确定的。
图1是相关技术中提供的未读消息查看的示意图,参见图1,在虚拟社交场景的页面11 中,当接收到其他虚拟形象发来的消息时,会进行未读消息提示,该提示中包括未读消息数量,当用户点击未读消息条目时,会进行页面跳转至聊天详情页面12,在聊天详情页面12查看所有的消息,包括新消息和历史消息;该方案使得用户查看消息的内容需要点击消息打开聊天详情页才能查看,离开了虚拟广场的场景,而从聊天详情页返回到虚拟广场场景增添了操作;对于某些信息来说,用户可能并不想回复或者即时性并不高,但是也需要进入详情页才能进行判断,效率较低,当用户点进聊天详情页后,还需要区分哪些信息是新发来的,哪些信息是旧的,如果消息发送间隔很短,很难区分,使得虚拟社交场景中的消息查看效率低,多次人机交互操作才能查看使得人机交互效率低。
基于此,本申请实施例提出一种虚拟社交场景中的消息预览系统、方法、装置、电子设备、计算机可读存储介质及计算机程序产品,能够提高虚拟社交场景中消息的查看效率以及人机交互效率。接下来分别进行说明。
基于上述对本申请实施例中涉及的名词和术语的解释,首先对本申请实施例提供的虚拟社交场景中的消息预览系统进行说明。参见图2,图2是本申请实施例提供的虚拟社交场景中的消息预览系统100的架构示意图,为实现支撑一个示例性应用,终端400(示例性的示出了终端400-1及终端400-2)通过网络300连接服务器200,网络300可以是广域网或者局域网,又或者是二者的组合,使用无线或有线链路实现数据传输。
终端400-1,配置为在虚拟社交场景的页面中,显示至少两个虚拟形象;
其中,该虚拟形象能够在虚拟社交场景中移动,并通过在虚拟社交场景移动,虚拟形象能够改变与其它虚拟形象的相对位置关系;
服务器200,配置为当目标虚拟形象对应的终端400-2给终端400-1对应的虚拟形象发送消息时,将该消息转发至终端400-1;
终端400-1,还配置为当接收到服务器200转发的终端400-1发送的消息时,在虚拟社交场景中目标虚拟形象的目标方位,显示用于指示存在未读消息的消息提示控件,并响应于针对消息提示控件的消息预览操作,在目标虚拟形象的目标方位,将显示该消息提示控件切换为显示未读消息的内容。
在一些实施例中,本申请实施例提供的虚拟社交场景中的消息预览方法可以由各种电子设备或计算机设备实施,例如,可以由终端单独实施,也可以由服务器单独实施,也可以由终端和服务器协同实施。本申请实施例可应用于各种场景,包括但不限于即时通信、云技术、人工智能、智慧交通、辅助驾驶、游戏、元宇宙等。
在一些实施例中,本申请实施例提供的实施虚拟社交场景中的消息预览方法的电子设备可以是各种类型的终端设备或服务器,其中,服务器(例如服务器200)可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(Content Deliver Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。终端(例如终端400-1及终端400-2)可以是智能手机、平板电脑、笔记本电脑、台式计算机、智能语音交互设备(例如智能音箱)、智能家电(例如智能电视)、智能手表、车载终端、VR设备等,但并不局限于此。终端以及服务器可以通过有线或无线通信方式进行直接或间接地连接,本申请实施例对此不做限制。
在一些实施例中,终端或服务器可以通过运行计算机程序来实现本申请实施例提供的虚拟社交场景中的消息预览方法,举例来说,计算机程序可以是操作系统中的原生程序或软件模块;可以是本地(Native)应用程序(Application,APP),即需要在操作系统中安装才能运行的程序;也可以是小程序,即只需要下载到浏览器环境中就可以运行的程序;还可以是能够嵌入至任意APP中的小程序。总而言之,上述计算机程序可以是任意形式的应用程序、模块或插件。
下面说明本申请实施例提供的实施虚拟社交场景中的消息预览方法的电子设备。参见图3,图3是本申请实施例提供的虚拟社交场景中的消息预览方法的电子设备500的结构示意图。以电子设备500为图2所示的终端为例,本申请实施例提供的电子设备500包括:
至少一个处理器510、存储器550、至少一个网络接口520和用户接口530。电子设备500中的各个组件通过总线系统540耦合在一起。可理解,总线系统540配置为实现这些组件之间的连接通信。总线系统540除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图3中将各种总线都标为总线系统540。
处理器510可以是一种集成电路芯片,具有信号的处理能力,例如通用处理器、数字信号处理器(Digital Signal Processor,DSP),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等,其中,通用处理器可以是微处理器或者任何常规的处理器等。
用户接口530包括使得能够呈现媒体内容的一个或多个输出装置531,包括一个或多个扬声器和/或一个或多个视觉显示屏。用户接口530还包括一个或多个输入装置532,包括有助于用户输入的用户接口部件,比如键盘、鼠标、麦克风、触屏显示屏、摄像头、其他输入按钮和控件。
存储器550可以是可移除的,不可移除的或其组合。示例性的硬件设备包括固态存储器,硬盘驱动器,光盘驱动器等。存储器550可选地包括在物理位置上远离处理器510的一个或多个存储设备。
存储器550包括易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。非易失性存储器可以是只读存储器(Read Only Memory,ROM),易失性存储器可以是随机存取存储器(Random Access Memory,RAM)。本申请实施例描述的存储器550旨在包括任意适合类型的存储器。
在一些实施例中,存储器550能够存储数据以支持各种操作,这些数据的示例包括程序、模块和数据结构或者其子集或超集,下面示例性说明。
操作系统551,包括配置为处理各种基本系统服务和执行硬件相关任务的系统程序,例如框架层、核心库层、驱动层等,配置为实现各种基础业务以及处理基于硬件的任务;
网络通信模块552,配置为经由一个或多个(有线或无线)网络接口520到达其他计算设备,示例性的网络接口520包括:蓝牙、无线相容性认证(WiFi)、和通用串行总线(Universal Serial Bus,USB)等;
显示模块553,配置为经由一个或多个与用户接口530相关联的输出装置531(例如,显示屏、扬声器等)使得能够呈现信息(例如,配置为操作外围设备和显示内容和信息的用户接口);
输入处理模块554,配置为对一个或多个来自输入装置532的用户输入或互动进行检测以及翻译所检测的输入或互动。
在一些实施例中,本申请实施例提供的虚拟社交场景中的消息预览装置可以采用软件方式实现,图3示出了存储在存储器550中的虚拟社交场景中的消息预览装置555,其可以是程序和插件等形式的软件,包括以下软件模块:第一显示模块5551、第二显示模块5552及切换模块5553,这些模块是逻辑上的,因此根据所实现的功能可以进行任意的组合或进一步拆分,将在下文中说明各个模块的功能。
在另一些实施例中,本申请实施例提供的虚拟社交场景中的消息预览装置555可以采用硬件方式实现,作为示例,本申请实施例提供的虚拟社交场景中的消息预览装置可以是采用硬件译码处理器形式的处理器,其被编程以执行本申请实施例提供的虚拟社交场景中的消息预览方法,例如,硬件译码处理器形式的处理器可以采用一个或多个应用专用集成电路(Application Specific Integrated Circuit,ASIC)、DSP、可编程逻辑器件(Programmable Logic Device,PLD)、复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或其他电子元件。
基于上述对本申请实施例的虚拟社交场景中的消息预览系统及电子设备的说明,下面说明本申请实施例提供的虚拟社交场景中的消息预览方法。在一些实施例中,本申请实施例提供的虚拟社交场景中的消息预览方法可由服务器或终端单独实施,或由服务器及终端协同实施,下面以终端实施为例说明本申请实施例提供的虚拟社交场景中的消息预览方法。
参见图4,图4是本申请实施例提供的虚拟社交场景中的消息预览方法的流程示意图,本申请实施例提供的虚拟社交场景中的消息预览方法包括:
步骤101:终端在虚拟社交场景的页面中,显示至少两个虚拟形象。
在实际应用中,终端上安装有支持虚拟社交场景的客户端(比如社交客户端、游戏客户端),还可以是集成有虚拟社交场景功能的客户端(比如即时通信客户端、直播客户端、招聘客户端等)。例如,终端上设置有集成有虚拟社交场景功能的即时通讯客户端,当该即时通讯客户端运行虚拟社交场景功能时,终端显示虚拟社交场景的页面,在该页面中可以显示多个(即至少两个)虚拟形象,每个虚拟形象对应一个用户对象,虚拟形象能够在虚拟社交场景中移动,并通过在虚拟社交场景移动,虚拟形象能够改变与其它虚拟形象的相对位置关系;用户基于自身对应的虚拟形象,在该虚拟社交场景中,可与其它虚拟形象进行消息会话,这里,虚拟形象可以是三维虚拟形象,也可以为二维虚拟形象,所提到的其它虚拟形象可以是当前用户的好友列表中好友的虚拟形象,或者是进入该虚拟社交场景中的任意虚拟形象;也即,该虚拟社交场景中的虚拟形象与当前登录账号(即当前用户)所对应的虚拟形象间的关系可以是好友关系,也可以是非好友关系,当目标虚拟形象与当前登录账号的虚拟形象间的关系是非好友关系时,可通过控制当前登录账号的虚拟形象执行与目标虚拟形象相关的目标操作,实现与目标虚拟形象建立好友关系,如该目标操作可以是虚拟形象与目标虚拟形象击掌的操作。
以终端上设置有虚拟社交客户端为例,当用户打开终端上的虚拟社交客户端并运行时,用户可以基于该社交客户端进行自身虚拟形象的设置,具体地,在虚拟形象的设置界面中,用户可进行自身虚拟形象的自主编辑,如进行二维或三维模型的选择、服饰的选择等,以实现自身虚拟形象的编辑,并基于编辑得到的虚拟形象在虚拟社交场景中,与其他用户的虚拟形象进行互动,如聊天、协同完成任务等。
在实际应用中,在虚拟社交场景中除了能够展示单人用户的虚拟形象,还可以展示社交群组对应的虚拟群组形象,用户基于自身对应的虚拟形象及该虚拟群组形象,在虚拟社交场景中,可与该社交群组中的其它虚拟形象进行消息会话。
在一些实施例中,在虚拟社交场景中,终端还显示各虚拟形象的状态,该状态用于指示虚拟形象当前所执行的操作,如显示用于指示虚拟形象正在进行聊天的聊天状态、显示用于指示虚拟形象正在听歌的听歌状态等,如此,能够让其它用户了解自身的状态,便于虚拟形象间的互动。
步骤102:当接收到至少两个虚拟形象中目标虚拟形象发送的消息时,在虚拟社交场景中,显示用于指示存在未读消息的消息提示控件。
在一些实施例中,在虚拟社交场景中,显示用于指示存在未读消息的消息提示控件,也即是在虚拟社交场景中目标虚拟形象的目标方位,显示用于指示存在未读消息的消息提示控件;其中,目标方位可以是以目标虚拟形象为中心、距目标虚拟形象的距离为目标距离的三维空间中的任一位置;例如,该目标方位是目标虚拟形象上方距离头顶第一长度的位置,或者是目标虚拟形象左侧距离左臂第二长度的位置等。
当虚拟社交场景中的目标虚拟形象给当前用户的虚拟形象发送消息时,在目标虚拟形象的目标方位,显示用于指示存在未读消息的消息提示控件(即消息提示按钮、消息提示功能项),该消息提示控件还指示未读消息的数量,也即该消息提示控件还携带用于指示未读消息的数量的文本信息;当用户单击该消息提示控件时,终端由虚拟社交场景的页面,跳转至消息详情页面,并在消息详情页面中显示未读消息的内容,当目标虚拟形象与当前虚拟形象 存在历史会话时,在消息详情页面中还显示目标虚拟形象与当前虚拟形象的历史聊天内容。
在一些实施例中,消息提示控件与目标虚拟形象相关联,也即保持相对位置关系不变,当该目标虚拟形象在虚拟社交场景中移动时,终端显示该消息跟随目标虚拟形象同步移动的过程,也即该消息提示控件会跟随目标虚拟形象同步移动。
步骤103:响应于针对消息提示控件的消息预览操作,将显示消息提示控件切换为显示未读消息的内容。
在实际应用中,消息预览操作用于指示进行未读消息的预览,即指示预先浏览消息的内容。
在一些实施例中,将显示消息提示控件切换为显示未读消息的内容,也即是,在目标虚拟形象的目标方位,将显示消息提示控件切换为显示未读消息的内容;其中,消息预览操作可以为针对消息提示控件的按压操作,相应的,终端响应于针对消息提示控件的消息预览操作,可通过如下方式在目标虚拟形象的目标方位,将显示消息提示控件切换为显示未读消息的内容:终端确定针对消息提示控件的按压操作满足消息预览条件时,取消显示消息提示控件,并在按压操作执行的过程中,在目标虚拟形象的目标方位,显示未读消息的内容,当按压操作被释放时,取消显示未读消息的内容,并在目标虚拟形象的目标方位,再次显示消息提示控件。
应用上述实施例,如此,对未读消息的内容的预览在当前的虚拟社交场景的页面中进行,无需终端将页面跳转到聊天详情页面,既提高了消息内容的查看效率,又保证了在预览消息内容的过程中,用户不会漏看虚拟社交场景中的信息,同时,消息预览操作基于消息提示控件实现,使得无需额外占用终端的显示资源,提高了终端显示资源的利用率。
接下来,对消息预览条件进行说明。在一些实施例中,当用户触发针对消息提示控件的按压操作时,终端对该按压操作的按压时长进行检测,当检测到按压时长达到时长阈值(具体可依据实际情况进行设定,如2秒)时,确定该按压操作满足消息预览条件;在另一些实施例中,当用户触发针对消息提示控件的按压操作时,终端对该按压操作的按压压力进行检测,当检测到按压压力值达到压力阈值(具体可依据实际情况进行设定)时,确定该按压操作满足消息预览条件;在另一些实施例中,当用户触发针对消息提示控件的按压操作时,终端对该按压操作的按压压力及按压时长同时进行检测,当检测到按压时长达到时长阈值且按压压力值达到压力阈值时,确定该按压操作满足消息预览条件。
示例性地,图5是本申请实施例提供的消息预览的界面示意图,参见图5,在虚拟社交场景的页面51中,显示有不同用户的虚拟形象,用户可控制自身对应的虚拟形象在虚拟社交场景中活动,如走路、跑步,与其他虚拟形象协同执行某任务,当终端接收到虚拟社交场景中目标虚拟形象给当前虚拟形象发送的消息时,在目标虚拟形象的目标方位(如头顶上方或身体重心上方目标距离处),显示用于指示存在来自目标虚拟形象的未读消息的消息提示控件52,当用户触发针对消息提示控件的按压操作时,终端检测该按压操作的按压时长,当该按压时长达到时长阈值时,触发终端进入消息预览模式,仍在目标虚拟形象的该目标方位,将原先显示的消息提示控件切换为显示未读消息的内容53,并当按压操作被释放时,将显示未读消息的内容,切换回显示消息提示控件。
在一些实施例中,消息预览操作可以为针对消息提示控件的触发操作,相应的,终端响应于针对消息提示控件的消息预览操作,可通过如下方式在目标虚拟形象的目标方位,将显示消息提示控件切换为显示未读消息的内容:取消显示消息提示控件,并在目标虚拟形象的目标方位,显示未读消息的内容,当该内容的显示时长达到第一时长时,取消显示未读消息的内容。
在实际应用中,当用户触发消息预览操作时,可在当前的虚拟社交场景的页面中显示未读消息的内容,并在显示时长达到第一时长(具体值可依据实际需要进行设定,如3秒)时自动消失,以实现用户针对未读消息的内容的预览,在提高消息查看效率的同时,充分利用了终端的显示资源,提高了显示资源的利用率。
需要说明的是,由于针对消息提示控件的单击操作,用于触发进行页面跳转至聊天详情页面,针对消息提示控件的触发操作可以是,除针对消息提示控件的单击操作以外的任意一种操作,比如该消息预览操作可以为针对消息提示控件的双击操作,拖动操作等。
在一些实施例中,消息预览操作还可以为针对消息提示控件的摇动操作(如摇一摇操作),当终端显示用于指示存在未读消息的消息提示控件后,用户手持终端执行摇一摇操作,终端将该摇一摇操作确定为针对消息提示控件的摇动操作;在实际应用中,终端可能接收到多个(至少两个)虚拟形象发送的消息,在虚拟社交场景的页面中,在各虚拟形象的目标方位分别显示消息提示控件,此时,当用户触发针对终端的摇一摇操作时,终端控制各消息提示控件处以候选状态,响应于用户触发的针对候选状态下的消息提示控件的选择指令,在所选择消息提示控件对应的虚拟形象的目标方位,将显示所选择的消息提示控件切换为显示相应未读消息的内容。这里,选择指令可以通过用户针对候选状态下的消息提示控件的触发操作(如单击、双击)所触发,或通过语音指令所触发。
在实际应用中,对于未读消息的内容的承载,可以采用消息预览框实现,具体地,终端响应于针对消息提示控件的消息预览操作,可通过如下方式在目标虚拟形象的目标方位,将显示消息提示控件切换为显示未读消息的内容:终端取消显示消息提示控件,并在目标虚拟形象的目标方位,显示消息预览框,在消息预览框中,显示未读消息的内容。其中,该消息预览框可以通过浮层进行显示,或者通过悬浮窗进行显示。
应用上述实施例,通过在消息预览框统一显示未读消息的内容,既提高了消息内容的查看效率,又保证了在预览消息内容的过程中,用户不会漏看虚拟社交场景中的信息,在提高消息查看效率的同时,充分利用了终端的显示资源,提高了显示资源的利用率。
在一些实施例中,消息预览框的大小能够适配当前未读消息的数量,例如,当消息的数量为多条时,为了能够让用户同时看到所有未读消息的内容,终端根据未读消息的内容所需要的显示面积的大小,动态调节消息预览框的大小,如此,既能够实现用户对未读消息内容的预览,又最小化了对当前页面中内容的覆盖,
在一些实施例中,消息预览框的大小为固定大小,终端在消息预览框中,可通过如下方式显示未读消息的内容:当未读消息的内容所需的显示面积不大于消息预览框的显示面积时,在消息预览框中,直接显示未读消息的内容;未读消息的内容所需的显示面积大于消息预览框的显示面积时,在消息预览框中,滚动显示未读消息的内容。
在实际应用中,结合未读消息的内容所需的显示面积、以及消息预览框的显示面积,确定未读消息的内容的显示方式,提高了未读消息显示过程中的显示灵活性,同时,也充分利用了终端的显示资源,提高了显示资源的利用率。
其中,终端在消息预览框中,可通过如下方式滚动显示未读消息的内容:终端在消息预览框中,显示未读消息的第一部分内容;滚动第一部分内容,以使第一部分内容逐渐消失于消息预览框;在滚动第一部分内容的过程中,逐渐显示未读消息的第二部分内容,第二部分内容的接收时间早于第一部分内容的接收时间。
应用上述实施例,实现了让用户最先看到最近接收的未读消息的内容,并自动为用户滚动显示历史未读消息的内容,提高用户的消息预览体验。
这里,当消息预览操作为针对消息提示控件的按压操作时,对于未读消息的内容的滚动显示可以为循环滚动显示,也即通过滚动显示已展示完所有未读消息的内容时,若当前用户未触发预览结束指令,即未释放按压操作时,将重新循环滚动显示未读消息的第一部分内容及第二部分内容。
在实际应用中,以消息预览框为参照,未读消息的内容的滚动方向可以为向下滚动,图6是本申请实施例提供的消息内容的滚动显示示意图,参见图6,以当前预览框61为参照,在预览框中从上到下依次显示各条未读消息的内容,显示顺序为接收时间由早至晚,当未读消息的数量较多,需要滚动才能显示完所有未读消息的内容时,终端在对预览框中所显示的内容进行滚动显示之前,首先按照从上到下、接收时间由早至晚的顺序,在预览框中显示至 少一条最新接收(即接收时间最晚)的未读消息的内容,然后从上到下滚动预览框中未读消息的内容,以显示接收时间相较于当前预览框中消息的接收时间较早的未读消息的内容,即历史未读消息的内容,如此,模拟用户向下滑动页面翻看历史消息内容的操作,使得无需用户主动滑动,自动进行未读消息内容滚动显示,提高了用户的消息预览体验。
这里,在预览框中显示的各条未读消息,可以携带接收时间标识,以指示相应消息的接收时间,针对多条消息中相邻的两条消息,如果消息的接收时间相差未超过时间阈值(该时间阈值可依据实际需要进行设定,如一分钟),则不增加新的时间标识,也即该相邻的两条消息中接收时间较晚的消息可不携带时间标识。
在一些实施例中,消息预览框仅显示一条未读消息的内容,当未读消息的数量为至少两条时,终端在消息预览框中,可通过如下方式滚动显示未读消息的内容:针对至少两条未读消息中接收时间相邻的第一未读消息及第二未读消息,在消息预览框中,显示第一未读消息的内容,并在第一未读消息的内容的显示时长达到第二时长(具体值可依据实际需要进行设定,如2秒)时,控制第一未读消息移出消息预览框并消失;在第一未读消息移出消息预览框时,控制第二未读消息移入消息预览框,并在消息预览框中,显示第二未读消息的内容。在实际应用中,第一未读消息的接收时间可以早于第二未读消息的接收时间,消息预览框可以显示于气泡卡片上。
如此,依据消息的接收时间,采用冒泡的样式依次展示各未读消息的内容,实现了用户对未读消息的逐条预览,由于消息预览框仅显示一条未读消息的内容,占用的显示空间较小,对当前页面中所展示的虚拟社交场景的内容不会造成较大影响。
示例性地,图7是本申请实施例提供的消息内容的滚动显示示意图,参见图7,当用户接收到来自目标虚拟形象70发送的消息,且用户触发针对未读消息的消息预览操作时,在目标虚拟形象70头顶上方的消息预览框中,首先显示接收时间最早的消息的内容,然后当该接收时间最早的消息的显示时长达到2秒(第二时长)时,移出该消息,并移入下一条未读消息,如图7中消息71与消息72是接收时间相邻的两条未读消息,在进行预览展示时,首先显示消息71,当消息71的显示时长达到2秒(第二时长)时,控制消息71移出消息预览框并消失,在消息71移出消息预览框时,控制消息72移入消息预览框,并在消息预览框中,显示消息72的内容。
在一些实施例中,存在接收的目标虚拟形象的消息为语音消息的情况,针对该情况,终端在目标虚拟形象的目标方位,可通过如下方式将显示消息提示控件切换为显示未读消息的内容:终端取消显示消息提示控件,并当未读消息为语音未读消息时,在目标虚拟形象的目标方位,显示语音未读消息的语音标识,以及对语音未读消息进行文本转换后的文本内容。如此,使用户无需手动执行语音转文字的操作,方便用户预览语音未读消息的内容。
示例性地,图8是本申请实施例提供的语音消息预览的界面示意图,参见图8,用户通过执行针对消息提示控件的按压操作,触发未读消息预览,当未读消息包括文本未读消息及语音未读消息时,终端取消显示消息提示控件81,并目标虚拟形象的目标方位,显示消息预览框82,消息预览框82显示有该文本未读消息的内容821及语音未读消息的内容822,该语音未读消息的内容822包括语音未读消息的语音标识823,以及对语音未读消息进行文本转换后的文本内容。
这里,由于未读消息为语音未读消息,为了能让用户同时感受到语音发送者的情绪,在实际应用中,在显示对语音未读消息进行文本转换后的文本内容的过程中,终端可播放语音未读消息的语音内容。如此,提高了用户在聊天过程中的交流有效性,从而提高了人机交互效率以及电子设备的硬件资源利用率。
在一些实施例中,终端当前展示的虚拟社交场景的页面中,并未包括当前用户所有好友的虚拟形象,也即仅包括用户部分好友的虚拟形象,例如,仅展示目标时间段内(如一个星期)与当前用户的互动次数达到互动次数阈值的好友的虚拟形象,或者展示最近一段时间内(如三天)与当前用户的互动频率(一天的互动次数)达到互动频率阈值的好友的虚拟形象; 具体地,当在接收到目标虚拟形象发送的消息前,在虚拟社交场景的页面中,显示不包括目标虚拟形象的至少一个虚拟形象,从而当接收到目标虚拟形象发送的消息时,在虚拟社交场景的页面中,显示目标虚拟形象,进而将目标虚拟对象以及至少一个虚拟形象,确定为至少两个虚拟形象;基于此,当在接收到目标虚拟形象发送的消息前,该目标虚拟形象未处于当前虚拟社交场景的页面中时,当接收到目标虚拟形象发送的消息时,将目标虚拟形象显示于虚拟社交场景的页面中,并进而在目标虚拟形象的目标方位,显示用于指示存在未读消息的消息提示控件。如此,能够在目标虚拟形象未处于虚拟社交场景的页面的情况下,通过将目标虚拟形象显示在当前拟社交场景的页面,让用户清楚的知道消息的发送对象,充分利用了终端的显示资源,提高了显示资源的利用率。
在一些实施例中,为了使用户在虚拟社交场景的页面中浏览未读消息的内容后,能够对未读消息进行快捷回复,终端将显示消息提示控件切换为显示未读消息的内容之后,还显示针对未读消息的快捷回复控件,该快捷回复控件,用于实现针对未读消息的快捷回复;如此,用户可基于该快捷回复控件,对未读消息进行快捷回复,增加了聊天过程中交流方式的多样性,提高了用户的交流体验,从而提高了人机交互效率以及电子设备的硬件资源利用率。
在实际应用中,该快捷回复控件可以为用于进行语音快捷回复的语音快捷回复控件,终端响应于针对语音快捷回复控件的按压操作,当按压操作满足触发条件时,在按压操作执行的过程中,进行音频采集,当按压操作被释放时,发送包括采集的音频内容的语音消息至目标虚拟形象。
应用上述实施例,通过快捷回复控件实现语音快捷回复,不仅增加了聊天过程中交流方式的多样性,提高了用户的交流体验,而且提高了用户在聊天过程中的交流有效性,从而提高了人机交互效率以及电子设备的硬件资源利用率。
在实际应用中,该快捷回复控件还可以为用于进行文本快捷回复的文本快捷回复控件,终端响应于针对文本快捷回复控件的触发操作,显示消息发送框及相应的发送控件;响应于文本编辑操作,在消息发送框中显示所编辑的内容;响应于基于发送控件触发的消息发送指令(如点击发送控件),发送所编辑的内容至目标虚拟形象。
在实际应用中,通过快捷回复控件实现文本编辑以及消息发送,增加了聊天过程中的聊天方式的多样性,提高了用户的交流体验,从而提高了人机交互效率以及电子设备的硬件资源利用率。
在一些实施例中,虚拟社交场景中还包括至少一个社交群组对应的虚拟群组形象,每个社交群组对应一个虚拟群组形象,该虚拟群组形象为,用于代表相应社交群组的三维形象模型;当终端接收到目标社交群组中的成员所发送的消息时,在目标社交群组对应的目标三维形象模型的目标方位,显示用于指示存在群未读消息的群消息提示控件;响应于针对群消息提示控件的消息预览操作,在目标三维形象模型的目标方位,将显示群消息提示控件切换为显示群未读消息的内容。如此,通过群消息提示控件实现用户针对群未读消息的内容的预览,在提高消息查看效率的同时,充分利用了终端的显示资源,提高了显示资源的利用率。
示例性地,图9是本申请实施例提供的群消息预览的界面示意图,参见图9,在虚拟社交场景的页面91中,显示有不同用户的虚拟形象(如虚拟形象92)、及目标社交群组对应的目标三维形象模型93,当终端接收到目标社交群组中成员给当前虚拟形象发送的消息时,在目标三维形象模型92的目标方位(如上方目标距离处),显示用于指示存在来自目标社交群组的未读消息的消息提示控件94,当用户触发针对消息提示控件94的按压操作时,终端检测该按压操作的按压时长,当该按压时长达到时长阈值时,触发终端进入消息预览模式,仍在目标三维形象模型93的该目标方位,将原先显示的消息提示控件94切换为显示未读消息的内容95,该未读消息的内容95携带发送对象的对象标识96,并当按压操作被释放时,将显示未读消息的内容,切换回显示消息提示控件。
在一些实施例中,存在用户可能忙于和虚拟社交场景中其它虚拟形象进行交互,未注意到未读消息的情况,此时,若目标虚拟形象给当前用户发送消息较多,默认目标虚拟形象存 在与当前用户进行消息沟通的迫切需求,当目标虚拟形象发送的未读消息的数量达到数量阈值时,终端播放消息提示音频,该消息提示音频,用于指示查看目标虚拟形象发送的未读消息;如此,使得用户能够提醒用户及时进行消息查看,避免遗漏重要消息,提高了用户的交流体验,从而提高了人机交互效率以及电子设备的硬件资源利用率。
在一些实施例中,该虚拟社交场景可以是游戏场景,在该游戏场景中,每个虚拟形象对应一个游戏角色,用户可以基于自身的虚拟形象在该游戏场景中与其它虚拟形象进行战斗,如当前登录账号的虚拟形象归属于第一虚拟阵营,该第一虚拟阵营中包括至少两个虚拟对象,第一虚拟阵营与包括至少两个虚拟对象的第二虚拟阵营为敌对关系,在当前登录账号的虚拟形象与第二虚拟阵营中的虚拟对象进行对战的过程中,当接收到第一虚拟阵营中的目标虚拟形象发送的消息时,在该游戏场景中目标虚拟形象的目标方位,显示用于指示存在未读消息的消息提示控件,响应于针对消息提示控件的消息预览操作,在目标虚拟形象的目标方位,将显示消息提示控件切换为显示未读消息的内容;如此,用户通过触发消息预览操作,实现针对游戏场景中队友消息的快速查看,在不影响游戏进程的情况下,收获愉快高效的社交通信体验。
在一些实施例中,该虚拟社交场景还可以是基于虚拟现实的虚拟社交场景,也即基于虚拟现实技术所实现,相应的,进行虚拟社交场景的页面显示的电子设备为VR设备,如穿戴式的VR设备,用户可以感知穿戴式的VR设备投射出的虚拟社交场景,并通过VR设备所投射出的虚拟社交场景,与其它用户在虚拟社交场景中进行交互;在实际应用中,VR设备在虚拟社交场景的页面中,显示至少两个虚拟形象,当接收到目标虚拟形象发送的消息时,在虚拟社交场景中目标虚拟形象的目标方位,显示用于指示存在未读消息的消息提示控件,响应于针对消息提示控件的消息预览操作,在目标虚拟形象的目标方位,将显示消息提示控件切换为显示未读消息的内容。
这里,对消息预览操作进行说明。在一些实施例中,该消息预览操作可以为用于触发消息提示控件的体感操作,当检测到用于触发消息提示控件的体感操作时,将体感操作确定为消息预览操作,例如,该体感操作可以为针对消息提示控件的虚拟点击操作,用户手戴可对手进行定位的传感器手套,当用户点击虚拟场景中对应消息提示控件的位置时,触发消息预览操作,或者,用户裸手点击虚拟场景中对应消息提示控件的位置,通过对用户进行肢体位置检测,确定用户裸手点击虚拟场景中对应消息提示控件的位置时,触发消息预览操作。
在另一些实施例中,该消息预览操作还可以为针对外部设备的射线发射操作,当检测到针对外部设备的射线发射操作、基于射线发射操作,外部设备所发射的射线的照射位置对应目标位置时,将该射线发射操作确定为消息预览操作;其中,该目标位置为,消息提示控件在虚拟社交场景中的显示位置。例如,该外部设备为可以发射射线(如激光)的手柄或指环,在VR设备显示消息提示控件的过程中,当用户基于手柄或指环触发射线发射操作,该手柄或指环所发射的射线照射至上述目标位置时,将该射线发射操作确定为消息预览操作,以触发消息预览。
这里,当检测到针对外部设备的射线发射操作,且基于射线发射操作,外部设备所发射的射线的照射位置对应目标位置时,获取该射线的照射位置对应目标位置的时长,也即,虚拟场景中该射线照射消息提示控件的时长,当该时长达到时长阈值(具体可依据实际需要进行设定,如2s)时,将射线发射操作确定为消息预览操作。
在实际应用中,当虚拟社交场景为基于虚拟现实的虚拟社交场景时,还可以基于消息提示控件,实现用户针对未读消息的内容的预览,在提高消息查看效率的同时,充分利用了终端的显示资源,提高了显示资源的利用率。
应用本申请上述实施例,在虚拟社交场景中,当接收到虚拟形象发送的消息时,通过执行针对消息提示控件的消息预览操作,能够在当前虚拟社交场景的页面,将显示消息提示控件切换为显示未读消息的内容;如此,相较于相关技术中进行页面跳转才能查看消息的方式,本申请实施例提高了虚拟社交场景中消息的查看效率,同时,减少了查看消息的人机交互次 数,提高了人机交互效率,且消息预览操作基于消息提示控件实现,使得无需额外占用终端的显示资源,提高了终端显示资源的利用率。
下面将说明本申请实施例在一个实际的应用场景中的示例性应用。在由多个虚拟角色(即上文中虚拟形象)组成的场景中,用户收到了其他用户发来的消息,发来消息的角色头顶处会显示未读消息提示,用户长按该消息提示,该提示会变化为消息预览,显示所有的未读新消息内容;其中,如果有语音消息,则自动显示语音转文字后的结果,方便用户预览所有消息。接下来进行详细说明。
图10及图11是本申请实施例提供的虚拟社交场景中的消息预览方法的流程示意图,结合图10及图11,本申请实施例提供的虚拟社交场景中的消息预览方法包括:
步骤201:终端接收到其他虚拟角色的消息。
这里,终端上设置有虚拟社交场景客户端,或者具有虚拟社交场景功能的客户端,步骤201对应图11中步骤301,在实际应用中,终端(客户端表现层)显示包括多个虚拟角色的虚拟社交场景后,当当前登录账号接收到虚拟社交场景中其它虚拟角色发来的消息时,在对应虚拟角色的头顶上方显示未读消息提示(即上文中用于指示存在未读消息的消息提示控件),对应图11中步骤302,即客户端表现层在对应虚拟角色的头顶显示未读消息控件(即消息提示控件)。
步骤202:用户长按未读消息提示。
这里,步骤202对应图11中步骤303,在终端(客户端表现层)显示未读消息提示后,用户可以点击或者长按该提示,其中,长按指的是用户执行对未读消息提示的按压操作、且该按压操作的按压时长达到目标时长(如1秒钟);如果用户点击未读消息提示,则终端打开聊天详情页,如果用户长按未读消息提示,当长按超过1秒后,触发进入消息预览模式,然后发送未读消息的内容获取请求给服务器(即后台逻辑层),以请求未读消息数据(未读消息的内容),对应图11中步骤304。
步骤203:终端判断未读消息中是否含有语音消息,如果有,执行步骤204,如果没有,执行步骤205。
在实际应用中,判断未读消息中是否含有语音消息的操作既可由终端实现,也可由服务器(即后台逻辑层)实现,当由服务器(即后台逻辑层)实现时,该步骤203对应图11中步骤305。
步骤204:终端将语音消息转化为文字。
这里,将语音消息转化为文字的操作可由终端实现,也可由服务器(即后台逻辑层)实现,当由服务器(即后台逻辑层)实现时,该步骤204对应图11中步骤306,即服务器(即后台逻辑层)提取语音消息中的文字,并将未读消息的内容返回至终端,即执行图11中步骤307。
步骤205:终端判断是否超过显示区域,如果未超过,执行步骤206,如果超过,执行步骤207。
这里,步骤205对应图11中步骤308,终端会判断当前需要显示的未读消息的文字内容所需要的显示区域,是否超过消息预览框的大小,以进一步确定该文字内容的展示方式。
步骤206:终端显示所有消息的内容。
这里,步骤206对应图11中步骤309,当消息预览框的大小足够显示所有未读消息的内容时,终端将直接在消息预览框中显示所有未读消息的内容。
步骤207:终端开启循环滚动显示,到达底部后停留3秒重新滚动。
这里,步骤207对应图11中步骤310,当消息预览框的大小不足以显示所有未读消息的内容时,将滚动显示未读消息的内容,终端最先显示最新接收的至少一条未读消息的内容,然后相较于消息预览框,向下滚动显示历史未读消息的内容,模拟用户向下滑动页面翻看历史消息内容的操作,使得无需用户主动滑动,自动进行未读消息内容滚动显示,提高了用户 的消息预览体验。
步骤208:用户松开手指。
这里,步骤208对应图11中步骤311,当用户松开手指、即释放长按操作时,终端退出预览模式,取消显示的未读消息的内容并重新显示未读消息提示,对应图11中步骤312,即终端(客户端表现层)关闭预览模式,显示未读消息控件。
步骤209:用户点击未读消息提示。
步骤210:终端打开聊天详情。
这里,当用户点击终端显示的未读消息提示时,终端响应于该点击操作,进行页面跳转至聊天详情页面,并在聊天详情页面显示前述其他虚拟角色发送的未读消息的内容、以及当前虚拟角色与该其他虚拟角色的历史聊天消息内容。
应用本申请上述实施例,对未读消息的内容的预览在当前的虚拟社交场景的页面中进行,无需终端将页面跳转到聊天详情页面,即在不进入聊天详情页的情况下,能够让用户完整地阅览所有消息内容,既提高了消息内容的查看效率,又保证了在预览消息内容的过程中,用户不会漏看虚拟社交场景中的信息;消息预览操作基于消息提示控件实现,使得无需额外占用终端的显示资源,提高了终端显示资源的利用率;当未读消息中存在语音消息时,对于不方便查看的语音,先将它转化为文字,再和本身的文字消息排列,因为用户在长按的过程中是没有办法点击语音进行听取的,转化为文字能够保证阅读过程不出现断裂。
下面继续说明本申请实施例提供的虚拟社交场景中的消息预览装置555实施为软件模块的示例性结构,在一些实施例中,本申请实施例提供的虚拟社交场景中的消息预览装置包括:
第一显示模块5551,配置为在虚拟社交场景的页面中,显示至少两个虚拟形象;
其中,所述虚拟形象能够在所述虚拟社交场景中移动,并通过在所述虚拟社交场景移动,所述虚拟形象能够改变与其它虚拟形象的相对位置关系;
第二显示模块5552,配置为当接收到所述至少两个虚拟形象中目标虚拟形象发送的消息时,在所述虚拟社交场景中,显示用于指示存在未读消息的消息提示控件;
切换模块5553,配置为响应于针对所述消息提示控件的消息预览操作,将显示所述消息提示控件切换为显示所述未读消息的内容。
在一些实施例中,所述切换模块,还配置为当所述消息预览操作为针对所述消息提示控件的按压操作、且所述按压操作满足消息预览条件时,取消显示所述消息提示控件,并
在所述按压操作执行的过程中,在所述目标虚拟形象的目标方位,显示所述未读消息的内容。
在一些实施例中,所述切换模块,还配置为在显示所述未读消息的内容之后,当所述按压操作被释放时,取消显示所述未读消息的内容,并在所述目标虚拟形象的目标方位,再次显示所述消息提示控件。
在一些实施例中,所述切换模块,还配置为当所述消息预览操作为针对所述消息提示控件的触发操作时,取消显示所述消息提示控件,并
在所述目标虚拟形象的目标方位,显示所述未读消息的内容,当所述内容的显示时长达到第一时长时,取消显示所述未读消息的内容。
在一些实施例中,所述切换模块,还配置为取消显示所述消息提示控件;在所述目标虚拟形象的目标方位,显示消息预览框,并在所述消息预览框中,显示所述未读消息的内容。
在一些实施例中,所述切换模块,还配置为当所述未读消息的内容所需的显示面积不大于所述消息预览框的显示面积时,在所述消息预览框中,直接显示所述未读消息的内容;
当所述未读消息的内容所需的显示面积大于所述消息预览框的显示面积时,在所述消息预览框中,滚动显示所述未读消息的内容。
在一些实施例中,所述切换模块,还配置为在所述消息预览框中,显示所述未读消息的第一部分内容;
滚动所述第一部分内容,以使所述第一部分内容逐渐消失于所述消息预览框;
在滚动所述第一部分内容的过程中,逐渐显示所述未读消息的第二部分内容,所述第二部分内容的接收时间早于所述第一部分内容的接收时间。
在一些实施例中,所述切换模块,还配置为针对所述至少两条未读消息中接收时间相邻的第一未读消息及第二未读消息,在所述消息预览框中,显示所述第一未读消息的内容,并
在所述第一未读消息的内容的显示时长达到第二时长时,控制所述第一未读消息移出所述消息预览框并消失;
在所述第一未读消息移出所述消息预览框时,控制所述第二未读消息移入所述消息预览框,并在所述消息预览框中,显示所述第二未读消息的内容。
在一些实施例中,所述切换模块,还配置为取消显示所述消息提示控件,并当所述未读消息为语音未读消息时,在所述目标虚拟形象的目标方位,显示所述语音未读消息的语音标识,以及对所述语音未读消息进行文本转换后的文本内容。
在一些实施例中,所述装置还包括播放模块,配置为在显示所述文本内容的过程中,播放所述语音未读消息的语音内容。
在一些实施例中,所述第一显示模块,还配置为在虚拟社交场景的页面中,显示不包括所述目标虚拟形象的至少一个虚拟形象;
当接收到所述目标虚拟形象发送的消息时,在虚拟社交场景的页面中,显示所述目标虚拟形象;将所述目标虚拟对象以及所述至少一个虚拟形象,确定为所述至少两个虚拟形象。
在一些实施例中,所述第二显示模块,还配置为在将显示所述消息提示控件切换为显示所述未读消息的内容之后,显示针对所述未读消息的快捷回复控件,所述快捷回复控件,用于实现针对所述未读消息的快捷回复。
在一些实施例中,所述快捷回复控件为语音快捷回复控件,所述装置还包括消息回复模块,配置为响应于针对所述语音快捷回复控件的按压操作,当所述按压操作满足触发条件时,在所述按压操作执行的过程中,进行音频采集;
当所述按压操作被释放时,发送包括采集的音频内容的语音消息至所述目标虚拟形象。
在一些实施例中,所述快捷回复控件为文本快捷回复控件,所述装置还包括消息回复模块,配置为响应于针对所述文本快捷回复控件的触发操作,显示消息发送框及相应的发送控件;
响应于文本编辑操作,在所述消息发送框中显示所编辑的内容;
响应于基于所述发送控件触发的消息发送指令,发送所编辑的内容至所述目标虚拟形象。
在一些实施例中,所述虚拟社交场景中还包括至少一个社交群组对应的虚拟群组形象,所述虚拟群组形象为,用于代表所述社交群组的三维形象模型;
所述第二显示模块,还配置为当接收到所述目标社交群组中的成员所发送的消息时,在所述目标社交群组对应的目标三维形象模型的目标方位,显示用于指示存在群未读消息的群消息提示控件;
所述切换模块,还配置为响应于针对所述群消息提示控件的消息预览操作,在所述目标三维形象模型的所述目标方位,将显示所述群消息提示控件切换为显示所述群未读消息的内容。
在一些实施例中,所述装置还包括播放模块,配置为当所述未读消息的数量达到数量阈值时,播放消息提示音频,所述消息提示音频,用于指示查看所述目标虚拟形象发送的所述未读消息。
在一些实施例中,所述装置还包括检测模块,配置为当所述虚拟社交场景为基于虚拟现实的虚拟社交场景时,检测到用于触发所述消息提示控件的体感操作,将所述体感操作确定为所述消息预览操作;或者,
检测到针对外部设备的射线发射操作,当基于所述射线发射操作,所述外部设备所发射的射线的照射位置对应目标位置时,将所述射线发射操作确定为所述消息预览操作;
其中,所述目标位置为,所述消息提示控件在所述虚拟社交场景中的显示位置。
本申请实施例还提供一种电子设备,所述电子设备包括:
存储器,配置为存储可执行指令;
处理器,配置为执行所述存储器中存储的可执行指令时,实现本申请实施例提供的虚拟社交场景中的消息预览方法。
本申请实施例还提供一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机可执行指令,该计算机可执行指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机可执行指令,处理器执行该计算机可执行指令,使得该计算机设备执行本申请实施例提供的虚拟社交场景中的消息预览方法。
本申请实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,当计算机可执行指令被处理器执行时,实现本申请实施例提供的虚拟社交场景中的消息预览方法。
在一些实施例中,计算机可读存储介质可以是只读存储器(Read-Only Memory,ROM)、随即存储器(Random Access Memory,RAM)、可擦写可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、闪存、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备。
在一些实施例中,可执行指令可以采用程序、软件、软件模块、脚本或代码的形式,按任意形式的编程语言(包括编译或解释语言,或者声明性或过程性语言)来编写,并且其可按任意形式部署,包括被部署为独立的程序或者被部署为模块、组件、子例程或者适合在计算环境中使用的其他单元。
作为示例,可执行指令可以但不一定对应于文件系统中的文件,可以可被存储在保存其他程序或数据的文件的一部分,例如,存储在超文本标记语言(HTML,Hyper Text Markup Language)文档中的一个或多个脚本中,存储在专用于所讨论的程序的单个文件中,或者,存储在多个协同文件(例如,存储一个或多个模块、子程序或代码部分的文件)中。
作为示例,可执行指令可被部署为在一个计算设备上执行,或者在位于一个地点的多个计算设备上执行,又或者,在分布在多个地点且通过通信网络互连的多个计算设备上执行。
可以理解的是,在本申请实施例中,涉及到用户的触发操作等相关的数据,当本申请实施例运用到实际产品或技术中时,需要获得用户许可或者同意,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。
以上所述,仅为本申请的实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和范围之内所作的任何修改、等同替换和改进等,均包含在本申请的保护范围之内。

Claims (21)

  1. 一种虚拟社交场景中的消息预览方法,所述方法由电子设备执行,所述方法包括:
    在虚拟社交场景的页面中,显示至少两个虚拟形象;
    其中,所述虚拟形象能够在所述虚拟社交场景中移动,并通过在所述虚拟社交场景移动,所述虚拟形象能够改变与其它虚拟形象的相对位置关系;
    当接收到所述至少两个虚拟形象中目标虚拟形象发送的消息时,在所述虚拟社交场景中,显示用于指示存在未读消息的消息提示控件;
    响应于针对所述消息提示控件的消息预览操作,将显示所述消息提示控件切换为显示所述未读消息的内容。
  2. 如权利要求1所述的方法,其中,所述在将显示所述消息提示控件切换为显示所述未读消息的内容,包括:
    当所述消息预览操作为针对所述消息提示控件的按压操作、且所述按压操作满足消息预览条件时,取消显示所述消息提示控件,并
    在所述按压操作执行的过程中,在所述目标虚拟形象的目标方位,显示所述未读消息的内容。
  3. 如权利要求2所述的方法,其中,所述显示所述未读消息的内容之后,所述方法还包括:
    当所述按压操作被释放时,取消显示所述未读消息的内容,并在所述目标虚拟形象的目标方位,再次显示所述消息提示控件。
  4. 如权利要求1-3所述的方法,其中,所述将显示所述消息提示控件切换为显示所述未读消息的内容,包括:
    当所述消息预览操作为针对所述消息提示控件的触发操作时,取消显示所述消息提示控件,并
    在所述目标虚拟形象的目标方位,显示所述未读消息的内容,当所述内容的显示时长达到第一时长时,取消显示所述未读消息的内容。
  5. 如权利要求1-4所述的方法,其中,所述将显示所述消息提示控件切换为显示所述未读消息的内容,包括:
    取消显示所述消息提示控件;
    在所述目标虚拟形象的目标方位,显示消息预览框,并在所述消息预览框中,显示所述未读消息的内容。
  6. 如权利要求5所述的方法,其中,所述在所述消息预览框中,显示所述未读消息的内容,包括:
    当所述未读消息的内容所需的显示面积不大于所述消息预览框的显示面积时,在所述消息预览框中,直接显示所述未读消息的内容;
    当所述未读消息的内容所需的显示面积大于所述消息预览框的显示面积时,在所述消息预览框中,滚动显示所述未读消息的内容。
  7. 如权利要求6所述的方法,其中,所述在所述消息预览框中,滚动显示所述未读消息的内容,包括:
    在所述消息预览框中,显示所述未读消息的第一部分内容;
    滚动所述第一部分内容,以使所述第一部分内容逐渐消失于所述消息预览框;
    在滚动所述第一部分内容的过程中,逐渐显示所述未读消息的第二部分内容,所述第二部分内容的接收时间早于所述第一部分内容的接收时间。
  8. 如权利要求6所述的方法,其中,所述未读消息的数量为至少两条,所述在所述消息预览框中,滚动显示所述未读消息的内容,包括:
    针对所述至少两条未读消息中接收时间相邻的第一未读消息及第二未读消息,在所述消 息预览框中,显示所述第一未读消息的内容,并
    在所述第一未读消息的内容的显示时长达到第二时长时,控制所述第一未读消息移出所述消息预览框并消失;
    在所述第一未读消息移出所述消息预览框时,控制所述第二未读消息移入所述消息预览框,并在所述消息预览框中,显示所述第二未读消息的内容。
  9. 如权利要求1-8所述的方法,其中,所述将显示所述消息提示控件切换为显示所述未读消息的内容,包括:
    取消显示所述消息提示控件,并当所述未读消息为语音未读消息时,在所述目标虚拟形象的目标方位,显示所述语音未读消息的语音标识,以及对所述语音未读消息进行文本转换后的文本内容。
  10. 如权利要求9所述的方法,其中,所述方法还包括:
    在显示所述文本内容的过程中,播放所述语音未读消息的语音内容。
  11. 如权利要求1-10所述的方法,其中,所述在虚拟社交场景的页面中,显示至少两个虚拟形象,包括:
    在虚拟社交场景的页面中,显示不包括所述目标虚拟形象的至少一个虚拟形象;
    当接收到所述目标虚拟形象发送的消息时,在虚拟社交场景的页面中,显示所述目标虚拟形象;
    将所述目标虚拟对象以及所述至少一个虚拟形象,确定为所述至少两个虚拟形象。
  12. 如权利要求1-11所述的方法,其中,所述将显示所述消息提示控件切换为显示所述未读消息的内容之后,所述方法还包括:
    显示针对所述未读消息的快捷回复控件,所述快捷回复控件,用于实现针对所述未读消息的快捷回复。
  13. 如权利要求12所述的方法,其中,所述快捷回复控件为语音快捷回复控件,所述方法还包括:
    响应于针对所述语音快捷回复控件的按压操作,当所述按压操作满足触发条件时,在所述按压操作执行的过程中,进行音频采集;
    当所述按压操作被释放时,发送包括采集的音频内容的语音消息至所述目标虚拟形象。
  14. 如权利要求12所述的方法,其中,所述快捷回复控件为文本快捷回复控件,所述方法还包括:
    响应于针对所述文本快捷回复控件的触发操作,显示消息发送框及相应的发送控件;
    响应于文本编辑操作,在所述消息发送框中显示所编辑的内容;
    响应于基于所述发送控件触发的消息发送指令,发送所编辑的内容至所述目标虚拟形象。
  15. 如权利要求1-14所述的方法,其中,所述虚拟社交场景中还包括至少一个社交群组对应的虚拟群组形象,所述虚拟群组形象为,用于代表所述社交群组的三维形象模型;所述方法还包括:
    当接收到所述目标社交群组中的成员所发送的消息时,在所述目标社交群组对应的目标三维形象模型的目标方位,显示用于指示存在群未读消息的群消息提示控件;
    响应于针对所述群消息提示控件的消息预览操作,在所述目标三维形象模型的所述目标方位,将显示所述群消息提示控件切换为显示所述群未读消息的内容。
  16. 如权利要求1-15所述的方法,其中,所述方法还包括:
    当所述未读消息的数量达到数量阈值时,播放消息提示音频,所述消息提示音频,用于指示查看所述目标虚拟形象发送的所述未读消息。
  17. 如权利要求1-16所述的方法,其中,当所述虚拟社交场景为基于虚拟现实的虚拟社交场景时,所述方法还包括:
    检测到用于触发所述消息提示控件的体感操作,将所述体感操作确定为所述消息预览操作;或者,
    检测到针对外部设备的射线发射操作,当基于所述射线发射操作,所述外部设备所发射的射线的照射位置对应目标位置时,将所述射线发射操作确定为所述消息预览操作;
    其中,所述目标位置为,所述消息提示控件在所述虚拟社交场景中的显示位置。
  18. 一种虚拟社交场景中的消息预览装置,所述装置包括:
    第一显示模块,配置为在虚拟社交场景的页面中,显示至少两个虚拟形象;
    其中,所述虚拟形象能够在所述虚拟社交场景中移动,并通过在所述虚拟社交场景移动,所述虚拟形象能够改变与其它虚拟形象的相对位置关系;
    第二显示模块,配置为当接收到所述至少两个虚拟形象中目标虚拟形象发送的消息时,在所述虚拟社交场景中所述目标虚拟形象的目标方位,显示配置为指示存在未读消息的消息提示控件;
    切换模块,配置为响应于针对所述消息提示控件的消息预览操作,在所述目标虚拟形象的所述目标方位,将显示所述消息提示控件切换为显示所述未读消息的内容。
  19. 一种电子设备,所述电子设备包括:
    存储器,配置为存储计算机可执行指令;
    处理器,配置为执行所述存储器中存储的计算机可执行指令时,实现权利要求1至17任一项所述的方法。
  20. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时,实现权利要求1至17任一项所述的方法。
  21. 一种计算机程序产品,包括计算机程序或计算机可执行指令,所述计算机程序或计算机可执行指令被处理器执行时,实现权利要求1至17任一项所述的方法。
PCT/CN2023/112897 2022-09-14 2023-08-14 虚拟社交场景中的消息预览方法、装置、电子设备、计算机可读介质及计算机程序产品 WO2024055792A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211113944.0 2022-09-14
CN202211113944.0A CN117732059A (zh) 2022-09-14 2022-09-14 虚拟社交场景中的消息预览方法、装置、设备及存储介质

Publications (1)

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

Family

ID=90249474

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/112897 WO2024055792A1 (zh) 2022-09-14 2023-08-14 虚拟社交场景中的消息预览方法、装置、电子设备、计算机可读介质及计算机程序产品

Country Status (2)

Country Link
CN (1) CN117732059A (zh)
WO (1) WO2024055792A1 (zh)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070203991A1 (en) * 2006-02-28 2007-08-30 Microsoft Corporation Ordering personal information using social metadata
CN106020613A (zh) * 2016-05-25 2016-10-12 维沃移动通信有限公司 一种未读消息的操作方法及移动终端
CN107105107A (zh) * 2017-06-23 2017-08-29 努比亚技术有限公司 消息显示方法、移动终端及计算机可读存储介质
CN108108216A (zh) * 2017-12-21 2018-06-01 深圳市金立通信设备有限公司 一种管理消息的方法、终端及计算机可读存储介质
US20190121866A1 (en) * 2017-10-25 2019-04-25 Facebook, Inc. Generating a relevance score for direct digital messages based on crowdsourced information and social-network signals
CN110543269A (zh) * 2019-09-06 2019-12-06 腾讯科技(深圳)有限公司 一种消息处理方法、装置及终端设备、存储介质
CN114650264A (zh) * 2020-12-17 2022-06-21 北京字跳网络技术有限公司 未读消息的展示方法、装置、电子设备和存储介质
CN114896536A (zh) * 2022-05-31 2022-08-12 北京字跳网络技术有限公司 消息处理方法、装置、设备及存储介质

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070203991A1 (en) * 2006-02-28 2007-08-30 Microsoft Corporation Ordering personal information using social metadata
CN106020613A (zh) * 2016-05-25 2016-10-12 维沃移动通信有限公司 一种未读消息的操作方法及移动终端
CN107105107A (zh) * 2017-06-23 2017-08-29 努比亚技术有限公司 消息显示方法、移动终端及计算机可读存储介质
US20190121866A1 (en) * 2017-10-25 2019-04-25 Facebook, Inc. Generating a relevance score for direct digital messages based on crowdsourced information and social-network signals
CN108108216A (zh) * 2017-12-21 2018-06-01 深圳市金立通信设备有限公司 一种管理消息的方法、终端及计算机可读存储介质
CN110543269A (zh) * 2019-09-06 2019-12-06 腾讯科技(深圳)有限公司 一种消息处理方法、装置及终端设备、存储介质
CN114650264A (zh) * 2020-12-17 2022-06-21 北京字跳网络技术有限公司 未读消息的展示方法、装置、电子设备和存储介质
CN114896536A (zh) * 2022-05-31 2022-08-12 北京字跳网络技术有限公司 消息处理方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN117732059A (zh) 2024-03-22

Similar Documents

Publication Publication Date Title
CN112933591B (zh) 游戏虚拟角色的控制方法及装置、存储介质及电子设备
US20230347243A1 (en) Task guidance method and apparatus in virtual scene, electronic device, storage medium, and program product
CN112422405B (zh) 消息互动方法、装置及电子设备
CN112416196B (zh) 虚拟对象的控制方法、装置、设备及计算机可读存储介质
TWI831074B (zh) 虛擬場景中的信息處理方法、裝置、設備、媒體及程式產品
CN108984087A (zh) 基于三维虚拟形象的社交互动方法及装置
WO2022142626A1 (zh) 虚拟场景的适配显示方法、装置、电子设备、存储介质及计算机程序产品
WO2022242260A1 (zh) 游戏中的互动方法、装置、设备及存储介质
TW202217541A (zh) 虛擬按鍵的位置調整方法、裝置、設備、儲存介質及程式産品
WO2021244257A1 (zh) 一种歌曲的处理方法、装置、电子设备、可读存储介质
CN114296597A (zh) 虚拟场景中的对象交互方法、装置、设备及存储介质
CN113350779A (zh) 游戏虚拟角色动作控制方法及装置、存储介质及电子设备
CN113559520A (zh) 游戏中的交互控制方法、装置、电子设备及可读存储介质
CN112911052A (zh) 信息分享方法和装置
WO2024055792A1 (zh) 虚拟社交场景中的消息预览方法、装置、电子设备、计算机可读介质及计算机程序产品
CN113239172B (zh) 机器人群组中的会话交互方法、装置、设备及存储介质
CN116688502A (zh) 虚拟场景中的位置标记方法、装置、设备及存储介质
KR101582651B1 (ko) 체험형 콘텐츠 제공 시스템 및 방법
WO2024001512A1 (zh) 消息处理方法、装置、电子设备、存储介质及程序产品
WO2023221716A1 (zh) 虚拟场景中的标记处理方法、装置、设备、介质及产品
WO2024021792A1 (zh) 虚拟场景的信息处理方法、装置、设备、存储介质及程序产品
WO2024037139A1 (zh) 虚拟场景中的信息提示方法、装置、电子设备、存储介质及程序产品
CN111522439B (zh) 一种虚拟样机的修订方法、装置、设备及计算机存储介质
WO2024037001A1 (zh) 互动数据处理方法、装置、电子设备、计算机可读存储介质及计算机程序产品
JP2024531493A (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: 23864526

Country of ref document: EP

Kind code of ref document: A1