Information display method, generation method, apparatus, device, and storage medium
Patent Information
- Application Number
- CN202510315004.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-17
- Publication Date
- 2026-09-18
AI Technical Summary
[0004]相关技术中,在固定时间点提示用户撤离(例如,上述设定时长的剩余时长为两分钟时,会提示用户撤离),缺乏灵活性
[0024] For evacuation tasks limited to a set timeframe, the first timing involves displaying an evacuation prompt to guide the virtual object to complete the evacuation. On one hand, since the first timing is related to at least one of a first position and a first distance (the first position being the virtual object's location within the virtual scene, and the first distance being the distance between the first position and the evacuation point in the virtual scene), the timing of prompting the user to evacuate (the first timing) is more flexible due to the virtual object's real-time location. On the other hand, providing a clear method for completing the evacuation task within the first timing allows for more effective guidance to the user.
Smart Images

Figure CN122768675A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of computer and internet technology, and in particular to an information display method, generation method, apparatus, device and storage medium. Background Technology
[0002] In some games, the virtual objects controlled by the user (player) need to perform an evacuation mission, that is, the virtual objects need to reach the evacuation point in the virtual scene and complete the evacuation operation within a set time.
[0003] Consequently, if the user does not allocate sufficient time for the virtual object to travel to the evacuation point and complete the evacuation operation, the evacuation mission may fail. Therefore, in the above scenario, it is necessary to prompt the user to evacuate.
[0004] In related technologies, prompting users to evacuate at fixed time points (for example, prompting users to evacuate when the remaining time of the above-mentioned set duration is two minutes) lacks flexibility. Summary of the Invention
[0005] This application provides an information display method, a generation method, an apparatus, a device, and a storage medium. The technical solutions provided by this application include the following aspects.
[0006] According to one aspect of the embodiments of this application, an information display method is provided, the method comprising:
[0007] The virtual scene corresponding to the evacuation mission is displayed. The virtual scene includes virtual objects participating in the evacuation mission. The evacuation mission is the task of the virtual objects arriving at the evacuation point in the virtual scene and completing the evacuation operation within a set time period.
[0008] Control the virtual object to move within the virtual scene;
[0009] At a first opportune moment, an evacuation prompt message is displayed; wherein the first opportune moment is related to at least one of a first position and a first distance, the first position is the position of the virtual object in the virtual scene, the first distance is the distance between the first position and the evacuation point in the virtual scene, and the evacuation prompt message is used to instruct the virtual object on how to complete the evacuation task.
[0010] According to one aspect of the embodiments of this application, an information generation method is provided, the method comprising:
[0011] Determine the first position in the virtual scene corresponding to the evacuation mission; wherein, the virtual scene includes virtual objects participating in the evacuation mission, the evacuation mission is the task of the virtual objects reaching the evacuation point in the virtual scene and completing the evacuation operation within a set time period, and the first position is the position of the virtual objects in the virtual scene;
[0012] At a first opportune moment, an evacuation prompt message is generated; wherein the first opportune moment is related to at least one of the first location and the first distance, the first distance being the distance between the first location and the evacuation point in the virtual scene, and the evacuation prompt message is used to instruct the virtual object on how to complete the evacuation task.
[0013] According to one aspect of the embodiments of this application, an information display device is provided, the device comprising:
[0014] The display module is used to display the virtual scene corresponding to the evacuation mission. The virtual scene includes virtual objects participating in the evacuation mission. The evacuation mission is the task of the virtual objects arriving at the evacuation point in the virtual scene and completing the evacuation operation within a set time period.
[0015] The control module is used to control the movement of the virtual object in the virtual scene;
[0016] The display module is used to display evacuation prompt information at a first opportune moment; wherein the first opportune moment is related to at least one of a first position and a first distance, the first position is the position of the virtual object in the virtual scene, the first distance is the distance between the first position and the evacuation point in the virtual scene, and the evacuation prompt information is used to instruct the virtual object on how to complete the evacuation task.
[0017] According to one aspect of the embodiments of this application, an information generation apparatus is provided, the apparatus comprising:
[0018] The determination module is used to determine the first position in the virtual scene corresponding to the evacuation task, wherein the virtual scene includes virtual objects participating in the evacuation task, the evacuation task is the task of the virtual objects reaching the evacuation point in the virtual scene and completing the evacuation operation within a set time period, and the first position is the position of the virtual objects in the virtual scene.
[0019] A generation module is used to generate evacuation prompt information at a first opportune moment; wherein the first opportune moment is related to at least one of a first location and a first distance, the first distance being the distance between the first location and an evacuation point in the virtual scene, and the evacuation prompt information is used to instruct the virtual object on how to complete the evacuation task.
[0020] According to one aspect of the embodiments of this application, a computer device is provided, the computer device including a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the above-described information display method, or to implement the above-described information generation method.
[0021] According to one aspect of the embodiments of this application, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement the above-described information display method or the above-described information generation method.
[0022] According to one aspect of the embodiments of this application, a computer program product is provided, the computer program product including a computer program stored in a computer-readable storage medium, and a processor reading from the computer-readable storage medium and executing the computer program to implement the above-described information display method or the above-described information generation method.
[0023] The technical solution provided in this application can bring the following beneficial effects:
[0024] For evacuation tasks limited to a set timeframe, the first timing involves displaying an evacuation prompt to guide the virtual object to complete the evacuation. On one hand, since the first timing is related to at least one of a first position and a first distance (the first position being the virtual object's location within the virtual scene, and the first distance being the distance between the first position and the evacuation point in the virtual scene), the timing of prompting the user to evacuate (the first timing) is more flexible due to the virtual object's real-time location. On the other hand, providing a clear method for completing the evacuation task within the first timing allows for more effective guidance to the user. Attached Figure Description
[0025] Figure 1 This is a schematic diagram illustrating a method for prompting users to evacuate at non-fixed times, as provided in one embodiment of this application.
[0026] Figure 2 This is a schematic diagram of a computer system provided in one embodiment of this application;
[0027] Figure 3 This is a flowchart of an information display method provided in one embodiment of this application;
[0028] Figure 4 This is a flowchart of an information display method provided in another embodiment of this application;
[0029] Figure 5 This is a schematic diagram illustrating the content of the first guidance information provided in one embodiment of this application;
[0030] Figure 6 This is a schematic diagram of an evacuation point in a virtual scene provided in one embodiment of this application;
[0031] Figure 7 This is a schematic diagram of the first suggestion information provided in one embodiment of this application;
[0032] Figure 8 This is a flowchart of an information generation method provided in one embodiment of this application;
[0033] Figure 9 This is a flowchart of an information generation and display method provided in one embodiment of this application;
[0034] Figure 10 This is a block diagram of an information display device provided in one embodiment of this application;
[0035] Figure 11 This is a block diagram of an information generation apparatus provided in one embodiment of this application;
[0036] Figure 12 This is a structural block diagram of a computer device provided in one embodiment of this application. Detailed Implementation
[0037] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0038] Before introducing the technical solution of this application, some terms involved in this application will be explained. The following related explanations are optional and can be combined with the technical solutions of the embodiments of this application in any way, all of which fall within the protection scope of this application. The embodiments of this application include at least some of the following contents.
[0039] Virtual Scene: A virtual scene is a scene displayed (or provided) by an application when it runs on a terminal device. A virtual scene can be a simulation of the real world, a semi-simulated / semi-fictional scene, or a purely fictional scene. A virtual scene can be any of two-dimensional, 2.5-dimensional, or three-dimensional virtual scenes; this application does not limit this.
[0040] Escape Mode: A gameplay mode where users control virtual characters in a perilous and complex virtual environment. Players must explore, fight, and gather resources to improve their survival. The core mechanic revolves around extraction points. Users must reach and extract from these points within a set time limit (completing the extraction mission) to retain their loot. If a user is defeated in the virtual environment or fails to extract within the time limit, they will lose all equipment and loot. This mode requires users to be highly vigilant in combat, avoid ambushes by other users, develop flexible tactics, and be prepared to respond to unexpected situations.
[0041] Extraction points: In a virtual environment, these are the locations used to trigger extraction missions (e.g., in extraction gameplay, the locations that a user-controlled virtual object must reach to complete the extraction). These extraction points are set in designated locations within the virtual environment (map), and some extraction points require the virtual object to meet certain conditions (such as defeating enemies or collecting specific items) before they can be activated. In some cases, at least two opposing users may share a common extraction point, increasing the probability of encounters at that point and creating a sense of urgency.
[0042] Pathfinding algorithms are widely used algorithms in computer science and computer graphics. Their main purpose is to find the optimal path from a starting point to an end point within a given graph structure. These algorithms are typically based on graph representations, where nodes represent positions or states, and edges represent possible moves or transitions from one node to another. Pathfinding algorithms consider various factors such as distance, time, and cost to determine the route from the starting point to the end point. In practical applications, pathfinding algorithms are widely used in game development, navigation systems, network routing, and other fields to achieve intelligent path planning and navigation functions. By using these algorithms, systems can automatically calculate the optimal path, thereby improving efficiency and accuracy.
[0043] In some evacuation-themed games, users will be prompted to evacuate at fixed times. For example, when there are two minutes left in the evacuation mission, an evacuation time prompt will be displayed, indicating that there is not enough time left and prompting the user to evacuate. At the same time, the game countdown will turn red.
[0044] In actual gameplay, users cannot estimate how long it will take them to reach the extraction point. For example, when a user receives a notification with two minutes remaining, if the user is too far from the extraction point and it will take three minutes to reach it, the user will be unable to reach the extraction point and the extraction will inevitably fail, which greatly affects the gaming experience.
[0045] Meanwhile, the activation conditions for many evacuation points are inconsistent. For example, some evacuation points require users to pay for evacuation. When users rush to the evacuation point, they find that they cannot pay the evacuation fee, and the remaining time is not enough for them to reach the next evacuation point, which will also bring a strong sense of frustration.
[0046] This solution applies during gameplay, such as Figure 1 As shown, the system estimates the time required for the user to evacuate based on the real-time location of the user-controlled virtual object. When it detects that the remaining time is approaching the point where the user cannot evacuate, it displays an evacuation prompt message 11, which suggests specific evacuation methods (such as...). Figure 1 As shown, evacuation prompt message 11 prompts the user to evacuate to specific evacuation points A / B, allowing the user to reach the evacuation point in time and preventing the user from choosing the wrong evacuation method in a panic, which would affect the game experience. This will be explained in detail in the following embodiments.
[0047] Please refer to Figure 2 This illustration shows a schematic diagram of a computer system provided in one embodiment of this application. The computer system may include: a terminal device 10 and a server 20.
[0048] Terminal device 10 can be an electronic device such as a mobile phone, tablet computer, multimedia playback device, PC (Personal Computer), wearable device, or in-vehicle terminal device. A client application for the target application can be installed and run on terminal device 10. This target application is an application that supports displaying virtual scenes and allows users to control virtual characters within those scenes, such as game applications or social applications. The aforementioned game applications include, but are not limited to: Multiplayer Online Battle Arena (MOBA) games, open-world games, First-Person Shooter (FPS) games, Third-Person Shooter (TPS) games, Adventure Games (ATG), Action Games (ACT), and Simulation Games (SLG), etc.
[0049] Server 20 can be used to provide background services for clients of target applications (such as game applications) in terminal device 10. For example, server 20 can be a background server for the aforementioned target application (such as game application). Server 20 can be a single server, a server cluster consisting of multiple servers, or a cloud computing service center.
[0050] Terminal device 10 and server 20 can communicate via a network, such as a wireless or wired network.
[0051] Furthermore, in this embodiment, the implementation form of the target application is not limited. For example, it can be an application that needs to be downloaded and installed, a mini-program that does not require installation, a web application, etc.
[0052] Please refer to Figure 3 The diagram illustrates a flowchart of an information display method according to an embodiment of this application. The execution entity for each step of this method can be a terminal device, such as a client of a target application within the terminal device. The method may include at least one of the following steps 310 to 330.
[0053] Step 310: Display the virtual scene corresponding to the evacuation mission.
[0054] The virtual scene includes virtual objects that participate in the evacuation mission. The evacuation mission is the task of the virtual objects to reach the evacuation point in the virtual scene and complete the evacuation operation within a set time period.
[0055] The duration can be set by technicians as needed, such as 15 minutes, 30 minutes, 45 minutes, etc., and this application does not limit it.
[0056] In some embodiments, an evacuation mission is a task required to be performed during a game, and the virtual scene corresponding to the evacuation mission is the virtual scene in which the game is played.
[0057] In some embodiments, the success or failure of an evacuation mission determines the outcome of a game.
[0058] For example, in the evacuation gameplay, if the virtual object completes the evacuation task within the set time, it is considered to have won the game. If the virtual object fails to complete the evacuation task within the set time, or is defeated before completing the evacuation task, it is considered to have lost the game.
[0059] In some embodiments, a game session includes at least two phases, with different phases requiring the execution of different evacuation missions, and different evacuation missions corresponding to different virtual scenarios.
[0060] For example, the game consists of two phases (a first phase and a second phase). In the first phase's virtual scene, after completing the first phase's evacuation mission (corresponding to the first phase's virtual scene), the virtual object enters the second phase's virtual scene. In the second phase's virtual scene, after completing the second phase's evacuation mission (corresponding to the second phase's virtual scene), the virtual object wins the game.
[0061] In some embodiments, after a virtual object completes its evacuation mission, it exits the game. In some embodiments, after a virtual object completes its evacuation mission, it enters another virtual scene, for example, a safe zone within the game (i.e., a scene where the virtual object will not be attacked).
[0062] An extraction point is a location in a virtual scene where virtual objects complete an extraction task. In some embodiments, a virtual scene includes at least one extraction point. That is, there can be one or at least two extraction points in a virtual scene.
[0063] In some embodiments, the location of the evacuation point in the virtual scene is pre-configured by technicians.
[0064] In some embodiments, the location of the extraction point in the virtual scene is randomly determined in the virtual scene when the virtual character enters the virtual scene (e.g., at the start of a game).
[0065] Evacuation operations are the operations used to complete evacuation missions.
[0066] In some embodiments, the evacuation operation is the operation of a virtual object entering an evacuation point. That is to say, when a virtual object reaches the evacuation point, it is considered that the evacuation operation has been completed.
[0067] In some embodiments, an evacuation operation is an operation performed by a virtual object within an evacuation point to complete an evacuation task. For example, an evacuation operation includes the operation of a virtual object staying and waiting at an evacuation point; another example is the operation of a virtual object interacting with objects in the evacuation point (such as opening a door, starting a vehicle, etc.); yet another example is the operation of a virtual object using virtual props at the evacuation point (such as launching a virtual flare to summon a virtual vehicle).
[0068] This application does not specify the particular form of the evacuation operation.
[0069] Step 320: Control the virtual object to move within the virtual scene.
[0070] In some embodiments, a virtual object refers to an object controlled by a user operation. Step 320 includes: controlling the virtual object to move within a virtual scene based on the received user operation.
[0071] In some embodiments, the display screen of the virtual scene changes as the virtual object moves. The display screen of the virtual scene is used to show the content contained in the virtual scene.
[0072] In some embodiments, the virtual scene display screen includes the aforementioned virtual objects.
[0073] In some embodiments, the virtual scene display includes the virtual shooting props held by the aforementioned virtual objects.
[0074] Step 330: At the first opportune moment, display the evacuation prompt message.
[0075] The first timing is related to at least one of a first position and a first distance, where the first position is the location of the virtual object in the virtual scene, the first distance is the distance between the first position and the evacuation point in the virtual scene, and the evacuation prompt information is used to instruct the virtual object on how to complete the evacuation task.
[0076] In some embodiments, the first timing is related to the first position.
[0077] In some embodiments, the virtual scene is divided into at least two sub-scenes, each of which is configured with a first duration range. The first duration ranges corresponding to the at least two sub-scenes are not entirely the same. When a virtual object is in a certain sub-scene, the first duration range corresponding to that sub-scene is used to determine whether to display an evacuation prompt message. The first duration range corresponding to the sub-scene is configured as needed by an artist based on the location of the sub-scene and the location of the evacuation point in the virtual scene; this application does not impose any limitations on this configuration.
[0078] For example, the first timing is the moment when the remaining duration of the set duration meets the following condition: the remaining duration of the set duration belongs to the first duration range corresponding to the sub-scene where the first position is located.
[0079] In some embodiments, the first timing is related to a first distance.
[0080] In some embodiments, there are at least two evacuation points in the virtual scene, and the first distance is the distance between the first location and its nearest evacuation point.
[0081] In some embodiments, there are at least two extraction points in the virtual scene, and the first distance is the distance between the first location and the first extraction point selected from at least one extraction point in the virtual scene.
[0082] In some embodiments, the range of the first distance includes at least two distance ranges, and the at least two distance ranges correspond to different second duration ranges. When the first distance belongs to a certain distance range, the second duration range corresponding to that distance range is used to determine whether to display evacuation prompt information.
[0083] For example, the first timing is the moment when the remaining duration of the set duration meets the following condition: the remaining duration of the set duration belongs to the second duration range corresponding to the distance range to which the first distance belongs.
[0084] In some embodiments, the first timing is also related to the position of the first evacuation point in the virtual scene, and the first evacuation point is selected from at least one evacuation point in the virtual scene.
[0085] In this embodiment, the first timing is also related to the position of the first evacuation point, and the first timing corresponds to the recommended first evacuation point, so that the virtual object can be prompted to go to the first evacuation point at a more appropriate timing.
[0086] In some embodiments, the first timing is a time when the remaining duration of the set duration and the estimated evacuation duration satisfy a first condition, and the first condition is that the remaining duration of the set duration is greater than the estimated evacuation duration and less than a first threshold.
[0087] Wherein, the estimated evacuation duration is the estimated time consumed by the virtual object from the first position to the first evacuation point and completing the evacuation operation, and the first threshold is determined based on the estimated evacuation duration.
[0088] In some embodiments, the first threshold is obtained by multiplying the estimated evacuation duration by a set magnification. That is, the first condition is: T < T0 < A×T, wherein T is the estimated evacuation duration, T0 is the remaining duration of the first set duration, and A is the set magnification. The set magnification is set by technicians as required, such as 1.2, 1.5, 2, etc.
[0089] In some embodiments, the first threshold is obtained by adding the estimated evacuation duration and a set time value. That is, the first condition is T < T0 < B + T, wherein B is the set time value. The set time value is set by technicians as required, such as 30s, 1min, 5min, etc.
[0090] In addition to the above determination method, the first threshold can also adopt any other determination method based on the estimated evacuation duration, which is not limited in the present application.
[0091] In the above embodiments, the first timing is the time when the remaining duration of the set duration is greater than the estimated evacuation duration and less than the first threshold, which realizes that the evacuation prompt information is displayed when the remaining duration of the set duration is almost insufficient for the virtual object to evacuate. It not only ensures the effectiveness of the evacuation prompt information, but also does not prompt the user to evacuate too early.
[0092] The evacuation prompt information can use audio, icons, text and other forms to indicate the way for the virtual object to complete the evacuation task, which is not limited in the present application.
[0093] In some embodiments, the evacuation prompt information is used to indicate the evacuation point that the virtual object is recommended to go to. Illustratively, the evacuation prompt information is text or audio that prompts the following information: Please go to the XXX evacuation point.
[0094] In some embodiments, evacuation prompts are used to guide virtual objects to recommended evacuation points. This will be described in more detail in the embodiments described below.
[0095] In some embodiments, a time reminder message is also displayed at the first opportune moment.
[0096] Time reminders are used to remind users of the remaining time for a set duration, and can be in the form of text, audio, or images. For example, it could be a text or audio message such as: "Less time remaining in the battle; immediate evacuation is recommended." Alternatively, it could be a change in the format of the remaining time information (e.g., turning red). This remaining time information indicates the remaining duration of the set duration and is displayed synchronously with the virtual scene described above.
[0097] The technical solution provided in this application, for an evacuation task limited to completion within a set time period, displays evacuation prompt information at a first opportune moment to prompt the virtual object to complete the evacuation task. On one hand, since the first opportune moment is related to at least one of a first position and a first distance (the first position is the location of the virtual object in the virtual scene, and the first distance is the distance between the first position and the evacuation point in the virtual scene), the timing of prompting the user to evacuate (the first opportune moment) is more flexible as it is influenced by the real-time location of the virtual object. On the other hand, providing a clear method for completing the evacuation task at the first opportune moment allows for more effective prompting of the user to complete the evacuation task.
[0098] In the following embodiments, the content of the evacuation prompt message will be described in more detail.
[0099] In some embodiments, please refer to Figure 4 Step 330 includes step 332.
[0100] Step 332: At the first opportune moment, display the first guidance information, which is used to guide the virtual object to move towards the first evacuation point.
[0101] In this embodiment, at a first opportune moment, the virtual object is intuitively guided to the first evacuation point (i.e., a recommended evacuation point selected from at least one evacuation point in the virtual scene) using first guidance information. This can save the user time in selecting the evacuation point themselves and avoid the user selecting an evacuation point that they cannot actually reach or that is not in use.
[0102] In some embodiments, the first guidance information includes at least one of evacuation point guidance information and route guidance information.
[0103] Evacuation point guidance information is used to indicate the location of the first evacuation point in the virtual scene.
[0104] The evacuation point guidance information can take the form of icons, text, audio, etc., and this application does not limit this. For example, the evacuation point guidance information may be a text or audio message prompting the following: Please proceed to the XXX evacuation point in the southeast direction. Another example is an icon displayed on the screen of a virtual scene, indicating the location of the first evacuation point within the virtual scene. Yet another example is an icon displayed on a virtual map, which is a map of the virtual scene corresponding to the evacuation mission and is displayed synchronously with that virtual scene.
[0105] Route guidance information is used to indicate the route from the first location to the first evacuation point.
[0106] Route guidance information can take the form of images, audio, text, etc., and this application does not limit this. For example, route guidance information may be text or audio prompts such as: Please proceed forward, turn left at location XX, then proceed forward to location XX, and then turn right to reach evacuation point XXX. Another example is route guidance information displayed as a light strip, dotted line, etc., on the display screen of a virtual scene. Yet another example is route guidance information displayed as a line segment on a virtual map.
[0107] For example, please refer to Figure 5 If the remaining time and estimated evacuation time meet the first condition, the first guidance information displayed includes evacuation point guidance information 51 and route guidance information 52. The user can then control the virtual object 53 to proceed to the first evacuation point under the guidance of this evacuation point guidance information 51 and route guidance information 52.
[0108] In the above embodiments, the evacuation point guidance information and route guidance information can intuitively indicate the location of the first evacuation point and the route to the first evacuation point to the user, saving the user time in determining the direction and deciding the path, and improving the efficiency of the virtual object in completing the evacuation task.
[0109] In some embodiments, the first guidance information further includes at least one of the following: evacuation point distance information, waypoint guidance information, and waypoint distance information.
[0110] The evacuation point distance information is used to indicate the distance between the first location and the first evacuation point.
[0111] Evacuation point distance information can be in the form of icons, text, audio, etc., and this application does not limit this. For example, the evacuation point distance information may be a text or audio message such as: "Evacuation point XXX is 500m away from you."
[0112] In some embodiments, the evacuation point distance information is displayed in correspondence with the evacuation point guidance information, that is, the display position of the evacuation point distance information is determined by the display position of the evacuation point guidance information.
[0113] For example, please refer to Figure 5 The evacuation point distance information 54 is displayed directly below the evacuation point guidance information 51, thus indicating that the first evacuation point is 500 meters away from the virtual object.
[0114] Waypoint guidance information is used to indicate the location of at least one waypoint passed from the first location to the first evacuation point.
[0115] In some embodiments, waypoints are used to enable a first evacuation point, which is required for virtual objects to complete evacuation tasks before it can be enabled. For example, please refer to... Figure 6 In this example, virtual object 53 needs to turn on switches A and B before it can evacuate from the corresponding evacuation point 61. Therefore, when the corresponding evacuation point 61 is the first evacuation point, switches A and B are the waypoints, and the positions of switches A and B in the virtual scene are the positions of the waypoints.
[0116] Waypoint guidance information can take the form of icons, text, audio, etc., and this application does not limit this. For example, waypoint guidance information may be a text or audio message prompting the following: Please proceed to the XXX switch in the southeast direction. Another example is a waypoint guidance information that is an icon displayed on the screen of a virtual scene, indicating the location of the waypoint within the virtual scene. Yet another example is a waypoint guidance information that is an icon displayed on a virtual map.
[0117] For example, please refer to Figure 5 The first guidance information also includes waypoint guidance information 55, which is used to indicate the locations of switches A and B in the virtual scene required to activate the first evacuation point.
[0118] The waypoint distance information is used to indicate the distance between the first location and the waypoint.
[0119] The distance information for waypoints can be in the form of icons, text, audio, etc., and this application does not limit this. For example, the distance information for waypoints may be text or audio prompts such as: "Switch XXX is 500m away from you."
[0120] In some embodiments, waypoint distance information and waypoint guidance information are displayed in correspondence, that is, the display position of waypoint distance information is determined by the display position of waypoint guidance information.
[0121] For example, please refer to Figure 5 The distance information 56 for the waypoints is displayed directly below the evacuation point guidance information 55, thus indicating that switch A is 150 meters away from the virtual object and switch B is 300 meters away from the virtual object.
[0122] In the above embodiment, the first guidance information also indicates the location of the waypoints to the first evacuation point, thereby preventing the virtual object from missing some necessary waypoints when heading to the first evacuation point. Furthermore, by indicating the distance between the virtual object and the waypoints / first evacuation point, richer information is provided to assist the user in deciding when to head to the waypoints or the first evacuation point.
[0123] In some embodiments, the above information display method further includes the following steps: displaying a guide close control, which is used to stop guiding the virtual object; and canceling the display of the first guide information (withdrawal prompt information) in response to an operation on the guide close control.
[0124] It should be noted that, in the embodiments of this application, the operations mentioned for the displayed content (such as controls, information, etc.) can be any operations for the displayed content, such as clicking, long pressing (the pressing time exceeds a set threshold, the set threshold is set by the technician as needed, such as 0.3s, 0.5s, 1s, etc.), swiping, etc., which will not be described in detail in the embodiments below.
[0125] In some embodiments, the above information display method further includes the following steps:
[0126] 1. Display the extraction point switching control. The extraction point switching control is used to switch the extraction point that guides the virtual object to.
[0127] In some embodiments, the evacuation point switching control is displayed synchronously with the first guidance information.
[0128] 2. In response to an operation on the evacuation point switching control, display a second set of guidance information.
[0129] The second guidance information is used to guide the virtual object to move to the second extraction point, which is located at a different position in the virtual scene than the first extraction point.
[0130] In some embodiments, in response to an operation on the evacuation point switching control, the first guidance information is canceled and the second guidance information is displayed.
[0131] In some embodiments, at a first timing, the estimated time for a virtual object to travel from a first location to a second evacuation point and complete the evacuation operation is less than the remaining time of a set duration.
[0132] The specific content of the second guidance information is similar to that of the first guidance information, and will not be repeated here.
[0133] In some embodiments, the second guidance information includes time-priority guidance information and distance-priority guidance information.
[0134] The time-priority guidance information is used to guide virtual objects to move towards the time-priority evacuation point. The estimated time for a virtual object to reach the time-priority evacuation point from the first position and complete the evacuation operation is less than the above-mentioned estimated evacuation time.
[0135] Distance-priority guidance information is used to guide virtual objects to move towards the benefit-priority evacuation point. The estimated virtual resource benefit of a virtual object reaching the benefit-priority evacuation point from the first position and completing the evacuation operation is greater than the estimated virtual resource benefit of a virtual object reaching the first evacuation point from the first position and completing the evacuation operation.
[0136] The extraction point switching control includes at least one of a first switching control and a second switching control. The first switching control is used to switch the extraction point to which the virtual object is guided to a time-priority extraction point, and the second switching control is used to switch the extraction point to which the virtual object is guided to a profit-priority extraction point. In response to an operation on the first switching control, time-priority guidance information is displayed. In response to an operation on the second switching control, profit-priority guidance information is displayed.
[0137] In the above embodiment, users can conveniently switch the recommended virtual object's evacuation point by operating the switching control. Therefore, this solution can more flexibly prompt users for evacuation methods, ensuring that the prompted evacuation methods meet user needs.
[0138] In addition to prompting users on evacuation methods, this application also provides suggestions for reducing the estimated evacuation time. Please refer to the examples below.
[0139] In some embodiments, the above information display method further includes step 440 ( Figure 4 (Not shown in the image).
[0140] Step 440, at the second opportune moment, display evacuation prompt information and first suggestion information, the first suggestion information being used to instruct the virtual object to perform a first suggested action.
[0141] The first recommended action is to reduce the estimated evacuation time mentioned above.
[0142] The second timing is related to at least one of the first position and the first distance, and the second timing is different from the first timing.
[0143] In some embodiments, the second timing is related to the first position.
[0144] In some embodiments, the virtual scene is divided into at least two sub-scenes, each of which is configured with a third duration range. The third duration ranges corresponding to the at least two sub-scenes are not entirely the same. When a virtual object is in a certain sub-scene, the third duration range corresponding to that sub-scene is used to determine whether to display evacuation prompts and first suggestion information. The third duration range and the first duration range corresponding to the same sub-scene are different.
[0145] For example, the second timing is the moment when the remaining duration of the set duration meets the following condition: the remaining duration of the set duration belongs to the third duration range corresponding to the sub-scene where the first position is located.
[0146] In some embodiments, the second timing is related to the first distance.
[0147] In some embodiments, the range of the first distance includes at least two distance ranges, and the at least two distance ranges correspond to different fourth duration ranges. When the first distance belongs to a certain distance range, the fourth duration range corresponding to that distance range is used to determine whether to display the evacuation prompt information and the first suggestion information. The fourth duration range and the second duration range corresponding to the same distance range are different.
[0148] For example, the first timing is the moment when the remaining duration of the set duration meets the following condition: the remaining duration of the set duration belongs to the fourth duration range corresponding to the distance range to which the first distance belongs.
[0149] In some embodiments, the second timing is also related to the location of the first evacuation point in the virtual scene.
[0150] In some embodiments, the second timing is the moment when the remaining duration of the set duration and the estimated evacuation duration meet the second condition, whereby the remaining duration of the set duration is less than or equal to the estimated evacuation duration. That is, the second condition is: T0≤T.
[0151] In some embodiments, the first suggested action is used to increase the movement speed of the virtual object in the virtual scene, thereby reducing the estimated evacuation time. For example, the first suggested action includes: driving a vehicle (the first suggested information will simultaneously indicate the vehicle's location), using a virtual item with acceleration function, discarding items carried by the virtual object, using an item that teleports the virtual object to a first evacuation point, etc.
[0152] The first suggestion message can take the form of images, text, audio, etc., and this application does not limit its form. For example, the first suggestion message could be an audio prompt such as: Please reduce the weight of your backpack by discarding items to increase your movement speed. Another example is text in a pop-up window such as: It is recommended to drive a vehicle to the extraction point.
[0153] For example, please refer to Figure 7 In the second instance, in addition to displaying the first guidance information in the example above, a first suggestion information 71 is also displayed, which indicates that the first suggested action is to use the XX acceleration item.
[0154] In some embodiments, the first suggestion information and the timeout prompt information are displayed simultaneously. The timeout prompt information is used to indicate that the remaining time of the set duration is insufficient to support the virtual object in completing the evacuation task. For example, the timeout prompt information is text or audio indicating the following: Insufficient time remaining.
[0155] In the above embodiment, at another opportune moment (the second opportune moment), in addition to displaying the evacuation prompt information, a first suggestion information is also displayed. This first suggestion information guides the virtual object to perform an operation that reduces the estimated evacuation time, helping to expedite the completion of the evacuation task. Especially when the remaining time of the set time is less than or equal to the estimated evacuation time, the above solution can promptly prompt the user with remedial measures to complete the evacuation task, increasing the probability that the user will ultimately complete the evacuation.
[0156] In some embodiments, the above information display method further includes at least one of the following steps:
[0157] 1. Display suggestions for switching controls and suggestions for using at least one of the controls.
[0158] It is recommended to use a toggle control to switch the behavior of the recommended virtual object, and to use a control to trigger the virtual object to execute the first recommended behavior.
[0159] In some embodiments, it is suggested to switch controls and to use at least one of the controls to be displayed synchronously with the first suggestion information.
[0160] For example, please refer to Figure 7 It is recommended to switch control 72 and use control 73 to display synchronously with the first suggestion information 81.
[0161] 2. In response to an operation on the suggested toggle control, display second suggested information, which indicates the second suggested behavior; or, in response to an operation on the suggested toggle control, control the virtual object to perform the first suggested behavior.
[0162] In some embodiments, in response to an operation on the suggested toggle control, the first suggested information is de-displayed and the second suggested information is displayed.
[0163] For example, please refer to Figure 7 In response to the operation on the suggested toggle control 72, the first suggested information 71 is canceled from being displayed, and the second suggested information is displayed. Figure 7(Not shown in the image). The second suggested action indicated by the second suggested information is no longer using the XX speed-up item; for example, the second suggested action is discarding the XX item.
[0164] For example, please refer to Figure 7 In response to the operation of control 73 in response to the suggestion, the virtual object is controlled to execute the first suggested form, that is, to control the virtual object to use the XX acceleration item.
[0165] In the above embodiments, on the one hand, providing a control to quickly adopt the first suggested behavior improves the efficiency of the virtual object executing the first suggested behavior. This is particularly suitable for scenarios where there is insufficient remaining time or the first suggested behavior is relatively complex. For example, if the first suggested behavior is to use a virtual item owned by the virtual object, then with the above solution, the user does not need to search for the virtual item manually. On the other hand, providing a suggestion switching control to switch the behavior executed by the suggested virtual object improves the flexibility of providing behavior suggestions and gives the user more choices.
[0166] The following embodiments will describe the process of generating the information shown above. For details not described in detail in the following embodiments, please refer to the embodiments above.
[0167] Please refer to Figure 8 The diagram illustrates a flowchart of an information generation method according to an embodiment of this application. The execution entity for each step of the method can be a terminal device or a server. The method may include at least one of the following steps 810-820.
[0168] Step 810: Determine the first location in the virtual scene corresponding to the evacuation mission.
[0169] The virtual scene includes virtual objects participating in the evacuation mission. The evacuation mission is the task of the virtual objects reaching the evacuation point in the virtual scene and completing the evacuation operation within a set time period. The first position is the position of the virtual object in the virtual scene.
[0170] Step 820: At the first opportune moment, generate an evacuation prompt message.
[0171] The first timing is related to at least one of a first position and a first distance, where the first position is the location of the virtual object in the virtual scene, the first distance is the distance between the first position and the evacuation point in the virtual scene, and the evacuation prompt information is used to instruct the virtual object on how to complete the evacuation task.
[0172] In some embodiments, the evacuation prompt information includes first guidance information, which guides the virtual object to move towards the first evacuation point. Before step 820, the above information generation method further includes at least one of the following steps 812 to 814. Figure 8(Not shown in the image).
[0173] Step 812: Determine N available evacuation points from the M evacuation points in the virtual scene.
[0174] Evacuation points can be used to support virtual objects in completing evacuation tasks, where M is an integer greater than 1 and N is a positive integer less than or equal to M.
[0175] In some embodiments, among the M evacuation points, some have activation conditions set. These activation conditions are the conditions for completing an evacuation task through the evacuation point. A virtual object must meet the activation conditions corresponding to a evacuation point to complete the evacuation task through that evacuation point. Therefore, the available evacuation points are either evacuation points without activation conditions set, or evacuation points where the virtual object meets the corresponding activation conditions. Unavailable evacuation points are those where the virtual object does not meet the corresponding activation conditions.
[0176] In some embodiments, the virtual object's eligibility for an extraction point is determined based on its relevant information (such as its virtual resources, the number of objects defeated, etc.). For example, the eligibility conditions for an extraction point include: the virtual object carrying a set amount of virtual coins, the virtual object possessing the virtual key corresponding to the extraction point, and the virtual object having defeated a set number of objects. These eligibility conditions are configured as needed by a technician, and this application does not limit their configuration.
[0177] It should be noted that if the activation conditions for a certain extraction point include: the virtual object activates the extraction point at the corresponding activation point (i.e., the location used to activate the extraction point), and the virtual object supports moving to the activation point, then if the virtual object meets the other activation conditions for the extraction point, even if the virtual object has not yet traveled to the activation point, it should be considered as an available extraction point because the virtual object supports moving to the activation point.
[0178] For example, please refer to Figure 6 ,exist Figure 6 In the example, the virtual scene includes 4 extraction points 61. The activation condition for the top left extraction point 61 is having at least 100 virtual coins. The activation condition for the top right extraction point 61 is having no activation condition. The activation condition for the bottom left extraction point 61 is having a virtual key. The activation condition for the bottom right extraction point 61 is turning on switches A and B. The virtual object 53 has 200 virtual coins but no virtual key. Therefore, 3 usable extraction points are determined from the 4 extraction points 61 (the bottom left extraction point 61 is the unusable extraction point).
[0179] Step 814: Determine the first evacuation point from the N available evacuation points.
[0180] In the above embodiment, the available evacuation points in the virtual scene are first determined, and then the recommended first evacuation point is determined from the available evacuation points. This can ensure that the evacuation time is estimated based on the location of the available evacuation points, and ensure that evacuation is prompted at the appropriate time.
[0181] In some embodiments, step 814 includes at least one of the following steps:
[0182] 1. Determine the evacuation routes corresponding to N available evacuation points. The evacuation route corresponding to an available evacuation point refers to the route taken by the virtual object from the first position to the available evacuation point.
[0183] In some embodiments, a pathfinding algorithm is used to determine the evacuation routes corresponding to the N available evacuation points.
[0184] 2. Calculate the evacuation time corresponding to each of the N available evacuation points. The evacuation time corresponding to an available evacuation point refers to the estimated time it takes for a virtual object to reach an available evacuation point and complete the evacuation operation according to the evacuation route corresponding to the available evacuation point.
[0185] In some embodiments, the step includes at least one of the following steps:
[0186] 2.1 For any one of the N available evacuation points, determine the route speed corresponding to at least one sub-segment based on the status information of the virtual object and the attribute information of at least one sub-segment.
[0187] The evacuation route corresponding to an available evacuation point includes at least one sub-segment. If an available evacuation point includes at least two sub-segments, the attribute information of any two connected sub-segments is different. The route speed corresponding to a sub-segment refers to the estimated speed at which the virtual object moves within the sub-segment.
[0188] The state information of a virtual object is used to indicate the state of the virtual object, such as its initial estimated speed, health level (injury level), load capacity, and remaining stamina.
[0189] The attribute information of a sub-segment is used to indicate the attributes of the sub-segment, such as the degree of inclination of the sub-segment, the road conditions of the sub-segment, and the speed of the virtual transportation provided in the sub-segment.
[0190] In some embodiments, for a single sub-segment, the attribute information of the sub-segment directly provides the route speed corresponding to the sub-segment. For example, the speed of the virtual transportation tools (such as virtual ziplines or virtual minecarts) provided in the sub-segment can be determined as the route speed corresponding to the sub-segment.
[0191] In some embodiments, the virtual object has a pre-configured baseline speed value. For a single sub-segment, both the state information of the virtual object and the attribute information of the sub-segment are used to adjust the baseline speed value to obtain the route speed corresponding to the sub-segment. For example, the route speed corresponding to the sub-segment is obtained by multiplying the baseline speed value with parameters in the virtual object's state information that indicate different types of states of the virtual object, and parameters in the sub-segment's attribute information that indicate different types of attributes of the sub-segment.
[0192] In some embodiments, the state information of a virtual object indicates the initial estimated speed of the virtual object. For a single sub-segment, the attribute information of the sub-segment is used to adjust the initial estimated speed to obtain the route speed corresponding to the sub-segment. For example, the parameters in the attribute information of the sub-segment that indicate different types of attributes of the sub-segment are multiplied by the initial estimated speed to obtain the route speed corresponding to the sub-segment.
[0193] Those skilled in the art should understand that, based on the state information of the virtual object and the attribute information of the sub-road segment, in addition to the method given above, other methods may also be used to determine the route speed of the sub-road segment. This application only uses the above method as an example for illustration.
[0194] 2.2. Based on the route speed corresponding to at least one sub-segment and the length of each sub-segment, calculate the segment time corresponding to each sub-segment. The segment time corresponding to a sub-segment refers to the estimated time for the virtual object to move within the sub-segment.
[0195] In some embodiments, for a single sub-segment, the length of the sub-segment is divided by the route speed corresponding to the sub-segment to obtain the estimated time for the sub-segment.
[0196] 2.3. Based on the segment time corresponding to at least one sub-segment, obtain the evacuation time corresponding to the available evacuation point.
[0197] In the above embodiment, during the calculation of the evacuation time corresponding to the available evacuation point, the speed is estimated based on the status information of the virtual object and the attribute information of the sub-segments in the evacuation route. This allows for a more accurate estimation of the evacuation time by comprehensively considering the actual road conditions of each sub-segment and the actual state of the virtual object. In other words, even if situations arise during the evacuation process that might cause the virtual object to slow down (such as injury, excessive load, exhaustion, or needing to go uphill), or situations that might cause the virtual object to increase its speed (such as using virtual transportation), the above method can still accurately estimate the evacuation time.
[0198] In some embodiments, step 2.3 above includes at least one of the following steps:
[0199] (1) Add up the time consumption of each sub-segment to obtain the movement time corresponding to the available evacuation point. The movement time corresponding to the available evacuation point refers to the estimated time for the virtual object to move in the evacuation route corresponding to the available evacuation point.
[0200] For example, if the evacuation route corresponding to an available evacuation point includes n sub-segments, the travel time corresponding to the available evacuation point can be calculated using the following formula: T d =D1 / S1 + D2 / S2 + ... + D n / S n Among them, D1~D n Let S1 be the length of each of the n sub-segments. n Let D1 / S1 be the route speed corresponding to each of the n sub-segments. n / S n Let T be the time taken for each of the n sub-segments. d Let n be the movement time corresponding to the available evacuation point, where n is a positive integer.
[0201] (2) If the evacuation route corresponding to the available evacuation point does not include the waiting position, the movement time corresponding to the available evacuation point shall be determined as the evacuation time corresponding to the available evacuation point.
[0202] For example, in the case where the evacuation route corresponding to the available evacuation point does not include a waiting location, T z =T d , among which, T z This represents the evacuation time corresponding to the available evacuation points.
[0203] (3) If the evacuation route corresponding to the available evacuation point includes at least one waiting position, the movement time corresponding to the available evacuation point and the predetermined duration corresponding to the at least one waiting position are added together to obtain the evacuation duration corresponding to the available evacuation point.
[0204] The scheduled waiting time for a position is a pre-configured duration by the technician, such as 5 seconds, 30 seconds, or 1 minute. This application does not limit this duration.
[0205] The conditions for a virtual object to complete an evacuation mission through an available evacuation point include staying at the waiting location for a predetermined duration.
[0206] For example, please refer to Figure 7 For the available evacuation point in the lower right corner, activating it requires turning on switches A and B. If both switches A and B require a virtual object to remain in the evacuation area for a predetermined time before activation, then the locations of switches A and B become waiting positions within the evacuation route corresponding to that available evacuation point. Additionally, if performing an evacuation operation at this available evacuation point also requires a predetermined time, then that available evacuation point also becomes a waiting position.
[0207] For example, in the case where the evacuation route corresponding to an available evacuation point includes at least one waiting location, T z =T w +T d , among which, T w It is the sum of the predetermined durations corresponding to at least one waiting position.
[0208] In the above embodiment, the calculation of the evacuation time corresponding to the available evacuation point also takes into account the time that the virtual object needs to stay and wait during the evacuation along the evacuation route, which further improves the accuracy of the calculation of the evacuation time corresponding to the available evacuation point.
[0209] 3. Among the N available evacuation points, the available evacuation point with the shortest evacuation time is determined as the first evacuation point.
[0210] For example, for Figure 7 Of the three available evacuation points, the evacuation time corresponding to the available evacuation point in the upper left corner is 5 minutes, the evacuation time corresponding to the available evacuation point in the upper right corner is 4 minutes, and the evacuation time corresponding to the available evacuation point in the lower right corner is 3 minutes. Therefore, the available evacuation point in the lower right corner is determined as the first evacuation point.
[0211] In the above embodiment, the available evacuation point corresponding to the shortest evacuation time is determined as the first evacuation point. In this case, from the perspective of the shortest evacuation time, the fastest evacuation point can be recommended to the user at the corresponding evacuation time.
[0212] In some embodiments, step 814 includes at least one of the following steps:
[0213] 1. Determine the evacuation routes corresponding to N available evacuation points. The evacuation route corresponding to an available evacuation point refers to the route taken by the virtual object from the first position to the available evacuation point.
[0214] 2. Determine the evacuation benefits corresponding to each of the N available evacuation points. The evacuation benefits corresponding to each available evacuation point are used to indicate the estimated virtual resource benefits for virtual objects to move to the available evacuation point and complete the evacuation operation according to the evacuation route corresponding to the available evacuation point.
[0215] In some embodiments, resource distribution information of the virtual scene is queried based on the evacuation routes corresponding to available evacuation points to obtain the evacuation benefits corresponding to the available evacuation points. The resource distribution information of the virtual scene is used to describe the distribution of virtual resources in the virtual scene.
[0216] 3. Among the evacuation benefits corresponding to the N available evacuation points, the available evacuation point with the largest evacuation benefit is determined as the first evacuation point.
[0217] For example, for Figure 6 The three available evacuation points are: the evacuation reward for the top left evacuation point is 300, the evacuation reward for the top right evacuation point is 200, and the evacuation reward for the bottom right evacuation point is 100. Therefore, the evacuation reward for the top left evacuation point is determined as the first evacuation point.
[0218] In the above embodiment, the available evacuation point corresponding to the maximum evacuation benefit is determined as the first evacuation point. In this case, from the perspective of maximizing evacuation benefits, the evacuation point that can obtain the maximum evacuation benefit can be recommended to the user at the corresponding evacuation time.
[0219] In some embodiments, the first timing is also related to the location of the first evacuation point in the virtual scene.
[0220] In some embodiments, the first timing is the moment when the remaining duration of the set time and the estimated evacuation time meet a first condition, wherein the remaining duration of the set time is greater than the estimated evacuation time and less than a first threshold. The estimated evacuation time is the estimated time it takes for a virtual object to travel from a first location to a first evacuation point and complete the evacuation operation, and the first threshold is determined based on the estimated evacuation time.
[0221] In some embodiments, prior to step 820, after determining the first evacuation point, the estimated evacuation duration is obtained.
[0222] In some embodiments, the above information generation method further includes at least one of the following steps 830 to 850 ( Figure 8 (Not shown in the image).
[0223] Step 830, at the second opportune moment, determine at least one proposed behavior that the virtual object supports for execution.
[0224] The second timing is related to at least one of the first location and the first distance, and the second timing is different from the first timing. In at least one recommended action, the different recommended actions reduce the estimated evacuation time in different ways.
[0225] Step 840: From at least one suggested action, determine the first suggested action with the highest priority.
[0226] In some embodiments, the priority of a suggested action is determined by the degree of virtual resource consumption of that action; for example, the higher the value of the virtual resources consumed by a suggested action, the lower its priority.
[0227] For example, if a virtual object supports both discarding virtual items to reduce the estimated evacuation time and using speed-up items to reduce the estimated evacuation time, and the virtual item to be discarded is worth 5000 virtual coins while the speed-up item is only worth 200 virtual coins, then using the speed-up item has a higher priority than discarding the virtual item.
[0228] In some embodiments, the type to which the recommended behavior belongs has a pre-configured priority.
[0229] Step 850: Generate evacuation prompt information and first suggestion information. The first suggestion information is used to indicate the first suggested action.
[0230] In the above embodiment, at another time (second time), in addition to generating evacuation prompt information, first suggestion information is also generated. The first suggestion information can guide the virtual object to perform operations with higher priority to reduce the estimated evacuation time, thereby enabling the virtual object to complete the evacuation task in a more reasonable way.
[0231] In some embodiments, if the remaining time of the set duration does not meet either the first timing or the second timing (if the remaining time of the set duration and the estimated evacuation time do not meet either the first condition or the second condition), execution begins from step 810 after obtaining the first time interval of the judgment result. The first time interval is set by the technician as needed, such as 3s, 5s, 10s, etc.
[0232] In some embodiments, execution begins from step 810 after a second time interval has elicited (and been displayed) the evacuation prompt message. The second time interval can be set by a technician as needed, such as 30s, 45s, 1min, etc.
[0233] The technical solution provided in this application, for an evacuation task limited to completion within a set time period, generates evacuation prompt information at a first opportune moment to prompt the virtual object to complete the evacuation task. On one hand, since the first opportune moment is related to at least one of a first position and a first distance (the first position is the location of the virtual object in the virtual scene, and the first distance is the distance between the first position and the evacuation point in the virtual scene), the timing of prompting the user to evacuate (the first opportune moment) is more flexible as it is influenced by the real-time location of the virtual object. On the other hand, providing a clear method for completing the evacuation task at the first opportune moment allows for more effective prompting of the user to complete the evacuation task.
[0234] It should be noted that the above information generation method can be executed by different devices or by the same device as the information display method provided in the above embodiments.
[0235] For example, please refer to Figure 9, which shows a flowchart of an information generation and display method provided by an embodiment of the present application, and the execution subject of the method may be a terminal device. The method includes at least one of the following steps:
[0236] Step 901: Determine N available evacuation points from M evacuation points in a virtual scene.
[0237] Step 902: Determine evacuation routes corresponding to the N available evacuation points respectively.
[0238] Step 903: Calculate evacuation durations corresponding to the N available evacuation points respectively.
[0239] Step 904: Acquire the minimum evacuation duration T (among the evacuation durations corresponding to the N available evacuation points respectively, determine the available evacuation point corresponding to the minimum evacuation duration as a first evacuation point, and take the evacuation duration corresponding to the first evacuation point as an estimated evacuation duration).
[0240] Step 905: Determine whether the remaining duration of a set duration and the estimated evacuation duration satisfy a first condition (T<T0<A×T), if yes, perform steps 907, 909, 910 and 911 sequentially; if no, perform step 906.
[0241] Step 906: Determine whether the remaining duration of the set duration and the estimated evacuation duration satisfy a second condition (T0≤T), if yes, perform steps 908, 909, 910 and 911 sequentially. If no, after performing step 912, restart execution from step 901.
[0242] Step 907: Display time reminder information.
[0243] Step 908: Generate and display first suggestion information.
[0244] Step 909: Generate and display evacuation prompt information.
[0245] Step 910: Wait for a second time interval (60s).
[0246] Step 911: Determine whether the user cancels the display of the evacuation prompt information, if not, restart execution from step 901; if yes, end the process.
[0247] Step 912: Wait for a first time interval (5s).
[0248] The following are apparatus embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the apparatus embodiments of the present application, please refer to the method embodiments of the present application.
[0249] Please refer to Figure 10This diagram illustrates a block diagram of an information display device according to an embodiment of this application. The device has the function of implementing the above-described information display method; this function can be implemented by hardware or by hardware executing corresponding software. The device can be a computer device or can be installed within a computer device. The device 1000 may include: a display module 1010, a control module 1020, and a display module 1030.
[0250] Display module 1010 is used to display a virtual scene corresponding to an evacuation mission. The virtual scene includes virtual objects participating in the evacuation mission. The evacuation mission is a task in which the virtual objects arrive at the evacuation point in the virtual scene and complete the evacuation operation within a set time period.
[0251] The control module 1020 is used to control the movement of the virtual object in the virtual scene.
[0252] The display module 1030 is used to display evacuation prompt information at a first opportune moment; wherein the first opportune moment is related to at least one of a first position and a first distance, the first position is the position of the virtual object in the virtual scene, the first distance is the distance between the first position and the evacuation point in the virtual scene, and the evacuation prompt information is used to instruct the virtual object on how to complete the evacuation task.
[0253] In some embodiments, the evacuation prompt information includes first guidance information.
[0254] The display module 1030 is used to display the first guidance information, which guides the virtual object to move towards the first extraction point, and the first extraction point is selected from at least one extraction point in the virtual scene.
[0255] In some embodiments, the first guidance information includes at least one of the following: evacuation point guidance information, used to indicate the location of the first evacuation point in the virtual scene; route guidance information, used to indicate the route from the first location to the first evacuation point.
[0256] In some embodiments, the first guidance information further includes at least one of the following: evacuation point distance information, used to indicate the distance between the first location and the first evacuation point; waypoint guidance information, used to indicate the location of at least one waypoint passed from the first location to the first evacuation point; and waypoint distance information, used to indicate the distance between the first location and the waypoint.
[0257] In some embodiments, the first timing is also related to the location of the first evacuation point in the virtual scene.
[0258] In some embodiments, the first timing is the moment when the remaining duration of the set duration and the estimated evacuation duration meet a first condition, wherein the first condition is that the remaining duration of the set duration is greater than the estimated evacuation duration and less than a first threshold.
[0259] The estimated evacuation time is the estimated time it takes for the virtual object to travel from the first location to the first evacuation point and complete the evacuation operation. The first threshold is determined based on the estimated evacuation time.
[0260] In some embodiments, the display module 1030 is further configured to display the evacuation prompt information and the first suggestion information at a second timing, wherein the first suggestion information is used to indicate a first suggested action to be performed by the virtual object, the second timing is related to at least one of the first location and the first distance, and the second timing is different from the first timing. The first suggested action is used to reduce the estimated evacuation time, the estimated evacuation time being the estimated time it takes for the virtual object to travel from the first location to the first evacuation point and complete the evacuation operation, and the first evacuation point being selected from at least one evacuation point in the virtual scene.
[0261] In some embodiments, the display module 1030 is further configured to display at least one of a suggestion switching control and a suggestion adoption control, wherein the suggestion switching control is used to switch the suggested behavior to be performed by the virtual object, and the suggestion adoption control is used to trigger the virtual object to perform the first suggested behavior; in response to an operation on the suggestion switching control, second suggestion information is displayed, the second suggestion information is used to indicate a second suggested behavior, the second suggested behavior reducing the estimated evacuation time in a manner different from the first suggested behavior; or, in response to an operation on the suggestion adoption control, the virtual object is controlled to perform the first suggested behavior.
[0262] Please refer to Figure 11 This diagram illustrates a block diagram of an information generation apparatus according to an embodiment of this application. The apparatus has the function of implementing the aforementioned information generation method; this function can be implemented in hardware or by hardware executing corresponding software. The apparatus can be a computer device or can be installed within a computer device. The apparatus 1100 may include a determining module 1110 and a generating module 1120.
[0263] The determining module 1110 is used to determine the first position in the virtual scene corresponding to the evacuation task, wherein the virtual scene includes virtual objects participating in the evacuation task, the evacuation task is the task of the virtual objects reaching the evacuation point in the virtual scene and completing the evacuation operation within a set time period, and the first position is the position of the virtual objects in the virtual scene.
[0264] The generation module 1120 is used to generate evacuation prompt information at a first opportune moment; wherein the first opportune moment is related to at least one of the first position and the first distance, the first distance being the distance between the first position and the evacuation point in the virtual scene, and the evacuation prompt information is used to instruct the virtual object on how to complete the evacuation task.
[0265] In some embodiments, the evacuation prompt information includes first guidance information, which is used to guide the virtual object to move towards the first evacuation point; the determining module 1110 is further configured to determine N available evacuation points from M evacuation points in the virtual scene, wherein the available evacuation points support the virtual object to complete the evacuation task, M is an integer greater than 1, and N is a positive integer less than or equal to M; and determine the first evacuation point from the N available evacuation points.
[0266] In some embodiments, the determining module 1110 is configured to determine the evacuation routes corresponding to the N available evacuation points, wherein the evacuation route corresponding to the available evacuation point refers to the route taken by the virtual object from the first position to the available evacuation point; calculate the evacuation time corresponding to the N available evacuation points, wherein the evacuation time corresponding to the available evacuation point refers to the estimated time taken for the virtual object to reach the available evacuation point and complete the evacuation operation according to the evacuation route corresponding to the available evacuation point; and determine the available evacuation point corresponding to the smallest evacuation time among the N available evacuation points as the first evacuation point.
[0267] In some embodiments, the determining module 1110 is configured to, for any one of the N available evacuation points, determine the route speed corresponding to each of the at least one sub-segment based on the state information of the virtual object and the attribute information of each of the at least one sub-segment. The evacuation route corresponding to the available evacuation point includes the at least one sub-segment. When the available evacuation point includes at least two sub-segments, the attribute information of any two connected sub-segments among the at least two sub-segments is different. The route speed corresponding to the sub-segment refers to the estimated speed at which the virtual object moves in the sub-segment. Based on the route speed corresponding to each of the at least one sub-segment and the length of each of the at least one sub-segment, calculate the segment time corresponding to each of the at least one sub-segment. The segment time corresponding to the sub-segment refers to the estimated time at which the virtual object moves in the sub-segment. Based on the segment time corresponding to each of the at least one sub-segment, obtain the evacuation duration corresponding to the available evacuation point.
[0268] In some embodiments, the determining module 1110 is configured to add the segment time corresponding to each of the at least one sub-segment to obtain the movement time corresponding to the available evacuation point, wherein the movement time corresponding to the available evacuation point refers to the estimated time for the virtual object to move along the evacuation route corresponding to the available evacuation point; if the evacuation route corresponding to the available evacuation point does not include a waiting position, the movement time corresponding to the available evacuation point is determined as the evacuation duration corresponding to the available evacuation point; if the evacuation route corresponding to the available evacuation point includes at least one waiting position, the movement time corresponding to the available evacuation point and the predetermined duration corresponding to each of the at least one waiting position are added to obtain the evacuation duration corresponding to the available evacuation point; wherein the condition for the virtual object to complete the evacuation task through the available evacuation point includes the duration of stay at the waiting position reaching the predetermined duration.
[0269] In some embodiments, the determining module 1110 is configured to determine the evacuation routes corresponding to the N available evacuation points, wherein the evacuation route corresponding to the available evacuation point refers to the route taken by the virtual object to move from the first position to the available evacuation point; determine the evacuation benefit corresponding to the N available evacuation points, wherein the evacuation benefit corresponding to the available evacuation point is used to indicate the estimated virtual resource benefit of the virtual object moving to the available evacuation point and completing the evacuation operation according to the evacuation route corresponding to the available evacuation point; and determine the available evacuation point corresponding to the largest evacuation benefit among the N available evacuation points as the first evacuation point.
[0270] In some embodiments, the generation module 1130 is further configured to determine at least one suggested action supported by the virtual object at a second timing; wherein the second timing is related to at least one of the first location and the first distance, and the second timing is different from the first timing, and different suggested actions reduce the estimated evacuation time in different ways; determine the first suggested action with the highest priority from the at least one suggested action; generate the evacuation prompt information and the first suggested information, wherein the first suggested information is used to indicate the first suggested action.
[0271] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the content structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0272] Please refer to Figure 12The diagram illustrates a structural block diagram of a computer device provided in one embodiment of this application.
[0273] Typically, computer device 1200 includes a processor 1201 and a memory 1202.
[0274] Processor 1201 may include one or at least two processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1201 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1201 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1201 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1201 may also include an AI processor, which is used to handle computational operations related to machine learning.
[0275] The memory 1202 may include one or at least two computer-readable storage media, which may be tangible and non-transitory. The memory 1202 may also include high-speed random access memory and non-volatile memory, such as one or at least two disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1202 stores a computer program, which is loaded and executed by the processor 1201 to implement the above-described information display method or the above-described information generation method.
[0276] Those skilled in the art will understand that Figure 12 The structure shown does not constitute a limitation on the computer device 1200 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0277] In an exemplary embodiment, a computer-readable storage medium is also provided, wherein a computer program is stored therein, which, when executed by a processor, implements the above-described information display method or the above-described information generation method.
[0278] Optionally, the computer-readable storage medium may include: ROM (Read-Only Memory), RAM (Random Access Memory), SSD (Solid State Drives), or optical disc, etc. The random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).
[0279] In an exemplary embodiment, a computer program product is also provided, the computer program product including a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, causing the computer device to perform the aforementioned information display method or the aforementioned information generation method.
[0280] It should be noted that the collection and processing of relevant data (such as data related to user-controlled virtual objects) in this application should strictly comply with the requirements of relevant national laws and regulations, obtain the informed consent or separate consent of the personal information subject, and carry out subsequent data use and processing within the scope of laws and regulations and the authorization of the personal information subject.
[0281] It should be understood that "at least two" as mentioned herein refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. Furthermore, the step numbers described herein are merely illustrative of one possible execution order. In some other embodiments, the steps may not be executed in numerical order, such as two steps with different numbers being executed simultaneously, or two steps with different numbers being executed in the reverse order of the illustration. This application does not limit this.
[0282] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. An information display method, characterized in that, The method includes: The virtual scene corresponding to the evacuation mission is displayed. The virtual scene includes virtual objects participating in the evacuation mission. The evacuation mission is the task of the virtual objects arriving at the evacuation point in the virtual scene and completing the evacuation operation within a set time period. Control the virtual object to move within the virtual scene; At a first opportune moment, an evacuation prompt message is displayed; wherein the first opportune moment is related to at least one of a first position and a first distance, the first position is the position of the virtual object in the virtual scene, the first distance is the distance between the first position and the evacuation point in the virtual scene, and the evacuation prompt message is used to instruct the virtual object on how to complete the evacuation task.
2. The method according to claim 1, characterized in that, The evacuation prompt information includes first guidance information; The displayed evacuation prompt information includes: The first guidance information is displayed, which guides the virtual object to move towards the first extraction point, which is selected from at least one extraction point in the virtual scene.
3. The method according to claim 2, characterized in that, The first guidance information includes at least one of the following: Evacuation point guidance information is used to indicate the location of the first evacuation point in the virtual scene; Route guidance information is used to indicate the route from the first location to the first evacuation point.
4. The method according to claim 3, characterized in that, The first guidance information also includes at least one of the following: Evacuation point distance information, used to indicate the distance between the first location and the first evacuation point; Waypoint guidance information is used to indicate the location of at least one waypoint passed from the first location to the first evacuation point; The waypoint distance information is used to indicate the distance between the first location and the waypoint.
5. The method according to any one of claims 2 to 4, characterized in that, The first timing is also related to the location of the first evacuation point in the virtual scene.
6. The method according to claim 5, characterized in that, The first timing is the moment when the remaining time of the set duration and the estimated evacuation time meet the first condition, wherein the remaining time of the set duration is greater than the estimated evacuation time and less than the first threshold. The estimated evacuation time is the estimated time it takes for the virtual object to travel from the first location to the first evacuation point and complete the evacuation operation. The first threshold is determined based on the estimated evacuation time.
7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: At a second timing, the evacuation prompt information and the first suggestion information are displayed. The first suggestion information is used to indicate a first suggested action to be performed by the virtual object. The second timing is related to at least one of the first location and the first distance, and the second timing is different from the first timing. The first suggested behavior is used to reduce the estimated evacuation time, which is the estimated time it takes for the virtual object to travel from the first location to the first evacuation point and complete the evacuation operation. The first evacuation point is selected from at least one evacuation point in the virtual scene.
8. The method according to claim 7, characterized in that, The method further includes: Display at least one of a suggestion toggle control and a suggestion adoption control, wherein the suggestion toggle control is used to toggle the behavior suggested to be performed by the virtual object, and the suggestion adoption control is used to trigger the virtual object to perform the first suggested behavior; In response to an operation on the suggested switching control, a second suggestion information is displayed, which indicates a second suggested action that reduces the estimated evacuation time in a manner different from the first suggested action; or, in response to an operation on the suggested control, the virtual object is controlled to perform the first suggested action.
9. An information generation method, characterized in that, The method includes: Determine the first position in the virtual scene corresponding to the evacuation mission; wherein, the virtual scene includes virtual objects participating in the evacuation mission, the evacuation mission is the task of the virtual objects reaching the evacuation point in the virtual scene and completing the evacuation operation within a set time period, and the first position is the position of the virtual objects in the virtual scene; At a first opportune moment, an evacuation prompt message is generated; wherein the first opportune moment is related to at least one of the first location and the first distance, the first distance being the distance between the first location and the evacuation point in the virtual scene, and the evacuation prompt message is used to instruct the virtual object on how to complete the evacuation task.
10. The method according to claim 9, characterized in that, The evacuation prompt information includes first guidance information, which is used to guide the virtual object to move towards the first evacuation point; Before generating the evacuation prompt message at the first opportune moment, the process also includes: From the M evacuation points in the virtual scene, determine N available evacuation points, wherein the available evacuation points support the virtual object in completing the evacuation task, where M is an integer greater than 1 and N is a positive integer less than or equal to M; The first evacuation point is determined from the N available evacuation points.
11. The method according to claim 10, characterized in that, Determining the first evacuation point from the N available evacuation points includes: Determine the evacuation routes corresponding to the N available evacuation points, where the evacuation route corresponding to each available evacuation point refers to the route taken by the virtual object from the first position to the available evacuation point; Calculate the evacuation time corresponding to each of the N available evacuation points. The evacuation time corresponding to each available evacuation point refers to the estimated time it takes for the virtual object to reach the available evacuation point and complete the evacuation operation according to the evacuation route corresponding to the available evacuation point. The available evacuation point with the shortest evacuation time among the N available evacuation points is determined as the first evacuation point.
12. The method according to claim 11, characterized in that, The calculation of the evacuation time corresponding to the N available evacuation points includes: For any one of the N available evacuation points, the route speed corresponding to the at least one sub-segment is determined based on the status information of the virtual object and the attribute information of each of the at least one sub-segment. The evacuation route corresponding to the available evacuation point includes the at least one sub-segment. When the available evacuation point includes at least two sub-segments, the attribute information of any two connected sub-segments among the at least two sub-segments is different. The route speed corresponding to the sub-segment refers to the estimated speed at which the virtual object moves in the sub-segment. Based on the route speed corresponding to each of the at least one sub-segment and the length of each of the at least one sub-segment, the segment time corresponding to each of the at least one sub-segment is calculated. The segment time corresponding to each sub-segment refers to the estimated time for the virtual object to move in the sub-segment. The evacuation time corresponding to the available evacuation point is obtained based on the road segment consumption time corresponding to each of the at least one sub-road segment.
13. The method according to claim 12, characterized in that, The step of obtaining the evacuation time corresponding to the available evacuation point based on the segment consumption time corresponding to the at least one sub-segment includes: The time consumed by each of the at least one sub-segment is added together to obtain the movement time corresponding to the available evacuation point. The movement time corresponding to the available evacuation point refers to the estimated time consumed by the virtual object to move along the evacuation route corresponding to the available evacuation point. If the evacuation route corresponding to the available evacuation point does not include a waiting location, the movement time corresponding to the available evacuation point shall be determined as the evacuation duration corresponding to the available evacuation point. If the evacuation route corresponding to the available evacuation point includes at least one waiting position, the movement time corresponding to the available evacuation point and the predetermined duration corresponding to the at least one waiting position are added together to obtain the evacuation duration corresponding to the available evacuation point. The condition for the virtual object to complete the evacuation task through the available evacuation point includes that the duration of its stay at the waiting position reaches a predetermined duration.
14. The method according to claim 10, characterized in that, Determining the first evacuation point from the N available evacuation points includes: Determine the evacuation routes corresponding to the N available evacuation points, where the evacuation route corresponding to each available evacuation point refers to the route taken by the virtual object from the first position to the available evacuation point; Determine the evacuation benefits corresponding to the N available evacuation points respectively. The evacuation benefits corresponding to the available evacuation points are used to instruct the virtual object to move to the available evacuation point according to the evacuation route corresponding to the available evacuation point and complete the evacuation operation as the estimated virtual resource benefits. The available evacuation point with the largest evacuation benefit among the N available evacuation points is determined as the first evacuation point.
15. The method according to any one of claims 9 to 14, characterized in that, The method further includes: In a second timing, at least one suggested action supported by the virtual object is determined; wherein the second timing is related to at least one of the first location and the first distance, and the second timing is different from the first timing, and in the at least one suggested action, different suggested actions reduce the estimated evacuation time in different ways; From the at least one suggested action, determine the first suggested action with the highest priority; Generate the evacuation prompt information and the first suggestion information, wherein the first suggestion information is used to indicate the first suggested action.
16. An information display device, characterized in that, The device includes: The display module is used to display the virtual scene corresponding to the evacuation mission. The virtual scene includes virtual objects participating in the evacuation mission. The evacuation mission is the task of the virtual objects arriving at the evacuation point in the virtual scene and completing the evacuation operation within a set time period. The control module is used to control the movement of the virtual object in the virtual scene; The display module is used to display evacuation prompt information at a first opportune moment; wherein the first opportune moment is related to at least one of a first position and a first distance, the first position is the position of the virtual object in the virtual scene, the first distance is the distance between the first position and the evacuation point in the virtual scene, and the evacuation prompt information is used to instruct the virtual object on how to complete the evacuation task.
17. An information generation device, characterized in that, The device includes: A determination module is used to determine a first position in a virtual scene corresponding to an evacuation mission; wherein, the virtual scene includes virtual objects participating in the evacuation mission, the evacuation mission is a task in which the virtual objects reach an evacuation point in the virtual scene and complete the evacuation operation within a set time period, and the first position is the position of the virtual object in the virtual scene; A generation module is used to generate evacuation prompt information at a first opportune moment; wherein the first opportune moment is related to at least one of a first location and a first distance, the first distance being the distance between the first location and an evacuation point in the virtual scene, and the evacuation prompt information is used to instruct the virtual object on how to complete the evacuation task.
18. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing a computer program that is loaded and executed by the processor to implement the method as claimed in any one of claims 1 to 8, or to implement the method as claimed in any one of claims 9 to 15.
19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that is loaded and executed by a processor to implement the method as claimed in any one of claims 1 to 8, or to implement the method as claimed in any one of claims 9 to 15.
20. A computer program product, characterized in that, The computer program product includes a computer program stored in a computer-readable storage medium, which a processor reads from and executes to implement the method as claimed in any one of claims 1 to 8, or to implement the method as claimed in any one of claims 9 to 15.