Method and device for presenting information in a virtual scene, electronic device, and computer program
By partitioning and displaying different types of information in the virtual scene interface, the problems of information overlap and low presentation efficiency are solved, and higher readability and efficiency are achieved.
Patent Information
- Application Number
- JP2024564634
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-08-18
- Filing Date
- 2023-06-07
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2043-06-07
AI Technical Summary
In a virtual scene, when multiple types of presentation information need to be displayed simultaneously, the prior art will be difficult to avoid overlapping information, resulting in reduced readability; while displaying each information separately may cause some information to be unable to be displayed in time, reducing the efficiency of information presentation.
By setting multiple display areas in the interface of the virtual scene, each area is used to display different types of presentation information. When displaying the first type of information, the corresponding display area is used to display the information; at the same time, when the second type of information reaches the display time or reaches a predetermined threshold, the corresponding display area is used to display the information.
Displaying different types of information through partitioning avoids overlapping information and improves the readability of information; at the same time, it ensures that different types of information can be displayed simultaneously or on time, improving the efficiency of information presentation.
Smart Images

Figure 2025515024000001_ABST
Abstract
Description
[Technical Field]
[0001] This application claims priority from a Chinese patent application bearing application number 202210991597.5, filed with the China Patent Office on August 18, 2022, the entire contents of which are incorporated herein by reference.
[0002] The present application relates to the technical field of human-computer interaction, and in particular to a method and apparatus for presenting information in a virtual scene, an electronic device, and a computer program. [Background technology]
[0003] Virtual scene human-computer interaction technology based on graphics processing hardware can realize various interactions between virtual objects controlled by users or artificial intelligence according to actual application needs, and has wide practical value. For example, when applied to virtual game scenes, it can simulate the actual battle process between virtual objects, such as a shooting game, where virtual objects (objects) from different groups compete against each other during the game.
[0004] For example, when multiple types of presentation information are present during the execution of a virtual scene and the player's interactions within the virtual scene are presented, related technologies, when multiple types of presentation information need to be displayed, either simultaneously at the same position within the interface or one by one, but in the former case, the overlap of information makes the presentation information difficult to read, and in the latter case, displaying the presentation information one by one means that some of the presentation information cannot be displayed in time, resulting in low presentation efficiency. Summary of the Invention [Problem to be solved by the invention]
[0005] An object of the embodiments of the present application is to provide a method and apparatus for presenting information in a virtual scene, an electronic device, and a computer program that can improve the readability and presentation efficiency of the presented information. [Means for solving the problem]
[0006] According to an embodiment of the present application, there is provided a method for presenting information in a virtual scene, comprising: Displaying a virtual scene interface including at least two display areas, different display areas being used to display different types of presentation information; In response to a display command for first presentation information of a first type, displaying the first presentation information in a first display area corresponding to the first type; and The process of displaying the first presentation information includes a step of displaying the second presentation information in a second display area corresponding to the second type when a second type of second presentation information exists in the virtual scene and the time point for displaying the second presentation information has arrived or the time distance until the time point for displaying the second presentation information has reached a predetermined threshold.
[0007] According to an embodiment of the present application, an apparatus for presenting information in a virtual scene is provided, which comprises: a first display module configured to display an interface of a virtual scene including at least two display areas, the different display areas being used to display different types of presentation information; a second display module configured to display first presentation information of a first type in a first display area corresponding to the first type in response to a display command for the first presentation information; and The display device includes a third display module configured to display, in the process of displaying the first presentation information, a second type of second presentation information present in the virtual scene, and to display the second presentation information in a second display area corresponding to the second type in response to the arrival of the display time of the second presentation information or the time distance to the display time of the second presentation information reaching a predetermined threshold.
[0008] According to an embodiment of the present application, a terminal device is provided, which comprises: a memory configured to store executable instructions (computer programs); and a processor coupled to the memory; The processor is configured, when executing the executable instructions stored in the memory, to implement the method for presenting information in a virtual scene provided in the embodiments of the present application.
[0009] According to an embodiment of the present application, a computer-readable storage medium is provided having executable instructions stored therein, the executable instructions being configured, when executed by a processor, to implement a method for presenting information in a virtual scene provided in an embodiment of the present application.
[0010] According to an embodiment of the present application, a computer program product is provided, which includes a computer program or instructions, which, when executed by a processor, are configured to realize the method for presenting information in a virtual scene provided in the embodiment of the present application. [Effects of the Invention]
[0011] According to an embodiment of the present application, the interface of the virtual scene includes multiple display areas, and different display areas are used to display different types of presentation information. For example, a first type of first presentation information is displayed in a first display area, and a second type of second presentation information is displayed in a second display area. Thus, different types of presentation information can be displayed in corresponding display areas respectively, thereby avoiding information overlap and improving the readability of the presentation information. Furthermore, different types of presentation information can be displayed simultaneously in corresponding display areas, thereby improving the efficiency of information presentation. Furthermore, when a second type of second presentation information exists in the virtual scene, i.e., when there is second presentation information that needs to be displayed, an association relationship exists between the second presentation information and the first presentation information. In this case, the second presentation information can be displayed in the second display area when the display timing (display time) of the second presentation information arrives. Therefore, the timely display of the second presentation information can be ensured and the utilization rate of display resources can be improved. [Brief explanation of the drawings]
[0012] [Figure 1A] FIG. 1 is a diagram illustrating the display of presentation information in a virtual scene provided in an embodiment of the present application. [Figure 1B] FIG. 1 is a diagram illustrating the display of presentation information in a virtual scene provided in an embodiment of the present application. [Figure 2A] FIG. 1 is a diagram illustrating an application mode of the method for presenting information in a virtual scene provided in an embodiment of the present application. [Figure 2B] FIG. 1 is a diagram illustrating an application mode of the method for presenting information in a virtual scene provided in an embodiment of the present application. [Figure 3] FIG. 4 is a diagram showing the configuration of a terminal device 400 provided in an embodiment of the present application. [Figure 4] 1 is a flowchart of a method for presenting information in a virtual scene provided in an embodiment of the present application. [Figure 5] FIG. 1 is a diagram illustrating division of a display area provided in an embodiment of the present application. [Figure 6] FIG. 1 is a diagram illustrating division of a display area provided in an embodiment of the present application. [Figure 7] FIG. 1 is a diagram illustrating the control of the display of presented information provided in an embodiment of the present application. [Figure 8] FIG. 1 is a diagram illustrating the control of the display of presented information provided in an embodiment of the present application. [Figure 9] FIG. 1 is a diagram illustrating the control of the display of presented information provided in an embodiment of the present application. [Figure 10] FIG. 1 is a diagram illustrating the control of the display of presented information provided in an embodiment of the present application. [Figure 11] 1 is a flowchart of a method for presenting information in a virtual scene provided in an embodiment of the present application. DETAILED DESCRIPTION OF THE INVENTION
[0013] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be described in detail below in conjunction with the drawings. The described embodiments do not limit the present application, and all other embodiments obtained by those skilled in the art without any creative work also belong to the protection scope of the present application.
[0014] As can be understood, with regard to relevant data such as user information (e.g., user feedback or preferences regarding presented information) in the embodiments of the present application, when the embodiments of the present application are applied to a product or technology, user permission or consent must be obtained, and the collection, use and processing of relevant data must comply with the relevant laws and standards of the relevant countries and regions.
[0015] In the following description, the phrase "some embodiments" refers to a subset of all possible embodiments, but it should be understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other unless inconsistent.
[0016] Also, in the following description, the terms "first / second..." are used only to distinguish between similar objects and do not represent a particular order for the objects. It will be understood that the "first / second..." terms, when permissible, can be interchanged to allow the embodiments of the present application described herein to be performed according to an order other than that illustrated or described herein.
[0017] Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art. The terms used herein are used only to describe the examples of this application and are not intended to limit the scope of this application.
[0018] Before describing the embodiments of the present application in detail, the nouns and terms used in the embodiments of the present application will be explained. The nouns and terms used in the embodiments of the present application are suitable for the following interpretation.
[0019] 1) Client: An application program executed on a terminal to provide various services, such as a video playback client, a game client, etc.
[0020] 2) Depending on / in response to: Used to express a condition or state upon which an operation to be performed depends, and when the dependent condition or state is satisfied, the operation or operations to be performed may be in real time or may have a configurable delay. Unless otherwise specified, there is no order restriction on the operations to be performed.
[0021] 3) Virtual Scene: A virtual scene displayed (or provided) when an application program is executed on a terminal. The virtual scene may be a simulated environment of the real world, a semi-simulated, semi-fictional virtual environment, or even a completely fictional virtual environment. The virtual scene may be any one of a 2D virtual scene, a 2.5D virtual scene, or a 3D virtual scene. The embodiments of this application do not limit the number of dimensions of the virtual scene. For example, the virtual scene may include sky, land, sea, etc., and the land may include environmental elements such as deserts and cities. A user can control virtual objects to move in the virtual scene.
[0022] 4) Virtual Object: This may be an image of various people or objects that can interact with the virtual scene, or a movable object that can move in the virtual scene. The movable object may be a virtual person, a virtual animal, a cartoon character, etc., such as a person or an animal displayed in the virtual scene. The virtual object may be a single virtual image representing a user in the virtual scene, or the virtual scene may include multiple (i.e., at least two) virtual objects, each of which has its own shape and volume and occupies a certain space in the virtual scene. The virtual object may be a game character controlled by a user (or player). That is, the virtual object is controlled by a real user and moves in the virtual scene in response to the real user's operation of a controller (including a touch panel, a voice-controlled switch, a keyboard, a mouse, a stick, etc.). For example, when the real user moves the stick to the left, the virtual object moves left in the virtual scene and can also stand still, jump, and use various functions (e.g., skills and props).
[0023] 1A-1B, which are diagrams illustrating the display of presentation information in a virtual scene provided in an embodiment of the present application. The inventors have discovered that when different types of presentation information need to be displayed, they are displayed at the same position in FIG. 1A. This method causes multiple types of presentation information to be overlapped on the game interface, making the presentation information difficult to read. In addition, in FIG. 1B, each type of presentation information is displayed one by one at the same position, i.e., one piece of presentation information is displayed after the other piece of presentation information is completed. This method results in a long waiting time for the presentation information, making some of the presentation information insufficient to be displayed, resulting in low presentation efficiency.
[0024] To this end, embodiments of the present application provide a method and device for presenting information in a virtual scene, an electronic device, a computer-readable storage medium, and a computer program product, thereby improving the readability and presentation efficiency of presented information. To facilitate understanding of the method for presenting information in a virtual scene provided in embodiments of the present application, an exemplary implementation scenario of the method for presenting information in a virtual scene provided in embodiments of the present application will first be described. The virtual scene in the method for presenting information in a virtual scene provided in embodiments of the present application may be output entirely based on a terminal device, or may be output based on cooperation between a terminal device and a server. In some embodiments, the virtual scene may be an environment for game characters to interact with each other, for example, a battle between game characters in the virtual scene. By controlling the movements of the game characters, the user can interact with the virtual scene, allowing the user to relieve everyday stress while playing a game.
[0025] One implementation scenario is shown in Figure 2A, which illustrates an application mode of the method for presenting information in a virtual scene provided in an embodiment of the present application. This implementation scenario is suitable for several application modes, such as standalone / offline games, which may completely rely on the computing capabilities of the graphics processing hardware of the terminal device 400 to complete the calculation of related data for the virtual scene 100, and complete the output of the virtual scene through various different types of terminal devices 400, such as smartphones, tablet computers, virtual reality / augmented reality devices, etc. For example, types of graphics processing hardware include a central processing unit (CPU) and a graphics processing unit (GPU).
[0026] When forming the visual perception of the virtual scene 100, the terminal device 400 calculates the data required for display using graphics calculation hardware, completes loading, analyzing, and rendering of the display data, and then outputs video frames using graphics output hardware that can form the visual perception of the virtual scene, such as video frames that can realize a two-dimensional display effect on the display screen of a smartphone, or video frames that can be projected onto the lenses of augmented reality / virtual reality glasses to realize a three-dimensional display effect. In addition, to enrich the sensory effects, the terminal device 400 may also form one or more of auditory perception, tactile perception, motion perception, and taste perception using different hardware.
[0027] For example, the terminal device 400 executes a client 410 (e.g., a standalone game application), and the execution process of the client 410 outputs a virtual scene 100 including role-playing, where the virtual scene 100 may be an environment for virtual objects (game characters) to interact with, such as a plain, street, or valley where game characters fight. The virtual scene 100 may further include presentation information (displayed in the display area) to present the virtual object's interaction within the virtual scene, such as what the virtual object can and cannot do at an appropriate position and timing, feedback after performing some operations, and how to solve problems if they occur.
[0028] For example, the terminal device displays an interface of a virtual scene including at least two display areas, the different display areas being used to display different types of presentation information; displays the first presentation information in a first display area corresponding to the first type in response to a display command for the first presentation information; and, in the process of displaying the first presentation information, in response to the presence of second presentation information of a second type in the virtual scene, displays second presentation information in a second display area corresponding to the second type when a display time for the second presentation information arrives or when the time distance until the display time for the second presentation information reaches a predetermined threshold. In this way, when it is necessary to display second presentation information of a second type in the process of displaying the first presentation information in the first display area, the second presentation information can be displayed in the second display area when the display time for the second presentation information arrives, thereby ensuring timely display of the second presentation information. Furthermore, different types of presentation information can be simultaneously displayed independently in different display areas, thereby avoiding information overlap and improving readability and presentation efficiency of the presentation information.
[0029] Another implementation scenario is shown in Figure 2B, which illustrates an application mode of the method for presenting information in a virtual scene provided in an embodiment of the present application. This implementation scenario is applied to a terminal device 400 and a server 200, and is suitable for an application mode in which the calculation of the virtual scene is completed by relying on the computing power of the server 200, and the virtual scene is output by the terminal device 400. Taking the formation of a visual perception of a virtual scene 100 as an example, the server 200 calculates display data (e.g., scene data) related to the virtual scene and transmits the result to the terminal device 400 via the network 300. The terminal device 400 relies on graphics computing hardware to complete the calculation, loading, analysis, and rendering of the display data, and relies on graphics output hardware to output the virtual scene to form a visual perception, such as outputting video frames that can achieve a 2D display effect on the display screen of a smartphone, or video frames that can be projected onto the lenses of augmented reality / virtual reality glasses to achieve a 3D display effect. As for the type of sensing of the virtual scene, it can be understood that it can be output by corresponding hardware of the terminal device 400, for example, using a microphone to form an auditory sensing and a vibrator to form a tactile sensing.
[0030] For example, the terminal device 400 executes a client 410 (e.g., a standalone game application), and the execution process of the client 410 outputs a virtual scene 100 including role-playing, where the virtual scene 100 may be an environment for game characters to interact with, such as a plain, a street, a valley, etc., where game characters fight. The virtual scene 100 may further include presentation information to present the interaction of virtual objects within the virtual scene, such as what the virtual object can and cannot do at an appropriate position and timing, feedback after performing some operations, and how to solve problems if they occur.
[0031] For example, the terminal device displays an interface of a virtual scene including at least two display areas, the different display areas being used to display different types of presentation information; displays the first presentation information in a first display area corresponding to the first type in response to a display command for the first presentation information; and, in the process of displaying the first presentation information, displays the second presentation information in a second display area corresponding to the second type when a display timing (time point) for the second presentation information arrives, in response to the existence of a second type of second presentation information in the virtual scene and an association relationship between the second presentation information and the first presentation information. In this way, when displaying the second type of second presentation information in the process of displaying the first type of first presentation information in the first display area, the second presentation information can be displayed in the second display area when the display timing for the second presentation information arrives, thereby ensuring timely display of the second presentation information, and since different types of presentation information can be independently displayed simultaneously in different display areas, overlapping of information can be avoided, thereby improving readability and presentation efficiency of the presentation information.
[0032] In some embodiments, the terminal device 400 can implement the method for presenting information in a virtual scene provided in the embodiments of the present application by executing a computer program. For example, the computer program may be a native program or software module in an operating system (OS), or a local application program (APP, APPlication), i.e., a program that can be installed in an OS and executed, such as a shooting game APP (i.e., the above-mentioned client 410), or an applet, i.e., a program that is executed by simply downloading it into a browser environment, or a game applet that can be embedded in any APP. In short, the above-mentioned computer program may be any type of application program, module, or plug-in.
[0033] For example, the computer program may be an application program. In actual implementation, an application program supporting a virtual scene is installed and executed on the terminal device 400. The application program may be any one of a first-person shooting game (FPS), a third-person shooting game, a virtual reality application program, a three-dimensional map program, or a multiplayer gunfight survival game. A user uses the terminal device 400 to control a virtual object in the virtual scene to perform an activity, including, but not limited to, at least one of adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and constructing a virtual building. For example, the virtual object may be a virtual person, such as a simulated human character or an animated human character.
[0034] In some other embodiments, the embodiments of the present application may also be implemented using cloud technology. Cloud technology refers to hosting technology that integrates a set of resources, such as hardware, software, and networks, within a wide area network or a local area network to achieve data calculation, storage, processing, and sharing. Cloud technology is a collective term for network technology, information technology, integration technology, management platform technology, application technology, etc., based on the cloud computing business model application, which forms a resource pool that can be used on demand, and is flexible and convenient. Cloud computing technology is expected to become an important support. Background services of technical network systems require large amounts of computing and storage resources.
[0035] For example, the server 200 in Figure 2B may be an independent physical server, a server cluster or a distributed system consisting of multiple physical servers, or a cloud server that can provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), big data, and artificial intelligence platforms. The terminal device 400 may be, but is not limited to, a smartphone, tablet computer, notebook computer, desktop computer, smart speaker, smart watch, etc. The terminal device 400 and the server 200 may be directly or indirectly connected via wired or wireless communication, but this is not limited in the embodiments of the present application.
[0036] An electronic device implementing the method for presenting information in a virtual scene according to an embodiment of the present application will now be described. In practical applications, the electronic device may be a terminal device or a server. Taking the terminal device 400 shown in FIG. 2A as an example, the configuration of the terminal device 400 shown in FIG. 2A will be described. Referring to FIG. 3, FIG. 3 is a diagram illustrating the configuration of the terminal device 400 provided in the embodiment of the present application. The terminal device 400 shown in FIG. 3 includes at least one processor 420, a memory 460, at least one network interface 430, and a user interface 440. The components in the terminal device 400 are connected by a bus system 450. It is understood that the bus system 450 is used to realize connection and communication between these components. The bus system 450 includes a power bus, a control bus, and a status signal bus in addition to a data bus. However, for clarity, various buses in FIG. 3 are referred to as the bus system 450.
[0037] The processor 420 may be an integrated circuit chip having signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, where the general-purpose processor may be a microprocessor or any conventional processor.
[0038] The user interface 440 includes one or more output devices 441 that enable the presentation of media content, such as speakers for outputting audio, a visual display for outputting images, etc. The user interface 440 may also include one or more input devices 442, including user interface components that facilitate user input, such as a keyboard, a mouse, a microphone, a touchscreen display, a camera head, and other input buttons and controls.
[0039] Storage 460 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. Storage 460 optionally includes one or more storage devices that are physically located remotely from processor 420.
[0040] The storage 460 may include volatile or non-volatile memory, or may include both volatile and non-volatile memory. Non-volatile memory may be read-only memory (ROM), and volatile memory may be random access memory (RAM). The storage 460 described in the embodiments of the present application is intended to include any suitable type of storage.
[0041] In some embodiments, the memory 460 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as illustratively described below. Operating system 461: System programs for handling various basic system services and executing hardware-related tasks, including, for example, a framework layer, a core library layer, a driver layer, etc., used to handle various basic services and realize hardware-based tasks. Network communication module 462: Configured to reach other computing devices via one or more (wired or wireless) network interfaces 430. Exemplary network interfaces 430 include Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc. Display module 463: Configured to display information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 441 (e.g., a display screen, a speaker, etc.) associated with the user interface 440. Input processing module 464: configured to detect user input or interaction from one or more input devices 442 and process (eg, translate) the detected input or interaction.
[0042] In some embodiments, the device for presenting information in a virtual scene provided in the embodiments of the present application may be implemented in a software manner. Figure 3 shows a device for presenting information in a virtual scene 465 stored in a memory 460, which may be software in the form of a program, plug-in, etc., and includes the following software modules: a first display module 4651, a second display module 4652, and a third display module 4653. These modules are logical and can be arbitrarily combined or divided according to the functions to be realized. The functions of each module are described below.
[0043] In some other embodiments, the device for presenting information in a virtual scene provided in the embodiments of the present application may be implemented in a hardware manner. For example, the device for presenting information in a virtual scene provided in the embodiments of the present application may employ a processor in the form of a hardware decode processor, which is programmed to implement the method for presenting information in a virtual scene provided in the embodiments of the present application. For example, the processor in the form of a hardware decode processor may employ one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs) or other electronic devices.
[0044] The method for presenting information in a virtual scene provided in the embodiment of the present application will be described below in conjunction with the drawings. The method for presenting information in a virtual scene provided in the embodiment of the present application may be performed solely by the terminal device 400 in FIG. 2A, or may be performed in cooperation with the terminal device 400 and the server 200 in FIG. 2B. Next, an example will be described in which the method for presenting information in a virtual scene provided in the embodiment of the present application is performed solely by the terminal device 400 in FIG. 2A. Referring to FIG. 4, FIG. 4 is a flowchart of the method for presenting information in a virtual scene provided in the embodiment of the present application, and the steps shown in FIG. 4 will be described below.
[0045] 4 may be performed by various types of computer programs executed on the terminal device 400, and is not limited to the above-described client 410, and may also be the above-described operating system 461, software modules, and scripts. Therefore, the client does not limit the embodiments of the present application.
[0046] Step 101: A terminal device displays an interface of a virtual scene, which includes at least two display areas, and different display areas are used to display different types of presentation information.
[0047] In practical application, a client that supports virtual scenes is installed on a terminal device, and the client may be a dedicated client for the virtual scene. For example, when the virtual scene is a game, the corresponding client may be a shooting game APP. The client may also be a client with virtual scene functions, such as an instant messaging client, a media information playback client, etc. When a user starts the client installed on a terminal device and the terminal device runs the client, the client can display an interface for the virtual scene. The interface may display multiple types of information related to the virtual scene, such as a screen showing the virtual scene from the visual angle of a target virtual object (a virtual object in the virtual scene of the current login account), and suggested information pushed according to the progress of the virtual scene.
[0048] Here, the presentation information can carry an information indicator (ID), which is used to indicate the type of the corresponding presentation information. The type of presentation information may be preset, for example, the type of presentation information may include announcement type, interaction presentation type, system type, play method presentation type, etc.
[0049] The presentation information may include at least one of the following elements, namely, sound, text, color, graphics, bodily sensation, time, etc. The presentation information is used to present the interaction of the target virtual object in the virtual scene, for example, presenting, at an appropriate position and timing, what the target virtual object can and cannot do, feedback after performing some operations, how to solve problems if they occur, etc. In actual application, there may be multiple types of presentation information, such as presentation information on interactions between virtual objects, announcements, system or play method presentation information, shortcut key usage presentation information, dialogue presentation information, etc. In order to provide the player with presentation information with a reasonable layout and high readability, the interface of the virtual scene can be divided into multiple display areas, and each display area is used to display one piece of presentation information.
[0050] In some embodiments, before displaying a virtual scene interface including at least two display areas, the terminal device may perform area division on the virtual scene interface in the following manner: when the number of types of presentation information in the virtual scene is a target number, divide the virtual scene interface into the target number of display areas, each display area corresponding to one type of presentation information; and establish a correspondence between each display area and the corresponding type of presentation information based on the distribution of each display area and the attribute characteristics of each type of presentation information.
[0051] Here, when dividing the interface of a virtual scene, the interface can be divided (equally or unevenly) into a corresponding number of display areas based on the number of types of presentation information. For example, if there are five types of presentation information in the virtual scene, the interface can be divided into five display areas; and further, based on the attribute characteristics of each type of presentation information (e.g., whether it appears (appears), number, importance (importance), presence or absence of interaction, information length, etc.) and the layout of each divided display area (e.g., position, size, etc.), a correspondence between each display area and a certain type of presentation information can be established, so that all of the presentation information displayed in each display area has high readability and the presentation effectiveness of the presentation information can be achieved.
[0052] For example, based on the importance, appearance frequency, and information length of the attribute features of the presentation information, the display area of the virtual scene is divided into areas corresponding to the following types of presentation information: important presentation information, high appearance frequency presentation information, and multi-content presentation information. For example, when the first type of presentation information is very important (i.e., important presentation information), a correspondence relationship is established between the first type of presentation information and a first display area located in a prominent position in the interface. That is, displaying the very important presentation information in a prominent position improves the readability of the important presentation information and is advantageous for effective communication of the important presentation information. Also, when the second type of presentation information has a high appearance frequency (i.e., high appearance frequency presentation information), In such a case, by establishing a correspondence between the second type of presentation information and the second display area located at the edge of the interface, i.e., by displaying the presentation information that appears frequently in the edge area that does not obstruct the player's line of sight, not only can the presentation information be effectively transmitted, but also excessive interference with the player can be avoided; also, for example, when the third type of presentation information is long (has a lot of presentation content, i.e., is multi-content presentation information) and the size of the third display area is large, by establishing a correspondence between the third type of presentation information and the third display area and displaying the presentation information with a lot of display content in an area with a relatively large area, the readability of the presentation information can be improved, which is advantageous for the effective transmission of the presentation information.
[0053] Here, important presentation information is used to indicate that the importance of the presentation information of the type is high. In actual applications, there are multiple ways to determine whether the presentation information is important. For example, if the presentation information carries an important label, it is determined that the presentation information is important presentation information. High-frequency presentation information is used to indicate that the appearance frequency of this type of presentation information is higher than an appearance frequency threshold (the magnitude of which can be set according to actual needs). For example, when presentation information is obtained, the number of times the presentation information appears within a unit time length (which can be set based on actual needs, for example, 10 minutes) is counted, and when the number of times the presentation information appears within the unit time length reaches an appearance frequency threshold, it is determined that the presentation information is high-frequency presentation information. In addition, multi-content presentation information is used to indicate that the presentation content of this type of presentation information is large, i.e., the information length is long. In actual applications, after obtaining the presentation information, the size of the display area required to display the presentation information is calculated, and when it is determined that the size of the required display area reaches the display area threshold, it can be determined that the presentation information is multi-content presentation information.
[0054] Step 102: In response to a display command for the first type of first presentation information, the first presentation information is displayed in a first display area corresponding to the first type.
[0055] Here, when the terminal device receives a display command for the first type of first presentation information, it first determines a first display area corresponding to the first type in accordance with the display command, and displays the first presentation information in the first display area. There are multiple display methods for the first presentation information in the first display area, including, but not limited to, a bubble, a pop-up window, a table, etc.
[0056] Step 103: In the process of displaying the first presentation information, if a second type of second presentation information exists in the virtual scene and the display time for the second presentation information has arrived, the second presentation information is displayed in a second display area corresponding to the second type.
[0057] Here, in actual applications, the arrival of the display time of the second presentation information may be the arrival of the display time of the second presentation information, or the time distance until the display time of the second presentation information reaches a predetermined threshold.
[0058] In some embodiments, in the process of displaying the first presentation information, if a second type of second presentation information exists in the virtual scene, an association relationship exists between the second presentation information and the first presentation information, and the display time of the second presentation information has arrived, the second presentation information is displayed in a second display area corresponding to the second type.
[0059] Here, the association relationship will be described. In practical application, the association relationship can be an inheritance relationship, a causal relationship, or a time domain relationship, where the inheritance relationship is used to indicate that there is an inheritance relationship between the second presentation information and the first presentation information, for example, the second presentation information is derived from the first presentation information, or there is an association relationship between the contents of the second presentation information and the first presentation information; the causal relationship is used to indicate that there is an existence causal relationship between the second presentation information and the first presentation information, for example, the second presentation information exists only if the first presentation information is generated first; and the time domain relationship is used to indicate that there is a time domain association between the second presentation information and the first presentation information, for example, the interval between the generation times of the information is less than a predetermined threshold.
[0060] In practical application, the association relationship can be used to indicate the display timing of the second presentation information, which includes at least one of the following: a display time point of the second presentation information and a time distance threshold to the display time point.
[0061] In general, when a terminal device controls different display areas to display different types of presentation information, if each type of presentation information is independent of each other, the control of the display of each display area is also independent, that is, different display areas do not interfere with each other when displaying corresponding types of presentation information, and each display information of the corresponding type is displayed according to its own display logic. In practical application, when there is an association relationship (e.g., inheritance relationship, causal relationship, etc.) between different types of presentation information, the terminal device needs to perform cooperative control of the corresponding display areas.
[0062] In some embodiments, in the process of displaying the first presentation information, the terminal device obtains the execution progress of the virtual scene and the display progress of the first presentation information; and generates second presentation information based on the execution progress and the display progress, and establishes an association relationship between the first presentation information and the second presentation information.
[0063] Here, in normal cases, the generation of one of the different presentation information having an associated relationship is related to the progress of execution of the virtual scene and the display progress of the other presentation information. For example, when the level of the target virtual object is level 1, the first presentation information displayed in the first display area will increase, for example, to level 2 as the level of the target virtual object gradually increases. The terminal device allows a second type of second presentation information to be derived based on the first presentation information, and an associated relationship between the first presentation information and the second presentation information can be established. As a result, in the process of displaying the first presentation information in the first display area, the terminal device determines, based on the display progress of the first presentation information, whether a second type of second presentation information that is associated with the first presentation information exists in the virtual scene; for example, it determines whether a second type of second presentation information generated based on the display progress of the first presentation information exists (at this time, the second presentation information is information derived from the first presentation information, and the two can be considered to have an inheritance relationship), and if a second type of second presentation information generated based on the display progress of the first presentation information exists, it determines that a second type of second presentation information that is associated with the first presentation information exists, and when it determines that the second presentation information exists, it determines whether the display timing of the second presentation information has arrived based on the association relationship between the two, and when it determines that the display timing of the second presentation information has arrived, it obtains a second display area corresponding to the second type, and displays the second presentation information in the second display area.
[0064] In some embodiments, before displaying the second presentation information in the second display area corresponding to the second type, if the association relationship instructs that the display of the second presentation information should be started when the display progress of the first presentation information reaches a target progress, the terminal device detects the display progress of the first presentation information during the process of displaying the first presentation information; and, when the display progress of the first presentation information reaches the target progress, determines that the display timing of the second presentation information has arrived.
[0065] Here, for first presentation information and second presentation information that have an association relationship, the association relationship is used to indicate the display timing of the second presentation information (i.e., when the second presentation information is to be displayed relative to the display progress of the first presentation information). For example, if the association relationship indicates that the display of the second presentation information should begin when the first presentation information has been displayed up to the fifth second, the terminal device detects in real time during the process of displaying the first presentation information whether the first presentation information has been displayed up to the fifth second, and when it determines that the content of the first presentation information at the fifth second is being displayed, it determines that the display timing of the second presentation information has arrived, and then displays the second presentation information in the second display area.
[0066] According to the above method, different types of presentation information are displayed in corresponding display areas, and each display area is independent of the other, so that overlapping of information can be avoided and the readability of the presentation information can be improved. Different types of presentation information can be simultaneously displayed in corresponding display areas, so that the efficiency of information presentation can be improved. Furthermore, the terminal device establishes an association relationship between different types of presentation information in different display areas. Therefore, while one type of presentation information is being displayed, the other type of presentation information will be immediately displayed in its corresponding display area when the display timing arrives, thereby ensuring the timely display of presentation information and improving the user experience.
[0067] In some embodiments, the terminal device detects whether a second type of third presentation information is displayed in the second display area in response to no association relationship between the second presentation information and the first presentation information; and displays the second presentation information in the second display area in response to no third presentation information being displayed in the second display area.
[0068] In some embodiments, when there is no association relationship between the second presentation information and the first presentation information, the display priority of the second presentation information is considered to be lower than the display priority of the presentation information currently being displayed in the second display area, and when the third presentation information is displayed in the second display area, the second presentation information is temporarily not displayed, and when the display of the third presentation information in the second display area is completed, the second presentation information is displayed in the second display area.
[0069] In actual application, the terminal device maintains one information queue in each display area, and since there is at least one presentation information waiting to be displayed in the information queue, the terminal device sequentially displays each presentation information in the display area in accordance with the order of display priority of each presentation information in the information queue, from high to low.
[0070] When the terminal device determines that there is no association relationship between the second presentation information and the first presentation information, it detects whether a second type of other presentation information (e.g., third presentation information) is displayed in the second display area, and when the detection result indicates that the third presentation information is not displayed in the second display area at this time, it can display the second presentation information in the second display area.As a result, the first presentation information is displayed in the first display area while the second presentation information is displayed in the second display area, and since both are displayed independently, overlapping of information can be avoided and the readability of the presentation information and the efficiency of information presentation can be improved.
[0071] In some embodiments, in response to the third presentation information being displayed in the second display area, the terminal device displays the second presentation information in the second display area during the process of displaying the third presentation information, and the second presentation information and the third presentation information are displayed at different positions in the second display area.
[0072] Here, when the terminal device determines that there is no association relationship between the second presentation information and the first presentation information, and at this time the third presentation information is being displayed in the second display area, it displays the second presentation information at a different display position in the second display area from the third presentation information, thereby displaying the first presentation information in the first display area and simultaneously displaying the second presentation information and the third presentation information in the second display area, and since the display positions of the second presentation information and the third presentation information in the second display area are different, overlap of information can be avoided and the readability of the presentation information and the efficiency of information presentation can be improved.
[0073] In some embodiments, in response to the third presentation information being displayed in the second display area, the terminal device stores the second presentation information in an information queue corresponding to the second display area, in which at least one fourth presentation information is further stored in the information queue; obtains presentation priorities corresponding to the second presentation information and the at least one fourth presentation information, respectively, and sorts the second presentation information and the at least one fourth presentation information in order of presentation priority from "high to low"; and, in response to the completion of displaying the third presentation information, displays the presentation information that is earlier in the information queue in the second display area.
[0074] Here, when the terminal device determines that there is no association relationship between the second presentation information and the first presentation information, and at this time the third presentation information is being displayed in the second display area, the terminal device directly puts the second presentation information into an information queue corresponding to the second display area, thereby re-sorting the second presentation information and at least one other presentation information (e.g., fourth presentation information) waiting to be displayed in the information queue, for example, in the order of "high to low" presentation priority of the second presentation information and the fourth presentation information, and then displays the previous presentation information in the second display area after the display of the third presentation information is completed.
[0075] In some embodiments, the terminal device may determine the presentation priority of the presentation information in the following manner: obtain a priority parameter for each piece of presentation information among the second presentation information and at least one piece of fourth presentation information, and determine the presentation priority of the second presentation information and each piece of fourth presentation information based on the presentation priority parameter, where the priority parameter includes at least one of the following: a generation time at which the presentation information is generated in the virtual scene, and a presentation weight set for the presentation information.
[0076] Here, when determining the presentation priority of each piece of presentation information in the information queue, the terminal device determines the presentation priority of the corresponding presentation information based on priority parameters such as the generation time at which the presentation information is generated in the virtual scene and the presentation weight set when the presentation information is generated; for example, the larger the presentation weight set, the higher the corresponding presentation priority; or, the earlier the generation time, the higher the corresponding presentation priority; and when there are at least two pieces of presentation information with the same presentation weight, the terminal device determines the presentation priority of each piece of presentation information according to the generation time.
[0077] In some embodiments, the terminal device can store the second presentation information in an information queue corresponding to the second display area in the following manner: when the third presentation information is displayed in the second display area, compare the presentation priorities of the third presentation information and the second presentation information; and when the presentation priority of the third presentation information is higher than the presentation priority of the second presentation information, store the second presentation information in the information queue corresponding to the second display area.
[0078] Here, when the terminal device determines that there is no association relationship between the second presentation information and the first presentation information and at this time the third presentation information is being displayed in the second display area, the terminal device can further first compare the presentation priorities of the third presentation information and the second presentation information, and when the presentation priority of the third presentation information is lower than that of the second presentation information, the terminal device stops displaying the third presentation information in the second display area and displays the second presentation information in the second display area (i.e., switches the display of the third presentation information to that of the second presentation information in the second display area), and after the display of the second presentation information is completed, continues to display the third presentation information in the second display area; and when the presentation priority of the third presentation information is higher than that of the second presentation information, continues to display the third presentation information in the second display area and stores the second presentation information in an information queue corresponding to the second display area, thereby re-sorting the second presentation information and at least one fourth presentation information waiting to be displayed in the information queue, for example, in the order of "high to low" of the presentation priorities of the second presentation information and the fourth presentation information, so that after the display of the third presentation information is completed, the earlier presentation information is displayed in the second display area.
[0079] In some embodiments, in the process of displaying the first presentation information, the terminal device displays a second type of fifth presentation information in the second display area. Correspondingly, the terminal device determines, based on the association relationship, to display the second presentation information in the second display area corresponding to the second type when the display timing of the second presentation information arrives, in the following manner: in the process of displaying the fifth presentation information, when it is determined, based on the association relationship, that the display timing of the second presentation information arrives, the display of the fifth presentation information in the second display area is stopped, and the second presentation information is displayed; and, in response to the completion of the display of the second presentation information, the fifth presentation information is continued to be displayed in the second display area.
[0080] Here, in the process of displaying first presentation information in the first display area, when the terminal device displays a second type of fifth presentation information in the second display area before displaying a second type of second presentation information in the second display area, i.e., when the terminal device displays the first presentation information in the first display area and the fifth presentation information in the second display area at the same time, when a display command for the second presentation information that is associated with the first presentation information is received (i.e., the display timing for the second presentation information has arrived), the terminal device stops displaying the fifth presentation information in the second display area and then displays the second presentation information in the second display area (i.e., in the second display area, the display of the fifth presentation information is switched to the display of the second presentation information), and after the display of the second presentation information is completed, the terminal device continues to display the fifth presentation information in the second display area, thereby establishing an association between the first presentation information and the second presentation information, and by setting the display priority of the second presentation information to the highest, the timeliness and flexibility of information presentation can be improved.
[0081] In some embodiments, in the process of displaying the first presentation information, the terminal device displays a second type of sixth presentation information in a first sub-area of the second display area, and correspondingly, the terminal device determines, based on the association relationship, to display the second presentation information in a second display area corresponding to the second type when the display timing of the second presentation information has arrived, in the following manner: i.e., in the process of displaying the sixth presentation information, when it is determined, based on the association relationship, that the display timing of the second presentation information has arrived, the terminal device displays the second presentation information in a second sub-area different from the first sub-area in the second display area.
[0082] Here, in the process of displaying the first presentation information in the first display area, the terminal device displays a second type of sixth presentation information in the second display area before displaying a second type of second presentation information in the second display area. In other words, when the terminal device displays the first presentation information in the first display area and the sixth presentation information in the second display area at the same time, when it receives a display command for the second presentation information that is associated with the first presentation information (i.e., when the display timing for the second presentation information arrives), it continues to display the sixth presentation information in the second display area and at the same time displays the second presentation information at a display position different from that of the sixth presentation information in the second display area. As a result, the first presentation information is displayed in the first display area, and the second type of second presentation information and the sixth presentation information are simultaneously displayed in the second display area. Although the second presentation information and the sixth presentation information are the same type, different display positions are assigned to them, so that overlap of information can be avoided and the utilization rate of the display resources of the electronic device, the readability of the presentation information, and the efficiency of information presentation can be improved.
[0083] In some embodiments, the terminal device can display a second type of sixth presentation information in the first sub-area of the second display area in the following manner, i.e., displaying the second type of sixth presentation information in the first sub-area of the second display area using a first display method; correspondingly, the terminal device can display a second type of presentation information in the second sub-area of the second display area in the following manner, i.e., displaying the second type of sixth presentation information in the second sub-area of the second display area using a second display method, wherein the first display method is different from the second display method.
[0084] Here, when different presentation information of the same type is displayed in the same display area, different display methods can be used to display each piece of presentation information, thereby enabling the different presentation information of the same type to be displayed distinctly. For example, a first display method can be used to display a second type of sixth presentation information in the first sub-area of the second display area, and a second display method different from the first display method can be used to display the second presentation information in the second sub-area of the second display area. For example, different colors, different fonts, special effect elements (e.g., flashing, etc.), or different presentation information of the same type can be displayed in highlight or grayscale, etc., thereby providing players with a more noticeable presentation and improving the effectiveness of information presentation.
[0085] In some embodiments, the terminal device can display the second presentation information in a second display area corresponding to the second type in the following manner: determine a virtual object in the virtual scene that matches (corresponds to) the second presentation information, and set the area where the virtual object is located as the second display area corresponding to the second type; and display the second presentation information in the second display area.
[0086] Here, when the second type of second presentation information is displayed in the second display area, a virtual object matching the second presentation information is obtained from the virtual scene based on the attribute features (e.g., content, type, etc.) of the second presentation information, and the area where the virtual object is located is set as the second display area corresponding to the second type, that is, the virtual object is set as a carrier or virtual output device of the second type of presentation information, and the second presentation information can be output by the virtual object. For example, when the type of the second presentation information is an announcement, a bulletin board in the virtual scene is obtained and the second presentation information is displayed on the bulletin board; or, for example, when the type of the second presentation information is audio, a virtual speaker device (e.g., a speaker) in the virtual scene is obtained and the second presentation information is played by the virtual speaker device, thereby outputting the presentation information by the virtual object in the virtual scene. The virtual object in the virtual scene can make the player more immersed in the atmosphere of the entire scene and feel a more realistic virtual world, making the presentation more natural and improving the sense of substitution or immersion in the presentation information.
[0087] In some embodiments, the terminal device can display first presentation information in a first display area corresponding to a first type in the following manner, i.e., displaying the first presentation information at a first display speed in the first display area corresponding to the first type; correspondingly, the terminal device can display second presentation information in a second display area corresponding to a second type in the following manner, i.e., displaying the second presentation information at a second display speed in the second display area corresponding to the second type, wherein the first display speed corresponds to the first type and the second display speed corresponds to the second type.
[0088] Here, when corresponding types of presentation information are displayed in different display areas, different display speeds may be adopted to display each type of presentation information. In actual implementation, the display speed of each type of presentation information can be set for each type of presentation information, i.e., a mapping relationship between the display speed and the type can be pre-established, such that the display speed of important types of presentation information is slower than the display speed of unimportant types of presentation information, and the display speed of frequently appearing presentation information is faster than the display speed of rarely appearing presentation information, etc. Thus, when displaying corresponding types of presentation information, the display speed corresponding to the type is found based on the pre-defined mapping relationship, and then the corresponding presentation information is displayed based on the found display speed. Thus, by targeting the display speeds of different types of presentation information, the speed of the displayed presentation information can be tailored to user needs, such as quickly displaying unimportant information, thereby improving the utilization of display resources. Furthermore, based on the difference in type between the first presentation information and the second presentation information, when the first presentation information and the second presentation information are displayed simultaneously, a pre-defined process can be performed on the first presentation information, making the display of the second presentation information more advantageous for effective communication.
[0089] The following describes an exemplary application of the embodiments of the present application in an actual application scenario. Taking the virtual scene as an example, a game is used. During the game, the game interface is first divided into regions. Referring to FIG. 5, this is a diagram illustrating the division of the display region provided in the embodiments of the present application. In an actual application, a predetermined division tool can be used to divide the game interface into a corresponding number of display regions based on the number of types of presentation information. Referring to FIG. 6, this is a diagram illustrating the division of the display region provided in the embodiments of the present application. There are seven types of presentation information, so the game interface is divided into seven display regions, each of which is used to display one type of presentation information. Furthermore, based on the attribute characteristics (e.g., frequency of appearance, number, importance, information length, type, etc.) of each type of presentation information and the layout (e.g., position, size, etc.) of each divided display region, a correspondence relationship between each display region and a certain type of presentation information is established. This ensures that the presentation information displayed in each display region has high readability and achieves the effectiveness of the presentation information.
[0090] After establishing the correspondence between each display area and the type of presentation information, a single information queue is maintained in each display area. When each type of presentation information is independent of each other, the terminal device also controls the presentation information in each display area independently. That is, different display areas do not interfere with each other when displaying corresponding types of presentation information, and each displays the corresponding type of presentation information according to its own display logic. For example, see FIG. 7, which illustrates the control of presentation information display provided in an embodiment of the present application. Assume that information queue 2 is maintained in the target display area. The presentation information in information queue 2 is sorted in order of presentation priority from high to low. When the presentation information is displayed in the target display area, each piece of presentation information is displayed sequentially according to the order in information queue 2. For example, if the order of presentation information in information queue 2 is "presentation information A, presentation information B, presentation information C," presentation information A, presentation information B, and presentation information C are displayed sequentially according to the order.
[0091] The method of sequentially displaying each piece of presentation information according to the above order is a serial mechanism, and in practical application, when different pieces of presentation information of the same type are displayed in the same display area, a parallel mechanism may also be adopted. For example, refer to Figure 8, which is a diagram illustrating the control of presentation information display provided in an embodiment of the present application. In (a), under the serial mechanism, presentation information A, presentation information B, and presentation information C in the same display area are displayed sequentially and independently, without crossing each other, that is, one piece of presentation information is displayed in the same display area each time; in (b), under the parallel mechanism, presentation information A, presentation information B, and presentation information C in the same display area may be displayed crossing each other, that is, multiple pieces of presentation information can be displayed simultaneously in the same display area.
[0092] When different pieces of presentation information in the same information queue are rearranged, they are rearranged in the order of "high to low" presentation priority of each piece of presentation information, and the presentation priority is determined based on the generation time of the presentation information, the presentation weight set for the presentation information, etc. For example, when it comes to certain presentation information, the larger the set presentation weight, the higher the corresponding presentation priority, or the earlier the generation time, the higher the corresponding presentation priority, and when there are multiple pieces of presentation information with the same presentation weight, the presentation priority of each piece of presentation information is determined according to the generation time.
[0093] In practical applications, the presentation priority of the presentation information can be adjusted by adjusting the presentation weight, thereby adjusting the arrangement (order) of the presentation information in the information queue. For example, refer to FIG. 9, which is a diagram illustrating the control of display of presentation information provided in an embodiment of the present application. Before adjusting the arrangement of the presentation information in information queue 2, the result of rearranging each piece of presentation information according to the order of presentation weight "from highest to lowest" is "information 01, information 02 (weight 5), information 03 (weight 4), information 04 (weight 3), information 05 (weight 2)". If the presentation weight of information 05 is adjusted, for example, from 2 to 10, the result of rearranging the presentation information in information queue 2 again is "information 01, information 05 (weight 10), information 02 (weight 5), information 03 (weight 4), information 04 (weight 3)". Thus, each piece of presentation information can be sequentially displayed in the target display area according to the new arrangement (order).
[0094] The association between the different types of presentation information is usually established during the generation of the presentation information. Typically, the generation of one of the associated presentation information is related to the progress of the game and the display progress of the other presentation information. For example, when the level of the target virtual object is level 1, a first presentation information is displayed in the first display area. As the level of the target virtual object gradually increases, for example, to level 2, the terminal device derives a second type of second presentation information based on the first presentation information, and an association between the first presentation information and the second presentation information is established.
[0095] For the first presentation information and the second presentation information that are associated with each other, the association is used to indicate the display timing of the second presentation information (i.e., when the second presentation information is displayed relative to the display progress of the first presentation information). For example, see Fig. 10, which is a diagram illustrating the display control of presentation information provided in an embodiment of the present application. An association relationship exists between the presented information A in the information queue 4 corresponding to the first display area and the presented information B in the information queue 2 corresponding to the second display area, and this association relationship instructs that the display of the presented information B in the second display area should begin when the display of the presented information A in the first display area is completed. In this case, the terminal device detects whether the disappearance time of the presented information A has arrived in the process of displaying the presented information A, and when the disappearance time of the presented information A has arrived, determines that the timing for displaying the presented information B has arrived. At this time, the display of the presented information A in the first display area is canceled, and the display of the presented information B in the second display area is started. This allows the presented information B to be displayed in a timely manner, thereby ensuring the timely display of the presented information and improving the user experience, as well as making full use of the hardware display resources of the terminal device and improving the utilization rate of the display resources of the terminal device.
[0096] Next, a method for presenting information in a virtual scene provided in an embodiment of the present application will be described. Referring to Figure 11, Figure 11 is a flowchart of a method for presenting information in a virtual scene provided in an embodiment of the present application. The method includes the following steps:
[0097] Step 201: The terminal device receives second presentation information of a second type generated in the game.
[0098] Step 202: Determine whether there is first presented information associated with the second presented information.
[0099] Wherein, the type of the first presentation information is different from the type of the second presentation information, and the type of the first presentation information is a first type. When the first presentation information associated with the second presentation information exists, step 203 is executed, and when the first presentation information associated with the second presentation information does not exist, step 205 is executed.
[0100] Step 203: It is determined whether the timing for displaying the second presentation information has arrived.
[0101] As described above, with regard to the first presentation information and the second presentation information that have an association relationship, the association relationship is used to indicate the display timing of the second presentation information, and when it is determined based on the association relationship that the display timing of the second presentation information has arrived, for example, when the display time of the second presentation information has arrived or when the time distance to the display time of the second presentation information has reached a predetermined threshold, step 208 is executed, and when it is determined based on the association relationship that the display timing of the second presentation information has not arrived, step 204 is executed.
[0102] Step 204: The first presentation information is displayed in the first display area.
[0103] Note that the first presentation information may already be displayed in the first display area before the terminal device obtains the second presentation information. When it is determined based on the association relationship that the timing for displaying the second presentation information has not yet arrived, the presentation information displayed in the first display area and the second display area (corresponding to the second type) are independent of each other. For example, the first presentation information may continue to be displayed in the first display area even when its display is not complete, and after the display of the first presentation information is complete, other presentation information of the same type may continue to be displayed in the first display area. The second display area similarly displays the corresponding type of presentation information based on its own display logic.
[0104] Step 205: Determine whether the third presentation information is displayed in the second display area corresponding to the second type.
[0105] The second display area is used to display the second type of presentation information, and the type of the third presentation information is the same as that of the second presentation information, and both are of the second type. When the same type of third presentation information is displayed in the second display area, step 206 is executed; otherwise, step 207 is executed.
[0106] Step 206: The second presentation information is stored in an information queue corresponding to the second display area and rearranged.
[0107] Among them, there may be other presentation information waiting to be displayed in the information queue, and after the second presentation information is placed in the information queue, it needs to be re-sorted with respect to the second presentation information and the other presentation information waiting to be displayed, for example, in the order of "high to low" presentation priority of the second presentation information and the other presentation information.
[0108] Step 207: It is determined whether the timing for displaying the second presentation information has arrived.
[0109] Here, when the display of the third presentation information in the first display area is completed, each presentation information is displayed in descending order (starting from the earliest one) in the second display area, and when the second presentation information is displayed, it is determined that the timing for displaying the second presentation information has arrived, and at this time step 208 is executed, and if not, step 206 is executed.
[0110] Step 208: The second presentation information is displayed in the second display area.
[0111] The above-mentioned method divides the game interface into multiple display areas, and different types of presentation information are displayed in different display areas, respectively, thereby avoiding information overlap and improving the readability of the presentation information. Different types of presentation information can be simultaneously displayed in corresponding display areas, thereby improving the efficiency of information presentation. Furthermore, the display order of the presentation information can be adjusted by adjusting the presentation weight of the presentation information, thereby improving the flexibility of the presentation information display. Furthermore, by establishing an association relationship between different types of presentation information in different display areas, during the process of displaying one type of presentation information, the other type of presentation information is immediately displayed in the corresponding display area when the display timing arrives, thereby ensuring the timely display of presentation information and improving the user experience.
[0112]
[0049] The following continues to describe an exemplary configuration in which the device for presenting information in a virtual scene 465 provided in the embodiments of the present application is implemented by software modules. In some embodiments, the software modules in the device for presenting information in a virtual scene 465 stored in the storage device 460 in FIG. 3 may include:
[0113] A first display module 4651: configured to display an interface of a virtual scene including at least two display areas, where different display areas are configured to display different types of presentation information; A second display module 4652 is configured to display the first presentation information in a first display area corresponding to a first type in response to a display command for the first presentation information; Third display module 4653: In the process of displaying the first presentation information, when a second type of second presentation information exists in the virtual scene and the display time of the second presentation information has arrived, or when the time distance to the display time of the second presentation information has reached a predetermined threshold, the third display module 4653 is configured to display the second presentation information in a second display area corresponding to the second type.
[0114] In some embodiments, before displaying the interface of the virtual scene including at least two display areas, the device further includes an interface division module, which is configured to divide the interface of the virtual scene into a target number of display areas when the number of types of presentation information in the virtual scene is the target number, each display area corresponding to one type of presentation information; and establish a correspondence between each of the display areas and the corresponding type of presentation information based on the distribution of the display areas and the types of presentation information.
[0115] In some embodiments, the device further includes an association establishment module, which is configured to obtain, in the process of displaying the first presentation information, an execution progress of the virtual scene and a display progress of the first presentation information; and generate the second presentation information based on the execution progress and the display progress, and establish an association relationship between the first presentation information and the second presentation information.
[0116] In some embodiments, before displaying the second presentation information in the second display area corresponding to the second type, the device further displays a timing determination module, which is configured to detect a display progress of the first presentation information during the process of displaying the first presentation information when the association relationship indicates that display of the second presentation information should be started when the display progress of the first presentation information reaches a target progress; and determine that the display timing of the second presentation information has arrived when the display progress of the first presentation information reaches the target progress.
[0117] In some embodiments, the device further includes a fourth display module configured to detect whether the second type of third presentation information is displayed in the second display area in response to there being no association relationship between the second presentation information and the first presentation information; and to display the second presentation information in the second display area in response to the third presentation information not being displayed in the second display area.
[0118] In some embodiments, the device further includes a fifth display module, which is configured to display the second presentation information in the second display area in the process of displaying the third presentation information in response to the third presentation information being displayed in the second display area, wherein the display positions of the second presentation information and the third presentation information in the second display area are different.
[0119] In some embodiments, the device further includes a sixth display module configured to, in response to the third presentation information being displayed in the second display area, store the second presentation information in an information queue corresponding to the second display area, where at least one fourth presentation information is further stored in the information queue; obtain presentation priorities corresponding to the second presentation information and the at least one fourth presentation information, respectively, and sort the second presentation information and the at least one fourth presentation information according to the order of the presentation priorities "from high to low"; and, in response to completion of display of the third presentation information, display the presentation information sorted earlier in the information queue in the second display area.
[0120] In some embodiments, the device further includes a priority determination module, which is configured to obtain a priority parameter of each presentation information among the second presentation information and the at least one fourth presentation information, wherein the priority parameter includes at least one of the following: a generation time of the presentation information generated in the virtual scene and a presentation weight set for the presentation information; and determine a presentation priority of the presentation information based on the presentation priority parameter.
[0121] In some embodiments, the sixth display module is further configured to, in response to the third presentation information being displayed in the second display area, compare presentation priorities of the third presentation information and the second presentation information; and, in response to the presentation priority of the third presentation information being higher than the presentation priority of the second presentation information, store the second presentation information in an information queue corresponding to the second display area.
[0122] In some embodiments, the device further includes a seventh display module configured to stop displaying the third presentation information in the second display area and display the second presentation information in the second display area in response to a presentation priority of the third presentation information being lower than the presentation priority of the second presentation information; and to continue displaying the third presentation information in the second display area in response to completion of displaying the second presentation information.
[0123] In some embodiments, the device further includes an eighth display module configured to display the second type of fifth presentation information in the second display area during the process of displaying the first presentation information; correspondingly, the third display module is further configured to stop displaying the fifth presentation information in the second display area and display the second presentation information when it determines, based on the association relationship, that the display timing of the second presentation information has arrived during the process of displaying the fifth presentation information; and the eighth display module is further configured to continue displaying the fifth presentation information in the second display area in response to completion of displaying the second presentation information.
[0124] In some embodiments, the device further includes a ninth display module, which is configured to display the second type of sixth presentation information in a first sub-region of the second display area during the process of displaying the first presentation information; and correspondingly, the third display module is further configured to display the second presentation information in a second sub-region in the second display area, different from the first sub-region, when it determines, based on the association relationship, that the display timing of the second presentation information has arrived during the process of displaying the sixth presentation information.
[0125] In some embodiments, the ninth display module is further configured to display the second type of sixth presentation information in a first sub-region of the second display region by adopting a first display method, and correspondingly, the third display module is further configured to display the second type of sixth presentation information in a second sub-region of the second display region by adopting a second display method, wherein the first display method is different from the second display method.
[0126] In some embodiments, the third display module is further configured to determine a virtual object in the virtual scene that matches the second presentation information, and set an area where the virtual object is located as a second display area corresponding to the second type; and display the second presentation information in the second display area.
[0127] In some embodiments, the second display module is further configured to display the first presentation information in a first display area corresponding to the first type at a first display speed, and correspondingly, the third display module is further configured to display the second presentation information in a second display area corresponding to the second type at a second display speed, wherein the first display speed corresponds to the first type and the second display speed corresponds to the second type.
[0128] In an embodiment of the present application, a computer program product is provided, the computer program product including a computer program or computer-executable instructions, the computer program or computer-executable instructions being stored in a computer-readable storage medium, a processor of a terminal device reading the computer-executable instructions from the computer-readable storage medium, and the processor executing the computer-executable instructions to cause the electronic device to perform the information presentation method in the embodiment of the present application.
[0129] In an embodiment of the present application, a computer-readable storage medium having computer-executable instructions stored therein is provided, which, when executed by a processor, causes the processor to perform an information presentation method provided in an embodiment of the present application, such as the method shown in FIG.
[0130] In some embodiments, the computer-readable storage medium may be a storage device such as Read-Only Memory (ROM), Random Access Memory (RAM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash memory, magnetic memory, optical disk, CD-ROM, or any of a variety of devices including one or any combination of the above memories.
[0131] In some embodiments, the computer-executable instructions may employ programs, software, software modules, scripts, or code, written in any type of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, for example, as a stand-alone program or as a module, component, subroutine, or other unit that can be used in a suitable computing environment.
[0132] By way of example, but not limitation, the computer-executable instructions may correspond to a file in a file system, may be stored as part of another program or data file, such as in one or more scripts in a HyperText Markup Language (HTML) document, may be stored in a single file of the described program, or may be stored in multiple cooperating files (e.g., one or more modules, subroutines, or code portion files).
[0133] By way of example, the computer-executable instructions may be deployed to be executed on one electronic device, or may be deployed to be executed on multiple electronic devices at one location, or may be deployed to be executed on multiple electronic devices distributed across multiple locations and connected to each other by a communications network.
[0134]
[0023] The above are merely exemplary embodiments of the present application and are not intended to limit the scope of protection of the present application. Although the virtual scene information presentation method provided in the exemplary embodiments of the present application has been described using an example in which the presentation information is displayed in a display area when outputting the presentation information, in actual application, the output method of the presentation information may be further expanded based on the type of presentation information. For example, when the presentation information is audio or video, the presentation information may be played back in the display area using a playback method, or the playback method may be adjusted and set during the playback process. For example, taking an example in which the first presentation information and the second presentation information are both audio, when the first presentation information and the second presentation information are played back simultaneously, a muting process may be performed on the first presentation information, thereby reducing or muting the playback volume of the first presentation information when playing back the first presentation information and setting the playback volume of the second presentation information to a normal level, thereby emphasizing the second presentation information.
[0135] Although the preferred embodiment of the present application has been described above, the present application is not limited to this embodiment, and any modification to the present application falls within the technical scope of the present application as long as it does not depart from the spirit of the present application.
Claims
1. 1. A method for presenting information in a virtual scene, implemented by an electronic device, comprising: displaying an interface of a virtual scene including at least two display areas, where different display areas are used for displaying different types of presentation information; displaying the first presentation information in a first display area corresponding to the first type in response to a display command for the first presentation information; and the method including a step of displaying the first presentation information in a second display area corresponding to the second type when a second type of second presentation information exists in the virtual scene and when a display time point of the second presentation information has arrived or a time distance until the display time point of the second presentation information has reached a predetermined threshold.
2. 2. The method of claim 1, Prior to the step of displaying an interface of a virtual scene including at least two display areas, the method further comprises: When the number of types of presentation information in the virtual scene is a target number, dividing an interface of the virtual scene into the target number of display areas, each display area corresponding to one type of presentation information; and Establishing a correspondence between each of the display areas and a corresponding type of presentation information based on a distribution of each of the display areas and attribute features of each type of presentation information.
3. The method according to claim 1 or 2, further comprising: In the process of displaying the first presentation information, obtaining a progress of the execution of the virtual scene and a progress of the display of the first presentation information; and generating the second presentation information based on the execution progress and the display progress; and determining an association relationship between the first presentation information and the second presentation information.
4. 3. The method according to claim 1 or 2, Before the step of displaying the second presentation information in a second display area corresponding to the second type, the method further includes: Detecting a progress of displaying the first presentation information in the process of displaying the first presentation information; and The method includes determining that a display time for the second presentation information has been reached when a display progress of the first presentation information reaches a target progress.
5. The method according to claim 1 or 2, further comprising: detecting whether the second type of third presentation information is displayed in the second display area in response to a determination that an association relationship does not exist between the second presentation information and the first presentation information; and The method includes a step of displaying the second presentation information in the second display area in response to the third presentation information not being displayed in the second display area.
6. The method of claim 5, further comprising: a step of displaying the second presentation information in the second display area in response to the third presentation information being displayed in the second display area, The method, wherein the second presentation information and the third presentation information are displayed at different positions in the second display area.
7. The method of claim 5, further comprising: a step of storing the second presentation information in an information queue corresponding to the second display area in response to the third presentation information being displayed in the second display area, the information queue further storing at least one piece of fourth presentation information; obtaining presentation priorities corresponding to the second presentation information and each of the fourth presentation information, and sorting the second presentation information and the at least one fourth presentation information according to the order of the presentation priorities from "high to low"; and The method includes a step of sequentially displaying the presentation information in the information queue in the second display area according to a result of the sorting in response to completion of display of the third presentation information.
8. 8. The method of claim 7, The acquiring of presentation priorities corresponding to the second presentation information and each of the fourth presentation information includes: acquiring a priority parameter of each piece of presentation information in the second presentation information and each piece of presentation information in the fourth presentation information, the priority parameter including at least one of a generation time of the presentation information and a presentation weight set for the presentation information; and The method includes determining a presentation priority for the second presentation information and each of the fourth presentation information based on a priority parameter for each of the presentation information.
9. 8. The method of claim 7, The step of storing the second presentation information in an information queue corresponding to the second display area includes: comparing presentation priorities of the third presentation information and the second presentation information in response to the third presentation information being displayed in the second display area; and The method includes a step of storing the second presentation information in an information queue corresponding to the second display area in response to a presentation priority of the third presentation information being higher than a presentation priority of the second presentation information.
10. The method of claim 9, further comprising: stopping the display of the third presentation information in the second display area and displaying the second presentation information in the second display area when the presentation priority of the third presentation information is lower than the presentation priority of the second presentation information; and The method includes a step of continuing to display the third presentation information in the second display area in response to completion of display of the second presentation information.
11. The method according to claim 1 or 2, further comprising: a step of displaying the second type of fifth presentation information in the second display area in the process of displaying the first presentation information; The step of displaying the second presentation information in a second display area corresponding to the second type includes: a step of stopping display of the fifth presentation information in the second display area and displaying the second presentation information, The method further comprises: The method includes a step of continuing to display the fifth presentation information in the second display area in response to completion of display of the second presentation information.
12. The method according to claim 1 or 2, further comprising: a step of displaying the second type of sixth presentation information in a first sub-area of the second display area in the step of displaying the first presentation information; The step of displaying the second presentation information in a second display area corresponding to the second type includes: The method includes, in the process of displaying the sixth presentation information, a step of displaying the second presentation information in a second sub-region in the second display region that is different from the first sub-region.
13. 13. The method of claim 12, The step of displaying the second type of sixth presentation information in the first sub-area of the second display area includes: displaying the second type of sixth presentation information in a first sub-area of the second display area by adopting a first display manner; The step of displaying the second presentation information in a second sub-region in the second display region, the second sub-region being different from the first sub-region, includes: Displaying the second presentation information in a second sub-area of the second display area by adopting a second display manner; The method, wherein the first display manner is different from the second display manner.
14. 3. The method according to claim 1 or 2, The step of displaying the second presentation information in a second display area corresponding to the second type includes: determining a virtual object in the virtual scene that matches the second presentation information, and setting an area in which the virtual object is located as a second display area corresponding to the second type; and The method includes displaying the second presentation information in the second display area.
15. 3. The method according to claim 1 or 2, The step of displaying the first presentation information in a first display area corresponding to the first type includes: displaying the first presentation information at a first display speed in a first display area corresponding to the first type; The step of displaying the second presentation information in a second display area corresponding to the second type includes: displaying the second presentation information at a second display speed in a second display area corresponding to the second type; The first display rate corresponds to the first type and the second display rate corresponds to the second type.
16. 3. The method according to claim 1 or 2, a step of displaying the second presentation information in a second display area corresponding to the second type in response to the presence of second presentation information of a second type in the virtual scene and the arrival of a display time point of the second presentation information or the arrival of a time distance until the display time point of the second presentation information, the step of the second presentation information being displayed in a second display area corresponding to the second type in response to a time point when a second type of second presentation information exists in the virtual scene, an association relationship exists between the second presentation information and the first presentation information, and a time point when the second presentation information is displayed has arrived or a time distance until the time point when the second presentation information is displayed has reached a predetermined threshold.
17. 1. An apparatus for presenting information in a virtual scene, comprising: a first display module configured to display an interface of a virtual scene including at least two display areas, the different display areas being used to display different types of presentation information; a second display module configured to display the first presentation information in a first display area corresponding to a first type in response to a display command for the first presentation information; and the device includes a third display module configured, during a process of displaying the first presentation information, to display a second type of second presentation information in a second display area corresponding to the second type in response to the arrival of a display time point of the second presentation information or the arrival of a time distance until the display time point of the second presentation information.
18. An electronic device, A memory device storing a computer program; and a processor coupled to the memory; 3. An electronic device, the processor being configured to execute the computer program to implement the method according to claim 1 or 2.
19. A program for causing a computer to execute the method according to claim 1 or 2.
Citation Information
Patent Citations
Live broadcast message display method, device and system
CN109698960A
Interface notification message scheduling method and device, equipment and storage medium
CN112099895A
Virtual character display method and device, equipment and storage medium
CN112755527A
Data processing method and device
CN113055701A
Method and System providing soccer game, Soccer game server, using message broadcasting item and Record Media program for implement thereof
KR101182564B1